From 5248520d34e339eed69b1c1397389acbf0be2da3 Mon Sep 17 00:00:00 2001 From: Chancellor Clark Date: Tue, 11 Jun 2024 17:20:06 -0400 Subject: [PATCH] 20d67cf6 --- .nojekyll | 0 404.html | 126 ++++++ .../EHMNdWqeV78v2OAIS4Ypw/_buildManifest.js | 1 + .../EHMNdWqeV78v2OAIS4Ypw/_ssgManifest.js | 1 + _next/static/chunks/1391-d519cd5d117a73c5.js | 1 + .../chunks/38fadf3d-a61e3041f57fc947.js | 1 + .../chunks/4fca2c30-5ac8204cf351e150.js | 29 ++ _next/static/chunks/6295-8a3d2ce47372a08c.js | 128 ++++++ .../chunks/6bd07e6a-09bba16be7266586.js | 116 ++++++ _next/static/chunks/7233-97081d696125e186.js | 1 + _next/static/chunks/7270-da14e92596c78b29.js | 27 ++ _next/static/chunks/7830-46a2ecef25c66e72.js | 1 + _next/static/chunks/7971-c5c400b09470fab3.js | 1 + .../chunks/d3e115d4-320ac34c966d3fd3.js | 1 + .../chunks/framework-04384c949e818510.js | 33 ++ _next/static/chunks/main-2fc15e6a35a288a9.js | 1 + .../chunks/pages/_app-0edaf85204f9db8d.js | 35 ++ .../chunks/pages/_error-81a2c40225931225.js | 1 + .../pages/accordion-panel-0ef400e2e30e978c.js | 1 + .../chunks/pages/alert-a87ef55dd1761903.js | 1 + .../chunks/pages/badge-75fb236049338d5c.js | 1 + .../chunks/pages/box-3f9355e79a444b8f.js | 1 + .../pages/breakpoints-4ac486520c1144e3.js | 1 + .../chunks/pages/button-2cade4e67ca03799.js | 1 + .../pages/button-group-07e73ee6fe3dbdce.js | 1 + .../chunks/pages/checkbox-2a811c4a279f352b.js | 1 + .../chunks/pages/collapse-544ec0f8204627fe.js | 1 + .../chunks/pages/colors-9ad7b951d3f3d1bc.js | 1 + .../chunks/pages/counter-c4265ecb8eb05c7f.js | 1 + .../pages/datepicker-9a16435d448bd034.js | 1 + .../chunks/pages/dev-c187d297b43c5fee.js | 1 + .../chunks/pages/display-a1a70045bba285ae.js | 1 + .../chunks/pages/dropdown-50f889ec941d9579.js | 1 + .../pages/file-uploader-c40cae887a30daf4.js | 1 + .../chunks/pages/flex-1b0aa29680577c0b.js | 1 + .../chunks/pages/form-a8632b51f810d4d2.js | 1 + .../chunks/pages/grid-9b4304eaff08a443.js | 1 + .../chunks/pages/icons-6e4d40b709828d6c.js | 1 + .../chunks/pages/index-4b17bab90cd746e4.js | 1 + .../pages/inline-message-1614af81566189fa.js | 1 + .../chunks/pages/input-07e126014110c13e.js | 1 + .../chunks/pages/link-0a42240bab8d68e3.js | 1 + .../chunks/pages/margin-3a75cf1828604b6a.js | 1 + .../chunks/pages/message-721d871ea660047b.js | 1 + .../chunks/pages/modal-36c6acfa5389c656.js | 1 + .../pages/multi-select-1c7b23463239ccdd.js | 1 + .../chunks/pages/padding-f32ab7a00a203e4c.js | 1 + .../pages/pagination-96cdf9dd97bbe412.js | 1 + .../chunks/pages/panel-942ac8f4823b5af8.js | 1 + .../pages/pill-tabs-683f4173e3072e5c.js | 1 + .../chunks/pages/popover-af1d5a9bcedb4694.js | 1 + .../pages/progress-bar-06d986610d225a5a.js | 1 + .../pages/progress-circle-e8ebabe5a460238b.js | 1 + .../chunks/pages/radio-e4cb0f7af8de5295.js | 1 + .../chunks/pages/search-4599266abe814b14.js | 1 + .../chunks/pages/select-99d3147790cfc778.js | 1 + .../chunks/pages/spacing-0bf083edb850a528.js | 1 + .../pages/statefulTable-6d94b18f138ca4b9.js | 1 + .../pages/statefulTree-b211367c889c7460.js | 1 + .../chunks/pages/stepper-51432ede93626634.js | 1 + .../chunks/pages/switch-bb34dbfc2333a173.js | 1 + .../chunks/pages/table-0b7adbdf56b781f9.js | 1 + .../chunks/pages/tabs-c1b7da21a47165d6.js | 1 + .../chunks/pages/textarea-48ac53e9a115fdd1.js | 1 + .../pages/timepicker-e295ac0c3d243a01.js | 1 + .../chunks/pages/toggle-7c3d1825903f4cfc.js | 1 + .../chunks/pages/tooltip-06fa815d3446d83c.js | 1 + .../pages/typography-e456283f45cea136.js | 1 + .../pages/worksheet-78d185035db1fa7c.js | 1 + .../chunks/polyfills-78c92fac7aa8fdd8.js | 1 + .../static/chunks/webpack-1b2dfdccf2200e8a.js | 1 + .../static/media/logo-with-text.e21d3669.svg | 1 + accordion-panel.html | 249 +++++++++++ alert.html | 271 ++++++++++++ badge.html | 228 +++++++++++ banner.svg | 25 ++ box.html | 231 +++++++++++ breakpoints.html | 207 ++++++++++ button-group.html | 232 +++++++++++ button.html | 230 +++++++++++ checkbox.html | 238 +++++++++++ collapse.html | 213 ++++++++++ colors.html | 221 ++++++++++ counter.html | 242 +++++++++++ datepicker.html | 239 +++++++++++ display.html | 229 +++++++++++ dropdown.html | 261 ++++++++++++ favicon.svg | 1 + file-uploader.html | 252 ++++++++++++ flex.html | 275 +++++++++++++ form.html | 248 +++++++++++ grid.html | 245 +++++++++++ icons.html | 222 ++++++++++ index.html | 179 ++++++++ inline-message.html | 234 +++++++++++ input.html | 242 +++++++++++ link.html | 228 +++++++++++ logo-with-text.svg | 1 + logo.svg | 1 + margin.html | 213 ++++++++++ message.html | 240 +++++++++++ modal.html | 254 ++++++++++++ multi-select.html | 265 ++++++++++++ og-image.png | Bin 0 -> 2786 bytes padding.html | 215 ++++++++++ pagination.html | 242 +++++++++++ panel.html | 229 +++++++++++ pill-tabs.html | 294 +++++++++++++ popover.html | 224 ++++++++++ progress-bar.html | 224 ++++++++++ progress-circle.html | 222 ++++++++++ radio.html | 253 ++++++++++++ search.html | 230 +++++++++++ select.html | 265 ++++++++++++ spacing.html | 199 +++++++++ statefulTable.html | 235 +++++++++++ statefulTree.html | 267 ++++++++++++ stepper.html | 217 ++++++++++ switch.html | 192 +++++++++ table.html | 241 +++++++++++ tabs.html | 249 +++++++++++ textarea.html | 243 +++++++++++ timepicker.html | 212 ++++++++++ toggle.html | 240 +++++++++++ tooltip.html | 224 ++++++++++ typography.html | 232 +++++++++++ worksheet.html | 386 ++++++++++++++++++ 127 files changed, 12509 insertions(+) create mode 100644 .nojekyll create mode 100644 404.html create mode 100644 _next/static/EHMNdWqeV78v2OAIS4Ypw/_buildManifest.js create mode 100644 _next/static/EHMNdWqeV78v2OAIS4Ypw/_ssgManifest.js create mode 100644 _next/static/chunks/1391-d519cd5d117a73c5.js create mode 100644 _next/static/chunks/38fadf3d-a61e3041f57fc947.js create mode 100644 _next/static/chunks/4fca2c30-5ac8204cf351e150.js create mode 100644 _next/static/chunks/6295-8a3d2ce47372a08c.js create mode 100644 _next/static/chunks/6bd07e6a-09bba16be7266586.js create mode 100644 _next/static/chunks/7233-97081d696125e186.js create mode 100644 _next/static/chunks/7270-da14e92596c78b29.js create mode 100644 _next/static/chunks/7830-46a2ecef25c66e72.js create mode 100644 _next/static/chunks/7971-c5c400b09470fab3.js create mode 100644 _next/static/chunks/d3e115d4-320ac34c966d3fd3.js create mode 100644 _next/static/chunks/framework-04384c949e818510.js create mode 100644 _next/static/chunks/main-2fc15e6a35a288a9.js create mode 100644 _next/static/chunks/pages/_app-0edaf85204f9db8d.js create mode 100644 _next/static/chunks/pages/_error-81a2c40225931225.js create mode 100644 _next/static/chunks/pages/accordion-panel-0ef400e2e30e978c.js create mode 100644 _next/static/chunks/pages/alert-a87ef55dd1761903.js create mode 100644 _next/static/chunks/pages/badge-75fb236049338d5c.js create mode 100644 _next/static/chunks/pages/box-3f9355e79a444b8f.js create mode 100644 _next/static/chunks/pages/breakpoints-4ac486520c1144e3.js create mode 100644 _next/static/chunks/pages/button-2cade4e67ca03799.js create mode 100644 _next/static/chunks/pages/button-group-07e73ee6fe3dbdce.js create mode 100644 _next/static/chunks/pages/checkbox-2a811c4a279f352b.js create mode 100644 _next/static/chunks/pages/collapse-544ec0f8204627fe.js create mode 100644 _next/static/chunks/pages/colors-9ad7b951d3f3d1bc.js create mode 100644 _next/static/chunks/pages/counter-c4265ecb8eb05c7f.js create mode 100644 _next/static/chunks/pages/datepicker-9a16435d448bd034.js create mode 100644 _next/static/chunks/pages/dev-c187d297b43c5fee.js create mode 100644 _next/static/chunks/pages/display-a1a70045bba285ae.js create mode 100644 _next/static/chunks/pages/dropdown-50f889ec941d9579.js create mode 100644 _next/static/chunks/pages/file-uploader-c40cae887a30daf4.js create mode 100644 _next/static/chunks/pages/flex-1b0aa29680577c0b.js create mode 100644 _next/static/chunks/pages/form-a8632b51f810d4d2.js create mode 100644 _next/static/chunks/pages/grid-9b4304eaff08a443.js create mode 100644 _next/static/chunks/pages/icons-6e4d40b709828d6c.js create mode 100644 _next/static/chunks/pages/index-4b17bab90cd746e4.js create mode 100644 _next/static/chunks/pages/inline-message-1614af81566189fa.js create mode 100644 _next/static/chunks/pages/input-07e126014110c13e.js create mode 100644 _next/static/chunks/pages/link-0a42240bab8d68e3.js create mode 100644 _next/static/chunks/pages/margin-3a75cf1828604b6a.js create mode 100644 _next/static/chunks/pages/message-721d871ea660047b.js create mode 100644 _next/static/chunks/pages/modal-36c6acfa5389c656.js create mode 100644 _next/static/chunks/pages/multi-select-1c7b23463239ccdd.js create mode 100644 _next/static/chunks/pages/padding-f32ab7a00a203e4c.js create mode 100644 _next/static/chunks/pages/pagination-96cdf9dd97bbe412.js create mode 100644 _next/static/chunks/pages/panel-942ac8f4823b5af8.js create mode 100644 _next/static/chunks/pages/pill-tabs-683f4173e3072e5c.js create mode 100644 _next/static/chunks/pages/popover-af1d5a9bcedb4694.js create mode 100644 _next/static/chunks/pages/progress-bar-06d986610d225a5a.js create mode 100644 _next/static/chunks/pages/progress-circle-e8ebabe5a460238b.js create mode 100644 _next/static/chunks/pages/radio-e4cb0f7af8de5295.js create mode 100644 _next/static/chunks/pages/search-4599266abe814b14.js create mode 100644 _next/static/chunks/pages/select-99d3147790cfc778.js create mode 100644 _next/static/chunks/pages/spacing-0bf083edb850a528.js create mode 100644 _next/static/chunks/pages/statefulTable-6d94b18f138ca4b9.js create mode 100644 _next/static/chunks/pages/statefulTree-b211367c889c7460.js create mode 100644 _next/static/chunks/pages/stepper-51432ede93626634.js create mode 100644 _next/static/chunks/pages/switch-bb34dbfc2333a173.js create mode 100644 _next/static/chunks/pages/table-0b7adbdf56b781f9.js create mode 100644 _next/static/chunks/pages/tabs-c1b7da21a47165d6.js create mode 100644 _next/static/chunks/pages/textarea-48ac53e9a115fdd1.js create mode 100644 _next/static/chunks/pages/timepicker-e295ac0c3d243a01.js create mode 100644 _next/static/chunks/pages/toggle-7c3d1825903f4cfc.js create mode 100644 _next/static/chunks/pages/tooltip-06fa815d3446d83c.js create mode 100644 _next/static/chunks/pages/typography-e456283f45cea136.js create mode 100644 _next/static/chunks/pages/worksheet-78d185035db1fa7c.js create mode 100644 _next/static/chunks/polyfills-78c92fac7aa8fdd8.js create mode 100644 _next/static/chunks/webpack-1b2dfdccf2200e8a.js create mode 100644 _next/static/media/logo-with-text.e21d3669.svg create mode 100644 accordion-panel.html create mode 100644 alert.html create mode 100644 badge.html create mode 100644 banner.svg create mode 100644 box.html create mode 100644 breakpoints.html create mode 100644 button-group.html create mode 100644 button.html create mode 100644 checkbox.html create mode 100644 collapse.html create mode 100644 colors.html create mode 100644 counter.html create mode 100644 datepicker.html create mode 100644 display.html create mode 100644 dropdown.html create mode 100644 favicon.svg create mode 100644 file-uploader.html create mode 100644 flex.html create mode 100644 form.html create mode 100644 grid.html create mode 100644 icons.html create mode 100644 index.html create mode 100644 inline-message.html create mode 100644 input.html create mode 100644 link.html create mode 100644 logo-with-text.svg create mode 100644 logo.svg create mode 100644 margin.html create mode 100644 message.html create mode 100644 modal.html create mode 100644 multi-select.html create mode 100644 og-image.png create mode 100644 padding.html create mode 100644 pagination.html create mode 100644 panel.html create mode 100644 pill-tabs.html create mode 100644 popover.html create mode 100644 progress-bar.html create mode 100644 progress-circle.html create mode 100644 radio.html create mode 100644 search.html create mode 100644 select.html create mode 100644 spacing.html create mode 100644 statefulTable.html create mode 100644 statefulTree.html create mode 100644 stepper.html create mode 100644 switch.html create mode 100644 table.html create mode 100644 tabs.html create mode 100644 textarea.html create mode 100644 timepicker.html create mode 100644 toggle.html create mode 100644 tooltip.html create mode 100644 typography.html create mode 100644 worksheet.html diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 000000000..e69de29bb diff --git a/404.html b/404.html new file mode 100644 index 000000000..1babd8118 --- /dev/null +++ b/404.html @@ -0,0 +1,126 @@ +404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/_next/static/EHMNdWqeV78v2OAIS4Ypw/_buildManifest.js b/_next/static/EHMNdWqeV78v2OAIS4Ypw/_buildManifest.js new file mode 100644 index 000000000..454ec2985 --- /dev/null +++ b/_next/static/EHMNdWqeV78v2OAIS4Ypw/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST=function(s,a,e,c,t,i,p,n,b,d){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[s,"static/chunks/pages/index-4b17bab90cd746e4.js"],"/_error":["static/chunks/pages/_error-81a2c40225931225.js"],"/accordion-panel":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/accordion-panel-0ef400e2e30e978c.js"],"/alert":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/alert-a87ef55dd1761903.js"],"/badge":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/badge-75fb236049338d5c.js"],"/box":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/box-3f9355e79a444b8f.js"],"/breakpoints":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/breakpoints-4ac486520c1144e3.js"],"/button":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/button-2cade4e67ca03799.js"],"/button-group":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/button-group-07e73ee6fe3dbdce.js"],"/checkbox":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/checkbox-2a811c4a279f352b.js"],"/collapse":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/collapse-544ec0f8204627fe.js"],"/colors":["static/chunks/pages/colors-9ad7b951d3f3d1bc.js"],"/counter":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/counter-c4265ecb8eb05c7f.js"],"/datepicker":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/datepicker-9a16435d448bd034.js"],"/dev":[a,e,"static/chunks/pages/dev-c187d297b43c5fee.js"],"/display":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/display-a1a70045bba285ae.js"],"/dropdown":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/dropdown-50f889ec941d9579.js"],"/file-uploader":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/file-uploader-c40cae887a30daf4.js"],"/flex":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/flex-1b0aa29680577c0b.js"],"/form":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/form-a8632b51f810d4d2.js"],"/grid":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/grid-9b4304eaff08a443.js"],"/icons":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/icons-6e4d40b709828d6c.js"],"/inline-message":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/inline-message-1614af81566189fa.js"],"/input":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/input-07e126014110c13e.js"],"/link":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/link-0a42240bab8d68e3.js"],"/margin":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/margin-3a75cf1828604b6a.js"],"/message":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/message-721d871ea660047b.js"],"/modal":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/modal-36c6acfa5389c656.js"],"/multi-select":[c,t,i,p,s,a,n,e,b,d,"static/chunks/pages/multi-select-1c7b23463239ccdd.js"],"/padding":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/padding-f32ab7a00a203e4c.js"],"/pagination":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/pagination-96cdf9dd97bbe412.js"],"/panel":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/panel-942ac8f4823b5af8.js"],"/pill-tabs":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/pill-tabs-683f4173e3072e5c.js"],"/popover":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/popover-af1d5a9bcedb4694.js"],"/progress-bar":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/progress-bar-06d986610d225a5a.js"],"/progress-circle":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/progress-circle-e8ebabe5a460238b.js"],"/radio":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/radio-e4cb0f7af8de5295.js"],"/search":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/search-4599266abe814b14.js"],"/select":[c,t,i,p,s,a,n,e,b,d,"static/chunks/pages/select-99d3147790cfc778.js"],"/spacing":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/spacing-0bf083edb850a528.js"],"/statefulTable":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/statefulTable-6d94b18f138ca4b9.js"],"/statefulTree":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/statefulTree-b211367c889c7460.js"],"/stepper":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/stepper-51432ede93626634.js"],"/switch":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/switch-bb34dbfc2333a173.js"],"/table":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/table-0b7adbdf56b781f9.js"],"/tabs":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/tabs-c1b7da21a47165d6.js"],"/textarea":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/textarea-48ac53e9a115fdd1.js"],"/timepicker":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/timepicker-e295ac0c3d243a01.js"],"/toggle":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/toggle-7c3d1825903f4cfc.js"],"/tooltip":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/tooltip-06fa815d3446d83c.js"],"/typography":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/typography-e456283f45cea136.js"],"/worksheet":[c,t,i,p,s,a,n,e,b,"static/chunks/pages/worksheet-78d185035db1fa7c.js"],sortedPages:["/","/_app","/_error","/accordion-panel","/alert","/badge","/box","/breakpoints","/button","/button-group","/checkbox","/collapse","/colors","/counter","/datepicker","/dev","/display","/dropdown","/file-uploader","/flex","/form","/grid","/icons","/inline-message","/input","/link","/margin","/message","/modal","/multi-select","/padding","/pagination","/panel","/pill-tabs","/popover","/progress-bar","/progress-circle","/radio","/search","/select","/spacing","/statefulTable","/statefulTree","/stepper","/switch","/table","/tabs","/textarea","/timepicker","/toggle","/tooltip","/typography","/worksheet"]}}("static/chunks/6295-8a3d2ce47372a08c.js","static/chunks/7971-c5c400b09470fab3.js","static/chunks/7830-46a2ecef25c66e72.js","static/chunks/d3e115d4-320ac34c966d3fd3.js","static/chunks/6bd07e6a-09bba16be7266586.js","static/chunks/4fca2c30-5ac8204cf351e150.js","static/chunks/38fadf3d-a61e3041f57fc947.js","static/chunks/7270-da14e92596c78b29.js","static/chunks/1391-d519cd5d117a73c5.js","static/chunks/7233-97081d696125e186.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/EHMNdWqeV78v2OAIS4Ypw/_ssgManifest.js b/_next/static/EHMNdWqeV78v2OAIS4Ypw/_ssgManifest.js new file mode 100644 index 000000000..0511aa895 --- /dev/null +++ b/_next/static/EHMNdWqeV78v2OAIS4Ypw/_ssgManifest.js @@ -0,0 +1 @@ +self.__SSG_MANIFEST=new Set,self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/chunks/1391-d519cd5d117a73c5.js b/_next/static/chunks/1391-d519cd5d117a73c5.js new file mode 100644 index 000000000..773bb4f50 --- /dev/null +++ b/_next/static/chunks/1391-d519cd5d117a73c5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1391],{57734:function(e,t,r){r.d(t,{L:function(){return u}});var n=r(97458),l=r(35455),o=r(52983),i=r(93041),a=r(31321),c=r(22238),s=r(24085);let d=(0,r(57931).ZP)(a.x).withConfig({componentId:"sc-c44cdc32-0"})(["position:relative;"]);d.defaultProps={theme:s.rS};let u=(0,o.memo)(e=>{let{autoWidth:t=!1,className:r,disabled:s=!1,maxHeight:u,id:m,items:h,placement:f="bottom-start",positionFixed:p=!1,selectedItem:g,toggle:v,style:x,...b}=e,y=(0,o.useId)(),w=(0,o.useCallback)(e=>e.every(e=>"items"in e&&!("content"in e))?e.map(e=>e.items).reduce((e,t)=>e.concat(t),[]):e,[]),C=(0,o.useMemo)(()=>w(h),[w,h]),I=C.findIndex(e=>!!g&&"hash"in e&&"hash"in g&&e.hash===g.hash),k=(0,o.useCallback)(e=>{let{selectedItem:t}=e;t&&"link"!==t.type&&"function"==typeof t.onItemClick&&t.onItemClick(t)},[]),{getItemProps:E,getMenuProps:j,getToggleButtonProps:S,highlightedIndex:M,isOpen:P}=(0,l.L7)({defaultHighlightedIndex:I>-1?I:0,id:y,itemToString:e=>e?e.content:"",items:C,menuId:m,onSelectedItemChange:k,selectedItem:null,stateReducer:(e,t)=>{let{changes:r,type:n}=t;switch(n){case l.L7.stateChangeTypes.ToggleButtonKeyDownArrowDown:if(e.highlightedIndex===C.length-1)return{...r,highlightedIndex:0};return r;case l.L7.stateChangeTypes.ToggleButtonKeyDownArrowUp:if(0===e.highlightedIndex)return{...r,highlightedIndex:C.length-1};return r;case l.L7.stateChangeTypes.ToggleButtonBlur:return{...r,selectedItem:null};default:return r}},toggleButtonId:v.props.id}),R=(0,o.useRef)(null),z=(0,o.useRef)(null),{attributes:Z,styles:H,update:L}=(0,i.D)(R.current,z.current,{modifiers:[{name:"eventListeners",options:{scroll:P,resize:P}},{name:"offset",options:{offset:[0,4]}}],placement:f,strategy:p?"fixed":"absolute"}),V=(0,o.isValidElement)(v)&&(0,o.cloneElement)(v,{...S({"aria-haspopup":"menu","aria-labelledby":void 0,disabled:s,ref:R,role:"button"})});return(0,n.jsxs)(d,{children:[V,(0,n.jsx)(a.x,{ref:z,style:H.popper,...Z.poppper,zIndex:"popover",children:(0,n.jsx)(c.a,{...b,autoWidth:t,getItemProps:E,getMenuProps:j,highlightedIndex:M,isDropdown:!0,isOpen:P,items:h,maxHeight:u,role:"menu",update:L})})]})})},64309:function(e,t,r){r.d(t,{g:function(){return E}});var n=r(97458),l=r(52983),o=r(48592),i=r(55315),a=r(15134),c=r(84040),s=r(31321),d=r(86773),u=r(85793),m=r(73276),h=r(24085),f=r(57931),p=r(39270),g=r(6717),v=r(4857),x=r(89983);let b=(0,f.ZP)(g.r).withConfig({componentId:"sc-5232aff2-0"})(["border:",";border-radius:",";grid-gap:",";grid-template-columns:",";padding:",";"," ",";"],e=>{let{theme:t}=e;return t.border.box},e=>{let{theme:t}=e;return t.borderRadius.normal},e=>{let{theme:t}=e;return t.spacing.xSmall},e=>{let{theme:t}=e;return"".concat(t.spacing.large," 1fr ").concat(t.spacing.large)},e=>{let{theme:t}=e;return t.spacing.xSmall},e=>{let{onClose:t}=e;return t?(0,f.iv)(["grid-template-areas:'icon messages close';grid-template-columns:",";"],e=>{let{theme:t}=e;return"".concat(t.spacing.large," 1fr ").concat(t.spacing.medium)}):(0,f.iv)(["grid-template-areas:'icon messages';grid-template-columns:",";"],e=>{let{theme:t}=e;return"".concat(t.spacing.large," 1fr")})},e=>{let{theme:t,type:r}=e;return r&&(0,c.dR)(r,t)}),y=(0,f.ZP)(x.Xr).withConfig({componentId:"sc-5232aff2-1"})(["font-size:",";line-height:",";margin-bottom:",";"],e=>{let{theme:t}=e;return t.typography.fontSize.small},e=>{let{theme:t}=e;return t.spacing.large},e=>{let{theme:t}=e;return t.spacing.none}),w=(0,f.ZP)(x.rB).attrs({as:"span"}).withConfig({componentId:"sc-5232aff2-2"})(["color:",";vertical-align:middle;"],e=>{let{theme:t}=e;return t.colors.secondary70}),C=(0,f.ZP)(v.r).withConfig({componentId:"sc-5232aff2-3"})(["font-size:",";vertical-align:middle;"],e=>{let{theme:t}=e;return t.typography.fontSize.small}),I=(0,f.ZP)(p.k).withConfig({componentId:"sc-5232aff2-4"})(["margin-bottom:-",";margin-left:-",";margin-right:-",";"],e=>{let{theme:t}=e;return t.spacing.xSmall},e=>{let{theme:t}=e;return t.spacing.xxSmall},e=>{let{theme:t}=e;return t.spacing.xxSmall});b.defaultProps={theme:h.rS},y.defaultProps={theme:h.rS},w.defaultProps={theme:h.rS},C.defaultProps={theme:h.rS},I.defaultProps={theme:h.rS};let k={close:"Close"},E=(0,l.memo)(e=>{let{className:t,style:r,header:h,localization:f=k,...p}=e,g=(0,i.Z)(p),v=(0,l.useMemo)(()=>p.type&&(0,c.Sm)(p.type,!0),[p.type]),x=(0,l.useMemo)(()=>p.messages.map((e,t)=>{let{text:r,link:l}=e;return(0,n.jsxs)(s.x,{children:[(0,n.jsx)(w,{children:r})," ",l&&(0,n.jsx)(C,{...l,children:l.text})]},t)}),[p.messages]),E=(0,l.useMemo)(()=>h&&(0,n.jsx)(y,{children:h}),[h]),j=(0,l.useMemo)(()=>p.actions&&(0,n.jsx)(I,{flexDirection:"row",flexWrap:"wrap",marginTop:"xSmall",children:p.actions.map((e,t)=>{let{text:r,variant:n="secondary",...o}=e;return(0,l.createElement)(d.z,{...(0,a.m)(o),key:t,marginBottom:"xSmall",marginHorizontal:"xxSmall",mobileWidth:"auto",variant:(0,c.Io)(n)},r)})}),[p.actions]);return(0,n.jsxs)(b,{...g,backgroundColor:"white",role:"alert",children:[(0,n.jsx)(m.P,{gridArea:"icon",children:v}),(0,n.jsxs)(m.P,{gridArea:"messages",children:[E,x,j]}),p.onClose&&(0,n.jsx)(m.P,{children:(0,n.jsx)(u.C,{iconOnly:(0,n.jsx)(o.T,{size:"medium",title:f.close}),onClick:p.onClose})})]})});E.defaultProps={messages:[],type:"success"}},50573:function(e,t,r){r.d(t,{v:function(){return E}});var n=r(97458),l=r(52983),o=r(48592),i=r(55315),a=r(15134),c=r(84040),s=r(31321),d=r(86773),u=r(85793),m=r(73276),h=r(24085),f=r(57931),p=r(39270),g=r(6717),v=r(4857),x=r(89983);let b=(0,f.ZP)(g.r).withConfig({componentId:"sc-6a19e9f6-0"})([""," grid-gap:",";padding:",";"," ",";"],e=>{let{theme:t}=e;return t.shadow.raised},e=>{let{theme:t}=e;return t.spacing.small},e=>{let{theme:t}=e;return t.spacing.small},e=>{let{onClose:t}=e;return t?(0,f.iv)(["grid-template-areas:'icon messages close';grid-template-columns:",";"],e=>{let{theme:t}=e;return"".concat(t.spacing.xLarge," 1fr ").concat(t.spacing.large)}):(0,f.iv)(["grid-template-areas:'icon messages';grid-template-columns:",";"],e=>{let{theme:t}=e;return"".concat(t.spacing.xLarge," 1fr")})},e=>{let{theme:t,type:r}=e;return r&&(0,c.dR)(r,t)}),y=(0,f.ZP)(x.Xr).withConfig({componentId:"sc-6a19e9f6-1"})(["line-height:",";margin-bottom:",";"],e=>{let{theme:t}=e;return t.spacing.large},e=>{let{theme:t}=e;return t.spacing.none}),w=(0,f.ZP)(x.rB).attrs({as:"span"}).withConfig({componentId:"sc-6a19e9f6-2"})(["color:",";vertical-align:middle;"],e=>{let{theme:t}=e;return t.colors.secondary70}),C=(0,f.ZP)(v.r).withConfig({componentId:"sc-6a19e9f6-3"})(["font-size:",";vertical-align:middle;"],e=>{let{theme:t}=e;return t.typography.fontSize.small}),I=(0,f.ZP)(p.k).withConfig({componentId:"sc-6a19e9f6-4"})(["margin-bottom:-",";margin-left:-",";margin-right:-",";"],e=>{let{theme:t}=e;return t.spacing.xSmall},e=>{let{theme:t}=e;return t.spacing.xxSmall},e=>{let{theme:t}=e;return t.spacing.xxSmall});b.defaultProps={theme:h.rS},y.defaultProps={theme:h.rS},w.defaultProps={theme:h.rS},C.defaultProps={theme:h.rS},I.defaultProps={theme:h.rS};let k={close:"Close"},E=(0,l.memo)(e=>{let{className:t,localization:r=k,style:h,header:f,...p}=e,g=(0,i.Z)(p),v=(0,l.useMemo)(()=>p.type&&(0,c.Sm)(p.type),[p.type]),x=(0,l.useMemo)(()=>p.messages.map((e,t)=>{let{text:r,link:l}=e;return(0,n.jsxs)(s.x,{children:[(0,n.jsx)(w,{children:r})," ",l&&(0,n.jsx)(C,{...l,children:l.text})]},t)}),[p.messages]),E=(0,l.useMemo)(()=>f&&(0,n.jsx)(y,{children:f}),[f]),j=(0,l.useMemo)(()=>p.actions&&(0,n.jsx)(I,{flexDirection:"row",flexWrap:"wrap",marginTop:"xSmall",children:p.actions.map((e,t)=>{let{text:r,variant:n="secondary",...o}=e;return(0,l.createElement)(d.z,{...(0,a.m)(o),key:t,marginBottom:"xSmall",marginHorizontal:"xxSmall",mobileWidth:"auto",variant:(0,c.Io)(n)},r)})}),[p.actions]);return(0,n.jsxs)(b,{...g,backgroundColor:"white",role:"alert",children:[(0,n.jsx)(m.P,{gridArea:"icon",children:v}),(0,n.jsxs)(m.P,{gridArea:"messages",children:[E,x,j]}),p.onClose&&(0,n.jsx)(m.P,{children:(0,n.jsx)(u.C,{iconOnly:(0,n.jsx)(o.T,{size:"large",title:r.close}),onClick:p.onClose})})]})});E.defaultProps={messages:[],type:"success"}},56645:function(e,t,r){r.d(t,{t:function(){return v}});var n=r(97458),l=r(4776),o=r(26776),i=r(30765),a=r(52983),c=r(57734),s=r(39270),d=r(83273),u=r(24085),m=r(57931),h=r(85793);let f=(0,m.ZP)(h.Q).withConfig({componentId:"sc-1e9f08a8-0"})(["color:",";width:auto;"],e=>{let{theme:t}=e;return t.colors.secondary70});f.defaultProps={theme:u.rS};let p={previousPage:"Previous page",nextPage:"Next page"},g=(e,t,r)=>e===t?"".concat(e," of ").concat(r):"".concat(e," - ").concat(t," of ").concat(r),v=(0,a.memo)(e=>{let{itemsPerPage:t,currentPage:r,totalItems:u,itemsPerPageOptions:m=[],onPageChange:h,onItemsPerPageChange:v,label:x="pagination",localization:b=p,getRangeLabel:y=g}=e,[w,C]=(0,a.useState)(Math.max(1,Math.ceil(u/t))),[I,k]=(0,a.useState)({start:0,end:0}),E=(0,a.useCallback)(()=>{r<1||isNaN(r)||void 0===r?h(1):r>w&&h(w)},[r,w,h]),j=(0,a.useCallback)(()=>{(t<1||isNaN(t)||void 0===t)&&v(m[0])},[t,v,m]),S=(0,a.useCallback)(()=>{let e=t*(r-1)+1,n=t*r;e=Math.min(e,u),(0===(n=Math.min(n,u))||isNaN(n)||isNaN(e))&&(e=0,n=0),k({start:e,end:n})},[t,r,u]);(0,a.useEffect)(()=>{E(),j(),S(),C(Math.max(1,Math.ceil(u/t)))},[S,r,E,j,t,u]);let M=e=>v(Number(e.hash));return(0,n.jsxs)(s.k,{"aria-label":x,flexDirection:"row",role:"navigation",children:[(0,n.jsx)(d.B,{children:(0,n.jsx)(c.L,{items:m.map(e=>({content:"".concat(e),hash:"".concat(e),onItemClick:M})),positionFixed:!0,selectedItem:{content:"".concat(t),hash:"".concat(t),onItemClick:M},toggle:(0,n.jsx)(f,{iconRight:(0,n.jsx)(l.c,{size:"xxLarge"}),type:"button",variant:"subtle",children:y(I.start,I.end,u)})})}),(0,n.jsxs)(d.B,{children:[(0,n.jsx)(f,{disabled:r<=1,iconOnly:(0,n.jsx)(o.w,{title:b.previousPage}),onClick:()=>{h(r-1)},type:"button",variant:"subtle"}),(0,n.jsx)(f,{disabled:r>=w,iconOnly:(0,n.jsx)(i.X,{title:b.nextPage}),onClick:()=>{h(r+1)},type:"button",variant:"subtle"})]})]})});v.displayName="Pagination"},81237:function(e,t,r){r.d(t,{s:function(){return v}});var n=r(97458),l=r(52983),o=r(55315),i=r(88638),a=r(60807),c=r(31321),s=r(86773),d=r(39270),u=r(89983),m=r(24085),h=r(57931);let f=(0,h.ZP)(c.x).withConfig({componentId:"sc-93a30afd-0"})(["border-radius:",";","{border-radius:",";}"],e=>{let{theme:t}=e;return t.borderRadius.none},e=>{let{theme:t}=e;return t.breakpoints.tablet},e=>{let{theme:t}=e;return t.borderRadius.normal}),p=(0,h.ZP)(u.k1).withConfig({componentId:"sc-93a30afd-1"})(["flex-grow:1;& ~ .bd-button{width:auto;margin-top:0;}"]);f.defaultProps={theme:m.rS},p.defaultProps={theme:m.rS};let g=(0,l.memo)(e=>{let{forwardedRef:t,...r}=e,{action:m,children:h,description:g,header:v,headerId:x,badge:b,...y}=(0,o.Z)(r);return(0,n.jsxs)(f,{marginBottom:"medium",...y,backgroundColor:"white",padding:{mobile:"medium",tablet:"xLarge"},ref:t,shadow:"raised",children:[(v||m)&&"string"==typeof v?(0,n.jsxs)(d.k,{flexDirection:"row",children:[!!v&&(0,n.jsxs)(p,{id:x,marginBottom:"none",children:[v,b&&(0,n.jsx)(a.C,{marginLeft:"xSmall",...b})]}),m&&(0,n.jsx)(s.z,{...m,children:m.text})]}):null,g?"string"==typeof g?(0,n.jsx)(u.xv,{color:"secondary60",marginBottom:"none",marginTop:v?"xxSmall":"none",children:g}):(0,l.isValidElement)(g)?g:void(0,i.K)("description must be either a string or a ReactNode."):null,void 0!==h&&(0,n.jsx)(c.x,{marginTop:"medium",children:h})]})}),v=(0,l.forwardRef)((e,t)=>{let{className:r,style:l,...o}=e;return(0,n.jsx)(g,{...o,forwardedRef:t})});v.displayName="Panel"},67778:function(e,t,r){r.d(t,{N:function(){return v}});var n=r(97458),l=r(1401),o=r(22897),i=r(52983),a=r(35933),c=r(86773),s=r(57734),d=r(39270),u=r(24085),m=r(57931),h=r(85793),f=r(83273);let p=(0,m.ZP)(h.Q).withConfig({componentId:"sc-2a0c2650-0"})(["",""],e=>e.isActive&&(0,m.iv)(["background-color:",";"],e=>{let{theme:t}=e;return t.colors.primary20})),g=(0,m.ZP)(f.B).withConfig({componentId:"sc-2a0c2650-1"})(["",""],e=>!e.isVisible&&(0,m.iv)(["position:absolute;visibility:hidden;z-index:",";"],e=>{let{theme:t}=e;return-t.zIndex.tooltip}));p.defaultProps={theme:u.rS},g.defaultProps={theme:u.rS};let v=e=>{let{activePills:t,items:r,onPillClick:u}=e,m=(0,i.createRef)(),h=(0,i.createRef)(),[f,v]=(0,i.useState)(!1),[x,b]=(0,i.useState)(r.map(e=>({isVisible:!0,item:e,ref:(0,i.createRef)()}))),y=(0,i.useCallback)(()=>{var e,t;let n=null===(e=m.current)||void 0===e?void 0:e.offsetWidth,l=null===(t=h.current)||void 0===t?void 0:t.offsetWidth;if(!n||!l)return;let o=n,i=x.map(e=>{var t;let r=null===(t=e.ref.current)||void 0===t?void 0:t.offsetWidth;return r?o-r>l?(o-=r,{...e,isVisible:!0}):{...e,isVisible:!1}:e}),a=x.filter(e=>e.isVisible),c=i.filter(e=>e.isVisible);a.length!==c.length&&(v(c.length!==r.length),b(i))},[r,m,h,x]),w=(0,i.useMemo)(()=>{let e=x.filter(e=>!e.isVisible).map(e=>{let o=r.find(t=>{let{title:r}=t;return r===e.item.title}),i=!!o&&t.includes(o.id);return{content:e.item.title,onItemClick:()=>u(e.item.id),hash:e.item.title.toLowerCase(),icon:i?(0,n.jsx)(l.n,{}):void 0}});return(0,n.jsx)(g,{"data-testid":"pilltabs-dropdown-toggle",isVisible:f,ref:h,role:"listitem",children:(0,n.jsx)(s.L,{items:e,toggle:(0,n.jsx)(c.z,{iconOnly:(0,n.jsx)(o.m,{title:"add"}),variant:"subtle"})})})},[r,x,f,h,t,u]);(0,i.useEffect)(()=>{let e=r.map(e=>e.id),t=x.map(e=>e.item.id);e.join()!==t.join()&&b(r.map(e=>x.find(t=>t.item===e)||{isVisible:!0,item:e,ref:(0,i.createRef)()}))},[r,x]);let C=(0,i.useMemo)(()=>r.map((e,r)=>{let l=x[r];if(l)return(0,n.jsx)(g,{"data-testid":"pilltabs-pill-".concat(r),isVisible:l.isVisible,ref:l.ref,role:"listitem",children:(0,n.jsx)(p,{disabled:!l.isVisible,isActive:t.includes(e.id),marginRight:"xSmall",onClick:()=>u(e.id),variant:"subtle",children:e.title})},r)}),[r,x,t,u]);return(0,i.useEffect)(()=>{y()},[r,m,x,y]),(0,a.H)(()=>{y()}),r.length>0?(0,n.jsxs)(d.k,{"data-testid":"pilltabs-wrapper",flexDirection:"row",flexWrap:"nowrap",ref:m,role:"list",children:[C,w]}):null};v.displayName="Pill Tabs"},91191:function(e,t,r){r.d(t,{o:function(){return u}});var n=r(97458),l=r(48286);r(52983);var o=r(86773),i=r(39270),a=r(83273),c=r(32748),s=r(60847);let d={search:"Search"},u=e=>{let{localization:t=d,value:r,onChange:u,onSubmit:m,placeholder:h,"aria-label":f,autoComplete:p="off",...g}=e;return(0,n.jsx)(c.l,{fullWidth:!0,onSubmit:e=>{e.preventDefault(),e.stopPropagation(),"function"==typeof m&&m(e)},children:(0,n.jsxs)(i.k,{alignItems:"center",backgroundColor:"white",flexDirection:"row",paddingBottom:"xxSmall",children:[(0,n.jsx)(a.B,{flexGrow:1,marginRight:"small",children:(0,n.jsx)(s.I,{...g,"aria-label":null!=f?f:t.search,autoComplete:p,iconLeft:(0,n.jsx)(l.W,{color:"secondary50"}),onChange:u,placeholder:null!=h?h:t.search,type:"search",value:r})}),(0,n.jsx)(o.z,{mobileWidth:"auto",type:"submit",variant:"secondary",children:t.search})]})})}},76635:function(e,t,r){r.d(t,{W:function(){return w}});var n=r(97458),l=r(52983);let o=e=>{let t=(0,l.useRef)(!0);(0,l.useEffect)(()=>{t.current?t.current=!1:e()},[e])};var i=r(87414),a=r(31321),c=r(67778),s=r(91191),d=r(2513);let u=()=>e=>{let{columns:t,defaultSelected:r,items:n,pagination:l}=e;return{activePills:[],currentItems:f(n,l,{currentPage:1,itemsPerPage:25}),columns:h(t),filteredItems:[],isPaginationEnabled:l,items:n,pagination:{currentPage:1,itemsPerPage:25,itemsPerPageOptions:[25,50,100,250],totalItems:n.length},searchValue:"",submittedSearchValue:"",selectedItems:r,sortable:{direction:"ASC"}}},m=()=>(e,t)=>{switch(t.type){case"COLUMNS_CHANGED":{let r=t.columns;return{...e,columns:h(r)}}case"ITEMS_CHANGED":{let r=t.items,n=t.isPaginationEnabled,l=f(r,n,{currentPage:1,itemsPerPage:e.pagination.itemsPerPage}),o=e.selectedItems.filter(e=>r.includes(e));return{...e,currentItems:l,isPaginationEnabled:n,items:r,selectedItems:o,pagination:{...e.pagination,currentPage:1,totalItems:r.length},sortable:{direction:e.sortable.direction}}}case"PAGE_CHANGE":{let r=e.activePills.length>0||e.searchValue?e.filteredItems:e.items,n=t.page,l=f(r,!0,{currentPage:n,itemsPerPage:e.pagination.itemsPerPage});return{...e,currentItems:l,pagination:{...e.pagination,currentPage:n}}}case"ITEMS_PER_PAGE_CHANGE":{let r=t.itemsPerPage,n=f(e.items,!0,{currentPage:1,itemsPerPage:r});return{...e,currentItems:n,pagination:{...e.pagination,currentPage:1,itemsPerPage:r}}}case"SEARCH_VALUE_CHANGE":return{...e,searchValue:t.value};case"SELECTED_ITEMS":return{...e,selectedItems:t.selectedItems};case"SET_PILL_TABS_PROPS":return{...e,pillTabsProps:t.pillTabsProps};case"SORT":{let{hash:r,sortFn:n,sortKey:l}=t.column,o=t.direction;if(!l&&!n)return e;let i=l?p(e.items,o,l):n?p(e.items,o,n):e.items,a=f(i,e.isPaginationEnabled,{currentPage:1,itemsPerPage:e.pagination.itemsPerPage});return{...e,currentItems:a,items:i,pagination:{...e.pagination,currentPage:1},sortable:{direction:o,columnHash:r}}}case"TOGGLE_PILL":{if(!e.pillTabsProps)return e;let r=function(e,t,r){let n=e.find(e=>e.id===r);return n?t.includes(r)?t.filter(e=>e!==n.id):[...t,n.id]:t}(e.pillTabsProps.items,e.activePills,t.pillId),n=g(e.items,r,t.filter);return e.submittedSearchValue&&(n=x(n,e.submittedSearchValue,e.columns)),{...e,activePills:r,pagination:{...e.pagination,currentPage:1,totalItems:n.length},currentItems:n,filteredItems:n}}case"ON_SEARCH_SUBMIT":{let{searchValue:r,activePills:n}=e,l=e.items;return n.length>0&&t.filterPills&&(l=g(l,n,t.filterPills)),r&&(l=x(l,r,e.columns)),{...e,pagination:{...e.pagination,currentPage:1,totalItems:l.length},currentItems:l,filteredItems:l,submittedSearchValue:r}}default:return e}};function h(e){return e.map(e=>({...e,isSortable:!!(e.sortKey||e.sortFn)}))}function f(e,t,r){if(!t)return e;let n=r.currentPage*r.itemsPerPage,l=Math.min(n,e.length),o=Math.max(0,n-r.itemsPerPage);return e.slice(o,l)}function p(e,t,r){return[...e].sort((e,n)=>{if("function"==typeof r)return r(e,n,t);let l=e[r],o=n[r];if("number"==typeof l&&"number"==typeof o)return"ASC"===t?l-o:o-l;let i=String(l),a=String(o);return"ASC"===t?i.localeCompare(a):a.localeCompare(i)})}function g(e,t,r){return t.length>0?t.map(t=>r(t,e)).reduce((e,t)=>{let r=t.filter(t=>!e.includes(t));return[...e,...r]},[]):e}let v=(e,t)=>t.toLowerCase().trim().includes(e.toLowerCase().trim());function x(e,t,r){return e.filter(e=>r.some(r=>{let n=e[r.hash];switch(typeof n){case"string":case"number":case"boolean":return v(t,n.toString())}}))}let b={nextPage:"Next page",previousPage:"Previous page",search:"Search"},y=(e,t,r)=>{let n=Math.min(t,r),l=Math.max(t,r);return[...e.slice(0,n),...tr?e.slice(n,l):[],...e.slice(l+1)]},w=(0,i.l)(e=>{let{columns:t=[],defaultSelected:r=[],itemName:i,items:h=[],keyField:f,localization:p=b,getRangeLabel:g,onSelectionChange:v,onRowDrop:x,search:w,pagination:C=!1,filters:I,selectable:k=!1,stickyHeader:E=!1,...j}=e,S={...b,...p},M=(0,l.useMemo)(()=>m(),[]),P=(0,l.useMemo)(()=>u(),[]),R=(0,l.useMemo)(()=>t.some(e=>e.sortKey||e.sortFn),[t]),[z,Z]=(0,l.useReducer)(M,{columns:t,defaultSelected:r,items:h,pagination:C,filters:I,search:w},P),H=(0,l.useCallback)(()=>Z({type:"COLUMNS_CHANGED",columns:t}),[t]),L=(0,l.useCallback)(()=>Z({type:"ITEMS_CHANGED",items:h,isPaginationEnabled:C}),[h,C]);o(H),o(L);let V=(0,l.useCallback)(e=>Z({type:"PAGE_CHANGE",page:e}),[]),B=(0,l.useCallback)(e=>Z({type:"ITEMS_PER_PAGE_CHANGE",itemsPerPage:e}),[]),D=(0,l.useCallback)(e=>{Z({type:"SELECTED_ITEMS",selectedItems:e}),"function"==typeof v&&v(e)},[v]),N=(0,l.useCallback)((e,t,r)=>{Z({type:"SORT",column:r,direction:t})},[]),A=(0,l.useMemo)(()=>C?{...z.pagination,onItemsPerPageChange:B,onPageChange:V,localization:{previousPage:S.previousPage,nextPage:S.nextPage},getRangeLabel:g}:void 0,[C,z.pagination,g,B,V,S.previousPage,S.nextPage]),W=(0,l.useMemo)(()=>k?{selectedItems:z.selectedItems,onSelectionChange:D}:void 0,[k,z.selectedItems,D]),T=(0,l.useMemo)(()=>R?{...z.sortable,onSort:N}:void 0,[R,z.sortable,N]),F=(0,l.useCallback)((e,t)=>{let r=y(z.currentItems,e,t);Z({type:"ITEMS_CHANGED",items:r,isPaginationEnabled:C}),"function"==typeof x&&x(r)},[z.currentItems,x,C]);(0,l.useEffect)(()=>{if(!I)return;let e={activePills:z.activePills,onPillClick:e=>{Z({type:"TOGGLE_PILL",pillId:e,filter:I.filter})},items:I.pillTabs};Z({type:"SET_PILL_TABS_PROPS",pillTabsProps:e})},[I,z.activePills,w]);let _=(0,l.useMemo)(()=>w?{value:z.searchValue,onChange:e=>Z({type:"SEARCH_VALUE_CHANGE",value:e.target.value}),onSubmit:()=>Z({type:"ON_SEARCH_SUBMIT",filterPills:null==I?void 0:I.filter})}:void 0,[w,z.searchValue,I]);return(0,n.jsxs)(n.Fragment,{children:[I&&z.pillTabsProps?(0,n.jsx)(a.x,{marginBottom:"medium",children:(0,n.jsx)(c.N,{...z.pillTabsProps})}):null,(()=>{if(w&&_)return(0,n.jsx)(a.x,{marginBottom:"medium",children:(0,n.jsx)(s.o,{localization:{search:S.search},..._})})})(),(0,n.jsx)(d.i,{...j,columns:z.columns,itemName:i,items:z.currentItems,keyField:f,onRowDrop:x?F:void 0,pagination:A,selectable:W,sortable:T,stickyHeader:E})]})})},79609:function(e,t,r){r.d(t,{Q:function(){return O}});var n=r(97458),l=r(52983),o=r(87414);let i=(e,t)=>{for(let[,r]of e.entries())if(r.children&&r.children.includes(t))return r.id},a=e=>{let{nodes:t,nodeMap:r}=e;return!t||t.length<1?r:t.reduce((e,t)=>{var r,n;let l=i(e,t.id);return(e.set(t.id,{children:null!==(n=null===(r=t.children)||void 0===r?void 0:r.map(e=>e.id))&&void 0!==n?n:[],id:t.id,parent:l}),t.children&&t.children.length>0)?a({nodes:t.children,nodeMap:e}):e},r)},c=e=>{let{nodes:t}=e;return(0,l.useMemo)(()=>a({nodes:t,nodeMap:new Map}),[t])},s=(e,t)=>{let r=e.indexOf(t);return -1!==r&&r+1{let r=e.indexOf(t);return -1!==r&&r-1>=0?e[r-1]:t},u=e=>{let{onFocus:t,onSelect:r,onToggle:n,nodeMap:l,visibleNodes:o}=e;return(e,i)=>{let{id:a,isExpanded:c,isSelectable:u,hasChildren:m,value:h}=i,f=e.key;if(!e.altKey&&e.currentTarget===e.target)switch(f){case" ":e.preventDefault(),e.stopPropagation(),u&&r&&r(a,h);break;case"Enter":e.preventDefault(),e.stopPropagation(),m?n&&n(a,c):u&&r&&r(a,h);break;case"ArrowDown":e.preventDefault(),t(s(o,a));break;case"ArrowUp":e.preventDefault(),t(d(o,a));break;case"ArrowRight":e.preventDefault(),m&&(c?t(s(o,a)):n&&n(a,c));break;case"ArrowLeft":var p;if(e.preventDefault(),m&&c){n&&n(a,c);break}(null===(p=l.get(a))||void 0===p?void 0:p.parent)!==void 0&&t(d(o,a));break;case"Home":e.preventDefault(),t(o[0]);break;case"End":e.preventDefault(),t(o[o.length-1])}}};var m=r(24085),h=r(57931);let f=h.ZP.ul.withConfig({componentId:"sc-e29d38cf-0"})(["list-style-type:none;margin:0;padding:0;user-select:none;> li > ul{padding-left:",";}",""],e=>{let{theme:t}=e;return t.helpers.addValues(t.spacing.xLarge,t.spacing.xxSmall)},e=>{let{show:t}=e;return!1===t&&(0,h.iv)(["display:none;"])});f.defaultProps={theme:m.rS};var p=r(30765),g=r(54799),v=r(1401),x=r(21413),b=r(78769);function y(e,t){let r=!(arguments.length>2)||void 0===arguments[2]||arguments[2],n=[];for(let l of e){if(t(l)){if(r)return l;n.push(l)}if(l.children&&l.children.length>0){if(r)return y(l.children,t,r);let e=y(l.children,t,r);e&&(n=n.concat(e))}}return r?null:n}let w=e=>{let{selectedNodes:t,children:r}=e;return(0,l.useMemo)(()=>{if((null==r?void 0:r.length)&&t){let e=y(r,e=>t.some(t=>t===e.id),!1);return e?e.length:0}return 0},[r,t])};var C=r(83273),I=r(39270),k=r(89983);let E=h.ZP.li.withConfig({componentId:"sc-e02805a5-0"})(["outline:0;"]),j=(0,h.ZP)(C.B).withConfig({componentId:"sc-e02805a5-1"})(["z-index:1;",";"],e=>{let{expanded:t}=e;return t&&(0,h.iv)(["transform:rotate(90deg);"])}),S=(0,h.ZP)(C.B).withConfig({componentId:"sc-e02805a5-2"})(["padding:1px;z-index:1;"]),M=(0,h.iv)(["bottom:0;content:'';left:-1000px;right:0;position:absolute;top:0;z-index:0;"]),P=(0,h.ZP)(I.k).withConfig({componentId:"sc-e02805a5-3"})(["cursor:pointer;min-height:",";position:relative;li:focus > &,&:hover{&::after{"," background-color:",";}}label,svg{vertical-align:middle;}",""],e=>{let{theme:t}=e;return t.helpers.addValues(t.spacing.xxLarge,t.spacing.xSmall)},M,e=>{let{theme:t}=e;return t.colors.secondary10},e=>{let{theme:t,selected:r}=e;return r&&(0,h.iv)(["&::after{"," background-color:",";}"],M,t.colors.primary10)}),R=(0,h.ZP)(C.B).withConfig({componentId:"sc-e02805a5-4"})(["z-index:1;"]),z=h.ZP.div.withConfig({componentId:"sc-e02805a5-5"})(["flex-shrink:0;height:",";width:",";"],e=>{let{theme:t}=e;return t.spacing.xLarge},e=>{let{theme:t}=e;return t.spacing.xLarge}),Z=(0,h.ZP)(k.zF).withConfig({componentId:"sc-e02805a5-6"})(["z-index:1;"]);j.defaultProps={theme:m.rS},P.defaultProps={theme:m.rS},z.defaultProps={theme:m.rS};let H={flexShrink:0,marginLeft:"xxSmall"},L=(0,o.l)(e=>{var t;let{children:r,icon:o,label:i,value:a,id:c}=e,{disabledNodes:s,expandable:d,focusable:u,iconless:m,onKeyDown:h,onNodeClick:y,selectable:C,treeRef:I}=(0,l.useContext)(V),k=(0,l.useRef)(null),M=(0,l.useRef)(null),B=d.expandedNodes.includes(c),D=null==C?void 0:null===(t=C.selectedNodes)||void 0===t?void 0:t.includes(c),N=null==s?void 0:s.includes(c),A=void 0!==a&&(null==C?void 0:C.type)!==void 0&&!N,W=w({selectedNodes:null==C?void 0:C.selectedNodes,children:r});(0,l.useEffect)(()=>{var e,t;u.focusedNode===c&&k.current!==document.activeElement&&document.activeElement!==document.body&&(null===(e=I.current)||void 0===e?void 0:e.contains(document.activeElement))&&(null===(t=k.current)||void 0===t||t.focus())},[u,c,I]);let T=(0,l.useCallback)(async e=>{var t;(null==e?void 0:e.target)instanceof Node&&(null===(t=M.current)||void 0===t?void 0:t.contains(e.target))||void 0===r||("function"==typeof d.onToggle&&d.onToggle(c,B),B?"function"==typeof d.onCollapse&&d.onCollapse(c):"function"==typeof d.onExpand&&d.onExpand(c))},[r,c,d,B]),F=(0,l.useCallback)(()=>{A&&"function"==typeof C.onSelect&&C.onSelect(c,a)},[c,A,C,a]),_=(0,l.useCallback)(e=>{e.altKey||e.currentTarget!==e.target||h(e,{id:c,isExpanded:B,isSelectable:A,hasChildren:!!(null==r?void 0:r.length),value:a})},[r,c,B,A,h,a]),O=(0,l.useCallback)(e=>{e.stopPropagation(),"function"==typeof u.onFocus&&u.onFocus(c),"function"==typeof y&&y(e,c)},[u,c,y]),K=(0,l.useMemo)(()=>(null==C?void 0:C.type)?{"aria-selected":D}:{},[C,D]),G=(0,l.useMemo)(()=>r?(0,n.jsx)(j,{expanded:B,flexShrink:0,children:(0,n.jsx)(p.X,{color:"secondary60",focusable:!1,size:"xLarge"})}):(0,n.jsx)(z,{}),[r,B]),U=(0,l.useMemo)(()=>r&&(0,n.jsx)(f,{role:"group",show:B,children:r.map((e,t)=>(0,l.createElement)(L,{...e,key:t}))}),[r,B]),Y=(0,l.useMemo)(()=>m?null:o?(0,n.jsx)(R,{...H,children:o}):(0,n.jsx)(R,{...H,children:(0,n.jsx)(g.R,{color:N?"primary20":"primary30",size:"xLarge"})}),[N,o,m]),X=(0,l.useMemo)(()=>void 0!==a&&(null==C?void 0:C.type)?"radio"===C.type?(0,n.jsx)(S,{...H,children:(0,n.jsx)(b.Ks,{"aria-hidden":!0,checked:D,disabled:N,onClick:F,ref:M})}):"multi"===C.type?(0,n.jsx)(S,{...H,children:(0,n.jsx)(x.P2,{"aria-hidden":!0,checked:D,disabled:N,onClick:F,ref:M,children:D?(0,n.jsx)(v.n,{}):null})}):void 0:null,[N,F,D,C,a]);return(0,l.useMemo)(()=>(0,n.jsxs)(E,{"aria-expanded":B,onClick:O,onKeyDown:_,ref:k,role:"treeitem",tabIndex:u.focusedNode===c?0:-1,...K,children:[(0,n.jsxs)(P,{alignItems:"center",flexDirection:"row",onClick:T,selected:D,children:[G,X,Y,(0,n.jsxs)(Z,{as:"span",color:N?"secondary50":"secondary70",ellipsis:!0,marginLeft:"xxSmall",children:[i,W?(0,n.jsxs)(Z,{as:"span",color:"primary",children:[" ","(",W,")"]}):null]})]}),U]}),[K,_,O,T,c,N,B,D,u,i,G,U,X,Y,W])}),V=(0,l.createContext)({expandable:{expandedNodes:[]},focusable:{focusedNode:"",onFocus:()=>null},onKeyDown:()=>null,treeRef:{current:null}}),B=e=>{let{disabledNodes:t,expandable:r,focusable:o,iconless:i,id:a,nodes:c,onKeyDown:s,onNodeClick:d,selectable:u}=e,m=(0,l.useRef)(null),h=(0,l.useMemo)(()=>c.map((e,t)=>(0,l.createElement)(L,{...e,key:t})),[c]);return(0,n.jsx)(V.Provider,{value:{disabledNodes:t,expandable:r,focusable:o,iconless:i,onKeyDown:s,onNodeClick:d,selectable:u,treeRef:m},children:(0,n.jsx)(f,{"aria-multiselectable":(null==u?void 0:u.type)==="multi",id:a,ref:m,role:"tree",style:{overflow:"hidden"},children:h})})},D=e=>{let{nodes:t,type:r,defaultSelected:n}=e,[o,i]=(0,l.useState)(r&&(null==n?void 0:n.length)?n[0]:t[0].id);return{focusedNode:o,onFocus:e=>{i(e)}}},N=e=>{let{defaultExpanded:t,onExpandedChange:r}=e,[n,o]=(0,l.useState)(null!=t?t:[]);(0,l.useEffect)(()=>{t&&o(t)},[t]),(0,l.useEffect)(()=>{"function"==typeof r&&r(n)},[n,r]);let i=e=>{o([...n,e])},a=e=>{o(t=>t.filter(t=>t!==e))};return{expandedNodes:n,onToggle:(e,t)=>{t?a(e):i(e)}}},A=e=>{let{nodes:t,selectedNodes:r,type:n}=e;if("radio"===n){let e=y(t,e=>{let{id:t,value:n}=e;return r.includes(t)&&void 0!==n});if(e&&void 0!==e.value)return[e.value]}if("multi"===n){var l,o;return null!==(o=null===(l=y(t,e=>{let{id:t,value:n}=e;return r.includes(t)&&void 0!==n},!1))||void 0===l?void 0:l.reduce((e,t)=>void 0!==t.value?[...e,t.value]:e,[]))&&void 0!==o?o:[]}return[]},W=e=>{let{defaultSelected:t,disabledNodes:r,nodes:n,onSelectionChange:o,type:i}=e,[a,c]=(0,l.useState)(null!=t?t:[]),[s,d]=(0,l.useState)(()=>i?A({nodes:n,selectedNodes:a,type:i}):[]);return(0,l.useEffect)(()=>{t&&(c(t),d(A({nodes:n,selectedNodes:t,type:i})))},[t,n,i]),(0,l.useEffect)(()=>{if("radio"===i){if(a.length>=1)c(e=>e.slice(0,1)),d(e=>e.slice(0,1));else if(n.length){let e=y(n,e=>void 0!==e.value,!0);e&&void 0!==e.value&&(c([e.id]),d([e.value]))}}},[n,a.length,c,i]),(0,l.useEffect)(()=>{"function"==typeof o&&o(s)},[o,s]),{selectedNodes:a,onSelect:(e,t)=>{(null==r||!r.includes(e))&&("multi"===i&&(a.includes(e)?(c(t=>t.filter(t=>t!==e)),d(e=>e.filter(e=>e!==t))):(c([...a,e]),d([...s,t]))),"radio"!==i||a.includes(e)||(c([e]),d([t])))}}},T=e=>{let{nodes:t,expandedNodes:r,nodeMap:n}=e;return t.reduce((e,t)=>{if(r.includes(t)){var l;let o=null===(l=n.get(t))||void 0===l?void 0:l.children;if(o){let l=T({nodes:o,expandedNodes:r,nodeMap:n});return e.includes(t)?[...e,...l]:[...e,t,...l]}}return[...e,t]},[])},F=e=>{let{expandedNodes:t,nodeMap:r}=e;return T({nodes:Array.from(r.entries()).filter(e=>{let[,t]=e;return void 0===t.parent},[]).map(e=>{let[t]=e;return t}),expandedNodes:t,nodeMap:r})},_=e=>{let{expandedNodes:t,nodeMap:r}=e,[n,o]=(0,l.useState)(()=>F({expandedNodes:t,nodeMap:r}));return(0,l.useEffect)(()=>{o(F({expandedNodes:t,nodeMap:r}))},[t,r]),{visibleNodes:n}},O=(0,o.l)(e=>{let{nodes:t=[],defaultExpanded:r,defaultSelected:l,disabledNodes:o=[],iconless:i,onNodeClick:a,onExpandedChange:s,onSelectionChange:d,selectable:m}=e,{focusedNode:h,onFocus:f}=D({nodes:t,type:m,defaultSelected:l}),{expandedNodes:p,onToggle:g}=N({defaultExpanded:r,onExpandedChange:s}),{selectedNodes:v,onSelect:x}=W({defaultSelected:l,disabledNodes:o,nodes:t,onSelectionChange:d,type:m}),b=c({nodes:t}),{visibleNodes:y}=_({expandedNodes:p,nodeMap:b}),w=u({onFocus:f,onSelect:x,onToggle:g,nodeMap:b,visibleNodes:y});return(0,n.jsx)(B,{disabledNodes:o,expandable:{expandedNodes:p,onToggle:g},focusable:{focusedNode:h,onFocus:f},iconless:i,nodes:t,onKeyDown:w,onNodeClick:a,selectable:{selectedNodes:v,onSelect:x,type:m}})})},2513:function(e,t,r){r.d(t,{i:function(){return en},r:function(){return el}});var n=r(97458),l=r(52983),o=r(71471),i=r(87414),a=r(83273),c=r(89983),s=r(39928),d=r(39270);let u=e=>{let{items:t=[],onChange:r,selectedItems:l,totalItems:o}=e,i=t.length>0&&t.every(e=>l.has(e)),u=t.length>0&&t.some(e=>l.has(e));if("function"!=typeof r)return null;let m=l.size;return(0,n.jsx)(a.B,{flexShrink:0,marginRight:"xxSmall",children:(0,n.jsxs)(d.k,{flexDirection:"row",children:[(0,n.jsx)(s.X,{checked:i,hiddenLabel:!0,isIndeterminate:u,label:i?"Deselect All":"Select All",onChange:()=>{if("function"==typeof r){if(0===l.size)return r([...t]);if(i){let e=new Set(l);return t.forEach(t=>e.delete(t)),r([...e])}return r([...new Set([...l,...t])])}}}),(0,n.jsx)(c.xv,{marginLeft:"small",children:0===m?"".concat(o):"".concat(m,"/").concat(o)})]})})};var m=r(56645),h=r(24085),f=r(57931);let p=(0,f.ZP)(a.B).withConfig({componentId:"sc-d7fa6d2a-0"})(["margin-left:auto;"]);p.defaultProps={theme:h.rS};let g=(0,l.memo)(e=>{let{currentPage:t,itemsPerPage:r,itemsPerPageOptions:l,onItemsPerPageChange:o,onPageChange:i,totalItems:a,label:c,localization:s,getRangeLabel:d}=e;return(0,n.jsx)(p,{flexShrink:0,children:(0,n.jsx)(m.t,{currentPage:t,getRangeLabel:d,itemsPerPage:r,itemsPerPageOptions:l,label:c,localization:s,onItemsPerPageChange:o,onPageChange:i,totalItems:a})})});var v=r(33659);let x=f.ZP.div.withConfig({componentId:"sc-25f54205-0"})([""," background-color:",";display:flex;padding:",";",""],(0,v.K)(),e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return"".concat(t.spacing.small," ").concat(t.spacing.xLarge)},e=>{let{theme:t,stickyHeader:r}=e;return r&&(0,f.iv)(["","{position:sticky;top:0;z-index:",";}"],t.breakpoints.tablet,t.zIndex.sticky+1)});x.defaultProps={theme:h.rS};let b=(0,i.l)(e=>{let{customActions:t,forwardedRef:r,itemName:l,items:o=[],onSelectionChange:i,pagination:s,selectedItems:d,stickyHeader:m,tableId:h,...f}=e,p="function"==typeof i,v=s?s.totalItems:o.length;return(0,n.jsxs)(x,{alignItems:"center","aria-controls":h,flexDirection:"row",justifyContent:"stretch",ref:r,stickyHeader:m,...f,children:[(0,n.jsx)(u,{items:o,onChange:i,selectedItems:d,totalItems:v}),(()=>{if("string"!=typeof l)return null;let e=p?l:"".concat(v," ").concat(l);return(0,n.jsx)(a.B,{flexShrink:0,marginRight:"medium",children:(0,n.jsx)(c.xv,{margin:"none",children:e})})})(),null!=t?t:null,s&&(0,n.jsx)(g,{...s})]})}),y=f.ZP.tbody.withConfig({componentId:"sc-91891151-0"})(["",""],e=>{let{theme:t,withFirstRowBorder:r}=e;return r&&(0,f.iv)(["tr:first-of-type > td{border-top:",";}"],t.border.box)});y.defaultProps={theme:h.rS};let w=e=>(0,n.jsx)(y,{ref:e.forwardedRef,...e}),C=(0,l.memo)((0,l.forwardRef)((e,t)=>(0,n.jsx)(w,{...e,forwardedRef:t})));var I=r(91046);let k=f.ZP.thead.withConfig({componentId:"sc-adc25cc9-0"})(["",""],e=>{let{hidden:t}=e;return t&&(0,I.G0)()});k.defaultProps={theme:h.rS};let E=(0,l.memo)(e=>{let{className:t,style:r,hidden:l=!1,...o}=e;return(0,n.jsx)(k,{hidden:l,...o})});var j=r(86846),S=r(50110),M=r(88459),P=r(32560);let R=e=>({height:e?e.offsetHeight:0,width:e?e.offsetWidth:0}),z=e=>{let[t,r]=(0,P.j)(R(e.current)),n=(0,l.useCallback)(()=>{e.current&&r(R(e.current))},[e,r]);return(0,l.useEffect)(()=>{if(e.current&&(n(),"function"==typeof MutationObserver&&e.current instanceof Node)){let t=new MutationObserver(n);return t.observe(e.current,{childList:!0}),()=>{t.disconnect()}}},[e,n]),t};var Z=r(31321),H=r(47285),L=r(15202);let V=()=>(0,f.iv)(["",";"],e=>{let{display:t,theme:r}=e;return t&&B(t,r,"display")}),B=(e,t,r)=>"object"==typeof e?N(e,t,r):"string"==typeof e||"number"==typeof e?D(e,r):[],D=(e,t)=>(0,f.iv)(["",":",""],t,e),N=(e,t,r)=>Object.keys(e).sort((e,t)=>L.z6.indexOf(e)-L.z6.indexOf(t)).map(n=>(0,f.iv)(["","{"," ","}"],t.breakpoints[n],"",D(e[n],r))),A=f.ZP.th.withConfig({componentId:"sc-48fc43a5-0"})([""," background-color:",";border-bottom:",";border-top:",";box-sizing:border-box;color:",";font-size:",";padding:",";white-space:nowrap;&:first-of-type{padding-left:",";}&:last-of-type{padding-right:",";}",";",";",""],V(),e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.border.box},e=>{let{theme:t}=e;return t.border.box},e=>{let{theme:t}=e;return t.colors.secondary70},e=>{let{theme:t}=e;return t.typography.fontSize.medium},e=>{let{theme:t}=e;return t.spacing.small},e=>{let{theme:t}=e;return t.spacing.xLarge},e=>{let{theme:t}=e;return t.spacing.xLarge},e=>{let{isSortable:t}=e;return t&&(0,f.iv)(["cursor:pointer;"])},e=>{let{width:t}=e;return void 0!==t&&(0,f.iv)(["width:",";"],"string"==typeof t?t:"".concat(t,"px"))},e=>{let{theme:t,stickyHeader:r,stickyHeight:n}=e;return r&&n>=0&&(0,f.iv)(["","{position:sticky;top:",";z-index:",";}"],t.breakpoints.tablet,t.helpers.remCalc(n),t.zIndex.sticky)}),W=(0,f.ZP)(A).withConfig({componentId:"sc-48fc43a5-1"})(["width:",";white-space:nowrap;"],e=>{let{theme:t}=e;return t.helpers.addValues(t.spacing.xLarge,t.spacing.small)}),T=(0,f.ZP)(d.k).withConfig({componentId:"sc-48fc43a5-2"})(["",";",";"],e=>{let{align:t}=e;switch(t){case"center":return(0,f.iv)(["justify-content:center;"]);case"right":return(0,f.iv)(["justify-content:flex-end;"]);default:return(0,f.iv)(["justify-content:flex-start;"])}},e=>{let{hide:t}=e;return t&&(0,I.G0)()});T.defaultProps={theme:h.rS},A.defaultProps={theme:h.rS},W.defaultProps={theme:h.rS};let F=(0,l.memo)(e=>{let{stickyHeader:t,actionsRef:r}=e,l=z(r);return(0,n.jsx)(W,{stickyHeader:t,stickyHeight:l.height})}),_=(0,l.memo)(e=>{let{actionsRef:t,headerCellIconRef:r}=e,l=z(t);return(0,n.jsx)(W,{ref:r,stickyHeight:l.height})}),O=(0,i.l)(e=>{let{actionsRef:t,children:r,column:o,display:i,hide:a=!1,id:c,isSorted:s,localization:d,onSortClick:u,sortDirection:m,stickyHeader:h}=e,{align:f="left",isSortable:p,width:g,tooltip:v}=o,x=z(t),b=(0,l.useId)(),y=()=>s?"ASC"===m?(0,n.jsx)(j._,{"data-testid":"asc-icon",size:"medium",title:d.ascendingOrder}):(0,n.jsx)(S.Y,{"data-testid":"desc-icon",size:"medium",title:d.descendingOrder}):null;return(0,n.jsxs)(A,{display:i,id:c,isSortable:p,onClick:e=>{e.preventDefault(),p&&"function"==typeof u&&u(o)},stickyHeader:h,stickyHeight:x.height,width:g,children:[(0,n.jsxs)(T,{align:f,alignItems:"center",flexDirection:"row",hide:a,children:[r,!a&&y(),"string"==typeof v&&v.length>0?(0,n.jsx)(H.u,{id:b,placement:"right",trigger:(0,n.jsx)(Z.x,{as:"span",marginLeft:"xxSmall",children:(0,n.jsx)(M.p,{"aria-describedby":b,size:"medium",title:"Hover or focus for additional context."})}),children:v}):null]}),a&&y()]})});var K=r(54188);let G=f.ZP.td.withConfig({componentId:"sc-7811a1c9-0"})([""," background-color:",";box-sizing:border-box;color:",";font-size:",";padding:",";&:first-of-type{padding-left:",";}&:last-of-type{padding-right:",";}"," ",";",";",";"],V(),e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.colors.secondary70},e=>{let{theme:t}=e;return t.typography.fontSize.medium},e=>{let{theme:t,withPadding:r}=e;return r?t.spacing.small:0},e=>{let{theme:t,withPadding:r}=e;return r?t.spacing.xLarge:0},e=>{let{theme:t,withPadding:r}=e;return r?t.spacing.xLarge:0},e=>{let{theme:t,withBorder:r}=e;return r&&(0,f.iv)(["border-bottom:",";"],t.border.box)},e=>{let{align:t}=e;return t&&(0,f.iv)(["text-align:",";"],t)},e=>{let{verticalAlign:t}=e;return t&&(0,f.iv)(["vertical-align:",";"],t)},e=>{let{width:t}=e;return void 0!==t&&(0,f.iv)(["width:",";"],"string"==typeof t?t:"".concat(t,"px"))}),U=(0,f.ZP)(G).withConfig({componentId:"sc-7811a1c9-1"})([""," background-color:",";padding:",";&:first-of-type{padding-left:",";}&:last-of-type{padding-right:",";}",";"],V(),e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return"0 ".concat(t.spacing.small)},e=>{let{theme:t}=e;return t.spacing.xLarge},e=>{let{theme:t}=e;return t.spacing.xLarge},e=>e.isCheckbox&&(0,f.iv)(["width:",";white-space:nowrap;"],e=>{let{theme:t}=e;return t.helpers.addValues(t.spacing.xLarge,t.spacing.small)}));G.defaultProps={theme:h.rS},U.defaultProps={theme:h.rS};let Y=(0,l.memo)(e=>{let{align:t,children:r,display:l,isCheckbox:o,verticalAlign:i,width:a,withBorder:c=!0,withPadding:s=!0}=e;return o?(0,n.jsx)(U,{align:t,display:l,width:a,withBorder:c,children:r}):(0,n.jsx)(G,{align:t,display:l,verticalAlign:i,width:a,withBorder:c,withPadding:s,children:r})});var X=r(64172);let Q=f.ZP.tr.withConfig({componentId:"sc-b8bb177c-0"})([""," display:",";background-color:",";&:hover{background-color:",";}"],(0,X.Y)(["background-color"]),e=>{let{isDragging:t}=e;return t?"table":"table-row"},e=>{let{isSelected:t,theme:r}=e;return t?r.colors.primary10:"transparent"},e=>{let{theme:t}=e;return t.colors.secondary10});Q.defaultProps={theme:h.rS};let q=e=>{let{columns:t,forwardedRef:r,headerCellWidths:l,isDragging:o=!1,isSelectable:i=!1,isSelected:a=!1,item:c,showDragIcon:d=!1,onItemSelect:u,...m}=e,h=a?"Selected":"Unselected";return(0,n.jsxs)(Q,{isDragging:o,isSelected:a,ref:r,...m,children:[d&&(0,n.jsx)(Y,{width:l[0],children:(0,n.jsx)(K.Y,{})}),i&&(0,n.jsx)(Y,{isCheckbox:!0,children:(0,n.jsx)(s.X,{checked:a,hiddenLabel:!0,label:h,onChange:()=>{u&&u(c)}})},"data-checkbox"),t.map((e,t)=>{let{render:r,align:i,display:a,verticalAlign:s,width:d,withPadding:u=!0}=e,m=l[t+1];return(0,n.jsx)(Y,{align:i,display:a,verticalAlign:s,width:o?m:d,withPadding:u,children:(0,n.jsx)(r,{...c})},t)})]})},$=(0,i.l)((0,l.forwardRef)((e,t)=>(0,n.jsx)(q,{...e,forwardedRef:t})));var J=r(15134);let ee=f.ZP.figure.withConfig({componentId:"sc-d5cd1ead-0"})(["margin:0;max-width:100%;overflow-x:auto;white-space:nowrap;","{white-space:normal;}",";"],e=>{let{theme:t}=e;return t.breakpoints.tablet},(0,J.U)()),et=f.ZP.table.withConfig({componentId:"sc-d5cd1ead-1"})(["border-color:transparent;border-spacing:0;color:",";text-align:left;width:100%;"],e=>{let{theme:t}=e;return t.colors.secondary70});ee.defaultProps={theme:h.rS},et.defaultProps={theme:h.rS};let er={ascendingOrder:"Ascending order",descendingOrder:"Descending order"},en=(0,i.l)(e=>{let{actions:t,className:r,columns:i,emptyComponent:a,headerless:c=!1,id:s,itemName:d,items:u,keyField:m="id",localization:h=er,onRowDrop:f,pagination:p,selectable:g,sortable:v,stickyHeader:x,style:y,...w}=e,I=(0,l.useRef)(null),k=(0,l.useId)(),j=(0,l.useRef)(s||k),S=!!g,[M,P]=(0,l.useState)(new Set),[R,z]=(0,l.useState)([]),Z=(0,l.useRef)(null),H=function(e){let t=(0,l.useRef)(e);return(0,l.useEffect)(()=>{t.current=e}),(0,l.useCallback)(function(){for(var e=arguments.length,r=Array(e),n=0;n{if(!g||!e)return;let{onSelectionChange:t}=g;t(M.has(e)?[...M].filter(t=>t!==e):[...M,e])}),L=g?g.selectedItems:null;(0,l.useEffect)(()=>{g&&P(new Set(g.selectedItems))},[g,L]);let V=g?H:void 0,B=(0,l.useCallback)(e=>{if(!v||!e.isSortable)return;let{hash:t}=e,r="ASC"===v.direction?"DESC":"ASC";"function"==typeof v.onSort&&v.onSort(t,r,e)},[v]),D=(0,l.useCallback)(e=>{let{destination:t,source:r}=e;t&&(t.droppableId!==r.droppableId||t.index!==r.index)&&("function"==typeof f&&f(r.index,t.index),z([]))},[f]),N=(e,t)=>void 0!==e[m]?e[m]:t,A=()=>(0,n.jsx)(E,{hidden:c,children:(0,n.jsxs)("tr",{children:["function"==typeof f&&(0,n.jsx)(_,{actionsRef:I,headerCellIconRef:Z}),S&&(0,n.jsx)(F,{actionsRef:I,stickyHeader:x}),i.map((e,t)=>{let{display:r,hash:l,header:o,isSortable:i,hideHeader:a,width:c}=e,s=i&&v&&l===v.columnHash,d=v&&v.direction,u=R[t+1];return(0,n.jsx)(O,{actionsRef:I,column:{...e,width:null!=u?u:c},display:r,hide:a,id:"header-cell-".concat(t),isSorted:s,localization:h,onSortClick:B,sortDirection:d,stickyHeader:x,children:o},t)})]})}),W=()=>(0,n.jsx)(o.bK,{droppableId:"".concat(k,"-bd-droppable"),children:e=>(0,n.jsxs)(C,{ref:e.innerRef,withFirstRowBorder:c,...e.droppableProps,children:[u.map((e,t)=>{let r=N(e,t),l=M.has(e);return(0,n.jsx)(o._l,{draggableId:String(r),index:t,children:(t,r)=>(0,n.jsx)($,{isDragging:r.isDragging,...t.dragHandleProps,...t.draggableProps,columns:i,headerCellWidths:R,isSelectable:S,isSelected:l,item:e,onItemSelect:V,ref:t.innerRef,showDragIcon:!0})},r)}),e.placeholder]})}),T=()=>f?W():(0,n.jsx)(C,{withFirstRowBorder:c,children:u.map((e,t)=>{let r=N(e,t),l=M.has(e);return(0,n.jsx)($,{columns:i,headerCellWidths:R,isSelectable:S,isSelected:l,item:e,onItemSelect:V},r)})});return(0,n.jsxs)(n.Fragment,{children:[(!!t||!!p||!!g||!!d)&&(0,n.jsx)(b,{customActions:t,forwardedRef:I,itemName:d,items:u,onSelectionChange:g&&g.onSelectionChange,pagination:p,selectedItems:M,stickyHeader:x,tableId:j.current}),(0,n.jsx)(et,{...w,id:j.current,children:f?(0,n.jsxs)(o.Z5,{onBeforeDragStart:()=>{var e,t;z([null!==(t=null===(e=Z.current)||void 0===e?void 0:e.offsetWidth)&&void 0!==t?t:"auto",...i.map((e,t)=>{var r;let n=window.document.getElementById("header-cell-".concat(t));return null!==(r=null==n?void 0:n.getBoundingClientRect().width)&&void 0!==r?r:"auto"})])},onDragEnd:D,children:[A(),T()]}):(0,n.jsxs)(n.Fragment,{children:[A(),T()]})}),0===u.length&&a?a:null]})}),el=(0,l.memo)(e=>(0,n.jsx)(ee,{...e}))},49962:function(e,t,r){r.d(t,{O:function(){return c}});var n=r(43131),l=r(52983),o=r(18308);let i=e=>{let{svgRef:t,title:r,theme:o,...i}=e,a=(0,l.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return l.createElement("svg",(0,n.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?l.createElement("title",{id:c},r):null,l.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),l.createElement("path",{d:"M12 7c-.55 0-1 .45-1 1v3H8c-.55 0-1 .45-1 1s.45 1 1 1h3v3c0 .55.45 1 1 1s1-.45 1-1v-3h3c.55 0 1-.45 1-1s-.45-1-1-1h-3V8c0-.55-.45-1-1-1m0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}))},a=(0,l.forwardRef)((e,t)=>l.createElement(i,(0,n.Z)({},e,{svgRef:t}))),c=(0,l.memo)((0,o.V)(a));c.displayName="AddCircleOutlineIcon"},50110:function(e,t,r){r.d(t,{Y:function(){return c}});var n=r(43131),l=r(52983),o=r(18308);let i=e=>{let{svgRef:t,title:r,theme:o,...i}=e,a=(0,l.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return l.createElement("svg",(0,n.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?l.createElement("title",{id:c},r):null,l.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),l.createElement("path",{d:"M11 5v11.17l-4.88-4.88c-.39-.39-1.03-.39-1.42 0a.996.996 0 0 0 0 1.41l6.59 6.59c.39.39 1.02.39 1.41 0l6.59-6.59a.996.996 0 1 0-1.41-1.41L13 16.17V5c0-.55-.45-1-1-1s-1 .45-1 1"}))},a=(0,l.forwardRef)((e,t)=>l.createElement(i,(0,n.Z)({},e,{svgRef:t}))),c=(0,l.memo)((0,o.V)(a));c.displayName="ArrowDownwardIcon"},86846:function(e,t,r){r.d(t,{_:function(){return c}});var n=r(43131),l=r(52983),o=r(18308);let i=e=>{let{svgRef:t,title:r,theme:o,...i}=e,a=(0,l.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return l.createElement("svg",(0,n.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?l.createElement("title",{id:c},r):null,l.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),l.createElement("path",{d:"M13 19V7.83l4.88 4.88c.39.39 1.03.39 1.42 0a.996.996 0 0 0 0-1.41l-6.59-6.59a.996.996 0 0 0-1.41 0l-6.6 6.58a.996.996 0 1 0 1.41 1.41L11 7.83V19c0 .55.45 1 1 1s1-.45 1-1"}))},a=(0,l.forwardRef)((e,t)=>l.createElement(i,(0,n.Z)({},e,{svgRef:t}))),c=(0,l.memo)((0,o.V)(a));c.displayName="ArrowUpwardIcon"},57547:function(e,t,r){r.d(t,{P:function(){return c}});var n=r(43131),l=r(52983),o=r(18308);let i=e=>{let{svgRef:t,title:r,theme:o,...i}=e,a=(0,l.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return l.createElement("svg",(0,n.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?l.createElement("title",{id:c},r):null,l.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),l.createElement("path",{d:"M19 3h-4.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m1 14H8c-.55 0-1-.45-1-1s.45-1 1-1h5c.55 0 1 .45 1 1s-.45 1-1 1m3-4H8c-.55 0-1-.45-1-1s.45-1 1-1h8c.55 0 1 .45 1 1s-.45 1-1 1m0-4H8c-.55 0-1-.45-1-1s.45-1 1-1h8c.55 0 1 .45 1 1s-.45 1-1 1"}))},a=(0,l.forwardRef)((e,t)=>l.createElement(i,(0,n.Z)({},e,{svgRef:t}))),c=(0,l.memo)((0,o.V)(a));c.displayName="AssignmentIcon"},88459:function(e,t,r){r.d(t,{p:function(){return c}});var n=r(43131),l=r(52983),o=r(18308);let i=e=>{let{svgRef:t,title:r,theme:o,...i}=e,a=(0,l.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return l.createElement("svg",(0,n.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?l.createElement("title",{id:c},r):null,l.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),l.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 17h-2v-2h2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25"}))},a=(0,l.forwardRef)((e,t)=>l.createElement(i,(0,n.Z)({},e,{svgRef:t}))),c=(0,l.memo)((0,o.V)(a));c.displayName="BaselineHelpIcon"},26776:function(e,t,r){r.d(t,{w:function(){return c}});var n=r(43131),l=r(52983),o=r(18308);let i=e=>{let{svgRef:t,title:r,theme:o,...i}=e,a=(0,l.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return l.createElement("svg",(0,n.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?l.createElement("title",{id:c},r):null,l.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),l.createElement("path",{d:"M14.71 6.71a.996.996 0 0 0-1.41 0L8.71 11.3a.996.996 0 0 0 0 1.41l4.59 4.59a.996.996 0 1 0 1.41-1.41L10.83 12l3.88-3.88c.39-.39.38-1.03 0-1.41"}))},a=(0,l.forwardRef)((e,t)=>l.createElement(i,(0,n.Z)({},e,{svgRef:t}))),c=(0,l.memo)((0,o.V)(a));c.displayName="ChevronLeftIcon"},30765:function(e,t,r){r.d(t,{X:function(){return c}});var n=r(43131),l=r(52983),o=r(18308);let i=e=>{let{svgRef:t,title:r,theme:o,...i}=e,a=(0,l.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return l.createElement("svg",(0,n.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?l.createElement("title",{id:c},r):null,l.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),l.createElement("path",{d:"M9.29 6.71a.996.996 0 0 0 0 1.41L13.17 12l-3.88 3.88a.996.996 0 1 0 1.41 1.41l4.59-4.59a.996.996 0 0 0 0-1.41L10.7 6.7c-.38-.38-1.02-.38-1.41.01"}))},a=(0,l.forwardRef)((e,t)=>l.createElement(i,(0,n.Z)({},e,{svgRef:t}))),c=(0,l.memo)((0,o.V)(a));c.displayName="ChevronRightIcon"},54188:function(e,t,r){r.d(t,{Y:function(){return c}});var n=r(43131),l=r(52983),o=r(18308);let i=e=>{let{svgRef:t,title:r,theme:o,...i}=e,a=(0,l.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return l.createElement("svg",(0,n.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?l.createElement("title",{id:c},r):null,l.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),l.createElement("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2m-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}))},a=(0,l.forwardRef)((e,t)=>l.createElement(i,(0,n.Z)({},e,{svgRef:t}))),c=(0,l.memo)((0,o.V)(a));c.displayName="DragIndicatorIcon"},88926:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(43131),l=r(52983),o=r(18308);let i=e=>{let{svgRef:t,title:r,theme:o,...i}=e,a=(0,l.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return l.createElement("svg",(0,n.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?l.createElement("title",{id:c},r):null,l.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),l.createElement("path",{d:"M11.29 8.71 6.7 13.3a.996.996 0 1 0 1.41 1.41L12 10.83l3.88 3.88a.996.996 0 1 0 1.41-1.41L12.7 8.71a.996.996 0 0 0-1.41 0"}))},a=(0,l.forwardRef)((e,t)=>l.createElement(i,(0,n.Z)({},e,{svgRef:t}))),c=(0,l.memo)((0,o.V)(a));c.displayName="ExpandLessIcon"},76249:function(e,t,r){r.d(t,{h:function(){return c}});var n=r(43131),l=r(52983),o=r(18308);let i=e=>{let{svgRef:t,title:r,theme:o,...i}=e,a=(0,l.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return l.createElement("svg",(0,n.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?l.createElement("title",{id:c},r):null,l.createElement("path",{d:"M24 24H0V0h24z",fill:"none",opacity:.87}),l.createElement("path",{d:"M15.88 9.29 12 13.17 8.12 9.29a.996.996 0 1 0-1.41 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59a.996.996 0 0 0 0-1.41c-.39-.38-1.03-.39-1.42 0"}))},a=(0,l.forwardRef)((e,t)=>l.createElement(i,(0,n.Z)({},e,{svgRef:t}))),c=(0,l.memo)((0,o.V)(a));c.displayName="ExpandMoreIcon"},54799:function(e,t,r){r.d(t,{R:function(){return c}});var n=r(43131),l=r(52983),o=r(18308);let i=e=>{let{svgRef:t,title:r,theme:o,...i}=e,a=(0,l.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return l.createElement("svg",(0,n.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?l.createElement("title",{id:c},r):null,l.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),l.createElement("path",{d:"M10.59 4.59C10.21 4.21 9.7 4 9.17 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8z"}))},a=(0,l.forwardRef)((e,t)=>l.createElement(i,(0,n.Z)({},e,{svgRef:t}))),c=(0,l.memo)((0,o.V)(a));c.displayName="FolderIcon"},9197:function(e,t,r){r.d(t,{u:function(){return c}});var n=r(43131),l=r(52983),o=r(18308);let i=e=>{let{svgRef:t,title:r,theme:o,...i}=e,a=(0,l.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return l.createElement("svg",(0,n.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?l.createElement("title",{id:c},r):null,l.createElement("path",{d:"M24 0H0v24h24z",fill:"none"}),l.createElement("path",{d:"M6.34 7.93c-3.12 3.12-3.12 8.19 0 11.31C7.9 20.8 9.95 21.58 12 21.58s4.1-.78 5.66-2.34c3.12-3.12 3.12-8.19 0-11.31l-4.95-4.95a.996.996 0 0 0-1.41 0zM12 19.59c-1.6 0-3.11-.62-4.24-1.76C6.62 16.69 6 15.19 6 13.59s.62-3.11 1.76-4.24L12 5.1z"}))},a=(0,l.forwardRef)((e,t)=>l.createElement(i,(0,n.Z)({},e,{svgRef:t}))),c=(0,l.memo)((0,o.V)(a));c.displayName="InvertColorsIcon"},22897:function(e,t,r){r.d(t,{m:function(){return c}});var n=r(43131),l=r(52983),o=r(18308);let i=e=>{let{svgRef:t,title:r,theme:o,...i}=e,a=(0,l.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return l.createElement("svg",(0,n.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?l.createElement("title",{id:c},r):null,l.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),l.createElement("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}))},a=(0,l.forwardRef)((e,t)=>l.createElement(i,(0,n.Z)({},e,{svgRef:t}))),c=(0,l.memo)((0,o.V)(a));c.displayName="MoreHorizIcon"},62442:function(e,t,r){r.d(t,{v:function(){return c}});var n=r(43131),l=r(52983),o=r(18308);let i=e=>{let{svgRef:t,title:r,theme:o,...i}=e,a=(0,l.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return l.createElement("svg",(0,n.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?l.createElement("title",{id:c},r):null,l.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),l.createElement("path",{d:"M13.25 3a9.003 9.003 0 0 0-9.26 9H2.2c-.45 0-.67.54-.35.85l2.79 2.8c.2.2.51.2.71 0l2.79-2.8c.32-.31.09-.85-.35-.85h-1.8c0-3.9 3.18-7.05 7.1-7 3.72.05 6.85 3.18 6.9 6.9.05 3.91-3.1 7.1-7 7.1-1.61 0-3.1-.55-4.28-1.48a.994.994 0 0 0-1.32.08c-.42.43-.39 1.13.08 1.5a8.93 8.93 0 0 0 5.52 1.9c5.05 0 9.14-4.17 9-9.26-.13-4.69-4.05-8.61-8.74-8.74m-.51 5c-.41 0-.75.34-.75.75v3.68c0 .35.19.68.49.86l3.12 1.85c.36.21.82.09 1.03-.26.21-.36.09-.82-.26-1.03l-2.88-1.71v-3.4c0-.4-.33-.74-.75-.74"}))},a=(0,l.forwardRef)((e,t)=>l.createElement(i,(0,n.Z)({},e,{svgRef:t}))),c=(0,l.memo)((0,o.V)(a));c.displayName="RestoreIcon"},48286:function(e,t,r){r.d(t,{W:function(){return c}});var n=r(43131),l=r(52983),o=r(18308);let i=e=>{let{svgRef:t,title:r,theme:o,...i}=e,a=(0,l.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return l.createElement("svg",(0,n.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?l.createElement("title",{id:c},r):null,l.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),l.createElement("path",{d:"M15.5 14h-.79l-.28-.27a6.5 6.5 0 0 0 1.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 0 0-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 0 0 5.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0s.41-1.08 0-1.49zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}))},a=(0,l.forwardRef)((e,t)=>l.createElement(i,(0,n.Z)({},e,{svgRef:t}))),c=(0,l.memo)((0,o.V)(a));c.displayName="SearchIcon"},66337:function(e,t,r){r.r(t),r.d(t,{AddCircleOutlineIcon:function(){return n.O},AddIcon:function(){return s},ArrowBackIcon:function(){return m},ArrowDownwardIcon:function(){return h.Y},ArrowDropDownIcon:function(){return f.c},ArrowForwardIcon:function(){return v},ArrowUpwardIcon:function(){return x._},AssignmentIcon:function(){return b.P},BaselineHelpIcon:function(){return y.p},BrushIcon:function(){return I},CheckCircleIcon:function(){return k.r},CheckIcon:function(){return E.n},ChevronLeftIcon:function(){return j.w},ChevronRightIcon:function(){return S.X},CloseIcon:function(){return M.T},CloudUploadIcon:function(){return z},CodeIcon:function(){return L},ContentCopyIcon:function(){return D},DeleteIcon:function(){return N.p},DraftIcon:function(){return A.P},DragIndicatorIcon:function(){return W.Y},EditIcon:function(){return _},ErrorIcon:function(){return O.P},ExpandLessIcon:function(){return K.Z},ExpandMoreIcon:function(){return G.h},FileCopyIcon:function(){return X},FileDownloadIcon:function(){return Q.q},FilterListIcon:function(){return J},FolderIcon:function(){return ee.R},GetAppIcon:function(){return en},HomeIcon:function(){return ei},InfoIcon:function(){return ea.s},InsertDriveFileIcon:function(){return ed},InvertColorsIcon:function(){return eu.u},KeyboardDoubleArrowLeftIcon:function(){return ef},LanguageIcon:function(){return ev},LogoutIcon:function(){return ey},MenuIcon:function(){return ew.O},MoreHorizIcon:function(){return eC.m},NotificationsIcon:function(){return eE},OpenInNewIcon:function(){return ej.r},PublicIcon:function(){return eP},ReceiptIcon:function(){return eZ},RedoIcon:function(){return eV},RemoveCircleOutlineIcon:function(){return eB.$},RemoveIcon:function(){return eD.H},RestoreIcon:function(){return eN.v},SearchIcon:function(){return eA.W},SettingsIcon:function(){return eF},StarBorderIcon:function(){return eK},StarHalfIcon:function(){return eY},StarIcon:function(){return eq},StoreIcon:function(){return e0},SwapHorizIcon:function(){return e4},UndoIcon:function(){return e3},VisibilityIcon:function(){return e6},VisibilityOffIcon:function(){return tr},WarningIcon:function(){return tn.a},WindowExpandIcon:function(){return ti},WindowMinimizeIcon:function(){return ts},createStyledIcon:function(){return i.V}});var n=r(49962),l=r(43131),o=r(52983),i=r(18308);let a=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M18 13h-5v5c0 .55-.45 1-1 1s-1-.45-1-1v-5H6c-.55 0-1-.45-1-1s.45-1 1-1h5V6c0-.55.45-1 1-1s1 .45 1 1v5h5c.55 0 1 .45 1 1s-.45 1-1 1"}))},c=(0,o.forwardRef)((e,t)=>o.createElement(a,(0,l.Z)({},e,{svgRef:t}))),s=(0,o.memo)((0,i.V)(c));s.displayName="AddIcon";let d=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M19 11H7.83l4.88-4.88c.39-.39.39-1.03 0-1.42a.996.996 0 0 0-1.41 0l-6.59 6.59a.996.996 0 0 0 0 1.41l6.59 6.59a.996.996 0 1 0 1.41-1.41L7.83 13H19c.55 0 1-.45 1-1s-.45-1-1-1"}))},u=(0,o.forwardRef)((e,t)=>o.createElement(d,(0,l.Z)({},e,{svgRef:t}))),m=(0,o.memo)((0,i.V)(u));m.displayName="ArrowBackIcon";var h=r(50110),f=r(4776);let p=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M5 13h11.17l-4.88 4.88c-.39.39-.39 1.03 0 1.42s1.02.39 1.41 0l6.59-6.59a.996.996 0 0 0 0-1.41l-6.58-6.6a.996.996 0 1 0-1.41 1.41L16.17 11H5c-.55 0-1 .45-1 1s.45 1 1 1"}))},g=(0,o.forwardRef)((e,t)=>o.createElement(p,(0,l.Z)({},e,{svgRef:t}))),v=(0,o.memo)((0,i.V)(g));v.displayName="ArrowForwardIcon";var x=r(86846),b=r(57547),y=r(88459);let w=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M7 14c-1.66 0-3 1.34-3 3 0 1.31-1.16 2-2 2 .92 1.22 2.49 2 4 2 2.21 0 4-1.79 4-4 0-1.66-1.34-3-3-3m13.71-9.37-1.34-1.34a.996.996 0 0 0-1.41 0L9 12.25 11.75 15l8.96-8.96a.996.996 0 0 0 0-1.41"}))},C=(0,o.forwardRef)((e,t)=>o.createElement(w,(0,l.Z)({},e,{svgRef:t}))),I=(0,o.memo)((0,i.V)(C));I.displayName="BrushIcon";var k=r(31962),E=r(1401),j=r(26776),S=r(30765),M=r(48592);let P=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M19.35 10.04A7.49 7.49 0 0 0 12 4C9.11 4 6.6 5.64 5.35 8.04A5.994 5.994 0 0 0 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M14 13v4h-4v-4H7l4.65-4.65c.2-.2.51-.2.71 0L17 13z"}))},R=(0,o.forwardRef)((e,t)=>o.createElement(P,(0,l.Z)({},e,{svgRef:t}))),z=(0,o.memo)((0,i.V)(R));z.displayName="CloudUploadIcon";let Z=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M8.7 15.9 4.8 12l3.9-3.9a.984.984 0 0 0 0-1.4.984.984 0 0 0-1.4 0l-4.59 4.59a.996.996 0 0 0 0 1.41l4.59 4.6c.39.39 1.01.39 1.4 0a.984.984 0 0 0 0-1.4m6.6 0 3.9-3.9-3.9-3.9a.984.984 0 0 1 0-1.4.984.984 0 0 1 1.4 0l4.59 4.59c.39.39.39 1.02 0 1.41l-4.59 4.6a.984.984 0 0 1-1.4 0 .984.984 0 0 1 0-1.4"}))},H=(0,o.forwardRef)((e,t)=>o.createElement(Z,(0,l.Z)({},e,{svgRef:t}))),L=(0,o.memo)((0,i.V)(H));L.displayName="CodeIcon";let V=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M15 20H5V7c0-.55-.45-1-1-1s-1 .45-1 1v13c0 1.1.9 2 2 2h10c.55 0 1-.45 1-1s-.45-1-1-1m5-4V4c0-1.1-.9-2-2-2H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h9c1.1 0 2-.9 2-2m-2 0H9V4h9z"}))},B=(0,o.forwardRef)((e,t)=>o.createElement(V,(0,l.Z)({},e,{svgRef:t}))),D=(0,o.memo)((0,i.V)(B));D.displayName="ContentCopyIcon";var N=r(67013),A=r(76),W=r(54188);let T=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M3 17.46v3.04c0 .28.22.5.5.5h3.04c.13 0 .26-.05.35-.15L17.81 9.94l-3.75-3.75L3.15 17.1q-.15.15-.15.36M20.71 7.04a.996.996 0 0 0 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}))},F=(0,o.forwardRef)((e,t)=>o.createElement(T,(0,l.Z)({},e,{svgRef:t}))),_=(0,o.memo)((0,i.V)(F));_.displayName="EditIcon";var O=r(62831),K=r(88926),G=r(76249);let U=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M15 1H4c-1.1 0-2 .9-2 2v13c0 .55.45 1 1 1s1-.45 1-1V4c0-.55.45-1 1-1h10c.55 0 1-.45 1-1s-.45-1-1-1m.59 4.59 4.83 4.83c.37.37.58.88.58 1.41V21c0 1.1-.9 2-2 2H7.99C6.89 23 6 22.1 6 21l.01-14c0-1.1.89-2 1.99-2h6.17c.53 0 1.04.21 1.42.59M15 12h4.5L14 6.5V11c0 .55.45 1 1 1"}))},Y=(0,o.forwardRef)((e,t)=>o.createElement(U,(0,l.Z)({},e,{svgRef:t}))),X=(0,o.memo)((0,i.V)(Y));X.displayName="FileCopyIcon";var Q=r(76795);let q=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M11 18h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1M3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1m4 6h10c.55 0 1-.45 1-1s-.45-1-1-1H7c-.55 0-1 .45-1 1s.45 1 1 1"}))},$=(0,o.forwardRef)((e,t)=>o.createElement(q,(0,l.Z)({},e,{svgRef:t}))),J=(0,o.memo)((0,i.V)($));J.displayName="FilterListIcon";var ee=r(54799);let et=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M16.59 9H15V4c0-.55-.45-1-1-1h-4c-.55 0-1 .45-1 1v5H7.41c-.89 0-1.34 1.08-.71 1.71l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.63-.63.19-1.71-.7-1.71M5 19c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1 .45-1 1"}))},er=(0,o.forwardRef)((e,t)=>o.createElement(et,(0,l.Z)({},e,{svgRef:t}))),en=(0,o.memo)((0,i.V)(er));en.displayName="GetAppIcon";let el=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1"}))},eo=(0,o.forwardRef)((e,t)=>o.createElement(el,(0,l.Z)({},e,{svgRef:t}))),ei=(0,o.memo)((0,i.V)(eo));ei.displayName="HomeIcon";var ea=r(78792);let ec=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8.83c0-.53-.21-1.04-.59-1.41l-4.83-4.83c-.37-.38-.88-.59-1.41-.59zm7 6V3.5L18.5 9H14c-.55 0-1-.45-1-1"}))},es=(0,o.forwardRef)((e,t)=>o.createElement(ec,(0,l.Z)({},e,{svgRef:t}))),ed=(0,o.memo)((0,i.V)(es));ed.displayName="InsertDriveFileIcon";var eu=r(9197);let em=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("g",{fill:"none"},o.createElement("path",{d:"M0 0h24v24H0z"}),o.createElement("path",{d:"M0 0h24v24H0z"})),o.createElement("path",{d:"M18.29 17.29a.996.996 0 0 0 0-1.41L14.42 12l3.88-3.88a.996.996 0 1 0-1.41-1.41L12.3 11.3a.996.996 0 0 0 0 1.41l4.59 4.59c.38.38 1.01.38 1.4-.01"}),o.createElement("path",{d:"M11.7 17.29a.996.996 0 0 0 0-1.41L7.83 12l3.88-3.88a.996.996 0 1 0-1.41-1.41L5.71 11.3a.996.996 0 0 0 0 1.41l4.59 4.59c.38.38 1.01.38 1.4-.01"}))},eh=(0,o.forwardRef)((e,t)=>o.createElement(em,(0,l.Z)({},e,{svgRef:t}))),ef=(0,o.memo)((0,i.V)(eh));ef.displayName="KeyboardDoubleArrowLeftIcon";let ep=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2m6.93 6h-2.95a15.7 15.7 0 0 0-1.38-3.56A8.03 8.03 0 0 1 18.92 8M12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96M4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2s.06 1.34.14 2zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56A8 8 0 0 1 5.08 16m2.95-8H5.08a8 8 0 0 1 4.33-3.56A15.7 15.7 0 0 0 8.03 8M12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96M14.34 14H9.66c-.09-.66-.16-1.32-.16-2s.07-1.35.16-2h4.68c.09.65.16 1.32.16 2s-.07 1.34-.16 2m.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95a8.03 8.03 0 0 1-4.33 3.56M16.36 14c.08-.66.14-1.32.14-2s-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2z"}))},eg=(0,o.forwardRef)((e,t)=>o.createElement(ep,(0,l.Z)({},e,{svgRef:t}))),ev=(0,o.memo)((0,i.V)(eg));ev.displayName="LanguageIcon";let ex=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M5 5h6c.55 0 1-.45 1-1s-.45-1-1-1H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h6c.55 0 1-.45 1-1s-.45-1-1-1H5z"}),o.createElement("path",{d:"m20.65 11.65-2.79-2.79a.501.501 0 0 0-.86.35V11h-7c-.55 0-1 .45-1 1s.45 1 1 1h7v1.79c0 .45.54.67.85.35l2.79-2.79c.2-.19.2-.51.01-.7"}))},eb=(0,o.forwardRef)((e,t)=>o.createElement(ex,(0,l.Z)({},e,{svgRef:t}))),ey=(0,o.memo)((0,i.V)(eb));ey.displayName="LogoutIcon";var ew=r(21080),eC=r(22897);let eI=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M12 22c1.1 0 2-.9 2-2h-4a2 2 0 0 0 2 2m6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-1.29 1.29c-.63.63-.19 1.71.7 1.71h13.17c.89 0 1.34-1.08.71-1.71z"}))},ek=(0,o.forwardRef)((e,t)=>o.createElement(eI,(0,l.Z)({},e,{svgRef:t}))),eE=(0,o.memo)((0,i.V)(ek));eE.displayName="NotificationsIcon";var ej=r(96201);let eS=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39"}))},eM=(0,o.forwardRef)((e,t)=>o.createElement(eS,(0,l.Z)({},e,{svgRef:t}))),eP=(0,o.memo)((0,i.V)(eM));eP.displayName="PublicIcon";let eR=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M21 2.21a.47.47 0 0 0-.35.15l-.79.79c-.2.2-.51.2-.71 0l-.79-.79c-.2-.2-.51-.2-.71 0l-.79.79c-.2.2-.51.2-.71 0l-.79-.79c-.2-.2-.51-.2-.71 0l-.79.79c-.2.2-.51.2-.71 0l-.79-.79c-.2-.2-.51-.2-.71 0l-.79.79c-.2.2-.51.2-.71 0l-.8-.8c-.2-.2-.51-.2-.71 0l-.79.8c-.2.2-.51.2-.71 0l-.79-.8c-.2-.2-.51-.2-.71 0l-.79.8c-.2.2-.51.2-.71 0l-.79-.8A.5.5 0 0 0 3 2.21V21.8c.13 0 .26-.05.35-.15l.79-.79c.2-.2.51-.2.71 0l.79.79c.2.2.51.2.71 0l.79-.79c.2-.2.51-.2.71 0l.79.79c.2.2.51.2.71 0l.79-.79c.2-.2.51-.2.71 0l.79.79c.2.2.51.2.71 0l.79-.79c.2-.2.51-.2.71 0l.79.79c.2.2.51.2.71 0l.79-.79c.2-.2.51-.2.71 0l.79.79c.2.2.51.2.71 0l.79-.79c.2-.2.51-.2.71 0l.79.79c.1.1.23.15.35.15V2.21zM17 17H7c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1m0-4H7c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1m0-4H7c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1"}))},ez=(0,o.forwardRef)((e,t)=>o.createElement(eR,(0,l.Z)({},e,{svgRef:t}))),eZ=(0,o.memo)((0,i.V)(ez));eZ.displayName="ReceiptIcon";let eH=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M18.4 10.6C16.55 8.99 14.15 8 11.5 8c-4.16 0-7.74 2.42-9.44 5.93-.32.67.04 1.47.75 1.71.59.2 1.23-.08 1.5-.64 1.3-2.66 4.03-4.5 7.19-4.5 1.95 0 3.73.72 5.12 1.88l-1.91 1.91c-.63.63-.19 1.71.7 1.71H21c.55 0 1-.45 1-1V9.41c0-.89-1.08-1.34-1.71-.71z"}))},eL=(0,o.forwardRef)((e,t)=>o.createElement(eH,(0,l.Z)({},e,{svgRef:t}))),eV=(0,o.memo)((0,i.V)(eL));eV.displayName="RedoIcon";var eB=r(87728),eD=r(23229),eN=r(62442),eA=r(48286);let eW=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.3-.61-.22l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65A.49.49 0 0 0 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.23.09.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64zM12 15.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5"}))},eT=(0,o.forwardRef)((e,t)=>o.createElement(eW,(0,l.Z)({},e,{svgRef:t}))),eF=(0,o.memo)((0,i.V)(eT));eF.displayName="SettingsIcon";let e_=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"m19.65 9.04-4.84-.42-1.89-4.45c-.34-.81-1.5-.81-1.84 0L9.19 8.63l-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08l4.15-2.5 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.73 3.67-3.18c.67-.58.32-1.68-.56-1.75M12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"}))},eO=(0,o.forwardRef)((e,t)=>o.createElement(e_,(0,l.Z)({},e,{svgRef:t}))),eK=(0,o.memo)((0,i.V)(eO));eK.displayName="StarBorderIcon";let eG=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"m19.65 9.04-4.84-.42-1.89-4.45c-.34-.81-1.5-.81-1.84 0L9.19 8.63l-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08l4.15-2.5 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.73 3.67-3.18c.67-.58.32-1.68-.56-1.75M12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"}))},eU=(0,o.forwardRef)((e,t)=>o.createElement(eG,(0,l.Z)({},e,{svgRef:t}))),eY=(0,o.memo)((0,i.V)(eU));eY.displayName="StarHalfIcon";let eX=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("path",{d:"m12 17.27 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.72 3.67-3.18c.67-.58.31-1.68-.57-1.75l-4.83-.41-1.89-4.46c-.34-.81-1.5-.81-1.84 0L9.19 8.63l-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08z"}))},eQ=(0,o.forwardRef)((e,t)=>o.createElement(eX,(0,l.Z)({},e,{svgRef:t}))),eq=(0,o.memo)((0,i.V)(eQ));eq.displayName="StarIcon";let e$=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M5 6h14c.55 0 1-.45 1-1s-.45-1-1-1H5c-.55 0-1 .45-1 1s.45 1 1 1m15.16 1.8c-.09-.46-.5-.8-.98-.8H4.82c-.48 0-.89.34-.98.8l-1 5c-.12.62.35 1.2.98 1.2H4v5c0 .55.45 1 1 1h8c.55 0 1-.45 1-1v-5h4v5c0 .55.45 1 1 1s1-.45 1-1v-5h.18c.63 0 1.1-.58.98-1.2zM12 18H6v-4h6z"}))},eJ=(0,o.forwardRef)((e,t)=>o.createElement(e$,(0,l.Z)({},e,{svgRef:t}))),e0=(0,o.memo)((0,i.V)(eJ));e0.displayName="StoreIcon";let e1=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"m6.14 11.86-2.78 2.79c-.19.2-.19.51 0 .71l2.78 2.79c.31.32.85.09.85-.35V16H13c.55 0 1-.45 1-1s-.45-1-1-1H6.99v-1.79c0-.45-.54-.67-.85-.35m14.51-3.21-2.78-2.79c-.31-.32-.85-.09-.85.35V8H11c-.55 0-1 .45-1 1s.45 1 1 1h6.01v1.79c0 .45.54.67.85.35l2.78-2.79c.2-.19.2-.51.01-.7"}))},e2=(0,o.forwardRef)((e,t)=>o.createElement(e1,(0,l.Z)({},e,{svgRef:t}))),e4=(0,o.memo)((0,i.V)(e2));e4.displayName="SwapHorizIcon";let e5=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M12.5 8c-2.65 0-5.05.99-6.9 2.6L3.71 8.71C3.08 8.08 2 8.52 2 9.41V15c0 .55.45 1 1 1h5.59c.89 0 1.34-1.08.71-1.71l-1.91-1.91c1.39-1.16 3.16-1.88 5.12-1.88 3.16 0 5.89 1.84 7.19 4.5.27.56.91.84 1.5.64.71-.23 1.07-1.04.75-1.72C20.23 10.42 16.65 8 12.5 8"}))},e9=(0,o.forwardRef)((e,t)=>o.createElement(e5,(0,l.Z)({},e,{svgRef:t}))),e3=(0,o.memo)((0,i.V)(e9));e3.displayName="UndoIcon";let e8=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M12 4C7 4 2.73 7.11 1 11.5 2.73 15.89 7 19 12 19s9.27-3.11 11-7.5C21.27 7.11 17 4 12 4m0 12.5c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}))},e7=(0,o.forwardRef)((e,t)=>o.createElement(e8,(0,l.Z)({},e,{svgRef:t}))),e6=(0,o.memo)((0,i.V)(e7));e6.displayName="VisibilityIcon";let te=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("path",{d:"M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M12 6.5c2.76 0 5 2.24 5 5 0 .51-.1 1-.24 1.46l3.06 3.06c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l2.17 2.17c.47-.14.96-.24 1.47-.24M2.71 3.16a.996.996 0 0 0 0 1.41l1.97 1.97A11.9 11.9 0 0 0 1 11.5C2.73 15.89 7 19 12 19c1.52 0 2.97-.3 4.31-.82l2.72 2.72a.996.996 0 1 0 1.41-1.41L4.13 3.16c-.39-.39-1.03-.39-1.42 0M12 16.5c-2.76 0-5-2.24-5-5 0-.77.18-1.5.49-2.14l1.57 1.57c-.03.18-.06.37-.06.57 0 1.66 1.34 3 3 3 .2 0 .38-.03.57-.07L14.14 16c-.65.32-1.37.5-2.14.5m2.97-5.33a2.97 2.97 0 0 0-2.64-2.64z"}))},tt=(0,o.forwardRef)((e,t)=>o.createElement(te,(0,l.Z)({},e,{svgRef:t}))),tr=(0,o.memo)((0,i.V)(tt));tr.displayName="VisibilityOffIcon";var tn=r(58984);let tl=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M6 19a1 1 0 0 1-1-1v-4a1 1 0 1 1 2 0v3h3a1 1 0 1 1 0 2zm12-8a1 1 0 0 1-1-1V7h-3a1 1 0 1 1 0-2h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1"}))},to=(0,o.forwardRef)((e,t)=>o.createElement(tl,(0,l.Z)({},e,{svgRef:t}))),ti=(0,o.memo)((0,i.V)(to));ti.displayName="WindowExpandIcon";let ta=e=>{let{svgRef:t,title:r,theme:n,...i}=e,a=(0,o.useId)(),c=r?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,l.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:t,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),r?o.createElement("title",{id:c},r):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M15 10a1 1 0 0 1-1-1V5a1 1 0 1 1 2 0v3h3a1 1 0 1 1 0 2zM9 20a1 1 0 0 1-1-1v-3H5a1 1 0 1 1 0-2h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1"}))},tc=(0,o.forwardRef)((e,t)=>o.createElement(ta,(0,l.Z)({},e,{svgRef:t}))),ts=(0,o.memo)((0,i.V)(tc));ts.displayName="WindowMinimizeIcon"},63692:function(e,t,r){r.d(t,{E:function(){return i}});var n=r(97458);r(52983);var l=r(57931);let o=l.ZP.code.withConfig({componentId:"sc-1d19ed82-0"})(["color:",";white-space:nowrap;",";",";"],e=>{let{theme:t}=e;return t.colors.secondary70},e=>{let{highlight:t,primary:r,theme:n}=e;return t&&!r&&(0,l.iv)(["background-color:",";padding:",";"],n.colors.warning20,n.spacing.xxSmall)},e=>{let{primary:t,theme:r}=e;return t&&(0,l.iv)(["color:",";"],r.colors.primary70)}),i=e=>(0,n.jsx)(o,{...e});i.defaultProps={highlight:!0}},55242:function(e,t,r){r.d(t,{G:function(){return rP}});var n={};r.r(n),r.d(n,{AccordionPanel:function(){return y},Alert:function(){return C.b},AlertsManager:function(){return rm.d},Badge:function(){return I.C},Box:function(){return h.x},Button:function(){return k.z},ButtonGroup:function(){return H},Checkbox:function(){return Y.X},CheckboxLabel:function(){return X.k},Chip:function(){return Q.A},Collapse:function(){return $},Counter:function(){return U},Datepicker:function(){return eu},Dropdown:function(){return S.L},Fieldset:function(){return eg},FieldsetDescription:function(){return em},FieldsetLegend:function(){return ef},FileUploader:function(){return ru},Flex:function(){return x.k},FlexItem:function(){return M.B},Form:function(){return ev.l},FormControlDescription:function(){return A.K},FormControlError:function(){return ex.e},FormControlLabel:function(){return N.D},FormGroup:function(){return eb.c},GlobalStyles:function(){return ey.n},Grid:function(){return ew.r},GridItem:function(){return eC.P},H0:function(){return ea.H0},H1:function(){return ea.H1},H2:function(){return ea.H2},H3:function(){return ea.H3},H4:function(){return ea.H4},HR:function(){return ea.HR},InlineMessage:function(){return eI.g},Input:function(){return el.I},Link:function(){return ek.r},Message:function(){return eE.v},Modal:function(){return eB},MultiSelect:function(){return eN.N},Pagination:function(){return eA.t},Panel:function(){return a.s},PillTabs:function(){return eW.N},Popover:function(){return e_},ProgressBar:function(){return eU},ProgressCircle:function(){return eY._},Radio:function(){return eX.Y},RadioLabel:function(){return eQ.j},Search:function(){return eq.o},Select:function(){return e1},Small:function(){return ea.x4},StatefulTable:function(){return e2.W},StatefulTree:function(){return e4.Q},Stepper:function(){return tt},Switch:function(){return to},Table:function(){return ti.i},TableFigure:function(){return ti.r},Tabs:function(){return ts},Text:function(){return ea.xv},Textarea:function(){return tm},Timepicker:function(){return tf},Toggle:function(){return tv},Tooltip:function(){return tp.u},Worksheet:function(){return rt},createAlertsManager:function(){return rh.W},excludeMarginProps:function(){return eF.m},excludePaddingProps:function(){return rp.Z},useAccordionPanel:function(){return w},withDisplay:function(){return rf.Y},withMargins:function(){return eF.U},withPaddings:function(){return rp.i}});var l=r(97458),o=r(74971),i=r(52983),a=r(81237),c=r(76249),s=r(43562),d=r(24085),u=r(57931),m=r(64172),h=r(31321),f=r(85793);let p=(0,u.ZP)(f.Q).withConfig({componentId:"sc-5dbb0195-0"})(["border-top:",";border-radius:0;padding:",";text-align:left;width:100%;span{width:100%;color:",";grid-template-columns:",";}"," &:focus{z-index:",";}.collapse-icon{"," ","}"],e=>{let{theme:t}=e;return t.border.box},e=>{let{theme:t}=e;return t.spacing.xLarge},e=>{let{theme:t}=e;return t.colors.secondary70},e=>{let{iconLeft:t,theme:r}=e;return t?"".concat(r.spacing.xLarge," 1fr ").concat(r.spacing.medium):"1fr ".concat(r.spacing.medium)},e=>{let{isExpanded:t}=e;return t&&(0,u.iv)(["border-bottom:",";"],e=>{let{theme:t}=e;return t.border.box})},e=>{let{theme:t}=e;return t.zIndex.fixed},(0,m.Y)(["transform"]),e=>{let{isExpanded:t}=e;return t&&(0,u.iv)(["transform:rotate(-180deg);"])}),g=(0,u.ZP)(h.x).withConfig({componentId:"sc-5dbb0195-1"})(["padding:","};padding-left:",";"],e=>{let{theme:t}=e;return t.spacing.xLarge},e=>{let{iconLeft:t,theme:r}=e;return t?(0,s.vR)(60):"".concat(r.spacing.xLarge)});p.defaultProps={theme:d.rS},g.defaultProps={theme:d.rS};let v=(0,i.memo)(e=>{let{children:t,header:r,iconLeft:n,isExpanded:o,onClick:a}=e,s=(0,i.useId)(),d=(0,i.useId)();return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(p,{"aria-controls":d,"aria-expanded":o,iconLeft:n,iconRight:(0,l.jsx)(c.h,{className:"collapse-icon",color:"secondary70"}),id:s,isExpanded:o,onClick:a,type:"button",variant:"subtle",children:r}),(0,l.jsx)(g,{"aria-labelledby":s,display:o?"block":"none",hidden:!o,iconLeft:n,id:d,role:"region",children:t})]})});var x=r(39270);let b=(0,u.ZP)(x.k).withConfig({componentId:"sc-77f63d66-0"})(["flex-direction:column;margin-bottom:-",";margin-left:-",";margin-right:-",";","{margin-bottom:-",";margin-left:-",";margin-right:-",";}"],e=>{let{theme:t}=e;return t.spacing.medium},e=>{let{theme:t}=e;return t.spacing.medium},e=>{let{theme:t}=e;return t.spacing.medium},e=>{let{theme:t}=e;return t.breakpoints.tablet},e=>{let{theme:t}=e;return t.spacing.xLarge},e=>{let{theme:t}=e;return t.spacing.xLarge},e=>{let{theme:t}=e;return t.spacing.xLarge});b.defaultProps={theme:d.rS};let y=(0,i.memo)(e=>{let{header:t,panels:r}=e;return(0,l.jsx)(a.s,{header:t,children:(0,l.jsx)(b,{children:r.map((e,t)=>(0,i.createElement)(v,{...e,key:t}))})})}),w=e=>{let[t,r]=(0,i.useState)(()=>e.map(e=>{let{defaultExpanded:t}=e;return null!=t&&t})),n=e=>()=>{r(t.map((t,r)=>r===e?!t:t))};return{panels:t.map((t,r)=>({...e[r],isExpanded:t,onClick:n(r)}))}};var C=r(83006),I=r(60807),k=r(86773),E=r(22897),j=r(35933),S=r(57734),M=r(83273);let P=(0,u.ZP)(f.Q).withConfig({componentId:"sc-280b0cd0-0"})([""," &:focus{z-index:1;}"],e=>{let{borderRadius:t,theme:r}=e;return t?(0,u.iv)(["border-radius:",";"],r.borderRadius.normal):(0,u.iv)(["border-radius:",";"],r.borderRadius.none)}),R=(0,u.ZP)(M.B).withConfig({componentId:"sc-280b0cd0-1"})(["margin-right:-1px;&:last-of-type{margin-right:0;}&:first-of-type ","{border-bottom-left-radius:",";border-top-left-radius:",";}&:nth-last-of-type(-n + 2) ","{border-bottom-right-radius:",";border-top-right-radius:",";}",""],P,e=>{let{theme:t}=e;return t.borderRadius.normal},e=>{let{theme:t}=e;return t.borderRadius.normal},P,e=>{let{theme:t}=e;return t.borderRadius.normal},e=>{let{theme:t}=e;return t.borderRadius.normal},e=>{let{isVisible:t}=e;return!t&&(0,u.iv)(["position:absolute;visibility:hidden;z-index:",";"],e=>{let{theme:t}=e;return-t.zIndex.tooltip})});P.defaultProps={theme:d.rS},R.defaultProps={theme:d.rS};let z={more:"more"},Z=e=>{let{iconOnly:t,iconRight:r,iconLeft:n,...l}=e;return l},H=(0,i.memo)(e=>{let{actions:t,localization:r=z,...n}=e,o=(0,i.createRef)(),a=(0,i.createRef)(),[c,s]=(0,i.useState)(!1),[d,u]=(0,i.useState)([]);(0,i.useEffect)(()=>{u(t.map(e=>({isVisible:!0,action:Z(e),ref:(0,i.createRef)()})))},[t]);let m=(0,i.useCallback)(()=>{var e,t,r,n;let l=null!==(r=null===(e=o.current)||void 0===e?void 0:e.offsetWidth)&&void 0!==r?r:0,i=null!==(n=null===(t=a.current)||void 0===t?void 0:t.offsetWidth)&&void 0!==n?n:0,c=l,s=d.map(e=>{var t;let r=null===(t=e.ref.current)||void 0===t?void 0:t.offsetWidth;return r?"destructive"===e.action.actionType?{...e,isVisible:!1}:c-r>i?(c-=r,{...e,isVisible:!0}):{...e,isVisible:!1}:e}),m=d.filter(e=>{let{isVisible:t}=e;return t}),h=s.filter(e=>{let{isVisible:t}=e;return t});m.length!==h.length&&u(s)},[d,a,o]),h=(0,i.useMemo)(()=>(0,l.jsx)(R,{"data-testid":"buttongroup-dropdown",isVisible:c,ref:a,role:"listitem",children:(0,l.jsx)(S.L,{items:d.filter(e=>{let{isVisible:t}=e;return!t}).map(e=>{let{action:t,ref:r}=e;return{actionType:t.actionType,content:t.text,disabled:t.disabled,onItemClick:()=>{r.current&&r.current.getElementsByTagName("button")[0].click()},hash:t.text.toLowerCase(),icon:t.icon}}),placement:"bottom-end",toggle:(0,l.jsx)(P,{borderRadius:d.every(e=>{let{isVisible:t}=e;return!t}),iconOnly:(0,l.jsx)(E.m,{title:r.more}),type:"button",variant:"secondary"})})}),[d,a,c,r.more]),f=(0,i.useMemo)(()=>[...d].reverse().sort(e=>{let{isVisible:t}=e;return t?-1:1}).map((e,t)=>{let{action:r,isVisible:n,ref:o}=e,{text:i,icon:a,...c}=r;return(0,l.jsx)(R,{"data-testid":"buttongroup-item",isVisible:n,ref:o,role:"listitem",children:(0,l.jsx)(P,{...c,variant:"secondary",children:i})},t)}),[d]);return(0,i.useEffect)(()=>{let e=d.some(e=>{let{isVisible:t}=e;return!t});e!==c&&s(e)},[d,c]),(0,i.useEffect)(()=>{m()},[t,o,m]),(0,j.H)(()=>{m()}),t.length>0?(0,l.jsxs)(x.k,{...n,"data-testid":"buttongroup-wrapper",flexDirection:"row",flexWrap:"nowrap",ref:o,role:"list",children:[f,h]}):null});var L=r(87728),V=r(49962),B=r(87414),D=r(88638),N=r(14916),A=r(12674),W=r(30568),T=r(3792);let F=(0,u.ZP)(f.Q).withConfig({componentId:"sc-2f41231f-0"})(["background-color:inherit;border:none;color:",";width:auto;height:auto;padding:0;&[disabled],&:active,&:hover:not(:active){background-color:inherit;}&[disabled]{color:",";}"],e=>{let{theme:t}=e;return t.colors.secondary60},e=>{let{theme:t}=e;return t.colors.secondary}),_=(0,u.ZP)(T.XM).withConfig({componentId:"sc-2f41231f-1"})(["padding:0 ",";width:",";"],e=>{let{theme:t}=e;return t.spacing.xxSmall},(0,s.vR)(125)),O=(0,u.ZP)(T.Fy).withConfig({componentId:"sc-2f41231f-2"})(["text-align:center;padding:0;overflow:hidden;"]);F.defaultProps={theme:d.rS},O.defaultProps={theme:d.rS},_.defaultProps={theme:d.rS};let K={decreaseCount:"Decrease count",increaseCount:"Increase count",optional:"optional"},G=(0,B.l)(e=>{let{min:t=0,max:r=100,step:n=1,forwardedRef:o,label:a,labelId:c,localization:s=K,description:d,error:u,disabled:m,value:h,onCountChange:f,...p}=e,[g,v]=(0,i.useState)(!1),x=(0,i.useId)(),b=p.id?p.id:x,{errors:y}=(0,W.y)(b,u);(0,i.useEffect)(()=>{Number.isInteger(h)||f(Math.round(h))},[f,h]);let w=()=>{h+n>Number(r)||(h%n==0?f(h+n):f(h+(n-h%n)))},C=()=>{h-na?"string"==typeof a?(0,l.jsx)(N.D,{htmlFor:b,id:c,localization:{optional:s.optional},renderOptional:!p.required,children:a}):(0,i.isValidElement)(a)&&a.type===N.D?(0,i.cloneElement)(a,{id:c,htmlFor:b}):void(0,D.K)("label must be either a string or a FormControlLabel component."):null,[b,a,c,s.optional,p.required]),k=(0,i.useMemo)(()=>d?"string"==typeof d?(0,l.jsx)(A.K,{children:d}):(0,i.isValidElement)(d)&&d.type===A.K?d:void(0,D.K)("description must be either a string or a FormControlDescription component."):null,[d]);return(0,l.jsxs)("div",{children:[I,k,(0,l.jsxs)(_,{disabled:m,error:y,focus:g,children:[(0,l.jsx)(F,{disabled:m||h<=Number(t),iconOnly:(0,l.jsx)(L.$,{title:s.decreaseCount}),onClick:C,type:"button"}),(0,l.jsx)(O,{...p,disabled:m,error:y,id:b,onBlur:e=>{let{onBlur:t}=p;return v(!1),t&&t(e)},onChange:e=>{let n=Number(e.currentTarget.value);!isNaN(n)&&(Number.isInteger(n)||f(Math.round(n)),n>=Number(t)&&n<=Number(r)&&f(n))},onFocus:e=>{let{onFocus:t}=p;return v(!0),t&&t(e)},onKeyDown:e=>{switch(e.key){case"ArrowUp":w();break;case"ArrowDown":C();break;case"Escape":f(0)}},ref:o,value:h}),(0,l.jsx)(F,{disabled:m||h>=Number(r),iconOnly:(0,l.jsx)(V.O,{title:s.increaseCount}),onClick:w,type:"button"})]})]})}),U=(0,B.l)((0,i.forwardRef)((e,t)=>{let{className:r,style:n,...o}=e;return(0,l.jsx)(G,{...o,forwardedRef:t})}));var Y=r(39928),X=r(16701),Q=r(12508);let q=(0,u.ZP)(f.Q).withConfig({componentId:"sc-87931739-0"})(["height:auto;line-height:inherit;margin-left:-",";padding:",";padding-right:",";width:auto;&:active,&:hover:not(:active){background:none;color:",";}span{grid-gap:",";}svg{"," ","}"],e=>{let{theme:t}=e;return t.spacing.xxSmall},e=>{let{theme:t}=e;return t.spacing.xxSmall},e=>{let{theme:t}=e;return t.spacing.none},e=>{let{theme:t}=e;return t.colors.primary70},e=>{let{theme:t}=e;return t.spacing.none},(0,m.Y)(["transform"]),e=>{let{isOpen:t}=e;return t&&(0,u.iv)(["transform:rotate(-180deg);"])});q.defaultProps={theme:d.rS};let $=e=>{let{children:t,title:r,onCollapseChange:n,initiallyOpen:o=!1}=e,[a,s]=(0,i.useState)(o),d=(0,i.useId)(),u=(0,i.useId)();return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(q,{"aria-controls":u,"aria-expanded":a,iconRight:(0,l.jsx)(c.h,{title:r}),id:d,isOpen:a,marginVertical:"small",onClick:()=>{let e=!a;s(e),"function"==typeof n&&n(e)},type:"button",variant:"subtle",children:r}),(0,l.jsx)(h.x,{"aria-labelledby":d,display:a?"block":"none",hidden:!a,id:u,role:"region",children:t})]})};var J=r(51750),ee=r.n(J),et=r(40868);let er=function(){let e=["00:00"];for(let t=1;t<24;t++)e.push("".concat(t,":00"));return e.push("23:59"),e.map(e=>({value:e,content:e}))}(),en=e=>{let t=Intl.DateTimeFormat(e,{weekday:"short"}),r=Intl.DateTimeFormat(e,{month:"long"}),n=[0,1,2,3,4,5,6,7,8,9,10,11].map(e=>r.format(new Date(0,e,1))),l=[0,1,2,3,4,5,6].map(e=>t.format(new Date(0,9,e,12))),o=Intl.DateTimeFormat(e,{hour:"numeric",minute:"numeric"});return{...et._,code:e,localize:{...et._.localize,month:e=>n[e],day:e=>l[e]},monthsLong:n,formatTime:o.format}};var el=r(60847),eo=r(26776),ei=r(30765),ea=r(89983),ec=e=>{let{date:t=new Date,decreaseMonth:r,increaseMonth:n,months:o,prevMonthButtonDisabled:i,nextMonthButtonDisabled:a}=e;return(0,l.jsxs)(x.k,{alignItems:"center",justifyContent:"space-between",children:[(0,l.jsx)(k.z,{disabled:i,iconOnly:(0,l.jsx)(eo.w,{title:"View previous month."}),onClick:r,title:"View previous month.",type:"button",variant:"subtle"}),(0,l.jsx)(ea.xv,{as:"span",bold:!0,marginBottom:"none",children:"".concat(o[t.getMonth()]," ").concat(t.getFullYear())}),(0,l.jsx)(k.z,{disabled:a,iconOnly:(0,l.jsx)(ei.X,{title:"View next month."}),onClick:n,title:"View next month.",type:"button",variant:"subtle"})]})};let es=u.ZP.div.withConfig({componentId:"sc-e0382b7f-0"})(["& .react-datepicker-wrapper{display:inline-block;width:100%;}& .react-datepicker__input-container{display:inline-block;font-family:",";position:relative;width:100%;}& .react-datepicker__aria-live{display:none;}& .react-datepicker__month-container{margin:",";}& .react-datepicker__month{margin-top:",";text-align:center;}& .react-datepicker__header{border-top-left-radius:",";border-top-right-radius:",";position:relative;text-align:center;}& .react-datepicker__current-month{font-weight:",";}& .react-datepicker__day-names,.react-datepicker__week{white-space:nowrap;}& .react-datepicker__day,.react-datepicker__month-text{cursor:pointer;}& .react-datepicker__day-name,.react-datepicker__day{color:",";display:inline-block;line-height:",";margin:",";text-align:center;width:",";}& .react-datepicker__day:hover{background:",";border-radius:",";color:",";outline:none;}& .react-datepicker__day:focus{border-radius:",";color:",";outline:none;}& .react-datepicker__day--keyboard-selected{background:",";border-radius:",";color:",";outline:none;}& .react-datepicker__day:active{background:",";border-radius:",";color:",";outline:none;}& .react-datepicker__day--today::after{background:",";bottom:",";content:'';display:block;height:",";margin-left:",";position:relative;width:",";}& .react-datepicker__day--selected{background:",";border-radius:",";color:",";}& .react-datepicker__day--selected:hover.react-datepicker__day--today::after{bottom:",";}& .react-datepicker__day--selected.react-datepicker__day--today::after{bottom:-",";}& .react-datepicker__day--disabled{color:",";}& .react-datepicker__day--outside-month{opacity:0;visibility:hidden;}& .bc-datepicker{",";background:",";display:flex;font-family:",";font-size:",";position:relative;}& .react-datepicker-popper{z-index:",";}"],e=>{let{theme:t}=e;return t.typography.fontFamily},e=>{let{theme:t}=e;return t.spacing.medium},e=>{let{theme:t}=e;return t.spacing.xSmall},e=>{let{theme:t}=e;return t.spacing.xxSmall},e=>{let{theme:t}=e;return t.spacing.xxSmall},e=>{let{theme:t}=e;return t.typography.fontWeight.semiBold},e=>{let{theme:t}=e;return t.colors.secondary60},e=>{let{theme:t}=e;return t.lineHeight.xLarge},e=>{let{theme:t}=e;return t.spacing.xxSmall},e=>{let{theme:t}=e;return t.lineHeight.xLarge},e=>{let{theme:t}=e;return t.colors.primary10},e=>{let{theme:t}=e;return t.borderRadius.normal},e=>{let{theme:t}=e;return t.colors.secondary70},e=>{let{theme:t}=e;return t.borderRadius.normal},e=>{let{theme:t}=e;return t.colors.secondary70},e=>{let{theme:t}=e;return t.colors.primary10},e=>{let{theme:t}=e;return t.borderRadius.normal},e=>{let{theme:t}=e;return t.colors.secondary70},e=>{let{theme:t}=e;return t.colors.primary20},e=>{let{theme:t}=e;return t.borderRadius.normal},e=>{let{theme:t}=e;return t.colors.secondary70},e=>{let{theme:t}=e;return t.colors.primary},e=>{let{theme:t}=e;return t.helpers.remCalc(1)},e=>{let{theme:t}=e;return t.helpers.remCalc(2)},e=>{let{theme:t}=e;return t.spacing.xxSmall},e=>{let{theme:t}=e;return t.spacing.xLarge},e=>{let{theme:t}=e;return t.colors.primary},e=>{let{theme:t}=e;return t.borderRadius.normal},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.helpers.remCalc(1)},e=>{let{theme:t}=e;return t.spacing.xxSmall},e=>{let{theme:t}=e;return t.colors.secondary},e=>{let{theme:t}=e;return t.shadow.floating},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.typography.fontFamily},e=>{let{theme:t}=e;return t.typography.fontSize.small},e=>{let{theme:t}=e;return t.zIndex.popover});es.defaultProps={theme:d.rS};let ed=e=>{let{dateFormat:t="EE,\xa0dd\xa0MMM,\xa0yyyy",disabled:r,error:n,forwardedRef:o,label:a,locale:c="en-US",localization:s,min:d,max:u,onDateChange:m,required:h,placeholder:f,value:p,...g}=e,[v,x]=(0,i.useState)(),b=en(c);return(0,J.registerLocale)(c,b),(0,i.useEffect)(()=>{"string"==typeof p?x(new Date(p)):x(void 0)},[p]),(0,l.jsx)(es,{children:(0,l.jsx)(ee(),{calendarClassName:"bc-datepicker",className:"calendar-input",customInput:(0,l.jsx)(el.I,{error:n,label:a,localization:s,...g}),dateFormat:t||"EE,\xa0dd\xa0MMM,\xa0yyyy",disabled:r,locale:c,maxDate:u?new Date(u):void 0,minDate:d?new Date(d):void 0,onChange:e=>m(e?e.toISOString():e),placeholderText:f,popperModifiers:[{name:"removeOffset",fn:e=>{let{y:t}=e;return{y:t-10}}}],popperPlacement:"bottom-start",ref:o,renderCustomHeader:e=>{let{date:t,decreaseMonth:r,increaseMonth:n,prevMonthButtonDisabled:o,nextMonthButtonDisabled:i}=e;return(0,l.jsx)(ec,{date:t,decreaseMonth:r,increaseMonth:n,months:b.monthsLong,nextMonthButtonDisabled:i,prevMonthButtonDisabled:o})},required:h,selected:v,showPopperArrow:!1})})},eu=(0,i.memo)((0,i.forwardRef)((e,t)=>(0,l.jsx)(ed,{...e,forwardedRef:t}))),em=(0,i.memo)(e=>{let{className:t,style:r,...n}=e;return(0,l.jsx)(ea.x4,{...n})}),eh=(0,u.ZP)(ea.Xr).attrs({as:"legend"}).withConfig({componentId:"sc-4a06a079-0"})(["&:not(:last-child){margin-bottom:",";}"],e=>{let{theme:t}=e;return t.spacing.xxSmall});eh.defaultProps={theme:d.rS};let ef=(0,i.memo)(e=>{let{className:t,style:r,...n}=e;return(0,l.jsx)(eh,{...n})}),ep=u.ZP.fieldset.withConfig({componentId:"sc-3cddfbfb-0"})(["border:none;margin:0 0 ",";padding:0;&:last-child{margin:0;}"],e=>{let{theme:t}=e;return t.spacing.xLarge});ep.defaultProps={theme:d.rS};let eg=(0,i.memo)(e=>{let{className:t,legend:r,description:n,children:o,style:a,...c}=e,s=(0,i.useMemo)(()=>"string"==typeof r?(0,l.jsx)(ef,{children:r}):(0,i.isValidElement)(r)&&r.type===ef?r:r?void(0,D.K)("legend must be either a string or a FieldsetLegend component."):null,[r]),d=(0,i.useMemo)(()=>"string"==typeof n?(0,l.jsx)(em,{children:n}):(0,i.isValidElement)(n)&&n.type===em?n:n?void(0,D.K)("description must be either a string or a FieldsetDescription component."):null,[n]);return(0,l.jsxs)(ep,{...c,children:[s,d,o]})});var ev=r(32748),ex=r(66879),eb=r(87897),ey=r(79417),ew=r(6717),eC=r(73276),eI=r(64309),ek=r(4857),eE=r(50573),ej=r(48592),eS=r(84804),eM=r(63730),eP=r(91046);let eR=u.ZP.div.attrs({"aria-modal":!0,role:"dialog",tabIndex:-1}).withConfig({componentId:"sc-5badc988-0"})(["align-items:center;display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:",";",""],e=>{let{theme:t}=e;return t.zIndex.modalBackdrop},e=>e.backdrop&&e.variant&&(0,u.iv)(["background:",";"],(0,eP.m4)(e.theme.colors.secondary70,"dialog"===e.variant?.5:.7))),ez=(0,u.ZP)(x.k).withConfig({componentId:"sc-5badc988-1"})(["background:",";box-sizing:border-box;position:fixed;z-index:",";"," ",""],e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.zIndex.modal},e=>{let{theme:t,variant:r}=e;return"dialog"===r&&(0,u.iv)(["",";max-width:",";width:90%;"],t.shadow.floating,t.breakpointValues.tablet)},e=>{let{theme:t,variant:r}=e;return"modal"===r&&(0,u.iv)(["height:100%;width:100%;","{",";height:auto;max-height:90vh;max-width:",";}","{max-height:80vh;}"],t.breakpoints.tablet,t.shadow.floating,t.breakpointValues.tablet,t.breakpoints.desktop)}),eZ=(0,u.ZP)(x.k).withConfig({componentId:"sc-5badc988-2"})(["padding:",";","{padding:",";}"],e=>{let{theme:t}=e;return t.spacing.medium},e=>{let{theme:t}=e;return t.breakpoints.tablet},e=>{let{theme:t}=e;return t.spacing.xLarge}),eH=u.ZP.div.withConfig({componentId:"sc-5badc988-3"})(["padding:",";","{padding:",";}"],e=>{let{theme:t}=e;return t.spacing.medium},e=>{let{theme:t}=e;return t.breakpoints.tablet},e=>{let{theme:t}=e;return t.spacing.xLarge}),eL=u.ZP.div.withConfig({componentId:"sc-5badc988-4"})(["position:absolute;top:",";right:",";","{display:none;}"],e=>{let{theme:t}=e;return t.spacing.xxSmall},e=>{let{theme:t}=e;return t.spacing.xxSmall},e=>{let{theme:t}=e;return t.breakpoints.tablet}),eV=u.ZP.div.withConfig({componentId:"sc-5badc988-5"})(["flex-grow:1;padding:0 ",";overflow-y:auto;","{padding:0 ",";}"],e=>{let{theme:t}=e;return t.spacing.medium},e=>{let{theme:t}=e;return t.breakpoints.tablet},e=>{let{theme:t}=e;return t.spacing.xLarge});eR.defaultProps={theme:d.rS},eZ.defaultProps={theme:d.rS},eV.defaultProps={theme:d.rS},eL.defaultProps={theme:d.rS},ez.defaultProps={theme:d.rS},eH.defaultProps={theme:d.rS};let eB=(0,B.l)(e=>{let[t,r]=(0,i.useState)(null);return(0,i.useEffect)(()=>{let e=document.createElement("div");document.body.appendChild(e),r(e)},[]),(0,i.useEffect)(()=>()=>{t&&document.body.removeChild(t)},[t]),e.isOpen&&t?(0,eM.createPortal)((0,l.jsx)(eD,{...e}),t):null}),eD=e=>{let{actions:t,backdrop:r=!0,children:n,closeOnClickOutside:o=!1,closeOnEscKey:a=!0,header:c,onClose:s=()=>null,variant:d="modal"}=e,u=(0,i.useRef)(""),m=(0,i.useRef)(null),h=(0,i.useId)(),[p,g]=(0,i.useState)(null);(0,i.useEffect)(()=>(u.current=document.body.style.overflowY||"",document.body.style.overflowY="hidden",()=>{document.body.style.overflowY=u.current}),[]),(0,i.useEffect)(()=>(p&&null===m.current&&(m.current=(0,eS.v)(p,{fallbackFocus:p}),m.current.activate()),()=>{var e;null===(e=m.current)||void 0===e||e.deactivate()}),[m,p]);let v=(0,i.useMemo)(()=>"modal"===d&&(0,l.jsx)(eL,{children:(0,l.jsx)(f.C,{iconOnly:(0,l.jsx)(ej.T,{title:"Close"}),onClick:s})}),[s,d]),x=(0,i.useMemo)(()=>c&&"string"==typeof c&&(0,l.jsx)(eH,{id:h,children:(0,l.jsx)(ea.H2,{margin:"none",children:c})}),[c,h]),b=(0,i.useMemo)(()=>Array.isArray(t)&&(0,l.jsx)(eZ,{justifyContent:"flex-end",children:t.map((e,t)=>{let{text:r,onClick:n,...o}=e;return(0,l.jsx)(k.z,{...o,onClick:e=>{var t;null===(t=m.current)||void 0===t||t.deactivate(),"function"==typeof n&&n(e)},children:r},t)})}),[t]);return(0,l.jsx)(eR,{backdrop:r,onClick:e=>{o&&p===e.target&&s()},onKeyDown:e=>{a&&"Escape"===e.key&&s()},ref:g,tabIndex:-1,variant:d,children:(0,l.jsxs)(ez,{"aria-labelledby":h,flexDirection:"column",variant:d,children:[v,x,(0,l.jsx)(eV,{children:n}),b]})})};var eN=r(11505),eA=r(56645),eW=r(67778),eT=r(93041),eF=r(15134);let e_=e=>{let{anchorElement:t,children:r,isOpen:n,role:o="dialog",...a}=e,c=(0,i.useId)(),s=(0,eF.m)(a);return(0,i.useEffect)(()=>{t&&(t.setAttribute("aria-controls",c),t.setAttribute("aria-expanded",String(n)),t.setAttribute("aria-haspopup",o))},[t,n,o,c]),n?(0,l.jsx)(eO,{anchorElement:t,...s,id:c,children:r}):null},eO=e=>{let{anchorElement:t,children:r,closeOnClickOutside:n=!0,closeOnEscKey:o=!0,id:a,label:c,matchAnchorElementWidth:s=!1,skidding:d=0,distance:u=4,onClose:m=()=>null,placement:f="auto",role:p,...g}=e,[v,x]=(0,i.useState)(null),b=(0,i.useRef)("undefined"!=typeof document?document.activeElement:null),y=(0,i.useMemo)(()=>[{name:"offset",options:{offset:[d,u]}},{name:"sameWidth",enabled:s,phase:"beforeWrite",requires:["computeStyles"],fn(e){let{state:t}=e;t.styles.popper.width="".concat(t.rects.reference.width,"px")},effect(e){let{state:t}=e,r=t.elements.reference;r instanceof HTMLElement&&(t.elements.popper.style.width="".concat(r.offsetWidth,"px"))}}],[d,u,s]),{styles:w,attributes:C}=(0,eT.D)(t,v,{modifiers:y,placement:f});return(0,i.useEffect)(()=>{let e=b.current;return()=>{e instanceof HTMLElement&&e.focus()}},[]),(0,i.useEffect)(()=>{if("undefined"==typeof document||!n)return;let e=e=>{!(e.target instanceof Element)||(null==v?void 0:v.contains(e.target))||(null==t?void 0:t.contains(e.target))||m()};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}},[t,n,m,v]),(0,i.useEffect)(()=>{if("undefined"==typeof document||!o)return;let e=e=>{"Escape"===e.key&&m()};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[o,m]),(0,l.jsx)(h.x,{"aria-label":c,backgroundColor:"white",padding:"medium",role:p,shadow:"floating",tabIndex:-1,zIndex:"popover",...g,...C.popper,id:a,ref:x,style:w.popper,children:r})},eK=u.ZP.div.withConfig({componentId:"sc-aecda193-0"})(["background-color:",";height:",";overflow:hidden;width:100%;"],e=>{let{theme:t}=e;return t.colors.secondary20},e=>{let{theme:t}=e;return t.spacing.xxSmall}),eG=u.ZP.div.withConfig({componentId:"sc-aecda193-1"})(["background-color:",";height:100%;overflow:hidden;",";"],e=>{let{theme:t}=e;return t.colors.primary},e=>{let{percent:t,theme:r}=e;return"number"==typeof t?(0,u.iv)([""," width:","%;"],(0,m.Y)(["width","background-color","height"]),t):(0,u.iv)(["animation:"," 2s ease-in-out infinite;position:relative;width:6.25%;"],r.keyframes.loading)});eK.defaultProps={theme:d.rS},eG.defaultProps={theme:d.rS};let eU=e=>{let{percent:t}=e;return"number"==typeof t?(0,l.jsx)(eK,{"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":t,role:"progressbar",children:(0,l.jsx)(eG,{percent:t})}):(0,l.jsx)(eK,{role:"progressbar",children:(0,l.jsx)(eG,{})})};var eY=r(7404),eX=r(5830),eQ=r(23296),eq=r(91191),e$=r(35455),eJ=r(22238),e0=r(93044);let e1=(0,B.l)(e=>{let{action:t,autoComplete:r="off",autoWidth:n=!1,className:o,disabled:a,filterable:c=!0,id:s,inputRef:d,label:u,labelId:m,localization:f,maxHeight:p,onClose:g,onOpen:v,onOptionChange:x,options:b,placeholder:y,placement:w="bottom-start",positionFixed:C=!1,required:I,style:k,value:E,...j}=e,S=(0,i.createRef)(),M=(0,i.useId)(),P=(0,i.useMemo)(()=>j["aria-label"]&&!u?{"aria-labelledby":void 0}:{},[u,j]),R=(0,i.useCallback)(e=>e.every(e=>"options"in e&&!("value"in e))?e.map(e=>e.options).reduce((e,t)=>e.concat(t),[]):e,[]),z=(0,i.useMemo)(()=>t?[...R(b),t]:R(b),[t,R,b]),Z=(0,i.useMemo)(()=>z.find(e=>"value"in e&&e.value===E),[z,E]),H=(0,i.useMemo)(()=>z.findIndex(e=>"value"in e&&e.value===E),[z,E]),[L,V]=(0,i.useState)((null==Z?void 0:Z.content)||""),[B,A]=(0,i.useState)(z);(0,i.useEffect)(()=>A(z),[z]);let W=e=>e.findIndex(e=>!e.disabled),T=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return z.filter(r=>r.content===(t&&t.content)||r.content.toLowerCase().startsWith(e.trim().toLowerCase()))},{closeMenu:F,getInputProps:_,getItemProps:O,getLabelProps:K,getMenuProps:G,getToggleButtonProps:U,highlightedIndex:Y,isOpen:X,openMenu:Q,selectedItem:q,setHighlightedIndex:$}=(0,e$.Kb)({id:M,inputId:s,inputValue:L,itemToString:e=>e?e.content:"",items:B,isItemDisabled:e=>{var t;return null!==(t=null==e?void 0:e.disabled)&&void 0!==t&&t},labelId:m,onInputValueChange:e=>{let{inputValue:t,isOpen:r}=e;if(c&&!0===r){let e=T(t),r=W(e);A(e),""!==t?$(r):q&&$(z.indexOf(q))}V(t||"")},onIsOpenChange:e=>{let{isOpen:t}=e;c&&!t&&A(z),t&&"function"==typeof v&&v(),t||"function"!=typeof g||g()},onSelectedItemChange:e=>{t&&e.selectedItem&&e.selectedItem.content===t.content?t.onActionClick(L||null):e.selectedItem&&"value"in e.selectedItem&&"function"==typeof x&&x(e.selectedItem.value,e.selectedItem)},selectedItem:Z||null,stateReducer:(e,t)=>{switch(t.type){case e$.Kb.stateChangeTypes.InputBlur:case e$.Kb.stateChangeTypes.FunctionCloseMenu:return{...t.changes,inputValue:Z?Z.content:""};case e$.Kb.stateChangeTypes.InputClick:return{...t.changes,highlightedIndex:H||W(B),isOpen:!0};default:return t.changes}}}),J=(0,i.useRef)(null),ee=(0,i.useRef)(null),{styles:et,attributes:er,update:en}=(0,eT.D)(J.current,ee.current,{modifiers:[{name:"eventListeners",options:{scroll:X,resize:X}},{name:"offset",options:{offset:[0,4]}}],strategy:C?"fixed":"absolute",placement:w}),eo=(0,i.useCallback)(e=>{"function"==typeof d&&d(e)},[d]),ei=(0,i.useCallback)(()=>d&&"object"==typeof d?d:"function"==typeof d?eo:S,[S,d,eo]),ea=(0,i.useMemo)(()=>u?"string"==typeof u?(0,l.jsx)(N.D,{...K(),localization:f,renderOptional:!I,children:u}):(0,i.isValidElement)(u)&&u.type===N.D?(0,i.cloneElement)(u,K()):void(0,D.K)("label must be either a string or a FormControlLabel component."):null,[K,u,f,I]),ec=(0,i.useMemo)(()=>(0,l.jsx)(e0.PS,{...U({disabled:a,type:"button"}),"aria-label":"toggle menu",variant:"subtle",children:(0,l.jsx)(e0.dm,{})}),[a,U]),es=(0,i.useMemo)(()=>(0,l.jsx)(e0.j5,{ref:J,children:(0,l.jsx)(el.I,{..._({...j,...P,autoComplete:r,disabled:a,onClick:()=>{X||Q()},onFocus:e=>{"function"==typeof j.onFocus&&j.onFocus(e)},onKeyDown:e=>{switch(e.key){case"Enter":e.preventDefault(),!1===X&&(Q(),e.nativeEvent.preventDownshiftDefault=!0);break;case"Escape":!1===X?x():F(),e.nativeEvent.preventDownshiftDefault=!0}},placeholder:y,ref:ei(),readOnly:!c,required:I}),iconLeft:null==q?void 0:q.icon,iconRight:ec,localization:f})}),[_,j,P,r,a,y,ei,c,I,null==q?void 0:q.icon,ec,f,X,Q,x,F]);return(0,l.jsxs)("div",{children:[ea,es,(0,l.jsx)(h.x,{ref:ee,style:et.popper,...er.poppper,zIndex:"popover",children:(0,l.jsx)(eJ.a,{...P,action:t,autoWidth:n,filteredItems:B,getItemProps:O,getMenuProps:G,highlightedIndex:Y,isOpen:X,items:b,maxHeight:p,selectedItem:q&&"value"in q?q:null,update:en})})]})});var e2=r(76635),e4=r(79609),e5=r(1401);let e9=(0,u.ZP)(ew.r).withConfig({componentId:"sc-7b1cff8b-0"})(["flex-basis:100%;gap:",";grid-template-areas:'light dash' 'text text';grid-template-columns:auto 1fr;","{grid-template-columns:"," 1fr;grid-template-rows:"," 1fr;max-width:",";min-width:",";}"],e=>{let{theme:t}=e;return t.spacing.xSmall},e=>{let{theme:t}=e;return t.breakpoints.tablet},e=>{let{theme:t}=e;return t.spacing.xLarge},e=>{let{theme:t}=e;return t.spacing.xLarge},e=>{let{theme:t}=e;return t.helpers.remCalc(228)},e=>{let{theme:t}=e;return t.helpers.remCalc(96)}),e3=u.ZP.span.withConfig({componentId:"sc-7b1cff8b-1"})(["","{","}"],e=>{let{theme:t}=e;return t.breakpoints.tablet},(0,eP.G0)()),e8=(0,u.ZP)(x.k).withConfig({componentId:"sc-7b1cff8b-2"})(["border-radius:",";color:",";grid-area:light;user-select:none;","{border-radius:",";font-size:",";line-height:",";}"],e=>{let{theme:t}=e;return t.spacing.medium},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.breakpoints.tablet},e=>{let{theme:t}=e;return t.borderRadius.circle},e=>{let{theme:t}=e;return t.typography.fontSize.medium},e=>{let{theme:t}=e;return t.lineHeight.medium}),e7=(0,u.ZP)(h.x).withConfig({componentId:"sc-7b1cff8b-3"})(["align-self:center;height:",";grid-area:dash;width:100%;"],e=>{let{theme:t}=e;return t.helpers.remCalc(2)}),e6=(0,u.ZP)(ea.zF).withConfig({componentId:"sc-7b1cff8b-4"})(["grid-area:text;"]);e9.defaultProps={theme:d.rS},e3.defaultProps={theme:d.rS},e8.defaultProps={theme:d.rS},e7.defaultProps={theme:d.rS},e6.defaultProps={theme:d.rS};let te=(0,i.memo)(e=>{let{index:t,selectedIndex:r,stepperLength:n,text:o}=e,i=r>t,a=r===t,c=a||i;return(0,l.jsxs)(e9,{display:{mobile:a?"grid":"none",tablet:"grid"},marginBottom:"xLarge",marginRight:{tablet:"xSmall"},children:[(0,l.jsx)(e8,{alignItems:"center",backgroundColor:c?"primary":"secondary50",flexDirection:"row",justifyContent:"center",paddingHorizontal:{mobile:"xSmall",tablet:"none"},paddingVertical:{mobile:"xxSmall",tablet:"none"},children:i?(0,l.jsx)(e5.n,{color:"white",size:"large"}):(0,l.jsxs)("span",{children:[(0,l.jsx)(e3,{children:"Step"})," ".concat(t+1," "),(0,l.jsxs)(e3,{children:["of ",n]})]})}),(0,l.jsx)(e7,{backgroundColor:i?"primary":"secondary30",display:{mobile:"none",tablet:t===n-1?"none":"block"}}),(0,l.jsx)(e6,{color:c?"secondary70":"secondary50",children:o})]})});te.displayName="Step";let tt=(0,i.memo)(e=>{let{className:t,style:r,steps:n,currentStep:o=0,...i}=e;return n.length?(0,l.jsx)(x.k,{...i,"aria-valuemax":n.length,"aria-valuemin":0,"aria-valuenow":o+1,"aria-valuetext":"Step ".concat(o+1,": ").concat(n[o]),flexDirection:"row",flexWrap:"nowrap",marginBottom:"xLarge",role:"progressbar",children:n.map((e,t)=>(0,l.jsx)(te,{index:t,selectedIndex:o,stepperLength:n.length,text:e},t))}):null});tt.displayName="Stepper";let tr=u.ZP.input.withConfig({componentId:"sc-f3f34fcd-0"})([""," ",""],(0,eP.G0)(),e=>{let{theme:t}=e;return(0,u.iv)(["&:focus + label::before{box-shadow:0px 0px 0px 4px ",";"],t.helpers.createRGBA(t.colors.primary,.2))}),tn=u.ZP.label.withConfig({componentId:"sc-f3f34fcd-1"})([""," background:",";border-color:",";border-radius:",";cursor:pointer;height:",";position:relative;width:",";&:hover{&::before{","}}&:focus{&::before{box-shadow:0px 0px 0px 4px ",";}}"," &::before{"," "," background:",";border-radius:",";content:'';height:",";left:calc(100% - ",");position:absolute;top:-",";width:",";"," ","}"],(0,m.Y)(["background, border-color"]),e=>{let{checked:t,theme:r}=e;return t?r.colors.primary30:r.colors.secondary30},e=>{let{checked:t,theme:r}=e;return t?r.colors.primary30:r.colors.secondary30},e=>{let{theme:t}=e;return t.helpers.remCalc(8)},e=>{let{theme:t}=e;return t.helpers.remCalc(14)},e=>{let{theme:t}=e;return t.helpers.remCalc(38)},e=>{let{checked:t,theme:r}=e;return t?(0,u.iv)(["box-shadow:0px 0px 0px 4px ",";"],r.helpers.createRGBA(r.colors.primary,.2)):(0,u.iv)(["box-shadow:0px 0px 0px 4px ",";"],r.helpers.createRGBA(r.colors.secondary50,.2))},e=>{let{theme:t}=e;return t.helpers.createRGBA(t.colors.primary,.2)},e=>{let{checked:t,disabled:r,theme:n}=e;return r&&(0,u.iv)(["background:",";cursor:not-allowed;&:hover{&::before{"," border-radius:",";}}"],t?n.colors.primary20:n.colors.secondary20,e=>{let{theme:t}=e;return t.shadow.raised},e=>{let{theme:t}=e;return t.borderRadius.circle})},(0,m.Y)(["background, transform"]),e=>{let{theme:t}=e;return t.shadow.raised},e=>{let{checked:t,theme:r}=e;return t?r.colors.primary40:r.colors.white},e=>{let{theme:t}=e;return t.borderRadius.circle},e=>{let{theme:t}=e;return t.spacing.xLarge},e=>{let{theme:t}=e;return t.spacing.large},e=>{let{theme:t}=e;return t.helpers.remCalc(5)},e=>{let{theme:t}=e;return t.spacing.xLarge},e=>{let{checked:t,disabled:r,theme:n}=e;return r&&(0,u.iv)(["background:",";cursor:not-allowed;"],t?n.colors.primary30:n.colors.secondary10)},e=>{let{checked:t}=e;return!t&&(0,u.iv)(["transform:translateX(-100%);"])});tn.defaultProps={theme:d.rS},tr.defaultProps={theme:d.rS};let tl=e=>{let{checked:t,disabled:r,forwardedRef:n,...o}=e,a=(0,i.useId)(),c=o.id?o.id:a;return(0,l.jsxs)(x.k,{children:[(0,l.jsx)(tr,{checked:t,disabled:r,id:c,type:"checkbox",...o,ref:n}),(0,l.jsx)(tn,{"aria-hidden":!0,checked:t,disabled:r,htmlFor:c})]})},to=(0,i.memo)((0,i.forwardRef)((e,t)=>{let{className:r,style:n,...o}=e;return(0,l.jsx)(tl,{...o,forwardedRef:t})}));var ti=r(2513);let ta=(0,u.ZP)(x.k).withConfig({componentId:"sc-b2f7dbe6-0"})(["overflow:auto;"]),tc=(0,u.ZP)(f.Q).withConfig({componentId:"sc-b2f7dbe6-1"})(["border:none;border-bottom:"," solid transparent;border-bottom-color:",";border-radius:0;color:",";pointer-events:",";width:auto;",""],e=>{let{theme:t}=e;return t.spacing.xxSmall},e=>e.id===e.activeTab?e.theme.colors.primary40:"transparent",e=>{let{theme:t}=e;return t.colors.primary},e=>e.id===e.activeTab?"none":"auto",e=>e.id===e.activeTab&&(0,u.iv)(["color:",";&:focus{box-shadow:none;}"],e.theme.colors.secondary70));tc.defaultProps={theme:d.rS,variant:"subtle"},ta.defaultProps={theme:d.rS};let ts=(0,i.memo)(e=>{let{activeTab:t,children:r,className:n,items:o=[],onTabClick:i,style:a,role:c,...s}=e,d=e=>{e.preventDefault();let r=e.currentTarget.id;r!==t&&"function"==typeof i&&i(r)},u=t&&o[Number(t)],m=o.some(e=>!e.ariaControls),h=u&&!document.getElementById(u.ariaControls||"".concat(u.id,"-content"));return(m||h)&&(0,D.K)('TabItems must have an ariaControls field, otherwise, an element with fallback ID "{tab.id}-content" must exist in the DOM'),(0,l.jsx)(ta,{...s,flexDirection:"row",role:"tablist",children:o.map(e=>{let{ariaControls:r,id:n,title:o,disabled:i}=e;return(0,l.jsx)(tc,{activeTab:t,"aria-controls":r||"".concat(n,"-content"),"aria-selected":n===t?"true":"false",disabled:i,id:n,onClick:d,role:"tab",tabIndex:n===t?-1:0,children:o},n)})})});ts.displayName="Tabs";var td=r(39313);let tu=e=>{let{description:t,error:r,forwardedRef:n,label:o,labelId:a,localization:c,rows:s=3,resize:d=!0,...u}=e,m=(0,i.useId)(),h=u.id?u.id:m,{errors:f}=(0,W.y)(h,r),p=(0,i.useMemo)(()=>o?"string"==typeof o?(0,l.jsx)(N.D,{htmlFor:h,id:a,localization:c,renderOptional:!u.required,children:o}):(0,i.isValidElement)(o)&&o.type===N.D?(0,i.cloneElement)(o,{id:a,htmlFor:h}):void(0,D.K)("label must be either a string or a FormControlLabel component."):null,[h,o,a,c,u.required]),g=(0,i.useMemo)(()=>t?"string"==typeof t?(0,l.jsx)(A.K,{children:t}):(0,i.isValidElement)(t)&&t.type===A.K?t:void(0,D.K)("description must be either a string or a FormControlDescription component."):null,[t]);return(0,l.jsxs)("div",{children:[p,g,(0,l.jsx)(td.L,{children:(0,l.jsx)(td.u,{...u,error:f,id:h,ref:n,resize:d,rows:s&&s>7?7:s})})]})},tm=(0,B.l)((0,i.forwardRef)((e,t)=>{let{className:r,style:n,...o}=e;return(0,l.jsx)(tu,{...o,forwardedRef:t})})),th=e=>{let{error:t,forwardedRef:r,label:n,locale:o="en-US",localization:a,onTimeChange:c,value:s,...d}=e,u=en(o),m=(0,i.useMemo)(()=>er.map(e=>{let t=new Date,[r,n]=e.value.split(":");return t.setHours(parseInt(r,10)),t.setMinutes(parseInt(n,0)),{content:u.formatTime(t),value:e.value}}),[u]);return(0,l.jsx)(e1,{autoWidth:!0,error:t,inputRef:r,label:n,localization:a,onOptionChange:c,options:m,placeholder:"hh : mm",value:s,...d})},tf=(0,i.memo)((0,i.forwardRef)((e,t)=>{let{className:r,style:n,...o}=e;return(0,l.jsx)(th,{...o,forwardedRef:t})}));var tp=r(47285);let tg=u.ZP.button.withConfig({componentId:"sc-9649b162-0"})(["align-items:center;appearance:none;background-color:",";border:1px solid ",";border-radius:0;color:",";cursor:pointer;flex:none;font-size:",";font-weight:",";justify-content:center;line-height:",";outline:none;padding:",";position:relative;text-align:center;text-decoration:none;user-select:none;vertical-align:middle;white-space:nowrap;width:auto;margin-right:-1px;&:last-of-type{margin-right:0;}&:focus{box-shadow:",";z-index:999;}"," &:first-child{border-top-left-radius:",";border-bottom-left-radius:",";}&:last-child{border-top-right-radius:",";border-bottom-right-radius:",";}&[disabled]{border-color:",";pointer-events:none;","}",""],e=>{let{isActive:t,theme:r}=e;return t?r.colors.primary20:r.colors.white},e=>{let{theme:t,isActive:r}=e;return r?t.colors.primary30:t.colors.secondary30},e=>{let{isActive:t,theme:r}=e;return t?r.colors.primary60:r.colors.secondary60},e=>{let{theme:t}=e;return t.typography.fontSize.medium},e=>{let{theme:t}=e;return t.typography.fontWeight.regular},e=>{let{theme:t}=e;return t.lineHeight.xLarge},e=>{let{theme:t}=e;return"0 ".concat(t.spacing.medium)},e=>{let{theme:t}=e;return"0 0 0 ".concat(t.spacing.xxSmall," ").concat(t.colors.primary20)},e=>{let{isActive:t,theme:r}=e;return t?"\n z-index: 1;\n ":"\n &:hover {\n background-color: ".concat(r.colors.secondary10,";\n }\n ")},e=>{let{theme:t}=e;return t.borderRadius.normal},e=>{let{theme:t}=e;return t.borderRadius.normal},e=>{let{theme:t}=e;return t.borderRadius.normal},e=>{let{theme:t}=e;return t.borderRadius.normal},e=>{let{theme:t}=e;return t.colors.secondary30},e=>{let{theme:t}=e;return"\n background-color: ".concat(t.colors.secondary10,";\n color: ").concat(t.colors.secondary50,"\n ")},e=>{let{isIconType:t}=e;return t&&"\n display: flex;\n width: 36px;\n height: 36px;\n padding: 0;\n align-items: center;\n"});tg.defaultProps={theme:d.rS};let tv=(0,B.l)(e=>{let{value:t,disabled:r,items:n,label:o,labelId:a,localization:c,onChange:s,...d}=e,u=(0,i.useId)(),m=d.id?d.id:u,f=e=>t=>(t.preventDefault(),s(e)),p=(0,i.useMemo)(()=>o?"string"==typeof o?(0,l.jsx)(N.D,{htmlFor:m,id:a,localization:c,children:o}):(0,i.isValidElement)(o)&&o.type===N.D?(0,i.cloneElement)(o,{id:a,htmlFor:m}):void(0,D.K)("label must be either a string or a FormControlLabel component."):null,[m,o,a,c]);return(0,l.jsxs)("div",{children:[p,(0,l.jsx)(h.x,{"aria-labelledby":a,display:"flex",id:m,marginBottom:"medium",role:"group",children:n.map((e,n)=>{let{value:o,label:i,icon:a}=e;return(0,l.jsx)(tg,{"aria-checked":o===t,disabled:r,isActive:o===t,isIconType:!!a,onClick:f(o),role:"switch",children:a||i},n)})})]})});var tx=r(88459),tb=r(54537),ty=r(34214);let tw=(e,t)=>t.reduce((t,r)=>{let n=e.findIndex(e=>e.rowIndex===r.rowIndex&&e.columnIndex===r.columnIndex);return n>-1?(t[n]=r,t):t.concat(r)},[...e]),tC=(e,t)=>e.filter(e=>!t.find(t=>t.columnIndex===e.columnIndex&&t.rowIndex===e.rowIndex)),tI=(e,t)=>e.reduce((e,r)=>{let{rowIndex:n}=r,l=t[n];return e.find(e=>e===l)?e:[...e,l]},[]),tk=(e,t)=>{let r=new Map;return e.forEach(e=>{let{rowIndex:n,hash:l}=e,o=t[n];if(r.has(o)){let e=r.get(o);r.set(o,new Set([...e,l]))}else r.set(o,new Set([l]))}),Array.from(r).map(e=>{let[t,r]=e;return{item:t,errors:Array.from(r)}})},tE=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Object.entries(e).reduce((e,r)=>{let[n,l]=r;return t.map(String).includes(n)?e:[...e,...l]},[])},tj=e=>{let{columnIndex:t,rowIndex:r}=e;return"".concat(r,"_").concat(t)},tS=e=>e.reduce((e,t)=>({...e,[tj(t)]:t}),{}),tM=()=>(0,tb.M)(e=>({columns:[],editedCells:[],editedCellsMap:{},editingCell:null,isMetaKey:!1,isShiftPressed:!1,isAutoFillActive:!1,isSelectingActive:!1,isBlockedFillOut:!1,isControlKey:!1,editWithValue:"",expandableRows:{},disabledRows:[],hiddenRows:[],invalidCells:[],invalidCellsMap:{},openedModal:null,rows:[],selectedCells:[],selectedCellsMap:{},selectedRows:[],tableRef:null,addEditedCells:t=>e(e=>{let r=tw(e.editedCells,t);return{...e,editedCells:r,editedCellsMap:tS(r)}}),addInvalidCells:t=>e(e=>{let r=tw(e.invalidCells,t);return{...e,invalidCells:r,invalidCellsMap:tS(r)}}),removeInvalidCells:t=>e(e=>{let r=tC(e.invalidCells,t);return{...e,invalidCells:r,invalidCellsMap:tS(r)}}),resetInvalidCells:()=>e(e=>({...e,invalidCells:[],invalidCellsMap:{}})),setColumns:t=>e(e=>({...e,columns:t})),setExpandableRows:(t,r)=>e(e=>({...e,expandableRows:t,hiddenRows:tE(t,r)})),setEditingCell:t=>{let{cell:r,isMetaKey:n=!1,isControlKey:l=!1,editWithValue:o=""}=t;e(e=>({...e,editingCell:r,isMetaKey:n,isControlKey:l,editWithValue:o}))},setShiftPressed:t=>e(e=>({...e,isShiftPressed:t})),setDisabledRows:t=>e(e=>({...e,disabledRows:t})),setHiddenRows:t=>e(e=>({...e,hiddenRows:t})),setOpenModal:t=>e(e=>({...e,openedModal:t})),setRows:t=>e(e=>({...e,rows:t})),setSelectedCells:t=>e(e=>({...e,selectedCells:t,selectedCellsMap:tS(t)})),setSelectedRows:t=>e(e=>({...e,selectedRows:t})),setTableRef:t=>e(e=>({...e,tableRef:t})),setAutoFillActive:t=>e(e=>({...e,isAutoFillActive:t})),setSelectingActive:t=>e(e=>({...e,isSelectingActive:t})),setBlockFillOut:t=>e(e=>({...e,isBlockedFillOut:t}))})),tP=()=>{let e=(0,i.useContext)(t7);if(!e)throw Error("Worksheet store value is null");return{store:e,useStore:ty.oR}},tR=(0,i.createContext)(null),tz=(0,B.l)(e=>{let{children:t,items:r}=e,{store:n,useStore:o}=tP(),a=o(n,e=>e.setRows),c=o(n,e=>e.addEditedCells),s=(0,i.useCallback)((e,t)=>{a(e.reduce((e,r,n)=>{let{hash:l,rowIndex:o}=r;if(r.value===t[n])return e;let i={...e[o],[l]:t[n]};return e[o]=i,e},r)),c(e.reduce((e,r,n)=>r.value===t[n]?e:[...e,{...r,value:t[n]}],[]))},[c,r,a]),d=(0,i.useMemo)(()=>({updateItems:s}),[s]);return(0,l.jsx)(tR.Provider,{value:d,children:t})}),tZ=e=>{let{store:t,useStore:r}=tP(),n=r(t,(0,i.useMemo)(()=>e=>e.rows,[])),l=r(t,(0,i.useMemo)(()=>e=>e.columns,[])),o=r(t,(0,i.useMemo)(()=>e=>e.hiddenRows,[])),a=r(t,e=>e.setSelectedCells),c=r(t,e=>e.setSelectedRows),s=(0,i.useCallback)(e=>{let t=n.length,r=l.length;return e.rowIndex>=0&&e.rowIndex=0&&e.columnIndex{let{id:t}=n[e];return o.includes(t)},[o,n]),u=(0,i.useCallback)(e=>{let{columnIndex:t,rowIndex:r}=e;return 0===r?t>0?{columnIndex:++t,rowIndex:r}:{columnIndex:--t,rowIndex:r}:r>0?{rowIndex:++r,columnIndex:t}:{rowIndex:--r,columnIndex:t}},[]),m=(0,i.useCallback)(t=>{if(!e)return;let r={columnIndex:e.columnIndex+t.columnIndex,rowIndex:e.rowIndex+t.rowIndex};if(s(r)){if(d(r.rowIndex))return m(u(t));let e=l[r.columnIndex].hash,o=l[r.columnIndex].type||"text",i=n[r.rowIndex][e],s=l[r.columnIndex].disabled||!1;a([{...r,disabled:s,hash:e,type:o,value:i}]),c([r.rowIndex])}},[l,u,d,s,n,e,a,c]);return(0,i.useMemo)(()=>({navigate:m}),[m])},tH=()=>{let{store:e,useStore:t}=tP(),r=t(e,(0,i.useMemo)(()=>e=>e.selectedCells[0],[])),n=t(e,(0,i.useMemo)(()=>e=>e.selectedCells[e.selectedCells.length-1],[])),l=t(e,(0,i.useMemo)(()=>e=>e.selectedCells,[])),o=t(e,(0,i.useMemo)(()=>e=>e.rows,[])),a=t(e,(0,i.useMemo)(()=>e=>null!==e.editingCell,[])),c=t(e,(0,i.useMemo)(()=>e=>e.isShiftPressed,[])),s=t(e,(0,i.useMemo)(()=>e=>e.setShiftPressed,[])),d=t(e,e=>e.setEditingCell),{navigate:u}=tZ(r),m=t(e,e=>e.setSelectedCells),h=(0,i.useCallback)(function(){let{isMetaKey:e=!1,isControlKey:t=!1,editWithValue:n=""}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(r)return d({cell:r,isMetaKey:e,isControlKey:t,editWithValue:n})},[r,d]),f=(0,i.useCallback)(e=>{"Shift"===e.key&&s(!1)},[s]),p=(0,i.useCallback)(e=>{let t=e.key;if(a)switch(t){case"Enter":u({rowIndex:1,columnIndex:0});break;case"Tab":u({rowIndex:0,columnIndex:e.shiftKey?-1:1})}else{switch(t){case"Enter":r&&!r.disabled&&(h({}),"checkbox"===r.type&&u({rowIndex:1,columnIndex:0}));break;case" ":r&&!r.disabled&&h();break;case"ArrowUp":if(c&&l.length>1){m(l.slice(0,-1));break}u({rowIndex:-1,columnIndex:0});break;case"ArrowDown":if(c){let e=n.rowIndex+1,t=o[e];e<=o.length-1&&m([...l,{...n,rowIndex:n.rowIndex+1,value:t[n.hash]}])}else u({rowIndex:1,columnIndex:0});break;case"ArrowRight":u({rowIndex:0,columnIndex:1});break;case"Tab":u({rowIndex:0,columnIndex:e.shiftKey?-1:1});break;case"ArrowLeft":u({rowIndex:0,columnIndex:-1});break;case"Meta":r&&h({isMetaKey:!0});break;case"Control":r&&h({isControlKey:!0});break;case"Shift":r&&s(!0);break;default:"Escape"!==t&&1===t.length&&("text"===r.type||"number"===r.type)&&(e.preventDefault(),h({editWithValue:t}))}e.preventDefault()}},[a,u,r,c,l,h,m,n,o,s]);return(0,i.useMemo)(()=>({handleKeyDown:p,handleKeyUp:f}),[p,f])},tL=()=>{let{store:e,useStore:t}=tP(),r=t(e,(0,i.useMemo)(()=>e=>e.tableRef,[])),n=(0,i.useCallback)(()=>{r&&r.focus()},[r]);return(0,i.useMemo)(()=>({focusTable:n}),[n])},tV=()=>{let e=(0,i.useContext)(tR);if(!e)throw Error("useUpdateItems must be used within an ");return e},tB=(0,B.l)(e=>{let{column:t}=e,{config:r,hash:n}=t,{header:o,render:a,saveActionText:c="Save",cancelActionText:s="Cancel"}=r,{store:d,useStore:u}=tP(),m=u(d,(0,i.useMemo)(()=>e=>e.openedModal===n,[n])),h=u(d,(0,i.useMemo)(()=>e=>e.selectedCells[0],[])),f=u(d,e=>e.setOpenModal),p=u(d,e=>e.setEditingCell),{focusTable:g}=tL(),{updateItems:v}=tV(),[x,b]=(0,i.useState)(null);(0,i.useEffect)(()=>{h&&b(h.value)},[h]);let y=(0,i.useCallback)(()=>{f(null),p({cell:null}),g()},[g,p,f]),w=(0,i.useCallback)(()=>{h&&null!==x&&x!==h.value&&v([h],[x]),y()},[y,x,h,v]),C=(0,i.useMemo)(()=>h?a(h.value,e=>{void 0!==e&&b(e)}):null,[h,a]);return(0,l.jsx)(eB,{actions:[{text:s,variant:"subtle",onClick:y},{text:c,onClick:w}],closeOnClickOutside:!1,closeOnEscKey:!0,header:o,isOpen:m,onClose:y,children:C})}),tD=u.ZP.div.withConfig({componentId:"sc-5986f4ae-0"})(["span{background-color:",";border:none;box-shadow:none;&:hover:not([disabled]){border:none;}&[disabled]{background-color:",";}}input{font-size:",";font-weight:",";&[disabled]{background-color:",";color:",";cursor:default;}}[role='option']{font-size:",";}"],e=>{let{theme:t}=e;return t.colors.inherit},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.typography.fontSize.small},e=>{let{theme:t}=e;return t.typography.fontWeight.regular},e=>{let{theme:t}=e;return t.colors.inherit},e=>{let{theme:t}=e;return t.colors.secondary50},e=>{let{theme:t}=e;return t.typography.fontSize.small});tD.defaultProps={theme:d.rS};let tN=(0,B.l)(e=>{let{cell:t,isEditing:r,onBlur:n,onChange:o,options:a=[]}=e,c=(0,i.createRef)(),{store:s,useStore:d}=tP(),u=d(s,e=>e.setEditingCell);(0,i.useEffect)(()=>{r&&c.current&&c.current.focus()},[c,r]);let m=(0,i.useCallback)(e=>{o(e)},[o]),h=(0,i.useCallback)(()=>{u({cell:t})},[t,u]),f=(0,i.useCallback)(()=>{n(),u({cell:null})},[n,u]);return(0,l.jsx)(tD,{children:(0,l.jsx)(e1,{disabled:t.disabled,filterable:!1,inputRef:c,onClose:f,onOpen:h,onOptionChange:m,options:a,value:t.value})})}),tA=u.ZP.div.withConfig({componentId:"sc-d2cd6b9d-0"})(["& > div{justify-content:center;}"]);tA.defaultProps={theme:d.rS};let tW=(0,B.l)(e=>{let{cell:t,toggle:r,onBlur:n,onChange:o}=e,a=(0,i.useCallback)(()=>{o(!t.value)},[t,o]);return(0,i.useEffect)(()=>{r&&a()},[t.value,a,r]),(0,l.jsx)(tA,{children:(0,l.jsx)(Y.X,{checked:""===t.value?void 0:t.value,disabled:t.disabled,hiddenLabel:!0,label:t.value?"Checked":"Unchecked",onBlur:n,onChange:a})})}),tT=(0,u.ZP)(k.Q).withConfig({componentId:"sc-640be223-0"})(["font-size:",";height:auto;line-height:",";padding:0;&:hover:not(:active){background-color:inherit;color:",";}&:active{background-color:inherit;}"],e=>{let{theme:t}=e;return t.typography.fontSize.small},e=>{let{theme:t}=e;return t.lineHeight.small},e=>{let{theme:t}=e;return t.colors.primary70}),tF=(0,u.ZP)(M.B).withConfig({componentId:"sc-640be223-1"})(["overflow:hidden;"]);tT.defaultProps={theme:d.rS},tF.defaultProps={theme:d.rS};let t_=(0,B.l)(e=>{let{cell:t,formatting:r,isEditing:n}=e,{store:o,useStore:a}=tP(),c=a(o,e=>e.setOpenModal),s=a(o,e=>e.setEditingCell),{hash:d,value:u}=t,m=(0,i.createRef)();(0,i.useEffect)(()=>{n&&c(d)},[d,n,c]);let h=(0,i.useCallback)(()=>{s({cell:t})},[t,s]),f=(0,i.useMemo)(()=>"function"==typeof r?r(u):"".concat(u),[r,u]);return(0,l.jsxs)(x.k,{alignItems:"center",flexWrap:"wrap",justifyContent:"space-between",children:[(0,l.jsx)(tF,{flexShrink:1,paddingRight:"small",children:(0,l.jsx)(ea.x4,{color:t.disabled?"secondary50":"secondary70",ellipsis:!0,title:f,children:f})}),(0,l.jsx)(tT,{disabled:t.disabled,onClick:h,ref:m,variant:"subtle",children:"Edit"})]})}),tO=e=>{let{store:t,useStore:r}=tP(),n=r(t,e=>e.expandableRows),l=r(t,e=>e.hiddenRows),o=r(t,e=>e.setHiddenRows),a=(0,i.useCallback)(()=>{let t=n[e];o(l.filter(e=>!t.includes(e)))},[n,l,e,o]),c=(0,i.useCallback)(()=>{o([...l,...n[e]])},[n,l,e,o]),s=(0,i.useCallback)(e=>{e?c():a()},[c,a]),d=null!==n&&void 0!==n[e],u=d&&!l.some(t=>n[e].includes(t));return(0,i.useMemo)(()=>({hasExpanded:u,isExpandable:d,onToggle:s}),[u,d,s])},tK=(0,u.ZP)(f.Q).withConfig({componentId:"sc-3f67a5e1-0"})(["position:absolute;top:0;height:100%;width:100%;min-width:",";border-radius:0;&:focus{box-shadow:none;}&:hover{svg{color:",";}}"],e=>{let{theme:t}=e;return"".concat(t.helpers.remCalc(32))},e=>{let{theme:t}=e;return"".concat(t.colors.primary)});tK.defaultProps={theme:d.rS};let tG=(0,i.memo)(e=>{let{rowId:t,toggle:r}=e,{onToggle:n,isExpandable:o,hasExpanded:a}=tO(t),{store:s,useStore:d}=tP(),u=(0,i.useContext)(t6),m=d(s,e=>e.setEditingCell);return((0,i.useEffect)(()=>{r&&o&&n(a),m({cell:null})},[a,o,n,m,r]),o)?a?(0,l.jsx)(tK,{iconOnly:(0,l.jsx)(c.h,{color:"secondary60"}),onClick:()=>{n(!0)},title:u.toggleRowExpanded,variant:"subtle"}):(0,l.jsx)(tK,{iconOnly:(0,l.jsx)(ei.X,{color:"secondary60"}),onClick:()=>{n(!1)},title:u.toggleRowExpanded,variant:"subtle"}):null}),tU=u.ZP.input.withConfig({componentId:"sc-63f9c24a-0"})(["background-color:",";border:0;font-size:",";font-weight:",";line-height:",";margin:0;padding:0;width:100%;&:focus{outline:none;}",""],e=>{let{theme:t}=e;return t.colors.inherit},e=>{let{theme:t}=e;return t.typography.fontSize.small},e=>{let{theme:t}=e;return t.typography.fontWeight.regular},e=>{let{theme:t}=e;return t.lineHeight.small},e=>{let{isEdited:t}=e;return t&&(0,u.iv)(["background-color:",";"],e=>{let{theme:t}=e;return t.colors.warning10})});tU.defaultProps={theme:d.rS};let tY=(0,B.l)(e=>{let{cell:t,isEdited:r,initialValue:n,onBlur:o,onKeyDown:a,isMetaKey:c,isControlKey:s}=e,[d,u]=(0,i.useState)(n||"".concat(t.value)),m=(0,i.useRef)(!1),[h,f]=(0,i.useState)(c),[p,g]=(0,i.useState)(s),v=e=>"number"===t.type&&""!==e?Number(e):e;return(0,l.jsx)(tU,{autoFocus:!0,isEdited:r,onBlur:e=>{m.current||o(e,t)},onChange:e=>{u(e.target.value)},onKeyDown:e=>{"Escape"===e.key?m.current=!0:h&&"v"===e.key&&e.metaKey?(u(""),m.current=!1,f(!1)):p&&"v"===e.key&&e.ctrlKey?(u(""),m.current=!1,g(!1)):m.current=!1,a(e,v(d))},value:d})}),tX=e=>{let{store:t,useStore:r}=tP(),n=r(t,e=>e.setEditingCell),{updateItems:l}=tV(),{focusTable:o}=tL(),a=r(t,(0,i.useMemo)(()=>t=>{let{editingCell:r}=t;return null!==r&&r.columnIndex===e.columnIndex&&r.rowIndex===e.rowIndex},[e])),c=(0,i.useCallback)(()=>{n({cell:null}),o()},[o,n]),s=(0,i.useCallback)(()=>{e.disabled||n({cell:e})},[e,n]),d=(0,i.useCallback)((e,t)=>{let r=(null==t?void 0:t.type)==="number",n=(null==t?void 0:t.type)==="text";(r||n)&&l([t],[r?Number(null==e?void 0:e.target.value):null==e?void 0:e.target.value]),c()},[c,l]),u=(0,i.useCallback)(t=>{l([e],[t]),c()},[e,c,l]),m=(0,i.useCallback)((t,r)=>{switch(t.key){case"Enter":case"Tab":t.preventDefault(),e.value!==r&&l([e],[r]),c();break;case"Escape":t.preventDefault(),c()}},[e,c,l]);return(0,i.useMemo)(()=>({handleBlur:d,handleChange:u,handleDoubleClick:s,handleKeyDown:m,isEditing:a}),[d,u,s,m,a])},tQ=e=>{let{store:t,useStore:r}=tP(),{updateItems:n}=tV(),l=r(t,e=>e.selectedCells),o=r(t,e=>e.disabledRows),a=r(t,(0,i.useMemo)(()=>e=>e.rows,[])),c=r(t,(0,i.useMemo)(()=>e=>{var t,r;let{columns:n}=e;return null!==(r=null===(t=n.find(e=>{var t;let{hash:r}=e;return r===(null===(t=l[0])||void 0===t?void 0:t.hash)}))||void 0===t?void 0:t.enabled)&&void 0!==r&&r},[l])),s=r(t,(0,i.useMemo)(()=>e=>{var t,r;let{columns:n}=e;return null!==(r=null===(t=n.find(e=>{var t;let{hash:r}=e;return r===(null===(t=l[0])||void 0===t?void 0:t.hash)}))||void 0===t?void 0:t.disabled)&&void 0!==r&&r},[l])),d=r(t,(0,i.useMemo)(()=>e=>e.isBlockedFillOut,[])),u=r(t,(0,i.useMemo)(()=>e=>e.isSelectingActive,[])),m=r(t,(0,i.useMemo)(()=>e=>e.isAutoFillActive,[])),h=r(t,(0,i.useMemo)(()=>e=>e.setSelectingActive,[])),f=r(t,(0,i.useMemo)(()=>e=>e.setAutoFillActive,[])),p=r(t,(0,i.useMemo)(()=>e=>e.setBlockFillOut,[])),g=r(t,e=>e.setSelectedCells),v=(0,i.useCallback)(e=>c?l:s?[]:l.filter((t,r)=>!o.includes(e[r])),[o,s,c,l]),x=(0,i.useCallback)(()=>{let t=a.reduce((t,r,n)=>n>e.rowIndex&&!o.includes(r.id)?[...t,{...e,rowIndex:n,value:r[e.hash]}]:t,[]);n(t,t.map(()=>e.value))},[e,o,a,n]),b=(0,i.useCallback)(()=>{let t=[];if(m||u){let r=l[0];if(r&&r.rowIndex<=e.rowIndex){let{columnIndex:n,hash:l,type:o}=r;for(let i=r.rowIndex;i<=e.rowIndex;i++)t.push({...e,columnIndex:n,rowIndex:i,hash:l,type:o,value:a[i][r.hash]})}g(t)}},[e,m,u,a,l,g]);return(0,i.useEffect)(()=>{if(!d&&!m&&l.length>1){let e=v(l.map(e=>{let{rowIndex:t}=e;return a[t].id})),t=a[l[0].rowIndex];n(e,e.map(e=>{let{hash:r}=e;return t[r]})),p(!0)}},[o,m,d,u,a,l,h,n,p,c,v]),{isAutoFillActive:m,onFillFullColumn:x,setIsMouseDown:f,setSelectingActive:h,setBlockFillOut:p,setSelectedCell:b}},tq=u.ZP.td.withConfig({componentId:"sc-b78c94d-0"})(["position:relative;background-color:",";border:",";box-sizing:border-box;padding:",";text-align:",";user-select:none;"," "," "," "," "," "," & p{display:block;white-space:inherit;word-break:break-word;margin:0;}",""],e=>{let{theme:t}=e;return t.colors.inherit},e=>{let{theme:t}=e;return"".concat(t.helpers.remCalc(.5)," solid ").concat(t.colors.secondary30)},e=>{let{theme:t,type:r}=e;return"select"===r||"toggle"===r?0:"".concat(t.helpers.remCalc(6)," ").concat(t.helpers.remCalc(17))},e=>{let{type:t}=e;switch(t){case"number":return"right";case"checkbox":return"center";default:return"left"}},e=>{let{type:t}=e;return"toggle"===t&&(0,u.iv)(["position:relative;border-color:",";"],e=>{let{theme:t}=e;return"".concat(t.colors.white," ").concat(t.colors.white," ").concat(t.colors.white," ").concat(t.colors.secondary30)})},e=>{let{type:t,isChild:r}=e;return"toggle"===t&&!r&&(0,u.iv)(["border-color:",";"],e=>{let{theme:t}=e;return"".concat(t.colors.secondary30," ").concat(t.colors.white," ").concat(t.colors.secondary30," ").concat(t.colors.secondary30)})},e=>{let{type:t,isLastChild:r}=e;return"toggle"===t&&r&&(0,u.iv)(["border-bottom-color:",";"],e=>{let{theme:t}=e;return"".concat(t.colors.secondary30)})},e=>{let{type:t,isSelected:r,isFirstSelected:n,isLastSelected:l,isNextCellValid:o}=e;return r&&"toggle"!==t&&(0,u.iv)(["border:",";border-top-color:",";border-bottom-color:",";","{display:block;}"],e=>{let{theme:t}=e;return"".concat(t.helpers.remCalc(.5)," double ").concat(t.colors.primary)},e=>{let{theme:t}=e;return"".concat(n?t.colors.primary:t.colors.secondary30)},e=>{let{theme:t}=e;return o||l?"".concat(n||l?t.colors.primary:t.colors.secondary30):t.colors.danger},t$)},e=>{let{isValid:t}=e;return!t&&(0,u.iv)(["border:",";"],e=>{let{theme:t}=e;return"".concat(t.helpers.remCalc(.5)," double ").concat(t.colors.danger)})},e=>{let{isEdited:t}=e;return t&&(0,u.iv)(["background-color:",";"],e=>{let{theme:t}=e;return t.colors.warning10})},e=>{let{type:t,isChild:r,isLastChild:n}=e;return"toggle"===t&&r&&(0,u.iv)(["&::before{content:'';display:block;top:0;height:",";left:50%;width:",";position:absolute;background-color:",";}&::after{content:'';display:block;top:50%;left:50%;width:50%;height:",";position:absolute;background-color:",";}"],n?"50%":"100%",e=>{let{theme:t}=e;return"".concat(t.helpers.remCalc(1))},e=>{let{theme:t}=e;return"".concat(t.colors.secondary30)},e=>{let{theme:t}=e;return"".concat(t.helpers.remCalc(1))},e=>{let{theme:t}=e;return"".concat(t.colors.secondary30)})}),t$=u.ZP.div.withConfig({componentId:"sc-b78c94d-1"})(["position:absolute;border:",";height:",";width:",";background-color:",";right:-",";bottom:-",";z-index:100;cursor:crosshair;display:none;"],e=>{let{theme:t,isVisible:r}=e;return"".concat(t.helpers.remCalc(1)," solid ").concat(r?t.colors.white:t.colors.transparent)},e=>{let{theme:t}=e;return"".concat(t.helpers.remCalc(6))},e=>{let{theme:t}=e;return"".concat(t.helpers.remCalc(6))},e=>{let{theme:t,isVisible:r}=e;return r?t.colors.primary:t.colors.transparent},e=>{let{theme:t}=e;return"".concat(t.helpers.remCalc(4))},e=>{let{theme:t}=e;return"".concat(t.helpers.remCalc(4))}),tJ=u.ZP.div.withConfig({componentId:"sc-b78c94d-2"})(["width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:8px solid ",";position:absolute;top -1px;right:-5px;transform:rotate(45deg)"],e=>{let{theme:t,color:r}=e;return t.colors[r]});tq.defaultProps={theme:d.rS},t$.defaultProps={theme:d.rS},tJ.defaultProps={theme:d.rS};let t0=(0,B.l)(e=>{let{columnIndex:t,disabled:r=!1,formatting:n,hash:o,options:a,rowIndex:c,type:s,rowId:d,validation:u,notation:m,value:h,nextRowValue:f,isChild:p,isLastChild:g}=e,v=(0,i.useMemo)(()=>({columnIndex:t,disabled:r,hash:o,rowIndex:c,type:s,value:h}),[t,r,o,c,s,h]),x=(0,i.useMemo)(()=>tj(v),[v]),{handleBlur:b,handleChange:y,handleDoubleClick:w,handleKeyDown:C,isEditing:I}=tX(v),{store:k,useStore:E}=tP(),{isAutoFillActive:j,onFillFullColumn:S,setIsMouseDown:M,setSelectingActive:P,setBlockFillOut:R,setSelectedCell:z}=tQ(v),Z=(0,i.useId)(),H=E(k,e=>e.setSelectedRows),L=E(k,e=>e.setSelectedCells),V=E(k,e=>e.addInvalidCells),B=E(k,e=>e.removeInvalidCells),D=E(k,(0,i.useMemo)(()=>e=>e.rows[c],[c])),N=E(k,(0,i.useMemo)(()=>e=>e.editWithValue,[])),A=E(k,(0,i.useMemo)(()=>e=>e.isShiftPressed,[])),W=E(k,e=>e.isMetaKey),T=E(k,e=>e.isControlKey),{selectedCells:F,isLastSelected:_,isFirstSelected:O,isSelected:K}=E(k,(0,i.useMemo)(()=>e=>{let t=Object.keys(e.selectedCellsMap).indexOf(x);return{selectedCells:e.selectedCells,isLastSelected:e.selectedCells.length-1===t,isFirstSelected:0===t,isSelected:-1!==t}},[x])),G=E(k,(0,i.useMemo)(()=>e=>!!e.editedCellsMap[x],[x])),U=E(k,(0,i.useMemo)(()=>e=>e.invalidCellsMap[x],[x])),Y=(0,i.useMemo)(()=>"function"!=typeof u||u(h),[u,h]),X=(0,i.useMemo)(()=>"function"!=typeof u||u(f),[f,u]);(0,i.useEffect)(()=>{Y&&U&&B([v]),Y||U&&U.value===v.value||V([v])},[V,v,Y,U,B]);let Q=(0,i.useCallback)(e=>{e.stopPropagation(),S()},[S]),q=(0,i.useCallback)(()=>{if(A){let e=F[F.length-1],t=e.rowIndex;L([...F,...Array.from({length:v.rowIndex-t},(e,r)=>t+r+1).map(t=>({...v,columnIndex:e.columnIndex,rowIndex:t}))])}else H([c]),L([v])},[v,A,c,F,L,H]),$=(0,i.useMemo)(()=>"function"!=typeof n||""===h||Number.isNaN(h)?"".concat(h):n(h),[n,h]),J=(0,i.useMemo)(()=>{switch(s){case"select":return(0,l.jsx)(tN,{cell:v,isEditing:I,onBlur:b,onChange:y,options:a});case"checkbox":return(0,l.jsx)(tW,{cell:v,onBlur:b,onChange:y,toggle:I});case"modal":return(0,l.jsx)(t_,{cell:v,formatting:n,isEditing:I});case"toggle":return(0,l.jsx)(tG,{rowId:d,toggle:I});default:return I&&!r?(0,l.jsx)(tY,{cell:v,initialValue:N,isControlKey:T,isEdited:G,isMetaKey:W,onBlur:b,onKeyDown:C}):(0,l.jsx)(ea.x4,{color:r?"secondary50":"secondary70",ellipsis:!0,title:$,children:$})}},[s,v,b,y,a,I,n,d,r,N,T,G,W,C,$]),ee=(0,i.useMemo)(()=>{if(!m)return null;let e=m(h,D);return e?(0,l.jsx)(tp.u,{id:Z,placement:"right",trigger:(0,l.jsx)(tJ,{color:e.color,role:"note"}),children:e.description}):null},[m,D,Z,h]),et=(0,i.useMemo)(()=>_?(0,l.jsx)(t$,{"aria-label":"Autofill handler",isVisible:!j,onDoubleClick:Q,onMouseDown:e=>{e.stopPropagation(),P(!1),R(!1),M(!0)}}):null,[Q,j,_,R,M,P]);return(0,l.jsxs)(tq,{isChild:p,isEdited:G,isFirstSelected:O,isLastChild:g,isLastSelected:_,isNextCellValid:X,isSelected:K,isValid:Y,onClick:q,onDoubleClick:w,onMouseDown:()=>{q(),P(!0),R(!0)},onMouseEnter:z,onMouseUp:()=>{M(!1),P(!1)},type:s,children:[J,et,ee]})}),t1=u.ZP.td.withConfig({componentId:"sc-3a3dce03-0"})(["background-color:",";border-top:",";box-sizing:border-box;min-width:",";padding:0;width:",";"," ",";"],e=>{let{theme:t}=e;return t.colors.secondary30},e=>{let{theme:t}=e;return"".concat(t.helpers.remCalc(.5)," solid ").concat(t.colors.secondary30)},e=>{let{theme:t}=e;return t.spacing.xxSmall},e=>{let{theme:t}=e;return t.spacing.xxSmall},e=>{let{isInvalid:t}=e;return t&&(0,u.iv)(["background-color:",";border:",";"],e=>{let{theme:t}=e;return"".concat(t.colors.danger)},e=>{let{theme:t}=e;return"".concat(t.helpers.remCalc(.5)," solid ").concat(t.colors.danger)})},e=>{let{isSelected:t}=e;return t&&(0,u.iv)(["background-color:",";border:",";"],e=>{let{theme:t}=e;return"".concat(t.colors.primary)},e=>{let{theme:t}=e;return"".concat(t.helpers.remCalc(.5)," solid ").concat(t.colors.primary)})});t1.defaultProps={theme:d.rS};let t2=(0,i.memo)(e=>{let{rowIndex:t}=e,{store:r,useStore:n}=tP(),o=n(r,(0,i.useMemo)(()=>e=>e.selectedRows.includes(t),[t])),a=n(r,(0,i.useMemo)(()=>e=>e.invalidCells.some(e=>e.rowIndex===t),[t]));return(0,l.jsx)(t1,{isInvalid:a,isSelected:o})}),t4=(0,B.l)(e=>{let{columns:t,rowIndex:r}=e,{store:n,useStore:o}=tP(),a=o(n,(0,i.useMemo)(()=>e=>e.rows[r],[r])),c=o(n,(0,i.useMemo)(()=>e=>e.rows[r+1]||null,[r])),s=o(n,(0,i.useMemo)(()=>e=>e.expandableRows,[])),d=o(n,(0,i.useMemo)(()=>e=>!e.hiddenRows.includes(a.id),[a.id])),u=o(n,(0,i.useMemo)(()=>e=>e.disabledRows.includes(a.id),[a.id])),m=(0,i.useMemo)(()=>{if(s)return Object.keys(s).find(e=>s[e].find(e=>e===a.id))},[s,a.id]),h=(0,i.useMemo)(()=>void 0!==m,[m]),f=(0,i.useCallback)(e=>"text"===e.type||"number"===e.type||"modal"===e.type,[]),p=(0,i.useMemo)(()=>!!s&&Object.values(s).reduce((e,t)=>[...e,t[t.length-1]],[]).includes(a.id),[s,a.id]),g=(0,i.useCallback)(e=>{let{enabled:t,disabled:r}=e;return("boolean"!=typeof t||!t)&&(r||u)},[u]);return h&&!d?null:(0,l.jsxs)("tr",{children:[(0,l.jsx)(t2,{rowIndex:r}),t.map((e,t)=>{var n,o;return(0,l.jsx)(t0,{columnIndex:t,disabled:g(e),formatting:f(e)?e.formatting:void 0,hash:e.hash,isChild:h,isLastChild:p,nextRowValue:c&&c[e.hash]||"",notation:e.notation,options:"select"===e.type?e.config.options:void 0,rowId:a.id,rowIndex:r,type:null!==(n=e.type)&&void 0!==n?n:"text",validation:e.validation,value:null!==(o=a[e.hash])&&void 0!==o?o:""},"".concat(r,"-").concat(t))})]})}),t5=u.ZP.table.withConfig({componentId:"sc-c3a20fc5-0"})(["border-collapse:collapse;border-spacing:0;min-width:",";table-layout:fixed;width:",";&:focus{outline:none;}",""],e=>{let{minWidth:t,hasStaticWidth:r}=e;return t&&!r?"".concat(t,"px"):"auto"},e=>{let{hasStaticWidth:t}=e;return t?"auto":"100%"},e=>{let{hasExpandableRows:t}=e;return t&&(0,u.iv)(["& > thead > tr{& > th:nth-of-type(2){padding-left:",";}}& > tbody > tr{& > td:nth-of-type(3){padding-left:",";}}"],e=>{let{theme:t}=e;return t.spacing.xSmall},e=>{let{theme:t}=e;return t.spacing.xSmall})});t5.defaultProps={theme:d.rS};let t9=u.ZP.th.withConfig({componentId:"sc-c3a20fc5-1"})(["border:",";border-right-color:",";box-sizing:border-box;color:",";font-weight:",";height:",";overflow:hidden;padding:",";text-align:",";width:",";"],e=>{let{theme:t}=e;return"".concat(t.helpers.remCalc(.5)," solid ").concat(t.colors.secondary30)},e=>{let{theme:t,columnType:r}=e;return"toggle"===r?"".concat(t.colors.white):"".concat(t.colors.secondary30)},e=>{let{theme:t}=e;return t.colors.secondary60},e=>{let{theme:t}=e;return t.typography.fontWeight.semiBold},e=>{let{theme:t}=e;return t.helpers.remCalc(52)},e=>{let{theme:t}=e;return"0 ".concat(t.helpers.remCalc(17))},e=>{let{columnType:t}=e;return"number"===t?"right":"checkbox"===t?"center":"left"},e=>{let{columnWidth:t}=e;return"string"==typeof t?t:"".concat(t,"px")}),t3=(0,u.ZP)(h.x).withConfig({componentId:"sc-c3a20fc5-2"})(["overflow-x:scroll;"]);t9.defaultProps={theme:d.rS};let t8=(0,B.l)(e=>{let{columns:t,expandableRows:r,defaultExpandedRows:n,disabledRows:o,items:a,minWidth:c,onChange:s,onErrors:d}=e,u=(0,i.createRef)(),m=(0,i.useRef)(!1),{store:f,useStore:p}=tP(),g=(0,i.useId)(),v=p(f,e=>e.setRows),x=p(f,e=>e.setColumns),b=p(f,e=>e.setExpandableRows),y=p(f,e=>e.setDisabledRows),w=p(f,e=>e.setTableRef),C=p(f,e=>e.resetInvalidCells),I=p(f,(0,i.useMemo)(()=>e=>e.rows,[])),k=p(f,(0,i.useMemo)(()=>e=>e.editedCells,[])),E=p(f,(0,i.useMemo)(()=>e=>e.invalidCells,[])),{handleKeyDown:j,handleKeyUp:S}=tH(),M=(0,i.useMemo)(()=>r?[{hash:"",header:"",type:"toggle",width:32},...t]:t,[t,r]);(0,i.useEffect)(()=>{m.current=k.length>0},[k]),(0,i.useEffect)(()=>{m.current=!1,C(),v([...a])},[a,C,v]),(0,i.useEffect)(()=>x(M),[M,x]),(0,i.useEffect)(()=>b(r||{},n||[]),[r,n,b]),(0,i.useEffect)(()=>y(o||[]),[o,y]),(0,i.useEffect)(()=>w(u.current),[w,u]),(0,i.useEffect)(()=>{k.length&&m.current&&s(tI(k,I))},[k,s,I]),(0,i.useEffect)(()=>{"function"==typeof d&&E.length&&d(tk(E,I))},[E,d,I]);let P=(0,i.useCallback)(e=>"string"==typeof e&&e.length>0?(0,l.jsx)(tp.u,{id:g,placement:"right",trigger:(0,l.jsx)(h.x,{as:"span",marginLeft:"xxSmall",children:(0,l.jsx)(tx.p,{"aria-describedby":g,size:"medium",title:"Hover or focus for additional context."})}),children:e}):null,[g]),R=(0,i.useMemo)(()=>(0,l.jsx)("thead",{children:(0,l.jsxs)("tr",{children:[(0,l.jsx)(t1,{}),M.map((e,t)=>(0,l.jsxs)(t9,{columnType:e.type,columnWidth:e.width||"auto",children:[e.header," ",P(e.tooltip)]},t))]})}),[M,P]),z=(0,i.useMemo)(()=>M.every(e=>e.width&&"number"==typeof e.width),[M]),Z=(0,i.useMemo)(()=>(0,l.jsx)("tbody",{children:I.map((e,t)=>(0,l.jsx)(t4,{columns:M,rowIndex:t},t))}),[M,I]),H=(0,i.useMemo)(()=>M.filter(e=>"modal"===e.type).map((e,t)=>(0,l.jsx)(tB,{column:e},t)),[M]);return(0,l.jsxs)(tz,{items:I,children:[(0,l.jsx)(t3,{children:(0,l.jsxs)(t5,{hasExpandableRows:!!r,hasStaticWidth:z,minWidth:c,onKeyDown:j,onKeyUp:S,ref:u,tabIndex:0,children:[R,Z]})}),H]})}),t7=(0,i.createContext)(null),t6=(0,i.createContext)({toggleRowExpanded:"toggle row expanded"}),re={toggleRowExpanded:"toggle row expanded"},rt=(0,B.l)(e=>{let{localization:t=re,...r}=e,n=(0,i.useMemo)(()=>tM(),[]);return(0,l.jsx)(t7.Provider,{value:n,children:(0,l.jsx)(t6.Provider,{value:t,children:(0,l.jsx)(t8,{...r})})})});var rr=r(88926);let rn={optional:"optional",upload:"Upload",showLess:"Show less",showMore:"Show more",canNotUploadTheseFiles:"Can't upload these files"};var rl=r(76),ro=r(67013),ri=r(91458);let ra=e=>{let{actions:t,name:r,idx:n,isValid:o,previewSrc:a,onRemove:c,...s}=e,d=(0,i.useMemo)(()=>a?(0,l.jsx)(ri.v_,{alt:"preview",src:a}):(0,l.jsx)(rl.P,{"aria-hidden":!1,"aria-label":"file icon",color:"secondary50",role:"img",size:40}),[a]),u=(0,i.useMemo)(()=>t?(0,l.jsx)(S.L,{items:t,placement:"bottom-end",toggle:(0,l.jsx)(k.z,{iconOnly:(0,l.jsx)(E.m,{}),type:"button",variant:"utility"})}):(0,l.jsx)(k.z,{"aria-label":"remove ".concat(r),iconOnly:(0,l.jsx)(ro.p,{}),onClick:()=>c(r),type:"button",variant:"utility"}),[t,r,c]);return(0,l.jsxs)(ri.C7,{...s,alignItems:"center",isValid:o,justifyContent:"space-between",paddingHorizontal:"small",children:[d,(0,l.jsx)(ri.DX,{marginBottom:"none",marginLeft:"xSmall",marginRight:"auto",children:r}),u]})};var rc=r(76120);let rs=e=>e.type.startsWith("image/")?new Promise((t,r)=>{let n=new FileReader;n.onload=e=>{var r;t(null===(r=e.target)||void 0===r?void 0:r.result)},n.onerror=e=>{r(e)},n.readAsDataURL(e)}):Promise.resolve(null),rd=async e=>e.reduce(async(e,t,r)=>{let n=await e,l=await rs(t);return{...n,[r]:l}},Promise.resolve({})),ru=e=>{var t;let{accept:r,actions:n,description:o,disabled:a,dropzoneConfig:s={},error:d,files:u,label:m,labelId:h,localization:f=rn,multiple:p,previewHidden:g=!1,validators:v=[],onFilesChange:x,onFilesError:b,...y}=e,[w,C]=(0,i.useState)({}),[I,k]=(0,i.useState)(!1),E=(0,i.useRef)([]),j=(0,i.useId)(),S=null!==(t=y.id)&&void 0!==t?t:j,M=(0,i.useMemo)(()=>(0,rc.o)(u,v).reduce((e,t)=>{let{file:r,fileIdx:n,message:l,type:o}=t,i=e.find(e=>e.fileIdx===n);return i?(i.type=Array.isArray(i.type)?[...i.type,o]:[i.type,o],i.message=i.message?"".concat(i.message,", ").concat(l):l,e):[...e,{file:r,fileIdx:n,message:l,type:o}]},[]),[u,v]);(0,W.y)(S,p?void 0:d),(0,i.useEffect)(()=>{rd(u).then(e=>{C(e)})},[u]),(0,i.useEffect)(()=>{b&&(M.length>0||E.current.length>0&&0===M.length)&&(b(M),E.current=M)},[b,M]);let P=(0,i.useCallback)(e=>{let t=Array.from(e||[]);if(!p)return x([t[0]]);x([...u,...t])},[u,p,x]),R=(0,i.useCallback)((e,t)=>{x(u.filter((r,n)=>{let{name:l}=r;return!(e===l&&t===n)}))},[u,x]),z=(0,i.useMemo)(()=>m?"string"==typeof m?(0,l.jsx)(N.D,{htmlFor:S,localization:f,renderOptional:!y.required,children:m}):(0,i.isValidElement)(m)&&m.type===N.D?(0,i.cloneElement)(m,{id:h,htmlFor:S}):void(0,D.K)("label must be either a string or a FormControlLabel component."):null,[S,m,h,f,y.required]),Z=(0,i.useMemo)(()=>o?"string"==typeof o?(0,l.jsx)(A.K,{children:o}):(0,i.isValidElement)(o)&&o.type===A.K?o:void(0,D.K)("description must be either a string or a FormControlDescription component."):null,[o]),H=(0,i.useCallback)(e=>{e.preventDefault(),k(e=>!e)},[]),L=(0,i.useMemo)(()=>{if(!p||!d||0===d.length)return null;let e=Array.isArray(d)?d.map(e=>({text:e})):[{text:d}],t=e.slice(0,10),r=e.slice(10);return(0,l.jsx)(eI.g,{actions:r.length>0?[{iconRight:I?(0,l.jsx)(rr.Z,{}):(0,l.jsx)(c.h,{}),text:I?f.showLess:f.showMore,variant:"subtle",onClick:H}]:void 0,header:f.canNotUploadTheseFiles,marginVertical:"large",messages:[...t,...I?r:[]],type:"error"})},[d,H,I,f.canNotUploadTheseFiles,f.showLess,f.showMore,p]),V=(0,i.useCallback)((e,t)=>null==n?void 0:n.map(r=>{let{onItemClick:n,...l}=r;return{...l,onItemClick:()=>n(e,t)}}),[n]),B=(0,i.useMemo)(()=>{if(g)return null;if(!p&&u.length>0){let e=u[0],t=M.some(e=>{let{fileIdx:t}=e;return 0===t}),r=w[0];return(0,l.jsx)(ra,{actions:V(u[0],0),idx:0,isValid:!t,name:e.name,onRemove:e=>R(e,0),previewSrc:r})}let e=u.map((e,t)=>{let r=M.some(e=>{let{fileIdx:r}=e;return r===t}),n=w[t];return(0,l.jsx)("li",{children:(0,l.jsx)(ra,{actions:V(e,t),idx:t,isValid:!r,name:e.name,onRemove:e=>R(e,t),previewSrc:n})},t)});return(0,l.jsx)(ri.CK,{children:e})},[g,p,u,M,w,V,R]),T=(0,i.useMemo)(()=>{var e;if(!p&&u.length>0)return null;let t=!u.length&&(null!==(e=s.emptyHeight)&&void 0!==e?e:0)>=180?"block":"row";return(0,l.jsx)(ri.Fg,{accept:r,description:s.description,disabled:a,emptyHeight:u.length?void 0:s.emptyHeight,icon:s.icon,id:S,label:s.label,localization:f,multiple:p,onFilesChange:P,viewType:t})},[r,a,s.description,s.emptyHeight,s.icon,s.label,u.length,P,S,f,p]);return(0,l.jsxs)("div",{children:[z,Z,(0,l.jsxs)(ri.Iq,{children:[B,T]}),L]})};var rm=r(80752),rh=r(4994),rf=r(85988),rp=r(55315),rg=r(66337),rv=r(20312),rx=r.n(rv),rb=r(12090),ry=r.n(rb),rw=r(47486),rC=r(70126),rI=r(48976),rk=r(97894);let rE=(0,u.ZP)(rC.IF).withConfig({componentId:"sc-ddc6a9be-0"})(["background-color:",";color:",";font-size:",";margin-bottom:",";margin-top:",";padding:",";"],e=>{let{theme:t}=e;return t.colors.secondary70},e=>{let{theme:t}=e;return t.colors.danger},e=>{let{theme:t}=e;return t.typography.fontSize.small},e=>{let{theme:t}=e;return t.spacing.xxLarge},e=>{let{theme:t}=e;return t.spacing.xxLarge},e=>{let{theme:t}=e;return t.spacing.small}),rj={...n,...rg,React:i,useEffect:i.useEffect,useState:i.useState,styled:u.ZP};function rS(e,t){var r;if("string"!=typeof e)throw Error(" children must be of type string");if("tsx"===t)return e;let n=null!==(r=(0,o.transform)(e,{compact:!1,retainLines:!0,presets:[["typescript",{allExtensions:!0,isTSX:!0,jsxPragma:"preserve"}]]}).code)&&void 0!==r?r:e;return(0,rw.format)(n,{parser:"babel",plugins:[ry()],printWidth:100,singleQuote:!0,trailingComma:"all"})}function rM(e){try{var t;let r=(0,o.transform)(e,{presets:[["typescript",{allExtensions:!0,isTSX:!0}],"react"]});return null!==(t=r.code)&&void 0!==t?t:e}catch(t){return e}}let rP=e=>{let{children:t}=e,{theme:r,language:n}=(0,i.useContext)(rk.c),o=rS(t,n),[a,c]=(0,i.useState)(o),[s,d]=(0,i.useState)({...rj,...e.scope});return(0,i.useEffect)(()=>{d({...rj,...e.scope})},[e.scope,d]),(0,i.useEffect)(()=>{c(rS(t,n))},[t,n,c]),(0,l.jsx)(h.x,{border:"box",children:(0,l.jsxs)(rC.nu,{code:a,language:n,scope:s,theme:{...r,plain:{...r.plain,fontFamily:"monospace",whiteSpace:"pre-wrap"}},transformCode:rM,children:[(0,l.jsx)(h.x,{backgroundColor:"white",borderBottom:"box",padding:"medium",children:(0,l.jsx)(rC.i5,{})}),(0,l.jsx)(rI.W,{copyToClipboard:()=>rx()(a),resetCode:()=>c(o)}),(0,l.jsx)(h.x,{children:(0,l.jsx)(rC.uz,{onChange:c,style:r.plain})}),(0,l.jsx)(rE,{})]})})}},48976:function(e,t,r){r.d(t,{W:function(){return y}});var n=r(97458),l=r(83273),o=r(89983),i=r(86773),a=r(1401),c=r(57547),s=r(62442),d=r(9197),u=r(52983),m=r(18308);let h=(0,u.memo)(e=>{let{title:t,theme:r,...l}=e;return(0,n.jsxs)("svg",{fill:"currentColor",height:80,preserveAspectRatio:"xMinYMin meet",stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 256 256",width:80,...l,children:[(0,n.jsx)("title",{children:t}),(0,n.jsx)("path",{d:"M0 0h256v256H0z",fill:"#f7df1e"}),(0,n.jsx)("path",{d:"M67.312 213.932l19.59-11.856c3.78 6.701 7.218 12.371 15.465 12.371 7.905 0 12.89-3.092 12.89-15.12v-81.798h24.057v82.138c0 24.917-14.606 36.259-35.916 36.259-19.245 0-30.416-9.967-36.087-21.996m85.07-2.576l19.588-11.341c5.157 8.421 11.859 14.607 23.715 14.607 9.969 0 16.325-4.984 16.325-11.858 0-8.248-6.53-11.17-17.528-15.98l-6.013-2.58c-17.357-7.387-28.87-16.667-28.87-36.257 0-18.044 13.747-31.792 35.228-31.792 15.294 0 26.292 5.328 34.196 19.247l-18.732 12.03c-4.125-7.389-8.591-10.31-15.465-10.31-7.046 0-11.514 4.468-11.514 10.31 0 7.217 4.468 10.14 14.778 14.608l6.014 2.577c20.45 8.765 31.963 17.7 31.963 37.804 0 21.654-17.012 33.51-39.867 33.51-22.339 0-36.774-10.654-43.819-24.574",fill:"#000"})]})}),f=(0,m.V)(h),p=(0,u.memo)(e=>{let{title:t,theme:r,...l}=e;return(0,n.jsxs)("svg",{fill:"currentColor",height:80,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 128 128",width:80,...l,children:[(0,n.jsx)("title",{children:t}),(0,n.jsx)("path",{d:"M22.67 47h99.67v73.67H22.67z",fill:"#fff"}),(0,n.jsx)("path",{d:"M1.5 63.91v62.5h125v-125H1.5zm100.73-5a15.56 15.56 0 017.82 4.5 20.58 20.58 0 013 4c0 .16-5.4 3.81-8.69 5.85-.12.08-.6-.44-1.13-1.23a7.09 7.09 0 00-5.87-3.53c-3.79-.26-6.23 1.73-6.21 5a4.58 4.58 0 00.54 2.34c.83 1.73 2.38 2.76 7.24 4.86 8.95 3.85 12.78 6.39 15.16 10 2.66 4 3.25 10.46 1.45 15.24-2 5.2-6.9 8.73-13.83 9.9a38.32 38.32 0 01-9.52-.1 23 23 0 01-12.72-6.63c-1.15-1.27-3.39-4.58-3.25-4.82a9.34 9.34 0 011.15-.73L82 101l3.59-2.08.75 1.11a16.78 16.78 0 004.74 4.54c4 2.1 9.46 1.81 12.16-.62a5.43 5.43 0 00.69-6.92c-1-1.39-3-2.56-8.59-5-6.45-2.78-9.23-4.5-11.77-7.24a16.48 16.48 0 01-3.43-6.25 25 25 0 01-.22-8c1.33-6.23 6-10.58 12.82-11.87a31.66 31.66 0 019.49.26zm-29.34 5.24v5.12H56.66v46.23H45.15V69.26H28.88v-5a49.19 49.19 0 01.12-5.17C29.08 59 39 59 51 59h21.83z","data-name":"original",fill:"#007acc"})]})}),g=(0,m.V)(p);var v=r(97894),x=r(39270);let b=(0,r(57931).ZP)(x.k).withConfig({componentId:"sc-bcd98922-0"})(["flex-direction:row;"]),y=e=>{let{copyToClipboard:t,helperText:r,resetCode:m}=e,[h,p]=(0,u.useState)(!1),{toggleTheme:x,setLanguage:y}=(0,u.useContext)(v.c);return(0,n.jsxs)(b,{alignItems:"center",backgroundColor:"secondary20",borderBottom:"box",justifyContent:"flex-end",style:{zIndex:999},children:[(0,n.jsx)(l.B,{flexGrow:1,children:(0,n.jsx)(o.x4,{marginHorizontal:"small",children:r})}),(0,n.jsx)(l.B,{borderLeft:"box",children:(0,n.jsx)(i.z,{iconOnly:(0,n.jsx)(g,{}),onClick:()=>y("tsx"),variant:"subtle"})}),(0,n.jsx)(l.B,{borderLeft:"box",children:(0,n.jsx)(i.z,{iconOnly:(0,n.jsx)(f,{}),onClick:()=>y("jsx"),variant:"subtle"})}),(0,n.jsx)(l.B,{borderLeft:"box",children:(0,n.jsx)(i.z,{disabled:h,iconOnly:h?(0,n.jsx)(a.n,{color:"success",title:"Copying"}):(0,n.jsx)(c.P,{color:"secondary60",title:"Copy"}),onClick:()=>{p(!0),t(),setTimeout(()=>{p(!1)},1e3)},variant:"subtle"})}),m&&(0,n.jsx)(l.B,{borderLeft:"box",children:(0,n.jsx)(i.z,{iconOnly:(0,n.jsx)(s.v,{color:"secondary60",title:"Reset"}),onClick:m,variant:"subtle"})}),(0,n.jsx)(l.B,{borderLeft:"box",children:(0,n.jsx)(i.z,{iconOnly:(0,n.jsx)(d.u,{color:"secondary60",title:"Toggle Theme"}),onClick:x,variant:"subtle"})})]})};y.defaultProps={helperText:"Edit the code below to see your changes live!"}}}]); \ No newline at end of file diff --git a/_next/static/chunks/38fadf3d-a61e3041f57fc947.js b/_next/static/chunks/38fadf3d-a61e3041f57fc947.js new file mode 100644 index 000000000..1a6e65a6b --- /dev/null +++ b/_next/static/chunks/38fadf3d-a61e3041f57fc947.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3599],{71471:function(e,r,t){t.d(r,{Z5:function(){return ng},_l:function(){return nX},bK:function(){return nQ}});var n,i,a,o,l,c,u,d,s=t(52983),p=t(138),f=t(43131),g=t(61758),m=t(19030),v=t(13431),b=t(45314),h=t(31728),I=t(28349),y=t(63730),D=/[ \t]{2,}/g,x=/^[ \t]*/gm;function E(e,r){}function C(){}function w(e,r,t){var n=r.map(function(r){var n,i=(n=r.options,(0,f.Z)({},t,{},n));return e.addEventListener(r.eventName,r.fn,i),function(){e.removeEventListener(r.eventName,r.fn,i)}});return function(){n.forEach(function(e){e()})}}function A(e){this.message=e}function R(e,r){if(!e)throw new A("Invariant failed")}E.bind(null,"warn"),E.bind(null,"error"),A.prototype.toString=function(){return this.message};var S=function(e){function r(){for(var r,t=arguments.length,n=Array(t),i=0;i");return r.callbacks},r.setCallbacks=function(e){r.callbacks=e},r}(0,p.Z)(r,e);var t=r.prototype;return t.componentDidMount=function(){this.unbind=w(window,[{eventName:"error",fn:this.onWindowError}])},t.componentDidCatch=function(e){if(e instanceof A){this.setState({});return}throw e},t.componentWillUnmount=function(){this.unbind()},t.render=function(){return this.props.children(this.setCallbacks)},r}(s.Component),N=function(e){return e+1},P=function(e,r){var t=e.droppableId===r.droppableId,n=N(e.index),i=N(r.index);return t?"\n You have moved the item from position "+n+"\n to position "+i+"\n ":"\n You have moved the item from position "+n+"\n in list "+e.droppableId+"\n to list "+r.droppableId+"\n in position "+i+"\n "},B=function(e,r,t){return r.droppableId===t.droppableId?"\n The item "+e+"\n has been combined with "+t.draggableId:"\n The item "+e+"\n in list "+r.droppableId+"\n has been combined with "+t.draggableId+"\n in list "+t.droppableId+"\n "},O=function(e){return"\n The item has returned to its starting position\n of "+N(e.index)+"\n"},T={dragHandleUsageInstructions:"\n Press space bar to start a drag.\n When dragging you can use the arrow keys to move the item around and escape to cancel.\n Some screen readers may require you to be in focus mode or to use your pass through key\n",onDragStart:function(e){return"\n You have lifted an item in position "+N(e.source.index)+"\n"},onDragUpdate:function(e){var r=e.destination;if(r)return P(e.source,r);var t=e.combine;return t?B(e.draggableId,e.source,t):"You are over an area that cannot be dropped on"},onDragEnd:function(e){if("CANCEL"===e.reason)return"\n Movement cancelled.\n "+O(e.source)+"\n ";var r=e.destination,t=e.combine;return r?"\n You have dropped the item.\n "+P(e.source,r)+"\n ":t?"\n You have dropped the item.\n "+B(e.draggableId,e.source,t)+"\n ":"\n The item has been dropped while not over a drop area.\n "+O(e.source)+"\n "}},L={x:0,y:0},G=function(e,r){return{x:e.x+r.x,y:e.y+r.y}},M=function(e,r){return{x:e.x-r.x,y:e.y-r.y}},_=function(e,r){return e.x===r.x&&e.y===r.y},F=function(e){return{x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}},k=function(e,r,t){var n;return void 0===t&&(t=0),(n={})[e]=r,n["x"===e?"y":"x"]=t,n},W=function(e,r){return Math.sqrt(Math.pow(r.x-e.x,2)+Math.pow(r.y-e.y,2))},U=function(e,r){return Math.min.apply(Math,r.map(function(r){return W(e,r)}))},Z=function(e){return function(r){return{x:e(r.x),y:e(r.y)}}},H=function(e,r){var t=(0,b.Dz)({top:Math.max(r.top,e.top),right:Math.min(r.right,e.right),bottom:Math.min(r.bottom,e.bottom),left:Math.max(r.left,e.left)});return t.width<=0||t.height<=0?null:t},j=function(e,r){return{top:e.top+r.y,left:e.left+r.x,bottom:e.bottom+r.y,right:e.right+r.x}},Y=function(e){return[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.left,y:e.bottom},{x:e.right,y:e.bottom}]},V=function(e,r,t){if(t&&t.increasedBy){var n;return(0,f.Z)({},e,((n={})[r.end]=e[r.end]+t.increasedBy[r.line],n))}return e},z=function(e){var r,t,n=e.page,i=e.withPlaceholder,a=e.axis,o=e.frame,l=(t=V((r=n.marginBox,o?j(r,o.scroll.diff.displacement):r),a,i),o&&o.shouldClipSubject?H(o.pageMarginBox,t):(0,b.Dz)(t));return{page:n,withPlaceholder:i,active:l}},q=function(e,r){e.frame||R(!1);var t=e.frame,n=M(r,t.scroll.initial),i=F(n),a=(0,f.Z)({},t,{scroll:{initial:t.scroll.initial,current:r,diff:{value:n,displacement:i},max:t.scroll.max}}),o=z({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:a});return(0,f.Z)({},e,{frame:a,subject:o})};function J(e){return Object.values?Object.values(e):Object.keys(e).map(function(r){return e[r]})}function X(e,r){if(e.findIndex)return e.findIndex(r);for(var t=0;te.bottom,l=n.lefte.right;return!!o&&!!l||o&&a||l&&i}},eg=function(e){var r=ep(e.top,e.bottom),t=ep(e.left,e.right);return function(e){return r(e.top)&&r(e.bottom)&&t(e.left)&&t(e.right)}},em={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},ev={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},eb=function(e){var r=e.target,t=e.destination,n=e.viewport,i=e.withDroppableDisplacement,a=e.isVisibleThroughFrameFn,o=i?j(r,t.frame?t.frame.scroll.diff.displacement:L):r;return!!t.subject.active&&a(t.subject.active)(o)&&a(n)(o)},eh=function(e){return eb((0,f.Z)({},e,{isVisibleThroughFrameFn:eg}))},eI=function(e){var r;return eb((0,f.Z)({},e,{isVisibleThroughFrameFn:(r=e.destination.axis,function(e){var t=ep(e.top,e.bottom),n=ep(e.left,e.right);return function(e){return r===em?t(e.top)&&t(e.bottom):n(e.left)&&n(e.right)}})}))},ey=function(e,r,t){if("boolean"==typeof t)return t;if(!r)return!0;var n=r.invisible,i=r.visible;if(n[e])return!1;var a=i[e];return!a||a.shouldAnimate};function eD(e){var r=e.afterDragging,t=e.destination,n=e.displacedBy,i=e.viewport,a=e.forceShouldAnimate,o=e.last;return r.reduce(function(e,r){var l,c,u,d=(l=r.page.marginBox,c={top:n.point.y,right:0,bottom:0,left:n.point.x},(0,b.Dz)((0,b.jn)(l,c))),s=r.descriptor.id;if(e.all.push(s),u={target:d,destination:t,viewport:i,withDroppableDisplacement:!0},!eb((0,f.Z)({},u,{isVisibleThroughFrameFn:ef})))return e.invisible[r.descriptor.id]=!0,e;var p=ey(s,o,a);return e.visible[s]={draggableId:s,shouldAnimate:p},e},{all:[],visible:{},invisible:{}})}function ex(e){var r=e.insideDestination,t=e.inHomeList,n=e.displacedBy,i=e.destination,a=function(e,r){if(!e.length)return 0;var t=e[e.length-1].descriptor.index;return r.inHomeList?t:t+1}(r,{inHomeList:t});return{displaced:ed,displacedBy:n,at:{type:"REORDER",destination:{droppableId:i.descriptor.id,index:a}}}}function eE(e){var r=e.draggable,t=e.insideDestination,n=e.destination,i=e.viewport,a=e.displacedBy,o=e.last,l=e.index,c=e.forceShouldAnimate,u=ec(r,n);if(null==l)return ex({insideDestination:t,inHomeList:u,displacedBy:a,destination:n});var d=K(t,function(e){return e.descriptor.index===l});if(!d)return ex({insideDestination:t,inHomeList:u,displacedBy:a,destination:n});var s=eo(r,t),p=t.indexOf(d);return{displaced:eD({afterDragging:s.slice(p),destination:n,displacedBy:a,last:o,viewport:i.frame,forceShouldAnimate:c}),displacedBy:a,at:{type:"REORDER",destination:{droppableId:n.descriptor.id,index:l}}}}function eC(e,r){return!!r.effected[e]}var ew=function(e){var r=e.isMovingForward,t=e.destination,n=e.draggables,i=e.combine,a=e.afterCritical;if(!t.isCombineEnabled)return null;var o=i.draggableId,l=n[o].descriptor.index;return eC(o,a)?r?l:l-1:r?l+1:l},eA=function(e){var r=e.isMovingForward,t=e.isInHomeList,n=e.insideDestination,i=e.location;if(!n.length)return null;var a=i.index,o=r?a+1:a-1,l=n[0].descriptor.index,c=n[n.length-1].descriptor.index;return o(t?c:c+1)?null:o},eR=function(e){var r=e.isMovingForward,t=e.isInHomeList,n=e.draggable,i=e.draggables,a=e.destination,o=e.insideDestination,l=e.previousImpact,c=e.viewport,u=e.afterCritical,d=l.at;if(d||R(!1),"REORDER"===d.type){var s=eA({isMovingForward:r,isInHomeList:t,location:d.destination,insideDestination:o});return null==s?null:eE({draggable:n,insideDestination:o,destination:a,viewport:c,last:l.displaced,displacedBy:l.displacedBy,index:s})}var p=ew({isMovingForward:r,destination:a,displaced:l.displaced,draggables:i,combine:d.combine,afterCritical:u});return null==p?null:eE({draggable:n,insideDestination:o,destination:a,viewport:c,last:l.displaced,displacedBy:l.displacedBy,index:p})},eS=function(e){var r=e.displaced,t=e.afterCritical,n=e.combineWith,i=e.displacedBy,a=!!(r.visible[n]||r.invisible[n]);return eC(n,t)?a?L:F(i.point):a?i.point:L},eN=function(e){var r=e.afterCritical,t=e.impact,n=e.draggables,i=ea(t);i||R(!1);var a=i.draggableId;return G(n[a].page.borderBox.center,eS({displaced:t.displaced,afterCritical:r,combineWith:a,displacedBy:t.displacedBy}))},eP=function(e,r){return r.margin[e.start]+r.borderBox[e.size]/2},eB=function(e,r,t){return r[e.crossAxisStart]+t.margin[e.crossAxisStart]+t.borderBox[e.crossAxisSize]/2},eO=function(e){var r=e.axis,t=e.moveRelativeTo,n=e.isMoving;return k(r.line,t.marginBox[r.end]+eP(r,n),eB(r,t.marginBox,n))},eT=function(e){var r=e.axis,t=e.moveRelativeTo,n=e.isMoving;return k(r.line,t.marginBox[r.start]-(n.margin[r.end]+n.borderBox[r.size]/2),eB(r,t.marginBox,n))},eL=function(e){var r=e.axis,t=e.moveInto,n=e.isMoving;return k(r.line,t.contentBox[r.start]+eP(r,n),eB(r,t.contentBox,n))},eG=function(e){var r=e.impact,t=e.draggable,n=e.draggables,i=e.droppable,a=e.afterCritical,o=en(i.descriptor.id,n),l=t.page,c=i.axis;if(!o.length)return eL({axis:c,moveInto:i.page,isMoving:l});var u=r.displaced,d=r.displacedBy,s=u.all[0];if(s){var p=n[s];return eC(s,a)?eT({axis:c,moveRelativeTo:p.page,isMoving:l}):eT({axis:c,moveRelativeTo:(0,b.cv)(p.page,d.point),isMoving:l})}var f=o[o.length-1];return f.descriptor.id===t.descriptor.id?l.borderBox.center:eC(f.descriptor.id,a)?eO({axis:c,moveRelativeTo:(0,b.cv)(f.page,F(a.displacedBy.point)),isMoving:l}):eO({axis:c,moveRelativeTo:f.page,isMoving:l})},eM=function(e,r){var t=e.frame;return t?G(r,t.scroll.diff.displacement):r},e_=function(e){var r=e.impact,t=e.draggable,n=e.droppable,i=e.draggables,a=e.afterCritical,o=t.page.borderBox.center,l=r.at;return n&&l?"REORDER"===l.type?eG({impact:r,draggable:t,draggables:i,droppable:n,afterCritical:a}):eN({impact:r,draggables:i,afterCritical:a}):o},eF=function(e){var r=e_(e),t=e.droppable;return t?eM(t,r):r},ek=function(e,r){var t=M(r,e.scroll.initial),n=F(t);return{frame:(0,b.Dz)({top:r.y,bottom:r.y+e.frame.height,left:r.x,right:r.x+e.frame.width}),scroll:{initial:e.scroll.initial,max:e.scroll.max,current:r,diff:{value:t,displacement:n}}}};function eW(e,r){return e.map(function(e){return r[e]})}var eU=function(e){var r=e.impact,t=e.viewport,n=e.destination,i=e.draggables,a=e.maxScrollChange,o=ek(t,G(t.scroll.current,a)),l=n.frame?q(n,G(n.frame.scroll.current,a)):n,c=r.displaced,u=eD({afterDragging:eW(c.all,i),destination:n,displacedBy:r.displacedBy,viewport:o.frame,last:c,forceShouldAnimate:!1}),d=eD({afterDragging:eW(c.all,i),destination:l,displacedBy:r.displacedBy,viewport:t.frame,last:c,forceShouldAnimate:!1}),s={},p={},g=[c,u,d];return c.all.forEach(function(e){var r=function(e,r){for(var t=0;t1?d.sort(function(e,r){return eY(e)[l.start]-eY(r)[l.start]})[0]:u.sort(function(e,r){var n=U(t,Y(eY(e))),i=U(t,Y(eY(r)));return n!==i?n-i:eY(e)[l.start]-eY(r)[l.start]})[0]},ez=function(e,r){var t=e.page.borderBox.center;return eC(e.descriptor.id,r)?M(t,r.displacedBy.point):t},eq=function(e,r){var t=e.page.borderBox;return eC(e.descriptor.id,r)?j(t,F(r.displacedBy.point)):t},eJ=function(e){var r=e.pageBorderBoxCenter,t=e.viewport,n=e.destination,i=e.insideDestination,a=e.afterCritical;return i.filter(function(e){return eh({target:eq(e,a),destination:n,viewport:t.frame,withDroppableDisplacement:!0})}).sort(function(e,t){var i=W(r,eM(n,ez(e,a))),o=W(r,eM(n,ez(t,a)));return it.descriptor.index?n.descriptor.index-1:n.descriptor.index:null);return eE({draggable:o,insideDestination:c,destination:l,viewport:d,last:u,displacedBy:f,index:h})},rt=function(e){var r=e.draggable,t=e.pageBorderBoxWithDroppableScroll,n=e.previousImpact,i=e.destination,a=e.insideDestination,o=e.afterCritical;if(!i.isCombineEnabled)return null;var l=i.axis,c=eX(i.axis,r.displaceBy),u=c.value,d=t[l.start],s=t[l.end],p=K(eo(r,a),function(e){var r=e.descriptor.id,t=e.page.borderBox,i=t[l.size]/4,a=eC(r,o),c=re({displaced:n.displaced,id:r});return a?c?s>t[l.start]+i&&st[l.start]-u+i&&dt[l.start]+u+i&&st[l.start]+i&&dr.left)||!(c.topr.top))return!1;if(e8(r)(c.center))return!0;var t=e.axis,n=r.center[t.crossAxisLine],i=c[t.crossAxisStart],a=c[t.crossAxisEnd],o=ep(r[t.crossAxisStart],r[t.crossAxisEnd]),l=o(i),u=o(a);return!l&&!u||(l?in)})).length?1===d.length?d[0].descriptor.id:(n=(t={pageBorderBox:c,draggable:u,candidates:d}).pageBorderBox,i=t.draggable,a=t.candidates,o=i.page.borderBox.center,(l=a.map(function(e){var r=e.axis,t=k(e.axis.line,n.center[r.line],e.page.borderBox.center[r.crossAxisLine]);return{id:e.descriptor.id,distance:W(o,t)}}).sort(function(e,r){return r.distance-e.distance}))[0]?l[0].id:null):null);if(!I)return es;var y=g[I],D=en(y.descriptor.id,f),x=e6(y,h);return rt({pageBorderBoxWithDroppableScroll:x,draggable:p,previousImpact:m,destination:y,insideDestination:D,afterCritical:b})||rr({pageBorderBoxWithDroppableScroll:x,draggable:p,destination:y,insideDestination:D,last:m.displaced,viewport:v,afterCritical:b})},ri=function(e,r){var t;return(0,f.Z)({},e,((t={})[r.descriptor.id]=r,t))},ra=function(e){var r=e.previousImpact,t=e.impact,n=e.droppables,i=e3(r),a=e3(t);if(!i||i===a)return n;var o=n[i];return o.subject.withPlaceholder?ri(n,e0(o)):n},ro=function(e){var r=e.draggable,t=e.draggables,n=e.droppables,i=e.previousImpact,a=e.impact,o=ra({previousImpact:i,impact:a,droppables:n}),l=e3(a);if(!l)return o;var c=n[l];return ec(r,c)||c.subject.withPlaceholder?o:ri(o,eQ(c,r,t))},rl=function(e){var r=e.state,t=e.clientSelection,n=e.dimensions,i=e.viewport,a=e.impact,o=e.scrollJumpRequest,l=i||r.viewport,c=n||r.dimensions,u=t||r.current.client.selection,d=M(u,r.initial.client.selection),s={offset:d,selection:u,borderBoxCenter:G(r.initial.client.borderBoxCenter,d)},p={selection:G(s.selection,l.scroll.current),borderBoxCenter:G(s.borderBoxCenter,l.scroll.current),offset:G(s.offset,l.scroll.diff.value)},g={client:s,page:p};if("COLLECTING"===r.phase)return(0,f.Z)({phase:"COLLECTING"},r,{dimensions:c,viewport:l,current:g});var m=c.draggables[r.critical.draggable.id],v=a||rn({pageOffset:p.offset,draggable:m,draggables:c.draggables,droppables:c.droppables,previousImpact:r.impact,viewport:l,afterCritical:r.afterCritical}),b=ro({draggable:m,impact:v,previousImpact:r.impact,draggables:c.draggables,droppables:c.droppables});return(0,f.Z)({},r,{current:g,dimensions:{draggables:c.draggables,droppables:b},impact:v,viewport:l,scrollJumpRequest:o||null,forceShouldAnimate:!o&&null})},rc=function(e){var r=e.impact,t=e.viewport,n=e.draggables,i=e.destination,a=e.forceShouldAnimate,o=r.displaced,l=eD({afterDragging:o.all.map(function(e){return n[e]}),destination:i,displacedBy:r.displacedBy,viewport:t.frame,forceShouldAnimate:a,last:o});return(0,f.Z)({},r,{displaced:l})},ru=function(e){var r=e.impact,t=e.draggable,n=e.droppable,i=e.draggables,a=e.viewport;return eZ({pageBorderBoxCenter:eF({impact:r,draggable:t,draggables:i,droppable:n,afterCritical:e.afterCritical}),draggable:t,viewport:a})},rd=function(e){var r=e.state,t=e.dimensions,n=e.viewport;"SNAP"!==r.movementMode&&R(!1);var i=r.impact,a=n||r.viewport,o=t||r.dimensions,l=o.draggables,c=o.droppables,u=l[r.critical.draggable.id],d=e3(i);d||R(!1);var s=c[d],p=rc({impact:i,viewport:a,destination:s,draggables:l}),f=ru({impact:p,draggable:u,droppable:s,draggables:l,viewport:a,afterCritical:r.afterCritical});return rl({impact:p,clientSelection:f,state:r,dimensions:o,viewport:a})},rs=function(e){var r,t=e.draggable,n=e.home,i=e.draggables,a=e.viewport,o=eX(n.axis,t.displaceBy),l=en(n.descriptor.id,i),c=l.indexOf(t);-1!==c||R(!1);var u=l.slice(c+1),d=u.reduce(function(e,r){return e[r.descriptor.id]=!0,e},{}),s={inVirtualList:"virtual"===n.descriptor.mode,displacedBy:o,effected:d};return{impact:{displaced:eD({afterDragging:u,destination:n,displacedBy:o,last:null,viewport:a.frame,forceShouldAnimate:!1}),displacedBy:o,at:{type:"REORDER",destination:{index:(r=t.descriptor).index,droppableId:r.droppableId}}},afterCritical:s}},rp=function(e){},rf=function(e){},rg=function(e){var r=e.draggable,t=e.offset,n=e.initialWindowScroll,i=(0,b.cv)(r.client,t),a=(0,b.oc)(i,n);return(0,f.Z)({},r,{placeholder:(0,f.Z)({},r.placeholder,{client:i}),client:i,page:a})},rm=function(e){var r=e.frame;return r||R(!1),r},rv=function(e){var r=e.additions,t=e.updatedDroppables,n=e.viewport,i=n.scroll.diff.value;return r.map(function(e){var r=G(i,rm(t[e.descriptor.droppableId]).scroll.diff.value);return rg({draggable:e,offset:r,initialWindowScroll:n.scroll.initial})})},rb=function(e){var r=e.state,t=e.published;rp();var n=t.modified.map(function(e){return q(r.dimensions.droppables[e.droppableId],e.scroll)}),i=(0,f.Z)({},r.dimensions.droppables,{},Q(n)),a=ee(rv({additions:t.additions,updatedDroppables:i,viewport:r.viewport})),o=(0,f.Z)({},r.dimensions.draggables,{},a);t.removals.forEach(function(e){delete o[e]});var l={droppables:i,draggables:o},c=e3(r.impact),u=c?l.droppables[c]:null,d=rs({draggable:l.draggables[r.critical.draggable.id],home:l.droppables[r.critical.droppable.id],draggables:o,viewport:r.viewport}),s=d.impact,p=d.afterCritical,g=u&&u.isCombineEnabled?r.impact:s,m=rn({pageOffset:r.current.page.offset,draggable:l.draggables[r.critical.draggable.id],draggables:l.draggables,droppables:l.droppables,previousImpact:g,viewport:r.viewport,afterCritical:p});rf();var v=(0,f.Z)({phase:"DRAGGING"},r,{phase:"DRAGGING",impact:m,onLiftImpact:s,dimensions:l,afterCritical:p,forceShouldAnimate:!1});return"COLLECTING"===r.phase?v:(0,f.Z)({phase:"DROP_PENDING"},v,{phase:"DROP_PENDING",reason:r.reason,isWaiting:!1})},rh=function(e){return"SNAP"===e.movementMode},rI=function(e,r,t){var n,i={draggables:(n=e.dimensions).draggables,droppables:ri(n.droppables,r)};return!rh(e)||t?rl({state:e,dimensions:i}):rd({state:e,dimensions:i})};function ry(e){return e.isDragging&&"SNAP"===e.movementMode?(0,f.Z)({phase:"DRAGGING"},e,{scrollJumpRequest:null}):e}var rD={phase:"IDLE",completed:null,shouldFlush:!1},rx=function(e,r){if(void 0===e&&(e=rD),"FLUSH"===r.type)return(0,f.Z)({},rD,{shouldFlush:!0});if("INITIAL_PUBLISH"===r.type){"IDLE"!==e.phase&&R(!1);var t=r.payload,n=t.critical,i=t.clientSelection,a=t.viewport,o=t.dimensions,l=t.movementMode,c=o.draggables[n.draggable.id],u=o.droppables[n.droppable.id],d={selection:i,borderBoxCenter:c.client.borderBox.center,offset:L},s={client:d,page:{selection:G(d.selection,a.scroll.initial),borderBoxCenter:G(d.selection,a.scroll.initial),offset:G(d.selection,a.scroll.diff.value)}},p=er(o.droppables).every(function(e){return!e.isFixedOnPage}),g=rs({draggable:c,home:u,draggables:o.draggables,viewport:a}),m=g.impact;return{phase:"DRAGGING",isDragging:!0,critical:n,movementMode:l,dimensions:o,initial:s,current:s,isWindowScrollAllowed:p,impact:m,afterCritical:g.afterCritical,onLiftImpact:m,viewport:a,scrollJumpRequest:null,forceShouldAnimate:null}}if("COLLECTION_STARTING"===r.type)return"COLLECTING"===e.phase||"DROP_PENDING"===e.phase?e:("DRAGGING"!==e.phase&&R(!1),(0,f.Z)({phase:"COLLECTING"},e,{phase:"COLLECTING"}));if("PUBLISH_WHILE_DRAGGING"===r.type)return"COLLECTING"===e.phase||"DROP_PENDING"===e.phase||R(!1),rb({state:e,published:r.payload});if("MOVE"===r.type){if("DROP_PENDING"===e.phase)return e;e7(e)||R(!1);var v=r.payload.client;return _(v,e.current.client.selection)?e:rl({state:e,clientSelection:v,impact:rh(e)?e.impact:null})}if("UPDATE_DROPPABLE_SCROLL"===r.type){if("DROP_PENDING"===e.phase||"COLLECTING"===e.phase)return ry(e);e7(e)||R(!1);var b=r.payload,h=b.id,I=b.newScroll,y=e.dimensions.droppables[h];return y?rI(e,q(y,I),!1):e}if("UPDATE_DROPPABLE_IS_ENABLED"===r.type){if("DROP_PENDING"===e.phase)return e;e7(e)||R(!1);var D=r.payload,x=D.id,E=D.isEnabled,C=e.dimensions.droppables[x];return C||R(!1),C.isEnabled!==E||R(!1),rI(e,(0,f.Z)({},C,{isEnabled:E}),!0)}if("UPDATE_DROPPABLE_IS_COMBINE_ENABLED"===r.type){if("DROP_PENDING"===e.phase)return e;e7(e)||R(!1);var w=r.payload,A=w.id,S=w.isCombineEnabled,N=e.dimensions.droppables[A];return N||R(!1),N.isCombineEnabled!==S||R(!1),rI(e,(0,f.Z)({},N,{isCombineEnabled:S}),!0)}if("MOVE_BY_WINDOW_SCROLL"===r.type){if("DROP_PENDING"===e.phase||"DROP_ANIMATING"===e.phase)return e;e7(e)||R(!1),e.isWindowScrollAllowed||R(!1);var P=r.payload.newScroll;if(_(e.viewport.scroll.current,P))return ry(e);var B=ek(e.viewport,P);return rh(e)?rd({state:e,viewport:B}):rl({state:e,viewport:B})}if("UPDATE_VIEWPORT_MAX_SCROLL"===r.type){if(!e7(e))return e;var O=r.payload.maxScroll;if(_(O,e.viewport.scroll.max))return e;var T=(0,f.Z)({},e.viewport,{scroll:(0,f.Z)({},e.viewport.scroll,{max:O})});return(0,f.Z)({phase:"DRAGGING"},e,{viewport:T})}if("MOVE_UP"===r.type||"MOVE_DOWN"===r.type||"MOVE_LEFT"===r.type||"MOVE_RIGHT"===r.type){if("COLLECTING"===e.phase||"DROP_PENDING"===e.phase)return e;"DRAGGING"!==e.phase&&R(!1);var M=e5({state:e,type:r.type});return M?rl({state:e,impact:M.impact,clientSelection:M.clientSelection,scrollJumpRequest:M.scrollJumpRequest}):e}if("DROP_PENDING"===r.type){var F=r.payload.reason;return"COLLECTING"!==e.phase&&R(!1),(0,f.Z)({phase:"DROP_PENDING"},e,{phase:"DROP_PENDING",isWaiting:!0,reason:F})}if("DROP_ANIMATE"===r.type){var k=r.payload,W=k.completed,U=k.dropDuration,Z=k.newHomeClientOffset;return"DRAGGING"===e.phase||"DROP_PENDING"===e.phase||R(!1),{phase:"DROP_ANIMATING",completed:W,dropDuration:U,newHomeClientOffset:Z,dimensions:e.dimensions}}return"DROP_COMPLETE"===r.type?{phase:"IDLE",completed:r.payload.completed,shouldFlush:!1}:e},rE=function(e){return{type:"PUBLISH_WHILE_DRAGGING",payload:e}},rC=function(){return{type:"COLLECTION_STARTING",payload:null}},rw=function(e){return{type:"UPDATE_DROPPABLE_SCROLL",payload:e}},rA=function(e){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:e}},rR=function(e){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:e}},rS=function(e){return{type:"MOVE",payload:e}},rN=function(){return{type:"MOVE_UP",payload:null}},rP=function(){return{type:"MOVE_DOWN",payload:null}},rB=function(){return{type:"MOVE_RIGHT",payload:null}},rO=function(){return{type:"MOVE_LEFT",payload:null}},rT=function(){return{type:"FLUSH",payload:null}},rL=function(e){return{type:"DROP_COMPLETE",payload:e}},rG=function(e){return{type:"DROP",payload:e}},rM=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}},r_={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},rF={opacity:{drop:0,combining:.7},scale:{drop:.75}},rk="0.2s "+r_.outOfTheWay,rW={fluid:"opacity "+rk,snap:"transform "+rk+", opacity "+rk,drop:function(e){var r=e+"s "+r_.drop;return"transform "+r+", opacity "+r},outOfTheWay:"transform "+rk,placeholder:"height "+rk+", width "+rk+", margin "+rk},rU=function(e){return _(e,L)?null:"translate("+e.x+"px, "+e.y+"px)"},rZ={moveTo:rU,drop:function(e,r){var t=rU(e);return t?r?t+" scale("+rF.scale.drop+")":t:null}},rH=function(e){var r=e.current,t=e.destination,n=e.reason,i=W(r,t);if(i<=0)return .33;if(i>=1500)return .55;var a=.33+i/1500*.22000000000000003;return Number(("CANCEL"===n?.6*a:a).toFixed(2))},rj=function(e){var r=e.impact,t=e.draggable,n=e.dimensions,i=e.viewport,a=e.afterCritical,o=n.draggables,l=n.droppables,c=e3(r),u=c?l[c]:null,d=l[t.descriptor.droppableId];return M(ru({impact:r,draggable:t,draggables:o,afterCritical:a,droppable:u||d,viewport:i}),t.client.borderBox.center)},rY=function(e){var r=e.draggables,t=e.reason,n=e.lastImpact,i=e.home,a=e.viewport,o=e.onLiftImpact;return n.at&&"DROP"===t?"REORDER"===n.at.type?{impact:n,didDropInsideDroppable:!0}:{impact:(0,f.Z)({},n,{displaced:ed}),didDropInsideDroppable:!0}:{impact:rc({draggables:r,impact:o,destination:i,viewport:a,forceShouldAnimate:!0}),didDropInsideDroppable:!1}},rV=function(e){var r=e.getState,t=e.dispatch;return function(e){return function(n){if("DROP"!==n.type){e(n);return}var i=r(),a=n.payload.reason;if("COLLECTING"===i.phase){t({type:"DROP_PENDING",payload:{reason:a}});return}if("IDLE"!==i.phase){"DROP_PENDING"===i.phase&&i.isWaiting&&R(!1),"DRAGGING"===i.phase||"DROP_PENDING"===i.phase||R(!1);var o=i.critical,l=i.dimensions,c=l.draggables[i.critical.draggable.id],u=rY({reason:a,lastImpact:i.impact,afterCritical:i.afterCritical,onLiftImpact:i.onLiftImpact,home:i.dimensions.droppables[i.critical.droppable.id],viewport:i.viewport,draggables:i.dimensions.draggables}),d=u.impact,s=u.didDropInsideDroppable,p=s?ei(d):null,f=s?ea(d):null,g={index:o.draggable.index,droppableId:o.droppable.id},m={draggableId:c.descriptor.id,type:c.descriptor.type,source:g,reason:a,mode:i.movementMode,destination:p,combine:f},v=rj({impact:d,draggable:c,dimensions:l,viewport:i.viewport,afterCritical:i.afterCritical}),b={critical:i.critical,afterCritical:i.afterCritical,result:m,impact:d};if(!(!_(i.current.client.offset,v)||m.combine)){t(rL({completed:b}));return}var h=rH({current:i.current.client.offset,destination:v,reason:a});t({type:"DROP_ANIMATE",payload:{newHomeClientOffset:v,dropDuration:h,completed:b}})}}}},rz=function(){return{x:window.pageXOffset,y:window.pageYOffset}},rq=function(e){var r=function(e){var r=e.onWindowScroll,t=(0,I.Z)(function(){r(rz())}),n={eventName:"scroll",options:{passive:!0,capture:!1},fn:function(e){(e.target===window||e.target===window.document)&&t()}},i=C;function a(){return i!==C}return{start:function(){a()&&R(!1),i=w(window,[n])},stop:function(){a()||R(!1),t.cancel(),i(),i=C},isActive:a}}({onWindowScroll:function(r){e.dispatch({type:"MOVE_BY_WINDOW_SCROLL",payload:{newScroll:r}})}});return function(e){return function(t){r.isActive()||"INITIAL_PUBLISH"!==t.type||r.start(),r.isActive()&&("DROP_COMPLETE"===t.type||"DROP_ANIMATE"===t.type||"FLUSH"===t.type)&&r.stop(),e(t)}}},rJ=function(e){var r=!1,t=!1,n=setTimeout(function(){t=!0}),i=function(i){r||t||(r=!0,e(i),clearTimeout(n))};return i.wasCalled=function(){return r},i},rX=function(){var e=[],r=function(r){var t=X(e,function(e){return e.timerId===r});-1!==t||R(!1),e.splice(t,1)[0].callback()};return{add:function(t){var n=setTimeout(function(){return r(n)});e.push({timerId:n,callback:t})},flush:function(){if(e.length){var r=[].concat(e);e.length=0,r.forEach(function(e){clearTimeout(e.timerId),e.callback()})}}}},rK=function(e,r){if(e===r)return!0;var t=e.draggable.id===r.draggable.id&&e.draggable.droppableId===r.draggable.droppableId&&e.draggable.type===r.draggable.type&&e.draggable.index===r.draggable.index,n=e.droppable.id===r.droppable.id&&e.droppable.type===r.droppable.type;return t&&n},r$=function(e,r){rp(),r(),rf()},rQ=function(e,r){return{draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:r}},r0=function(e,r,t,n){if(!e){t(n(r));return}var i=rJ(t);e(r,{announce:i}),i.wasCalled()||t(n(r))},r1=function(e,r){var t=rX(),n=null,i=function(t){n||R(!1),n=null,r$("onDragEnd",function(){return r0(e().onDragEnd,t,r,T.onDragEnd)})};return{beforeCapture:function(r,t){n&&R(!1),r$("onBeforeCapture",function(){var n=e().onBeforeCapture;n&&n({draggableId:r,mode:t})})},beforeStart:function(r,t){n&&R(!1),r$("onBeforeDragStart",function(){var n=e().onBeforeDragStart;n&&n(rQ(r,t))})},start:function(i,a){n&&R(!1);var o=rQ(i,a);n={mode:a,lastCritical:i,lastLocation:o.source,lastCombine:null},t.add(function(){r$("onDragStart",function(){return r0(e().onDragStart,o,r,T.onDragStart)})})},update:function(i,a){var o,l,c=ei(a),u=ea(a);n||R(!1);var d=!rK(i,n.lastCritical);d&&(n.lastCritical=i);var s=(null!=(o=n.lastLocation)||null!=c)&&(null==o||null==c||o.droppableId!==c.droppableId||o.index!==c.index);s&&(n.lastLocation=c);var p=(null!=(l=n.lastCombine)||null!=u)&&(null==l||null==u||l.draggableId!==u.draggableId||l.droppableId!==u.droppableId);if(p&&(n.lastCombine=u),d||s||p){var g=(0,f.Z)({},rQ(i,n.mode),{combine:u,destination:c});t.add(function(){r$("onDragUpdate",function(){return r0(e().onDragUpdate,g,r,T.onDragUpdate)})})}},flush:function(){n||R(!1),t.flush()},drop:i,abort:function(){n&&i((0,f.Z)({},rQ(n.lastCritical,n.mode),{combine:null,destination:null,reason:"CANCEL"}))}}},r4=function(e,r){var t=r1(e,r);return function(e){return function(r){return function(n){if("BEFORE_INITIAL_CAPTURE"===n.type){t.beforeCapture(n.payload.draggableId,n.payload.movementMode);return}if("INITIAL_PUBLISH"===n.type){var i=n.payload.critical;t.beforeStart(i,n.payload.movementMode),r(n),t.start(i,n.payload.movementMode);return}if("DROP_COMPLETE"===n.type){var a=n.payload.completed.result;t.flush(),r(n),t.drop(a);return}if(r(n),"FLUSH"===n.type){t.abort();return}var o=e.getState();"DRAGGING"===o.phase&&t.update(o.critical,o.impact)}}}},r3=function(e){return function(r){return function(t){if("DROP_ANIMATION_FINISHED"!==t.type){r(t);return}var n=e.getState();"DROP_ANIMATING"!==n.phase&&R(!1),e.dispatch(rL({completed:n.completed}))}}},r2=function(e){var r=null,t=null;return function(n){return function(i){if(("FLUSH"===i.type||"DROP_COMPLETE"===i.type||"DROP_ANIMATION_FINISHED"===i.type)&&(t&&(cancelAnimationFrame(t),t=null),r&&(r(),r=null)),n(i),"DROP_ANIMATE"===i.type){var a={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){"DROP_ANIMATING"===e.getState().phase&&e.dispatch(rM())}};t=requestAnimationFrame(function(){t=null,r=w(window,[a])})}}}},r5=function(e){var r=!1;return function(){return function(t){return function(n){if("INITIAL_PUBLISH"===n.type){r=!0,e.tryRecordFocus(n.payload.critical.draggable.id),t(n),e.tryRestoreFocusRecorded();return}if(t(n),r){if("FLUSH"===n.type){r=!1,e.tryRestoreFocusRecorded();return}if("DROP_COMPLETE"===n.type){r=!1;var i=n.payload.completed.result;i.combine&&e.tryShiftRecord(i.draggableId,i.combine.draggableId),e.tryRestoreFocusRecorded()}}}}}},r7=function(e){return function(r){return function(t){if(r(t),"PUBLISH_WHILE_DRAGGING"===t.type){var n=e.getState();"DROP_PENDING"!==n.phase||n.isWaiting||e.dispatch(rG({reason:n.reason}))}}}},r8=g.qC,r9=function(e){var r=e.dimensionMarshal,t=e.focusMarshal,n=e.styleMarshal,i=e.getResponders,a=e.announce,o=e.autoScroller;return(0,g.MT)(rx,r8((0,g.md)(function(){return function(e){return function(r){"INITIAL_PUBLISH"===r.type&&n.dragging(),"DROP_ANIMATE"===r.type&&n.dropping(r.payload.completed.result.reason),("FLUSH"===r.type||"DROP_COMPLETE"===r.type)&&n.resting(),e(r)}}},function(){return function(e){return function(t){("DROP_COMPLETE"===t.type||"FLUSH"===t.type||"DROP_ANIMATE"===t.type)&&r.stopPublishing(),e(t)}}},function(e){var t=e.getState,n=e.dispatch;return function(e){return function(i){if("LIFT"!==i.type){e(i);return}var a=i.payload,o=a.id,l=a.clientSelection,c=a.movementMode,u=t();"DROP_ANIMATING"===u.phase&&n(rL({completed:u.completed})),"IDLE"!==t().phase&&R(!1),n(rT()),n({type:"BEFORE_INITIAL_CAPTURE",payload:{draggableId:o,movementMode:c}});var d=r.startPublishing({draggableId:o,scrollOptions:{shouldPublishImmediately:"SNAP"===c}});n({type:"INITIAL_PUBLISH",payload:{critical:d.critical,dimensions:d.dimensions,clientSelection:l,movementMode:c,viewport:d.viewport}})}}},rV,r3,r2,r7,function(e){return function(r){return function(t){if("DROP_COMPLETE"===t.type||"DROP_ANIMATE"===t.type||"FLUSH"===t.type){o.stop(),r(t);return}if("INITIAL_PUBLISH"===t.type){r(t);var n=e.getState();"DRAGGING"!==n.phase&&R(!1),o.start(n);return}r(t),o.scroll(e.getState())}}},rq,r5(t),r4(i,a))))},r6=function(){return{additions:{},removals:{},modified:{}}},te=function(e){var r=e.scrollHeight,t=e.scrollWidth,n=e.height,i=M({x:t,y:r},{x:e.width,y:n});return{x:Math.max(0,i.x),y:Math.max(0,i.y)}},tr=function(){var e=document.documentElement;return e||R(!1),e},tt=function(){var e=tr();return te({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight})},tn=function(){var e=rz(),r=tt(),t=e.y,n=e.x,i=tr(),a=i.clientWidth,o=i.clientHeight;return{frame:(0,b.Dz)({top:t,left:n,right:n+a,bottom:t+o}),scroll:{initial:e,current:e,max:r,diff:{value:L,displacement:L}}}},ti=function(e){var r=e.critical,t=e.scrollOptions,n=e.registry;rp();var i=tn(),a=i.scroll.current,o=r.droppable,l=n.droppable.getAllByType(o.type).map(function(e){return e.callbacks.getDimensionAndWatchScroll(a,t)}),c={draggables:ee(n.draggable.getAllByType(r.draggable.type).map(function(e){return e.getDimension(a)})),droppables:Q(l)};return rf(),{dimensions:c,critical:r,viewport:i}};function ta(e,r,t){return t.descriptor.id!==r.id&&t.descriptor.type===r.type&&"virtual"===e.droppable.getById(t.descriptor.droppableId).descriptor.mode}var to=function(e,r){var t,n,i,a,o,l,c=null,u=(n=(t={callbacks:{publish:r.publishWhileDragging,collectionStarting:r.collectionStarting},registry:e}).registry,i=t.callbacks,a=r6(),o=null,l=function(){o||(i.collectionStarting(),o=requestAnimationFrame(function(){o=null,rp();var e=a,r=e.additions,t=e.removals,l=e.modified,c=Object.keys(r).map(function(e){return n.draggable.getById(e).getDimension(L)}).sort(function(e,r){return e.descriptor.index-r.descriptor.index}),u=Object.keys(l).map(function(e){var r=n.droppable.getById(e).callbacks.getScrollWhileDragging();return{droppableId:e,scroll:r}}),d={additions:c,removals:Object.keys(t),modified:u};a=r6(),rf(),i.publish(d)}))},{add:function(e){var r=e.descriptor.id;a.additions[r]=e,a.modified[e.descriptor.droppableId]=!0,a.removals[r]&&delete a.removals[r],l()},remove:function(e){var r=e.descriptor;a.removals[r.id]=!0,a.modified[r.droppableId]=!0,a.additions[r.id]&&delete a.additions[r.id],l()},stop:function(){o&&(cancelAnimationFrame(o),o=null,a=r6())}}),d=function(r){c||R(!1);var t=c.critical.draggable;"ADDITION"===r.type&&ta(e,t,r.value)&&u.add(r.value),"REMOVAL"===r.type&&ta(e,t,r.value)&&u.remove(r.value)};return{updateDroppableIsEnabled:function(t,n){e.droppable.exists(t)||R(!1),c&&r.updateDroppableIsEnabled({id:t,isEnabled:n})},updateDroppableIsCombineEnabled:function(t,n){c&&(e.droppable.exists(t)||R(!1),r.updateDroppableIsCombineEnabled({id:t,isCombineEnabled:n}))},scrollDroppable:function(r,t){c&&e.droppable.getById(r).callbacks.scroll(t)},updateDroppableScroll:function(t,n){c&&(e.droppable.exists(t)||R(!1),r.updateDroppableScroll({id:t,newScroll:n}))},startPublishing:function(r){c&&R(!1);var t=e.draggable.getById(r.draggableId),n=e.droppable.getById(t.descriptor.droppableId),i={draggable:t.descriptor,droppable:n.descriptor};return c={critical:i,unsubscribe:e.subscribe(d)},ti({critical:i,registry:e,scrollOptions:r.scrollOptions})},stopPublishing:function(){if(c){u.stop();var r=c.critical.droppable;e.droppable.getAllByType(r.type).forEach(function(e){return e.callbacks.dragStopped()}),c.unsubscribe(),c=null}}}},tl=function(e,r){return"IDLE"===e.phase||"DROP_ANIMATING"===e.phase&&e.completed.result.draggableId!==r&&"DROP"===e.completed.result.reason},tc=function(e){window.scrollBy(e.x,e.y)},tu=(0,h.Z)(function(e){return er(e).filter(function(e){return!!e.isEnabled&&!!e.frame})}),td=function(e){var r=e.center,t=e.destination,n=e.droppables;if(t){var i=n[t];return i.frame?i:null}return K(tu(n),function(e){return e.frame||R(!1),e8(e.frame.pageMarginBox)(r)})},ts={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(e){return Math.pow(e,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},tp=function(e){var r=e.startOfRange,t=e.endOfRange,n=e.current,i=t-r;return 0===i?0:(n-r)/i},tf=function(e,r){if(e>r.startScrollingFrom)return 0;if(e<=r.maxScrollValueAt)return ts.maxPixelScroll;if(e===r.startScrollingFrom)return 1;var t=tp({startOfRange:r.maxScrollValueAt,endOfRange:r.startScrollingFrom,current:e});return Math.ceil(ts.maxPixelScroll*ts.ease(1-t))},tg=ts.durationDampening.accelerateAt,tm=ts.durationDampening.stopDampeningAt,tv=function(e,r){var t=Date.now()-r;if(t>=tm)return e;if(tr.height,a=t.width>r.width;return a||i?a&&i?null:{x:a?0:n.x,y:i?0:n.y}:n},ty=Z(function(e){return 0===e?0:e}),tD=function(e){var r=e.dragStartTime,t=e.container,n=e.subject,i=e.center,a=e.shouldUseTimeDampening,o={top:i.y-t.top,right:t.right-i.x,bottom:t.bottom-i.y,left:i.x-t.left},l=th({container:t,distanceToEdges:o,dragStartTime:r,axis:em,shouldUseTimeDampening:a}),c=ty({x:th({container:t,distanceToEdges:o,dragStartTime:r,axis:ev,shouldUseTimeDampening:a}),y:l});if(_(c,L))return null;var u=tI({container:t,subject:n,proposedScroll:c});return u?_(u,L)?null:u:null},tx=Z(function(e){return 0===e?0:e>0?1:-1}),tE=(n=function(e,r){return e<0?e:e>r?e-r:0},function(e){var r=e.current,t=e.max,i=G(r,e.change),a={x:n(i.x,t.x),y:n(i.y,t.y)};return _(a,L)?null:a}),tC=function(e){var r=e.max,t=e.current,n=e.change,i={x:Math.max(t.x,r.x),y:Math.max(t.y,r.y)},a=tx(n),o=tE({max:i,current:t,change:a});return!o||0!==a.x&&0===o.x||0!==a.y&&0===o.y},tw=function(e,r){return tC({current:e.scroll.current,max:e.scroll.max,change:r})},tA=function(e,r){if(!tw(e,r))return null;var t=e.scroll.max;return tE({current:e.scroll.current,max:t,change:r})},tR=function(e,r){var t=e.frame;return!!t&&tC({current:t.scroll.current,max:t.scroll.max,change:r})},tS=function(e,r){var t=e.frame;return t&&tR(e,r)?tE({current:t.scroll.current,max:t.scroll.max,change:r}):null},tN=function(e){var r=e.viewport,t=e.subject,n=e.center,i=e.dragStartTime,a=e.shouldUseTimeDampening,o=tD({dragStartTime:i,container:r.frame,subject:t,center:n,shouldUseTimeDampening:a});return o&&tw(r,o)?o:null},tP=function(e){var r=e.droppable,t=e.subject,n=e.center,i=e.dragStartTime,a=e.shouldUseTimeDampening,o=r.frame;if(!o)return null;var l=tD({dragStartTime:i,container:o.pageMarginBox,subject:t,center:n,shouldUseTimeDampening:a});return l&&tR(r,l)?l:null},tB=function(e){var r=e.state,t=e.dragStartTime,n=e.shouldUseTimeDampening,i=e.scrollWindow,a=e.scrollDroppable,o=r.current.page.borderBoxCenter,l=r.dimensions.draggables[r.critical.draggable.id].page.marginBox;if(r.isWindowScrollAllowed){var c=tN({dragStartTime:t,viewport:r.viewport,subject:l,center:o,shouldUseTimeDampening:n});if(c){i(c);return}}var u=td({center:o,destination:e3(r.impact),droppables:r.dimensions.droppables});if(u){var d=tP({dragStartTime:t,droppable:u,subject:l,center:o,shouldUseTimeDampening:n});d&&a(u.descriptor.id,d)}},tO=function(e){var r=e.scrollWindow,t=e.scrollDroppable,n=(0,I.Z)(r),i=(0,I.Z)(t),a=null,o=function(e){a||R(!1);var r=a,t=r.shouldUseTimeDampening;tB({state:e,scrollWindow:n,scrollDroppable:i,dragStartTime:r.dragStartTime,shouldUseTimeDampening:t})};return{start:function(e){rp(),a&&R(!1);var r=Date.now(),t=!1,n=function(){t=!0};tB({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:n,scrollDroppable:n}),a={dragStartTime:r,shouldUseTimeDampening:t},rf(),t&&o(e)},stop:function(){a&&(n.cancel(),i.cancel(),a=null)},scroll:o}},tT=function(e){var r=e.move,t=e.scrollDroppable,n=e.scrollWindow,i=function(e,t){r({client:G(e.current.client.selection,t)})},a=function(e,r){if(!tR(e,r))return r;var n=tS(e,r);if(!n)return t(e.descriptor.id,r),null;var i=M(r,n);return t(e.descriptor.id,i),M(r,i)},o=function(e,r,t){if(!e||!tw(r,t))return t;var i=tA(r,t);if(!i)return n(t),null;var a=M(t,i);return n(a),M(t,a)};return function(e){var r=e.scrollJumpRequest;if(r){var t=e3(e.impact);t||R(!1);var n=a(e.dimensions.droppables[t],r);if(n){var l=e.viewport,c=o(e.isWindowScrollAllowed,l,n);c&&i(e,c)}}}},tL=function(e){var r=e.scrollDroppable,t=e.scrollWindow,n=e.move,i=tO({scrollWindow:t,scrollDroppable:r}),a=tT({move:n,scrollWindow:t,scrollDroppable:r});return{scroll:function(e){if("DRAGGING"===e.phase){if("FLUID"===e.movementMode){i.scroll(e);return}e.scrollJumpRequest&&a(e)}},start:i.start,stop:i.stop}},tG="data-rbd",tM={base:i=tG+"-drag-handle",draggableId:i+"-draggable-id",contextId:i+"-context-id"},t_={base:a=tG+"-draggable",contextId:a+"-context-id",id:a+"-id"},tF={base:o=tG+"-droppable",contextId:o+"-context-id",id:o+"-id"},tk={contextId:tG+"-scroll-container-context-id"},tW=function(e,r){return e.map(function(e){var t=e.styles[r];return t?e.selector+" { "+t+" }":""}).join(" ")},tU=function(e){var r,t,n=function(r){return"["+r+'="'+e+'"]'},i=(r="\n cursor: -webkit-grab;\n cursor: grab;\n ",{selector:n(tM.contextId),styles:{always:"\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n touch-action: manipulation;\n ",resting:r,dragging:"pointer-events: none;",dropAnimating:r}}),a=[(t="\n transition: "+rW.outOfTheWay+";\n ",{selector:n(t_.contextId),styles:{dragging:t,dropAnimating:t,userCancel:t}}),i,{selector:n(tF.contextId),styles:{always:"overflow-anchor: none;"}},{selector:"body",styles:{dragging:"\n cursor: grabbing;\n cursor: -webkit-grabbing;\n user-select: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n overflow-anchor: none;\n "}}];return{always:tW(a,"always"),resting:tW(a,"resting"),dragging:tW(a,"dragging"),dropAnimating:tW(a,"dropAnimating"),userCancel:tW(a,"userCancel")}},tZ="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?s.useLayoutEffect:s.useEffect,tH=function(){var e=document.querySelector("head");return e||R(!1),e},tj=function(e){var r=document.createElement("style");return e&&r.setAttribute("nonce",e),r.type="text/css",r},tY=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function tV(e){return e instanceof tY(e).HTMLElement}function tz(e,r){var t="["+tM.contextId+'="'+e+'"]',n=$(document.querySelectorAll(t));if(!n.length)return null;var i=K(n,function(e){return e.getAttribute(tM.draggableId)===r});return i&&tV(i)?i:null}function tq(){var e={draggables:{},droppables:{}},r=[];function t(e){r.length&&r.forEach(function(r){return r(e)})}function n(r){return e.draggables[r]||null}function i(r){return e.droppables[r]||null}return{draggable:{register:function(r){e.draggables[r.descriptor.id]=r,t({type:"ADDITION",value:r})},update:function(r,t){var n=e.draggables[t.descriptor.id];n&&n.uniqueId===r.uniqueId&&(delete e.draggables[t.descriptor.id],e.draggables[r.descriptor.id]=r)},unregister:function(r){var i=r.descriptor.id,a=n(i);a&&r.uniqueId===a.uniqueId&&(delete e.draggables[i],t({type:"REMOVAL",value:r}))},getById:function(e){var r=n(e);return r||R(!1),r},findById:n,exists:function(e){return!!n(e)},getAllByType:function(r){return J(e.draggables).filter(function(e){return e.descriptor.type===r})}},droppable:{register:function(r){e.droppables[r.descriptor.id]=r},unregister:function(r){var t=i(r.descriptor.id);t&&r.uniqueId===t.uniqueId&&delete e.droppables[r.descriptor.id]},getById:function(e){var r=i(e);return r||R(!1),r},findById:i,exists:function(e){return!!i(e)},getAllByType:function(r){return J(e.droppables).filter(function(e){return e.descriptor.type===r})}},subscribe:function(e){return r.push(e),function(){var t=r.indexOf(e);-1!==t&&r.splice(t,1)}},clean:function(){e.draggables={},e.droppables={},r.length=0}}}var tJ=s.createContext(null),tX=function(){var e=document.body;return e||R(!1),e},tK={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},t$=0,tQ={separator:"::"};function t0(e,r){return void 0===r&&(r=tQ),(0,v.Ye)(function(){return""+e+r.separator+t$++},[r.separator,e])}var t1=s.createContext(null),t4=/(\d+)\.(\d+)\.(\d+)/,t3=function(e){var r=t4.exec(e);return null!=r||R(!1),{major:Number(r[1]),minor:Number(r[2]),patch:Number(r[3]),raw:e}},t2=function(e,r){var t=t3(e),n=t3(r);if(n.major>t.major||!(n.majort.minor||!(n.minor=t.patch))return},t5=function(e){var r=e.doctype;r&&(r.name.toLowerCase(),r.publicId)};function t7(e,r){}function t8(e){var r=(0,s.useRef)(e);return(0,s.useEffect)(function(){r.current=e}),r}var t9=((u={})[13]=!0,u[9]=!0,u),t6=function(e){t9[e.keyCode]&&e.preventDefault()},ne=(l="visibilitychange","undefined"==typeof document?l:K([l,"ms"+l,"webkit"+l,"moz"+l,"o"+l],function(e){return"on"+e in document})||l),nr={type:"IDLE"};function nt(){}var nn=((d={})[34]=!0,d[33]=!0,d[36]=!0,d[35]=!0,d),ni={type:"IDLE"},na={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0},no=(c="matches","undefined"==typeof document?c:K([c,"msMatchesSelector","webkitMatchesSelector"],function(e){return e in Element.prototype})||c);function nl(e){e.preventDefault()}function nc(e){var r=e.expected,t=e.phase,n=e.isLockActive;return e.shouldWarn,!!n()&&r===t}function nu(e){var r=e.lockAPI,t=e.store,n=e.registry,i=e.draggableId;if(r.isClaimed())return!1;var a=n.draggable.findById(i);return!!(a&&a.options.isEnabled&&tl(t.getState(),i))}var nd=[function(e){var r=(0,s.useRef)(nr),t=(0,s.useRef)(C),n=(0,v.Ye)(function(){return{eventName:"mousedown",fn:function(r){if(!r.defaultPrevented&&0===r.button&&!r.ctrlKey&&!r.metaKey&&!r.shiftKey&&!r.altKey){var n=e.findClosestDraggableId(r);if(n){var i=e.tryGetLock(n,o,{sourceEvent:r});if(i){r.preventDefault();var a={x:r.clientX,y:r.clientY};t.current(),u(i,a)}}}}}},[e]),i=(0,v.Ye)(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(r){if(!r.defaultPrevented){var t=e.findClosestDraggableId(r);if(t){var n=e.findOptionsForDraggable(t);n&&!n.shouldRespectForcePress&&e.canGetLock(t)&&r.preventDefault()}}}}},[e]),a=(0,v.I4)(function(){t.current=w(window,[i,n],{passive:!1,capture:!0})},[i,n]),o=(0,v.I4)(function(){"IDLE"!==r.current.type&&(r.current=nr,t.current(),a())},[a]),l=(0,v.I4)(function(){var e=r.current;o(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()},[o]),c=(0,v.I4)(function(){var e,n,i,a,c,u=(n=(e={cancel:l,completed:o,getPhase:function(){return r.current},setPhase:function(e){r.current=e}}).cancel,i=e.completed,a=e.getPhase,c=e.setPhase,[{eventName:"mousemove",fn:function(e){var r,t=e.button,n=e.clientX,i=e.clientY;if(0===t){var o={x:n,y:i},l=a();if("DRAGGING"===l.type){e.preventDefault(),l.actions.move(o);return}"PENDING"!==l.type&&R(!1),r=l.point,(Math.abs(o.x-r.x)>=5||Math.abs(o.y-r.y)>=5)&&(e.preventDefault(),c({type:"DRAGGING",actions:l.actions.fluidLift(o)}))}}},{eventName:"mouseup",fn:function(e){var r=a();if("DRAGGING"!==r.type){n();return}e.preventDefault(),r.actions.drop({shouldBlockNextClick:!0}),i()}},{eventName:"mousedown",fn:function(e){"DRAGGING"===a().type&&e.preventDefault(),n()}},{eventName:"keydown",fn:function(e){if("PENDING"===a().type){n();return}if(27===e.keyCode){e.preventDefault(),n();return}t6(e)}},{eventName:"resize",fn:n},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){"PENDING"===a().type&&n()}},{eventName:"webkitmouseforcedown",fn:function(e){var r=a();if("IDLE"!==r.type||R(!1),r.actions.shouldRespectForcePress()){n();return}e.preventDefault()}},{eventName:ne,fn:n}]);t.current=w(window,u,{capture:!0,passive:!1})},[l,o]),u=(0,v.I4)(function(e,t){"IDLE"!==r.current.type&&R(!1),r.current={type:"PENDING",point:t,actions:e},c()},[c]);tZ(function(){return a(),function(){t.current()}},[a])},function(e){var r=(0,s.useRef)(nt),t=(0,v.Ye)(function(){return{eventName:"keydown",fn:function(t){if(!t.defaultPrevented&&32===t.keyCode){var i=e.findClosestDraggableId(t);if(i){var a=e.tryGetLock(i,c,{sourceEvent:t});if(a){t.preventDefault();var o=!0,l=a.snapLift();r.current(),r.current=w(window,function(e,r){function t(){r(),e.cancel()}return[{eventName:"keydown",fn:function(n){if(27===n.keyCode){n.preventDefault(),t();return}if(32===n.keyCode){n.preventDefault(),r(),e.drop();return}if(40===n.keyCode){n.preventDefault(),e.moveDown();return}if(38===n.keyCode){n.preventDefault(),e.moveUp();return}if(39===n.keyCode){n.preventDefault(),e.moveRight();return}if(37===n.keyCode){n.preventDefault(),e.moveLeft();return}if(nn[n.keyCode]){n.preventDefault();return}t6(n)}},{eventName:"mousedown",fn:t},{eventName:"mouseup",fn:t},{eventName:"click",fn:t},{eventName:"touchstart",fn:t},{eventName:"resize",fn:t},{eventName:"wheel",fn:t,options:{passive:!0}},{eventName:ne,fn:t}]}(l,c),{capture:!0,passive:!1})}}}function c(){o||R(!1),o=!1,r.current(),n()}}}},[e]),n=(0,v.I4)(function(){r.current=w(window,[t],{passive:!1,capture:!0})},[t]);tZ(function(){return n(),function(){r.current()}},[n])},function(e){var r=(0,s.useRef)(ni),t=(0,s.useRef)(C),n=(0,v.I4)(function(){return r.current},[]),i=(0,v.I4)(function(e){r.current=e},[]),a=(0,v.Ye)(function(){return{eventName:"touchstart",fn:function(r){if(!r.defaultPrevented){var n=e.findClosestDraggableId(r);if(n){var i=e.tryGetLock(n,l,{sourceEvent:r});if(i){var a=r.touches[0],o=a.clientX,c=a.clientY;t.current(),p(i,{x:o,y:c})}}}}}},[e]),o=(0,v.I4)(function(){t.current=w(window,[a],{capture:!0,passive:!1})},[a]),l=(0,v.I4)(function(){var e=r.current;"IDLE"!==e.type&&("PENDING"===e.type&&clearTimeout(e.longPressTimerId),i(ni),t.current(),o())},[o,i]),c=(0,v.I4)(function(){var e=r.current;l(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()},[l]),u=(0,v.I4)(function(){var e,r,i,a,o,u={capture:!0,passive:!1},d=c,s=l,p=n,f=w(window,(e=d,r=s,i=p,[{eventName:"touchmove",options:{capture:!1},fn:function(r){var t=i();if("DRAGGING"!==t.type){e();return}t.hasMoved=!0;var n=r.touches[0],a=n.clientX,o=n.clientY;r.preventDefault(),t.actions.move({x:a,y:o})}},{eventName:"touchend",fn:function(t){var n=i();if("DRAGGING"!==n.type){e();return}t.preventDefault(),n.actions.drop({shouldBlockNextClick:!0}),r()}},{eventName:"touchcancel",fn:function(r){if("DRAGGING"!==i().type){e();return}r.preventDefault(),e()}},{eventName:"touchforcechange",fn:function(r){var t=i();"IDLE"!==t.type||R(!1);var n=r.touches[0];if(n&&n.force>=.15){var a=t.actions.shouldRespectForcePress();if("PENDING"===t.type){a&&e();return}if(a){if(t.hasMoved){r.preventDefault();return}e();return}r.preventDefault()}}},{eventName:ne,fn:e}]),u),g=w(window,(a=d,o=p,[{eventName:"orientationchange",fn:a},{eventName:"resize",fn:a},{eventName:"contextmenu",fn:function(e){e.preventDefault()}},{eventName:"keydown",fn:function(e){if("DRAGGING"!==o().type){a();return}27===e.keyCode&&e.preventDefault(),a()}},{eventName:ne,fn:a}]),u);t.current=function(){f(),g()}},[c,n,l]),d=(0,v.I4)(function(){var e=n();"PENDING"!==e.type&&R(!1),i({type:"DRAGGING",actions:e.actions.fluidLift(e.point),hasMoved:!1})},[n,i]),p=(0,v.I4)(function(e,r){"IDLE"!==n().type&&R(!1),i({type:"PENDING",point:r,actions:e,longPressTimerId:setTimeout(d,120)}),u()},[u,n,i,d]);tZ(function(){return o(),function(){t.current();var e=n();"PENDING"===e.type&&(clearTimeout(e.longPressTimerId),i(ni))}},[n,o,i]),tZ(function(){return w(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}])},[])}];function ns(e){return e.current||R(!1),e.current}function np(e){var r,t,n,i,a,o,l,c,u,d,p,y,D,x,E,A,S,N,P,B,O,T,L,G,M,_=e.contextId,F=e.setCallbacks,k=e.sensors,W=e.nonce,U=e.dragHandleUsageInstructions,Z=(0,s.useRef)(null),H=t8(e),j=(0,v.I4)(function(){var e;return{onBeforeCapture:(e=H.current).onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragEnd:e.onDragEnd,onDragUpdate:e.onDragUpdate}},[H]),Y=(r=(0,v.Ye)(function(){return"rbd-announcement-"+_},[_]),t=(0,s.useRef)(null),(0,s.useEffect)(function(){var e=document.createElement("div");return t.current=e,e.id=r,e.setAttribute("aria-live","assertive"),e.setAttribute("aria-atomic","true"),(0,f.Z)(e.style,tK),tX().appendChild(e),function(){setTimeout(function(){var r=tX();r.contains(e)&&r.removeChild(e),e===t.current&&(t.current=null)})}},[r]),(0,v.I4)(function(e){var r=t.current;if(r){r.textContent=e;return}},[])),V=(i=(n={contextId:_,text:U}).contextId,a=n.text,o=t0("hidden-text",{separator:"-"}),l=(0,v.Ye)(function(){var e;return"rbd-hidden-text-"+(e={contextId:i,uniqueId:o}).contextId+"-"+e.uniqueId},[o,i]),(0,s.useEffect)(function(){var e=document.createElement("div");return e.id=l,e.textContent=a,e.style.display="none",tX().appendChild(e),function(){var r=tX();r.contains(e)&&r.removeChild(e)}},[l,a]),l),z=(c=(0,v.Ye)(function(){return tU(_)},[_]),u=(0,s.useRef)(null),d=(0,s.useRef)(null),p=(0,v.I4)((0,h.Z)(function(e){var r=d.current;r||R(!1),r.textContent=e}),[]),tZ(function(){(u.current||d.current)&&R(!1);var e=tj(W),r=tj(W);return u.current=e,d.current=r,e.setAttribute(tG+"-always",_),r.setAttribute(tG+"-dynamic",_),tH().appendChild(e),tH().appendChild(r),y(c.always),p(c.resting),function(){var e=function(e){var r=e.current;r||R(!1),tH().removeChild(r),e.current=null};e(u),e(d)}},[W,y=(0,v.I4)(function(e){var r=u.current;r||R(!1),r.textContent=e},[]),p,c.always,c.resting,_]),D=(0,v.I4)(function(){return p(c.dragging)},[p,c.dragging]),x=(0,v.I4)(function(e){if("DROP"===e){p(c.dropAnimating);return}p(c.userCancel)},[p,c.dropAnimating,c.userCancel]),E=(0,v.I4)(function(){d.current&&p(c.resting)},[p,c.resting]),(0,v.Ye)(function(){return{dragging:D,dropping:x,resting:E}},[D,x,E])),q=(0,v.I4)(function(e){ns(Z).dispatch(e)},[]),J=(0,v.Ye)(function(){return(0,g.DE)({publishWhileDragging:rE,updateDroppableScroll:rw,updateDroppableIsEnabled:rA,updateDroppableIsCombineEnabled:rR,collectionStarting:rC},q)},[q]),X=(A=(0,v.Ye)(tq,[]),(0,s.useEffect)(function(){return function(){requestAnimationFrame(A.clean)}},[A]),A),Q=(0,v.Ye)(function(){return to(X,J)},[X,J]),ee=(0,v.Ye)(function(){return tL((0,f.Z)({scrollWindow:tc,scrollDroppable:Q.scrollDroppable},(0,g.DE)({move:rS},q)))},[Q.scrollDroppable,q]),er=(S=(0,s.useRef)({}),N=(0,s.useRef)(null),P=(0,s.useRef)(null),B=(0,s.useRef)(!1),O=(0,v.I4)(function(e,r){var t={id:e,focus:r};return S.current[e]=t,function(){var r=S.current;r[e]!==t&&delete r[e]}},[]),T=(0,v.I4)(function(e){var r=tz(_,e);r&&r!==document.activeElement&&r.focus()},[_]),L=(0,v.I4)(function(e,r){N.current===e&&(N.current=r)},[]),G=(0,v.I4)(function(){!P.current&&B.current&&(P.current=requestAnimationFrame(function(){P.current=null;var e=N.current;e&&T(e)}))},[T]),M=(0,v.I4)(function(e){N.current=null;var r=document.activeElement;r&&r.getAttribute(tM.draggableId)===e&&(N.current=e)},[]),tZ(function(){return B.current=!0,function(){B.current=!1;var e=P.current;e&&cancelAnimationFrame(e)}},[]),(0,v.Ye)(function(){return{register:O,tryRecordFocus:M,tryRestoreFocusRecorded:G,tryShiftRecord:L}},[O,M,G,L])),et=(0,v.Ye)(function(){return r9({announce:Y,autoScroller:ee,dimensionMarshal:Q,focusMarshal:er,getResponders:j,styleMarshal:z})},[Y,ee,Q,er,j,z]);Z.current=et;var en=(0,v.I4)(function(){var e=ns(Z);"IDLE"!==e.getState().phase&&e.dispatch(rT())},[]),ei=(0,v.I4)(function(){var e=ns(Z).getState();return e.isDragging||"DROP_ANIMATING"===e.phase},[]);F((0,v.Ye)(function(){return{isDragging:ei,tryAbort:en}},[ei,en]));var ea=(0,v.I4)(function(e){return tl(ns(Z).getState(),e)},[]),eo=(0,v.I4)(function(){return e7(ns(Z).getState())},[]),el=(0,v.Ye)(function(){return{marshal:Q,focus:er,contextId:_,canLift:ea,isMovementAllowed:eo,dragHandleUsageInstructionsId:V,registry:X}},[_,Q,V,er,ea,eo,X]);return!function(e){var r=e.contextId,t=e.store,n=e.registry,i=e.customSensors,a=[].concat(e.enableDefaultSensors?nd:[],i||[]),o=(0,s.useState)(function(){return function(){var e=null;function r(){e||R(!1),e=null}return{isClaimed:function(){return!!e},isActive:function(r){return r===e},claim:function(r){e&&R(!1);var t={abandon:r};return e=t,t},release:r,tryAbandon:function(){e&&(e.abandon(),r())}}}()})[0],l=(0,v.I4)(function(e,r){e.isDragging&&!r.isDragging&&o.tryAbandon()},[o]);tZ(function(){var e=t.getState();return t.subscribe(function(){var r=t.getState();l(e,r),e=r})},[o,t,l]),tZ(function(){return o.tryAbandon},[o.tryAbandon]);for(var c=(0,v.I4)(function(e){return nu({lockAPI:o,registry:n,store:t,draggableId:e})},[o,n,t]),u=(0,v.I4)(function(e,i,a){return function(e){var r,t,n,i,a=e.lockAPI,o=e.contextId,l=e.store,c=e.registry,u=e.draggableId,d=e.forceSensorStop,s=e.sourceEvent;if(!nu({lockAPI:a,store:l,registry:c,draggableId:u}))return null;var p=c.draggable.getById(u),g=(r=p.descriptor.id,t="["+t_.contextId+'="'+o+'"]',(n=K($(document.querySelectorAll(t)),function(e){return e.getAttribute(t_.id)===r}))&&tV(n)?n:null);if(!g||s&&!p.options.canDragInteractiveElements&&tV(i=s.target)&&function e(r,t){if(null==t)return!1;if(na[t.tagName.toLowerCase()])return!0;var n=t.getAttribute("contenteditable");return"true"===n||""===n||t!==r&&e(r,t.parentElement)}(g,i))return null;var m=a.claim(d||C),v="PRE_DRAG";function h(){return p.options.shouldRespectForcePress}function y(){return a.isActive(m)}var D=(function(e,r){nc({expected:e,phase:v,isLockActive:y,shouldWarn:!0})&&l.dispatch(r())}).bind(null,"DRAGGING");function x(e){function r(){a.release(),v="COMPLETED"}function t(t,n){void 0===n&&(n={shouldBlockNextClick:!1}),e.cleanup(),n.shouldBlockNextClick&&setTimeout(w(window,[{eventName:"click",fn:nl,options:{once:!0,passive:!1,capture:!0}}])),r(),l.dispatch(rG({reason:t}))}return"PRE_DRAG"!==v&&(r(),"PRE_DRAG"!==v&&R(!1)),l.dispatch({type:"LIFT",payload:e.liftActionArgs}),v="DRAGGING",(0,f.Z)({isActive:function(){return nc({expected:"DRAGGING",phase:v,isLockActive:y,shouldWarn:!1})},shouldRespectForcePress:h,drop:function(e){return t("DROP",e)},cancel:function(e){return t("CANCEL",e)}},e.actions)}return{isActive:function(){return nc({expected:"PRE_DRAG",phase:v,isLockActive:y,shouldWarn:!1})},shouldRespectForcePress:h,fluidLift:function(e){var r=(0,I.Z)(function(e){D(function(){return rS({client:e})})}),t=x({liftActionArgs:{id:u,clientSelection:e,movementMode:"FLUID"},cleanup:function(){return r.cancel()},actions:{move:r}});return(0,f.Z)({},t,{move:r})},snapLift:function(){return x({liftActionArgs:{id:u,clientSelection:(0,b.Dz)(g.getBoundingClientRect()).center,movementMode:"SNAP"},cleanup:C,actions:{moveUp:function(){return D(rN)},moveRight:function(){return D(rB)},moveDown:function(){return D(rP)},moveLeft:function(){return D(rO)}}})},abort:function(){nc({expected:"PRE_DRAG",phase:v,isLockActive:y,shouldWarn:!0})&&a.release()}}}({lockAPI:o,registry:n,contextId:r,store:t,draggableId:e,forceSensorStop:i,sourceEvent:a&&a.sourceEvent?a.sourceEvent:null})},[r,o,n,t]),d=(0,v.I4)(function(e){var t;return(t=function(e,r){var t=r.target;if(!(t instanceof tY(t).Element))return null;var n="["+tM.contextId+'="'+e+'"]',i=t.closest?t.closest(n):function e(r,t){return null==r?null:r[no](t)?r:e(r.parentElement,t)}(t,n);return i&&tV(i)?i:null}(r,e))?t.getAttribute(tM.draggableId):null},[r]),p=(0,v.I4)(function(e){var r=n.draggable.findById(e);return r?r.options:null},[n.draggable]),g=(0,v.I4)(function(){o.isClaimed()&&(o.tryAbandon(),"IDLE"!==t.getState().phase&&t.dispatch(rT()))},[o,t]),m=(0,v.I4)(o.isClaimed,[o]),h=(0,v.Ye)(function(){return{canGetLock:c,tryGetLock:u,findClosestDraggableId:d,findOptionsForDraggable:p,tryReleaseLock:g,isLockClaimed:m}},[c,u,d,p,g,m]),y=0;y()=>(t||e((t={exports:{}}).exports,t),t.exports),t=e((e,t)=>{var r=function(e){return e&&e.Math==Math&&e};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof s.g&&s.g)||function(){return this}()||Function("return this")()}),r=e((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}}),i=e((e,t)=>{var s=r();t.exports=!s(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})}),a=e((e,t)=>{var s=r();t.exports=!s(function(){var e=(function(){}).bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})}),n=e((e,t)=>{var s=a(),r=Function.prototype.call;t.exports=s?r.bind(r):function(){return r.apply(r,arguments)}}),o=e(e=>{var t={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,r=s&&!t.call({1:2},1);e.f=r?function(e){var t=s(this,e);return!!t&&t.enumerable}:t}),h=e((e,t)=>{t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}}),l=e((e,t)=>{var s=a(),r=Function.prototype,i=r.call,n=s&&r.bind.bind(i,i);t.exports=s?n:function(e){return function(){return i.apply(e,arguments)}}}),p=e((e,t)=>{var s=l(),r=s({}.toString),i=s("".slice);t.exports=function(e){return i(r(e),8,-1)}}),c=e((e,t)=>{var s=l(),i=r(),a=p(),n=Object,o=s("".split);t.exports=i(function(){return!n("z").propertyIsEnumerable(0)})?function(e){return"String"==a(e)?o(e,""):n(e)}:n}),u=e((e,t)=>{t.exports=function(e){return null==e}}),d=e((e,t)=>{var s=u(),r=TypeError;t.exports=function(e){if(s(e))throw r("Can't call method on "+e);return e}}),m=e((e,t)=>{var s=c(),r=d();t.exports=function(e){return s(r(e))}}),f=e((e,t)=>{var s="object"==typeof document&&document.all;t.exports={all:s,IS_HTMLDDA:typeof s>"u"&&void 0!==s}}),y=e((e,t)=>{var s=f(),r=s.all;t.exports=s.IS_HTMLDDA?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}}),x=e((e,t)=>{var s=y(),r=f(),i=r.all;t.exports=r.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:s(e)||e===i}:function(e){return"object"==typeof e?null!==e:s(e)}}),g=e((e,s)=>{var r=t(),i=y();s.exports=function(e,t){var s;return arguments.length<2?i(s=r[e])?s:void 0:r[e]&&r[e][t]}}),P=e((e,t)=>{var s=l();t.exports=s({}.isPrototypeOf)}),b=e((e,t)=>{var s=g();t.exports=s("navigator","userAgent")||""}),T=e((e,s)=>{var r,i,a=t(),n=b(),o=a.process,h=a.Deno,l=o&&o.versions||h&&h.version,p=l&&l.v8;p&&(i=(r=p.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&n&&(!(r=n.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=n.match(/Chrome\/(\d+)/))&&(i=+r[1]),s.exports=i}),A=e((e,t)=>{var s=T(),i=r();t.exports=!!Object.getOwnPropertySymbols&&!i(function(){var e=Symbol();return!String(e)||!(Object(e) instanceof Symbol)||!Symbol.sham&&s&&s<41})}),E=e((e,t)=>{var s=A();t.exports=s&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}),S=e((e,t)=>{var s=g(),r=y(),i=P(),a=E(),n=Object;t.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=s("Symbol");return r(t)&&i(t.prototype,n(e))}}),w=e((e,t)=>{var s=String;t.exports=function(e){try{return s(e)}catch{return"Object"}}}),v=e((e,t)=>{var s=y(),r=w(),i=TypeError;t.exports=function(e){if(s(e))return e;throw i(r(e)+" is not a function")}}),C=e((e,t)=>{var s=v(),r=u();t.exports=function(e,t){var i=e[t];return r(i)?void 0:s(i)}}),N=e((e,t)=>{var s=n(),r=y(),i=x(),a=TypeError;t.exports=function(e,t){var n,o;if("string"===t&&r(n=e.toString)&&!i(o=s(n,e))||r(n=e.valueOf)&&!i(o=s(n,e))||"string"!==t&&r(n=e.toString)&&!i(o=s(n,e)))return o;throw a("Can't convert object to primitive value")}}),I=e((e,t)=>{t.exports=!1}),k=e((e,s)=>{var r=t(),i=Object.defineProperty;s.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch{r[e]=t}return t}}),L=e((e,s)=>{var r=t(),i=k(),a="__core-js_shared__",n=r[a]||i(a,{});s.exports=n}),M=e((e,t)=>{var s=I(),r=L();(t.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.1",mode:s?"pure":"global",copyright:"\xa9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),O=e((e,t)=>{var s=d(),r=Object;t.exports=function(e){return r(s(e))}}),D=e((e,t)=>{var s=l(),r=O(),i=s({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(r(e),t)}}),F=e((e,t)=>{var s=l(),r=0,i=Math.random(),a=s(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++r+i,36)}}),B=e((e,s)=>{var r=t(),i=M(),a=D(),n=F(),o=A(),h=E(),l=i("wks"),p=r.Symbol,c=p&&p.for,u=h?p:p&&p.withoutSetter||n;s.exports=function(e){if(!a(l,e)||!(o||"string"==typeof l[e])){var t="Symbol."+e;o&&a(p,e)?l[e]=p[e]:h&&c?l[e]=c(t):l[e]=u(t)}return l[e]}}),j=e((e,t)=>{var s=n(),r=x(),i=S(),a=C(),o=N(),h=B(),l=TypeError,p=h("toPrimitive");t.exports=function(e,t){if(!r(e)||i(e))return e;var n,h=a(e,p);if(h){if(void 0===t&&(t="default"),!r(n=s(h,e,t))||i(n))return n;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),o(e,t)}}),R=e((e,t)=>{var s=j(),r=S();t.exports=function(e){var t=s(e,"string");return r(t)?t:t+""}}),U=e((e,s)=>{var r=t(),i=x(),a=r.document,n=i(a)&&i(a.createElement);s.exports=function(e){return n?a.createElement(e):{}}}),_=e((e,t)=>{var s=i(),a=r(),n=U();t.exports=!s&&!a(function(){return 7!=Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}),z=e(e=>{var t=i(),s=n(),r=o(),a=h(),l=m(),p=R(),c=D(),u=_(),d=Object.getOwnPropertyDescriptor;e.f=t?d:function(e,t){if(e=l(e),t=p(t),u)try{return d(e,t)}catch{}if(c(e,t))return a(!s(r.f,e,t),e[t])}}),H=e((e,t)=>{var s=i(),a=r();t.exports=s&&a(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}),V=e((e,t)=>{var s=x(),r=String,i=TypeError;t.exports=function(e){if(s(e))return e;throw i(r(e)+" is not an object")}}),$=e(e=>{var t=i(),s=_(),r=H(),a=V(),n=R(),o=TypeError,h=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",c="configurable",u="writable";e.f=t?r?function(e,t,s){if(a(e),t=n(t),a(s),"function"==typeof e&&"prototype"===t&&"value"in s&&u in s&&!s[u]){var r=l(e,t);r&&r[u]&&(e[t]=s.value,s={configurable:c in s?s[c]:r[c],enumerable:p in s?s[p]:r[p],writable:!1})}return h(e,t,s)}:h:function(e,t,r){if(a(e),t=n(t),a(r),s)try{return h(e,t,r)}catch{}if("get"in r||"set"in r)throw o("Accessors not supported");return"value"in r&&(e[t]=r.value),e}}),q=e((e,t)=>{var s=i(),r=$(),a=h();t.exports=s?function(e,t,s){return r.f(e,t,a(1,s))}:function(e,t,s){return e[t]=s,e}}),K=e((e,t)=>{var s=i(),r=D(),a=Function.prototype,n=s&&Object.getOwnPropertyDescriptor,o=r(a,"name"),h=o&&(!s||s&&n(a,"name").configurable);t.exports={EXISTS:o,PROPER:o&&"something"===(function(){}).name,CONFIGURABLE:h}}),W=e((e,t)=>{var s=l(),r=y(),i=L(),a=s(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),t.exports=i.inspectSource}),J=e((e,s)=>{var r=t(),i=y(),a=r.WeakMap;s.exports=i(a)&&/native code/.test(String(a))}),X=e((e,t)=>{var s=M(),r=F(),i=s("keys");t.exports=function(e){return i[e]||(i[e]=r(e))}}),G=e((e,t)=>{t.exports={}}),Y=e((e,s)=>{var r,i,a,n,o,h=J(),l=t(),p=x(),c=q(),u=D(),d=L(),m=X(),f=G(),y="Object already initialized",g=l.TypeError,P=l.WeakMap;h||d.state?((r=d.state||(d.state=new P)).get=r.get,r.has=r.has,r.set=r.set,a=function(e,t){if(r.has(e))throw g(y);return t.facade=e,r.set(e,t),t},n=function(e){return r.get(e)||{}},o=function(e){return r.has(e)}):(f[i=m("state")]=!0,a=function(e,t){if(u(e,i))throw g(y);return t.facade=e,c(e,i,t),t},n=function(e){return u(e,i)?e[i]:{}},o=function(e){return u(e,i)}),s.exports={set:a,get:n,has:o,enforce:function(e){return o(e)?n(e):a(e,{})},getterFor:function(e){return function(t){var s;if(!p(t)||(s=n(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return s}}}}),Q=e((e,t)=>{var s=r(),a=y(),n=D(),o=i(),h=K().CONFIGURABLE,l=W(),p=Y(),c=p.enforce,u=p.get,d=Object.defineProperty,m=o&&!s(function(){return 8!==d(function(){},"length",{value:8}).length}),f=String(String).split("String"),x=t.exports=function(e,t,s){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),s&&s.getter&&(t="get "+t),s&&s.setter&&(t="set "+t),(!n(e,"name")||h&&e.name!==t)&&(o?d(e,"name",{value:t,configurable:!0}):e.name=t),m&&s&&n(s,"arity")&&e.length!==s.arity&&d(e,"length",{value:s.arity});try{s&&n(s,"constructor")&&s.constructor?o&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var r=c(e);return n(r,"source")||(r.source=f.join("string"==typeof t?t:"")),e};Function.prototype.toString=x(function(){return a(this)&&u(this).source||l(this)},"toString")}),Z=e((e,t)=>{var s=y(),r=$(),i=Q(),a=k();t.exports=function(e,t,n,o){o||(o={});var h=o.enumerable,l=void 0!==o.name?o.name:t;if(s(n)&&i(n,l,o),o.global)h?e[t]=n:a(t,n);else{try{o.unsafe?e[t]&&(h=!0):delete e[t]}catch{}h?e[t]=n:r.f(e,t,{value:n,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return e}}),ee=e((e,t)=>{var s=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?r:s)(t)}}),et=e((e,t)=>{var s=ee();t.exports=function(e){var t=+e;return t!=t||0===t?0:s(t)}}),es=e((e,t)=>{var s=et(),r=Math.max,i=Math.min;t.exports=function(e,t){var a=s(e);return a<0?r(a+t,0):i(a,t)}}),er=e((e,t)=>{var s=et(),r=Math.min;t.exports=function(e){return e>0?r(s(e),9007199254740991):0}}),ei=e((e,t)=>{var s=er();t.exports=function(e){return s(e.length)}}),ea=e((e,t)=>{var s=m(),r=es(),i=ei(),a=function(e){return function(t,a,n){var o,h=s(t),l=i(h),p=r(n,l);if(e&&a!=a){for(;l>p;)if((o=h[p++])!=o)return!0}else for(;l>p;p++)if((e||p in h)&&h[p]===a)return e||p||0;return!e&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}}),en=e((e,t)=>{var s=l(),r=D(),i=m(),a=ea().indexOf,n=G(),o=s([].push);t.exports=function(e,t){var s,h=i(e),l=0,p=[];for(s in h)!r(n,s)&&r(h,s)&&o(p,s);for(;t.length>l;)r(h,s=t[l++])&&(~a(p,s)||o(p,s));return p}}),eo=e((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),eh=e(e=>{var t=en(),s=eo().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,s)}}),el=e(e=>{e.f=Object.getOwnPropertySymbols}),ep=e((e,t)=>{var s=g(),r=l(),i=eh(),a=el(),n=V(),o=r([].concat);t.exports=s("Reflect","ownKeys")||function(e){var t=i.f(n(e)),s=a.f;return s?o(t,s(e)):t}}),ec=e((e,t)=>{var s=D(),r=ep(),i=z(),a=$();t.exports=function(e,t,n){for(var o=r(t),h=a.f,l=i.f,p=0;p{var s=r(),i=y(),a=/#|\.prototype\./,n=function(e,t){var r=h[o(e)];return r==p||r!=l&&(i(t)?s(t):!!t)},o=n.normalize=function(e){return String(e).replace(a,".").toLowerCase()},h=n.data={},l=n.NATIVE="N",p=n.POLYFILL="P";t.exports=n}),ed=e((e,s)=>{var r=t(),i=z().f,a=q(),n=Z(),o=k(),h=ec(),l=eu();s.exports=function(e,t){var s,p,c,u,d,m=e.target,f=e.global,y=e.stat;if(s=f?r:y?r[m]||o(m,{}):(r[m]||{}).prototype)for(p in t){if(u=t[p],c=e.dontCallGetSet?(d=i(s,p))&&d.value:s[p],!l(f?p:m+(y?".":"#")+p,e.forced)&&void 0!==c){if(typeof u==typeof c)continue;h(u,c)}(e.sham||c&&c.sham)&&a(u,"sham",!0),n(s,p,u,e)}}}),em=e(()=>{var e=ed(),s=t();e({global:!0,forced:s.globalThis!==s},{globalThis:s})}),ef=e(()=>{em()}),ey=e((e,t)=>{var s=Q(),r=$();t.exports=function(e,t,i){return i.get&&s(i.get,t,{getter:!0}),i.set&&s(i.set,t,{setter:!0}),r.f(e,t,i)}}),ex=e((e,t)=>{var s=V();t.exports=function(){var e=s(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}}),eg=e(()=>{var e=t(),s=i(),a=ey(),n=ex(),o=r(),h=e.RegExp,l=h.prototype;s&&o(function(){var e=!0;try{h(".","d")}catch{e=!1}var t={},s="",r=e?"dgimsy":"gimsy",i=function(e,r){Object.defineProperty(t,e,{get:function(){return s+=r,!0}})},a={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var n in e&&(a.hasIndices="d"),a)i(n,a[n]);return Object.getOwnPropertyDescriptor(l,"flags").get.call(t)!==r||s!==r})&&a(l,"flags",{configurable:!0,get:n})}),eP=e((e,t)=>{var s=p();t.exports=Array.isArray||function(e){return"Array"==s(e)}}),eb=e((e,t)=>{var s=TypeError;t.exports=function(e){if(e>9007199254740991)throw s("Maximum allowed index exceeded");return e}}),eT=e((e,t)=>{var s=p(),r=l();t.exports=function(e){if("Function"===s(e))return r(e)}}),eA=e((e,t)=>{var s=eT(),r=v(),i=a(),n=s(s.bind);t.exports=function(e,t){return r(e),void 0===t?e:i?n(e,t):function(){return e.apply(t,arguments)}}}),eE=e((e,t)=>{var s=eP(),r=ei(),i=eb(),a=eA(),n=function(e,t,o,h,l,p,c,u){for(var d,m,f=l,y=0,x=!!c&&a(c,u);y0&&s(d)?(m=r(d),f=n(e,t,d,m,f,p-1)-1):(i(f+1),e[f]=d),f++),y++;return f};t.exports=n}),eS=e((e,t)=>{var s=B()("toStringTag"),r={};r[s]="z",t.exports="[object z]"===String(r)}),ew=e((e,t)=>{var s=eS(),r=y(),i=p(),a=B()("toStringTag"),n=Object,o="Arguments"==i(function(){return arguments}()),h=function(e,t){try{return e[t]}catch{}};t.exports=s?i:function(e){var t,s,l;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(s=h(t=n(e),a))?s:o?i(t):"Object"==(l=i(t))&&r(t.callee)?"Arguments":l}}),ev=e((e,t)=>{var s=l(),i=r(),a=y(),n=ew(),o=g(),h=W(),p=function(){},c=[],u=o("Reflect","construct"),d=/^\s*(?:class|function)\b/,m=s(d.exec),f=!d.exec(p),x=function(e){if(!a(e))return!1;try{return u(p,c,e),!0}catch{return!1}},P=function(e){if(!a(e))return!1;switch(n(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return f||!!m(d,h(e))}catch{return!0}};P.sham=!0,t.exports=!u||i(function(){var e;return x(x.call)||!x(Object)||!x(function(){e=!0})||e})?P:x}),eC=e((e,t)=>{var s=eP(),r=ev(),i=x(),a=B()("species"),n=Array;t.exports=function(e){var t;return s(e)&&(r(t=e.constructor)&&(t===n||s(t.prototype))?t=void 0:i(t)&&null===(t=t[a])&&(t=void 0)),void 0===t?n:t}}),eN=e((e,t)=>{var s=eC();t.exports=function(e,t){return new(s(e))(0===t?0:t)}}),eI=e(()=>{var e=ed(),t=eE(),s=v(),r=O(),i=ei(),a=eN();e({target:"Array",proto:!0},{flatMap:function(e){var n,o=r(this),h=i(o);return s(e),(n=a(o,0)).length=t(n,o,o,h,0,1,e,arguments.length>1?arguments[1]:void 0),n}})});return e((e,t)=>{ef(),eg(),eI();var s=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,n=(e,t)=>function(){return e&&(t=(0,e[i(e)[0]])(e=0)),t},o=(e,t)=>function(){return t||(0,e[i(e)[0]])((t={exports:{}}).exports,t),t.exports},h=(e,t,n,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let h of i(t))a.call(e,h)||h===n||s(e,h,{get:()=>t[h],enumerable:!(o=r(t,h))||o.enumerable});return e},l=e=>h(s({},"__esModule",{value:!0}),e),p=n({""(){}}),c=o({"src/utils/try-combinations.js"(e,t){p(),t.exports=function(){let e;for(var t=arguments.length,s=Array(t),r=0;r{let i=r&&r.backwards;if(!1===s)return!1;let{length:a}=t,n=s;for(;n>=0&&n"u"){var e=new ArrayBuffer(2),t=new Uint8Array(e),s=new Uint16Array(e);if(t[0]=1,t[1]=2,258===s[0])O="BE";else if(513===s[0])O="LE";else throw Error("unable to figure out endianess")}return O}function b(){return"u">typeof globalThis.location?globalThis.location.hostname:""}function T(){return[]}function A(){return 0}function E(){return Number.MAX_VALUE}function S(){return Number.MAX_VALUE}function w(){return[]}function v(){return"Browser"}function C(){return"u">typeof globalThis.navigator?globalThis.navigator.appVersion:""}function N(){}function I(){}function k(){return"javascript"}function L(){return"browser"}function M(){return"/tmp"}((e,t)=>{for(var r in t)s(e,r,{get:t[r],enumerable:!0})})(g,{EOL:()=>F,arch:()=>k,cpus:()=>w,default:()=>B,endianness:()=>P,freemem:()=>E,getNetworkInterfaces:()=>I,hostname:()=>b,loadavg:()=>T,networkInterfaces:()=>N,platform:()=>L,release:()=>C,tmpDir:()=>M,tmpdir:()=>D,totalmem:()=>S,type:()=>v,uptime:()=>A});var O,D,F,B,j=n({"node-modules-polyfills:os"(){p(),B={EOL:F=` +`,tmpdir:D=M,tmpDir:M,networkInterfaces:N,getNetworkInterfaces:I,release:C,type:v,cpus:w,totalmem:S,freemem:E,uptime:A,loadavg:T,hostname:b,endianness:P}}}),R=o({"node-modules-polyfills-commonjs:os"(e,t){p();var s=(j(),l(g));if(s&&s.default)for(let e in t.exports=s.default,s)t.exports[e]=s[e];else s&&(t.exports=s)}}),U=o({"node_modules/detect-newline/index.js"(e,t){p();var s=e=>{if("string"!=typeof e)throw TypeError("Expected a string");let t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;let s=t.filter(e=>e===`\r +`).length,r=t.length-s;return s>r?`\r +`:` +`};t.exports=s,t.exports.graceful=e=>"string"==typeof e&&s(e)||` +`}}),_=o({"node_modules/jest-docblock/build/index.js"(e){function t(){let e=R();return t=function(){return e},e}function s(){var e;let t=(e=U())&&e.__esModule?e:{default:e};return s=function(){return t},t}p(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=function(e){let t=e.match(a);return t?t[0].trimLeft():""},e.parse=function(e){return d(e).pragmas},e.parseWithComments=d,e.print=function(e){let{comments:r="",pragmas:i={}}=e,a=(0,s().default)(r)||t().EOL,n=Object.keys(i),o=n.map(e=>m(e,i[e])).reduce((e,t)=>e.concat(t),[]).map(e=>` * ${e}${a}`).join("");if(!r){if(0===n.length)return"";if(1===n.length&&!Array.isArray(i[n[0]])){let e=i[n[0]];return`/** ${m(n[0],e)[0]} */`}}let h=r.split(a).map(e=>` * ${e}`).join(a)+a;return"/**"+a+(r?h:"")+(r&&n.length?" *"+a:"")+o+" */"},e.strip=function(e){let t=e.match(a);return t&&t[0]?e.substring(t[0].length):e};var r=/\*\/$/,i=/^\/\*\*?/,a=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,n=/(^|\s+)\/\/([^\r\n]*)/g,o=/^(\r?\n)+/,h=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,l=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,c=/(\r?\n|^) *\* ?/g,u=[];function d(e){let a=(0,s().default)(e)||t().EOL;e=e.replace(i,"").replace(r,"").replace(c,"$1");let p="";for(;p!==e;)p=e,e=e.replace(h,`${a}$1 $2${a}`);e=e.replace(o,"").trimRight();let d=Object.create(null),m=e.replace(l,"").replace(o,"").trimRight(),f;for(;f=l.exec(e);){let e=f[2].replace(n,"");"string"==typeof d[f[1]]||Array.isArray(d[f[1]])?d[f[1]]=u.concat(d[f[1]],e):d[f[1]]=e}return{comments:m,pragmas:d}}function m(e,t){return u.concat(t).map(t=>`@${e} ${t}`.trim())}}}),z=o({"src/common/end-of-line.js"(e,t){p(),t.exports={guessEndOfLine:function(e){let t=e.indexOf("\r");return t>=0?e.charAt(t+1)===` +`?"crlf":"cr":"lf"},convertEndOfLineToChars:function(e){switch(e){case"cr":return"\r";case"crlf":return`\r +`;default:return` +`}},countEndOfLineChars:function(e,t){let s;switch(t){case` +`:s=/\n/g;break;case"\r":s=/\r/g;break;case`\r +`:s=/\r\n/g;break;default:throw Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let r=e.match(s);return r?r.length:0},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,` +`)}}}}),H=o({"src/language-js/pragma.js"(e,t){p();var{parseWithComments:s,strip:r,extract:i,print:a}=_(),{normalizeEndOfLine:n}=z(),o=u();function h(e){let t=o(e);t&&(e=e.slice(t.length+1));let{pragmas:r,comments:a}=s(i(e));return{shebang:t,text:e,pragmas:r,comments:a}}t.exports={hasPragma:function(e){let t=Object.keys(h(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){let{shebang:t,text:s,pragmas:i,comments:o}=h(e),l=r(s);return(t?`${t} +`:"")+n(a({pragmas:Object.assign({format:""},i),comments:o.trimStart()}))+(l.startsWith(` +`)?` +`:` + +`)+l}}}}),V=o({"src/utils/is-non-empty-array.js"(e,t){p(),t.exports=function(e){return Array.isArray(e)&&e.length>0}}}),$=o({"src/language-js/loc.js"(e,t){p();var s=V();function r(e){var t,i;let a=e.range?e.range[0]:e.start,n=null!==(t=null===(i=e.declaration)||void 0===i?void 0:i.decorators)&&void 0!==t?t:e.decorators;return s(n)?Math.min(r(n[0]),a):a}function i(e){return e.range?e.range[1]:e.end}function a(e,t){let s=r(e);return Number.isInteger(s)&&s===r(t)}t.exports={locStart:r,locEnd:i,hasSameLocStart:a,hasSameLoc:function(e,t){let s;return a(e,t)&&Number.isInteger(s=i(e))&&s===i(t)}}}}),q=o({"src/language-js/parse/utils/create-parser.js"(e,t){p();var{hasPragma:s}=H(),{locStart:r,locEnd:i}=$();t.exports=function(e){return Object.assign({astFormat:"estree",hasPragma:s,locStart:r,locEnd:i},e="function"==typeof e?{parse:e}:e)}}}),K=o({"src/common/parser-create-error.js"(e,t){p(),t.exports=function(e,t){let s=SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return s.loc=t,s}}}),W=o({"src/language-js/parse/utils/create-babel-parse-error.js"(e,t){p();var s=K();t.exports=function(e){let{message:t,loc:r}=e;return s(t.replace(/ \(.*\)/,""),{start:{line:r?r.line:0,column:r?r.column+1:0}})}}}),J=o({"src/language-js/utils/is-ts-keyword-type.js"(e,t){p(),t.exports=function(e){let{type:t}=e;return t.startsWith("TS")&&t.endsWith("Keyword")}}}),X=o({"src/language-js/utils/is-block-comment.js"(e,t){p();var s=new Set(["Block","CommentBlock","MultiLine"]);t.exports=e=>s.has(null==e?void 0:e.type)}}),G=o({"src/language-js/utils/is-type-cast-comment.js"(e,t){p();var s=X();t.exports=function(e){return s(e)&&"*"===e.value[0]&&/@(?:type|satisfies)\b/.test(e.value)}}}),Y=o({"src/utils/get-last.js"(e,t){p(),t.exports=e=>e[e.length-1]}}),Q=o({"src/language-js/parse/postprocess/visit-node.js"(e,t){p(),t.exports=function e(t,s){if(Array.isArray(t)){for(let r=0;r{e.leadingComments&&e.leadingComments.some(a)&&t.add(s(e))}),e=o(e,e=>{if("ParenthesizedExpression"===e.type){let{expression:r}=e;if("TypeCastExpression"===r.type)return r.range=e.range,r;let i=s(e);if(!t.has(i))return r.extra=Object.assign(Object.assign({},r.extra),{},{parenthesized:!0}),r}})}return e=o(e,e=>{switch(e.type){case"ChainExpression":return function e(t){switch(t.type){case"CallExpression":t.type="OptionalCallExpression",t.callee=e(t.callee);break;case"MemberExpression":t.type="OptionalMemberExpression",t.object=e(t.object);break;case"TSNonNullExpression":t.expression=e(t.expression)}return t}(e.expression);case"LogicalExpression":if(l(e))return function e(t){return l(t)?e({type:"LogicalExpression",operator:t.operator,left:e({type:"LogicalExpression",operator:t.operator,left:t.left,right:t.right.left,range:[s(t.left),r(t.right.left)]}),right:t.right.right,range:[s(t),r(t)]}):t}(e);break;case"VariableDeclaration":{let i=n(e.declarations);i&&i.init&&";"!==t.originalText[r(i)]&&(e.range=[s(e),r(i)]);break}case"TSParenthesizedType":return i(e.typeAnnotation)||"TSThisType"===e.typeAnnotation.type||(e.typeAnnotation.range=[s(e),r(e)]),e.typeAnnotation;case"TSTypeParameter":if("string"==typeof e.name){let t=s(e);e.name={type:"Identifier",name:e.name,range:[t,t+e.name.length]}}break;case"ObjectExpression":if("typescript"===t.parser){let t=e.properties.find(e=>"Property"===e.type&&"TSEmptyBodyFunctionExpression"===e.value.type);t&&h(t.value,"Unexpected token.")}break;case"SequenceExpression":{let t=n(e.expressions);e.range=[s(e),Math.min(r(t),r(e))];break}case"TopicReference":t.__isUsingHackPipeline=!0;break;case"ExportAllDeclaration":{let{exported:i}=e;if("meriyah"===t.parser&&i&&"Identifier"===i.type){let a=t.originalText.slice(s(i),r(i));(a.startsWith('"')||a.startsWith("'"))&&(e.exported=Object.assign(Object.assign({},e.exported),{},{type:"Literal",value:e.exported.name,raw:a}))}break}case"PropertyDefinition":if("meriyah"===t.parser&&e.static&&!e.computed&&!e.key){let t="static",r=s(e);Object.assign(e,{static:!1,key:{type:"Identifier",name:t,range:[r,r+t.length]}})}}})}}}),et=o({"node_modules/@babel/parser/lib/index.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0});var t={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0},s=class{constructor(e,t){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!t}},r={brace:new s("{"),j_oTag:new s("...",!0)};r.template=new s("`",!0);var i=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.rightAssociative=!!t.rightAssociative,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=null!=t.binop?t.binop:null,this.updateContext=null}},a=new Map;function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.keyword=e;let s=y(e,t);return a.set(e,s),s}function o(e,t){return y(e,{beforeExpr:!0,binop:t})}var h=-1,l=[],c=[],u=[],d=[],m=[],f=[];function y(e){var t,s,r,a;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return++h,c.push(e),u.push(null!=(t=n.binop)?t:-1),d.push(null!=(s=n.beforeExpr)&&s),m.push(null!=(r=n.startsExpr)&&r),f.push(null!=(a=n.prefix)&&a),l.push(new i(e,n)),h}function x(e){var t,s,r,n;let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return++h,a.set(e,h),c.push(e),u.push(null!=(t=o.binop)?t:-1),d.push(null!=(s=o.beforeExpr)&&s),m.push(null!=(r=o.startsExpr)&&r),f.push(null!=(n=o.prefix)&&n),l.push(new i("name",o)),h}var g={bracketL:y("[",{beforeExpr:!0,startsExpr:!0}),bracketHashL:y("#[",{beforeExpr:!0,startsExpr:!0}),bracketBarL:y("[|",{beforeExpr:!0,startsExpr:!0}),bracketR:y("]"),bracketBarR:y("|]"),braceL:y("{",{beforeExpr:!0,startsExpr:!0}),braceBarL:y("{|",{beforeExpr:!0,startsExpr:!0}),braceHashL:y("#{",{beforeExpr:!0,startsExpr:!0}),braceR:y("}"),braceBarR:y("|}"),parenL:y("(",{beforeExpr:!0,startsExpr:!0}),parenR:y(")"),comma:y(",",{beforeExpr:!0}),semi:y(";",{beforeExpr:!0}),colon:y(":",{beforeExpr:!0}),doubleColon:y("::",{beforeExpr:!0}),dot:y("."),question:y("?",{beforeExpr:!0}),questionDot:y("?."),arrow:y("=>",{beforeExpr:!0}),template:y("template"),ellipsis:y("...",{beforeExpr:!0}),backQuote:y("`",{startsExpr:!0}),dollarBraceL:y("${",{beforeExpr:!0,startsExpr:!0}),templateTail:y("...`",{startsExpr:!0}),templateNonTail:y("...${",{beforeExpr:!0,startsExpr:!0}),at:y("@"),hash:y("#",{startsExpr:!0}),interpreterDirective:y("#!..."),eq:y("=",{beforeExpr:!0,isAssign:!0}),assign:y("_=",{beforeExpr:!0,isAssign:!0}),slashAssign:y("_=",{beforeExpr:!0,isAssign:!0}),xorAssign:y("_=",{beforeExpr:!0,isAssign:!0}),moduloAssign:y("_=",{beforeExpr:!0,isAssign:!0}),incDec:y("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),bang:y("!",{beforeExpr:!0,prefix:!0,startsExpr:!0}),tilde:y("~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),doubleCaret:y("^^",{startsExpr:!0}),doubleAt:y("@@",{startsExpr:!0}),pipeline:o("|>",0),nullishCoalescing:o("??",1),logicalOR:o("||",1),logicalAND:o("&&",2),bitwiseOR:o("|",3),bitwiseXOR:o("^",4),bitwiseAND:o("&",5),equality:o("==/!=/===/!==",6),lt:o("/<=/>=",7),gt:o("/<=/>=",7),relational:o("/<=/>=",7),bitShift:o("<>/>>>",8),bitShiftL:o("<>/>>>",8),bitShiftR:o("<>/>>>",8),plusMin:y("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:y("%",{binop:10,startsExpr:!0}),star:y("*",{binop:10}),slash:o("/",10),exponent:y("**",{beforeExpr:!0,binop:11,rightAssociative:!0}),_in:n("in",{beforeExpr:!0,binop:7}),_instanceof:n("instanceof",{beforeExpr:!0,binop:7}),_break:n("break"),_case:n("case",{beforeExpr:!0}),_catch:n("catch"),_continue:n("continue"),_debugger:n("debugger"),_default:n("default",{beforeExpr:!0}),_else:n("else",{beforeExpr:!0}),_finally:n("finally"),_function:n("function",{startsExpr:!0}),_if:n("if"),_return:n("return",{beforeExpr:!0}),_switch:n("switch"),_throw:n("throw",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_try:n("try"),_var:n("var"),_const:n("const"),_with:n("with"),_new:n("new",{beforeExpr:!0,startsExpr:!0}),_this:n("this",{startsExpr:!0}),_super:n("super",{startsExpr:!0}),_class:n("class",{startsExpr:!0}),_extends:n("extends",{beforeExpr:!0}),_export:n("export"),_import:n("import",{startsExpr:!0}),_null:n("null",{startsExpr:!0}),_true:n("true",{startsExpr:!0}),_false:n("false",{startsExpr:!0}),_typeof:n("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:n("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:n("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_do:n("do",{isLoop:!0,beforeExpr:!0}),_for:n("for",{isLoop:!0}),_while:n("while",{isLoop:!0}),_as:x("as",{startsExpr:!0}),_assert:x("assert",{startsExpr:!0}),_async:x("async",{startsExpr:!0}),_await:x("await",{startsExpr:!0}),_from:x("from",{startsExpr:!0}),_get:x("get",{startsExpr:!0}),_let:x("let",{startsExpr:!0}),_meta:x("meta",{startsExpr:!0}),_of:x("of",{startsExpr:!0}),_sent:x("sent",{startsExpr:!0}),_set:x("set",{startsExpr:!0}),_static:x("static",{startsExpr:!0}),_using:x("using",{startsExpr:!0}),_yield:x("yield",{startsExpr:!0}),_asserts:x("asserts",{startsExpr:!0}),_checks:x("checks",{startsExpr:!0}),_exports:x("exports",{startsExpr:!0}),_global:x("global",{startsExpr:!0}),_implements:x("implements",{startsExpr:!0}),_intrinsic:x("intrinsic",{startsExpr:!0}),_infer:x("infer",{startsExpr:!0}),_is:x("is",{startsExpr:!0}),_mixins:x("mixins",{startsExpr:!0}),_proto:x("proto",{startsExpr:!0}),_require:x("require",{startsExpr:!0}),_satisfies:x("satisfies",{startsExpr:!0}),_keyof:x("keyof",{startsExpr:!0}),_readonly:x("readonly",{startsExpr:!0}),_unique:x("unique",{startsExpr:!0}),_abstract:x("abstract",{startsExpr:!0}),_declare:x("declare",{startsExpr:!0}),_enum:x("enum",{startsExpr:!0}),_module:x("module",{startsExpr:!0}),_namespace:x("namespace",{startsExpr:!0}),_interface:x("interface",{startsExpr:!0}),_type:x("type",{startsExpr:!0}),_opaque:x("opaque",{startsExpr:!0}),name:y("name",{startsExpr:!0}),string:y("string",{startsExpr:!0}),num:y("num",{startsExpr:!0}),bigint:y("bigint",{startsExpr:!0}),decimal:y("decimal",{startsExpr:!0}),regexp:y("regexp",{startsExpr:!0}),privateName:y("#name",{startsExpr:!0}),eof:y("eof"),jsxName:y("jsxName"),jsxText:y("jsxText",{beforeExpr:!0}),jsxTagStart:y("jsxTagStart",{startsExpr:!0}),jsxTagEnd:y("jsxTagEnd"),placeholder:y("%%",{startsExpr:!0})};function P(e){return e>=93&&e<=130}function b(e){return e>=58&&e<=130}function T(e){return e>=58&&e<=134}function A(e){return e>=127&&e<=129}function E(e){return e>=58&&e<=92}function S(e){return e>=24&&e<=25}function w(e,t){if(null==e)return{};var s,r,i={},a=Object.keys(e);for(r=0;r=0||(i[s]=e[s]);return i}l[8].updateContext=e=>{e.pop()},l[5].updateContext=l[7].updateContext=l[23].updateContext=e=>{e.push(r.brace)},l[22].updateContext=e=>{e[e.length-1]===r.template?e.pop():e.push(r.template)},l[140].updateContext=e=>{e.push(r.j_expr,r.j_oTag)};var v=class{constructor(e,t,s){this.line=void 0,this.column=void 0,this.index=void 0,this.line=e,this.column=t,this.index=s}},C=class{constructor(e,t){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=e,this.end=t}};function N(e,t){let{line:s,column:r,index:i}=e;return new v(s,r+t,i+t)}var I={SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"},k=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length-1;return{get(){return e.reduce((e,t)=>e[t],this)},set(s){e.reduce((e,r,i)=>i===t?e[r]=s:e[r],this)}}},L=(e,t,s)=>Object.keys(s).map(e=>[e,s[e]]).filter(e=>{let[,t]=e;return!!t}).map(e=>{let[t,s]=e;return[t,"function"==typeof s?{value:s,enumerable:!1}:"string"==typeof s.reflect?Object.assign({},s,k(s.reflect.split("."))):s]}).reduce((e,t)=>{let[s,r]=t;return Object.defineProperty(e,s,Object.assign({configurable:!0},r))},Object.assign(new e,t)),M={ImportMetaOutsideModule:{message:"import.meta may appear only with 'sourceType: \"module\"'",code:I.SourceTypeModuleError},ImportOutsideModule:{message:"'import' and 'export' may appear only with 'sourceType: \"module\"'",code:I.SourceTypeModuleError}},O={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},D=e=>{let{type:t,prefix:s}=e;return"UpdateExpression"===t?O.UpdateExpression[String(s)]:O[t]},F=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),B=["toMessage"],j=["message"];function R(e,t){if(Array.isArray(e))return t=>R(t,e[0]);let s={};for(let r of Object.keys(e)){let i=e[r],a="string"==typeof i?{message:()=>i}:"function"==typeof i?{message:i}:i,{message:n}=a,o=w(a,j),h="string"==typeof n?()=>n:n;s[r]=function(e){let{toMessage:t}=e,s=w(e,B);return function e(r){let{loc:i,details:a}=r;return L(SyntaxError,Object.assign({},s,{loc:i}),{clone(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=t.loc||{};return e({loc:new v("line"in s?s.line:this.loc.line,"column"in s?s.column:this.loc.column,"index"in s?s.index:this.loc.index),details:Object.assign({},this.details,t.details)})},details:{value:a,enumerable:!1},message:{get(){return`${t(this.details)} (${this.loc.line}:${this.loc.column})`},set(e){Object.defineProperty(this,"message",{value:e})}},pos:{reflect:"loc.index",enumerable:!0},missingPlugin:"missingPlugin"in a&&{reflect:"details.missingPlugin",enumerable:!0}})}}(Object.assign({code:I.SyntaxError,reasonCode:r,toMessage:h},t?{syntaxPlugin:t}:{},o))}return s}var U=Object.assign({},R(M),R({AccessorIsGenerator:e=>{let{kind:t}=e;return`A ${t}ter cannot be a generator.`},ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitInUsingBinding:"'await' is not allowed to be used as a name in 'using' declarations.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:e=>{let{kind:t}=e;return`Missing initializer in ${t} declaration.`},DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:e=>{let{exportName:t}=e;return`\`${t}\` has already been exported. Exported identifiers must be unique.`},DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:e=>{let{localName:t,exportName:s}=e;return`A string literal cannot be used as an exported binding without \`from\`. +- Did you mean \`export { '${t}' as '${s}' } from 'some-module'\`?`},ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:e=>{let{type:t}=e;return`'${"ForInStatement"===t?"for-in":"for-of"}' loop variable declaration may not have an initializer.`},ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:e=>{let{type:t}=e;return`Unsyntactic ${"BreakStatement"===t?"break":"continue"}.`},IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:e=>{let{importName:t}=e;return`A string literal cannot be used as an imported binding. +- Did you mean \`import { "${t}" as foo }\`?`},ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:e=>{let{maxArgumentCount:t}=e;return`\`import()\` requires exactly ${1===t?"one argument":"one or two arguments"}.`},ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:e=>{let{radix:t}=e;return`Expected number in radix ${t}.`},InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:e=>{let{reservedWord:t}=e;return`Escape sequence in keyword ${t}.`},InvalidIdentifier:e=>{let{identifierName:t}=e;return`Invalid identifier ${t}.`},InvalidLhs:e=>{let{ancestor:t}=e;return`Invalid left-hand side in ${D(t)}.`},InvalidLhsBinding:e=>{let{ancestor:t}=e;return`Binding invalid left-hand side in ${D(t)}.`},InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:e=>{let{unexpected:t}=e;return`Unexpected character '${t}'.`},InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:e=>{let{identifierName:t}=e;return`Private name #${t} is not defined.`},InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:e=>{let{labelName:t}=e;return`Label '${t}' is already declared.`},LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:e=>{let{missingPlugin:t}=e;return`This experimental syntax requires enabling the parser plugin: ${t.map(e=>JSON.stringify(e)).join(", ")}.`},MissingOneOfPlugins:e=>{let{missingPlugin:t}=e;return`This experimental syntax requires enabling one of the following parser plugin(s): ${t.map(e=>JSON.stringify(e)).join(", ")}.`},MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:e=>{let{key:t}=e;return`Duplicate key "${t}" is not allowed in module attributes.`},ModuleExportNameHasLoneSurrogate:e=>{let{surrogateCharCode:t}=e;return`An export name cannot include a lone surrogate, found '\\u${t.toString(16)}'.`},ModuleExportUndefined:e=>{let{localName:t}=e;return`Export '${t}' is not defined.`},MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:e=>{let{identifierName:t}=e;return`Private names are only allowed in property accesses (\`obj.#${t}\`) or in \`in\` expressions (\`#${t} in obj\`).`},PrivateNameRedeclaration:e=>{let{identifierName:t}=e;return`Duplicate private name #${t}.`},RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:e=>{let{keyword:t}=e;return`Unexpected keyword '${t}'.`},UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:e=>{let{reservedWord:t}=e;return`Unexpected reserved word '${t}'.`},UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:e=>{let{expected:t,unexpected:s}=e;return`Unexpected token${s?` '${s}'.`:""}${t?`, expected "${t}"`:""}`},UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:e=>{let{target:t,onlyValidPropertyName:s}=e;return`The only valid meta property for ${t} is ${t}.${s}.`},UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:e=>{let{identifierName:t}=e;return`Identifier '${t}' has already been declared.`},YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."}),R({StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:e=>{let{referenceName:t}=e;return`Assigning to '${t}' in strict mode.`},StrictEvalArgumentsBinding:e=>{let{bindingName:t}=e;return`Binding '${t}' in strict mode.`},StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."}),R`pipelineOperator`({PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:e=>{let{token:t}=e;return`Invalid topic token ${t}. In order to use ${t} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${t}" }.`},PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:e=>{let{type:t}=e;return`Hack-style pipe body cannot be an unparenthesized ${D({type:t})}; please wrap it in parentheses.`},PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'})),{defineProperty:_}=Object,z=(e,t)=>_(e,t,{enumerable:!1,value:e[t]});function H(e){return e.loc.start&&z(e.loc.start,"index"),e.loc.end&&z(e.loc.end,"index"),e}var V="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",$="‌‍\xb7̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",q=RegExp("["+V+"]"),K=RegExp("["+V+$+"]");V=$=null;var W=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,3104,541,1507,4938,6,4191],J=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function X(e,t){let s=65536;for(let r=0,i=t.length;re);r+=2)if((s+=t[r+1])>=e)return!0;return!1}function G(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&q.test(String.fromCharCode(e)):X(e,W)))}function Y(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&K.test(String.fromCharCode(e)):X(e,W)||X(e,J))))}var Q=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),Z=new Set(["implements","interface","let","package","private","protected","public","static","yield"]),ee=new Set(["eval","arguments"]);function et(e,t){return t&&"await"===e||"enum"===e}function es(e,t){return et(e,t)||Z.has(e)}function er(e,t){return es(e,t)||ee.has(e)}var ei=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]),ea=class{constructor(e){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=e}},en=class{constructor(e,t){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=e,this.inModule=t}get inTopLevel(){return(1&this.currentScope().flags)>0}get inFunction(){return(2&this.currentVarScopeFlags())>0}get allowSuper(){return(16&this.currentThisScopeFlags())>0}get allowDirectSuper(){return(32&this.currentThisScopeFlags())>0}get inClass(){return(64&this.currentThisScopeFlags())>0}get inClassAndNotInNonArrowFunction(){let e=this.currentThisScopeFlags();return(64&e)>0&&(2&e)==0}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(128&t)return!0;if(451&t)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new ea(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(e){return!!(130&e.flags||!this.parser.inModule&&1&e.flags)}declareName(e,t,s){let r=this.currentScope();if(8&t||16&t)this.checkRedeclarationInScope(r,e,t,s),16&t?r.functions.add(e):r.lexical.add(e),8&t&&this.maybeExportDefined(r,e);else if(4&t)for(let i=this.scopeStack.length-1;i>=0&&(r=this.scopeStack[i],this.checkRedeclarationInScope(r,e,t,s),r.var.add(e),this.maybeExportDefined(r,e),!(387&r.flags));--i);this.parser.inModule&&1&r.flags&&this.undefinedExports.delete(e)}maybeExportDefined(e,t){this.parser.inModule&&1&e.flags&&this.undefinedExports.delete(t)}checkRedeclarationInScope(e,t,s,r){this.isRedeclaredInScope(e,t,s)&&this.parser.raise(U.VarRedeclaration,{at:r,identifierName:t})}isRedeclaredInScope(e,t,s){return!!(1&s)&&(8&s?e.lexical.has(t)||e.functions.has(t)||e.var.has(t):16&s?e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t):e.lexical.has(t)&&!(8&e.flags&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t))}checkLocalExport(e){let{name:t}=e,s=this.scopeStack[0];s.lexical.has(t)||s.var.has(t)||s.functions.has(t)||this.undefinedExports.set(t,e.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(387&t)return t}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(451&t&&!(4&t))return t}}},eo=class extends ea{constructor(){super(...arguments),this.declareFunctions=new Set}},eh=class extends en{createScope(e){return new eo(e)}declareName(e,t,s){let r=this.currentScope();if(2048&t){this.checkRedeclarationInScope(r,e,t,s),this.maybeExportDefined(r,e),r.declareFunctions.add(e);return}super.declareName(e,t,s)}isRedeclaredInScope(e,t,s){return!!super.isRedeclaredInScope(e,t,s)||!!(2048&s)&&!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}checkLocalExport(e){this.scopeStack[0].declareFunctions.has(e.name)||super.checkLocalExport(e)}},el=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(e){if("string"==typeof e)return this.plugins.has(e);{let[t,s]=e;if(!this.hasPlugin(t))return!1;let r=this.plugins.get(t);for(let e of Object.keys(s))if((null==r?void 0:r[e])!==s[e])return!1;return!0}}getPluginOption(e,t){var s;return null==(s=this.plugins.get(e))?void 0:s[t]}};function ep(e,t){void 0===e.trailingComments?e.trailingComments=t:e.trailingComments.unshift(...t)}function ec(e,t){void 0===e.innerComments?e.innerComments=t:e.innerComments.unshift(...t)}function eu(e,t,s){let r=null,i=t.length;for(;null===r&&i>0;)r=t[--i];null===r||r.start>s.start?ec(e,s.comments):ep(r,s.comments)}var ed=class extends el{addComment(e){this.filename&&(e.loc.filename=this.filename),this.state.comments.push(e)}processComment(e){let{commentStack:t}=this.state,s=t.length;if(0===s)return;let r=s-1,i=t[r];i.start===e.end&&(i.leadingNode=e,r--);let{start:a}=e;for(;r>=0;r--){let s=t[r],i=s.end;if(i>a)s.containingNode=e,this.finalizeComment(s),t.splice(r,1);else{i===a&&(s.trailingNode=e);break}}}finalizeComment(e){let{comments:t}=e;if(null!==e.leadingNode||null!==e.trailingNode){var s;null!==e.leadingNode&&ep(e.leadingNode,t),null!==e.trailingNode&&(void 0===(s=e.trailingNode).leadingComments?s.leadingComments=t:s.leadingComments.unshift(...t))}else{let{containingNode:s,start:r}=e;if(44===this.input.charCodeAt(r-1))switch(s.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":eu(s,s.properties,e);break;case"CallExpression":case"OptionalCallExpression":eu(s,s.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":eu(s,s.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":eu(s,s.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":eu(s,s.specifiers,e);break;default:ec(s,t)}else ec(s,t)}}finalizeRemainingComments(){let{commentStack:e}=this.state;for(let t=e.length-1;t>=0;t--)this.finalizeComment(e[t]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){let{commentStack:t}=this.state,{length:s}=t;if(0===s)return;let r=t[s-1];r.leadingNode===e&&(r.leadingNode=null)}takeSurroundingComments(e,t,s){let{commentStack:r}=this.state,i=r.length;if(0===i)return;let a=i-1;for(;a>=0;a--){let i=r[a],n=i.end;if(i.start===s)i.leadingNode=e;else if(n===t)i.trailingNode=e;else if(n48===e||49===e,oct:e=>e>=48&&e<=55,dec:e=>e>=48&&e<=57,hex:e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102};function eA(e,t,s,r,i,a){let n=s,o=r,h=i,l="",p=null,c=s,{length:u}=t;for(;;){var d;if(s>=u){a.unterminated(n,o,h),l+=t.slice(c,s);break}let m=t.charCodeAt(s);if(d=s,"template"===e?96===m||36===m&&123===t.charCodeAt(d+1):m===("double"===e?34:39)){l+=t.slice(c,s);break}if(92===m){l+=t.slice(c,s);let n=function(e,t,s,r,i,a){let n=!i;t++;let o=e=>({pos:t,ch:e,lineStart:s,curLine:r}),h=e.charCodeAt(t++);switch(h){case 110:return o(` +`);case 114:return o("\r");case 120:{let i;return{code:i,pos:t}=eE(e,t,s,r,2,!1,n,a),o(null===i?null:String.fromCharCode(i))}case 117:{let i;return{code:i,pos:t}=ew(e,t,s,r,n,a),o(null===i?null:String.fromCodePoint(i))}case 116:return o(" ");case 98:return o("\b");case 118:return o("\v");case 102:return o("\f");case 13:10===e.charCodeAt(t)&&++t;case 10:s=t,++r;case 8232:case 8233:return o("");case 56:case 57:if(i)return o(null);a.strictNumericEscape(t-1,s,r);default:if(h>=48&&h<=55){let n=t-1,h=e.slice(n,t+2).match(/^[0-7]+/)[0],l=parseInt(h,8);l>255&&(l=parseInt(h=h.slice(0,-1),8)),t+=h.length-1;let p=e.charCodeAt(t);if("0"!==h||56===p||57===p){if(i)return o(null);a.strictNumericEscape(n,s,r)}return o(String.fromCharCode(l))}return o(String.fromCharCode(h))}}(t,s,r,i,"template"===e,a);null!==n.ch||p?l+=n.ch:p={pos:s,lineStart:r,curLine:i},({pos:s,lineStart:r,curLine:i}=n),c=s}else 8232===m||8233===m?(++s,++i,r=s):10===m||13===m?"template"===e?(l+=t.slice(c,s)+` +`,++s,13===m&&10===t.charCodeAt(s)&&++s,++i,c=r=s):a.unterminated(n,o,h):++s}return{pos:s,str:l,firstInvalidLoc:p,lineStart:r,curLine:i,containsInvalid:!!p}}function eE(e,t,s,r,i,a,n,o){let h=t,l;return{n:l,pos:t}=eS(e,t,s,r,16,i,a,!1,o,!n),null===l&&(n?o.invalidEscapeSequence(h,s,r):t=h-1),{code:l,pos:t}}function eS(e,t,s,r,i,a,n,o,h,l){let p=t,c=16===i?eb.hex:eb.decBinOct,u=16===i?eT.hex:10===i?eT.dec:8===i?eT.oct:eT.bin,d=!1,m=0;for(let p=0,f=null==a?1/0:a;p=97?a-97+10:a>=65?a-65+10:a>=48&&a<=57?a-48:1/0)>=i){if(p<=9&&l)return{n:null,pos:t};if(p<=9&&h.invalidDigit(t,s,r,i))p=0;else if(n)p=0,d=!0;else break}++t,m=m*i+p}return t===p||null!=a&&t-p!==a||d?{n:null,pos:t}:{n:m,pos:t}}function ew(e,t,s,r,i,a){let n;if(123===e.charCodeAt(t)){if(++t,{code:n,pos:t}=eE(e,t,s,r,e.indexOf("}",t)-t,!0,i,a),++t,null!==n&&n>1114111){if(!i)return{code:null,pos:t};a.invalidCodePoint(t,s,r)}}else({code:n,pos:t}=eE(e,t,s,r,4,!1,i,a));return{code:n,pos:t}}var ev=["at"],eC=["at"];function eN(e,t,s){return new v(s,e-t,e)}var eI=new Set([103,109,115,105,121,117,100,118]),ek=class{constructor(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,this.loc=new C(e.startLoc,e.endLoc)}},eL=class extends ed{constructor(e,t){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(e,t,s,r)=>!!this.options.errorRecovery&&(this.raise(U.InvalidDigit,{at:eN(e,t,s),radix:r}),!0),numericSeparatorInEscapeSequence:this.errorBuilder(U.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(U.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(U.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(U.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(e,t,s)=>{this.recordStrictModeErrors(U.StrictNumericEscape,{at:eN(e,t,s)})},unterminated:(e,t,s)=>{throw this.raise(U.UnterminatedString,{at:eN(e-1,t,s)})}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(U.StrictNumericEscape),unterminated:(e,t,s)=>{throw this.raise(U.UnterminatedTemplate,{at:eN(e,t,s)})}}),this.state=new eP,this.state.init(e),this.input=t,this.length=t.length,this.isLookahead=!1}pushToken(e){this.tokens.length=this.state.tokensLength,this.tokens.push(e),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new ek(this.state)),this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(e){return!!this.match(e)&&(this.next(),!0)}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,context:[this.curContext()],inType:e.inType,startLoc:e.startLoc,lastTokEndLoc:e.lastTokEndLoc,curLine:e.curLine,lineStart:e.lineStart,curPosition:e.curPosition}}lookahead(){let e=this.state;this.state=this.createLookaheadState(e),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let t=this.state;return this.state=e,t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){return ex.lastIndex=e,ex.test(this.input)?ex.lastIndex:e}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((64512&t)==55296&&++e{let[t,s]=e;return this.raise(t,{at:s})}),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){if(this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length){this.finishToken(137);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(e){let t;this.isLookahead||(t=this.state.curPosition());let s=this.state.pos,r=this.input.indexOf(e,s+2);if(-1===r)throw this.raise(U.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=r+e.length,ef.lastIndex=s+2;ef.test(this.input)&&ef.lastIndex<=r;)++this.state.curLine,this.state.lineStart=ef.lastIndex;if(this.isLookahead)return;let i={type:"CommentBlock",value:this.input.slice(s+2,r),start:s,end:r+e.length,loc:new C(t,this.state.curPosition())};return this.options.tokens&&this.pushToken(i),i}skipLineComment(e){let t=this.state.pos,s;this.isLookahead||(s=this.state.curPosition());let r=this.input.charCodeAt(this.state.pos+=e);if(this.state.pose)){let e=this.skipLineComment(3);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e))}else break e}else if(60===s&&!this.inModule&&this.options.annexB){let e=this.state.pos;if(33===this.input.charCodeAt(e+1)&&45===this.input.charCodeAt(e+2)&&45===this.input.charCodeAt(e+3)){let e=this.skipLineComment(4);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e))}else break e}else break e}}if(t.length>0){let s=this.state.pos;this.state.commentStack.push({start:e,end:s,comments:t,leadingNode:null,trailingNode:null,containingNode:null})}}finishToken(e,t){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let s=this.state.type;this.state.type=e,this.state.value=t,this.isLookahead||this.updateContext(s)}replaceToken(e){this.state.type=e,this.updateContext()}readToken_numberSign(){if(0===this.state.pos&&this.readToken_interpreter())return;let e=this.state.pos+1,t=this.codePointAtPos(e);if(t>=48&&t<=57)throw this.raise(U.UnexpectedDigitAfterHash,{at:this.state.curPosition()});if(123===t||91===t&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),"bar"===this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(123===t?U.RecordExpressionHashIncorrectStartSyntaxType:U.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,123===t?this.finishToken(7):this.finishToken(1)}else G(t)?(++this.state.pos,this.finishToken(136,this.readWord1(t))):92===t?(++this.state.pos,this.finishToken(136,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(!0);return}46===e&&46===this.input.charCodeAt(this.state.pos+2)?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){61===this.input.charCodeAt(this.state.pos+1)?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(0!==this.state.pos||this.length<2)return!1;let e=this.input.charCodeAt(this.state.pos+1);if(33!==e)return!1;let t=this.state.pos;for(this.state.pos+=1;!ey(e)&&++this.state.pos=48&&t<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(U.TupleExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(U.RecordExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:this.hasPlugin("functionBind")&&58===this.input.charCodeAt(this.state.pos+1)?this.finishOp(15,2):(++this.state.pos,this.finishToken(14));return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{let e=this.input.charCodeAt(this.state.pos+1);if(120===e||88===e){this.readRadixNumber(16);return}if(111===e||79===e){this.readRadixNumber(8);return}if(98===e||66===e){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(G(e)){this.readWord(e);return}}throw this.raise(U.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected:String.fromCodePoint(e)})}finishOp(e,t){let s=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(e,s)}readRegexp(){let e=this.state.startLoc,t=this.state.start+1,s,r,{pos:i}=this.state;for(;;++i){if(i>=this.length)throw this.raise(U.UnterminatedRegExp,{at:N(e,1)});let t=this.input.charCodeAt(i);if(ey(t))throw this.raise(U.UnterminatedRegExp,{at:N(e,1)});if(s)s=!1;else{if(91===t)r=!0;else if(93===t&&r)r=!1;else if(47===t&&!r)break;s=92===t}}let a=this.input.slice(t,i);++i;let n="",o=()=>N(e,i+2-t);for(;i2&&void 0!==arguments[2]&&arguments[2],r=!(arguments.length>3)||void 0===arguments[3]||arguments[3],{n:i,pos:a}=eS(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,t,s,r,this.errorHandlers_readInt,!1);return this.state.pos=a,i}readRadixNumber(e){let t=this.state.curPosition(),s=!1;this.state.pos+=2;let r=this.readInt(e);null==r&&this.raise(U.InvalidDigit,{at:N(t,2),radix:e});let i=this.input.charCodeAt(this.state.pos);if(110===i)++this.state.pos,s=!0;else if(109===i)throw this.raise(U.InvalidDecimal,{at:t});if(G(this.codePointAtPos(this.state.pos)))throw this.raise(U.NumberIdentifier,{at:this.state.curPosition()});if(s){let e=this.input.slice(t.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(133,e);return}this.finishToken(132,r)}readNumber(e){let t=this.state.pos,s=this.state.curPosition(),r=!1,i=!1,a=!1,n=!1,o=!1;e||null!==this.readInt(10)||this.raise(U.InvalidNumber,{at:this.state.curPosition()});let h=this.state.pos-t>=2&&48===this.input.charCodeAt(t);if(h){let e=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(U.StrictOctalLiteral,{at:s}),!this.state.strict){let t=e.indexOf("_");t>0&&this.raise(U.ZeroDigitNumericSeparator,{at:N(s,t)})}o=h&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(46!==l||o||(++this.state.pos,this.readInt(10),r=!0,l=this.input.charCodeAt(this.state.pos)),69!==l&&101!==l||o||((43===(l=this.input.charCodeAt(++this.state.pos))||45===l)&&++this.state.pos,null===this.readInt(10)&&this.raise(U.InvalidOrMissingExponent,{at:s}),r=!0,n=!0,l=this.input.charCodeAt(this.state.pos)),110===l&&((r||h)&&this.raise(U.InvalidBigIntLiteral,{at:s}),++this.state.pos,i=!0),109===l&&(this.expectPlugin("decimal",this.state.curPosition()),(n||h)&&this.raise(U.InvalidDecimal,{at:s}),++this.state.pos,a=!0),G(this.codePointAtPos(this.state.pos)))throw this.raise(U.NumberIdentifier,{at:this.state.curPosition()});let p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(i){this.finishToken(133,p);return}if(a){this.finishToken(134,p);return}let c=o?parseInt(p,8):parseFloat(p);this.finishToken(132,c)}readCodePoint(e){let{code:t,pos:s}=ew(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,this.errorHandlers_readCodePoint);return this.state.pos=s,t}readString(e){let{str:t,pos:s,curLine:r,lineStart:i}=eA(34===e?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=s+1,this.state.lineStart=i,this.state.curLine=r,this.finishToken(131,t)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let e=this.input[this.state.pos],{str:t,firstInvalidLoc:s,pos:r,curLine:i,lineStart:a}=eA("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=r+1,this.state.lineStart=a,this.state.curLine=i,s&&(this.state.firstInvalidTemplateEscapePos=new v(s.curLine,s.pos-s.lineStart,s.pos)),96===this.input.codePointAt(r)?this.finishToken(24,s?null:e+t+"`"):(this.state.pos++,this.finishToken(25,s?null:e+t+"${"))}recordStrictModeErrors(e,t){let{at:s}=t,r=s.index;this.state.strict&&!this.state.strictErrors.has(r)?this.raise(e,{at:s}):this.state.strictErrors.set(r,[e,s])}readWord1(e){this.state.containsEsc=!1;let t="",s=this.state.pos,r=this.state.pos;for(void 0!==e&&(this.state.pos+=e<=65535?1:2);this.state.pos=0;t--){let s=n[t];if(s.loc.index===a)return n[t]=e({loc:i,details:r});if(s.loc.indexthis.hasPlugin(e)))throw this.raise(U.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:e})}errorBuilder(e){return(t,s,r)=>{this.raise(e,{at:eN(t,s,r)})}}},eM=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},eO=class{constructor(e){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=e}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new eM)}exit(){let e=this.stack.pop(),t=this.current();for(let[s,r]of Array.from(e.undefinedPrivateNames))t?t.undefinedPrivateNames.has(s)||t.undefinedPrivateNames.set(s,r):this.parser.raise(U.InvalidPrivateFieldResolution,{at:r,identifierName:s})}declarePrivateName(e,t,s){let{privateNames:r,loneAccessors:i,undefinedPrivateNames:a}=this.current(),n=r.has(e);if(3&t){let s=n&&i.get(e);if(s){let r=4&t;(n=(3&s)==(3&t)||(4&s)!==r)||i.delete(e)}else n||i.set(e,t)}n&&this.parser.raise(U.PrivateNameRedeclaration,{at:s,identifierName:e}),r.add(e),a.delete(e)}usePrivateName(e,t){let s;for(s of this.stack)if(s.privateNames.has(e))return;s?s.undefinedPrivateNames.set(e,t):this.parser.raise(U.InvalidPrivateFieldResolution,{at:t,identifierName:e})}},eD=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.type=void 0,this.type=e}canBeArrowParameterDeclaration(){return 2===this.type||1===this.type}isCertainlyParameterDeclaration(){return 3===this.type}},eF=class extends eD{constructor(e){super(e),this.declarationErrors=new Map}recordDeclarationError(e,t){let{at:s}=t,r=s.index;this.declarationErrors.set(r,[e,s])}clearDeclarationError(e){this.declarationErrors.delete(e)}iterateErrors(e){this.declarationErrors.forEach(e)}},eB=class{constructor(e){this.parser=void 0,this.stack=[new eD],this.parser=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,t){let{at:s}=t,r={at:s.loc.start},{stack:i}=this,a=i.length-1,n=i[a];for(;!n.isCertainlyParameterDeclaration();){if(!n.canBeArrowParameterDeclaration())return;n.recordDeclarationError(e,r),n=i[--a]}this.parser.raise(e,r)}recordArrowParameterBindingError(e,t){let{at:s}=t,{stack:r}=this,i=r[r.length-1],a={at:s.loc.start};if(i.isCertainlyParameterDeclaration())this.parser.raise(e,a);else{if(!i.canBeArrowParameterDeclaration())return;i.recordDeclarationError(e,a)}}recordAsyncArrowParametersError(e){let{at:t}=e,{stack:s}=this,r=s.length-1,i=s[r];for(;i.canBeArrowParameterDeclaration();)2===i.type&&i.recordDeclarationError(U.AwaitBindingIdentifier,{at:t}),i=s[--r]}validateAsPattern(){let{stack:e}=this,t=e[e.length-1];t.canBeArrowParameterDeclaration()&&t.iterateErrors(t=>{let[s,r]=t;this.parser.raise(s,{at:r});let i=e.length-2,a=e[i];for(;a.canBeArrowParameterDeclaration();)a.clearDeclarationError(r.index),a=e[--i]})}},ej=class{constructor(){this.stacks=[]}enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(2&this.currentFlags())>0}get hasYield(){return(1&this.currentFlags())>0}get hasReturn(){return(4&this.currentFlags())>0}get hasIn(){return(8&this.currentFlags())>0}};function eR(e,t){return(e?2:0)|(t?1:0)}var eU=class extends eL{addExtra(e,t,s){let r=!(arguments.length>3)||void 0===arguments[3]||arguments[3];if(!e)return;let i=e.extra=e.extra||{};r?i[t]=s:Object.defineProperty(i,t,{enumerable:r,value:s})}isContextual(e){return this.state.type===e&&!this.state.containsEsc}isUnparsedContextual(e,t){let s=e+t.length;if(this.input.slice(e,s)===t){let e=this.input.charCodeAt(s);return!(Y(e)||(64512&e)==55296)}return!1}isLookaheadContextual(e){let t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return!!this.isContextual(e)&&(this.next(),!0)}expectContextual(e,t){if(!this.eatContextual(e)){if(null!=t)throw this.raise(t,{at:this.state.startLoc});this.unexpected(null,e)}}canInsertSemicolon(){return this.match(137)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return em.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return eg.lastIndex=this.state.end,eg.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(){(!(arguments.length>0)||void 0===arguments[0]||arguments[0]?this.isLineTerminator():this.eat(13))||this.raise(U.MissingSemicolon,{at:this.state.lastTokEndLoc})}expect(e,t){this.eat(e)||this.unexpected(t,e)}tryParse(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state.clone(),s={node:null};try{let r=e(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;throw s.node=e,s});if(this.state.errors.length>t.errors.length){let e=this.state;return this.state=t,this.state.tokensLength=e.tokensLength,{node:r,error:e.errors[t.errors.length],thrown:!1,aborted:!1,failState:e}}return{node:r,error:null,thrown:!1,aborted:!1,failState:null}}catch(r){let e=this.state;if(this.state=t,r instanceof SyntaxError)return{node:null,error:r,thrown:!0,aborted:!1,failState:e};if(r===s)return{node:s.node,error:null,thrown:!1,aborted:!0,failState:e};throw r}}checkExpressionErrors(e,t){if(!e)return!1;let{shorthandAssignLoc:s,doubleProtoLoc:r,privateKeyLoc:i,optionalParametersLoc:a}=e,n=!!s||!!r||!!a||!!i;if(!t)return n;null!=s&&this.raise(U.InvalidCoverInitializedName,{at:s}),null!=r&&this.raise(U.DuplicateProto,{at:r}),null!=i&&this.raise(U.UnexpectedPrivateField,{at:i}),null!=a&&this.unexpected(a)}isLiteralPropertyName(){return T(this.state.type)}isPrivateName(e){return"PrivateName"===e.type}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)&&this.isPrivateName(e.property)}isObjectProperty(e){return"ObjectProperty"===e.type}isObjectMethod(e){return"ObjectMethod"===e.type}initializeScopes(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"module"===this.options.sourceType,t=this.state.labels;this.state.labels=[];let s=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let r=this.inModule;this.inModule=e;let i=this.scope,a=this.getScopeHandler();this.scope=new a(this,e);let n=this.prodParam;this.prodParam=new ej;let o=this.classScope;this.classScope=new eO(this);let h=this.expressionScope;return this.expressionScope=new eB(this),()=>{this.state.labels=t,this.exportedIdentifiers=s,this.inModule=r,this.scope=i,this.prodParam=n,this.classScope=o,this.expressionScope=h}}enterInitialScopes(){let e=0;this.inModule&&(e|=2),this.scope.enter(1),this.prodParam.enter(e)}checkDestructuringPrivate(e){let{privateKeyLoc:t}=e;null!==t&&this.expectPlugin("destructuringPrivate",t)}},e_=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}},ez=class{constructor(e,t,s){this.type="",this.start=t,this.end=0,this.loc=new C(s),null!=e&&e.options.ranges&&(this.range=[t,0]),null!=e&&e.filename&&(this.loc.filename=e.filename)}},eH=ez.prototype;function eV(e){let{type:t,start:s,end:r,loc:i,range:a,extra:n,name:o}=e,h=Object.create(eH);return h.type=t,h.start=s,h.end=r,h.loc=i,h.range=a,h.extra=n,h.name=o,"Placeholder"===t&&(h.expectedNode=e.expectedNode),h}eH.__clone=function(){let e=new ez(void 0,this.start,this.loc.start),t=Object.keys(this);for(let s=0,r=t.length;s1&&void 0!==arguments[1]?arguments[1]:this.state.lastTokEndLoc;e.end=t.index,e.loc.end=t,this.options.ranges&&(e.range[1]=t.index)}resetStartLocationFromNode(e,t){this.resetStartLocation(e,t.loc.start)}},eq=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),eK=R`flow`({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:e=>{let{reservedType:t}=e;return`Cannot overwrite reserved type ${t}.`},DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:e=>{let{memberName:t,enumName:s}=e;return`Boolean enum members need to be initialized. Use either \`${t} = true,\` or \`${t} = false,\` in enum \`${s}\`.`},EnumDuplicateMemberName:e=>{let{memberName:t,enumName:s}=e;return`Enum member names need to be unique, but the name \`${t}\` has already been used before in enum \`${s}\`.`},EnumInconsistentMemberValues:e=>{let{enumName:t}=e;return`Enum \`${t}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`},EnumInvalidExplicitType:e=>{let{invalidEnumType:t,enumName:s}=e;return`Enum type \`${t}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${s}\`.`},EnumInvalidExplicitTypeUnknownSupplied:e=>{let{enumName:t}=e;return`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`},EnumInvalidMemberInitializerPrimaryType:e=>{let{enumName:t,memberName:s,explicitType:r}=e;return`Enum \`${t}\` has type \`${r}\`, so the initializer of \`${s}\` needs to be a ${r} literal.`},EnumInvalidMemberInitializerSymbolType:e=>{let{enumName:t,memberName:s}=e;return`Symbol enum members cannot be initialized. Use \`${s},\` in enum \`${t}\`.`},EnumInvalidMemberInitializerUnknownType:e=>{let{enumName:t,memberName:s}=e;return`The enum member initializer for \`${s}\` needs to be a literal (either a boolean, number, or string) in enum \`${t}\`.`},EnumInvalidMemberName:e=>{let{enumName:t,memberName:s,suggestion:r}=e;return`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${s}\`, consider using \`${r}\`, in enum \`${t}\`.`},EnumNumberMemberNotInitialized:e=>{let{enumName:t,memberName:s}=e;return`Number enum members need to be initialized, e.g. \`${s} = 1\` in enum \`${t}\`.`},EnumStringMemberInconsistentlyInitailized:e=>{let{enumName:t}=e;return`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${t}\`.`},GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:e=>{let{reservedType:t}=e;return`Unexpected reserved type ${t}.`},UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`.",UnsupportedDeclareExportKind:e=>{let{unsupportedExportKind:t,suggestion:s}=e;return`\`declare export ${t}\` is not supported. Use \`${s}\` instead.`},UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function eW(e){return"type"===e.importKind||"typeof"===e.importKind}function eJ(e){return b(e)&&97!==e}var eX={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"},eG=/\*?\s*@((?:no)?flow)\b/,eY={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},eQ=R`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:e=>{let{openingTagName:t}=e;return`Expected corresponding JSX closing tag for <${t}>.`},MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:e=>{let{unexpected:t,HTMLEntity:s}=e;return`Unexpected token \`${t}\`. Did you mean \`${s}\` or \`{'${t}'}\`?`},UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?"});function eZ(e){return!!e&&("JSXOpeningFragment"===e.type||"JSXClosingFragment"===e.type)}function e1(e){if("JSXIdentifier"===e.type)return e.name;if("JSXNamespacedName"===e.type)return e.namespace.name+":"+e.name.name;if("JSXMemberExpression"===e.type)return e1(e.object)+"."+e1(e.property);throw Error("Node had unexpected type: "+e.type)}var e0=class extends ea{constructor(){super(...arguments),this.types=new Set,this.enums=new Set,this.constEnums=new Set,this.classes=new Set,this.exportOnlyBindings=new Set}},e2=class extends en{constructor(){super(...arguments),this.importsStack=[]}createScope(e){return this.importsStack.push(new Set),new e0(e)}enter(e){256==e&&this.importsStack.push(new Set),super.enter(e)}exit(){let e=super.exit();return 256==e&&this.importsStack.pop(),e}hasImport(e,t){let s=this.importsStack.length;if(this.importsStack[s-1].has(e))return!0;if(!t&&s>1){for(let t=0;t=0;e--){let s=this.scopeStack[e];if(s.types.has(t)||s.exportOnlyBindings.has(t))return}super.checkLocalExport(e)}},e3=(e,t)=>Object.hasOwnProperty.call(e,t)&&e[t],e4=e=>"ParenthesizedExpression"===e.type?e4(e.expression):e,e8=class extends e${toAssignable(e){var t,s,r;let i,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];switch(("ParenthesizedExpression"===e.type||null!=(t=e.extra)&&t.parenthesized)&&(i=e4(e),a?"Identifier"===i.type?this.expressionScope.recordArrowParameterBindingError(U.InvalidParenthesizedAssignment,{at:e}):"MemberExpression"!==i.type&&this.raise(U.InvalidParenthesizedAssignment,{at:e}):this.raise(U.InvalidParenthesizedAssignment,{at:e})),e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";for(let t=0,s=e.properties.length,i=s-1;t"ObjectMethod"!==e.type&&(s===t||"SpreadElement"!==e.type)&&this.isAssignable(e))}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every(e=>null===e||this.isAssignable(e));case"AssignmentExpression":return"="===e.operator;case"ParenthesizedExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return!1}}toReferencedList(e,t){return e}toReferencedListDeep(e,t){for(let s of(this.toReferencedList(e,t),e))(null==s?void 0:s.type)==="ArrayExpression"&&this.toReferencedListDeep(s.elements)}parseSpread(e){let t=this.startNode();return this.next(),t.argument=this.parseMaybeAssignAllowIn(e,void 0),this.finishNode(t,"SpreadElement")}parseRestBinding(){let e=this.startNode();return this.next(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let e=this.startNode();return this.next(),e.elements=this.parseBindingList(3,93,1),this.finishNode(e,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(e,t,s){let r=1&s,i=[],a=!0;for(;!this.eat(e);)if(a?a=!1:this.expect(12),r&&this.match(12))i.push(null);else{if(this.eat(e))break;if(this.match(21)){if(i.push(this.parseAssignableListItemTypes(this.parseRestBinding(),s)),!this.checkCommaAfterRest(t)){this.expect(e);break}}else{let e=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(U.UnsupportedParameterDecorator,{at:this.state.startLoc});this.match(26);)e.push(this.parseDecorator());i.push(this.parseAssignableListItem(s,e))}}return i}parseBindingRestProperty(e){return this.next(),e.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(e,"RestElement")}parseBindingProperty(){let e=this.startNode(),{type:t,startLoc:s}=this.state;return 21===t?this.parseBindingRestProperty(e):(136===t?(this.expectPlugin("destructuringPrivate",s),this.classScope.usePrivateName(this.state.value,s),e.key=this.parsePrivateName()):this.parsePropertyName(e),e.method=!1,this.parseObjPropValue(e,s,!1,!1,!0,!1))}parseAssignableListItem(e,t){let s=this.parseMaybeDefault();this.parseAssignableListItemTypes(s,e);let r=this.parseMaybeDefault(s.loc.start,s);return t.length&&(s.decorators=t),r}parseAssignableListItemTypes(e,t){return e}parseMaybeDefault(e,t){var s;if(null!=e||(e=this.state.startLoc),t=null!=(s=t)?s:this.parseBindingAtom(),!this.eat(29))return t;let r=this.startNodeAt(e);return r.left=t,r.right=this.parseMaybeAssignAllowIn(),this.finishNode(r,"AssignmentPattern")}isValidLVal(e,t,s){return e3({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},e)}checkLVal(e,t){var s;let{in:r,binding:i=64,checkClashes:a=!1,strictModeChanged:n=!1,hasParenthesizedAncestor:o=!1}=t,h=e.type;if(this.isObjectMethod(e))return;if("MemberExpression"===h){64!==i&&this.raise(U.InvalidPropertyBindingPattern,{at:e});return}if("Identifier"===h){this.checkIdentifier(e,i,n);let{name:t}=e;a&&(a.has(t)?this.raise(U.ParamDupe,{at:e}):a.add(t));return}let l=this.isValidLVal(h,!(o||null!=(s=e.extra)&&s.parenthesized)&&"AssignmentExpression"===r.type,i);if(!0===l)return;if(!1===l){let t=64===i?U.InvalidLhs:U.InvalidLhsBinding;this.raise(t,{at:e,ancestor:r});return}let[p,c]=Array.isArray(l)?l:[l,"ParenthesizedExpression"===h],u="ArrayPattern"===h||"ObjectPattern"===h||"ParenthesizedExpression"===h?{type:h}:r;for(let t of[].concat(e[p]))t&&this.checkLVal(t,{in:u,binding:i,checkClashes:a,strictModeChanged:n,hasParenthesizedAncestor:c})}checkIdentifier(e,t){var s;let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.state.strict&&(r?er(e.name,this.inModule):(s=e.name,ee.has(s)))&&(64===t?this.raise(U.StrictEvalArguments,{at:e,referenceName:e.name}):this.raise(U.StrictEvalArgumentsBinding,{at:e,bindingName:e.name})),8192&t&&"let"===e.name&&this.raise(U.LetInLexicalBinding,{at:e}),64&t||this.declareNameFromIdentifier(e,t)}declareNameFromIdentifier(e,t){this.scope.declareName(e.name,t,e.loc.start)}checkToRestConversion(e,t){switch(e.type){case"ParenthesizedExpression":this.checkToRestConversion(e.expression,t);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(t)break;default:this.raise(U.InvalidRestAssignmentPattern,{at:e})}}checkCommaAfterRest(e){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===e?U.RestTrailingComma:U.ElementAfterRest,{at:this.state.startLoc}),!0)}},e5=(e,t)=>Object.hasOwnProperty.call(e,t)&&e[t];function e6(e){if(!e)throw Error("Assert fail")}var e7=R`typescript`({AbstractMethodHasImplementation:e=>{let{methodName:t}=e;return`Method '${t}' cannot have an implementation because it is marked abstract.`},AbstractPropertyHasInitializer:e=>{let{propertyName:t}=e;return`Property '${t}' cannot have an initializer because it is marked abstract.`},AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:e=>{let{kind:t}=e;return`'declare' is not allowed in ${t}ters.`},DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:e=>{let{modifier:t}=e;return"Accessibility modifier already seen."},DuplicateModifier:e=>{let{modifier:t}=e;return`Duplicate modifier: '${t}'.`},EmptyHeritageClauseType:e=>{let{token:t}=e;return`'${t}' list cannot be empty.`},EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:e=>{let{modifiers:t}=e;return`'${t[0]}' modifier cannot be used with '${t[1]}' modifier.`},IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:e=>{let{modifier:t}=e;return`Index signatures cannot have an accessibility modifier ('${t}').`},IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:e=>{let{modifier:t}=e;return`'${t}' modifier cannot appear on a type member.`},InvalidModifierOnTypeParameter:e=>{let{modifier:t}=e;return`'${t}' modifier cannot appear on a type parameter.`},InvalidModifierOnTypeParameterPositions:e=>{let{modifier:t}=e;return`'${t}' modifier can only appear on a type parameter of a class, interface or type alias.`},InvalidModifiersOrder:e=>{let{orderedModifiers:t}=e;return`'${t[0]}' modifier must precede '${t[1]}' modifier.`},InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:e=>{let{modifier:t}=e;return`Private elements cannot have an accessibility modifier ('${t}').`},ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:e=>{let{typeParameterName:t}=e;return`Single type parameter ${t} should have a trailing comma. Example usage: <${t},>.`},StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:e=>{let{type:t}=e;return`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${t}.`}});function e9(e){return"private"===e||"public"===e||"protected"===e}function te(e,t){return t?"Literal"===e.type&&("number"==typeof e.value||"bigint"in e):"NumericLiteral"===e.type||"BigIntLiteral"===e.type}var tt=R`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});function ts(e,t){let[s,r]="string"==typeof t?[t,{}]:t,i=Object.keys(r),a=0===i.length;return e.some(e=>{if("string"==typeof e)return a&&e===s;{let[t,a]=e;if(t!==s)return!1;for(let e of i)if(a[e]!==r[e])return!1;return!0}})}function tr(e,t,s){let r=e.find(e=>Array.isArray(e)?e[0]===t:e===t);return r&&Array.isArray(r)&&r.length>1?r[1][s]:null}var ti=["minimal","fsharp","hack","smart"],ta=["^^","@@","^","%","#"],tn=["hash","bar"],to={estree:e=>class extends e{parse(){let e=H(super.parse());return this.options.tokens&&(e.tokens=e.tokens.map(H)),e}parseRegExpLiteral(e){let{pattern:t,flags:s}=e,r=null;try{r=new RegExp(t,s)}catch{}let i=this.estreeParseLiteral(r);return i.regex={pattern:t,flags:s},i}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch{t=null}let s=this.estreeParseLiteral(t);return s.bigint=String(s.value||e),s}parseDecimalLiteral(e){let t=this.estreeParseLiteral(null);return t.decimal=String(t.value||e),t}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){let t=e.value;return delete e.value,t.type="Literal",t.raw=t.extra.raw,t.value=t.extra.expressionValue,e.type="ExpressionStatement",e.expression=t,e.directive=t.extra.rawValue,delete t.extra,e}initFunction(e,t){super.initFunction(e,t),e.expression=!1}checkDeclaration(e){null!=e&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&!(null!=(t=e.expression.extra)&&t.parenthesized)}parseBlockBody(e,t,s,r,i){super.parseBlockBody(e,t,s,r,i);let a=e.directives.map(e=>this.directiveToStmt(e));e.body=a.concat(e.body),delete e.directives}pushClassMethod(e,t,s,r,i,a){this.parseMethod(t,s,r,i,a,"ClassMethod",!0),t.typeParameters&&(t.value.typeParameters=t.typeParameters,delete t.typeParameters),e.body.push(t)}parsePrivateName(){let e=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){let t=super.getPrivateNameSV(e);return delete e.id,e.name=t,e.type="PrivateIdentifier",e}isPrivateName(e){return this.getPluginOption("estree","classFeatures")?"PrivateIdentifier"===e.type:super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption("estree","classFeatures")?e.name:super.getPrivateNameSV(e)}parseLiteral(e,t){let s=super.parseLiteral(e,t);return s.raw=s.extra.raw,delete s.extra,s}parseFunctionBody(e,t){let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];super.parseFunctionBody(e,t,s),e.expression="BlockStatement"!==e.body.type}parseMethod(e,t,s,r,i,a){let n=arguments.length>6&&void 0!==arguments[6]&&arguments[6],o=this.startNode();return o.kind=e.kind,(o=super.parseMethod(o,t,s,r,i,a,n)).type="FunctionExpression",delete o.kind,e.value=o,"ClassPrivateMethod"===a&&(e.computed=!1),this.finishNode(e,"MethodDefinition")}parseClassProperty(){let e=super.parseClassProperty(...arguments);return this.getPluginOption("estree","classFeatures")&&(e.type="PropertyDefinition"),e}parseClassPrivateProperty(){let e=super.parseClassPrivateProperty(...arguments);return this.getPluginOption("estree","classFeatures")&&(e.type="PropertyDefinition",e.computed=!1),e}parseObjectMethod(e,t,s,r,i){let a=super.parseObjectMethod(e,t,s,r,i);return a&&(a.type="Property","method"===a.kind&&(a.kind="init"),a.shorthand=!1),a}parseObjectProperty(e,t,s,r){let i=super.parseObjectProperty(e,t,s,r);return i&&(i.kind="init",i.type="Property"),i}isValidLVal(e,t,s){return"Property"===e?"value":super.isValidLVal(e,t,s)}isAssignable(e,t){return null!=e&&this.isObjectProperty(e)?this.isAssignable(e.value,t):super.isAssignable(e,t)}toAssignable(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null!=e&&this.isObjectProperty(e)){let{key:s,value:r}=e;this.isPrivateName(s)&&this.classScope.usePrivateName(this.getPrivateNameSV(s),s.loc.start),this.toAssignable(r,t)}else super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,t,s){"get"===e.kind||"set"===e.kind?this.raise(U.PatternHasAccessor,{at:e.key}):e.method?this.raise(U.PatternHasMethod,{at:e.key}):super.toAssignableObjectExpressionProp(e,t,s)}finishCallExpression(e,t){let s=super.finishCallExpression(e,t);if("Import"===s.callee.type){if(s.type="ImportExpression",s.source=s.arguments[0],this.hasPlugin("importAssertions")){var r;s.attributes=null!=(r=s.arguments[1])?r:null}delete s.arguments,delete s.callee}return s}toReferencedArguments(e){"ImportExpression"!==e.type&&super.toReferencedArguments(e)}parseExport(e,t){let s=this.state.lastTokStartLoc,r=super.parseExport(e,t);switch(r.type){case"ExportAllDeclaration":r.exported=null;break;case"ExportNamedDeclaration":1===r.specifiers.length&&"ExportNamespaceSpecifier"===r.specifiers[0].type&&(r.type="ExportAllDeclaration",r.exported=r.specifiers[0].exported,delete r.specifiers);case"ExportDefaultDeclaration":{var i;let{declaration:e}=r;(null==e?void 0:e.type)==="ClassDeclaration"&&(null==(i=e.decorators)?void 0:i.length)>0&&e.start===r.start&&this.resetStartLocation(r,s)}}return r}parseSubscript(e,t,s,r){let i=super.parseSubscript(e,t,s,r);if(r.optionalChainMember){if(("OptionalMemberExpression"===i.type||"OptionalCallExpression"===i.type)&&(i.type=i.type.substring(8)),r.stop){let e=this.startNodeAtNode(i);return e.expression=i,this.finishNode(e,"ChainExpression")}}else("MemberExpression"===i.type||"CallExpression"===i.type)&&(i.optional=!1);return i}hasPropertyAsPrivateName(e){return"ChainExpression"===e.type&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isObjectProperty(e){return"Property"===e.type&&"init"===e.kind&&!e.method}isObjectMethod(e){return e.method||"get"===e.kind||"set"===e.kind}finishNodeAt(e,t,s){return H(super.finishNodeAt(e,t,s))}resetStartLocation(e,t){super.resetStartLocation(e,t),H(e)}resetEndLocation(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state.lastTokEndLoc;super.resetEndLocation(e,t),H(e)}},jsx:e=>class extends e{jsxReadToken(){let e="",t=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(eQ.UnterminatedJsxContent,{at:this.state.startLoc});let s=this.input.charCodeAt(this.state.pos);switch(s){case 60:case 123:if(this.state.pos===this.state.start){60===s&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(140)):super.getTokenFromCode(s);return}e+=this.input.slice(t,this.state.pos),this.finishToken(139,e);return;case 38:e+=this.input.slice(t,this.state.pos)+this.jsxReadEntity(),t=this.state.pos;break;default:ey(s)?(e+=this.input.slice(t,this.state.pos)+this.jsxReadNewLine(!0),t=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){let t=this.input.charCodeAt(this.state.pos),s;return++this.state.pos,13===t&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,s=e?` +`:`\r +`):s=String.fromCharCode(t),++this.state.curLine,this.state.lineStart=this.state.pos,s}jsxReadString(e){let t="",s=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(U.UnterminatedString,{at:this.state.startLoc});let r=this.input.charCodeAt(this.state.pos);if(r===e)break;38===r?(t+=this.input.slice(s,this.state.pos)+this.jsxReadEntity(),s=this.state.pos):ey(r)?(t+=this.input.slice(s,this.state.pos)+this.jsxReadNewLine(!1),s=this.state.pos):++this.state.pos}t+=this.input.slice(s,this.state.pos++),this.finishToken(131,t)}jsxReadEntity(){let e=++this.state.pos;if(35===this.codePointAtPos(this.state.pos)){++this.state.pos;let e=10;120===this.codePointAtPos(this.state.pos)&&(e=16,++this.state.pos);let t=this.readInt(e,void 0,!1,"bail");if(null!==t&&59===this.codePointAtPos(this.state.pos))return++this.state.pos,String.fromCodePoint(t)}else{let t=0,s=!1;for(;t++<10&&this.state.posclass extends e{constructor(){super(...arguments),this.flowPragma=void 0}getScopeHandler(){return eh}shouldParseTypes(){return this.getPluginOption("flow","all")||"flow"===this.flowPragma}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){131!==e&&13!==e&&28!==e&&void 0===this.flowPragma&&(this.flowPragma=null),super.finishToken(e,t)}addComment(e){if(void 0===this.flowPragma){let t=eG.exec(e.value);if(t){if("flow"===t[1])this.flowPragma="flow";else if("noflow"===t[1])this.flowPragma="noflow";else throw Error("Unexpected flow pragma")}}super.addComment(e)}flowParseTypeInitialiser(e){let t=this.state.inType;this.state.inType=!0,this.expect(e||14);let s=this.flowParseType();return this.state.inType=t,s}flowParsePredicate(){let e=this.startNode(),t=this.state.startLoc;return this.next(),this.expectContextual(108),this.state.lastTokStart>t.index+1&&this.raise(eK.UnexpectedSpaceBetweenModuloChecks,{at:t}),this.eat(10)?(e.value=super.parseExpression(),this.expect(11),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let e=this.state.inType;this.state.inType=!0,this.expect(14);let t=null,s=null;return this.match(54)?(this.state.inType=e,s=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=e,this.match(54)&&(s=this.flowParsePredicate())),[t,s]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();let t=e.id=this.parseIdentifier(),s=this.startNode(),r=this.startNode();this.match(47)?s.typeParameters=this.flowParseTypeParameterDeclaration():s.typeParameters=null,this.expect(10);let i=this.flowParseFunctionTypeParams();return s.params=i.params,s.rest=i.rest,s.this=i._this,this.expect(11),[s.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),r.typeAnnotation=this.finishNode(s,"FunctionTypeAnnotation"),t.typeAnnotation=this.finishNode(r,"TypeAnnotation"),this.resetEndLocation(t),this.semicolon(),this.scope.declareName(e.id.name,2048,e.id.loc.start),this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){return this.match(80)?this.flowParseDeclareClass(e):this.match(68)?this.flowParseDeclareFunction(e):this.match(74)?this.flowParseDeclareVariable(e):this.eatContextual(125)?this.match(16)?this.flowParseDeclareModuleExports(e):(t&&this.raise(eK.NestedDeclareModule,{at:this.state.lastTokStartLoc}),this.flowParseDeclareModule(e)):this.isContextual(128)?this.flowParseDeclareTypeAlias(e):this.isContextual(129)?this.flowParseDeclareOpaqueType(e):this.isContextual(127)?this.flowParseDeclareInterface(e):this.match(82)?this.flowParseDeclareExportDeclaration(e,t):void this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,5,e.id.loc.start),this.semicolon(),this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(0),this.match(131)?e.id=super.parseExprAtom():e.id=this.parseIdentifier();let t=e.body=this.startNode(),s=t.body=[];for(this.expect(5);!this.match(8);){let e=this.startNode();this.match(83)?(this.next(),this.isContextual(128)||this.match(87)||this.raise(eK.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),super.parseImport(e)):(this.expectContextual(123,eK.UnsupportedStatementInDeclareModule),e=this.flowParseDeclare(e,!0)),s.push(e)}this.scope.exit(),this.expect(8),this.finishNode(t,"BlockStatement");let r=null,i=!1;return s.forEach(e=>{"DeclareExportAllDeclaration"!==e.type&&("DeclareExportDeclaration"!==e.type||e.declaration&&("TypeAlias"===e.declaration.type||"InterfaceDeclaration"===e.declaration.type))?"DeclareModuleExports"===e.type&&(i&&this.raise(eK.DuplicateDeclareModuleExports,{at:e}),"ES"===r&&this.raise(eK.AmbiguousDeclareModuleKind,{at:e}),r="CommonJS",i=!0):("CommonJS"===r&&this.raise(eK.AmbiguousDeclareModuleKind,{at:e}),r="ES")}),e.kind=r||"CommonJS",this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(128)||this.isContextual(127))&&!t){let e=this.state.value;throw this.raise(eK.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:e,suggestion:eX[e]})}return this.match(74)||this.match(68)||this.match(80)||this.isContextual(129)?(e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration")):this.match(55)||this.match(5)||this.isContextual(127)||this.isContextual(128)||this.isContextual(129)?("ExportNamedDeclaration"===(e=this.parseExport(e,null)).type&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e):void this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(109),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();let t=this.flowParseTypeAlias(e);return t.type="DeclareTypeAlias",t}flowParseDeclareOpaqueType(e){this.next();let t=this.flowParseOpaqueType(e,!0);return t.type="DeclareOpaqueType",t}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e,!1),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t){if(e.id=this.flowParseRestrictedIdentifier(!t,!0),this.scope.declareName(e.id.name,t?17:8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],e.implements=[],e.mixins=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(!t&&this.eat(12));if(t){if(this.eatContextual(115))do e.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(111))do e.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:!1,allowSpread:!1,allowProto:t,allowInexact:!1})}flowParseInterfaceExtends(){let e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){return this.flowParseInterfaceish(e,!1),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){"_"===e&&this.raise(eK.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(e,t,s){eq.has(e)&&this.raise(s?eK.AssignReservedType:eK.UnexpectedReservedType,{at:t,reservedType:e})}flowParseRestrictedIdentifier(e,t){return this.checkReservedType(this.state.value,this.state.startLoc,t),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){return this.expectContextual(128),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,t||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,"OpaqueType")}flowParseTypeParameter(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.state.startLoc,s=this.startNode(),r=this.flowParseVariance(),i=this.flowParseTypeAnnotatableIdentifier();return s.name=i.name,s.variance=r,s.bound=i.typeAnnotation,this.match(29)?(this.eat(29),s.default=this.flowParseType()):e&&this.raise(eK.MissingTypeParamDefault,{at:t}),this.finishNode(s,"TypeParameter")}flowParseTypeParameterDeclaration(){let e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.match(47)||this.match(140)?this.next():this.unexpected();let s=!1;do{let e=this.flowParseTypeParameter(s);t.params.push(e),e.default&&(s=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let e=this.startNode(),t=this.state.inType;e.params=[],this.state.inType=!0,this.expect(47);let s=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)e.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=s,this.expect(48),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let e=this.startNode(),t=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){let e=this.startNode();if(this.expectContextual(127),e.extends=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(132)||this.match(131)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,t,s){return e.static=t,14===this.lookahead().type?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=s,this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){return e.static=t,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){let s=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(s),this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType(e){let{allowStatic:t,allowExact:s,allowSpread:r,allowProto:i,allowInexact:a}=e,n=this.state.inType;this.state.inType=!0;let o=this.startNode();o.callProperties=[],o.properties=[],o.indexers=[],o.internalSlots=[];let h,l,p=!1;for(s&&this.match(6)?(this.expect(6),h=9,l=!0):(this.expect(5),h=8,l=!1),o.exact=l;!this.match(h);){let e=!1,s=null,n=null,h=this.startNode();if(i&&this.isContextual(116)){let e=this.lookahead();14!==e.type&&17!==e.type&&(this.next(),s=this.state.startLoc,t=!1)}if(t&&this.isContextual(104)){let t=this.lookahead();14!==t.type&&17!==t.type&&(this.next(),e=!0)}let c=this.flowParseVariance();if(this.eat(0))null!=s&&this.unexpected(s),this.eat(0)?(c&&this.unexpected(c.loc.start),o.internalSlots.push(this.flowParseObjectTypeInternalSlot(h,e))):o.indexers.push(this.flowParseObjectTypeIndexer(h,e,c));else if(this.match(10)||this.match(47))null!=s&&this.unexpected(s),c&&this.unexpected(c.loc.start),o.callProperties.push(this.flowParseObjectTypeCallProperty(h,e));else{let t="init";(this.isContextual(98)||this.isContextual(103))&&T(this.lookahead().type)&&(t=this.state.value,this.next());let i=this.flowParseObjectTypeProperty(h,e,s,c,t,r,null!=a?a:!l);null===i?(p=!0,n=this.state.lastTokStartLoc):o.properties.push(i)}this.flowObjectTypeSemicolon(),!n||this.match(8)||this.match(9)||this.raise(eK.UnexpectedExplicitInexactInObject,{at:n})}this.expect(h),r&&(o.inexact=p);let c=this.finishNode(o,"ObjectTypeAnnotation");return this.state.inType=n,c}flowParseObjectTypeProperty(e,t,s,r,i,a,n){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(a?n||this.raise(eK.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(eK.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),r&&this.raise(eK.InexactVariance,{at:r}),null):(a||this.raise(eK.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),null!=s&&this.unexpected(s),r&&this.raise(eK.SpreadVariance,{at:r}),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));{e.key=this.flowParseObjectPropertyKey(),e.static=t,e.proto=null!=s,e.kind=i;let n=!1;return this.match(47)||this.match(10)?(e.method=!0,null!=s&&this.unexpected(s),r&&this.unexpected(r.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start)),("get"===i||"set"===i)&&this.flowCheckGetterSetterParams(e),!a&&"constructor"===e.key.name&&e.value.this&&this.raise(eK.ThisParamBannedInConstructor,{at:e.value.this})):("init"!==i&&this.unexpected(),e.method=!1,this.eat(17)&&(n=!0),e.value=this.flowParseTypeInitialiser(),e.variance=r),e.optional=n,this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){let t="get"===e.kind?0:1,s=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise("get"===e.kind?eK.GetterMayNotHaveThisParam:eK.SetterMayNotHaveThisParam,{at:e.value.this}),s!==t&&this.raise("get"===e.kind?U.BadGetterArity:U.BadSetterArity,{at:e}),"set"===e.kind&&e.value.rest&&this.raise(U.BadSetterRestParameter,{at:e})}flowObjectTypeSemicolon(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()}flowParseQualifiedTypeIdentifier(e,t){null!=e||(e=this.state.startLoc);let s=t||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let t=this.startNodeAt(e);t.qualification=s,t.id=this.flowParseRestrictedIdentifier(!0),s=this.finishNode(t,"QualifiedTypeIdentifier")}return s}flowParseGenericType(e,t){let s=this.startNodeAt(e);return s.typeParameters=null,s.id=this.flowParseQualifiedTypeIdentifier(e,t),this.match(47)&&(s.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(s,"GenericTypeAnnotation")}flowParseTypeofType(){let e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){let e=this.startNode();for(e.types=[],this.expect(0);this.state.pos0&&void 0!==arguments[0]?arguments[0]:[],t=null,s=null;for(this.match(78)&&((s=this.flowParseFunctionTypeParam(!0)).name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(t=this.flowParseFunctionTypeParam(!1)),{params:e,rest:t,_this:s}}flowIdentToTypeAnnotation(e,t,s){switch(s.name){case"any":return this.finishNode(t,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(t,"BooleanTypeAnnotation");case"mixed":return this.finishNode(t,"MixedTypeAnnotation");case"empty":return this.finishNode(t,"EmptyTypeAnnotation");case"number":return this.finishNode(t,"NumberTypeAnnotation");case"string":return this.finishNode(t,"StringTypeAnnotation");case"symbol":return this.finishNode(t,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(s.name),this.flowParseGenericType(e,s)}}flowParsePrimaryType(){let e=this.state.startLoc,t=this.startNode(),s,r,i=!1,a=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,r=this.flowParseTupleType(),this.state.noAnonFunctionType=a,r;case 47:return t.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),s=this.flowParseFunctionTypeParams(),t.params=s.params,t.rest=s.rest,t.this=s._this,this.expect(11),this.expect(19),t.returnType=this.flowParseType(),this.finishNode(t,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21)){if(P(this.state.type)||this.match(78)){let e=this.lookahead().type;i=17!==e&&14!==e}else i=!0}if(i){if(this.state.noAnonFunctionType=!1,r=this.flowParseType(),this.state.noAnonFunctionType=a,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&19===this.lookahead().type))return this.expect(11),r;this.eat(12)}return s=r?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(r)]):this.flowParseFunctionTypeParams(),t.params=s.params,t.rest=s.rest,t.this=s._this,this.expect(11),this.expect(19),t.returnType=this.flowParseType(),t.typeParameters=null,this.finishNode(t,"FunctionTypeAnnotation");case 131:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return t.value=this.match(85),this.next(),this.finishNode(t,"BooleanLiteralTypeAnnotation");case 53:if("-"===this.state.value){if(this.next(),this.match(132))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",t);if(this.match(133))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",t);throw this.raise(eK.UnexpectedSubtractionOperand,{at:this.state.startLoc})}this.unexpected();return;case 132:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 133:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(t,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(t,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(t,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(t,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(E(this.state.type)){let e=c[this.state.type];return this.next(),super.createIdentifier(t,e)}if(P(this.state.type))return this.isContextual(127)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(e,t,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){let e=this.state.startLoc,t=this.flowParsePrimaryType(),s=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let r=this.startNodeAt(e),i=this.eat(18);s=s||i,this.expect(0),!i&&this.match(3)?(r.elementType=t,this.next(),t=this.finishNode(r,"ArrayTypeAnnotation")):(r.objectType=t,r.indexType=this.flowParseType(),this.expect(3),s?(r.optional=i,t=this.finishNode(r,"OptionalIndexedAccessType")):t=this.finishNode(r,"IndexedAccessType"))}return t}flowParsePrefixType(){let e=this.startNode();return this.eat(17)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let t=this.startNodeAt(e.loc.start);return t.params=[this.reinterpretTypeAsFunctionTypeParam(e)],t.rest=null,t.this=null,t.returnType=this.flowParseType(),t.typeParameters=null,this.finishNode(t,"FunctionTypeAnnotation")}return e}flowParseIntersectionType(){let e=this.startNode();this.eat(45);let t=this.flowParseAnonFunctionWithoutParens();for(e.types=[t];this.eat(45);)e.types.push(this.flowParseAnonFunctionWithoutParens());return 1===e.types.length?t:this.finishNode(e,"IntersectionTypeAnnotation")}flowParseUnionType(){let e=this.startNode();this.eat(43);let t=this.flowParseIntersectionType();for(e.types=[t];this.eat(43);)e.types.push(this.flowParseIntersectionType());return 1===e.types.length?t:this.finishNode(e,"UnionTypeAnnotation")}flowParseType(){let e=this.state.inType;this.state.inType=!0;let t=this.flowParseUnionType();return this.state.inType=e,t}flowParseTypeOrImplicitInstantiation(){if(130!==this.state.type||"_"!==this.state.value)return this.flowParseType();{let e=this.state.startLoc,t=this.parseIdentifier();return this.flowParseGenericType(e,t)}}flowParseTypeAnnotation(){let e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(e){let t=e?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(t)),t}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}flowParseVariance(){let e=null;return this.match(53)?(e=this.startNode(),"+"===this.state.value?e.kind="plus":e.kind="minus",this.next(),this.finishNode(e,"Variance")):e}parseFunctionBody(e,t){let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(t){this.forwardNoArrowParamsConversionAt(e,()=>super.parseFunctionBody(e,!0,s));return}super.parseFunctionBody(e,!1,s)}parseFunctionBodyAndFinish(e,t){let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.match(14)){let t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(e,t,s)}parseStatementLike(e){if(this.state.strict&&this.isContextual(127)){if(b(this.lookahead().type)){let e=this.startNode();return this.next(),this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual(124)){let e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}let t=super.parseStatementLike(e);return void 0!==this.flowPragma||this.isValidDirective(t)||(this.flowPragma=null),t}parseExpressionStatement(e,t,s){if("Identifier"===t.type){if("declare"===t.name){if(this.match(80)||P(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(P(this.state.type)){if("interface"===t.name)return this.flowParseInterface(e);if("type"===t.name)return this.flowParseTypeAlias(e);if("opaque"===t.name)return this.flowParseOpaqueType(e,!1)}}return super.parseExpressionStatement(e,t,s)}shouldParseExportDeclaration(){let{type:e}=this.state;return A(e)||this.shouldParseEnums()&&124===e?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:e}=this.state;return A(e)||this.shouldParseEnums()&&124===e?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(124)){let e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,s){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){let t=this.lookaheadCharCode();if(44===t||61===t||58===t||41===t)return this.setOptionalParametersError(s),e}this.expect(17);let r=this.state.clone(),i=this.state.noArrowAt,a=this.startNodeAt(t),{consequent:n,failed:o}=this.tryParseConditionalConsequent(),[h,l]=this.getArrowLikeExpressions(n);if(o||l.length>0){let e=[...i];if(l.length>0){this.state=r,this.state.noArrowAt=e;for(let t=0;t1&&this.raise(eK.AmbiguousConditionalArrow,{at:r.startLoc}),o&&1===h.length&&(this.state=r,e.push(h[0].start),this.state.noArrowAt=e,{consequent:n,failed:o}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(n,!0),this.state.noArrowAt=i,this.expect(14),a.test=e,a.consequent=n,a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let e=this.parseMaybeAssignAllowIn(),t=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:t}}getArrowLikeExpressions(e,t){let s=[e],r=[];for(;0!==s.length;){let e=s.pop();"ArrowFunctionExpression"===e.type?(e.typeParameters||!e.returnType?this.finishArrowValidation(e):r.push(e),s.push(e.body)):"ConditionalExpression"===e.type&&(s.push(e.consequent),s.push(e.alternate))}return t?(r.forEach(e=>this.finishArrowValidation(e)),[r,[]]):function(e,t){let s=[],r=[];for(let i=0;ie.params.every(e=>this.isAssignable(e,!0)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,null==(t=e.extra)?void 0:t.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let s;return -1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),s=t(),this.state.noArrowParamsConversionAt.pop()):s=t(),s}parseParenItem(e,t){if(e=super.parseParenItem(e,t),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){let s=this.startNodeAt(t);return s.expression=e,s.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(s,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){"ImportDeclaration"===e.type&&("type"===e.importKind||"typeof"===e.importKind)||"ExportNamedDeclaration"===e.type&&"type"===e.exportKind||"ExportAllDeclaration"===e.type&&"type"===e.exportKind||super.assertModuleNodeAllowed(e)}parseExport(e,t){let s=super.parseExport(e,t);return("ExportNamedDeclaration"===s.type||"ExportAllDeclaration"===s.type)&&(s.exportKind=s.exportKind||"value"),s}parseExportDeclaration(e){if(this.isContextual(128)){e.exportKind="type";let t=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(e),null):this.flowParseTypeAlias(t)}if(this.isContextual(129)){e.exportKind="type";let t=this.startNode();return this.next(),this.flowParseOpaqueType(t,!1)}if(this.isContextual(127)){e.exportKind="type";let t=this.startNode();return this.next(),this.flowParseInterface(t)}{if(!(this.shouldParseEnums()&&this.isContextual(124)))return super.parseExportDeclaration(e);e.exportKind="value";let t=this.startNode();return this.next(),this.flowParseEnumDeclaration(t)}}eatExportStar(e){return!!super.eatExportStar(e)||!!this.isContextual(128)&&55===this.lookahead().type&&(e.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(e){let{startLoc:t}=this.state,s=super.maybeParseExportNamespaceSpecifier(e);return s&&"type"===e.exportKind&&this.unexpected(t),s}parseClassId(e,t,s){super.parseClassId(e,t,s),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,t,s){let{startLoc:r}=this.state;if(this.isContextual(123)){if(super.parseClassMemberFromModifier(e,t))return;t.declare=!0}super.parseClassMember(e,t,s),t.declare&&("ClassProperty"!==t.type&&"ClassPrivateProperty"!==t.type&&"PropertyDefinition"!==t.type?this.raise(eK.DeclareClassElement,{at:r}):t.value&&this.raise(eK.DeclareClassFieldInitializer,{at:t.value}))}isIterator(e){return"iterator"===e||"asyncIterator"===e}readIterator(){let e=super.readWord1(),t="@@"+e;this.isIterator(e)&&this.state.inType||this.raise(U.InvalidIdentifier,{at:this.state.curPosition(),identifierName:t}),this.finishToken(130,t)}getTokenFromCode(e){var t;let s=this.input.charCodeAt(this.state.pos+1);123===e&&124===s?this.finishOp(6,2):this.state.inType&&(62===e||60===e)?this.finishOp(62===e?48:47,1):this.state.inType&&63===e?46===s?this.finishOp(18,2):this.finishOp(17,1):(t=this.input.charCodeAt(this.state.pos+2),64===e&&64===s&&G(t))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e)}isAssignable(e,t){return"TypeCastExpression"===e.type?this.isAssignable(e.expression,t):super.isAssignable(e,t)}toAssignable(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t||"AssignmentExpression"!==e.type||"TypeCastExpression"!==e.left.type||(e.left=this.typeCastToParameter(e.left)),super.toAssignable(e,t)}toAssignableList(e,t,s){for(let t=0;t1||!t)&&this.raise(eK.TypeCastInPattern,{at:i.typeAnnotation})}return e}parseArrayLike(e,t,s,r){let i=super.parseArrayLike(e,t,s,r);return t&&!this.state.maybeInArrowParameters&&this.toReferencedList(i.elements),i}isValidLVal(e,t,s){return"TypeCastExpression"===e||super.isValidLVal(e,t,s)}parseClassProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(e)}parseClassPrivateProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,s,r,i,a){if(t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,t,s,r,i,a),t.params&&i){let e=t.params;e.length>0&&this.isThisParam(e[0])&&this.raise(eK.ThisParamBannedInConstructor,{at:t})}else if("MethodDefinition"===t.type&&i&&t.value.params){let e=t.value.params;e.length>0&&this.isThisParam(e[0])&&this.raise(eK.ThisParamBannedInConstructor,{at:t})}}pushClassPrivateMethod(e,t,s,r){t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,t,s,r)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&this.match(47)&&(e.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(111)){this.next();let t=e.implements=[];do{let e=this.startNode();e.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);let t=this.getObjectOrClassMethodParams(e);if(t.length>0){let s=t[0];this.isThisParam(s)&&"get"===e.kind?this.raise(eK.GetterMayNotHaveThisParam,{at:s}):this.isThisParam(s)&&this.raise(eK.SetterMayNotHaveThisParam,{at:s})}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,t,s,r,i,a,n){let o;e.variance&&this.unexpected(e.variance.loc.start),delete e.variance,this.match(47)&&!a&&(o=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let h=super.parseObjPropValue(e,t,s,r,i,a,n);return o&&((h.value||h).typeParameters=o),h}parseAssignableListItemTypes(e){return this.eat(17)&&("Identifier"!==e.type&&this.raise(eK.PatternIsOptional,{at:e}),this.isThisParam(e)&&this.raise(eK.ThisParamMayNotBeOptional,{at:e}),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(eK.ThisParamAnnotationRequired,{at:e}),this.match(29)&&this.isThisParam(e)&&this.raise(eK.ThisParamNoDefault,{at:e}),this.resetEndLocation(e),e}parseMaybeDefault(e,t){let s=super.parseMaybeDefault(e,t);return"AssignmentPattern"===s.type&&s.typeAnnotation&&s.right.startsuper.parseMaybeAssign(e,t),n)).error)return o.node;let{context:s}=this.state,i=s[s.length-1];(i===r.j_oTag||i===r.j_expr)&&s.pop()}if(null!=(s=o)&&s.error||this.match(47)){n=n||this.state.clone();let s,r=this.tryParse(r=>{var i;s=this.flowParseTypeParameterDeclaration();let a=this.forwardNoArrowParamsConversionAt(s,()=>{let r=super.parseMaybeAssign(e,t);return this.resetStartLocationFromNode(r,s),r});null!=(i=a.extra)&&i.parenthesized&&r();let n=this.maybeUnwrapTypeCastExpression(a);return"ArrowFunctionExpression"!==n.type&&r(),n.typeParameters=s,this.resetStartLocationFromNode(n,s),a},n),h=null;if(r.node&&"ArrowFunctionExpression"===this.maybeUnwrapTypeCastExpression(r.node).type){if(!r.error&&!r.aborted)return r.node.async&&this.raise(eK.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:s}),r.node;h=r.node}if(null!=(i=o)&&i.node)return this.state=o.failState,o.node;if(h)return this.state=r.failState,h;throw null!=(a=o)&&a.thrown?o.error:r.thrown?r.error:this.raise(eK.UnexpectedTokenAfterTypeParameter,{at:s})}return super.parseMaybeAssign(e,t)}parseArrow(e){if(this.match(14)){let t=this.tryParse(()=>{let t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let s=this.startNode();return[s.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=t,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),s});if(t.thrown)return null;t.error&&(this.state=t.failState),e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,t){-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?e.params=t:super.setArrowFunctionParameters(e,t)}checkParams(e,t,s){let r=!(arguments.length>3)||void 0===arguments[3]||arguments[3];if(!(s&&-1!==this.state.noArrowParamsConversionAt.indexOf(e.start))){for(let t=0;t0&&this.raise(eK.ThisParamMustBeFirst,{at:e.params[t]});super.checkParams(e,t,s,r)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&-1===this.state.noArrowAt.indexOf(this.state.start))}parseSubscripts(e,t,s){if("Identifier"===e.type&&"async"===e.name&&-1!==this.state.noArrowAt.indexOf(t.index)){this.next();let s=this.startNodeAt(t);s.callee=e,s.arguments=super.parseCallExpressionArguments(11,!1),e=this.finishNode(s,"CallExpression")}else if("Identifier"===e.type&&"async"===e.name&&this.match(47)){let r=this.state.clone(),i=this.tryParse(e=>this.parseAsyncArrowWithTypeParameters(t)||e(),r);if(!i.error&&!i.aborted)return i.node;let a=this.tryParse(()=>super.parseSubscripts(e,t,s),r);if(a.node&&!a.error)return a.node;if(i.node)return this.state=i.failState,i.node;if(a.node)return this.state=a.failState,a.node;throw i.error||a.error}return super.parseSubscripts(e,t,s)}parseSubscript(e,t,s,r){if(this.match(18)&&this.isLookaheadToken_lt()){if(r.optionalChainMember=!0,s)return r.stop=!0,e;this.next();let i=this.startNodeAt(t);return i.callee=e,i.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),i.arguments=this.parseCallExpressionArguments(11,!1),i.optional=!0,this.finishCallExpression(i,!0)}if(!s&&this.shouldParseTypes()&&this.match(47)){let s=this.startNodeAt(t);s.callee=e;let i=this.tryParse(()=>(s.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),s.arguments=super.parseCallExpressionArguments(11,!1),r.optionalChainMember&&(s.optional=!1),this.finishCallExpression(s,r.optionalChainMember)));if(i.node)return i.error&&(this.state=i.failState),i.node}return super.parseSubscript(e,t,s,r)}parseNewCallee(e){super.parseNewCallee(e);let t=null;this.shouldParseTypes()&&this.match(47)&&(t=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),e.typeArguments=t}parseAsyncArrowWithTypeParameters(e){let t=this.startNodeAt(e);if(this.parseFunctionParams(t,!1),this.parseArrow(t))return super.parseArrowExpression(t,void 0,!0)}readToken_mult_modulo(e){let t=this.input.charCodeAt(this.state.pos+1);if(42===e&&47===t&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){let t=this.input.charCodeAt(this.state.pos+1);if(124===e&&125===t){this.finishOp(9,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){let s=super.parseTopLevel(e,t);return this.state.hasFlowComment&&this.raise(eK.UnterminatedFlowComment,{at:this.state.curPosition()}),s}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(eK.NestedFlowComment,{at:this.state.startLoc});this.hasFlowCommentCompletion();let e=this.skipFlowComment();e&&(this.state.pos+=e,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){let{pos:e}=this.state,t=2;for(;[32,9].includes(this.input.charCodeAt(e+t));)t++;let s=this.input.charCodeAt(t+e),r=this.input.charCodeAt(t+e+1);return 58===s&&58===r?t+2:"flow-include"===this.input.slice(t+e,t+e+12)?t+12:58===s&&58!==r&&t}hasFlowCommentCompletion(){if(-1===this.input.indexOf("*/",this.state.pos))throw this.raise(U.UnterminatedComment,{at:this.state.curPosition()})}flowEnumErrorBooleanMemberNotInitialized(e,t){let{enumName:s,memberName:r}=t;this.raise(eK.EnumBooleanMemberNotInitialized,{at:e,memberName:r,enumName:s})}flowEnumErrorInvalidMemberInitializer(e,t){return this.raise(t.explicitType?"symbol"===t.explicitType?eK.EnumInvalidMemberInitializerSymbolType:eK.EnumInvalidMemberInitializerPrimaryType:eK.EnumInvalidMemberInitializerUnknownType,Object.assign({at:e},t))}flowEnumErrorNumberMemberNotInitialized(e,t){let{enumName:s,memberName:r}=t;this.raise(eK.EnumNumberMemberNotInitialized,{at:e,enumName:s,memberName:r})}flowEnumErrorStringMemberInconsistentlyInitailized(e,t){let{enumName:s}=t;this.raise(eK.EnumStringMemberInconsistentlyInitailized,{at:e,enumName:s})}flowEnumMemberInit(){let e=this.state.startLoc,t=()=>this.match(12)||this.match(8);switch(this.state.type){case 132:{let s=this.parseNumericLiteral(this.state.value);return t()?{type:"number",loc:s.loc.start,value:s}:{type:"invalid",loc:e}}case 131:{let s=this.parseStringLiteral(this.state.value);return t()?{type:"string",loc:s.loc.start,value:s}:{type:"invalid",loc:e}}case 85:case 86:{let s=this.parseBooleanLiteral(this.match(85));return t()?{type:"boolean",loc:s.loc.start,value:s}:{type:"invalid",loc:e}}default:return{type:"invalid",loc:e}}}flowEnumMemberRaw(){let e=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e}}}flowEnumCheckExplicitTypeMismatch(e,t,s){let{explicitType:r}=t;null!==r&&r!==s&&this.flowEnumErrorInvalidMemberInitializer(e,t)}flowEnumMembers(e){let{enumName:t,explicitType:s}=e,r=new Set,i={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},a=!1;for(;!this.match(8);){if(this.eat(21)){a=!0;break}let e=this.startNode(),{id:n,init:o}=this.flowEnumMemberRaw(),h=n.name;if(""===h)continue;/^[a-z]/.test(h)&&this.raise(eK.EnumInvalidMemberName,{at:n,memberName:h,suggestion:h[0].toUpperCase()+h.slice(1),enumName:t}),r.has(h)&&this.raise(eK.EnumDuplicateMemberName,{at:n,memberName:h,enumName:t}),r.add(h);let l={enumName:t,explicitType:s,memberName:h};switch(e.id=n,o.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(o.loc,l,"boolean"),e.init=o.value,i.booleanMembers.push(this.finishNode(e,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(o.loc,l,"number"),e.init=o.value,i.numberMembers.push(this.finishNode(e,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(o.loc,l,"string"),e.init=o.value,i.stringMembers.push(this.finishNode(e,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(o.loc,l);case"none":switch(s){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.loc,l);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.loc,l);break;default:i.defaultedMembers.push(this.finishNode(e,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:i,hasUnknownMembers:a}}flowEnumStringMembers(e,t,s){let{enumName:r}=s;if(0===e.length)return t;if(0===t.length)return e;if(t.length>e.length){for(let t of e)this.flowEnumErrorStringMemberInconsistentlyInitailized(t,{enumName:r});return t}for(let e of t)this.flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:r});return e}flowEnumParseExplicitType(e){let{enumName:t}=e;if(!this.eatContextual(101))return null;if(!P(this.state.type))throw this.raise(eK.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:t});let{value:s}=this.state;return this.next(),"boolean"!==s&&"number"!==s&&"string"!==s&&"symbol"!==s&&this.raise(eK.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:t,invalidEnumType:s}),s}flowEnumBody(e,t){let s=t.name,r=t.loc.start,i=this.flowEnumParseExplicitType({enumName:s});this.expect(5);let{members:a,hasUnknownMembers:n}=this.flowEnumMembers({enumName:s,explicitType:i});switch(e.hasUnknownMembers=n,i){case"boolean":return e.explicitType=!0,e.members=a.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=a.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(a.stringMembers,a.defaultedMembers,{enumName:s}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=a.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:{let t=()=>(e.members=[],this.expect(8),this.finishNode(e,"EnumStringBody"));e.explicitType=!1;let i=a.booleanMembers.length,n=a.numberMembers.length,o=a.stringMembers.length,h=a.defaultedMembers.length;if(!i&&!n&&!o&&!h)return t();if(!i&&!n)return e.members=this.flowEnumStringMembers(a.stringMembers,a.defaultedMembers,{enumName:s}),this.expect(8),this.finishNode(e,"EnumStringBody");if(n||o||!(i>=h)){if(i||o||!(n>=h))return this.raise(eK.EnumInconsistentMemberValues,{at:r,enumName:s}),t();for(let e of a.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(e.loc.start,{enumName:s,memberName:e.id.name});return e.members=a.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}for(let e of a.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(e.loc.start,{enumName:s,memberName:e.id.name});return e.members=a.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}}}flowParseEnumDeclaration(e){let t=this.parseIdentifier();return e.id=t,e.body=this.flowEnumBody(this.startNode(),t),this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){let e=this.nextTokenStart();if(60===this.input.charCodeAt(e)){let t=this.input.charCodeAt(e+1);return 60!==t&&61!==t}return!1}maybeUnwrapTypeCastExpression(e){return"TypeCastExpression"===e.type?e.expression:e}},typescript:e=>class extends e{constructor(){super(...arguments),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:e7.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:e7.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:e7.InvalidModifierOnTypeParameter})}getScopeHandler(){return e2}tsIsIdentifier(){return P(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(136)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(e,t){if(!P(this.state.type)&&58!==this.state.type&&75!==this.state.type)return;let s=this.state.value;if(-1!==e.indexOf(s)){if(t&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return s}}tsParseModifiers(e,t){let{allowedModifiers:s,disallowedModifiers:r,stopOnStartOfClassStaticBlock:i,errorTemplate:a=e7.InvalidModifierOnTypeMember}=e,n=(e,s,r,i)=>{s===r&&t[i]&&this.raise(e7.InvalidModifiersOrder,{at:e,orderedModifiers:[r,i]})},o=(e,s,r,i)=>{(t[r]&&s===i||t[i]&&s===r)&&this.raise(e7.IncompatibleModifiers,{at:e,modifiers:[r,i]})};for(;;){let{startLoc:e}=this.state,h=this.tsParseModifier(s.concat(null!=r?r:[]),i);if(!h)break;e9(h)?t.accessibility?this.raise(e7.DuplicateAccessibilityModifier,{at:e,modifier:h}):(n(e,h,h,"override"),n(e,h,h,"static"),n(e,h,h,"readonly"),t.accessibility=h):"in"===h||"out"===h?(t[h]&&this.raise(e7.DuplicateModifier,{at:e,modifier:h}),t[h]=!0,n(e,h,"in","out")):(Object.hasOwnProperty.call(t,h)?this.raise(e7.DuplicateModifier,{at:e,modifier:h}):(n(e,h,"static","readonly"),n(e,h,"static","override"),n(e,h,"override","readonly"),n(e,h,"abstract","override"),o(e,h,"declare","override"),o(e,h,"static","abstract")),t[h]=!0),null!=r&&r.includes(h)&&this.raise(a,{at:e,modifier:h})}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(e,t){let s=[];for(;!this.tsIsListTerminator(e);)s.push(t());return s}tsParseDelimitedList(e,t,s){return function(e){if(null==e)throw Error(`Unexpected ${e} value.`);return e}(this.tsParseDelimitedListWorker(e,t,!0,s))}tsParseDelimitedListWorker(e,t,s,r){let i=[],a=-1;for(;!this.tsIsListTerminator(e);){a=-1;let r=t();if(null==r)return;if(i.push(r),this.eat(12)){a=this.state.lastTokStart;continue}if(this.tsIsListTerminator(e))break;s&&this.expect(12);return}return r&&(r.value=a),i}tsParseBracketedList(e,t,s,r,i){r||(s?this.expect(0):this.expect(47));let a=this.tsParseDelimitedList(e,t,i);return s?this.expect(3):this.expect(48),a}tsParseImportType(){let e=this.startNode();return this.expect(83),this.expect(10),this.match(131)||this.raise(e7.UnsupportedImportTypeArgument,{at:this.state.startLoc}),e.argument=super.parseExprAtom(),this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName()),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")}tsParseEntityName(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=this.parseIdentifier(e);for(;this.eat(16);){let s=this.startNodeAtNode(t);s.left=t,s.right=this.parseIdentifier(e),t=this.finishNode(s,"TSQualifiedName")}return t}tsParseTypeReference(){let e=this.startNode();return e.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();let t=this.startNodeAtNode(e);return t.parameterName=e,t.typeAnnotation=this.tsParseTypeAnnotation(!1),t.asserts=!1,this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){let e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")}tsParseTypeQuery(){let e=this.startNode();return this.expect(87),this.match(83)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(e){let t=this.startNode();return e(t),t.name=this.tsParseTypeParameterName(),t.constraint=this.tsEatThenParseType(81),t.default=this.tsEatThenParseType(29),this.finishNode(t,"TSTypeParameter")}tsTryParseTypeParameters(e){if(this.match(47))return this.tsParseTypeParameters(e)}tsParseTypeParameters(e){let t=this.startNode();this.match(47)||this.match(140)?this.next():this.unexpected();let s={value:-1};return t.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),!1,!0,s),0===t.params.length&&this.raise(e7.EmptyTypeParameters,{at:t}),-1!==s.value&&this.addExtra(t,"trailingComma",s.value),this.finishNode(t,"TSTypeParameterDeclaration")}tsFillSignature(e,t){let s=19===e,r="typeAnnotation";t.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),t.parameters=this.tsParseBindingListForSignature(),s?t[r]=this.tsParseTypeOrTypePredicateAnnotation(e):this.match(e)&&(t[r]=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){return super.parseBindingList(11,41,2).map(e=>("Identifier"!==e.type&&"RestElement"!==e.type&&"ObjectPattern"!==e.type&&"ArrayPattern"!==e.type&&this.raise(e7.UnsupportedSignatureParameterKind,{at:e,type:e.type}),e))}tsParseTypeMemberSemicolon(){this.eat(12)||this.isLineTerminator()||this.expect(13)}tsParseSignatureMember(e,t){return this.tsFillSignature(14,t),this.tsParseTypeMemberSemicolon(),this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),!!P(this.state.type)&&(this.next(),this.match(14))}tsTryParseIndexSignature(e){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(t),this.expect(3),e.parameters=[t];let s=this.tsTryParseTypeAnnotation();return s&&(e.typeAnnotation=s),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(17)&&(e.optional=!0),this.match(10)||this.match(47)){t&&this.raise(e7.ReadonlyForMethodSignature,{at:e}),e.kind&&this.match(47)&&this.raise(e7.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,e),this.tsParseTypeMemberSemicolon();let s="parameters",r="typeAnnotation";if("get"===e.kind)e[s].length>0&&(this.raise(U.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(e[s][0])&&this.raise(e7.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if("set"===e.kind){if(1!==e[s].length)this.raise(U.BadSetterArity,{at:this.state.curPosition()});else{let t=e[s][0];this.isThisParam(t)&&this.raise(e7.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),"Identifier"===t.type&&t.optional&&this.raise(e7.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),"RestElement"===t.type&&this.raise(e7.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}e[r]&&this.raise(e7.SetAccesorCannotHaveReturnType,{at:e[r]})}else e.kind="method";return this.finishNode(e,"TSMethodSignature")}{t&&(e.readonly=!0);let s=this.tsTryParseTypeAnnotation();return s&&(e.typeAnnotation=s),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){let e=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(77)){let t=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(t,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}return this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},e),this.tsTryParseIndexSignature(e)||(super.parsePropertyName(e),!e.computed&&"Identifier"===e.key.type&&("get"===e.key.name||"set"===e.key.name)&&this.tsTokenCanFollowModifier()&&(e.kind=e.key.name,super.parsePropertyName(e)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){let e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(120):(this.isContextual(120)&&this.next(),!!(this.match(0)&&(this.next(),this.tsIsIdentifier()))&&(this.next(),this.match(58)))}tsParseMappedTypeParameter(){let e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsExpectThenParseType(58),this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){let e=this.startNode();return this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(120)):this.eatContextual(120)&&(e.readonly=!0),this.expect(0),e.typeParameter=this.tsParseMappedTypeParameter(),e.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,"TSMappedType")}tsParseTupleType(){let e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let t=!1,s=null;return e.elementTypes.forEach(e=>{let{type:r}=e;t&&"TSRestType"!==r&&"TSOptionalType"!==r&&!("TSNamedTupleMember"===r&&e.optional)&&this.raise(e7.OptionalTypeBeforeRequired,{at:e}),t||(t="TSNamedTupleMember"===r&&e.optional||"TSOptionalType"===r);let i=r;"TSRestType"===r&&(i=(e=e.typeAnnotation).type);let a="TSNamedTupleMember"===i;null!=s||(s=a),s!==a&&this.raise(e7.MixedLabeledAndUnlabeledElements,{at:e})}),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){let{startLoc:e}=this.state,t=this.eat(21),s,r,i,a,n=b(this.state.type)?this.lookaheadCharCode():null;if(58===n)s=!0,i=!1,r=this.parseIdentifier(!0),this.expect(14),a=this.tsParseType();else if(63===n){i=!0;let e=this.state.startLoc,t=this.state.value,n=this.tsParseNonArrayType();58===this.lookaheadCharCode()?(s=!0,r=this.createIdentifier(this.startNodeAt(e),t),this.expect(17),this.expect(14),a=this.tsParseType()):(s=!1,a=n,this.expect(17))}else a=this.tsParseType(),i=this.eat(17),s=this.eat(14);if(s){let e;r?((e=this.startNodeAtNode(r)).optional=i,e.label=r,e.elementType=a,this.eat(17)&&(e.optional=!0,this.raise(e7.TupleOptionalAfterType,{at:this.state.lastTokStartLoc}))):((e=this.startNodeAtNode(a)).optional=i,this.raise(e7.InvalidTupleMemberLabel,{at:a}),e.label=a,e.elementType=this.tsParseType()),a=this.finishNode(e,"TSNamedTupleMember")}else if(i){let e=this.startNodeAtNode(a);e.typeAnnotation=a,a=this.finishNode(e,"TSOptionalType")}if(t){let t=this.startNodeAt(e);t.typeAnnotation=a,a=this.finishNode(t,"TSRestType")}return a}tsParseParenthesizedType(){let e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){let s=this.startNode();return"TSConstructorType"===e&&(s.abstract=!!t,t&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,s)),this.finishNode(s,e)}tsParseLiteralTypeNode(){let e=this.startNode();return e.literal=(()=>{switch(this.state.type){case 132:case 133:case 131:case 85:case 86:return super.parseExprAtom();default:this.unexpected()}})(),this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){let e=this.startNode();return e.literal=super.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let e=this.tsParseThisTypeNode();return this.isContextual(114)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 131:case 132:case 133:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if("-"===this.state.value){let e=this.startNode(),t=this.lookahead();return 132!==t.type&&133!==t.type&&this.unexpected(),e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:e}=this.state;if(P(e)||88===e||84===e){let t=88===e?"TSVoidKeyword":84===e?"TSNullKeyword":function(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}(this.state.value);if(void 0!==t&&46!==this.lookaheadCharCode()){let e=this.startNode();return this.next(),this.finishNode(e,t)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let t=this.startNodeAtNode(e);t.elementType=e,this.expect(3),e=this.finishNode(t,"TSArrayType")}else{let t=this.startNodeAtNode(e);t.objectType=e,t.indexType=this.tsParseType(),this.expect(3),e=this.finishNode(t,"TSIndexedAccessType")}return e}tsParseTypeOperator(){let e=this.startNode(),t=this.state.value;return this.next(),e.operator=t,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),"readonly"===t&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e7.UnexpectedReadonly,{at:e})}}tsParseInferType(){let e=this.startNode();this.expectContextual(113);let t=this.startNode();return t.name=this.tsParseTypeParameterName(),t.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),e.typeParameter=this.finishNode(t,"TSTypeParameter"),this.finishNode(e,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let e=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return e}}tsParseTypeOperatorOrHigher(){var e;return(e=this.state.type)>=119&&e<=121&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(113)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(e,t,s){let r=this.startNode(),i=this.eat(s),a=[];do a.push(t());while(this.eat(s));return 1!==a.length||i?(r.types=a,this.finishNode(r,e)):a[0]}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return!!this.match(47)||this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(P(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:e}=this.state,t=e.length;try{return this.parseObjectLike(8,!0),e.length===t}catch{return!1}}if(this.match(0)){this.next();let{errors:e}=this.state,t=e.length;try{return super.parseBindingList(3,93,1),e.length===t}catch{}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{let t=this.startNode();this.expect(e);let s=this.startNode(),r=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(r&&this.match(78)){let e=this.tsParseThisTypeOrThisTypePredicate();return"TSThisType"===e.type?(s.parameterName=e,s.asserts=!0,s.typeAnnotation=null,e=this.finishNode(s,"TSTypePredicate")):(this.resetStartLocationFromNode(e,s),e.asserts=!0),t.typeAnnotation=e,this.finishNode(t,"TSTypeAnnotation")}let i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i)return r?(s.parameterName=this.parseIdentifier(),s.asserts=r,s.typeAnnotation=null,t.typeAnnotation=this.finishNode(s,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,t);let a=this.tsParseTypeAnnotation(!1);return s.parameterName=i,s.typeAnnotation=a,s.asserts=r,t.typeAnnotation=this.finishNode(s,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(14)?this.tsParseTypeOrTypePredicateAnnotation(14):void 0}tsTryParseTypeAnnotation(){return this.match(14)?this.tsParseTypeAnnotation():void 0}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let e=this.parseIdentifier();if(this.isContextual(114)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(107!==this.state.type)return!1;let e=this.state.containsEsc;return this.next(),!!(P(this.state.type)||this.match(78))&&(e&&this.raise(U.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.startNode();return this.tsInType(()=>{e&&this.expect(14),t.typeAnnotation=this.tsParseType()}),this.finishNode(t,"TSTypeAnnotation")}tsParseType(){e6(this.state.inType);let e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return e;let t=this.startNodeAtNode(e);return t.checkType=e,t.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),t.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),t.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(122)&&77===this.lookahead().type}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(e7.ReservedTypeAssertion,{at:this.state.startLoc});let e=this.startNode();return e.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){let t=this.state.startLoc,s=this.tsParseDelimitedList("HeritageClauseElement",()=>{let e=this.startNode();return e.expression=this.tsParseEntityName(),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSExpressionWithTypeArguments")});return s.length||this.raise(e7.EmptyHeritageClauseType,{at:t,token:e}),s}tsParseInterfaceDeclaration(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.hasFollowingLineBreak())return null;this.expectContextual(127),t.declare&&(e.declare=!0),P(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,130)):(e.id=null,this.raise(e7.MissingInterfaceName,{at:this.state.startLoc})),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));let s=this.startNode();return s.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(s,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,2),e.typeAnnotation=this.tsInType(()=>{if(e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(112)&&16!==this.lookahead().type){let e=this.startNode();return this.next(),this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){let t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){let t=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=t}}tsInDisallowConditionalTypesContext(e){let t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsInAllowConditionalTypesContext(e){let t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsEatThenParseType(e){return this.match(e)?this.tsNextThenParseType():void 0}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>(e(),this.tsParseType()))}tsParseEnumMember(){let e=this.startNode();return e.id=this.match(131)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(e.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.const&&(e.const=!0),t.declare&&(e.declare=!0),this.expectContextual(124),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?8971:8459),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){let e=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e.id=this.parseIdentifier(),t||this.checkIdentifier(e.id,1024),this.eat(16)){let t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,!0),e.body=t}else this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(110)?(e.global=!0,e.id=this.parseIdentifier()):this.match(131)?e.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||!1,e.id=this.parseIdentifier(),this.checkIdentifier(e.id,4096),this.expect(29);let s=this.tsParseModuleReference();return"type"===e.importKind&&"TSExternalModuleReference"!==s.type&&this.raise(e7.ImportAliasHasImportType,{at:s}),e.moduleReference=s,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(117)&&40===this.lookaheadCharCode()}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let e=this.startNode();return this.expectContextual(117),this.expect(10),this.match(131)||this.unexpected(),e.expression=super.parseExprAtom(),this.expect(11),this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){let t=this.state.clone(),s=e();return this.state=t,s}tsTryParseAndCatch(e){let t=this.tryParse(t=>e()||t());if(!(t.aborted||!t.node))return t.error&&(this.state=t.failState),t.node}tsTryParse(e){let t=this.state.clone(),s=e();if(void 0!==s&&!1!==s)return s;this.state=t}tsTryParseDeclare(e){if(this.isLineTerminator())return;let t=this.state.type,s;return this.isContextual(99)&&(t=74,s="let"),this.tsInAmbientContext(()=>{if(68===t)return e.declare=!0,super.parseFunctionStatement(e,!1,!1);if(80===t)return e.declare=!0,this.parseClass(e,!0,!1);if(124===t)return this.tsParseEnumDeclaration(e,{declare:!0});if(110===t)return this.tsParseAmbientExternalModuleDeclaration(e);if(75===t||74===t)return this.match(75)&&this.isLookaheadContextual("enum")?(this.expect(75),this.tsParseEnumDeclaration(e,{const:!0,declare:!0})):(e.declare=!0,this.parseVarStatement(e,s||this.state.value,!0));if(127===t){let t=this.tsParseInterfaceDeclaration(e,{declare:!0});if(t)return t}if(P(t))return this.tsParseDeclaration(e,this.state.value,!0,null)})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(e,t,s){switch(t.name){case"declare":{let t=this.tsTryParseDeclare(e);if(t)return t.declare=!0,t;break}case"global":if(this.match(5))return this.scope.enter(256),this.prodParam.enter(0),e.global=!0,e.id=t,e.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(e,"TSModuleDeclaration");break;default:return this.tsParseDeclaration(e,t.name,!1,s)}}tsParseDeclaration(e,t,s,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(s)&&(this.match(80)||P(this.state.type)))return this.tsParseAbstractDeclaration(e,r);break;case"module":if(this.tsCheckLineTerminator(s)){if(this.match(131))return this.tsParseAmbientExternalModuleDeclaration(e);if(P(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(s)&&P(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(s)&&P(this.state.type))return this.tsParseTypeAliasDeclaration(e)}}tsCheckLineTerminator(e){return e?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e){if(!this.match(47))return;let t=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let s=this.tsTryParseAndCatch(()=>{let t=this.startNodeAt(e);return t.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(t),t.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),t});if(this.state.maybeInArrowParameters=t,s)return super.parseArrowExpression(s,null,!0)}tsParseTypeArgumentsInExpression(){if(47===this.reScan_lt())return this.tsParseTypeArguments()}tsParseTypeArguments(){let e=this.startNode();return e.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),0===e.params.length&&this.raise(e7.EmptyTypeArguments,{at:e}),this.expect(48),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){var e;return(e=this.state.type)>=122&&e<=128}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){let s=this.state.startLoc,r={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},r);let i=r.accessibility,a=r.override,n=r.readonly;!(4&e)&&(i||n||a)&&this.raise(e7.UnexpectedParameterModifier,{at:s});let o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o,e);let h=this.parseMaybeDefault(o.loc.start,o);if(i||n||a){let e=this.startNodeAt(s);return t.length&&(e.decorators=t),i&&(e.accessibility=i),n&&(e.readonly=n),a&&(e.override=a),"Identifier"!==h.type&&"AssignmentPattern"!==h.type&&this.raise(e7.UnsupportedParameterPropertyKind,{at:e}),e.parameter=h,this.finishNode(e,"TSParameterProperty")}return t.length&&(o.decorators=t),h}isSimpleParameter(e){return"TSParameterProperty"===e.type&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}tsDisallowOptionalPattern(e){for(let t of e.params)"Identifier"!==t.type&&t.optional&&!this.state.isAmbientContext&&this.raise(e7.PatternIsOptional,{at:t})}setArrowFunctionParameters(e,t,s){super.setArrowFunctionParameters(e,t,s),this.tsDisallowOptionalPattern(e)}parseFunctionBodyAndFinish(e,t){let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let r="FunctionDeclaration"===t?"TSDeclareFunction":"ClassMethod"===t||"ClassPrivateMethod"===t?"TSDeclareMethod":void 0;return r&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,r):"TSDeclareFunction"===r&&this.state.isAmbientContext&&(this.raise(e7.DeclareFunctionHasImplementation,{at:e}),e.declare)?super.parseFunctionBodyAndFinish(e,r,s):(this.tsDisallowOptionalPattern(e),super.parseFunctionBodyAndFinish(e,t,s))}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,1024):super.registerFunctionStatementId(e)}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{(null==e?void 0:e.type)==="TSTypeCastExpression"&&this.raise(e7.UnexpectedTypeAnnotation,{at:e.typeAnnotation})})}toReferencedList(e,t){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(e,t,s,r){let i=super.parseArrayLike(e,t,s,r);return"ArrayExpression"===i.type&&this.tsCheckForInvalidTypeCasts(i.elements),i}parseSubscript(e,t,s,r){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let s=this.startNodeAt(t);return s.expression=e,this.finishNode(s,"TSNonNullExpression")}let i=!1;if(this.match(18)&&60===this.lookaheadCharCode()){if(s)return r.stop=!0,e;r.optionalChainMember=i=!0,this.next()}if(this.match(47)||this.match(51)){let a,n=this.tsTryParseAndCatch(()=>{if(!s&&this.atPossibleAsyncArrow(e)){let e=this.tsTryParseGenericAsyncArrowFunction(t);if(e)return e}let n=this.tsParseTypeArgumentsInExpression();if(!n)return;if(i&&!this.match(10)){a=this.state.curPosition();return}if(S(this.state.type)){let s=super.parseTaggedTemplateExpression(e,t,r);return s.typeParameters=n,s}if(!s&&this.eat(10)){let s=this.startNodeAt(t);return s.callee=e,s.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(s.arguments),s.typeParameters=n,r.optionalChainMember&&(s.optional=i),this.finishCallExpression(s,r.optionalChainMember)}let o=this.state.type;if(48===o||52===o||10!==o&&m[o]&&!this.hasPrecedingLineBreak())return;let h=this.startNodeAt(t);return h.expression=e,h.typeParameters=n,this.finishNode(h,"TSInstantiationExpression")});if(a&&this.unexpected(a,10),n)return"TSInstantiationExpression"===n.type&&(this.match(16)||this.match(18)&&40!==this.lookaheadCharCode())&&this.raise(e7.InvalidPropertyAccessAfterInstantiationExpression,{at:this.state.startLoc}),n}return super.parseSubscript(e,t,s,r)}parseNewCallee(e){var t;super.parseNewCallee(e);let{callee:s}=e;"TSInstantiationExpression"!==s.type||null!=(t=s.extra)&&t.parenthesized||(e.typeParameters=s.typeParameters,e.callee=s.expression)}parseExprOp(e,t,s){let r;if(u[58]>s&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(r=this.isContextual(118)))){let i=this.startNodeAt(t);return i.expression=e,i.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(r&&this.raise(U.UnexpectedKeyword,{at:this.state.startLoc,keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(i,r?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(i,t,s)}return super.parseExprOp(e,t,s)}checkReservedWord(e,t,s,r){this.state.isAmbientContext||super.checkReservedWord(e,t,s,r)}checkImportReflection(e){super.checkImportReflection(e),e.module&&"value"!==e.importKind&&this.raise(e7.ImportReflectionHasImportType,{at:e.specifiers[0].loc.start})}checkDuplicateExports(){}parseImport(e){if(e.importKind="value",P(this.state.type)||this.match(55)||this.match(5)){let t=this.lookahead();if(this.isContextual(128)&&12!==t.type&&97!==t.type&&29!==t.type&&(e.importKind="type",this.next(),t=this.lookahead()),P(this.state.type)&&29===t.type)return this.tsParseImportEqualsDeclaration(e)}let t=super.parseImport(e);return"type"===t.importKind&&t.specifiers.length>1&&"ImportDefaultSpecifier"===t.specifiers[0].type&&this.raise(e7.TypeImportCannotSpecifyDefaultAndNamed,{at:t}),t}parseExport(e,t){if(this.match(83))return this.next(),this.isContextual(128)&&61!==this.lookaheadCharCode()?(e.importKind="type",this.next()):e.importKind="value",this.tsParseImportEqualsDeclaration(e,!0);if(this.eat(29))return e.expression=super.parseExpression(),this.semicolon(),this.finishNode(e,"TSExportAssignment");if(this.eatContextual(93))return this.expectContextual(126),e.id=this.parseIdentifier(),this.semicolon(),this.finishNode(e,"TSNamespaceExportDeclaration");if(e.exportKind="value",this.isContextual(128)){let t=this.lookaheadCharCode();(123===t||42===t)&&(this.next(),e.exportKind="type")}return super.parseExport(e,t)}isAbstractClass(){return this.isContextual(122)&&80===this.lookahead().type}parseExportDefaultExpression(){if(this.isAbstractClass()){let e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0)}if(this.match(127)){let e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,t){let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{isAmbientContext:r}=this.state,i=super.parseVarStatement(e,t,s||r);if(!r)return i;for(let{id:e,init:s}of i.declarations)s&&("const"!==t||e.typeAnnotation?this.raise(e7.InitializerNotAllowedInAmbientContext,{at:s}):function(e,t){var s;let{type:r}=e;if(null!=(s=e.extra)&&s.parenthesized)return!1;if(t){if("Literal"===r){let{value:t}=e;if("string"==typeof t||"boolean"==typeof t)return!0}}else if("StringLiteral"===r||"BooleanLiteral"===r)return!0;return!!(te(e,t)||function(e,t){if("UnaryExpression"===e.type){let{operator:s,argument:r}=e;if("-"===s&&te(r,t))return!0}return!1}(e,t)||"TemplateLiteral"===r&&0===e.expressions.length||function(e){if("MemberExpression"!==e.type)return!1;let{computed:t,property:s}=e;return(!t||"StringLiteral"===s.type||"TemplateLiteral"===s.type&&!(s.expressions.length>0))&&function e(t){return"Identifier"===t.type||"MemberExpression"===t.type&&!t.computed&&e(t.object)}(e.object)}(e))}(s,this.hasPlugin("estree"))||this.raise(e7.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:s}));return i}parseStatementContent(e,t){if(this.match(75)&&this.isLookaheadContextual("enum")){let e=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(e,{const:!0})}if(this.isContextual(124))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(127)){let e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some(t=>e9(t)?e.accessibility===t:!!e[t])}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&123===this.lookaheadCharCode()}parseClassMember(e,t,s){let r=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:r,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:e7.InvalidModifierOnTypeParameterPositions},t);let i=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(t,r)&&this.raise(e7.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),super.parseClassStaticBlock(e,t)):this.parseClassMemberWithIsStatic(e,t,s,!!t.static)};t.declare?this.tsInAmbientContext(i):i()}parseClassMemberWithIsStatic(e,t,s,r){let i=this.tsTryParseIndexSignature(t);if(i){e.body.push(i),t.abstract&&this.raise(e7.IndexSignatureHasAbstract,{at:t}),t.accessibility&&this.raise(e7.IndexSignatureHasAccessibility,{at:t,modifier:t.accessibility}),t.declare&&this.raise(e7.IndexSignatureHasDeclare,{at:t}),t.override&&this.raise(e7.IndexSignatureHasOverride,{at:t});return}!this.state.inAbstractClass&&t.abstract&&this.raise(e7.NonAbstractClassHasAbstractMethod,{at:t}),t.override&&(s.hadSuperClass||this.raise(e7.OverrideNotInSubClass,{at:t})),super.parseClassMemberWithIsStatic(e,t,s,r)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(e7.ClassMethodHasReadonly,{at:e}),e.declare&&this.match(10)&&this.raise(e7.ClassMethodHasDeclare,{at:e})}parseExpressionStatement(e,t,s){return("Identifier"===t.type?this.tsParseExpressionStatement(e,t,s):void 0)||super.parseExpressionStatement(e,t,s)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(e,t,s){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(e,t,s);let r=this.tryParse(()=>super.parseConditional(e,t));return r.node?(r.error&&(this.state=r.failState),r.node):(r.error&&super.setOptionalParametersError(s,r.error),e)}parseParenItem(e,t){if(e=super.parseParenItem(e,t),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){let s=this.startNodeAt(t);return s.expression=e,s.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(s,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(123))return this.tsInAmbientContext(()=>this.parseExportDeclaration(e));let t=this.state.startLoc,s=this.eatContextual(123);if(s&&(this.isContextual(123)||!this.shouldParseExportDeclaration()))throw this.raise(e7.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});let r=P(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return r?(("TSInterfaceDeclaration"===r.type||"TSTypeAliasDeclaration"===r.type||s)&&(e.exportKind="type"),s&&(this.resetStartLocation(r,t),r.declare=!0),r):null}parseClassId(e,t,s,r){if((!t||s)&&this.isContextual(111))return;super.parseClassId(e,t,s,e.declare?1024:8331);let i=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);i&&(e.typeParameters=i)}parseClassPropertyAnnotation(e){e.optional||(this.eat(35)?e.definite=!0:this.eat(17)&&(e.optional=!0));let t=this.tsTryParseTypeAnnotation();t&&(e.typeAnnotation=t)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&!(e.readonly&&!e.typeAnnotation)&&this.match(29)&&this.raise(e7.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),e.abstract&&this.match(29)){let{key:t}=e;this.raise(e7.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName:"Identifier"!==t.type||e.computed?`[${this.input.slice(t.start,t.end)}]`:t.name})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(e7.PrivateElementHasAbstract,{at:e}),e.accessibility&&this.raise(e7.PrivateElementHasAccessibility,{at:e,modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise(e7.AccessorCannotBeOptional,{at:e}),super.parseClassAccessorProperty(e)}pushClassMethod(e,t,s,r,i,a){let n=this.tsTryParseTypeParameters(this.tsParseConstModifier);n&&i&&this.raise(e7.ConstructorHasTypeParameters,{at:n});let{declare:o=!1,kind:h}=t;o&&("get"===h||"set"===h)&&this.raise(e7.DeclareAccessor,{at:t,kind:h}),n&&(t.typeParameters=n),super.pushClassMethod(e,t,s,r,i,a)}pushClassPrivateMethod(e,t,s,r){let i=this.tsTryParseTypeParameters(this.tsParseConstModifier);i&&(t.typeParameters=i),super.pushClassPrivateMethod(e,t,s,r)}declareClassPrivateMethodInScope(e,t){"TSDeclareMethod"===e.type||("MethodDefinition"!==e.type||e.value.body)&&super.declareClassPrivateMethodInScope(e,t)}parseClassSuper(e){super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(111)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e,t,s,r,i,a,n){let o=this.tsTryParseTypeParameters(this.tsParseConstModifier);return o&&(e.typeParameters=o),super.parseObjPropValue(e,t,s,r,i,a,n)}parseFunctionParams(e,t){let s=this.tsTryParseTypeParameters(this.tsParseConstModifier);s&&(e.typeParameters=s),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),"Identifier"===e.id.type&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(e.definite=!0);let s=this.tsTryParseTypeAnnotation();s&&(e.id.typeAnnotation=s,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(e,t){var s,i,a,n,o,h,l;let p,c,u;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(p=this.state.clone(),!(c=this.tryParse(()=>super.parseMaybeAssign(e,t),p)).error)return c.node;let{context:s}=this.state,i=s[s.length-1];(i===r.j_oTag||i===r.j_expr)&&s.pop()}if(!(null!=(s=c)&&s.error)&&!this.match(47))return super.parseMaybeAssign(e,t);p&&p!==this.state||(p=this.state.clone());let d,m=this.tryParse(s=>{var r,i;d=this.tsParseTypeParameters(this.tsParseConstModifier);let a=super.parseMaybeAssign(e,t);return("ArrowFunctionExpression"!==a.type||null!=(r=a.extra)&&r.parenthesized)&&s(),(null==(i=d)?void 0:i.params.length)!==0&&this.resetStartLocationFromNode(a,d),a.typeParameters=d,a},p);if(!m.error&&!m.aborted)return d&&this.reportReservedArrowTypeParam(d),m.node;if(!c&&(e6(!this.hasPlugin("jsx")),!(u=this.tryParse(()=>super.parseMaybeAssign(e,t),p)).error))return u.node;if(null!=(i=c)&&i.node)return this.state=c.failState,c.node;if(m.node)return this.state=m.failState,d&&this.reportReservedArrowTypeParam(d),m.node;if(null!=(a=u)&&a.node)return this.state=u.failState,u.node;throw null!=(n=c)&&n.thrown?c.error:m.thrown?m.error:null!=(o=u)&&o.thrown?u.error:(null==(h=c)?void 0:h.error)||m.error||(null==(l=u)?void 0:l.error)}reportReservedArrowTypeParam(e){var t;1===e.params.length&&!e.params[0].constraint&&!(null!=(t=e.extra)&&t.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(e7.ReservedArrowTypeParam,{at:e})}parseMaybeUnary(e,t){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(e,t)}parseArrow(e){if(this.match(14)){let t=this.tryParse(e=>{let t=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&e(),t});if(t.aborted)return;t.thrown||(t.error&&(this.state=t.failState),e.returnType=t.node)}return super.parseArrow(e)}parseAssignableListItemTypes(e,t){if(!(2&t))return e;this.eat(17)&&(e.optional=!0);let s=this.tsTryParseTypeAnnotation();return s&&(e.typeAnnotation=s),this.resetEndLocation(e),e}isAssignable(e,t){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,t);case"TSParameterProperty":return!0;default:return super.isAssignable(e,t)}}toAssignable(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];switch(e.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,t);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":t?this.expressionScope.recordArrowParameterBindingError(e7.UnexpectedTypeCastInParameter,{at:e}):this.raise(e7.UnexpectedTypeCastInParameter,{at:e}),this.toAssignable(e.expression,t);break;case"AssignmentExpression":t||"TSTypeCastExpression"!==e.left.type||(e.left=this.typeCastToParameter(e.left));default:super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,t);break;default:super.toAssignable(e,t)}}checkToRestConversion(e,t){switch(e.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,t)}}isValidLVal(e,t,s){return e5({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(64!==s||!t)&&["expression",!0],TSSatisfiesExpression:(64!==s||!t)&&["expression",!0],TSTypeAssertion:(64!==s||!t)&&["expression",!0]},e)||super.isValidLVal(e,t,s)}parseBindingAtom(){return 78===this.state.type?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e){if(this.match(47)||this.match(51)){let t=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let s=super.parseMaybeDecoratorArguments(e);return s.typeParameters=t,s}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?(this.next(),!1):super.checkCommaAfterRest(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(e,t){let s=super.parseMaybeDefault(e,t);return"AssignmentPattern"===s.type&&s.typeAnnotation&&s.right.startthis.isAssignable(e,!0)):super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(47)||this.match(51)){let t=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());t&&(e.typeParameters=t)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){let t=super.getGetterSetterExpectedParamCount(e),s=this.getObjectOrClassMethodParams(e)[0];return s&&this.isThisParam(s)?t+1:t}parseCatchClauseParam(){let e=super.parseCatchClauseParam(),t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t,this.resetEndLocation(e)),e}tsInAmbientContext(e){let t=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,t,s){let r=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,t,s)}finally{this.state.inAbstractClass=r}}tsParseAbstractDeclaration(e,t){if(this.match(80))return e.abstract=!0,this.maybeTakeDecorators(t,this.parseClass(e,!0,!1));if(this.isContextual(127)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(e7.NonClassMethodPropertyHasAbstractModifer,{at:e}),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,80)}parseMethod(e,t,s,r,i,a,n){let o=super.parseMethod(e,t,s,r,i,a,n);if(o.abstract&&(this.hasPlugin("estree")?!!o.value.body:!!o.body)){let{key:e}=o;this.raise(e7.AbstractMethodHasImplementation,{at:o,methodName:"Identifier"!==e.type||o.computed?`[${this.input.slice(e.start,e.end)}]`:e.name})}return o}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(e,t,s,r){return!t&&r?(this.parseTypeOnlyImportExportSpecifier(e,!1,s),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",super.parseExportSpecifier(e,t,s,r))}parseImportSpecifier(e,t,s,r,i){return!t&&r?(this.parseTypeOnlyImportExportSpecifier(e,!0,s),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,t,s,r,s?4098:4096))}parseTypeOnlyImportExportSpecifier(e,t,s){let r=t?"imported":"local",i=t?"local":"exported",a=e[r],n,o=!1,h=!0,l=a.loc.start;if(this.isContextual(93)){let e=this.parseIdentifier();if(this.isContextual(93)){let s=this.parseIdentifier();b(this.state.type)?(o=!0,a=e,n=t?this.parseIdentifier():this.parseModuleExportName()):n=s,h=!1}else b(this.state.type)?(h=!1,n=t?this.parseIdentifier():this.parseModuleExportName()):(o=!0,a=e)}else b(this.state.type)&&(o=!0,t?(a=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(a.name,a.loc.start,!0,!0)):a=this.parseModuleExportName());o&&s&&this.raise(t?e7.TypeModifierIsUsedInTypeImports:e7.TypeModifierIsUsedInTypeExports,{at:l}),e[r]=a,e[i]=n,e[t?"importKind":"exportKind"]=o?"type":"value",h&&this.eatContextual(93)&&(e[i]=t?this.parseIdentifier():this.parseModuleExportName()),e[i]||(e[i]=eV(e[r])),t&&this.checkIdentifier(e[i],o?4098:4096)}},v8intrinsic:e=>class extends e{parseV8Intrinsic(){if(this.match(54)){let e=this.state.startLoc,t=this.startNode();if(this.next(),P(this.state.type)){let e=this.parseIdentifierName(),s=this.createIdentifier(t,e);if(s.type="V8IntrinsicIdentifier",this.match(10))return s}this.unexpected(e)}}parseExprAtom(e){return this.parseV8Intrinsic()||super.parseExprAtom(e)}},placeholders:e=>class extends e{parsePlaceholder(e){if(this.match(142)){let t=this.startNode();return this.next(),this.assertNoSpace(),t.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(142),this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){let s=!!(e.expectedNode&&"Placeholder"===e.type);return e.expectedNode=t,s?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){37===e&&37===this.input.charCodeAt(this.state.pos+1)?this.finishOp(142,2):super.getTokenFromCode(e)}parseExprAtom(e){return this.parsePlaceholder("Expression")||super.parseExprAtom(e)}parseIdentifier(e){return this.parsePlaceholder("Identifier")||super.parseIdentifier(e)}checkReservedWord(e,t,s,r){void 0!==e&&super.checkReservedWord(e,t,s,r)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(e,t,s){return"Placeholder"===e||super.isValidLVal(e,t,s)}toAssignable(e,t){e&&"Placeholder"===e.type&&"Expression"===e.expectedNode?e.expectedNode="Pattern":super.toAssignable(e,t)}chStartsBindingIdentifier(e,t){return!!(super.chStartsBindingIdentifier(e,t)||142===this.lookahead().type)}verifyBreakContinue(e,t){e.label&&"Placeholder"===e.label.type||super.verifyBreakContinue(e,t)}parseExpressionStatement(e,t){return"Placeholder"!==t.type||t.extra&&t.extra.parenthesized?super.parseExpressionStatement(e,t):this.match(14)?(e.label=this.finishPlaceholder(t,"Identifier"),this.next(),e.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(e,"LabeledStatement")):(this.semicolon(),e.name=t.name,this.finishPlaceholder(e,"Statement"))}parseBlock(e,t,s){return this.parsePlaceholder("BlockStatement")||super.parseBlock(e,t,s)}parseFunctionId(e){return this.parsePlaceholder("Identifier")||super.parseFunctionId(e)}parseClass(e,t,s){let r=t?"ClassDeclaration":"ClassExpression";this.next();let i=this.state.strict,a=this.parsePlaceholder("Identifier");if(a){if(this.match(81)||this.match(142)||this.match(5))e.id=a;else{if(s||!t)return e.id=null,e.body=this.finishPlaceholder(a,"ClassBody"),this.finishNode(e,r);throw this.raise(tt.ClassNameIsRequired,{at:this.state.startLoc})}}else this.parseClassId(e,t,s);return super.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!e.superClass,i),this.finishNode(e,r)}parseExport(e,t){let s=this.parsePlaceholder("Identifier");if(!s)return super.parseExport(e,t);if(!this.isContextual(97)&&!this.match(12))return e.specifiers=[],e.source=null,e.declaration=this.finishPlaceholder(s,"Declaration"),this.finishNode(e,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let r=this.startNode();return r.exported=s,e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")],super.parseExport(e,t)}isExportDefaultSpecifier(){if(this.match(65)){let e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(c[142],this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){return!!e.specifiers&&e.specifiers.length>0||super.maybeParseExportDefaultSpecifier(e)}checkExport(e){let{specifiers:t}=e;null!=t&&t.length&&(e.specifiers=t.filter(e=>"Placeholder"===e.exported.type)),super.checkExport(e),e.specifiers=t}parseImport(e){let t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(e);if(e.specifiers=[],!this.isContextual(97)&&!this.match(12))return e.source=this.finishPlaceholder(t,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");let s=this.startNodeAtNode(t);return s.local=t,e.specifiers.push(this.finishNode(s,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(97),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(tt.UnexpectedSpace,{at:this.state.lastTokEndLoc})}}},th=Object.keys(to),tl=class extends e8{checkProto(e,t,s,r){if("SpreadElement"===e.type||this.isObjectMethod(e)||e.computed||e.shorthand)return;let i=e.key;if(("Identifier"===i.type?i.name:i.value)==="__proto__"){if(t){this.raise(U.RecordNoProto,{at:i});return}s.used&&(r?null===r.doubleProtoLoc&&(r.doubleProtoLoc=i.loc.start):this.raise(U.DuplicateProto,{at:i})),s.used=!0}}shouldExitDescending(e,t){return"ArrowFunctionExpression"===e.type&&e.start===t}getExpression(){this.enterInitialScopes(),this.nextToken();let e=this.parseExpression();return this.match(137)||this.unexpected(),this.finalizeRemainingComments(),e.comments=this.state.comments,e.errors=this.state.errors,this.options.tokens&&(e.tokens=this.tokens),e}parseExpression(e,t){return e?this.disallowInAnd(()=>this.parseExpressionBase(t)):this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){let t=this.state.startLoc,s=this.parseMaybeAssign(e);if(this.match(12)){let r=this.startNodeAt(t);for(r.expressions=[s];this.eat(12);)r.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(r.expressions),this.finishNode(r,"SequenceExpression")}return s}parseMaybeAssignDisallowIn(e,t){return this.disallowInAnd(()=>this.parseMaybeAssign(e,t))}parseMaybeAssignAllowIn(e,t){return this.allowInAnd(()=>this.parseMaybeAssign(e,t))}setOptionalParametersError(e,t){var s;e.optionalParametersLoc=null!=(s=null==t?void 0:t.loc)?s:this.state.startLoc}parseMaybeAssign(e,t){var s;let r,i=this.state.startLoc;if(this.isContextual(106)&&this.prodParam.hasYield){let e=this.parseYield();return t&&(e=t.call(this,e,i)),e}e?r=!1:(e=new e_,r=!0);let{type:a}=this.state;(10===a||P(a))&&(this.state.potentialArrowAt=this.state.start);let n=this.parseMaybeConditional(e);if(t&&(n=t.call(this,n,i)),(s=this.state.type)>=29&&s<=33){let t=this.startNodeAt(i),s=this.state.value;if(t.operator=s,this.match(29)){this.toAssignable(n,!0),t.left=n;let s=i.index;null!=e.doubleProtoLoc&&e.doubleProtoLoc.index>=s&&(e.doubleProtoLoc=null),null!=e.shorthandAssignLoc&&e.shorthandAssignLoc.index>=s&&(e.shorthandAssignLoc=null),null!=e.privateKeyLoc&&e.privateKeyLoc.index>=s&&(this.checkDestructuringPrivate(e),e.privateKeyLoc=null)}else t.left=n;return this.next(),t.right=this.parseMaybeAssign(),this.checkLVal(n,{in:this.finishNode(t,"AssignmentExpression")}),t}return r&&this.checkExpressionErrors(e,!0),n}parseMaybeConditional(e){let t=this.state.startLoc,s=this.state.potentialArrowAt,r=this.parseExprOps(e);return this.shouldExitDescending(r,s)?r:this.parseConditional(r,t,e)}parseConditional(e,t,s){if(this.eat(17)){let s=this.startNodeAt(t);return s.test=e,s.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),s.alternate=this.parseMaybeAssign(),this.finishNode(s,"ConditionalExpression")}return e}parseMaybeUnaryOrPrivate(e){return this.match(136)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){let t=this.state.startLoc,s=this.state.potentialArrowAt,r=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(r,s)?r:this.parseExprOp(r,t,-1)}parseExprOp(e,t,s){if(this.isPrivateName(e)){let t=this.getPrivateNameSV(e);!(s>=u[58])&&this.prodParam.hasIn&&this.match(58)||this.raise(U.PrivateInExpectedIn,{at:e,identifierName:t}),this.classScope.usePrivateName(t,e.loc.start)}let r=this.state.type;if(r>=39&&r<=59&&(this.prodParam.hasIn||!this.match(58))){let i=u[r];if(i>s){if(39===r){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,t)}let a=this.startNodeAt(t);a.left=e,a.operator=this.state.value;let n=41===r||42===r,o=40===r;if(o&&(i=u[42]),this.next(),39===r&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&96===this.state.type&&this.prodParam.hasAwait)throw this.raise(U.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});a.right=this.parseExprOpRightExpr(r,i);let h=this.finishNode(a,n||o?"LogicalExpression":"BinaryExpression"),l=this.state.type;if(o&&(41===l||42===l)||n&&40===l)throw this.raise(U.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(h,t,s)}}return e}parseExprOpRightExpr(e,t){let s=this.state.startLoc;if(39===e)switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"smart":return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(106))throw this.raise(U.PipeBodyIsTighter,{at:this.state.startLoc});return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,t),s)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(t))}return this.parseExprOpBaseRightExpr(e,t)}parseExprOpBaseRightExpr(e,t){let s=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),s,57===e?t-1:t)}parseHackPipeBody(){var e;let{startLoc:t}=this.state,s=this.parseMaybeAssign();return F.has(s.type)&&!(null!=(e=s.extra)&&e.parenthesized)&&this.raise(U.PipeUnparenthesizedBody,{at:t,type:s.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(U.PipeTopicUnused,{at:t}),s}checkExponentialAfterUnary(e){this.match(57)&&this.raise(U.UnexpectedTokenUnaryExponentiation,{at:e.argument})}parseMaybeUnary(e,t){let s=this.state.startLoc,r=this.isContextual(96);if(r&&this.isAwaitAllowed()){this.next();let e=this.parseAwait(s);return t||this.checkExponentialAfterUnary(e),e}let i=this.match(34),a=this.startNode();if(f[this.state.type]){a.operator=this.state.value,a.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let s=this.match(89);if(this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&s){let e=a.argument;"Identifier"===e.type?this.raise(U.StrictDelete,{at:a}):this.hasPropertyAsPrivateName(e)&&this.raise(U.DeletePrivateField,{at:a})}if(!i)return t||this.checkExponentialAfterUnary(a),this.finishNode(a,"UnaryExpression")}let n=this.parseUpdate(a,i,e);if(r){let{type:e}=this.state;if((this.hasPlugin("v8intrinsic")?m[e]:m[e]&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(U.AwaitNotInAsyncContext,{at:s}),this.parseAwait(s)}return n}parseUpdate(e,t,s){if(t)return this.checkLVal(e.argument,{in:this.finishNode(e,"UpdateExpression")}),e;let r=this.state.startLoc,i=this.parseExprSubscripts(s);if(this.checkExpressionErrors(s,!1))return i;for(;34===this.state.type&&!this.canInsertSemicolon();){let e=this.startNodeAt(r);e.operator=this.state.value,e.prefix=!1,e.argument=i,this.next(),this.checkLVal(i,{in:i=this.finishNode(e,"UpdateExpression")})}return i}parseExprSubscripts(e){let t=this.state.startLoc,s=this.state.potentialArrowAt,r=this.parseExprAtom(e);return this.shouldExitDescending(r,s)?r:this.parseSubscripts(r,t)}parseSubscripts(e,t,s){let r={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do e=this.parseSubscript(e,t,s,r),r.maybeAsyncArrow=!1;while(!r.stop);return e}parseSubscript(e,t,s,r){let{type:i}=this.state;if(!s&&15===i)return this.parseBind(e,t,s,r);if(S(i))return this.parseTaggedTemplateExpression(e,t,r);let a=!1;if(18===i){if(s&&(this.raise(U.OptionalChainingNoNew,{at:this.state.startLoc}),40===this.lookaheadCharCode()))return r.stop=!0,e;r.optionalChainMember=a=!0,this.next()}if(!s&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,t,r,a);{let s=this.eat(0);return s||a||this.eat(16)?this.parseMember(e,t,r,s,a):(r.stop=!0,e)}}parseMember(e,t,s,r,i){let a=this.startNodeAt(t);return a.object=e,a.computed=r,r?(a.property=this.parseExpression(),this.expect(3)):this.match(136)?("Super"===e.type&&this.raise(U.SuperPrivateField,{at:t}),this.classScope.usePrivateName(this.state.value,this.state.startLoc),a.property=this.parsePrivateName()):a.property=this.parseIdentifier(!0),s.optionalChainMember?(a.optional=i,this.finishNode(a,"OptionalMemberExpression")):this.finishNode(a,"MemberExpression")}parseBind(e,t,s,r){let i=this.startNodeAt(t);return i.object=e,this.next(),i.callee=this.parseNoCallExpr(),r.stop=!0,this.parseSubscripts(this.finishNode(i,"BindExpression"),t,s)}parseCoverCallAndAsyncArrowHead(e,t,s,r){let i=this.state.maybeInArrowParameters,a=null;this.state.maybeInArrowParameters=!0,this.next();let n=this.startNodeAt(t);n.callee=e;let{maybeAsyncArrow:o,optionalChainMember:h}=s;o&&(this.expressionScope.enter(new eF(2)),a=new e_),h&&(n.optional=r),r?n.arguments=this.parseCallExpressionArguments(11):n.arguments=this.parseCallExpressionArguments(11,"Import"===e.type,"Super"!==e.type,n,a);let l=this.finishCallExpression(n,h);return o&&this.shouldParseAsyncArrow()&&!r?(s.stop=!0,this.checkDestructuringPrivate(a),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),l=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t),l)):(o&&(this.checkExpressionErrors(a,!0),this.expressionScope.exit()),this.toReferencedArguments(l)),this.state.maybeInArrowParameters=i,l}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,s){let r=this.startNodeAt(t);return r.tag=e,r.quasi=this.parseTemplate(!0),s.optionalChainMember&&this.raise(U.OptionalChainingNoTemplate,{at:t}),this.finishNode(r,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return"Identifier"===e.type&&"async"===e.name&&this.state.lastTokEndLoc.index===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if("Import"===e.callee.type){if(2===e.arguments.length&&(this.hasPlugin("moduleAttributes")||this.expectPlugin("importAssertions")),0===e.arguments.length||e.arguments.length>2)this.raise(U.ImportCallArity,{at:e,maxArgumentCount:this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(let t of e.arguments)"SpreadElement"===t.type&&this.raise(U.ImportCallSpreadArgument,{at:t})}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,s,r,i){let a=[],n=!0,o=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(e);){if(n)n=!1;else if(this.expect(12),this.match(e)){!t||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")||this.raise(U.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),r&&this.addTrailingCommaExtraToNode(r),this.next();break}a.push(this.parseExprListItem(!1,i,s))}return this.state.inFSharpPipelineDirectBody=o,a}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var s;return this.resetPreviousNodeTrailingComments(t),this.expect(19),this.parseArrowExpression(e,t.arguments,!0,null==(s=t.extra)?void 0:s.trailingCommaLoc),t.innerComments&&ec(e,t.innerComments),t.callee.trailingComments&&ec(e,t.callee.trailingComments),e}parseNoCallExpr(){let e=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,!0)}parseExprAtom(e){let t,s=null,{type:r}=this.state;switch(r){case 79:return this.parseSuper();case 83:return t=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(t):(this.match(10)||this.raise(U.UnsupportedImport,{at:this.state.lastTokStartLoc}),this.finishNode(t,"Import"));case 78:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 132:return this.parseNumericLiteral(this.state.value);case 133:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseDecimalLiteral(this.state.value);case 131:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case 2:case 1:return this.parseArrayLike(2===this.state.type?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,e);case 6:case 7:return this.parseObjectLike(6===this.state.type?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,e);case 68:return this.parseFunctionOrFunctionSent();case 26:s=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(s,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{t=this.startNode(),this.next(),t.object=null;let e=t.callee=this.parseNoCallExpr();if("MemberExpression"===e.type)return this.finishNode(t,"BindExpression");throw this.raise(U.UnsupportedBind,{at:e})}case 136:return this.raise(U.PrivateInExpectedIn,{at:this.state.startLoc,identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{let e=this.getPluginOption("pipelineOperator","proposal");if(e)return this.parseTopicReference(e);this.unexpected();break}case 47:{let e=this.input.codePointAt(this.nextTokenStart());G(e)||62===e?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(P(r)){if(this.isContextual(125)&&123===this.lookaheadCharCode()&&!this.hasFollowingLineBreak())return this.parseModuleExpression();let e=this.state.potentialArrowAt===this.state.start,t=this.state.containsEsc,s=this.parseIdentifier();if(!t&&"async"===s.name&&!this.canInsertSemicolon()){let{type:e}=this.state;if(68===e)return this.resetPreviousNodeTrailingComments(s),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(s));if(P(e))return 61===this.lookaheadCharCode()?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(s)):s;if(90===e)return this.resetPreviousNodeTrailingComments(s),this.parseDo(this.startNodeAtNode(s),!0)}return e&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(s),[s],!1)):s}this.unexpected()}}parseTopicReferenceThenEqualsSign(e,t){let s=this.getPluginOption("pipelineOperator","proposal");if(s)return this.state.type=e,this.state.value=t,this.state.pos--,this.state.end--,this.state.endLoc=N(this.state.endLoc,-1),this.parseTopicReference(s);this.unexpected()}parseTopicReference(e){let t=this.startNode(),s=this.state.startLoc,r=this.state.type;return this.next(),this.finishTopicReference(t,s,e,r)}finishTopicReference(e,t,s,r){if(this.testTopicReferenceConfiguration(s,t,r))return this.topicReferenceIsAllowedInCurrentContext()||this.raise("smart"===s?U.PrimaryTopicNotAllowed:U.PipeTopicUnbound,{at:t}),this.registerTopicReference(),this.finishNode(e,"smart"===s?"PipelinePrimaryTopicReference":"TopicReference");throw this.raise(U.PipeTopicUnconfiguredToken,{at:t,token:c[r]})}testTopicReferenceConfiguration(e,t,s){switch(e){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:c[s]}]);case"smart":return 27===s;default:throw this.raise(U.PipeTopicRequiresHackPipes,{at:t})}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(eR(!0,this.prodParam.hasYield));let t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(U.LineTerminatorBeforeArrow,{at:this.state.curPosition()}),this.expect(19),this.parseArrowExpression(e,t,!0)}parseDo(e,t){this.expectPlugin("doExpressions"),t&&this.expectPlugin("asyncDoExpressions"),e.async=t,this.next();let s=this.state.labels;return this.state.labels=[],t?(this.prodParam.enter(2),e.body=this.parseBlock(),this.prodParam.exit()):e.body=this.parseBlock(),this.state.labels=s,this.finishNode(e,"DoExpression")}parseSuper(){let e=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?this.scope.allowSuper||this.options.allowSuperOutsideMethod||this.raise(U.UnexpectedSuper,{at:e}):this.raise(U.SuperNotAllowed,{at:e}),this.match(10)||this.match(0)||this.match(16)||this.raise(U.UnsupportedSuper,{at:e}),this.finishNode(e,"Super")}parsePrivateName(){let e=this.startNode(),t=this.startNodeAt(N(this.state.startLoc,1)),s=this.state.value;return this.next(),e.id=this.createIdentifier(t,s),this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){let e=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let t=this.createIdentifier(this.startNodeAtNode(e),"function");return this.next(),this.match(102)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,s){e.meta=t;let r=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==s||r)&&this.raise(U.UnsupportedMetaProperty,{at:e.property,target:t.name,onlyValidPropertyName:s}),this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){let t=this.createIdentifier(this.startNodeAtNode(e),"import");return this.next(),this.isContextual(100)&&(this.inModule||this.raise(U.ImportMetaOutsideModule,{at:t}),this.sawUnambiguousESM=!0),this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,s){return this.addExtra(s,"rawValue",e),this.addExtra(s,"raw",this.input.slice(s.start,this.state.end)),s.value=e,this.next(),this.finishNode(s,t)}parseLiteral(e,t){let s=this.startNode();return this.parseLiteralAtNode(e,t,s)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){let t=this.parseLiteral(e.value,"RegExpLiteral");return t.pattern=e.pattern,t.flags=e.flags,t}parseBooleanLiteral(e){let t=this.startNode();return t.value=e,this.next(),this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){let e=this.startNode();return this.next(),this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){let t=this.state.startLoc,s;this.next(),this.expressionScope.enter(new eF(1));let r=this.state.maybeInArrowParameters,i=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let a=this.state.startLoc,n=[],o=new e_,h=!0,l,p;for(;!this.match(11);){if(h)h=!1;else if(this.expect(12,null===o.optionalParametersLoc?null:o.optionalParametersLoc),this.match(11)){p=this.state.startLoc;break}if(this.match(21)){let e=this.state.startLoc;if(l=this.state.startLoc,n.push(this.parseParenItem(this.parseRestBinding(),e)),!this.checkCommaAfterRest(41))break}else n.push(this.parseMaybeAssignAllowIn(o,this.parseParenItem))}let c=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=r,this.state.inFSharpPipelineDirectBody=i;let u=this.startNodeAt(t);return e&&this.shouldParseArrow(n)&&(u=this.parseArrow(u))?(this.checkDestructuringPrivate(o),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(u,n,!1),u):(this.expressionScope.exit(),n.length||this.unexpected(this.state.lastTokStartLoc),p&&this.unexpected(p),l&&this.unexpected(l),this.checkExpressionErrors(o,!0),this.toReferencedListDeep(n,!0),n.length>1?((s=this.startNodeAt(a)).expressions=n,this.finishNode(s,"SequenceExpression"),this.resetEndLocation(s,c)):s=n[0],this.wrapParenthesis(t,s))}wrapParenthesis(e,t){if(!this.options.createParenthesizedExpressions)return this.addExtra(t,"parenthesized",!0),this.addExtra(t,"parenStart",e.index),this.takeSurroundingComments(t,e.index,this.state.lastTokEndLoc.index),t;let s=this.startNodeAt(e);return s.expression=t,this.finishNode(s,"ParenthesizedExpression")}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19))return e}parseParenItem(e,t){return e}parseNewOrNewTarget(){let e=this.startNode();if(this.next(),this.match(16)){let t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();let s=this.parseMetaProperty(e,t,"target");return this.scope.inNonArrowFunction||this.scope.inClass||this.options.allowNewTargetOutsideFunction||this.raise(U.UnexpectedNewTarget,{at:s}),s}return this.parseNew(e)}parseNew(e){if(this.parseNewCallee(e),this.eat(10)){let t=this.parseExprList(11);this.toReferencedList(t),e.arguments=t}else e.arguments=[];return this.finishNode(e,"NewExpression")}parseNewCallee(e){e.callee=this.parseNoCallExpr(),"Import"===e.callee.type&&this.raise(U.ImportCallNotNewExpression,{at:e.callee})}parseTemplateElement(e){let{start:t,startLoc:s,end:r,value:i}=this.state,a=this.startNodeAt(N(s,1));null===i&&(e||this.raise(U.InvalidEscapeSequenceTemplate,{at:N(this.state.firstInvalidTemplateEscapePos,1)}));let n=this.match(24),o=n?-1:-2,h=r+o;a.value={raw:this.input.slice(t+1,h).replace(/\r\n?/g,` +`),cooked:null===i?null:i.slice(1,o)},a.tail=n,this.next();let l=this.finishNode(a,"TemplateElement");return this.resetEndLocation(l,N(this.state.lastTokEndLoc,o)),l}parseTemplate(e){let t=this.startNode();t.expressions=[];let s=this.parseTemplateElement(e);for(t.quasis=[s];!s.tail;)t.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),t.quasis.push(s=this.parseTemplateElement(e));return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,s,r){s&&this.expectPlugin("recordAndTuple");let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let a=Object.create(null),n=!0,o=this.startNode();for(o.properties=[],this.next();!this.match(e);){let i;if(n)n=!1;else if(this.expect(12),this.match(e)){this.addTrailingCommaExtraToNode(o);break}t?i=this.parseBindingProperty():(i=this.parsePropertyDefinition(r),this.checkProto(i,s,a,r)),s&&!this.isObjectProperty(i)&&"SpreadElement"!==i.type&&this.raise(U.InvalidRecordProperty,{at:i}),i.shorthand&&this.addExtra(i,"shorthand",!0),o.properties.push(i)}this.next(),this.state.inFSharpPipelineDirectBody=i;let h="ObjectExpression";return t?h="ObjectPattern":s&&(h="RecordExpression"),this.finishNode(o,h)}addTrailingCommaExtraToNode(e){this.addExtra(e,"trailingComma",this.state.lastTokStart),this.addExtra(e,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(e){return!e.computed&&"Identifier"===e.key.type&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(e){let t=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(U.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)t.push(this.parseDecorator());let s=this.startNode(),r=!1,i=!1,a;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(s.decorators=t,t=[]),s.method=!1,e&&(a=this.state.startLoc);let n=this.eat(55);this.parsePropertyNamePrefixOperator(s);let o=this.state.containsEsc,h=this.parsePropertyName(s,e);if(!n&&!o&&this.maybeAsyncOrAccessorProp(s)){let e=h.name;"async"!==e||this.hasPrecedingLineBreak()||(r=!0,this.resetPreviousNodeTrailingComments(h),n=this.eat(55),this.parsePropertyName(s)),("get"===e||"set"===e)&&(i=!0,this.resetPreviousNodeTrailingComments(h),s.kind=e,this.match(55)&&(n=!0,this.raise(U.AccessorIsGenerator,{at:this.state.curPosition(),kind:e}),this.next()),this.parsePropertyName(s))}return this.parseObjPropValue(s,a,n,r,!1,i,e)}getGetterSetterExpectedParamCount(e){return"get"===e.kind?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;let s=this.getGetterSetterExpectedParamCount(e),r=this.getObjectOrClassMethodParams(e);r.length!==s&&this.raise("get"===e.kind?U.BadGetterArity:U.BadSetterArity,{at:e}),"set"===e.kind&&(null==(t=r[r.length-1])?void 0:t.type)==="RestElement"&&this.raise(U.BadSetterRestParameter,{at:e})}parseObjectMethod(e,t,s,r,i){if(i){let s=this.parseMethod(e,t,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(s),s}if(s||t||this.match(10))return r&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,s,!1,!1,"ObjectMethod")}parseObjectProperty(e,t,s,r){if(e.shorthand=!1,this.eat(14))return e.value=s?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(r),this.finishNode(e,"ObjectProperty");if(!e.computed&&"Identifier"===e.key.type){if(this.checkReservedWord(e.key.name,e.key.loc.start,!0,!1),s)e.value=this.parseMaybeDefault(t,eV(e.key));else if(this.match(29)){let s=this.state.startLoc;null!=r?null===r.shorthandAssignLoc&&(r.shorthandAssignLoc=s):this.raise(U.InvalidCoverInitializedName,{at:s}),e.value=this.parseMaybeDefault(t,eV(e.key))}else e.value=eV(e.key);return e.shorthand=!0,this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,s,r,i,a,n){let o=this.parseObjectMethod(e,s,r,i,a)||this.parseObjectProperty(e,t,i,n);return o||this.unexpected(),o}parsePropertyName(e,t){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:s,value:r}=this.state,i;if(b(s))i=this.parseIdentifier(!0);else switch(s){case 132:i=this.parseNumericLiteral(r);break;case 131:i=this.parseStringLiteral(r);break;case 133:i=this.parseBigIntLiteral(r);break;case 134:i=this.parseDecimalLiteral(r);break;case 136:{let e=this.state.startLoc;null!=t?null===t.privateKeyLoc&&(t.privateKeyLoc=e):this.raise(U.UnexpectedPrivateField,{at:e}),i=this.parsePrivateName();break}default:this.unexpected()}e.key=i,136!==s&&(e.computed=!1)}return e.key}initFunction(e,t){e.id=null,e.generator=!1,e.async=t}parseMethod(e,t,s,r,i,a){let n=arguments.length>6&&void 0!==arguments[6]&&arguments[6];this.initFunction(e,s),e.generator=t,this.scope.enter(18|(n?64:0)|(i?32:0)),this.prodParam.enter(eR(s,e.generator)),this.parseFunctionParams(e,r);let o=this.parseFunctionBodyAndFinish(e,a,!0);return this.prodParam.exit(),this.scope.exit(),o}parseArrayLike(e,t,s,r){s&&this.expectPlugin("recordAndTuple");let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let a=this.startNode();return this.next(),a.elements=this.parseExprList(e,!s,r,a),this.state.inFSharpPipelineDirectBody=i,this.finishNode(a,s?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,s,r){this.scope.enter(6);let i=eR(s,!1);!this.match(5)&&this.prodParam.hasIn&&(i|=8),this.prodParam.enter(i),this.initFunction(e,s);let a=this.state.maybeInArrowParameters;return t&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(e,t,r)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(e,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=a,this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,s){this.toAssignableList(t,s,!1),e.params=t}parseFunctionBodyAndFinish(e,t){let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this.parseFunctionBody(e,!1,s),this.finishNode(e,t)}parseFunctionBody(e,t){let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t&&!this.match(5);if(this.expressionScope.enter(new eD),r)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,t,!1);else{let r=this.state.strict,i=this.state.labels;this.state.labels=[],this.prodParam.enter(4|this.prodParam.currentFlags()),e.body=this.parseBlock(!0,!1,i=>{let a=!this.isSimpleParamList(e.params);i&&a&&this.raise(U.IllegalLanguageModeDirective,{at:("method"===e.kind||"constructor"===e.kind)&&e.key?e.key.loc.end:e});let n=!r&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!s&&!a,t,n),this.state.strict&&e.id&&this.checkIdentifier(e.id,65,n)}),this.prodParam.exit(),this.state.labels=i}this.expressionScope.exit()}isSimpleParameter(e){return"Identifier"===e.type}isSimpleParamList(e){for(let t=0,s=e.length;t3)||void 0===arguments[3]||arguments[3],i=!t&&new Set,a={type:"FormalParameters"};for(let t of e.params)this.checkLVal(t,{in:a,binding:5,checkClashes:i,strictModeChanged:r})}parseExprList(e,t,s,r){let i=[],a=!0;for(;!this.eat(e);){if(a)a=!1;else if(this.expect(12),this.match(e)){r&&this.addTrailingCommaExtraToNode(r),this.next();break}i.push(this.parseExprListItem(t,s))}return i}parseExprListItem(e,t,s){let r;if(this.match(12))e||this.raise(U.UnexpectedToken,{at:this.state.curPosition(),unexpected:","}),r=null;else if(this.match(21)){let e=this.state.startLoc;r=this.parseParenItem(this.parseSpread(t),e)}else if(this.match(17)){this.expectPlugin("partialApplication"),s||this.raise(U.UnexpectedArgumentPlaceholder,{at:this.state.startLoc});let e=this.startNode();this.next(),r=this.finishNode(e,"ArgumentPlaceholder")}else r=this.parseMaybeAssignAllowIn(t,this.parseParenItem);return r}parseIdentifier(e){let t=this.startNode(),s=this.parseIdentifierName(e);return this.createIdentifier(t,s)}createIdentifier(e,t){return e.name=t,e.loc.identifierName=t,this.finishNode(e,"Identifier")}parseIdentifierName(e){let t,{startLoc:s,type:r}=this.state;b(r)?t=this.state.value:this.unexpected();let i=r<=92;return e?i&&this.replaceToken(130):this.checkReservedWord(t,s,i,!1),this.next(),t}checkReservedWord(e,t,s,r){if(!(e.length>10)&&ei.has(e)){if(s&&Q.has(e)){this.raise(U.UnexpectedKeyword,{at:t,keyword:e});return}if((this.state.strict?r?er:es:et)(e,this.inModule)){this.raise(U.UnexpectedReservedWord,{at:t,reservedWord:e});return}if("yield"===e){if(this.prodParam.hasYield){this.raise(U.YieldBindingIdentifier,{at:t});return}}else if("await"===e){if(this.prodParam.hasAwait){this.raise(U.AwaitBindingIdentifier,{at:t});return}if(this.scope.inStaticBlock){this.raise(U.AwaitBindingIdentifierInStaticBlock,{at:t});return}this.expressionScope.recordAsyncArrowParametersError({at:t})}else if("arguments"===e&&this.scope.inClassAndNotInNonArrowFunction){this.raise(U.ArgumentsInClass,{at:t});return}}}isAwaitAllowed(){return!!(this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction)}parseAwait(e){let t=this.startNodeAt(e);return this.expressionScope.recordParameterInitializerError(U.AwaitExpressionFormalParameter,{at:t}),this.eat(55)&&this.raise(U.ObsoleteAwaitStar,{at:t}),this.scope.inFunction||this.options.allowAwaitOutsideFunction||(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(t.argument=this.parseMaybeUnary(null,!0)),this.finishNode(t,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:e}=this.state;return 53===e||10===e||0===e||S(e)||101===e&&!this.state.containsEsc||135===e||56===e||this.hasPlugin("v8intrinsic")&&54===e}parseYield(){let e=this.startNode();this.expressionScope.recordParameterInitializerError(U.YieldInParameter,{at:e}),this.next();let t=!1,s=null;if(!this.hasPrecedingLineBreak())switch(t=this.eat(55),this.state.type){case 13:case 137:case 8:case 11:case 3:case 9:case 14:case 12:if(!t)break;default:s=this.parseMaybeAssign()}return e.delegate=t,e.argument=s,this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&"SequenceExpression"===e.type&&this.raise(U.PipelineHeadSequenceExpression,{at:t})}parseSmartPipelineBodyInStyle(e,t){if(this.isSimpleReference(e)){let s=this.startNodeAt(t);return s.callee=e,this.finishNode(s,"PipelineBareFunction")}{let s=this.startNodeAt(t);return this.checkSmartPipeTopicBodyEarlyErrors(t),s.expression=e,this.finishNode(s,"PipelineTopicExpression")}}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(e){if(this.match(19))throw this.raise(U.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(U.PipelineTopicUnused,{at:e})}withTopicBindingContext(e){let t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSmartMixTopicForbiddingContext(e){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return e();{let t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}}withSoloAwaitPermittingContext(e){let t=this.state.soloAwait;this.state.soloAwait=!0;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){let t=this.prodParam.currentFlags();if(8&~t){this.prodParam.enter(8|t);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){let t=this.prodParam.currentFlags();if(8&t){this.prodParam.enter(-9&t);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return null!=this.state.topicContext.maxTopicIndex&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){let t=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let r=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,e);return this.state.inFSharpPipelineDirectBody=s,r}parseModuleExpression(){this.expectPlugin("moduleBlocks");let e=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let t=this.startNodeAt(this.state.endLoc);this.next();let s=this.initializeScopes(!0);this.enterInitialScopes();try{e.body=this.parseProgram(t,8,"module")}finally{s()}return this.finishNode(e,"ModuleExpression")}parsePropertyNamePrefixOperator(e){}},tp={kind:"loop"},tc={kind:"switch"},tu=/[\uD800-\uDFFF]/u,td=/in(?:stanceof)?/y,tm=class extends tl{parseTopLevel(e,t){return e.program=this.parseProgram(t),e.comments=this.state.comments,this.options.tokens&&(e.tokens=function(e,t){for(let s=0;s1&&void 0!==arguments[1]?arguments[1]:137,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.options.sourceType;if(e.sourceType=s,e.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(e,!0,!0,t),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[e,t]of Array.from(this.scope.undefinedExports))this.raise(U.ModuleExportUndefined,{at:t,localName:e});return 137===t?this.finishNode(e,"Program"):this.finishNodeAt(e,"Program",N(this.state.startLoc,-1))}stmtToDirective(e){e.type="Directive",e.value=e.expression,delete e.expression;let t=e.value,s=t.value,r=this.input.slice(t.start,t.end),i=t.value=r.slice(1,-1);return this.addExtra(t,"raw",r),this.addExtra(t,"rawValue",i),this.addExtra(t,"expressionValue",s),t.type="DirectiveLiteral",e}parseInterpreterDirective(){if(!this.match(28))return null;let e=this.startNode();return e.value=this.state.value,this.next(),this.finishNode(e,"InterpreterDirective")}isLet(){return!!this.isContextual(99)&&this.hasFollowingBindingAtom()}chStartsBindingIdentifier(e,t){if(!G(e))return 92===e;if(td.lastIndex=t,td.test(this.input)){let e=this.codePointAtPos(td.lastIndex);if(!Y(e)&&92!==e)return!1}return!0}chStartsBindingPattern(e){return 91===e||123===e}hasFollowingBindingAtom(){let e=this.nextTokenStart(),t=this.codePointAtPos(e);return this.chStartsBindingPattern(t)||this.chStartsBindingIdentifier(t,e)}hasFollowingBindingIdentifier(){let e=this.nextTokenStart(),t=this.codePointAtPos(e);return this.chStartsBindingIdentifier(t,e)}startsUsingForOf(){let e=this.lookahead();return(101!==e.type||!!e.containsEsc)&&(this.expectPlugin("explicitResourceManagement"),!0)}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=0;return this.options.annexB&&!this.state.strict&&(t|=4,e&&(t|=8)),this.parseStatementLike(t)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(e){let t=null;return this.match(26)&&(t=this.parseDecorators(!0)),this.parseStatementContent(e,t)}parseStatementContent(e,t){let s=this.state.type,r=this.startNode(),i=!!(2&e),a=!!(4&e),n=1&e;switch(s){case 60:return this.parseBreakContinueStatement(r,!0);case 63:return this.parseBreakContinueStatement(r,!1);case 64:return this.parseDebuggerStatement(r);case 90:return this.parseDoWhileStatement(r);case 91:return this.parseForStatement(r);case 68:if(46===this.lookaheadCharCode())break;return a||this.raise(this.state.strict?U.StrictFunction:this.options.annexB?U.SloppyFunctionAnnexB:U.SloppyFunction,{at:this.state.startLoc}),this.parseFunctionStatement(r,!1,!i&&a);case 80:return i||this.unexpected(),this.parseClass(this.maybeTakeDecorators(t,r),!0);case 69:return this.parseIfStatement(r);case 70:return this.parseReturnStatement(r);case 71:return this.parseSwitchStatement(r);case 72:return this.parseThrowStatement(r);case 73:return this.parseTryStatement(r);case 105:if(this.hasFollowingLineBreak()||this.state.containsEsc||!this.hasFollowingBindingIdentifier())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(U.UnexpectedUsingDeclaration,{at:this.state.startLoc}):i||this.raise(U.UnexpectedLexicalDeclaration,{at:this.state.startLoc}),this.parseVarStatement(r,"using");case 99:{if(this.state.containsEsc)break;let e=this.nextTokenStart(),t=this.codePointAtPos(e);if(91!==t&&(!i&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(t,e)&&123!==t))break}case 75:i||this.raise(U.UnexpectedLexicalDeclaration,{at:this.state.startLoc});case 74:{let e=this.state.value;return this.parseVarStatement(r,e)}case 92:return this.parseWhileStatement(r);case 76:return this.parseWithStatement(r);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(r);case 83:{let e=this.lookaheadCharCode();if(40===e||46===e)break}case 82:{let e;return this.options.allowImportExportEverywhere||n||this.raise(U.UnexpectedImportExport,{at:this.state.startLoc}),this.next(),83===s?"ImportDeclaration"!==(e=this.parseImport(r)).type||e.importKind&&"value"!==e.importKind||(this.sawUnambiguousESM=!0):("ExportNamedDeclaration"!==(e=this.parseExport(r,t)).type||e.exportKind&&"value"!==e.exportKind)&&("ExportAllDeclaration"!==e.type||e.exportKind&&"value"!==e.exportKind)&&"ExportDefaultDeclaration"!==e.type||(this.sawUnambiguousESM=!0),this.assertModuleNodeAllowed(e),e}default:if(this.isAsyncFunction())return i||this.raise(U.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc}),this.next(),this.parseFunctionStatement(r,!0,!i&&a)}let o=this.state.value,h=this.parseExpression();return P(s)&&"Identifier"===h.type&&this.eat(14)?this.parseLabeledStatement(r,o,h,e):this.parseExpressionStatement(r,h,t)}assertModuleNodeAllowed(e){this.options.allowImportExportEverywhere||this.inModule||this.raise(U.ImportOutsideModule,{at:e})}decoratorsEnabledBeforeExport(){return!!this.hasPlugin("decorators-legacy")||this.hasPlugin("decorators")&&!1!==this.getPluginOption("decorators","decoratorsBeforeExport")}maybeTakeDecorators(e,t,s){return e&&(t.decorators&&t.decorators.length>0?("boolean"!=typeof this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(U.DecoratorsBeforeAfterExport,{at:t.decorators[0]}),t.decorators.unshift(...e)):t.decorators=e,this.resetStartLocationFromNode(t,e[0]),s&&this.resetStartLocationFromNode(s,t)),t}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(e){let t=[];do t.push(this.parseDecorator());while(this.match(26));if(this.match(82))e||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(U.DecoratorExportClass,{at:this.state.startLoc});else if(!this.canHaveLeadingDecorator())throw this.raise(U.UnexpectedLeadingDecorator,{at:this.state.startLoc});return t}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let e=this.startNode();if(this.next(),this.hasPlugin("decorators")){let t=this.state.startLoc,s;if(this.match(10)){let t=this.state.startLoc;this.next(),s=this.parseExpression(),this.expect(11),s=this.wrapParenthesis(t,s);let r=this.state.startLoc;e.expression=this.parseMaybeDecoratorArguments(s),!1===this.getPluginOption("decorators","allowCallParenthesized")&&e.expression!==s&&this.raise(U.DecoratorArgumentsOutsideParentheses,{at:r})}else{for(s=this.parseIdentifier(!1);this.eat(16);){let e=this.startNodeAt(t);e.object=s,this.match(136)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),e.property=this.parsePrivateName()):e.property=this.parseIdentifier(!0),e.computed=!1,s=this.finishNode(e,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(s)}}else e.expression=this.parseExprSubscripts();return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(10)){let t=this.startNodeAtNode(e);return t.callee=e,t.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(t.arguments),this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){return this.next(),this.isLineTerminator()?e.label=null:(e.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(e,t),this.finishNode(e,t?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){let s;for(s=0;sthis.parseStatement()),this.state.labels.pop(),this.expect(92),e.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next(),this.state.labels.push(tp);let t=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(t=this.state.lastTokStartLoc),this.scope.enter(0),this.expect(10),this.match(13))return null!==t&&this.unexpected(t),this.parseFor(e,null);let s=this.isContextual(99),r=this.isContextual(105)&&!this.hasFollowingLineBreak(),i=s&&this.hasFollowingBindingAtom()||r&&this.hasFollowingBindingIdentifier()&&this.startsUsingForOf();if(this.match(74)||this.match(75)||i){let s=this.startNode(),i=this.state.value;this.next(),this.parseVar(s,!0,i);let a=this.finishNode(s,"VariableDeclaration"),n=this.match(58);return n&&r&&this.raise(U.ForInUsing,{at:a}),(n||this.isContextual(101))&&1===a.declarations.length?this.parseForIn(e,a,t):(null!==t&&this.unexpected(t),this.parseFor(e,a))}let a=this.isContextual(95),n=new e_,o=this.parseExpression(!0,n),h=this.isContextual(101);return(h&&(s&&this.raise(U.ForOfLet,{at:o}),null===t&&a&&"Identifier"===o.type&&this.raise(U.ForOfAsync,{at:o})),h||this.match(58))?(this.checkDestructuringPrivate(n),this.toAssignable(o,!0),this.checkLVal(o,{in:{type:h?"ForOfStatement":"ForInStatement"}}),this.parseForIn(e,o,t)):(this.checkExpressionErrors(n,!0),null!==t&&this.unexpected(t),this.parseFor(e,o))}parseFunctionStatement(e,t,s){return this.next(),this.parseFunction(e,1|(s?2:0)|(t?8:0))}parseIfStatement(e){return this.next(),e.test=this.parseHeaderExpression(),e.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),e.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(e,"IfStatement")}parseReturnStatement(e){return this.prodParam.hasReturn||this.options.allowReturnOutsideFunction||this.raise(U.IllegalReturn,{at:this.state.startLoc}),this.next(),this.isLineTerminator()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){let t,s;this.next(),e.discriminant=this.parseHeaderExpression();let r=e.cases=[];for(this.expect(5),this.state.labels.push(tc),this.scope.enter(0);!this.match(8);)if(this.match(61)||this.match(65)){let e=this.match(61);t&&this.finishNode(t,"SwitchCase"),r.push(t=this.startNode()),t.consequent=[],this.next(),e?t.test=this.parseExpression():(s&&this.raise(U.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc}),s=!0,t.test=null),this.expect(14)}else t?t.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){return this.next(),this.hasPrecedingLineBreak()&&this.raise(U.NewlineAfterThrow,{at:this.state.lastTokEndLoc}),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){let e=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&"Identifier"===e.type?8:0),this.checkLVal(e,{in:{type:"CatchClause"},binding:9}),e}parseTryStatement(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.match(62)){let t=this.startNode();this.next(),this.match(10)?(this.expect(10),t.param=this.parseCatchClauseParam(),this.expect(11)):(t.param=null,this.scope.enter(0)),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(67)?this.parseBlock():null,e.handler||e.finalizer||this.raise(U.NoCatchOrFinally,{at:e}),this.finishNode(e,"TryStatement")}parseVarStatement(e,t){let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this.next(),this.parseVar(e,!1,t,s),this.semicolon(),this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){return this.next(),e.test=this.parseHeaderExpression(),this.state.labels.push(tp),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(e,"WhileStatement")}parseWithStatement(e){return this.state.strict&&this.raise(U.StrictWith,{at:this.state.startLoc}),this.next(),e.object=this.parseHeaderExpression(),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(e,"WithStatement")}parseEmptyStatement(e){return this.next(),this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,s,r){var i;for(let e of this.state.labels)e.name===t&&this.raise(U.LabelRedeclaration,{at:s,labelName:t});let a=(i=this.state.type)>=90&&i<=92?"loop":this.match(71)?"switch":null;for(let t=this.state.labels.length-1;t>=0;t--){let s=this.state.labels[t];if(s.statementStart===e.start)s.statementStart=this.state.start,s.kind=a;else break}return this.state.labels.push({name:t,kind:a,statementStart:this.state.start}),e.body=8&r?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),e.label=s,this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t,s){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")}parseBlock(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],s=arguments.length>2?arguments[2]:void 0,r=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(0),this.parseBlockBody(r,e,!1,8,s),t&&this.scope.exit(),this.finishNode(r,"BlockStatement")}isValidDirective(e){return"ExpressionStatement"===e.type&&"StringLiteral"===e.expression.type&&!e.expression.extra.parenthesized}parseBlockBody(e,t,s,r,i){let a=e.body=[],n=e.directives=[];this.parseBlockOrModuleBlockBody(a,t?n:void 0,s,r,i)}parseBlockOrModuleBlockBody(e,t,s,r,i){let a=this.state.strict,n=!1,o=!1;for(;!this.match(r);){let r=s?this.parseModuleItem():this.parseStatementListItem();if(t&&!o){if(this.isValidDirective(r)){let e=this.stmtToDirective(r);t.push(e),n||"use strict"!==e.value.value||(n=!0,this.setStrict(!0));continue}o=!0,this.state.strictErrors.clear()}e.push(r)}i&&i.call(this,n),a||this.setStrict(!1),this.next()}parseFor(e,t){return e.init=t,this.semicolon(!1),e.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),e.update=this.match(11)?null:this.parseExpression(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,"ForStatement")}parseForIn(e,t,s){let r=this.match(58);return this.next(),r?null!==s&&this.unexpected(s):e.await=null!==s,"VariableDeclaration"!==t.type||null==t.declarations[0].init||r&&this.options.annexB&&!this.state.strict&&"var"===t.kind&&"Identifier"===t.declarations[0].id.type||this.raise(U.ForInOfLoopInitializer,{at:t,type:r?"ForInStatement":"ForOfStatement"}),"AssignmentPattern"===t.type&&this.raise(U.InvalidLhs,{at:t,ancestor:{type:"ForStatement"}}),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")}parseVar(e,t,s){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=e.declarations=[];for(e.kind=s;;){let e=this.startNode();if(this.parseVarId(e,s),e.init=this.eat(29)?t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,null!==e.init||r||("Identifier"===e.id.type||t&&(this.match(58)||this.isContextual(101))?"const"!==s||this.match(58)||this.isContextual(101)||this.raise(U.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"}):this.raise(U.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"})),i.push(this.finishNode(e,"VariableDeclarator")),!this.eat(12))break}return e}parseVarId(e,t){"using"===t&&!this.inModule&&this.match(96)&&this.raise(U.AwaitInUsingBinding,{at:this.state.startLoc});let s=this.parseBindingAtom();this.checkLVal(s,{in:{type:"VariableDeclarator"},binding:"var"===t?5:8201}),e.id=s}parseAsyncFunctionExpression(e){return this.parseFunction(e,8)}parseFunction(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=2&t,r=!!(1&t),i=!!(8&t);this.initFunction(e,i),this.match(55)&&(s&&this.raise(U.GeneratorInSingleStatementContext,{at:this.state.startLoc}),this.next(),e.generator=!0),r&&(e.id=this.parseFunctionId(r&&!(4&t)));let a=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(eR(i,e.generator)),r||(e.id=this.parseFunctionId()),this.parseFunctionParams(e,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,r?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),r&&!s&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=a,e}parseFunctionId(e){return e||P(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(10),this.expressionScope.enter(new eD(3)),e.params=this.parseBindingList(11,41,2|(t?4:0)),this.expressionScope.exit()}registerFunctionStatementId(e){e.id&&this.scope.declareName(e.id.name,!this.options.annexB||this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?5:8201:17,e.id.loc.start)}parseClass(e,t,s){this.next();let r=this.state.strict;return this.state.strict=!0,this.parseClassId(e,t,s),this.parseClassSuper(e),e.body=this.parseClassBody(!!e.superClass,r),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(e){return!e.computed&&!e.static&&("constructor"===e.key.name||"constructor"===e.key.value)}parseClassBody(e,t){this.classScope.enter();let s={hadConstructor:!1,hadSuperClass:e},r=[],i=this.startNode();if(i.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(r.length>0)throw this.raise(U.DecoratorSemicolon,{at:this.state.lastTokEndLoc});continue}if(this.match(26)){r.push(this.parseDecorator());continue}let e=this.startNode();r.length&&(e.decorators=r,this.resetStartLocationFromNode(e,r[0]),r=[]),this.parseClassMember(i,e,s),"constructor"===e.kind&&e.decorators&&e.decorators.length>0&&this.raise(U.DecoratorConstructor,{at:e})}}),this.state.strict=t,this.next(),r.length)throw this.raise(U.TrailingDecorator,{at:this.state.startLoc});return this.classScope.exit(),this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(e,t){let s=this.parseIdentifier(!0);return this.isClassMethod()?(t.kind="method",t.computed=!1,t.key=s,t.static=!1,this.pushClassMethod(e,t,!1,!1,!1,!1),!0):this.isClassProperty()?(t.computed=!1,t.key=s,t.static=!1,e.body.push(this.parseClassProperty(t)),!0):(this.resetPreviousNodeTrailingComments(s),!1)}parseClassMember(e,t,s){let r=this.isContextual(104);if(r){if(this.parseClassMemberFromModifier(e,t))return;if(this.eat(5)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,s,r)}parseClassMemberWithIsStatic(e,t,s,r){if(t.static=r,this.parsePropertyNamePrefixOperator(t),this.eat(55)){t.kind="method";let s=this.match(136);if(this.parseClassElementName(t),s){this.pushClassPrivateMethod(e,t,!0,!1);return}this.isNonstaticConstructor(t)&&this.raise(U.ConstructorIsGenerator,{at:t.key}),this.pushClassMethod(e,t,!0,!1,!1,!1);return}let i=P(this.state.type)&&!this.state.containsEsc,a=this.match(136),n=this.parseClassElementName(t),o=this.state.startLoc;if(this.parsePostMemberNameModifiers(t),this.isClassMethod()){if(t.kind="method",a){this.pushClassPrivateMethod(e,t,!1,!1);return}let r=this.isNonstaticConstructor(t),i=!1;r&&(t.kind="constructor",s.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(U.DuplicateConstructor,{at:n}),r&&this.hasPlugin("typescript")&&t.override&&this.raise(U.OverrideOnConstructor,{at:n}),s.hadConstructor=!0,i=s.hadSuperClass),this.pushClassMethod(e,t,!1,!1,r,i)}else if(this.isClassProperty())a?this.pushClassPrivateProperty(e,t):this.pushClassProperty(e,t);else if(i&&"async"===n.name&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(n);let s=this.eat(55);t.optional&&this.unexpected(o),t.kind="method";let r=this.match(136);this.parseClassElementName(t),this.parsePostMemberNameModifiers(t),r?this.pushClassPrivateMethod(e,t,s,!0):(this.isNonstaticConstructor(t)&&this.raise(U.ConstructorIsAsync,{at:t.key}),this.pushClassMethod(e,t,s,!0,!1,!1))}else if(i&&("get"===n.name||"set"===n.name)&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(n),t.kind=n.name;let s=this.match(136);this.parseClassElementName(t),s?this.pushClassPrivateMethod(e,t,!1,!1):(this.isNonstaticConstructor(t)&&this.raise(U.ConstructorIsAccessor,{at:t.key}),this.pushClassMethod(e,t,!1,!1,!1,!1)),this.checkGetterSetterParams(t)}else if(i&&"accessor"===n.name&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(n);let s=this.match(136);this.parseClassElementName(t),this.pushClassAccessorProperty(e,t,s)}else this.isLineTerminator()?a?this.pushClassPrivateProperty(e,t):this.pushClassProperty(e,t):this.unexpected()}parseClassElementName(e){let{type:t,value:s}=this.state;if((130===t||131===t)&&e.static&&"prototype"===s&&this.raise(U.StaticPrototype,{at:this.state.startLoc}),136===t){"constructor"===s&&this.raise(U.ConstructorClassPrivateField,{at:this.state.startLoc});let t=this.parsePrivateName();return e.key=t,t}return this.parsePropertyName(e)}parseClassStaticBlock(e,t){var s;this.scope.enter(208);let r=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let i=t.body=[];this.parseBlockOrModuleBlockBody(i,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=r,e.body.push(this.finishNode(t,"StaticBlock")),null!=(s=t.decorators)&&s.length&&this.raise(U.DecoratorStaticBlock,{at:t})}pushClassProperty(e,t){t.computed||"constructor"!==t.key.name&&"constructor"!==t.key.value||this.raise(U.ConstructorClassField,{at:t.key}),e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){let s=this.parseClassPrivateProperty(t);e.body.push(s),this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),0,s.key.loc.start)}pushClassAccessorProperty(e,t,s){if(!s&&!t.computed){let e=t.key;("constructor"===e.name||"constructor"===e.value)&&this.raise(U.ConstructorClassField,{at:e})}let r=this.parseClassAccessorProperty(t);e.body.push(r),s&&this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),0,r.key.loc.start)}pushClassMethod(e,t,s,r,i,a){e.body.push(this.parseMethod(t,s,r,i,a,"ClassMethod",!0))}pushClassPrivateMethod(e,t,s,r){let i=this.parseMethod(t,s,r,!1,!1,"ClassPrivateMethod",!0);e.body.push(i);let a="get"===i.kind?i.static?6:2:"set"===i.kind?i.static?5:1:0;this.declareClassPrivateMethodInScope(i,a)}declareClassPrivateMethodInScope(e,t){this.classScope.declarePrivateName(this.getPrivateNameSV(e.key),t,e.key.loc.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassProperty")}parseClassAccessorProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassAccessorProperty")}parseInitializer(e){this.scope.enter(80),this.expressionScope.enter(new eD),this.prodParam.enter(0),e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(e,t,s){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:8331;if(P(this.state.type))e.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(e.id,r);else if(s||!t)e.id=null;else throw this.raise(U.MissingClassName,{at:this.state.startLoc})}parseClassSuper(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(e,t){let s,r=this.maybeParseExportDefaultSpecifier(e),i=!r||this.eat(12),a=i&&this.eatExportStar(e),n=a&&this.maybeParseExportNamespaceSpecifier(e),o=i&&(!n||this.eat(12)),h=r||a;if(a&&!n){if(r&&this.unexpected(),t)throw this.raise(U.UnsupportedDecoratorExport,{at:e});return this.parseExportFrom(e,!0),this.finishNode(e,"ExportAllDeclaration")}let l=this.maybeParseExportNamedSpecifiers(e);if(r&&i&&!a&&!l&&this.unexpected(null,5),n&&o&&this.unexpected(null,97),h||l){if(s=!1,t)throw this.raise(U.UnsupportedDecoratorExport,{at:e});this.parseExportFrom(e,h)}else s=this.maybeParseExportDeclaration(e);if(h||l||s){var p;if(this.checkExport(e,!0,!1,!!e.source),(null==(p=e.declaration)?void 0:p.type)==="ClassDeclaration")this.maybeTakeDecorators(t,e.declaration,e);else if(t)throw this.raise(U.UnsupportedDecoratorExport,{at:e});return this.finishNode(e,"ExportNamedDeclaration")}if(this.eat(65)){let s=this.parseExportDefaultExpression();if(e.declaration=s,"ClassDeclaration"===s.type)this.maybeTakeDecorators(t,s,e);else if(t)throw this.raise(U.UnsupportedDecoratorExport,{at:e});return this.checkExport(e,!0,!0),this.finishNode(e,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(e){return this.eat(55)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");let t=this.startNode();return t.exported=this.parseIdentifier(!0),e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(e){if(this.isContextual(93)){e.specifiers||(e.specifiers=[]);let t=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),t.exported=this.parseModuleExportName(),e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(e){if(this.match(5)){e.specifiers||(e.specifiers=[]);let t="type"===e.exportKind;return e.specifiers.push(...this.parseExportSpecifiers(t)),e.source=null,e.declaration=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),!0}return!1}maybeParseExportDeclaration(e){return!!this.shouldParseExportDeclaration()&&(e.specifiers=[],e.source=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),e.declaration=this.parseExportDeclaration(e),!0)}isAsyncFunction(){if(!this.isContextual(95))return!1;let e=this.nextTokenStart();return!em.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){let e=this.startNode();if(this.match(68))return this.next(),this.parseFunction(e,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(e,13);if(this.match(80))return this.parseClass(e,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(U.DecoratorBeforeExport,{at:this.state.startLoc}),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(U.UnsupportedDefaultExport,{at:this.state.startLoc});let t=this.parseMaybeAssignAllowIn();return this.semicolon(),t}parseExportDeclaration(e){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:e}=this.state;if(P(e)){if(95===e&&!this.state.containsEsc||99===e)return!1;if((128===e||127===e)&&!this.state.containsEsc){let{type:e}=this.lookahead();if(P(e)&&97!==e||5===e)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let t=this.nextTokenStart(),s=this.isUnparsedContextual(t,"from");if(44===this.input.charCodeAt(t)||P(this.state.type)&&s)return!0;if(this.match(65)&&s){let e=this.input.charCodeAt(this.nextTokenStartSince(t+4));return 34===e||39===e}return!1}parseExportFrom(e,t){if(this.eatContextual(97)){e.source=this.parseImportSource(),this.checkExport(e);let t=this.maybeParseImportAssertions();t&&(e.assertions=t,this.checkJSONModuleImport(e))}else t&&this.unexpected();this.semicolon()}shouldParseExportDeclaration(){let{type:e}=this.state;return 26===e&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(U.DecoratorBeforeExport,{at:this.state.startLoc}),!0):74===e||75===e||68===e||80===e||this.isLet()||this.isAsyncFunction()}checkExport(e,t,s,r){if(t){if(s){if(this.checkDuplicateExports(e,"default"),this.hasPlugin("exportDefaultFrom")){var i;let t=e.declaration;"Identifier"!==t.type||"from"!==t.name||t.end-t.start!=4||null!=(i=t.extra)&&i.parenthesized||this.raise(U.ExportDefaultFromAsIdentifier,{at:t})}}else if(e.specifiers&&e.specifiers.length)for(let t of e.specifiers){let{exported:e}=t,s="Identifier"===e.type?e.name:e.value;if(this.checkDuplicateExports(t,s),!r&&t.local){let{local:e}=t;"Identifier"!==e.type?this.raise(U.ExportBindingIsString,{at:t,localName:e.value,exportName:s}):(this.checkReservedWord(e.name,e.loc.start,!0,!1),this.scope.checkLocalExport(e))}}else if(e.declaration){if("FunctionDeclaration"===e.declaration.type||"ClassDeclaration"===e.declaration.type){let t=e.declaration.id;if(!t)throw Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if("VariableDeclaration"===e.declaration.type)for(let t of e.declaration.declarations)this.checkDeclaration(t.id)}}}checkDeclaration(e){if("Identifier"===e.type)this.checkDuplicateExports(e,e.name);else if("ObjectPattern"===e.type)for(let t of e.properties)this.checkDeclaration(t);else if("ArrayPattern"===e.type)for(let t of e.elements)t&&this.checkDeclaration(t);else"ObjectProperty"===e.type?this.checkDeclaration(e.value):"RestElement"===e.type?this.checkDeclaration(e.argument):"AssignmentPattern"===e.type&&this.checkDeclaration(e.left)}checkDuplicateExports(e,t){this.exportedIdentifiers.has(t)&&("default"===t?this.raise(U.DuplicateDefaultExport,{at:e}):this.raise(U.DuplicateExport,{at:e,exportName:t})),this.exportedIdentifiers.add(t)}parseExportSpecifiers(e){let t=[],s=!0;for(this.expect(5);!this.eat(8);){if(s)s=!1;else if(this.expect(12),this.eat(8))break;let r=this.isContextual(128),i=this.match(131),a=this.startNode();a.local=this.parseModuleExportName(),t.push(this.parseExportSpecifier(a,i,e,r))}return t}parseExportSpecifier(e,t,s,r){return this.eatContextual(93)?e.exported=this.parseModuleExportName():t?e.exported=function(e){let{type:t,start:s,end:r,loc:i,range:a,extra:n}=e;if("Placeholder"===t)return eV(e);let o=Object.create(eH);return o.type=t,o.start=s,o.end=r,o.loc=i,o.range=a,void 0!==e.raw?o.raw=e.raw:o.extra=n,o.value=e.value,o}(e.local):e.exported||(e.exported=eV(e.local)),this.finishNode(e,"ExportSpecifier")}parseModuleExportName(){if(this.match(131)){let e=this.parseStringLiteral(this.state.value),t=e.value.match(tu);return t&&this.raise(U.ModuleExportNameHasLoneSurrogate,{at:e,surrogateCharCode:t[0].charCodeAt(0)}),e}return this.parseIdentifier(!0)}isJSONModuleImport(e){return null!=e.assertions&&e.assertions.some(e=>{let{key:t,value:s}=e;return"json"===s.value&&("Identifier"===t.type?"type"===t.name:"type"===t.value)})}checkImportReflection(e){if(e.module){var t;(1!==e.specifiers.length||"ImportDefaultSpecifier"!==e.specifiers[0].type)&&this.raise(U.ImportReflectionNotBinding,{at:e.specifiers[0].loc.start}),(null==(t=e.assertions)?void 0:t.length)>0&&this.raise(U.ImportReflectionHasAssertion,{at:e.specifiers[0].loc.start})}}checkJSONModuleImport(e){if(this.isJSONModuleImport(e)&&"ExportAllDeclaration"!==e.type){let{specifiers:t}=e;if(null!=t){let e=t.find(e=>{let t;if("ExportSpecifier"===e.type?t=e.local:"ImportSpecifier"===e.type&&(t=e.imported),void 0!==t)return"Identifier"===t.type?"default"!==t.name:"default"!==t.value});void 0!==e&&this.raise(U.ImportJSONBindingNotDefault,{at:e.loc.start})}}}parseMaybeImportReflection(e){let t=!1;if(this.isContextual(125)){let e=this.lookahead(),s=e.type;P(s)?(97!==s||102===this.input.charCodeAt(this.nextTokenStartSince(e.end)))&&(t=!0):12!==s&&(t=!0)}t?(this.expectPlugin("importReflection"),this.next(),e.module=!0):this.hasPlugin("importReflection")&&(e.module=!1)}parseImport(e){if(e.specifiers=[],!this.match(131)){this.parseMaybeImportReflection(e);let t=!this.maybeParseDefaultImportSpecifier(e)||this.eat(12),s=t&&this.maybeParseStarImportSpecifier(e);t&&!s&&this.parseNamedImportSpecifiers(e),this.expectContextual(97)}e.source=this.parseImportSource();let t=this.maybeParseImportAssertions();if(t)e.assertions=t;else{let t=this.maybeParseModuleAttributes();t&&(e.attributes=t)}return this.checkImportReflection(e),this.checkJSONModuleImport(e),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.match(131)||this.unexpected(),this.parseExprAtom()}shouldParseDefaultImport(e){return P(this.state.type)}parseImportSpecifierLocal(e,t,s){t.local=this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,s))}finishImportSpecifier(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:8201;return this.checkLVal(e.local,{in:{type:t},binding:s}),this.finishNode(e,t)}parseAssertEntries(){let e=[],t=new Set;do{if(this.match(8))break;let s=this.startNode(),r=this.state.value;if(t.has(r)&&this.raise(U.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:r}),t.add(r),this.match(131)?s.key=this.parseStringLiteral(r):s.key=this.parseIdentifier(!0),this.expect(14),!this.match(131))throw this.raise(U.ModuleAttributeInvalidValue,{at:this.state.startLoc});s.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(s,"ImportAttribute"))}while(this.eat(12));return e}maybeParseModuleAttributes(){if(!this.match(76)||this.hasPrecedingLineBreak())return this.hasPlugin("moduleAttributes")?[]:null;this.expectPlugin("moduleAttributes"),this.next();let e=[],t=new Set;do{let s=this.startNode();if(s.key=this.parseIdentifier(!0),"type"!==s.key.name&&this.raise(U.ModuleAttributeDifferentFromType,{at:s.key}),t.has(s.key.name)&&this.raise(U.ModuleAttributesWithDuplicateKeys,{at:s.key,key:s.key.name}),t.add(s.key.name),this.expect(14),!this.match(131))throw this.raise(U.ModuleAttributeInvalidValue,{at:this.state.startLoc});s.value=this.parseStringLiteral(this.state.value),this.finishNode(s,"ImportAttribute"),e.push(s)}while(this.eat(12));return e}maybeParseImportAssertions(){if(!this.isContextual(94)||this.hasPrecedingLineBreak())return this.hasPlugin("importAssertions")?[]:null;this.expectPlugin("importAssertions"),this.next(),this.eat(5);let e=this.parseAssertEntries();return this.eat(8),e}maybeParseDefaultImportSpecifier(e){return!!this.shouldParseDefaultImport(e)&&(this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier"),!0)}maybeParseStarImportSpecifier(e){if(this.match(55)){let t=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(e){let t=!0;for(this.expect(5);!this.eat(8);){if(t)t=!1;else{if(this.eat(14))throw this.raise(U.DestructureNamedImport,{at:this.state.startLoc});if(this.expect(12),this.eat(8))break}let s=this.startNode(),r=this.match(131),i=this.isContextual(128);s.imported=this.parseModuleExportName();let a=this.parseImportSpecifier(s,r,"type"===e.importKind||"typeof"===e.importKind,i,void 0);e.specifiers.push(a)}}parseImportSpecifier(e,t,s,r,i){if(this.eatContextual(93))e.local=this.parseIdentifier();else{let{imported:s}=e;if(t)throw this.raise(U.ImportBindingIsString,{at:e,importName:s.value});this.checkReservedWord(s.name,e.loc.start,!0,!0),e.local||(e.local=eV(s))}return this.finishImportSpecifier(e,"ImportSpecifier",i)}isThisParam(e){return"Identifier"===e.type&&"this"===e.name}},tf=class extends tm{constructor(e,s){super(e=function(e){if(e&&null!=e.annexB&&!1!==e.annexB)throw Error("The `annexB` option can only be set to `false`.");let s={};for(let r of Object.keys(t))s[r]=e&&null!=e[r]?e[r]:t[r];return s}(e),s),this.options=e,this.initializeScopes(),this.plugins=function(e){let t=new Map;for(let s of e){let[e,r]=Array.isArray(s)?s:[s,{}];t.has(e)||t.set(e,r||{})}return t}(this.options.plugins),this.filename=e.sourceFilename}getScopeHandler(){return en}parse(){this.enterInitialScopes();let e=this.startNode(),t=this.startNode();return this.nextToken(),e.errors=null,this.parseTopLevel(e,t),e.errors=this.state.errors,e}},ty=function(e){let t={};for(let s of Object.keys(e))t[s]=l[e[s]];return t}(g);function tx(e,t){let s=tf;return null!=e&&e.plugins&&(function(e){if(ts(e,"decorators")){if(ts(e,"decorators-legacy"))throw Error("Cannot use the decorators and decorators-legacy plugin together");let t=tr(e,"decorators","decoratorsBeforeExport");if(null!=t&&"boolean"!=typeof t)throw Error("'decoratorsBeforeExport' must be a boolean, if specified.");let s=tr(e,"decorators","allowCallParenthesized");if(null!=s&&"boolean"!=typeof s)throw Error("'allowCallParenthesized' must be a boolean.")}if(ts(e,"flow")&&ts(e,"typescript"))throw Error("Cannot combine flow and typescript plugins.");if(ts(e,"placeholders")&&ts(e,"v8intrinsic"))throw Error("Cannot combine placeholders and v8intrinsic plugins.");if(ts(e,"pipelineOperator")){let t=tr(e,"pipelineOperator","proposal");if(!ti.includes(t)){let e=ti.map(e=>`"${e}"`).join(", ");throw Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}let s=ts(e,["recordAndTuple",{syntaxType:"hash"}]);if("hack"===t){if(ts(e,"placeholders"))throw Error("Cannot combine placeholders plugin and Hack-style pipes.");if(ts(e,"v8intrinsic"))throw Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let t=tr(e,"pipelineOperator","topicToken");if(!ta.includes(t)){let e=ta.map(e=>`"${e}"`).join(", ");throw Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${e}.`)}if("#"===t&&s)throw Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if("smart"===t&&s)throw Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(ts(e,"moduleAttributes")){if(ts(e,"importAssertions"))throw Error("Cannot combine importAssertions and moduleAttributes plugins.");if("may-2020"!==tr(e,"moduleAttributes","version"))throw Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(ts(e,"recordAndTuple")&&null!=tr(e,"recordAndTuple","syntaxType")&&!tn.includes(tr(e,"recordAndTuple","syntaxType")))throw Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+tn.map(e=>`'${e}'`).join(", "));if(ts(e,"asyncDoExpressions")&&!ts(e,"doExpressions")){let e=Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw e.missingPlugins="doExpressions",e}}(e.plugins),s=function(e){let t=th.filter(t=>ts(e,t)),s=t.join("/"),r=tg[s];if(!r){for(let e of(r=tf,t))r=to[e](r);tg[s]=r}return r}(e.plugins)),new s(e,t)}var tg={};e.parse=function(e,t){var s;if((null==(s=t)?void 0:s.sourceType)!=="unambiguous")return tx(t,e).parse();t=Object.assign({},t);try{t.sourceType="module";let s=tx(t,e),r=s.parse();if(s.sawUnambiguousESM)return r;if(s.ambiguousScriptDifferentAst)try{return t.sourceType="script",tx(t,e).parse()}catch{}else r.program.sourceType="script";return r}catch(s){try{return t.sourceType="script",tx(t,e).parse()}catch{}throw s}},e.parseExpression=function(e,t){let s=tx(t,e);return s.options.strictMode&&(s.state.strict=!0),s.getExpression()},e.tokTypes=ty}}),es=o({"src/language-js/parse/json.js"(e,t){p();var s=V(),r=K(),i=q(),a=W();function n(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{allowComments:t=!0}=e;return function(e){let{parseExpression:r}=et(),i;try{i=r(e,{tokens:!0,ranges:!0})}catch(e){throw a(e)}if(!t&&s(i.comments))throw o(i.comments[0],"Comment");return function e(t){switch(t.type){case"ArrayExpression":for(let s of t.elements)null!==s&&e(s);return;case"ObjectExpression":for(let s of t.properties)e(s);return;case"ObjectProperty":if(t.computed)throw o(t.key,"Computed key");if(t.shorthand)throw o(t.key,"Shorthand property");"Identifier"!==t.key.type&&e(t.key),e(t.value);return;case"UnaryExpression":{let{operator:e,argument:s}=t;if("+"!==e&&"-"!==e)throw o(t,`Operator '${t.operator}'`);if("NumericLiteral"===s.type||"Identifier"===s.type&&("Infinity"===s.name||"NaN"===s.name))return;throw o(s,`Operator '${e}' before '${s.type}'`)}case"Identifier":if("Infinity"!==t.name&&"NaN"!==t.name&&"undefined"!==t.name)throw o(t,`Identifier '${t.name}'`);return;case"TemplateLiteral":if(s(t.expressions))throw o(t.expressions[0],"'TemplateLiteral' with expression");for(let s of t.quasis)e(s);return;case"NullLiteral":case"BooleanLiteral":case"NumericLiteral":case"StringLiteral":case"TemplateElement":return;default:throw o(t,`'${t.type}'`)}}(i),i}}function o(e,t){let[s,i]=[e.loc.start,e.loc.end].map(e=>{let{line:t,column:s}=e;return{line:t,column:s+1}});return r(`${t} is not allowed in JSON.`,{start:s,end:i})}var h=n(),l={json:i({parse:h,hasPragma:()=>!0}),json5:i(h),"json-stringify":i({parse:n({allowComments:!1}),astFormat:"estree-json"})};t.exports=l}});p();var er=c(),ei=u(),ea=x(),en=q(),eo=W(),eh=ee(),el=es(),ep={sourceType:"module",allowImportExportEverywhere:!0,allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,allowUndeclaredExports:!0,errorRecovery:!0,createParenthesizedExpressions:!0,plugins:["doExpressions","exportDefaultFrom","functionBind","functionSent","throwExpressions","partialApplication",["decorators",{decoratorsBeforeExport:!1}],"importAssertions","decimal","moduleBlocks","asyncDoExpressions","regexpUnicodeSets","destructuringPrivate","decoratorAutoAccessors"],tokens:!0,ranges:!0},ec=["recordAndTuple",{syntaxType:"hash"}],eu="v8intrinsic",ed=[["pipelineOperator",{proposal:"hack",topicToken:"%"}],["pipelineOperator",{proposal:"minimal"}],["pipelineOperator",{proposal:"fsharp"}]],em=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ep;return Object.assign(Object.assign({},t),{},{plugins:[...t.plugins,...e]})},ey=/@(?:no)?flow\b/;function ex(e){for(var t=arguments.length,s=Array(t>1?t-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:{};if(("babel"===i.parser||"__babel_estree"===i.parser)&&function(e,t){if(t.filepath&&t.filepath.endsWith(".js.flow"))return!0;let s=ei(e);s&&(e=e.slice(s.length));let r=ea(e,0);return!1!==r&&(e=e.slice(0,r)),ey.test(e)}(t,i))return i.parser="babel-flow",eb(t,r,i);let a=s;"script"===i.__babelSourceType&&(a=a.map(e=>Object.assign(Object.assign({},e),{},{sourceType:"script"}))),/#[[{]/.test(t)&&(a=a.map(e=>em([ec],e)));let n=/%[A-Z]/.test(t);t.includes("|>")?a=(n?[...ed,eu]:ed).flatMap(e=>a.map(t=>em([e],t))):n&&(a=a.map(e=>em([eu],e)));let{result:o,error:h}=er(...a.map(s=>()=>(function(e,t,s){let r=(0,et()[e])(t,s),i=r.errors.find(e=>!ew.has(e.reasonCode));if(i)throw i;return r})(e,t,s)));if(!o)throw eo(h);return i.originalText=t,eh(o,i)}}var eP=ex("parse",em(["jsx","flow"])),eb=ex("parse",em(["jsx",["flow",{all:!0,enums:!0}]])),eT=ex("parse",em(["jsx","typescript"]),em(["typescript"])),eA=ex("parse",em(["jsx","flow","estree"])),eE=ex("parseExpression",em(["jsx"])),eS=ex("parseExpression",em(["typescript"])),ew=new Set(["StrictNumericEscape","StrictWith","StrictOctalLiteral","StrictDelete","StrictEvalArguments","StrictEvalArgumentsBinding","StrictFunction","EmptyTypeArguments","EmptyTypeParameters","ConstructorHasTypeParameters","UnsupportedParameterPropertyKind","UnexpectedParameterModifier","MixedLabeledAndUnlabeledElements","InvalidTupleMemberLabel","NonClassMethodPropertyHasAbstractModifer","ReadonlyForMethodSignature","ClassMethodHasDeclare","ClassMethodHasReadonly","InvalidModifierOnTypeMember","DuplicateAccessibilityModifier","IndexSignatureHasDeclare","DecoratorExportClass","ParamDupe","InvalidDecimal","RestTrailingComma","UnsupportedParameterDecorator","UnterminatedJsxContent","UnexpectedReservedWord","ModuleAttributesWithDuplicateKeys","LineTerminatorBeforeArrow","InvalidEscapeSequenceTemplate","NonAbstractClassHasAbstractMethod","UnsupportedPropertyDecorator","OptionalTypeBeforeRequired","PatternIsOptional","OptionalBindingPattern","DeclareClassFieldHasInitializer","TypeImportCannotSpecifyDefaultAndNamed","DeclareFunctionHasImplementation","ConstructorClassField","VarRedeclaration","InvalidPrivateFieldResolution","DuplicateExport"]),ev=en(eP),eC=en(eT),eN=en(eE),ek=en(eS);t.exports={parsers:Object.assign(Object.assign({babel:ev,"babel-flow":en(eb),"babel-ts":eC},el),{},{__js_expression:eN,__vue_expression:eN,__vue_ts_expression:ek,__vue_event_binding:ev,__vue_ts_event_binding:eC,__babel_estree:en(eA)})}})()},e.exports=r()}}]); \ No newline at end of file diff --git a/_next/static/chunks/6295-8a3d2ce47372a08c.js b/_next/static/chunks/6295-8a3d2ce47372a08c.js new file mode 100644 index 000000000..c450ebcec --- /dev/null +++ b/_next/static/chunks/6295-8a3d2ce47372a08c.js @@ -0,0 +1,128 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6295],{64365:function(e,t,n){!function(e,t,n,r){"use strict";class o{constructor({file:e,sourceRoot:n}={}){this._names=new t.SetArray,this._sources=new t.SetArray,this._sourcesContent=[],this._mappings=[],this.file=e,this.sourceRoot=n,this._ignoreList=new t.SetArray}}function s(e){let{_mappings:t,_sources:n,_sourcesContent:r,_names:o,_ignoreList:s}=e;return function(e){let{length:t}=e,n=t;for(let t=n-1;t>=0&&!(e[t].length>0);n=t,t--);n=0&&!(t>=e[r][0]);n=r--);return n}(m,o);if(!s){if(e&&(0===k||1===m[k-1].length))return;return a(m,k,[o])}let g=t.put(p,s),y=l?t.put(d,l):-1;if(g===f.length&&(f[g]=null!=h?h:null),!(e&&function(e,t,n,r,o,s){if(0===t)return!1;let i=e[t-1];return 1!==i.length&&n===i[1]&&r===i[2]&&o===i[3]&&s===(5===i.length?i[4]:-1)}(m,k,g,i,c,y)))return a(m,k,l?[o,g,i,c,y]:[o,g,i,c])}function a(e,t,n){for(let n=e.length;n>t;n--)e[n]=e[n-1];e[t]=n}function c(e,n){for(let r=0;rnull),n._mappings=r.decodedMappings(t),t.ignoreList&&c(n._ignoreList,t.ignoreList),n},e.maybeAddMapping=(e,t)=>l(!0,e,t),e.maybeAddSegment=(e,t,n,r,o,s,a,c)=>i(!0,e,t,n,r,o,s,a,c),e.setIgnore=function(e,n,r=!0){let{_sources:o,_sourcesContent:s,_ignoreList:i}=e,a=t.put(o,n);a===s.length&&(s[a]=null),r?t.put(i,a):t.remove(i,a)},e.setSourceContent=function(e,n,r){let{_sources:o,_sourcesContent:s}=e;s[t.put(o,n)]=r},e.toDecodedMap=s,e.toEncodedMap=function(e){let t=s(e);return Object.assign(Object.assign({},t),{mappings:n.encode(t.mappings)})},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(95472),n(89483),n(57605))},47991:function(e){var t;t=function(){"use strict";var e,t;let n=/^[\w+.-]+:\/\//,r=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,o=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function s(e){return e.startsWith("/")}function i(e){return/^[.?#]/.test(e)}function a(e){let t=r.exec(e);return c(t[1],t[2]||"",t[3],t[4]||"",t[5]||"/",t[6]||"",t[7]||"")}function c(t,n,r,o,s,i,a){return{scheme:t,user:n,host:r,port:o,path:s,query:i,hash:a,type:e.Absolute}}function l(t){if(t.startsWith("//")){let n=a("http:"+t);return n.scheme="",n.type=e.SchemeRelative,n}if(s(t)){let n=a("http://foo.com"+t);return n.scheme="",n.host="",n.type=e.AbsolutePath,n}if(t.startsWith("file:"))return function(e){let t=o.exec(e),n=t[2];return c("file:","",t[1]||"","",s(n)?n:"/"+n,t[3]||"",t[4]||"")}(t);if(n.test(t))return a(t);let r=a("http://foo.com/"+t);return r.scheme="",r.host="",r.type=t?t.startsWith("?")?e.Query:t.startsWith("#")?e.Hash:e.RelativePath:e.Empty,r}function h(t,n){let r=n<=e.RelativePath,o=t.path.split("/"),s=1,i=0,a=!1;for(let e=1;eo&&(o=s)}h(r,o);let s=r.query+r.hash;switch(o){case e.Hash:case e.Query:return s;case e.RelativePath:{let e=r.path.slice(1);if(!e)return s||".";if(i(n||t)&&!i(e))return"./"+e+s;return e+s}case e.AbsolutePath:return r.path+s;default:return r.scheme+"//"+r.user+r.host+r.port+r.path+s}}},e.exports=t()},95472:function(e,t){!function(e){"use strict";class t{constructor(){this._indexes={__proto__:null},this.array=[]}}function n(e,t){return e._indexes[t]}e.SetArray=t,e.get=n,e.pop=function(e){let{array:t,_indexes:n}=e;0!==t.length&&(n[t.pop()]=void 0)},e.put=function(e,t){let r=n(e,t);if(void 0!==r)return r;let{array:o,_indexes:s}=e,i=o.push(t);return s[t]=i-1},e.remove=function(e,t){let r=n(e,t);if(void 0===r)return;let{array:o,_indexes:s}=e;for(let e=r+1;er.from(e.buffer,e.byteOffset,e.byteLength).toString()}:{decode(e){let t="";for(let n=0;n>>=1,c&&(s=-2147483648|-s),n[r]+=s,t}function a(e,t,n){return!(t>=n)&&44!==e.charCodeAt(t)}function c(e,t){return e[0]-t[0]}function l(e,t,r,o,s){let i=o[s],a=i-r[s];r[s]=i,a=a<0?-a<<1|1:a<<1;do{let r=31&a;(a>>>=5)>0&&(r|=32),e[t++]=n[r]}while(a>0);return t}e.decode=function(e){let t=new Int32Array(5),n=[],r=0;do{let o=function(e,t){let n=e.indexOf(";",t);return -1===n?e.length:n}(e,r),s=[],l=!0,h=0;t[0]=0;for(let n=r;n0&&(16384===o&&(i+=s.decode(n),o=0),n[o++]=59),0!==c.length){t[0]=0;for(let e=0;e16348&&(i+=s.decode(r),n.copyWithin(0,16348,o),o-=16348),e>0&&(n[o++]=44),o=l(n,o,t,a,0),1!==a.length&&(o=l(n,o,t,a,1),o=l(n,o,t,a,2),o=l(n,o,t,a,3),4!==a.length&&(o=l(n,o,t,a,4)))}}}return i+s.decode(n.subarray(0,o))},Object.defineProperty(e,"__esModule",{value:!0})}(t)},57605:function(e,t,n){!function(e,t,n){"use strict";function r(e,t){return t&&!t.endsWith("/")&&(t+="/"),n(e,t)}function o(e,t){for(let n=t;n=0&&e[r][0]===t;n=r--);return n}function l(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function h(e,t,n,r){let{lastKey:o,lastNeedle:s,lastIndex:a}=n,c=0,l=e.length-1;if(r===o){if(t===s)return i=-1!==a&&e[a][0]===t,a;t>=s?c=-1===a?0:a:l=a}return n.lastKey=r,n.lastNeedle=t,n.lastIndex=function(e,t,n,r){for(;n<=r;){let o=n+(r-n>>1),s=e[o][0]-t;if(0===s)return i=!0,o;s<0?n=o+1:r=o-1}return i=!1,n-1}(e,t,c,l)}function u(){return{__proto__:null}}function p(e){return"string"==typeof e?JSON.parse(e):e}function f(e,t){for(let n=0;nr(e||"",d));let{mappings:m}=i;"string"==typeof m?(this._encoded=m,this._decoded=void 0):(this._encoded=void 0,this._decoded=function(e,t){let n=o(e,0);if(n===e.length)return e;t||(e=e.slice());for(let i=n;it;n--)e[n]=e[n-1];e[t]=n}(p,d,[l,r,s[0]])}}return n}(y(e),e._bySourceMemos=p.map(l))))[k][n];if(null==g)return s?[]:v(null,null);let _=e._bySourceMemos[k];if(s)return function(e,t,n,r,o){let s=I(e,t,n,r,1);if(!i&&-1===o&&s++,-1===s||s===e.length)return[];let l=i?r:e[s][0];i||(s=c(e,l,s));let h=a(e,l,s),u=[];for(;s<=h;s++){let t=e[s];u.push(v(t[1]+1,t[2]))}return u}(g,_,n,r,o);let x=I(g,_,n,r,o);if(-1===x)return v(null,null);let T=g[x];return v(T[1]+1,T[2])}e.AnyMap=function(e,t){let n=p(e);if(!("sections"in n))return new k(n,t);let r=[],o=[],s=[],i=[],a=[];return function e(t,n,r,o,s,i,a,c,l,h,u){let{sections:d}=t;for(let t=0;th)return;let n=function(e,t){for(let n=e.length;n<=t;n++)e[n]=[];return e[t]}(r,t),o=0===e?l:0,s=x[e];for(let e=0;e=u)return;if(1===r.length){n.push([i]);continue}let a=g+r[1],c=r[2],l=r[3];n.push(4===r.length?[i,a,c,l]:[i,a,c,l,_+r[4]])}}})(m,n,r,o,s,i,a,c+g.line,l+g.column,_,x)}}(n,t,r,o,s,i,a,0,0,1/0,1/0),x({version:3,file:n.file,names:i,sources:o,sourcesContent:s,mappings:r,ignoreList:a})},e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=-1,e.TraceMap=k,e.allGeneratedPositionsFor=function(e,t){let{source:n,line:r,column:o,bias:s}=t;return w(e,n,r,o,s||-1,!0)},e.decodedMap=function(e){return T(e,y(e))},e.decodedMappings=y,e.eachMapping=function(e,t){let n=y(e),{names:r,resolvedSources:o}=e;for(let e=0;e=s.length)return b(null,null,null,null);let i=s[n],a=I(i,e._decodedMemo,n,r,o||1);if(-1===a)return b(null,null,null,null);let c=i[a];if(1===c.length)return b(null,null,null,null);let{names:l,resolvedSources:h}=e;return b(h[c[1]],c[2]+1,c[3],5===c.length?l[c[4]]:null)},e.presortedDecodedMap=x,e.sourceContentFor=function(e,t){let{sourcesContent:n}=e;if(null==n)return null;let r=_(e,t);return -1===r?null:n[r]},e.traceSegment=function(e,t,n){let r=y(e);if(t>=r.length)return null;let o=r[t],s=I(o,e._decodedMemo,t,n,1);return -1===s?null:o[s]}}(t,n(89483),n(47991))},26446:function(e,t){"use strict";t.byteLength=function(e){var t=c(e),n=t[0],r=t[1];return(n+r)*3/4-r},t.toByteArray=function(e){var t,n,s=c(e),i=s[0],a=s[1],l=new o((i+a)*3/4-a),h=0,u=a>0?i-4:i;for(n=0;n>16&255,l[h++]=t>>8&255,l[h++]=255&t;return 2===a&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,l[h++]=255&t),1===a&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,l[h++]=t>>8&255,l[h++]=255&t),l},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,s=[],i=0,a=r-o;i>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return s.join("")}(e,i,i+16383>a?a:i+16383));return 1===o?s.push(n[(t=e[r-1])>>2]+n[t<<4&63]+"=="):2===o&&s.push(n[(t=(e[r-2]<<8)+e[r-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),s.join("")};for(var n=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,a=s.length;i0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},57861:function(e,t,n){"use strict";/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + */var r=n(26446),o=n(47164),s="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function i(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return h(e)}return c(e,t,n)}function c(e,t,n){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!a.isEncoding(t))throw TypeError("Unknown encoding: "+t);var n=0|d(e,t),r=i(n),o=r.write(e,t);return o!==n&&(r=r.slice(0,o)),r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(S(e,Uint8Array)){var t=new Uint8Array(e);return p(t.buffer,t.byteOffset,t.byteLength)}return u(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(S(e,ArrayBuffer)||e&&S(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(S(e,SharedArrayBuffer)||e&&S(e.buffer,SharedArrayBuffer)))return p(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return a.from(r,t,n);var o=function(e){if(a.isBuffer(e)){var t,n=0|f(e.length),r=i(n);return 0===r.length||e.copy(r,0,0,n),r}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?i(0):u(e):"Buffer"===e.type&&Array.isArray(e.data)?u(e.data):void 0}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.from(e[Symbol.toPrimitive]("string"),t,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function l(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function h(e){return l(e),i(e<0?0:0|f(e))}function u(e){for(var t=e.length<0?0:0|f(e.length),n=i(t),r=0;r=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function d(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||S(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return C(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return E(e).length;default:if(o)return r?-1:C(e).length;t=(""+t).toLowerCase(),o=!0}}function m(e,t,n){var o,s,i=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",s=t;s2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),(s=n=+n)!=s&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return -1;n=e.length-1}else if(n<0){if(!o)return -1;n=0}if("string"==typeof t&&(t=a.from(t,r)),a.isBuffer(t))return 0===t.length?-1:y(e,t,n,r,o);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):y(e,[t],n,r,o);throw TypeError("val must be string, number or Buffer")}function y(e,t,n,r,o){var s,i=1,a=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;i=2,a/=2,c/=2,n/=2}function l(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(o){var h=-1;for(s=n;sa&&(n=a-c),s=n;s>=0;s--){for(var u=!0,p=0;p239?4:l>223?3:l>191?2:1;if(o+u<=n)switch(u){case 1:l<128&&(h=l);break;case 2:(192&(s=e[o+1]))==128&&(c=(31&l)<<6|63&s)>127&&(h=c);break;case 3:s=e[o+1],i=e[o+2],(192&s)==128&&(192&i)==128&&(c=(15&l)<<12|(63&s)<<6|63&i)>2047&&(c<55296||c>57343)&&(h=c);break;case 4:s=e[o+1],i=e[o+2],a=e[o+3],(192&s)==128&&(192&i)==128&&(192&a)==128&&(c=(15&l)<<18|(63&s)<<12|(63&i)<<6|63&a)>65535&&c<1114112&&(h=c)}null===h?(h=65533,u=1):h>65535&&(h-=65536,r.push(h>>>10&1023|55296),h=56320|1023&h),r.push(h),o+=u}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",r=0;rn)throw RangeError("Trying to access beyond buffer length")}function T(e,t,n,r,o,s){if(!a.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw RangeError("Index out of range")}function b(e,t,n,r,o,s){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function v(e,t,n,r,s){return t=+t,n>>>=0,s||b(e,t,n,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,n,r,23,4),n+4}function I(e,t,n,r,s){return t=+t,n>>>=0,s||b(e,t,n,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,n,r,52,8),n+8}t.lW=a,t.h2=50,a.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(e,t,n){return c(e,t,n)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(e,t,n){return(l(e),e<=0)?i(e):void 0!==t?"string"==typeof n?i(e).fill(t,n):i(e).fill(t):i(e)},a.allocUnsafe=function(e){return h(e)},a.allocUnsafeSlow=function(e){return h(e)},a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(S(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),S(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,o=0,s=Math.min(n,r);or.length?a.from(s).copy(r,o):Uint8Array.prototype.set.call(r,s,o);else if(a.isBuffer(s))s.copy(r,o);else throw TypeError('"list" argument must be an Array of Buffers');o+=s.length}return r},a.byteLength=d,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;tn&&(e+=" ... "),""},s&&(a.prototype[s]=a.prototype.inspect),a.prototype.compare=function(e,t,n,r,o){if(S(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,o>>>=0,this===e)return 0;for(var s=o-r,i=n-t,c=Math.min(s,i),l=this.slice(r,o),h=e.slice(t,n),u=0;u>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,s,i,a,c,l,h,u,p=this.length-t;if((void 0===n||n>p)&&(n=p),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var f=!1;;)switch(r){case"hex":return function(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var s=t.length;r>s/2&&(r=s/2);for(var i=0;i>8,o.push(n%256),o.push(r);return o}(e,this.length-h),this,h,u);default:if(f)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),f=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||x(e,t,this.length);for(var r=this[e],o=1,s=0;++s>>=0,t>>>=0,n||x(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},a.prototype.readUint8=a.prototype.readUInt8=function(e,t){return e>>>=0,t||x(e,1,this.length),this[e]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||x(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||x(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||x(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||x(e,t,this.length);for(var r=this[e],o=1,s=0;++s=(o*=128)&&(r-=Math.pow(2,8*t)),r},a.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||x(e,t,this.length);for(var r=t,o=1,s=this[e+--r];r>0&&(o*=256);)s+=this[e+--r]*o;return s>=(o*=128)&&(s-=Math.pow(2,8*t)),s},a.prototype.readInt8=function(e,t){return(e>>>=0,t||x(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt16BE=function(e,t){e>>>=0,t||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return e>>>=0,t||x(e,4,this.length),o.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||x(e,4,this.length),o.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||x(e,8,this.length),o.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||x(e,8,this.length),o.read(this,e,!1,52,8)},a.prototype.writeUintLE=a.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){var o=Math.pow(2,8*n)-1;T(this,e,t,n,o,0)}var s=1,i=0;for(this[t]=255&e;++i>>=0,n>>>=0,!r){var o=Math.pow(2,8*n)-1;T(this,e,t,n,o,0)}var s=n-1,i=1;for(this[t+s]=255&e;--s>=0&&(i*=256);)this[t+s]=e/i&255;return t+n},a.prototype.writeUint8=a.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||T(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||T(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||T(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||T(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||T(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);T(this,e,t,n,o-1,-o)}var s=0,i=1,a=0;for(this[t]=255&e;++s>0)-a&255;return t+n},a.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);T(this,e,t,n,o-1,-o)}var s=n-1,i=1,a=0;for(this[t+s]=255&e;--s>=0&&(i*=256);)e<0&&0===a&&0!==this[t+s+1]&&(a=1),this[t+s]=(e/i>>0)-a&255;return t+n},a.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||T(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||T(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||T(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||T(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||T(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeFloatLE=function(e,t,n){return v(this,e,t,!0,n)},a.prototype.writeFloatBE=function(e,t,n){return v(this,e,t,!1,n)},a.prototype.writeDoubleLE=function(e,t,n){return I(this,e,t,!0,n)},a.prototype.writeDoubleBE=function(e,t,n){return I(this,e,t,!1,n)},a.prototype.copy=function(e,t,n,r){if(!a.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&n<57344){if(!o){if(n>56319||i+1===r){(t-=3)>-1&&s.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&s.push(239,191,189),o=n;continue}n=(o-55296<<10|n-56320)+65536}else o&&(t-=3)>-1&&s.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;s.push(n)}else if(n<2048){if((t-=2)<0)break;s.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;s.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;s.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return s}function E(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(w,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function A(e,t,n,r){for(var o=0;o=t.length)&&!(o>=e.length);++o)t[o+n]=e[o];return o}function S(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var R=function(){for(var e="0123456789abcdef",t=Array(256),n=0;n<16;++n)for(var r=16*n,o=0;o<16;++o)t[r+o]=e[n]+e[o];return t}()},20312:function(e){function t(){return new DOMException("The request is not allowed","NotAllowedError")}async function n(e){if(!navigator.clipboard)throw t();return navigator.clipboard.writeText(e)}async function r(e){let n=document.createElement("span");n.textContent=e,n.style.whiteSpace="pre",n.style.webkitUserSelect="auto",n.style.userSelect="all",document.body.appendChild(n);let r=window.getSelection(),o=window.document.createRange();r.removeAllRanges(),o.selectNode(n),r.addRange(o);let s=!1;try{s=window.document.execCommand("copy")}finally{r.removeAllRanges(),window.document.body.removeChild(n)}if(!s)throw t()}async function o(e){try{await n(e)}catch(n){try{await r(e)}catch(e){throw e||n||t()}}}/*! clipboard-copy. MIT License. Feross Aboukhadijeh */e.exports=o},47164:function(e,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */t.read=function(e,t,n,r,o){var s,i,a=8*o-r-1,c=(1<>1,h=-7,u=n?o-1:0,p=n?-1:1,f=e[t+u];for(u+=p,s=f&(1<<-h)-1,f>>=-h,h+=a;h>0;s=256*s+e[t+u],u+=p,h-=8);for(i=s&(1<<-h)-1,s>>=-h,h+=r;h>0;i=256*i+e[t+u],u+=p,h-=8);if(0===s)s=1-l;else{if(s===c)return i?NaN:1/0*(f?-1:1);i+=Math.pow(2,r),s-=l}return(f?-1:1)*i*Math.pow(2,s-r)},t.write=function(e,t,n,r,o,s){var i,a,c,l=8*s-o-1,h=(1<>1,p=23===o?5960464477539062e-23:0,f=r?0:s-1,d=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(a=isNaN(t)?1:0,i=h):(i=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-i))<1&&(i--,c*=2),i+u>=1?t+=p/c:t+=p*Math.pow(2,1-u),t*c>=2&&(i++,c/=2),i+u>=h?(a=0,i=h):i+u>=1?(a=(t*c-1)*Math.pow(2,o),i+=u):(a=t*Math.pow(2,u-1)*Math.pow(2,o),i=0));o>=8;e[n+f]=255&a,f+=d,a/=256,o-=8);for(i=i<0;e[n+f]=255&i,f+=d,i/=256,l-=8);e[n+f-d]|=128*m}},74086:function(e,t){"use strict";!function(){function e(e){this.string=e;for(var t=[0],n=0;nthis.string.length)return null;for(var t=0,n=this.offsets;n[t+1]<=e;)t++;var r=e-n[t];return{line:t,column:r}},e.prototype.indexForLocation=function(e){var t=e.line,n=e.column;return t<0||t>=this.offsets.length||n<0||n>this.lengthOfLine(t)?null:this.offsets[t]+n},e.prototype.lengthOfLine=function(e){var t=this.offsets[e];return(e===this.offsets.length-1?this.string.length:this.offsets[e+1])-t}}()},81794:function(e,t,n){"use strict";var r=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t0&&r.push(o+" more"),n._failMsg="is none of "+r.join(", ")):n._failMsg="is none of "+o+" types",n}return s(t,e),t.prototype.getChecker=function(e,t){var n=this,r=this.ttypes.map(function(n){return n.getChecker(e,t)});return function(e,t){for(var o=t.unionResolver(),s=0;s=r._score)&&(r=i)}r&&r._score>0&&((t=this._propNames).push.apply(t,r._propNames),(n=this._messages).push.apply(n,r._messages))},e.prototype.getError=function(e){for(var t=[],n=this._propNames.length-1;n>=0;n--){var r=this._propNames[n];e+="number"==typeof r?"["+r+"]":r?"."+r:"";var s=this._messages[n];s&&t.push(e+" "+s)}return new o(e,t.join("; "))},e.prototype.getErrorDetail=function(e){for(var t=[],n=this._propNames.length-1;n>=0;n--){var r=this._propNames[n];e+="number"==typeof r?"["+r+"]":r?"."+r:"";var o=this._messages[n];o&&t.push({path:e,message:o})}for(var s=null,n=t.length-1;n>=0;n--)s&&(t[n].nested=[s]),s=t[n];return s},e}();t.DetailContext=i;var a=function(){function e(){this.contexts=[]}return e.prototype.createContext=function(){var e=new i;return this.contexts.push(e),e},e}()},70126:function(e,t,n){"use strict";let r,o,s,i,a,c;n.d(t,{ML:function(){return rc},uz:function(){return rb},IF:function(){return rv},i5:function(){return rI},nu:function(){return rT}});var l,h,u,p,f,d,m,k,g,y,_=n(7076),x=n(52983),T={characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0};function b(e){var t=window.getSelection();t.empty(),t.addRange(e)}function v(e){return(e.metaKey||e.ctrlKey)&&!e.altKey&&"KeyZ"===e.code}function I(e){e=[e.firstChild];for(var t,n="";t=e.pop();)t.nodeType===Node.TEXT_NODE?n+=t.textContent:t.nodeType===Node.ELEMENT_NODE&&"BR"===t.nodeName&&(n+="\n"),t.nextSibling&&e.push(t.nextSibling),t.firstChild&&e.push(t.firstChild);return"\n"!==n[n.length-1]&&(n+="\n"),n}function w(e){var t=window.getSelection().getRangeAt(0),n=t.collapsed?0:t.toString().length,r=document.createRange();return r.setStart(e,0),r.setEnd(t.startContainer,t.startOffset),{position:e=(r=r.toString()).length,extent:n,content:r=(r=r.split("\n"))[t=r.length-1],line:t}}function C(e,t,n){0>=t&&(t=0),(!n||0>n)&&(n=t);var r=document.createRange();e=[e.firstChild];for(var o,s=0,i=t;o=e[e.length-1];){if(o.nodeType===Node.TEXT_NODE){if(s+o.textContent.length>=i){var a=i-s;if(i===t){if(i=r,a=i){if(i===t){if(a=r,0";case d.template:return"template";case d.ellipsis:return"...";case d.backQuote:return"`";case d.dollarBraceL:return"${";case d.at:return"@";case d.hash:return"#";case d.eq:return"=";case d.assign:return"_=";case d.preIncDec:case d.postIncDec:return"++/--";case d.bang:return"!";case d.tilde:return"~";case d.pipeline:return"|>";case d.nullishCoalescing:return"??";case d.logicalOR:return"||";case d.logicalAND:return"&&";case d.bitwiseOR:return"|";case d.bitwiseXOR:return"^";case d.bitwiseAND:return"&";case d.equality:return"==/!=";case d.lessThan:return"<";case d.greaterThan:return">";case d.relationalOrEqual:return"<=/>=";case d.bitShiftL:return"<<";case d.bitShiftR:return">>/>>>";case d.plus:return"+";case d.minus:return"-";case d.modulo:return"%";case d.star:return"*";case d.slash:return"/";case d.exponent:return"**";case d.jsxName:return"jsxName";case d.jsxText:return"jsxText";case d.jsxEmptyText:return"jsxEmptyText";case d.jsxTagStart:return"jsxTagStart";case d.jsxTagEnd:return"jsxTagEnd";case d.typeParameterStart:return"typeParameterStart";case d.nonNullAssertion:return"nonNullAssertion";case d._break:return"break";case d._case:return"case";case d._catch:return"catch";case d._continue:return"continue";case d._debugger:return"debugger";case d._default:return"default";case d._do:return"do";case d._else:return"else";case d._finally:return"finally";case d._for:return"for";case d._function:return"function";case d._if:return"if";case d._return:return"return";case d._switch:return"switch";case d._throw:return"throw";case d._try:return"try";case d._var:return"var";case d._let:return"let";case d._const:return"const";case d._while:return"while";case d._with:return"with";case d._new:return"new";case d._this:return"this";case d._super:return"super";case d._class:return"class";case d._extends:return"extends";case d._export:return"export";case d._import:return"import";case d._yield:return"yield";case d._null:return"null";case d._true:return"true";case d._false:return"false";case d._in:return"in";case d._instanceof:return"instanceof";case d._typeof:return"typeof";case d._void:return"void";case d._delete:return"delete";case d._async:return"async";case d._get:return"get";case d._set:return"set";case d._declare:return"declare";case d._readonly:return"readonly";case d._abstract:return"abstract";case d._static:return"static";case d._public:return"public";case d._private:return"private";case d._protected:return"protected";case d._override:return"override";case d._as:return"as";case d._enum:return"enum";case d._type:return"type";case d._implements:return"implements";default:return""}}(e)}"`)}function U(e="Unexpected token",t=i.start){if(i.error)return;let n=SyntaxError(e);n.pos=t,i.error=n,i.pos=a.length,ed(d.eof)}let K=[9,11,12,m.space,m.nonBreakingSpace,m.oghamSpaceMark,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],V=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,W=new Uint8Array(65536);for(let e of K)W[e]=1;let H=new Uint8Array(65536);for(let e=0;e<128;e++)H[e]=!function(e){if(e<48)return 36===e;if(e<58)return!0;if(e<65)return!1;if(e<91)return!0;if(e<97)return 95===e;if(e<123)return!0;if(e<128)return!1;throw Error("Should not be called with non-ASCII char code.")}(e)?0:1;for(let e=128;e<65536;e++)H[e]=1;for(let e of K)H[e]=0;H[8232]=0,H[8233]=0;let X=H.slice();for(let e=m.digit0;e<=m.digit9;e++)X[e]=0;let z=new Int32Array([-1,27,783,918,1755,2376,2862,3483,-1,3699,-1,4617,4752,4833,5130,5508,5940,-1,6480,6939,7749,8181,8451,8613,-1,8829,-1,-1,-1,54,243,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,432,-1,-1,-1,675,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,81,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,108,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,135,-1,-1,-1,-1,-1,-1,-1,-1,-1,162,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,189,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,216,-1,-1,-1,-1,-1,-1,f._abstract<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,270,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,297,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,324,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,351,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,378,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,405,-1,-1,-1,-1,-1,-1,-1,-1,f._accessor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,f._as<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,459,-1,-1,-1,-1,-1,594,-1,-1,-1,-1,-1,-1,486,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,513,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,540,-1,-1,-1,-1,-1,-1,f._assert<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,567,-1,-1,-1,-1,-1,-1,-1,f._asserts<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,621,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,648,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,f._async<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,702,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,729,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,756,-1,-1,-1,-1,-1,-1,f._await<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,810,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,837,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,864,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,891,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(d._break<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,945,-1,-1,-1,-1,-1,-1,1107,-1,-1,-1,1242,-1,-1,1350,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,972,1026,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,999,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(d._case<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1053,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1080,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(d._catch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1134,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1161,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1188,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1215,-1,-1,-1,-1,-1,-1,-1,f._checks<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1269,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1296,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1323,-1,-1,-1,-1,-1,-1,-1,(d._class<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1377,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1404,1620,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1431,-1,-1,-1,-1,-1,-1,(d._const<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1458,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1485,-1,-1,-1,-1,-1,-1,-1,-1,1512,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1539,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1566,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1593,-1,-1,-1,-1,-1,-1,-1,-1,f._constructor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1647,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1674,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1701,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1728,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(d._continue<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1782,-1,-1,-1,-1,-1,-1,-1,-1,-1,2349,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1809,1971,-1,-1,2106,-1,-1,-1,-1,-1,2241,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1836,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1863,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1890,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1917,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1944,-1,-1,-1,-1,-1,-1,-1,-1,(d._debugger<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1998,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2025,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2052,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2079,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,f._declare<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2133,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2160,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2187,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2214,-1,-1,-1,-1,-1,-1,(d._default<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2268,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2295,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2322,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(d._delete<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(d._do<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2403,-1,2484,-1,-1,-1,-1,-1,-1,-1,-1,-1,2565,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2430,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2457,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(d._else<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2511,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2538,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,f._enum<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2592,-1,-1,-1,2727,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2619,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2646,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2673,-1,-1,-1,-1,-1,-1,(d._export<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2700,-1,-1,-1,-1,-1,-1,-1,f._exports<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2754,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2781,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2808,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2835,-1,-1,-1,-1,-1,-1,-1,(d._extends<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2889,-1,-1,-1,-1,-1,-1,-1,2997,-1,-1,-1,-1,-1,3159,-1,-1,3213,-1,-1,3294,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2916,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2943,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2970,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(d._false<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3024,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3051,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3078,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3105,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3132,-1,(d._finally<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3186,-1,-1,-1,-1,-1,-1,-1,-1,(d._for<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3240,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3267,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,f._from<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3321,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3348,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3375,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3402,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3429,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3456,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(d._function<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3510,-1,-1,-1,-1,-1,-1,3564,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3537,-1,-1,-1,-1,-1,-1,f._get<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3591,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3618,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3645,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3672,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,f._global<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3726,-1,-1,-1,-1,-1,-1,3753,4077,-1,-1,-1,-1,4590,-1,-1,-1,-1,-1,-1,-1,(d._if<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3780,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3807,-1,-1,3996,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3834,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3861,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3888,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3915,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3942,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3969,-1,-1,-1,-1,-1,-1,-1,f._implements<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4023,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4050,-1,-1,-1,-1,-1,-1,(d._import<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(d._in<<1)+1,-1,-1,-1,-1,-1,4104,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4185,4401,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4131,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4158,-1,-1,-1,-1,-1,-1,-1,-1,f._infer<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4212,-1,-1,-1,-1,-1,-1,-1,4239,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4266,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4293,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4320,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4347,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4374,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(d._instanceof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4428,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4455,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4482,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4509,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4536,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4563,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,f._interface<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,f._is<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4644,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4671,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4698,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4725,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,f._keyof<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4779,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4806,-1,-1,-1,-1,-1,-1,(d._let<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4860,-1,-1,-1,-1,-1,4995,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4887,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4914,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4941,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4968,-1,-1,-1,-1,-1,-1,-1,f._mixins<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5022,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5049,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5076,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5103,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,f._module<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5157,-1,-1,-1,5373,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5427,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5184,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5211,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5238,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5265,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5292,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5319,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5346,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,f._namespace<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5400,-1,-1,-1,(d._new<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5454,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5481,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(d._null<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5535,-1,-1,-1,-1,-1,-1,-1,-1,-1,5562,-1,-1,-1,-1,5697,5751,-1,-1,-1,-1,f._of<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5589,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5616,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5643,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5670,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,f._opaque<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5724,-1,-1,-1,-1,-1,-1,f._out<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5778,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5805,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5832,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5859,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5886,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5913,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,f._override<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5967,-1,-1,6345,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5994,-1,-1,-1,-1,-1,6129,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6021,-1,-1,-1,-1,-1,6048,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6075,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6102,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,f._private<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6156,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6183,-1,-1,-1,-1,-1,-1,-1,-1,-1,6318,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6210,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6237,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6264,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6291,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,f._protected<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,f._proto<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6372,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6399,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6426,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6453,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,f._public<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6507,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6534,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6696,-1,-1,6831,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6561,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6588,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6615,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6642,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6669,-1,f._readonly<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6723,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6750,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6777,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6804,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,f._require<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6858,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6885,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6912,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(d._return<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6966,-1,-1,-1,7182,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7236,7371,-1,7479,-1,7614,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6993,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7020,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7047,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7074,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7101,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7128,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7155,-1,-1,-1,-1,-1,-1,-1,f._satisfies<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7209,-1,-1,-1,-1,-1,-1,f._set<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7263,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7290,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7317,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7344,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,f._static<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7398,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7425,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7452,-1,-1,-1,-1,-1,-1,-1,-1,(d._super<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7506,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7533,-1,-1,-1,-1,-1,-1,-1,-1,-1,7560,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7587,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(d._switch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7641,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7668,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7695,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7722,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,f._symbol<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7776,-1,-1,-1,-1,-1,-1,-1,-1,-1,7938,-1,-1,-1,-1,-1,-1,8046,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7803,-1,-1,-1,-1,-1,-1,-1,-1,7857,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7830,-1,-1,-1,-1,-1,-1,-1,(d._this<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7884,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7911,-1,-1,-1,(d._throw<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7965,-1,-1,-1,8019,-1,-1,-1,-1,-1,-1,7992,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(d._true<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(d._try<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8073,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8100,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,f._type<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8127,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8154,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(d._typeof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8208,-1,-1,-1,-1,8343,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8235,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8262,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8289,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8316,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,f._unique<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8370,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8397,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8424,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,f._using<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8478,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8532,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8505,-1,-1,-1,-1,-1,-1,-1,-1,(d._var<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8559,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8586,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(d._void<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8640,8748,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8667,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8694,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8721,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(d._while<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8775,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8802,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(d._with<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8856,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8883,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8910,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8937,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(d._yield<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]);function G(e){let t=e.identifierRole;return t===k.TopLevelDeclaration||t===k.FunctionScopedDeclaration||t===k.BlockScopedDeclaration||t===k.ObjectShorthandTopLevelDeclaration||t===k.ObjectShorthandFunctionScopedDeclaration||t===k.ObjectShorthandBlockScopedDeclaration}function J(e){let t=e.identifierRole;return t===k.TopLevelDeclaration||t===k.ObjectShorthandTopLevelDeclaration||t===k.ImportDeclaration}!function(e){e[e.Access=0]="Access",e[e.ExportAccess=1]="ExportAccess";e[e.TopLevelDeclaration=2]="TopLevelDeclaration";let t=3;e[e.FunctionScopedDeclaration=t]="FunctionScopedDeclaration";let n=t+1;e[e.BlockScopedDeclaration=n]="BlockScopedDeclaration";let r=n+1;e[e.ObjectShorthandTopLevelDeclaration=r]="ObjectShorthandTopLevelDeclaration";let o=r+1;e[e.ObjectShorthandFunctionScopedDeclaration=o]="ObjectShorthandFunctionScopedDeclaration";let s=o+1;e[e.ObjectShorthandBlockScopedDeclaration=s]="ObjectShorthandBlockScopedDeclaration";let i=s+1;e[e.ObjectShorthand=i]="ObjectShorthand";let a=i+1;e[e.ImportDeclaration=a]="ImportDeclaration";let c=a+1;e[e.ObjectKey=c]="ObjectKey";let l=c+1;e[e.ImportAccess=l]="ImportAccess"}(k||(k={})),(l=g||(g={}))[l.NoChildren=0]="NoChildren",l[l.OneChild=1]="OneChild",l[l.StaticChildren=2]="StaticChildren",l[l.KeyAfterPropSpread=3]="KeyAfterPropSpread";class Q{constructor(){this.type=i.type,this.contextualKeyword=i.contextualKeyword,this.start=i.start,this.end=i.end,this.scopeDepth=i.scopeDepth,this.isType=i.isType,this.identifierRole=null,this.jsxRole=null,this.shadowsGlobal=!1,this.isAsyncOperation=!1,this.contextId=null,this.rhsEndIndex=null,this.isExpression=!1,this.numNullishCoalesceStarts=0,this.numNullishCoalesceEnds=0,this.isOptionalChainStart=!1,this.isOptionalChainEnd=!1,this.subscriptStartIndex=null,this.nullishStartIndex=null}}function Y(){i.tokens.push(new Q),eu()}function Z(){i.tokens.push(new Q),i.start=i.pos,function(){for(;;){if(i.pos>=a.length){U("Unterminated template");return}let e=a.charCodeAt(i.pos);if(e===m.graveAccent||e===m.dollarSign&&a.charCodeAt(i.pos+1)===m.leftCurlyBrace){if(i.pos===i.start&&eo(d.template)){if(e===m.dollarSign){i.pos+=2,ed(d.dollarBraceL);return}++i.pos,ed(d.backQuote);return}ed(d.template);return}e===m.backslash&&i.pos++,i.pos++}}()}function ee(e){for(let t=i.tokens.length-e;t=a.length){let e=i.tokens;e.length>=2&&e[e.length-1].start>=a.length&&e[e.length-2].start>=a.length&&U("Unexpectedly reached the end of input."),ed(d.eof);return}X[e=a.charCodeAt(i.pos)]||e===m.backslash||e===m.atSign&&a.charCodeAt(i.pos+1)===m.atSign?function(){let e=0,t=0,n=i.pos;for(;nm.lowercaseZ);){let r=z[e+(t-m.lowercaseA)+1];if(-1===r)break;e=r,n++}let r=z[e];if(r>-1&&!H[t]){i.pos=n,1&r?ed(r>>>1):ed(d.name,r>>>1);return}for(;na.length){U("Unterminated comment",i.pos-2);return}i.pos+=2}();break;case m.slash:ep(2);break;default:return}break;default:if(!W[e])return;++i.pos}}}function ed(e,t=f.NONE){i.end=i.pos,i.type=e,i.contextualKeyword=t}function em(){if(i.isType){ey(d.greaterThan,1);return}let e=a.charCodeAt(i.pos+1);if(e===m.greaterThan){let e=a.charCodeAt(i.pos+2)===m.greaterThan?3:2;if(a.charCodeAt(i.pos+e)===m.equalsTo){ey(d.assign,e+1);return}ey(d.bitShiftR,e);return}e===m.equalsTo?ey(d.relationalOrEqual,2):ey(d.greaterThan,1)}function ek(){i.type===d.greaterThan&&(i.pos-=1,em())}function eg(e){switch(e){case m.numberSign:++i.pos,ed(d.hash);return;case m.dot:!function(){let e=a.charCodeAt(i.pos+1);if(e>=m.digit0&&e<=m.digit9){ex(!0);return}e===m.dot&&a.charCodeAt(i.pos+2)===m.dot?(i.pos+=3,ed(d.ellipsis)):(++i.pos,ed(d.dot))}();return;case m.leftParenthesis:++i.pos,ed(d.parenL);return;case m.rightParenthesis:++i.pos,ed(d.parenR);return;case m.semicolon:++i.pos,ed(d.semi);return;case m.comma:++i.pos,ed(d.comma);return;case m.leftSquareBracket:++i.pos,ed(d.bracketL);return;case m.rightSquareBracket:++i.pos,ed(d.bracketR);return;case m.leftCurlyBrace:s&&a.charCodeAt(i.pos+1)===m.verticalBar?ey(d.braceBarL,2):(++i.pos,ed(d.braceL));return;case m.rightCurlyBrace:++i.pos,ed(d.braceR);return;case m.colon:a.charCodeAt(i.pos+1)===m.colon?ey(d.doubleColon,2):(++i.pos,ed(d.colon));return;case m.questionMark:!function(){let e=a.charCodeAt(i.pos+1),t=a.charCodeAt(i.pos+2);e!==m.questionMark||s&&i.isType?e!==m.dot||t>=m.digit0&&t<=m.digit9?(++i.pos,ed(d.question)):(i.pos+=2,ed(d.questionDot)):t===m.equalsTo?ey(d.assign,3):ey(d.nullishCoalescing,2)}();return;case m.atSign:++i.pos,ed(d.at);return;case m.graveAccent:++i.pos,ed(d.backQuote);return;case m.digit0:{let e=a.charCodeAt(i.pos+1);if(e===m.lowercaseX||e===m.uppercaseX||e===m.lowercaseO||e===m.uppercaseO||e===m.lowercaseB||e===m.uppercaseB){!function(){for(i.pos+=2;;){let e=a.charCodeAt(i.pos);if(e>=m.digit0&&e<=m.digit9||e>=m.lowercaseA&&e<=m.lowercaseF||e>=m.uppercaseA&&e<=m.uppercaseF||e===m.underscore)i.pos++;else break}a.charCodeAt(i.pos)===m.lowercaseN?(++i.pos,ed(d.bigint)):ed(d.num)}();return}}case m.digit1:case m.digit2:case m.digit3:case m.digit4:case m.digit5:case m.digit6:case m.digit7:case m.digit8:case m.digit9:ex(!1);return;case m.quotationMark:case m.apostrophe:!function(e){for(i.pos++;;){if(i.pos>=a.length){U("Unterminated string constant");return}let t=a.charCodeAt(i.pos);if(t===m.backslash)i.pos++;else if(t===e)break;i.pos++}i.pos++,ed(d.string)}(e);return;case m.slash:a.charCodeAt(i.pos+1)===m.equalsTo?ey(d.assign,2):ey(d.slash,1);return;case m.percentSign:case m.asterisk:let t,n,r;t=e===m.asterisk?d.star:d.modulo,n=1,r=a.charCodeAt(i.pos+1),e===m.asterisk&&r===m.asterisk&&(n++,r=a.charCodeAt(i.pos+2),t=d.exponent),r===m.equalsTo&&a.charCodeAt(i.pos+2)!==m.greaterThan&&(n++,t=d.assign),ey(t,n);return;case m.verticalBar:case m.ampersand:!function(e){let t=a.charCodeAt(i.pos+1);if(t===e){a.charCodeAt(i.pos+2)===m.equalsTo?ey(d.assign,3):ey(e===m.verticalBar?d.logicalOR:d.logicalAND,2);return}if(e===m.verticalBar){if(t===m.greaterThan){ey(d.pipeline,2);return}if(t===m.rightCurlyBrace&&s){ey(d.braceBarR,2);return}}if(t===m.equalsTo){ey(d.assign,2);return}ey(e===m.verticalBar?d.bitwiseOR:d.bitwiseAND,1)}(e);return;case m.caret:a.charCodeAt(i.pos+1)===m.equalsTo?ey(d.assign,2):ey(d.bitwiseXOR,1);return;case m.plusSign:case m.dash:!function(e){let t=a.charCodeAt(i.pos+1);if(t===e){ey(d.preIncDec,2);return}t===m.equalsTo?ey(d.assign,2):e===m.plusSign?ey(d.plus,1):ey(d.minus,1)}(e);return;case m.lessThan:!function(){let e=a.charCodeAt(i.pos+1);if(e===m.lessThan){if(a.charCodeAt(i.pos+2)===m.equalsTo){ey(d.assign,3);return}i.isType?ey(d.lessThan,1):ey(d.bitShiftL,2);return}e===m.equalsTo?ey(d.relationalOrEqual,2):ey(d.lessThan,1)}();return;case m.greaterThan:em();return;case m.equalsTo:case m.exclamationMark:!function(e){let t=a.charCodeAt(i.pos+1);if(t===m.equalsTo){ey(d.equality,a.charCodeAt(i.pos+2)===m.equalsTo?3:2);return}if(e===m.equalsTo&&t===m.greaterThan){i.pos+=2,ed(d.arrow);return}ey(e===m.equalsTo?d.eq:d.bang,1)}(e);return;case m.tilde:ey(d.tilde,1);return}U(`Unexpected character '${String.fromCharCode(e)}'`,i.pos)}function ey(e,t){i.pos+=t,ed(e)}function e_(){for(;;){let e=a.charCodeAt(i.pos);if(e>=m.digit0&&e<=m.digit9||e===m.underscore)i.pos++;else break}}function ex(e){let t=!1,n=!1;e||e_();let r=a.charCodeAt(i.pos);if(r===m.dot&&(++i.pos,e_(),r=a.charCodeAt(i.pos)),(r===m.uppercaseE||r===m.lowercaseE)&&(((r=a.charCodeAt(++i.pos))===m.plusSign||r===m.dash)&&++i.pos,e_(),r=a.charCodeAt(i.pos)),r===m.lowercaseN?(++i.pos,t=!0):r===m.lowercaseM&&(++i.pos,n=!0),t){ed(d.bigint);return}if(n){ed(d.decimal);return}ed(d.num)}function eT(e,t=e.currentIndex()){let n=t+1;if(eb(e,n)){let r=e.identifierNameAtIndex(t);return{isType:!1,leftName:r,rightName:r,endIndex:n}}if(eb(e,++n))return{isType:!0,leftName:null,rightName:null,endIndex:n};if(eb(e,++n))return{isType:!1,leftName:e.identifierNameAtIndex(t),rightName:e.identifierNameAtIndex(t+2),endIndex:n};if(eb(e,++n))return{isType:!0,leftName:null,rightName:null,endIndex:n};throw Error(`Unexpected import/export specifier at ${t}`)}function eb(e,t){let n=e.tokens[t];return n.type===d.braceR||n.type===d.comma}var ev=new Map([["quot",'"'],["amp","&"],["apos","'"],["lt","<"],["gt",">"],["nbsp","\xa0"],["iexcl","\xa1"],["cent","\xa2"],["pound","\xa3"],["curren","\xa4"],["yen","\xa5"],["brvbar","\xa6"],["sect","\xa7"],["uml","\xa8"],["copy","\xa9"],["ordf","\xaa"],["laquo","\xab"],["not","\xac"],["shy","\xad"],["reg","\xae"],["macr","\xaf"],["deg","\xb0"],["plusmn","\xb1"],["sup2","\xb2"],["sup3","\xb3"],["acute","\xb4"],["micro","\xb5"],["para","\xb6"],["middot","\xb7"],["cedil","\xb8"],["sup1","\xb9"],["ordm","\xba"],["raquo","\xbb"],["frac14","\xbc"],["frac12","\xbd"],["frac34","\xbe"],["iquest","\xbf"],["Agrave","\xc0"],["Aacute","\xc1"],["Acirc","\xc2"],["Atilde","\xc3"],["Auml","\xc4"],["Aring","\xc5"],["AElig","\xc6"],["Ccedil","\xc7"],["Egrave","\xc8"],["Eacute","\xc9"],["Ecirc","\xca"],["Euml","\xcb"],["Igrave","\xcc"],["Iacute","\xcd"],["Icirc","\xce"],["Iuml","\xcf"],["ETH","\xd0"],["Ntilde","\xd1"],["Ograve","\xd2"],["Oacute","\xd3"],["Ocirc","\xd4"],["Otilde","\xd5"],["Ouml","\xd6"],["times","\xd7"],["Oslash","\xd8"],["Ugrave","\xd9"],["Uacute","\xda"],["Ucirc","\xdb"],["Uuml","\xdc"],["Yacute","\xdd"],["THORN","\xde"],["szlig","\xdf"],["agrave","\xe0"],["aacute","\xe1"],["acirc","\xe2"],["atilde","\xe3"],["auml","\xe4"],["aring","\xe5"],["aelig","\xe6"],["ccedil","\xe7"],["egrave","\xe8"],["eacute","\xe9"],["ecirc","\xea"],["euml","\xeb"],["igrave","\xec"],["iacute","\xed"],["icirc","\xee"],["iuml","\xef"],["eth","\xf0"],["ntilde","\xf1"],["ograve","\xf2"],["oacute","\xf3"],["ocirc","\xf4"],["otilde","\xf5"],["ouml","\xf6"],["divide","\xf7"],["oslash","\xf8"],["ugrave","\xf9"],["uacute","\xfa"],["ucirc","\xfb"],["uuml","\xfc"],["yacute","\xfd"],["thorn","\xfe"],["yuml","\xff"],["OElig","Œ"],["oelig","œ"],["Scaron","Š"],["scaron","š"],["Yuml","Ÿ"],["fnof","ƒ"],["circ","ˆ"],["tilde","˜"],["Alpha","Α"],["Beta","Β"],["Gamma","Γ"],["Delta","Δ"],["Epsilon","Ε"],["Zeta","Ζ"],["Eta","Η"],["Theta","Θ"],["Iota","Ι"],["Kappa","Κ"],["Lambda","Λ"],["Mu","Μ"],["Nu","Ν"],["Xi","Ξ"],["Omicron","Ο"],["Pi","Π"],["Rho","Ρ"],["Sigma","Σ"],["Tau","Τ"],["Upsilon","Υ"],["Phi","Φ"],["Chi","Χ"],["Psi","Ψ"],["Omega","Ω"],["alpha","α"],["beta","β"],["gamma","γ"],["delta","δ"],["epsilon","ε"],["zeta","ζ"],["eta","η"],["theta","θ"],["iota","ι"],["kappa","κ"],["lambda","λ"],["mu","μ"],["nu","ν"],["xi","ξ"],["omicron","ο"],["pi","π"],["rho","ρ"],["sigmaf","ς"],["sigma","σ"],["tau","τ"],["upsilon","υ"],["phi","φ"],["chi","χ"],["psi","ψ"],["omega","ω"],["thetasym","ϑ"],["upsih","ϒ"],["piv","ϖ"],["ensp"," "],["emsp"," "],["thinsp"," "],["zwnj","‌"],["zwj","‍"],["lrm","‎"],["rlm","‏"],["ndash","–"],["mdash","—"],["lsquo","‘"],["rsquo","’"],["sbquo","‚"],["ldquo","“"],["rdquo","”"],["bdquo","„"],["dagger","†"],["Dagger","‡"],["bull","•"],["hellip","…"],["permil","‰"],["prime","′"],["Prime","″"],["lsaquo","‹"],["rsaquo","›"],["oline","‾"],["frasl","⁄"],["euro","€"],["image","ℑ"],["weierp","℘"],["real","ℜ"],["trade","™"],["alefsym","ℵ"],["larr","←"],["uarr","↑"],["rarr","→"],["darr","↓"],["harr","↔"],["crarr","↵"],["lArr","⇐"],["uArr","⇑"],["rArr","⇒"],["dArr","⇓"],["hArr","⇔"],["forall","∀"],["part","∂"],["exist","∃"],["empty","∅"],["nabla","∇"],["isin","∈"],["notin","∉"],["ni","∋"],["prod","∏"],["sum","∑"],["minus","−"],["lowast","∗"],["radic","√"],["prop","∝"],["infin","∞"],["ang","∠"],["and","∧"],["or","∨"],["cap","∩"],["cup","∪"],["int","∫"],["there4","∴"],["sim","∼"],["cong","≅"],["asymp","≈"],["ne","≠"],["equiv","≡"],["le","≤"],["ge","≥"],["sub","⊂"],["sup","⊃"],["nsub","⊄"],["sube","⊆"],["supe","⊇"],["oplus","⊕"],["otimes","⊗"],["perp","⊥"],["sdot","⋅"],["lceil","⌈"],["rceil","⌉"],["lfloor","⌊"],["rfloor","⌋"],["lang","〈"],["rang","〉"],["loz","◊"],["spades","♠"],["clubs","♣"],["hearts","♥"],["diams","♦"]]);function eI(e){let[t,n]=ew(e.jsxPragma||"React.createElement"),[r,o]=ew(e.jsxFragmentPragma||"React.Fragment");return{base:t,suffix:n,fragmentBase:r,fragmentSuffix:o}}function ew(e){let t=e.indexOf(".");return -1===t&&(t=e.length),[e.slice(0,t),e.slice(t)]}class eC{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}}class eE extends eC{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(e,t,n,r,o){super(),this.rootTransformer=e,this.tokens=t,this.importProcessor=n,this.nameManager=r,this.options=o,eE.prototype.__init.call(this),eE.prototype.__init2.call(this),eE.prototype.__init3.call(this),eE.prototype.__init4.call(this),eE.prototype.__init5.call(this),this.jsxPragmaInfo=eI(o),this.isAutomaticRuntime="automatic"===o.jsxRuntime,this.jsxImportSource=o.jsxImportSource||"react"}process(){return!!this.tokens.matches1(d.jsxTagStart)&&(this.processJSXTag(),!0)}getPrefixCode(){let e="";if(this.filenameVarName&&(e+=`const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath||"")};`),this.isAutomaticRuntime){if(this.importProcessor)for(let[t,n]of Object.entries(this.cjsAutomaticModuleNameResolutions))e+=`var ${n} = require("${t}");`;else{let{createElement:t,...n}=this.esmAutomaticImportNameResolutions;t&&(e+=`import {createElement as ${t}} from "${this.jsxImportSource}";`);let r=Object.entries(n).map(([e,t])=>`${e} as ${t}`).join(", ");if(r){let t=this.jsxImportSource+(this.options.production?"/jsx-runtime":"/jsx-dev-runtime");e+=`import {${r}} from "${t}";`}}}return e}processJSXTag(){let{jsxRole:e,start:t}=this.tokens.currentToken(),n=this.options.production?null:this.getElementLocationCode(t);this.isAutomaticRuntime&&e!==g.KeyAfterPropSpread?this.transformTagToJSXFunc(n,e):this.transformTagToCreateElement(n)}getElementLocationCode(e){let t=this.getLineNumberForIndex(e);return`lineNumber: ${t}`}getLineNumberForIndex(e){let t=this.tokens.code;for(;this.lastIndex or > at the end of the tag.");r&&this.tokens.appendCode(`, ${r}`)}for(this.options.production||(null===r&&this.tokens.appendCode(", void 0"),this.tokens.appendCode(`, ${n}, ${this.getDevSource(e)}, this`)),this.tokens.removeInitialToken();!this.tokens.matches1(d.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}transformTagToCreateElement(e){if(this.tokens.replaceToken(this.getCreateElementInvocationCode()),this.tokens.matches1(d.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, null`),this.processChildren(!0);else if(this.processTagIntro(),this.processPropsObjectWithDevInfo(e),this.tokens.matches2(d.slash,d.jsxTagEnd));else if(this.tokens.matches1(d.jsxTagEnd))this.tokens.removeToken(),this.processChildren(!0);else throw Error("Expected either /> or > at the end of the tag.");for(this.tokens.removeInitialToken();!this.tokens.matches1(d.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}getJSXFuncInvocationCode(e){return this.options.production?e?this.claimAutoImportedFuncInvocation("jsxs","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsx","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsxDEV","/jsx-dev-runtime")}getCreateElementInvocationCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedFuncInvocation("createElement","");{let{jsxPragmaInfo:e}=this,t=this.importProcessor&&this.importProcessor.getIdentifierReplacement(e.base)||e.base;return`${t}${e.suffix}(`}}getFragmentCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedName("Fragment",this.options.production?"/jsx-runtime":"/jsx-dev-runtime");{let{jsxPragmaInfo:e}=this;return(this.importProcessor&&this.importProcessor.getIdentifierReplacement(e.fragmentBase)||e.fragmentBase)+e.fragmentSuffix}}claimAutoImportedFuncInvocation(e,t){let n=this.claimAutoImportedName(e,t);return this.importProcessor?`${n}.call(void 0, `:`${n}(`}claimAutoImportedName(e,t){if(!this.importProcessor)return this.esmAutomaticImportNameResolutions[e]||(this.esmAutomaticImportNameResolutions[e]=this.nameManager.claimFreeName(`_${e}`)),this.esmAutomaticImportNameResolutions[e];{let n=this.jsxImportSource+t;return this.cjsAutomaticModuleNameResolutions[n]||(this.cjsAutomaticModuleNameResolutions[n]=this.importProcessor.getFreeIdentifierForPath(n)),`${this.cjsAutomaticModuleNameResolutions[n]}.${e}`}}processTagIntro(){let e=this.tokens.currentIndex()+1;for(;this.tokens.tokens[e].isType||!this.tokens.matches2AtIndex(e-1,d.jsxName,d.jsxName)&&!this.tokens.matches2AtIndex(e-1,d.greaterThan,d.jsxName)&&!this.tokens.matches1AtIndex(e,d.braceL)&&!this.tokens.matches1AtIndex(e,d.jsxTagEnd)&&!this.tokens.matches2AtIndex(e,d.slash,d.jsxTagEnd);)e++;if(e===this.tokens.currentIndex()+1){let e=this.tokens.identifierName();eA(e)&&this.tokens.replaceToken(`'${e}'`)}for(;this.tokens.currentIndex()=m.lowercaseA&&t<=m.lowercaseZ}function eS(e){let t=0,n=0;for(let r of e)"\n"===r?(t++,n=0):" "===r&&n++;return"\n".repeat(t)+" ".repeat(n)}function eR(e,t){let n,r="",o=0,s=t;if("#"===e[s]){var i,a;let t,r=10;if("x"===e[++s])for(r=16,t=++s;s=m.digit0&&i<=m.digit9||i>=m.lowercaseA&&i<=m.lowercaseF||i>=m.uppercaseA&&i<=m.uppercaseF);)s++;else for(t=s;s=m.digit0&&a<=m.digit9;)s++;if(";"===e[s]){let o=e.slice(t,s);o&&(s++,n=String.fromCodePoint(parseInt(o,r)))}}else for(;s0)&&!(t.namedExports.length>0)&&[...t.defaultNames,...t.wildcardNames,...t.namedImports.map(({localName:e})=>e)].every(e=>this.shouldAutomaticallyElideImportedName(e)))||this.importsToReplace.set(e,"")}shouldAutomaticallyElideImportedName(e){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(e)}generateImportReplacements(){for(let[e,t]of this.importInfoByPath.entries()){let n;let{defaultNames:r,wildcardNames:o,namedImports:s,namedExports:i,exportStarNames:a,hasStarExport:c}=t;if(0===r.length&&0===o.length&&0===s.length&&0===i.length&&0===a.length&&!c){this.importsToReplace.set(e,`require('${e}');`);continue}let l=this.getFreeIdentifierForPath(e);n=this.enableLegacyTypeScriptModuleInterop?l:o.length>0?o[0]:this.getFreeIdentifierForPath(e);let h=`var ${l} = require('${e}');`;if(o.length>0)for(let e of o){let t=this.enableLegacyTypeScriptModuleInterop?l:`${this.helperManager.getHelperName("interopRequireWildcard")}(${l})`;h+=` var ${e} = ${t};`}else a.length>0&&n!==l?h+=` var ${n} = ${this.helperManager.getHelperName("interopRequireWildcard")}(${l});`:r.length>0&&n!==l&&(h+=` var ${n} = ${this.helperManager.getHelperName("interopRequireDefault")}(${l});`);for(let{importedName:e,localName:t}of i)h+=` ${this.helperManager.getHelperName("createNamedExportFrom")}(${l}, '${t}', '${e}');`;for(let e of a)h+=` exports.${e} = ${n};`;for(let t of(c&&(h+=` ${this.helperManager.getHelperName("createStarExport")}(${l});`),this.importsToReplace.set(e,h),r))this.identifierReplacements.set(t,`${n}.default`);for(let{importedName:e,localName:t}of s)this.identifierReplacements.set(t,`${l}.${e}`)}}getFreeIdentifierForPath(e){let t=e.split("/"),n=t[t.length-1].replace(/\W/g,"");return this.nameManager.claimFreeName(`_${n}`)}preprocessImportAtIndex(e){let t=[],n=[],r=[];if(e++,(this.tokens.matchesContextualAtIndex(e,f._type)||this.tokens.matches1AtIndex(e,d._typeof))&&!this.tokens.matches1AtIndex(e+1,d.comma)&&!this.tokens.matchesContextualAtIndex(e+1,f._from)||this.tokens.matches1AtIndex(e,d.parenL))return;if(this.tokens.matches1AtIndex(e,d.name)&&(t.push(this.tokens.identifierNameAtIndex(e)),e++,this.tokens.matches1AtIndex(e,d.comma)&&e++),this.tokens.matches1AtIndex(e,d.star)&&(e+=2,n.push(this.tokens.identifierNameAtIndex(e)),e++),this.tokens.matches1AtIndex(e,d.braceL)){let n=this.getNamedImports(e+1);for(let o of(e=n.newIndex,n.namedImports))"default"===o.importedName?t.push(o.localName):r.push(o)}if(this.tokens.matchesContextualAtIndex(e,f._from)&&e++,!this.tokens.matches1AtIndex(e,d.string))throw Error("Expected string token at the end of import statement.");let o=this.tokens.stringValueAtIndex(e),s=this.getImportInfo(o);s.defaultNames.push(...t),s.wildcardNames.push(...n),s.namedImports.push(...r),0===t.length&&0===n.length&&0===r.length&&(s.hasBareImport=!0)}preprocessExportAtIndex(e){if(this.tokens.matches2AtIndex(e,d._export,d._var)||this.tokens.matches2AtIndex(e,d._export,d._let)||this.tokens.matches2AtIndex(e,d._export,d._const))this.preprocessVarExportAtIndex(e);else if(this.tokens.matches2AtIndex(e,d._export,d._function)||this.tokens.matches2AtIndex(e,d._export,d._class)){let t=this.tokens.identifierNameAtIndex(e+2);this.addExportBinding(t,t)}else if(this.tokens.matches3AtIndex(e,d._export,d.name,d._function)){let t=this.tokens.identifierNameAtIndex(e+3);this.addExportBinding(t,t)}else this.tokens.matches2AtIndex(e,d._export,d.braceL)?this.preprocessNamedExportAtIndex(e):this.tokens.matches2AtIndex(e,d._export,d.star)&&this.preprocessExportStarAtIndex(e)}preprocessVarExportAtIndex(e){let t=0;for(let n=e+2;;n++)if(this.tokens.matches1AtIndex(n,d.braceL)||this.tokens.matches1AtIndex(n,d.dollarBraceL)||this.tokens.matches1AtIndex(n,d.bracketL))t++;else if(this.tokens.matches1AtIndex(n,d.braceR)||this.tokens.matches1AtIndex(n,d.bracketR))t--;else if(0!==t||this.tokens.matches1AtIndex(n,d.name)){if(this.tokens.matches1AtIndex(1,d.eq)){let e=this.tokens.currentToken().rhsEndIndex;if(null==e)throw Error("Expected = token with an end index.");n=e-1}else if(G(this.tokens.tokens[n])){let e=this.tokens.identifierNameAtIndex(n);this.identifierReplacements.set(e,`exports.${e}`)}}else break}preprocessNamedExportAtIndex(e){e+=2;let{newIndex:t,namedImports:n}=this.getNamedImports(e);if(e=t,this.tokens.matchesContextualAtIndex(e,f._from))e++;else{for(let{importedName:e,localName:t}of n)this.addExportBinding(e,t);return}if(!this.tokens.matches1AtIndex(e,d.string))throw Error("Expected string token at the end of import statement.");let r=this.tokens.stringValueAtIndex(e);this.getImportInfo(r).namedExports.push(...n)}preprocessExportStarAtIndex(e){let t=null;if(this.tokens.matches3AtIndex(e,d._export,d.star,d._as)?(e+=3,t=this.tokens.identifierNameAtIndex(e),e+=2):e+=3,!this.tokens.matches1AtIndex(e,d.string))throw Error("Expected string token at the end of star export statement.");let n=this.tokens.stringValueAtIndex(e),r=this.getImportInfo(n);null!==t?r.exportStarNames.push(t):r.hasStarExport=!0}getNamedImports(e){let t=[];for(;;){if(this.tokens.matches1AtIndex(e,d.braceR)){e++;break}let n=eT(this.tokens,e);if(e=n.endIndex,n.isType||t.push({importedName:n.leftName,localName:n.rightName}),this.tokens.matches2AtIndex(e,d.comma,d.braceR)){e+=2;break}if(this.tokens.matches1AtIndex(e,d.braceR)){e++;break}if(this.tokens.matches1AtIndex(e,d.comma))e++;else throw Error(`Unexpected token: ${JSON.stringify(this.tokens.tokens[e])}`)}return{newIndex:e,namedImports:t}}getImportInfo(e){let t=this.importInfoByPath.get(e);if(t)return t;let n={defaultNames:[],wildcardNames:[],namedImports:[],namedExports:[],hasBareImport:!1,exportStarNames:[],hasStarExport:!1};return this.importInfoByPath.set(e,n),n}addExportBinding(e,t){this.exportBindingsByLocalName.has(e)||this.exportBindingsByLocalName.set(e,[]),this.exportBindingsByLocalName.get(e).push(t)}claimImportCode(e){let t=this.importsToReplace.get(e);return this.importsToReplace.set(e,""),t||""}getIdentifierReplacement(e){return this.identifierReplacements.get(e)||null}resolveExportBinding(e){let t=this.exportBindingsByLocalName.get(e);return t&&0!==t.length?t.map(e=>`exports.${e}`).join(" = "):null}getGlobalNames(){return new Set([...this.identifierReplacements.keys(),...this.exportBindingsByLocalName.keys()])}}var eO=n(64365);let ej={require:` + import {createRequire as CREATE_REQUIRE_NAME} from "module"; + const require = CREATE_REQUIRE_NAME(import.meta.url); + `,interopRequireWildcard:` + function interopRequireWildcard(obj) { + if (obj && obj.__esModule) { + return obj; + } else { + var newObj = {}; + if (obj != null) { + for (var key in obj) { + if (Object.prototype.hasOwnProperty.call(obj, key)) { + newObj[key] = obj[key]; + } + } + } + newObj.default = obj; + return newObj; + } + } + `,interopRequireDefault:` + function interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + `,createNamedExportFrom:` + function createNamedExportFrom(obj, localName, importedName) { + Object.defineProperty(exports, localName, {enumerable: true, configurable: true, get: () => obj[importedName]}); + } + `,createStarExport:` + function createStarExport(obj) { + Object.keys(obj) + .filter((key) => key !== "default" && key !== "__esModule") + .forEach((key) => { + if (exports.hasOwnProperty(key)) { + return; + } + Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]}); + }); + } + `,nullishCoalesce:` + function nullishCoalesce(lhs, rhsFn) { + if (lhs != null) { + return lhs; + } else { + return rhsFn(); + } + } + `,asyncNullishCoalesce:` + async function asyncNullishCoalesce(lhs, rhsFn) { + if (lhs != null) { + return lhs; + } else { + return await rhsFn(); + } + } + `,optionalChain:` + function optionalChain(ops) { + let lastAccessLHS = undefined; + let value = ops[0]; + let i = 1; + while (i < ops.length) { + const op = ops[i]; + const fn = ops[i + 1]; + i += 2; + if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { + return undefined; + } + if (op === 'access' || op === 'optionalAccess') { + lastAccessLHS = value; + value = fn(value); + } else if (op === 'call' || op === 'optionalCall') { + value = fn((...args) => value.call(lastAccessLHS, ...args)); + lastAccessLHS = undefined; + } + } + return value; + } + `,asyncOptionalChain:` + async function asyncOptionalChain(ops) { + let lastAccessLHS = undefined; + let value = ops[0]; + let i = 1; + while (i < ops.length) { + const op = ops[i]; + const fn = ops[i + 1]; + i += 2; + if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { + return undefined; + } + if (op === 'access' || op === 'optionalAccess') { + lastAccessLHS = value; + value = await fn(value); + } else if (op === 'call' || op === 'optionalCall') { + value = await fn((...args) => value.call(lastAccessLHS, ...args)); + lastAccessLHS = undefined; + } + } + return value; + } + `,optionalChainDelete:` + function optionalChainDelete(ops) { + const result = OPTIONAL_CHAIN_NAME(ops); + return result == null ? true : result; + } + `,asyncOptionalChainDelete:` + async function asyncOptionalChainDelete(ops) { + const result = await ASYNC_OPTIONAL_CHAIN_NAME(ops); + return result == null ? true : result; + } + `};class eD{__init(){this.helperNames={}}__init2(){this.createRequireName=null}constructor(e){this.nameManager=e,eD.prototype.__init.call(this),eD.prototype.__init2.call(this)}getHelperName(e){let t=this.helperNames[e];return t||(t=this.nameManager.claimFreeName(`_${e}`),this.helperNames[e]=t),t}emitHelpers(){let e="";for(let[t,n]of(this.helperNames.optionalChainDelete&&this.getHelperName("optionalChain"),this.helperNames.asyncOptionalChainDelete&&this.getHelperName("asyncOptionalChain"),Object.entries(ej))){let r=this.helperNames[t],o=n;"optionalChainDelete"===t?o=o.replace("OPTIONAL_CHAIN_NAME",this.helperNames.optionalChain):"asyncOptionalChainDelete"===t?o=o.replace("ASYNC_OPTIONAL_CHAIN_NAME",this.helperNames.asyncOptionalChain):"require"===t&&(null===this.createRequireName&&(this.createRequireName=this.nameManager.claimFreeName("_createRequire")),o=o.replace(/CREATE_REQUIRE_NAME/g,this.createRequireName)),r&&(e+=" "+o.replace(t,r).replace(/\s+/g," ").trim())}return e}}function eP(e,t,n){(function(e,t){for(let n of e.tokens)if(n.type===d.name&&!n.isType&&function(e){let t=e.identifierRole;return t===k.FunctionScopedDeclaration||t===k.BlockScopedDeclaration||t===k.ObjectShorthandFunctionScopedDeclaration||t===k.ObjectShorthandBlockScopedDeclaration}(n)&&t.has(e.identifierNameForToken(n)))return!0;return!1})(e,n)&&function(e,t,n){let r=[],o=t.length-1;for(let s=e.tokens.length-1;;s--){for(;r.length>0&&r[r.length-1].startTokenIndex===s+1;)r.pop();for(;o>=0&&t[o].endTokenIndex===s+1;)r.push(t[o]),o--;if(s<0)break;let i=e.tokens[s],a=e.identifierNameForToken(i);if(r.length>1&&!i.isType&&i.type===d.name&&n.has(a)){if(function(e){let t=e.identifierRole;return t===k.TopLevelDeclaration||t===k.BlockScopedDeclaration||t===k.ObjectShorthandTopLevelDeclaration||t===k.ObjectShorthandBlockScopedDeclaration}(i))eB(r[r.length-1],e,a);else if(function(e){let t=e.identifierRole;return t===k.FunctionScopedDeclaration||t===k.ObjectShorthandFunctionScopedDeclaration}(i)){let t=r.length-1;for(;t>0&&!r[t].isFunctionScope;)t--;if(t<0)throw Error("Did not find parent function scope.");eB(r[t],e,a)}}}if(r.length>0)throw Error("Expected empty scope stack after processing file.")}(e,t,n)}function eB(e,t,n){for(let r=e.startTokenIndex;r0&&!i.error;)eo(d.braceL)||eo(d.bracketL)?e++:(eo(d.braceR)||eo(d.bracketR))&&e--,Y();return!0}return!1}()&&(eo(d.colon)||eo(d.comma)||eo(d.question)||eo(d.eq)||eo(d.parenR)&&(Y(),eo(d.arrow)))));return i.restoreFromSnapshot(e),t}()){tt(y.TSFunctionType);return}if(eo(d._new)){tt(y.TSConstructorType);return}if(L(f._abstract)&&es()===d._new){tt(y.TSAbstractConstructorType);return}!function(){if(en(d.bitwiseOR),tr(),eo(d.bitwiseOR))for(;en(d.bitwiseOR);)tr()}()}function tl(){for(;!eo(d.braceL)&&!i.error;)e0(),eo(d.lessThan)&&t_(),en(d.comma)}function th(){for(eV(!1),$(d.braceL);!en(d.braceR)&&!i.error;)!function(){if(eo(d.string)?Y():tY(),en(d.eq)){let e=i.tokens.length-1;tE(),i.tokens[e].rhsEndIndex=i.tokens.length}}(),en(d.comma)}function tu(){$(d.braceL),nk(d.braceR)}function tp(){eV(!1),en(d.dot)?tp():tu()}function tf(){L(f._global)?tY():eo(d.string)?tF():U(),eo(d.braceL)?tu():M()}function td(){eW(),$(d.eq),L(f._require)&&es()===d.parenL?(D(f._require),$(d.parenL),eo(d.string)||U(),Y(),$(d.parenR)):e0(),M()}function tm(){return tk(i.contextualKeyword,!0)}function tk(e,t){switch(e){case f._abstract:if(tg(t)&&eo(d._class))return i.tokens[i.tokens.length-1].type=d._abstract,nb(!0,!1),!0;break;case f._enum:if(tg(t)&&eo(d.name))return i.tokens[i.tokens.length-1].type=d._enum,th(),!0;break;case f._interface:if(tg(t)&&eo(d.name)){let e=ee(t?2:1);return eV(!1),e8(),en(d._extends)&&tl(),te(),et(e),!0}break;case f._module:if(tg(t)){if(eo(d.string)){let e=ee(t?2:1);return tf(),et(e),!0}if(eo(d.name)){let e=ee(t?2:1);return tp(),et(e),!0}}break;case f._namespace:if(tg(t)&&eo(d.name)){let e=ee(t?2:1);return tp(),et(e),!0}break;case f._type:if(tg(t)&&eo(d.name)){let e=ee(t?2:1);return eV(!1),e8(),$(d.eq),ta(),M(),et(e),!0}}return!1}function tg(e){return e?(Y(),!0):!q()}function ty(){i.type===d.bitShiftL&&(i.pos-=1,ed(d.lessThan)),t_()}function t_(){let e=ee(0);for($(d.lessThan);!eo(d.greaterThan)&&!i.error;)ta(),en(d.comma);e?($(d.greaterThan),et(e)):(et(e),ek(),$(d.greaterThan),i.tokens[i.tokens.length-1].isType=!0)}function tx(){if(eo(d.name))switch(i.contextualKeyword){case f._abstract:case f._declare:case f._enum:case f._interface:case f._module:case f._namespace:case f._type:return!0}return!1}function tT(e){if(tv(),!en(d.colon)){i.tokens[i.tokens.length-1].identifierRole=e;return}tv()}function tb(){let e=i.tokens.length;tT(k.Access);let t=!1;for(;eo(d.dot);)t=!0,tv(),tv();if(!t){let t=i.tokens[e],n=a.charCodeAt(t.start);n>=m.lowercaseA&&n<=m.lowercaseZ&&(t.identifierRole=null)}}function tv(){i.tokens.push(new Q),ef(),i.start=i.pos;let e=a.charCodeAt(i.pos);if(X[e])!function(){let e;do{if(i.pos>a.length){U("Unexpectedly reached the end of input.");return}e=a.charCodeAt(++i.pos)}while(H[e]||e===m.dash);ed(d.jsxName)}();else if(e===m.quotationMark||e===m.apostrophe)!function(e){for(i.pos++;;){if(i.pos>=a.length){U("Unterminated string constant");return}if(a.charCodeAt(i.pos)===e){i.pos++;break}i.pos++}ed(d.string)}(e);else switch(++i.pos,e){case m.greaterThan:ed(d.jsxTagEnd);break;case m.lessThan:ed(d.jsxTagStart);break;case m.slash:ed(d.slash);break;case m.equalsTo:ed(d.eq);break;case m.leftCurlyBrace:ed(d.braceL);break;case m.dot:ed(d.dot);break;case m.colon:ed(d.colon);break;default:U()}}function tI(){i.tokens.push(new Q),i.start=i.pos,function(){let e=!1,t=!1;for(;;){if(i.pos>=a.length){U("Unterminated JSX contents");return}let n=a.charCodeAt(i.pos);if(n===m.lessThan||n===m.leftCurlyBrace){if(i.pos===i.start){if(n===m.lessThan){i.pos++,ed(d.jsxTagStart);return}eg(n);return}e&&!t?ed(d.jsxEmptyText):ed(d.jsxText);return}n===m.lineFeed?e=!0:n!==m.space&&n!==m.carriageReturn&&n!==m.tab&&(t=!0),i.pos++}}()}(h=y||(y={}))[h.TSFunctionType=0]="TSFunctionType",h[h.TSConstructorType=1]="TSConstructorType",h[h.TSAbstractConstructorType=2]="TSAbstractConstructorType";class tw{constructor(e){this.stop=e}}function tC(e=!1){if(tE(e),eo(d.comma))for(;en(d.comma);)tE(e)}function tE(e=!1,t=!1){return o?r?function(e,t){if(!eo(d.lessThan))return tA(e,t);let n=i.snapshot(),r=tA(e,t);return i.error&&(i.restoreFromSnapshot(n),i.type=d.typeParameterStart,e3(),(r=tA(e,t))||U()),r}(e,t):function(e,t){if(!eo(d.lessThan))return tA(e,t);let n=i.snapshot();e3();let r=tA(e,t);return(r||U(),i.error)?(i.restoreFromSnapshot(n),tA(e,t)):r}(e,t):s?function(e,t){if(eo(d.lessThan)){let n=i.snapshot(),r=tA(e,t);if(!i.error)return r;i.restoreFromSnapshot(n),i.type=d.typeParameterStart;let o=ee(0);if(t5(),et(o),r=tA(e,t))return!0;U()}return tA(e,t)}(e,t):tA(e,t)}function tA(e,t){if(eo(d._yield))return Y(),eo(d.semi)||P()||(en(d.star),tE()),!1;(eo(d.parenL)||eo(d.name)||eo(d._yield))&&(i.potentialArrowAt=i.start);let n=!!function(e){let t=i.tokens.length;return!!tR()||(function e(t,n,r){if(o&&(d._in&d.PRECEDENCE_MASK)>n&&!B()&&(j(f._as)||j(f._satisfies))){let o=ee(1);ta(),et(o),ek(),e(t,n,r);return}let s=i.type&d.PRECEDENCE_MASK;if(s>0&&(!r||!eo(d._in))&&s>n){let o=i.type;Y(),o===d.nullishCoalescing&&(i.tokens[i.tokens.length-1].nullishStartIndex=t);let a=i.tokens.length;tR(),e(a,o&d.IS_RIGHT_ASSOCIATIVE?s-1:s,r),o===d.nullishCoalescing&&(i.tokens[t].numNullishCoalesceStarts++,i.tokens[i.tokens.length-1].numNullishCoalesceEnds++),e(t,n,r)}}(t,-1,e),!1)}(e)||(o||s?function(e){if(eo(d.question)){let e=es();if(e===d.colon||e===d.comma||e===d.parenR)return}tS(e)}(e):tS(e),!1);return(t&&tU(),i.type&d.IS_ASSIGN)?(Y(),tE(e),!1):n}function tS(e){en(d.question)&&(tE(),$(d.colon),tE(e))}function tR(){if(o&&!r&&en(d.lessThan))return!function(){let e=ee(1);ta(),$(d.greaterThan),et(e),tR()}(),!1;if(L(f._module)&&eh()===m.leftCurlyBrace&&!F())return D(f._module),$(d.braceL),nk(d.braceR),!1;if(i.type&d.IS_PREFIX)return Y(),tR(),!1;if(tN())return!0;for(;i.type&d.IS_POSTFIX&&!P();)i.type===d.preIncDec&&(i.type=d.postIncDec),Y();return!1}function tN(){let e=i.tokens.length;return!!tF()||(tL(e),i.tokens.length>e&&i.tokens[e].isOptionalChainStart&&(i.tokens[i.tokens.length-1].isOptionalChainEnd=!0),!1)}function tL(e,t=!1){s?function(e,t=!1){if(i.tokens[i.tokens.length-1].contextualKeyword===f._async&&eo(d.lessThan)){let e=i.snapshot();if(function(){i.scopeDepth++;let e=i.tokens.length;return nT(),!!t$()&&(tX(e),!0)}()&&!i.error)return;i.restoreFromSnapshot(e)}tO(e,t)}(e,t):tO(e,t)}function tO(e,t=!1){let n=new tw(!1);do o?function(e,t,n){if(!B()&&en(d.bang)){i.tokens[i.tokens.length-1].type=d.nonNullAssertion;return}if(eo(d.lessThan)||eo(d.bitShiftL)){let n=i.snapshot();if(!t&&tD()&&function(){let e=i.snapshot();return(e3(),nT(),eo(d.colon)&&to(d.colon),$(d.arrow),i.error)?(i.restoreFromSnapshot(e),!1):(tG(!0),!0)}()||(ty(),!t&&en(d.parenL)?(i.tokens[i.tokens.length-1].subscriptStartIndex=e,tP()):eo(d.backQuote)?tK():(i.type===d.greaterThan||i.type!==d.parenL&&i.type&d.IS_EXPRESSION_START&&!B())&&U(),!i.error))return;i.restoreFromSnapshot(n)}else!t&&eo(d.questionDot)&&es()===d.lessThan&&(Y(),i.tokens[e].isOptionalChainStart=!0,i.tokens[i.tokens.length-1].subscriptStartIndex=e,t_(),$(d.parenL),tP());tj(e,t,n)}(e,t,n):s?function(e,t,n){if(eo(d.questionDot)&&es()===d.lessThan){if(t){n.stop=!0;return}Y(),t4(),$(d.parenL),tP();return}if(!t&&eo(d.lessThan)){let e=i.snapshot();if(t4(),$(d.parenL),tP(),!i.error)return;i.restoreFromSnapshot(e)}tj(e,t,n)}(e,t,n):tj(e,t,n);while(!n.stop&&!i.error)}function tj(e,t,n){if(!t&&en(d.doubleColon))tB(),n.stop=!0,tL(e,t);else if(eo(d.questionDot)){if(i.tokens[e].isOptionalChainStart=!0,t&&es()===d.parenL){n.stop=!0;return}Y(),i.tokens[i.tokens.length-1].subscriptStartIndex=e,en(d.bracketL)?(tC(),$(d.bracketR)):en(d.parenL)?tP():tq()}else if(en(d.dot))i.tokens[i.tokens.length-1].subscriptStartIndex=e,tq();else if(en(d.bracketL))i.tokens[i.tokens.length-1].subscriptStartIndex=e,tC(),$(d.bracketR);else if(!t&&eo(d.parenL)){if(tD()){let t=i.snapshot(),r=i.tokens.length;Y(),i.tokens[i.tokens.length-1].subscriptStartIndex=e;let a=c++;i.tokens[i.tokens.length-1].contextId=a,tP(),i.tokens[i.tokens.length-1].contextId=a,(eo(d.colon)||eo(d.arrow))&&(i.restoreFromSnapshot(t),n.stop=!0,i.scopeDepth++,nT(),o?eo(d.colon)&&ti():s&&function(){if(eo(d.colon)){let e=i.noAnonFunctionType;i.noAnonFunctionType=!0,tZ(),i.noAnonFunctionType=e}}(),$(d.arrow),tX(r))}else{Y(),i.tokens[i.tokens.length-1].subscriptStartIndex=e;let t=c++;i.tokens[i.tokens.length-1].contextId=t,tP(),i.tokens[i.tokens.length-1].contextId=t}}else eo(d.backQuote)?tK():n.stop=!0}function tD(){return i.tokens[i.tokens.length-1].contextualKeyword===f._async&&!P()}function tP(){let e=!0;for(;!en(d.parenR)&&!i.error;){if(e)e=!1;else if($(d.comma),en(d.parenR))break;tQ(!1)}}function tB(){let e=i.tokens.length;tF(),tL(e,!0)}function tF(){if(en(d.modulo))return tY(),!1;if(eo(d.jsxText)||eo(d.jsxEmptyText))return Y(),!1;if(eo(d.lessThan)&&r)return i.type=d.jsxTagStart,function e(){tv(),function t(){let n=i.tokens.length-1;i.tokens[n].jsxRole=g.NoChildren;let r=0;if(!function(t){if(eo(d.jsxTagEnd))return!1;tb(),o&&function(){if(en(d.jsxTagStart)){i.tokens[i.tokens.length-1].type=d.typeParameterStart;let e=ee(1);for(;!eo(d.greaterThan)&&!i.error;)ta(),en(d.comma);tv(),et(e)}}();let n=!1;for(;!eo(d.slash)&&!eo(d.jsxTagEnd)&&!i.error;){if(en(d.braceL)){n=!0,$(d.ellipsis),tE(),tv();continue}n&&i.end-i.start==3&&a.charCodeAt(i.start)===m.lowercaseK&&a.charCodeAt(i.start+1)===m.lowercaseE&&a.charCodeAt(i.start+2)===m.lowercaseY&&(i.tokens[t].jsxRole=g.KeyAfterPropSpread),tT(k.ObjectKey),eo(d.eq)&&(tv(),function(){switch(i.type){case d.braceL:Y(),tC(),tv();return;case d.jsxTagStart:e(),tv();return;case d.string:tv();return;default:U("JSX value should be either an expression or a quoted JSX text")}}())}let r=eo(d.slash);return r&&tv(),r}(n))for(tI();;)switch(i.type){case d.jsxTagStart:if(tv(),eo(d.slash)){tv(),eo(d.jsxTagEnd)||tb(),i.tokens[n].jsxRole!==g.KeyAfterPropSpread&&(1===r?i.tokens[n].jsxRole=g.OneChild:r>1&&(i.tokens[n].jsxRole=g.StaticChildren));return}r++,t(),tI();break;case d.jsxText:r++,tI();break;case d.jsxEmptyText:tI();break;case d.braceL:Y(),eo(d.ellipsis)?($(d.ellipsis),tC(),tI(),r+=2):(eo(d.braceR)||(r++,tC()),tI());break;default:U();return}}()}(),Y(),!1;let e=i.potentialArrowAt===i.start;switch(i.type){case d.slash:case d.assign:i.type===d.assign&&--i.pos,function(){let e=i.pos,t=!1,n=!1;for(;;){if(i.pos>=a.length){U("Unterminated regular expression",e);return}let r=a.charCodeAt(i.pos);if(t)t=!1;else{if(r===m.leftSquareBracket)n=!0;else if(r===m.rightSquareBracket&&n)n=!1;else if(r===m.slash&&!n)break;t=r===m.backslash}++i.pos}++i.pos,function(){for(;i.pos=0&&(i.tokens[t].start>=e||i.tokens[t].type===d._default||i.tokens[t].type===d._export);)i.tokens[t].isType=!0,t--;return}tG(!1,t)}(e,t):(s&&eo(d.colon)&&t0(),tG(!1,t))}function tG(e,t=0){e&&!eo(d.braceL)?tE():nm(!0,t)}function tJ(e,t=!1){let n=!0;for(;!en(e)&&!i.error;){if(n)n=!1;else if($(d.comma),en(e))break;tQ(t)}}function tQ(e){e&&eo(d.comma)||(eo(d.ellipsis)?(Y(),tE(!1),tU()):eo(d.question)?Y():tE(!1,!0))}function tY(){Y(),i.tokens[i.tokens.length-1].type=d.name}function tZ(e){let t=ee(0);$(e||d.colon),ni(),et(t)}function t1(){$(d.modulo),D(f._checks),en(d.parenL)&&(tC(),$(d.parenR))}function t0(){let e=ee(0);$(d.colon),eo(d.modulo)?t1():(ni(),eo(d.modulo)&&t1()),et(e)}function t2(e=!1){if(tY(),eo(d.lessThan)&&t5(),en(d._extends))do t8();while(!e&&en(d.comma));if(L(f._mixins)||L(f._implements)){Y();do t8();while(en(d.comma))}ne(e,!1,e)}function t8(){nt(!1),eo(d.lessThan)&&t4()}function t3(){tY(),eo(d.lessThan)&&t5(),tZ(d.eq),M()}function t6(e){D(f._type),tY(),eo(d.lessThan)&&t5(),eo(d.colon)&&tZ(d.colon),e||tZ(d.eq),M()}function t5(){let e=ee(0);eo(d.lessThan)||eo(d.typeParameterStart)?Y():U();do nc(),na(),en(d.eq)&&ni(),eo(d.greaterThan)||$(d.comma);while(!eo(d.greaterThan)&&!i.error);$(d.greaterThan),et(e)}function t4(){let e=ee(0);for($(d.lessThan);!eo(d.greaterThan)&&!i.error;)ni(),eo(d.greaterThan)||$(d.comma);$(d.greaterThan),et(e)}function t7(){eo(d.num)||eo(d.string)?tF():tY()}function t9(){for(eo(d.lessThan)&&t5(),$(d.parenL);!eo(d.parenR)&&!eo(d.ellipsis)&&!i.error;)nn(),eo(d.parenR)||$(d.comma);en(d.ellipsis)&&nn(),$(d.parenR),tZ()}function ne(e,t,n){let r;for(t&&eo(d.braceBarL)?($(d.braceBarL),r=d.braceBarR):($(d.braceL),r=d.braceR);!eo(r)&&!i.error;){if(n&&L(f._proto)){let t=es();t!==d.colon&&t!==d.question&&(Y(),e=!1)}if(e&&L(f._static)){let e=es();e!==d.colon&&e!==d.question&&Y()}if(nc(),en(d.bracketL))en(d.bracketL)?(t7(),$(d.bracketR),$(d.bracketR),eo(d.lessThan)||eo(d.parenL)?t9():(en(d.question),tZ())):(es()===d.colon?(t7(),tZ()):ni(),$(d.bracketR),tZ());else if(eo(d.parenL)||eo(d.lessThan))t9();else{if(L(f._get)||L(f._set)){let e=es();(e===d.name||e===d.string||e===d.num)&&Y()}eo(d.ellipsis)?($(d.ellipsis),en(d.comma)||en(d.semi),eo(d.braceR)||ni()):(t7(),eo(d.lessThan)||eo(d.parenL)?t9():(en(d.question),tZ()))}en(d.semi)||en(d.comma)||eo(d.braceR)||eo(d.braceBarR)||U()}$(r)}function nt(e){for(e||tY();en(d.dot);)tY()}function nn(){let e=es();e===d.colon||e===d.question?(tY(),en(d.question),tZ()):ni()}function nr(){for(;!eo(d.parenR)&&!eo(d.ellipsis)&&!i.error;)nn(),eo(d.parenR)||$(d.comma);en(d.ellipsis)&&nn()}function no(){!function e(){en(d.question)?e():function(){for(function e(){let t=!1,n=i.noAnonFunctionType;switch(i.type){case d.name:if(L(f._interface)){!function(){if(D(f._interface),en(d._extends))do t8();while(en(d.comma));ne(!1,!1,!1)}();return}tY(),nt(!0),eo(d.lessThan)&&t4();return;case d.braceL:ne(!1,!1,!1);return;case d.braceBarL:ne(!1,!0,!1);return;case d.bracketL:!function(){for($(d.bracketL);i.pos0?this.tokens[this.tokenIndex-1].end:0,this.tokenIndex0&&t0&&this.tokenAtRelativeIndex(-1).type===d._delete?e.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChainDelete"):this.resultCode+=this.helperManager.getHelperName("optionalChainDelete"):e.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChain"):this.resultCode+=this.helperManager.getHelperName("optionalChain"),this.resultCode+="([")}}appendTokenSuffix(){let e=this.currentToken();if(e.isOptionalChainEnd&&!this.disableESTransforms&&(this.resultCode+="])"),e.numNullishCoalesceEnds&&!this.disableESTransforms)for(let t=0;t ${e}require`);let t=this.tokens.currentToken().contextId;if(null==t)throw Error("Expected context ID on dynamic import invocation.");for(this.tokens.copyToken();!this.tokens.matchesContextIdAndLabel(d.parenR,t);)this.rootTransformer.processToken();this.tokens.replaceToken(e?")))":"))");return}if(this.removeImportAndDetectIfShouldElide())this.tokens.removeToken();else{let e=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(e)),this.tokens.appendCode(this.importProcessor.claimImportCode(e))}nV(this.tokens),this.tokens.matches1(d.semi)&&this.tokens.removeToken()}removeImportAndDetectIfShouldElide(){if(this.tokens.removeInitialToken(),this.tokens.matchesContextual(f._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,d.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,f._from))return this.removeRemainingImport(),!0;if(this.tokens.matches1(d.name)||this.tokens.matches1(d.star))return this.removeRemainingImport(),!1;if(this.tokens.matches1(d.string))return!1;let e=!1,t=!1;for(;!this.tokens.matches1(d.string);)(!e&&this.tokens.matches1(d.braceL)||this.tokens.matches1(d.comma))&&(this.tokens.removeToken(),this.tokens.matches1(d.braceR)||(t=!0),(this.tokens.matches2(d.name,d.comma)||this.tokens.matches2(d.name,d.braceR)||this.tokens.matches4(d.name,d.name,d.name,d.comma)||this.tokens.matches4(d.name,d.name,d.name,d.braceR))&&(e=!0)),this.tokens.removeToken();return!this.keepUnusedImports&&(this.isTypeScriptTransformEnabled?!e:!!this.isFlowTransformEnabled&&t&&!e)}removeRemainingImport(){for(;!this.tokens.matches1(d.string);)this.tokens.removeToken()}processIdentifier(){let e=this.tokens.currentToken();if(e.shadowsGlobal)return!1;if(e.identifierRole===k.ObjectShorthand)return this.processObjectShorthand();if(e.identifierRole!==k.Access)return!1;let t=this.importProcessor.getIdentifierReplacement(this.tokens.identifierNameForToken(e));if(!t)return!1;let n=this.tokens.currentIndex()+1;for(;n=2&&this.tokens.matches1AtIndex(e-2,d.dot)||e>=2&&[d._var,d._let,d._const].includes(this.tokens.tokens[e-2].type))return!1;let n=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(t));return!!n&&(this.tokens.copyToken(),this.tokens.appendCode(` ${n} =`),!0)}processComplexAssignment(){let e=this.tokens.currentIndex(),t=this.tokens.tokens[e-1];if(t.type!==d.name||t.shadowsGlobal||e>=2&&this.tokens.matches1AtIndex(e-2,d.dot))return!1;let n=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(t));return!!n&&(this.tokens.appendCode(` = ${n}`),this.tokens.copyToken(),!0)}processPreIncDec(){let e=this.tokens.currentIndex(),t=this.tokens.tokens[e+1];if(t.type!==d.name||t.shadowsGlobal||e+2=1&&this.tokens.matches1AtIndex(e-1,d.dot))return!1;let r=this.tokens.identifierNameForToken(t),o=this.importProcessor.resolveExportBinding(r);if(!o)return!1;let s=this.tokens.rawCodeForToken(n),i=this.importProcessor.getIdentifierReplacement(r)||r;if("++"===s)this.tokens.replaceToken(`(${i} = ${o} = ${i} + 1, ${i} - 1)`);else if("--"===s)this.tokens.replaceToken(`(${i} = ${o} = ${i} - 1, ${i} + 1)`);else throw Error(`Unexpected operator: ${s}`);return this.tokens.removeToken(),!0}processExportDefault(){let e=!0;if(this.tokens.matches4(d._export,d._default,d._function,d.name)||this.tokens.matches5(d._export,d._default,d.name,d._function,d.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,f._async)){this.tokens.removeInitialToken(),this.tokens.removeToken();let e=this.processNamedFunction();this.tokens.appendCode(` exports.default = ${e};`)}else if(this.tokens.matches4(d._export,d._default,d._class,d.name)||this.tokens.matches5(d._export,d._default,d._abstract,d._class,d.name)||this.tokens.matches3(d._export,d._default,d.at)){this.tokens.removeInitialToken(),this.tokens.removeToken(),this.copyDecorators(),this.tokens.matches1(d._abstract)&&this.tokens.removeToken();let e=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.default = ${e};`)}else if(nW(this.isTypeScriptTransformEnabled,this.keepUnusedImports,this.tokens,this.declarationInfo))e=!1,this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken();else if(this.reactHotLoaderTransformer){let e=this.nameManager.claimFreeName("_default");this.tokens.replaceToken(`let ${e}; exports.`),this.tokens.copyToken(),this.tokens.appendCode(` = ${e} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(e)}else this.tokens.replaceToken("exports."),this.tokens.copyToken(),this.tokens.appendCode(" =");e&&(this.hadDefaultExport=!0)}copyDecorators(){for(;this.tokens.matches1(d.at);)if(this.tokens.copyToken(),this.tokens.matches1(d.parenL))this.tokens.copyExpectedToken(d.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(d.parenR);else{for(this.tokens.copyExpectedToken(d.name);this.tokens.matches1(d.dot);)this.tokens.copyExpectedToken(d.dot),this.tokens.copyExpectedToken(d.name);this.tokens.matches1(d.parenL)&&(this.tokens.copyExpectedToken(d.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(d.parenR))}}processExportVar(){this.isSimpleExportVar()?this.processSimpleExportVar():this.processComplexExportVar()}isSimpleExportVar(){let e=this.tokens.currentIndex();if(e++,e++,!this.tokens.matches1AtIndex(e,d.name))return!1;for(e++;en.call(t,...e)),t=void 0)}return n}([this,"access",e=>e.importProcessor,"optionalAccess",e=>e.getGlobalNames,"call",e=>e(),"optionalAccess",e=>e.has,"call",e=>e(nG)])&&this.extractHoistedCalls()}getHoistedCode(){return this.hoistedFunctionNames.length>0?this.hoistedFunctionNames.map(e=>`${e}();`).join(""):""}extractHoistedCalls(){this.tokens.removeToken();let e=!1;for(;this.tokens.matches3(d.dot,d.name,d.parenL);){let t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);if(nJ.includes(t)){let t=this.nameManager.claimFreeName("__jestHoist");this.hoistedFunctionNames.push(t),this.tokens.replaceToken(`function ${t}(){${nG}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(d.parenR),this.tokens.appendCode(";}"),e=!1}else e?this.tokens.copyToken():this.tokens.replaceToken(`${nG}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(d.parenR),e=!0}return!0}}class nY extends eC{constructor(e){super(),this.tokens=e}process(){if(this.tokens.matches1(d.num)){let e=this.tokens.currentTokenCode();if(e.includes("_"))return this.tokens.replaceToken(e.replace(/_/g,"")),!0}return!1}}class nZ extends eC{constructor(e,t){super(),this.tokens=e,this.nameManager=t}process(){return!!this.tokens.matches2(d._catch,d.braceL)&&(this.tokens.copyToken(),this.tokens.appendCode(` (${this.nameManager.claimFreeName("e")})`),!0)}}class n1 extends eC{constructor(e,t){super(),this.tokens=e,this.nameManager=t}process(){if(this.tokens.matches1(d.nullishCoalescing)){let e=this.tokens.currentToken();return this.tokens.tokens[e.nullishStartIndex].isAsyncOperation?this.tokens.replaceTokenTrimmingLeftWhitespace(", async () => ("):this.tokens.replaceTokenTrimmingLeftWhitespace(", () => ("),!0}if(this.tokens.matches1(d._delete)&&this.tokens.tokenAtRelativeIndex(1).isOptionalChainStart)return this.tokens.removeInitialToken(),!0;let e=this.tokens.currentToken().subscriptStartIndex;if(null!=e&&this.tokens.tokens[e].isOptionalChainStart&&this.tokens.tokenAtRelativeIndex(-1).type!==d._super){let t;let n=this.nameManager.claimFreeName("_");if(t=e>0&&this.tokens.matches1AtIndex(e-1,d._delete)&&this.isLastSubscriptInChain()?`${n} => delete ${n}`:`${n} => ${n}`,this.tokens.tokens[e].isAsyncOperation&&(t=`async ${t}`),this.tokens.matches2(d.questionDot,d.parenL)||this.tokens.matches2(d.questionDot,d.lessThan))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalCall', ${t}`);else if(this.tokens.matches2(d.questionDot,d.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${t}`);else if(this.tokens.matches1(d.questionDot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${t}.`);else if(this.tokens.matches1(d.dot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${t}.`);else if(this.tokens.matches1(d.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${t}[`);else if(this.tokens.matches1(d.parenL))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'call', ${t}(`);else throw Error("Unexpected subscript operator in optional chain.");return!0}return!1}isLastSubscriptInChain(){let e=0;for(let t=this.tokens.currentIndex()+1;;t++){if(t>=this.tokens.tokens.length)throw Error("Reached the end of the code while finding the end of the access chain.");if(this.tokens.tokens[t].isOptionalChainStart?e++:this.tokens.tokens[t].isOptionalChainEnd&&e--,e<0)return!0;if(0===e&&null!=this.tokens.tokens[t].subscriptStartIndex)return!1}}justSkippedSuper(){let e=0,t=this.tokens.currentIndex()-1;for(;;){if(t<0)throw Error("Reached the start of the code while finding the start of the access chain.");if(this.tokens.tokens[t].isOptionalChainStart?e--:this.tokens.tokens[t].isOptionalChainEnd&&e++,e<0)return!1;if(0===e&&null!=this.tokens.tokens[t].subscriptStartIndex)return this.tokens.tokens[t-1].type===d._super;t--}}}class n0 extends eC{constructor(e,t,n,r){super(),this.rootTransformer=e,this.tokens=t,this.importProcessor=n,this.options=r}process(){let e=this.tokens.currentIndex();if("createReactClass"===this.tokens.identifierName()){let t=this.importProcessor&&this.importProcessor.getIdentifierReplacement("createReactClass");return t?this.tokens.replaceToken(`(0, ${t})`):this.tokens.copyToken(),this.tryProcessCreateClassCall(e),!0}if(this.tokens.matches3(d.name,d.dot,d.name)&&"React"===this.tokens.identifierName()&&"createClass"===this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+2)){let t=this.importProcessor&&this.importProcessor.getIdentifierReplacement("React")||"React";return t?this.tokens.replaceToken(t):this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.copyToken(),this.tryProcessCreateClassCall(e),!0}return!1}tryProcessCreateClassCall(e){let t=this.findDisplayName(e);t&&this.classNeedsDisplayName()&&(this.tokens.copyExpectedToken(d.parenL),this.tokens.copyExpectedToken(d.braceL),this.tokens.appendCode(`displayName: '${t}',`),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(d.braceR),this.tokens.copyExpectedToken(d.parenR))}findDisplayName(e){return e<2?null:this.tokens.matches2AtIndex(e-2,d.name,d.eq)||e>=2&&this.tokens.tokens[e-2].identifierRole===k.ObjectKey?this.tokens.identifierNameAtIndex(e-2):this.tokens.matches2AtIndex(e-2,d._export,d._default)?this.getDisplayNameFromFilename():null}getDisplayNameFromFilename(){let e=(this.options.filePath||"unknown").split("/"),t=e[e.length-1],n=t.lastIndexOf("."),r=-1===n?t:t.slice(0,n);return"index"===r&&e[e.length-2]?e[e.length-2]:r}classNeedsDisplayName(){let e=this.tokens.currentIndex();if(!this.tokens.matches2(d.parenL,d.braceL))return!1;let t=e+1,n=this.tokens.tokens[t].contextId;if(null==n)throw Error("Expected non-null context ID on object open-brace.");for(;e({variableName:e,uniqueLocalName:e}));return this.extractedDefaultExportName&&t.push({variableName:this.extractedDefaultExportName,uniqueLocalName:"default"}),` +;(function () { + var reactHotLoader = require('react-hot-loader').default; + var leaveModule = require('react-hot-loader').leaveModule; + if (!reactHotLoader) { + return; + } +${t.map(({variableName:e,uniqueLocalName:t})=>` reactHotLoader.register(${e}, "${t}", ${JSON.stringify(this.filePath||"")});`).join("\n")} + leaveModule(module); +})();`}process(){return!1}}let n8=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield","enum","implements","interface","let","package","private","protected","public","static","await","false","null","true"]);function n3(e){if(0===e.length||!X[e.charCodeAt(0)])return!1;for(let t=1;t` var ${e};`).join(""),this.transformers))e+=t.getHoistedCode();let t="";for(let e of this.transformers)t+=e.getSuffixCode();let n=this.tokens.finish(),{code:r}=n;if(!r.startsWith("#!"))return{code:e+r+t,mappings:this.shiftMappings(n.mappings,e.length)};{let o=r.indexOf("\n");return -1===o&&(o=r.length,r+="\n"),{code:r.slice(0,o+1)+e+r.slice(o+1)+t,mappings:this.shiftMappings(n.mappings,e.length)}}}processBalancedCode(){let e=0,t=0;for(;!this.tokens.isAtEnd();){if(this.tokens.matches1(d.braceL)||this.tokens.matches1(d.dollarBraceL))e++;else if(this.tokens.matches1(d.braceR)){if(0===e)return;e--}if(this.tokens.matches1(d.parenL))t++;else if(this.tokens.matches1(d.parenR)){if(0===t)return;t--}this.processToken()}}processToken(){if(this.tokens.matches1(d._class)){this.processClass();return}for(let e of this.transformers)if(e.process())return;this.tokens.copyToken()}processNamedClass(){if(!this.tokens.matches2(d._class,d.name))throw Error("Expected identifier for exported class name.");let e=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.processClass(),e}processClass(){let e=function(e,t,n,r){let o=t.snapshot(),s=function(e){let t=e.currentToken(),n=t.contextId;if(null==n)throw Error("Expected context ID on class token.");let r=t.isExpression;if(null==r)throw Error("Expected isExpression on class token.");let o=null,s=!1;for(e.nextToken(),e.matches1(d.name)&&(o=e.identifierName());!e.matchesContextIdAndLabel(d.braceL,n);)e.matches1(d._extends)&&!e.currentToken().isType&&(s=!0),e.nextToken();return{isExpression:r,className:o,hasSuperclass:s}}(t),i=[],a=[],c=[],l=null,h=[],u=[],p=t.currentToken().contextId;if(null==p)throw Error("Expected non-null class context ID on class open-brace.");for(t.nextToken();!t.matchesContextIdAndLabel(d.braceR,p);)if(t.matchesContextual(f._constructor)&&!t.currentToken().isType)({constructorInitializerStatements:i,constructorInsertPos:l}=nF(t));else if(t.matches1(d.semi))r||u.push({start:t.currentIndex(),end:t.currentIndex()+1}),t.nextToken();else if(t.currentToken().isType)t.nextToken();else{let o=t.currentIndex(),s=!1,m=!1,k=!1;for(;nq(t.currentToken());)t.matches1(d._static)&&(s=!0),t.matches1(d.hash)&&(m=!0),(t.matches1(d._declare)||t.matches1(d._abstract))&&(k=!0),t.nextToken();if(s&&t.matches1(d.braceL)||m){nB(t,p);continue}if(t.matchesContextual(f._constructor)&&!t.currentToken().isType){({constructorInitializerStatements:i,constructorInsertPos:l}=nF(t));continue}let g=t.currentIndex();if(function(e){if(e.matches1(d.bracketL)){let t=e.currentToken().contextId;if(null==t)throw Error("Expected class context ID on computed name open bracket.");for(;!e.matchesContextIdAndLabel(d.bracketR,t);)e.nextToken();e.nextToken()}else e.nextToken()}(t),t.matches1(d.lessThan)||t.matches1(d.parenL)){nB(t,p);continue}for(;t.currentToken().isType;)t.nextToken();if(t.matches1(d.eq)){let r;let o=t.currentIndex(),i=t.currentToken().rhsEndIndex;if(null==i)throw Error("Expected rhsEndIndex on class field assignment.");for(t.nextToken();t.currentIndex()0,n=e.headerInfo.className;t&&(n=this.nameManager.claimFreeName("_class"),this.generatedVariables.push(n),this.tokens.appendCode(` (${n} =`));let r=this.tokens.currentToken().contextId;if(null==r)throw Error("Expected class to have a context ID.");for(this.tokens.copyExpectedToken(d._class);!this.tokens.matchesContextIdAndLabel(d.braceL,r);)this.processToken();this.processClassBody(e,n);let o=e.staticInitializerNames.map(e=>`${n}.${e}()`);t?this.tokens.appendCode(`, ${o.map(e=>`${e}, `).join("")}${n})`):e.staticInitializerNames.length>0&&this.tokens.appendCode(` ${o.map(e=>`${e};`).join(" ")}`)}processClassBody(e,t){let{headerInfo:n,constructorInsertPos:r,constructorInitializerStatements:o,fields:s,instanceInitializerNames:i,rangesToRemove:a}=e,c=0,l=0,h=this.tokens.currentToken().contextId;if(null==h)throw Error("Expected non-null context ID on class.");this.tokens.copyExpectedToken(d.braceL),this.isReactHotLoaderTransformEnabled&&this.tokens.appendCode("__reactstandin__regenerateByEval(key, code) {this[key] = eval(code);}");let u=o.length+i.length>0;if(null===r&&u){let e=this.makeConstructorInitCode(o,i,t);if(n.hasSuperclass){let t=this.nameManager.claimFreeName("args");this.tokens.appendCode(`constructor(...${t}) { super(...${t}); ${e}; }`)}else this.tokens.appendCode(`constructor() { ${e}; }`)}for(;!this.tokens.matchesContextIdAndLabel(d.braceR,h);)if(c=a[l].start){for(this.tokens.currentIndex()`${n}.prototype.${e}.call(this)`)].join(";")}processPossibleArrowParamEnd(){if(this.tokens.matches2(d.parenR,d.colon)&&this.tokens.tokenAtRelativeIndex(1).isType){let e=this.tokens.currentIndex()+1;for(;this.tokens.tokens[e].isType;)e++;if(this.tokens.matches1AtIndex(e,d.arrow)){for(this.tokens.removeInitialToken();this.tokens.currentIndex()"),!0}}return!1}processPossibleAsyncArrowWithTypeParams(){if(!this.tokens.matchesContextual(f._async)&&!this.tokens.matches1(d._async))return!1;let e=this.tokens.tokenAtRelativeIndex(1);if(e.type!==d.lessThan||!e.isType)return!1;let t=this.tokens.currentIndex()+1;for(;this.tokens.tokens[t].isType;)t++;if(this.tokens.matches1AtIndex(t,d.parenL)){for(this.tokens.replaceToken("async ("),this.tokens.removeInitialToken();this.tokens.currentIndex()t in e?n4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ro=(e,t)=>{for(var n in t||(t={}))rt.call(t,n)&&rr(e,n,t[n]);if(re)for(var n of re(t))rn.call(t,n)&&rr(e,n,t[n]);return e},rs=(e,t)=>n7(e,n9(t)),ri=(e,t)=>{var n={};for(var r in e)rt.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&re)for(var r of re(e))0>t.indexOf(r)&&rn.call(e,r)&&(n[r]=e[r]);return n},ra=(e,t,n)=>new Promise((r,o)=>{var s=e=>{try{a(n.next(e))}catch(e){o(e)}},i=e=>{try{a(n.throw(e))}catch(e){o(e)}},a=e=>e.done?r(e.value):Promise.resolve(e.value).then(s,i);a((n=n.apply(e,t)).next())}),rc=e=>{let{tabMode:t="indentation"}=e,n=(0,x.useRef)(null),[r,o]=(0,x.useState)(e.code||""),{theme:s}=e;return(0,x.useEffect)(()=>{o(e.code)},[e.code]),!function(e,t,n){function r(t){var n=e.current;if(n){var r=w(n);n=I(n),r.position+=t.length-n.length,l.position=r,l.onChange(t,r)}}function o(t,n){var r=e.current;if(r){var o=window.getSelection().getRangeAt(0);o.deleteContents(),o.collapse();var s=n||0;(o=C(r,n=(o=w(r)).position+(0>s?s:0),o.position+(0s-u||i&&i[1]===r?u=s:(n=++l.historyAt,l.history[n]=[o,r],l.history.splice(n+1),500o(e.slice(0,-1)),{disabled:e.disabled,indentation:"indentation"===t?2:void 0}),(0,x.useEffect)(()=>{e.onChange&&e.onChange(r)},[r]),(0,E.jsx)("div",{className:e.className,style:e.style,children:(0,E.jsx)(_.y$,{code:r,theme:e.theme||_.np.nightOwl,language:e.language,children:({className:e,tokens:t,getLineProps:r,getTokenProps:o,style:i})=>(0,E.jsx)("pre",{className:e,style:ro(ro({margin:0,outline:"none",padding:10,fontFamily:"inherit"},s&&"object"==typeof s.plain?s.plain:{}),i),ref:n,spellCheck:"false",children:t.map((e,t)=>(0,E.jsxs)("span",rs(ro({},r({line:e})),{children:[e.filter(e=>!e.empty).map((e,t)=>(0,E.jsx)("span",ro({},o({token:e})),`token-${t}`)),"\n"]}),`line-${t}`))})})})},rl=(0,x.createContext)({}),rh=["jsx","imports"];function ru(e={}){let t=Array.isArray(e.transforms)?e.transforms.filter(Boolean):rh;return e=>(function(e,t){eK.strictCheck(t);try{let n=function(e,t){let n=t.transforms.includes("jsx"),l=t.transforms.includes("typescript"),h=t.transforms.includes("flow"),u=!0===t.disableESTransforms,p=function(e,t,n,l){if(l&&n)throw Error("Cannot combine flow and typescript plugins.");a=e,i=new R,c=1,r=t,o=n,s=l;let h=(0===i.pos&&a.charCodeAt(0)===m.numberSign&&a.charCodeAt(1)===m.exclamationMark&&ep(2),eu(),function(){if(nk(d.eof),i.scopes.push(new A(0,i.tokens.length,!0)),0!==i.scopeDepth)throw Error(`Invalid scope depth at end of file: ${i.scopeDepth}`);return new nD(i.tokens,i.scopes)}());if(i.error)throw function(e){if("pos"in e){let t=function(e){let t=1,n=1;for(let r=0;rclass extends x.Component{componentDidCatch(e){t(e)}render(){return"function"==typeof e?(0,E.jsx)(e,{}):x.isValidElement(e)?e:null}},rf=(e,t)=>{let n=Object.keys(t),r=n.map(e=>t[e]);return Function(...n,e)(...r)},rd='const _jsxFileName = "";',rm=e=>e.trim().replace(/;$/,""),rk=e=>e.replace(rd,"").trim(),rg=e=>rd+e,ry=e=>`return (${e})`,r_=({code:e="",scope:t={},enableTypeScript:n=!0},r)=>{let o=["jsx"];return n&&o.push("typescript"),rp(rf((function(...e){return e.reduce((e,t)=>(...n)=>e(t(...n)))})(rg,ru({transforms:["imports"]}),ry,rk,rm,ru({transforms:o}),rm)(e),ro({React:x},t)),r)},rx=({code:e="",scope:t={},enableTypeScript:n=!0},r,o)=>{if(!/render\s*\(/.test(e))return o(SyntaxError("No-Inline evaluations must call `render`."));let s=["jsx","imports"];n&&s.splice(1,0,"typescript"),rf(ru({transforms:s})(e),rs(ro({React:x},t),{render:e=>{void 0===e?o(SyntaxError("`render` must be called with valid JSX.")):r(rp(e,o))}}))},rT=function({children:e,code:t="",language:n="tsx",theme:r,enableTypeScript:o=!0,disabled:s=!1,scope:i,transformCode:a,noInline:c=!1}){let[l,h]=(0,x.useState)({error:void 0,element:void 0});function u(e){return ra(this,null,function*(){let t=e=>{h({error:e.toString(),element:void 0})};try{let n=a?a(e):e;try{let e=yield Promise.resolve(n),r=e=>h({error:void 0,element:e});if("string"!=typeof e)throw Error("Code failed to transform");let s={code:e,scope:i,enableTypeScript:o};c?(h({error:void 0,element:null}),rx(s,r,t)):r(r_(s,t))}catch(e){return t(e)}}catch(e){return t(e),Promise.resolve()}})}let p=e=>h({error:e.toString()});return(0,x.useEffect)(()=>{u(t).catch(p)},[t,i,c,a]),(0,E.jsx)(rl.Provider,{value:rs(ro({},l),{code:t,language:n,theme:r,disabled:s,onError:p,onChange:e=>{u(e).catch(p)}}),children:e})};function rb(e){let{code:t,language:n,theme:r,disabled:o,onChange:s}=(0,x.useContext)(rl);return(0,E.jsx)(rc,ro({theme:r,code:t,language:n,disabled:o,onChange:s},e))}function rv(e){let{error:t}=(0,x.useContext)(rl);return t?(0,E.jsx)("pre",rs(ro({},e),{children:t})):null}var rI=function(e){var{Component:t="div"}=e,n=ri(e,["Component"]);let{element:r}=(0,x.useContext)(rl);return(0,E.jsx)(t,rs(ro({},n),{children:r?(0,E.jsx)(r,{}):null}))}}}]); \ No newline at end of file diff --git a/_next/static/chunks/6bd07e6a-09bba16be7266586.js b/_next/static/chunks/6bd07e6a-09bba16be7266586.js new file mode 100644 index 000000000..19de0864c --- /dev/null +++ b/_next/static/chunks/6bd07e6a-09bba16be7266586.js @@ -0,0 +1,116 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9905],{47486:function(e,t,r){var n,u,i,a;a=function(){"use strict";var a=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),s=a((e,t)=>{var n=function(e){return e&&e.Math==Math&&e};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()}),o=a((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}}),l=a((e,t)=>{var r=o();t.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})}),p=a((e,t)=>{var r=o();t.exports=!r(function(){var e=(function(){}).bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})}),c=a((e,t)=>{var r=p(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)}}),d=a(e=>{var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(e){var t=r(this,e);return!!t&&t.enumerable}:t}),D=a((e,t)=>{t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}}),f=a((e,t)=>{var r=p(),n=Function.prototype,u=n.call,i=r&&n.bind.bind(u,u);t.exports=r?i:function(e){return function(){return u.apply(e,arguments)}}}),m=a((e,t)=>{var r=f(),n=r({}.toString),u=r("".slice);t.exports=function(e){return u(n(e),8,-1)}}),g=a((e,t)=>{var r=f(),n=o(),u=m(),i=Object,a=r("".split);t.exports=n(function(){return!i("z").propertyIsEnumerable(0)})?function(e){return"String"==u(e)?a(e,""):i(e)}:i}),y=a((e,t)=>{t.exports=function(e){return null==e}}),h=a((e,t)=>{var r=y(),n=TypeError;t.exports=function(e){if(r(e))throw n("Can't call method on "+e);return e}}),E=a((e,t)=>{var r=g(),n=h();t.exports=function(e){return r(n(e))}}),C=a((e,t)=>{var r="object"==typeof document&&document.all;t.exports={all:r,IS_HTMLDDA:typeof r>"u"&&void 0!==r}}),F=a((e,t)=>{var r=C(),n=r.all;t.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}}),A=a((e,t)=>{var r=F(),n=C(),u=n.all;t.exports=n.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===u}:function(e){return"object"==typeof e?null!==e:r(e)}}),v=a((e,t)=>{var r=s(),n=F();t.exports=function(e,t){var u;return arguments.length<2?n(u=r[e])?u:void 0:r[e]&&r[e][t]}}),x=a((e,t)=>{var r=f();t.exports=r({}.isPrototypeOf)}),b=a((e,t)=>{var r=v();t.exports=r("navigator","userAgent")||""}),S=a((e,t)=>{var r,n,u=s(),i=b(),a=u.process,o=u.Deno,l=a&&a.versions||o&&o.version,p=l&&l.v8;p&&(n=(r=p.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!n&&i&&(!(r=i.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/))&&(n=+r[1]),t.exports=n}),T=a((e,t)=>{var r=S(),n=o();t.exports=!!Object.getOwnPropertySymbols&&!n(function(){var e=Symbol();return!String(e)||!(Object(e) instanceof Symbol)||!Symbol.sham&&r&&r<41})}),B=a((e,t)=>{var r=T();t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}),N=a((e,t)=>{var r=v(),n=F(),u=x(),i=B(),a=Object;t.exports=i?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return n(t)&&u(t.prototype,a(e))}}),w=a((e,t)=>{var r=String;t.exports=function(e){try{return r(e)}catch{return"Object"}}}),k=a((e,t)=>{var r=F(),n=w(),u=TypeError;t.exports=function(e){if(r(e))return e;throw u(n(e)+" is not a function")}}),j=a((e,t)=>{var r=k(),n=y();t.exports=function(e,t){var u=e[t];return n(u)?void 0:r(u)}}),P=a((e,t)=>{var r=c(),n=F(),u=A(),i=TypeError;t.exports=function(e,t){var a,s;if("string"===t&&n(a=e.toString)&&!u(s=r(a,e))||n(a=e.valueOf)&&!u(s=r(a,e))||"string"!==t&&n(a=e.toString)&&!u(s=r(a,e)))return s;throw i("Can't convert object to primitive value")}}),I=a((e,t)=>{t.exports=!1}),O=a((e,t)=>{var r=s(),n=Object.defineProperty;t.exports=function(e,t){try{n(r,e,{value:t,configurable:!0,writable:!0})}catch{r[e]=t}return t}}),L=a((e,t)=>{var r=s(),n=O(),u="__core-js_shared__",i=r[u]||n(u,{});t.exports=i}),_=a((e,t)=>{var r=I(),n=L();(t.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.1",mode:r?"pure":"global",copyright:"\xa9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),M=a((e,t)=>{var r=h(),n=Object;t.exports=function(e){return n(r(e))}}),$=a((e,t)=>{var r=f(),n=M(),u=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return u(n(e),t)}}),R=a((e,t)=>{var r=f(),n=0,u=Math.random(),i=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++n+u,36)}}),V=a((e,t)=>{var r=s(),n=_(),u=$(),i=R(),a=T(),o=B(),l=n("wks"),p=r.Symbol,c=p&&p.for,d=o?p:p&&p.withoutSetter||i;t.exports=function(e){if(!u(l,e)||!(a||"string"==typeof l[e])){var t="Symbol."+e;a&&u(p,e)?l[e]=p[e]:o&&c?l[e]=c(t):l[e]=d(t)}return l[e]}}),W=a((e,t)=>{var r=c(),n=A(),u=N(),i=j(),a=P(),s=V(),o=TypeError,l=s("toPrimitive");t.exports=function(e,t){if(!n(e)||u(e))return e;var s,p=i(e,l);if(p){if(void 0===t&&(t="default"),!n(s=r(p,e,t))||u(s))return s;throw o("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}}),q=a((e,t)=>{var r=W(),n=N();t.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}}),J=a((e,t)=>{var r=s(),n=A(),u=r.document,i=n(u)&&n(u.createElement);t.exports=function(e){return i?u.createElement(e):{}}}),U=a((e,t)=>{var r=l(),n=o(),u=J();t.exports=!r&&!n(function(){return 7!=Object.defineProperty(u("div"),"a",{get:function(){return 7}}).a})}),H=a(e=>{var t=l(),r=c(),n=d(),u=D(),i=E(),a=q(),s=$(),o=U(),p=Object.getOwnPropertyDescriptor;e.f=t?p:function(e,t){if(e=i(e),t=a(t),o)try{return p(e,t)}catch{}if(s(e,t))return u(!r(n.f,e,t),e[t])}}),G=a((e,t)=>{var r=l(),n=o();t.exports=r&&n(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}),X=a((e,t)=>{var r=A(),n=String,u=TypeError;t.exports=function(e){if(r(e))return e;throw u(n(e)+" is not an object")}}),z=a(e=>{var t=l(),r=U(),n=G(),u=X(),i=q(),a=TypeError,s=Object.defineProperty,o=Object.getOwnPropertyDescriptor,p="enumerable",c="configurable",d="writable";e.f=t?n?function(e,t,r){if(u(e),t=i(t),u(r),"function"==typeof e&&"prototype"===t&&"value"in r&&d in r&&!r[d]){var n=o(e,t);n&&n[d]&&(e[t]=r.value,r={configurable:c in r?r[c]:n[c],enumerable:p in r?r[p]:n[p],writable:!1})}return s(e,t,r)}:s:function(e,t,n){if(u(e),t=i(t),u(n),r)try{return s(e,t,n)}catch{}if("get"in n||"set"in n)throw a("Accessors not supported");return"value"in n&&(e[t]=n.value),e}}),K=a((e,t)=>{var r=l(),n=z(),u=D();t.exports=r?function(e,t,r){return n.f(e,t,u(1,r))}:function(e,t,r){return e[t]=r,e}}),Q=a((e,t)=>{var r=l(),n=$(),u=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,a=n(u,"name"),s=a&&(!r||r&&i(u,"name").configurable);t.exports={EXISTS:a,PROPER:a&&"something"===(function(){}).name,CONFIGURABLE:s}}),Y=a((e,t)=>{var r=f(),n=F(),u=L(),i=r(Function.toString);n(u.inspectSource)||(u.inspectSource=function(e){return i(e)}),t.exports=u.inspectSource}),Z=a((e,t)=>{var r=s(),n=F(),u=r.WeakMap;t.exports=n(u)&&/native code/.test(String(u))}),ee=a((e,t)=>{var r=_(),n=R(),u=r("keys");t.exports=function(e){return u[e]||(u[e]=n(e))}}),et=a((e,t)=>{t.exports={}}),er=a((e,t)=>{var r,n,u,i,a,o=Z(),l=s(),p=A(),c=K(),d=$(),D=L(),f=ee(),m=et(),g="Object already initialized",y=l.TypeError,h=l.WeakMap;o||D.state?((r=D.state||(D.state=new h)).get=r.get,r.has=r.has,r.set=r.set,u=function(e,t){if(r.has(e))throw y(g);return t.facade=e,r.set(e,t),t},i=function(e){return r.get(e)||{}},a=function(e){return r.has(e)}):(m[n=f("state")]=!0,u=function(e,t){if(d(e,n))throw y(g);return t.facade=e,c(e,n,t),t},i=function(e){return d(e,n)?e[n]:{}},a=function(e){return d(e,n)}),t.exports={set:u,get:i,has:a,enforce:function(e){return a(e)?i(e):u(e,{})},getterFor:function(e){return function(t){var r;if(!p(t)||(r=i(t)).type!==e)throw y("Incompatible receiver, "+e+" required");return r}}}}),en=a((e,t)=>{var r=o(),n=F(),u=$(),i=l(),a=Q().CONFIGURABLE,s=Y(),p=er(),c=p.enforce,d=p.get,D=Object.defineProperty,f=i&&!r(function(){return 8!==D(function(){},"length",{value:8}).length}),m=String(String).split("String"),g=t.exports=function(e,t,r){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!u(e,"name")||a&&e.name!==t)&&(i?D(e,"name",{value:t,configurable:!0}):e.name=t),f&&r&&u(r,"arity")&&e.length!==r.arity&&D(e,"length",{value:r.arity});try{r&&u(r,"constructor")&&r.constructor?i&&D(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var n=c(e);return u(n,"source")||(n.source=m.join("string"==typeof t?t:"")),e};Function.prototype.toString=g(function(){return n(this)&&d(this).source||s(this)},"toString")}),eu=a((e,t)=>{var r=F(),n=z(),u=en(),i=O();t.exports=function(e,t,a,s){s||(s={});var o=s.enumerable,l=void 0!==s.name?s.name:t;if(r(a)&&u(a,l,s),s.global)o?e[t]=a:i(t,a);else{try{s.unsafe?e[t]&&(o=!0):delete e[t]}catch{}o?e[t]=a:n.f(e,t,{value:a,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}}),ei=a((e,t)=>{var r=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?n:r)(t)}}),ea=a((e,t)=>{var r=ei();t.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}}),es=a((e,t)=>{var r=ea(),n=Math.max,u=Math.min;t.exports=function(e,t){var i=r(e);return i<0?n(i+t,0):u(i,t)}}),eo=a((e,t)=>{var r=ea(),n=Math.min;t.exports=function(e){return e>0?n(r(e),9007199254740991):0}}),el=a((e,t)=>{var r=eo();t.exports=function(e){return r(e.length)}}),ep=a((e,t)=>{var r=E(),n=es(),u=el(),i=function(e){return function(t,i,a){var s,o=r(t),l=u(o),p=n(a,l);if(e&&i!=i){for(;l>p;)if((s=o[p++])!=s)return!0}else for(;l>p;p++)if((e||p in o)&&o[p]===i)return e||p||0;return!e&&-1}};t.exports={includes:i(!0),indexOf:i(!1)}}),ec=a((e,t)=>{var r=f(),n=$(),u=E(),i=ep().indexOf,a=et(),s=r([].push);t.exports=function(e,t){var r,o=u(e),l=0,p=[];for(r in o)!n(a,r)&&n(o,r)&&s(p,r);for(;t.length>l;)n(o,r=t[l++])&&(~i(p,r)||s(p,r));return p}}),ed=a((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),eD=a(e=>{var t=ec(),r=ed().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,r)}}),ef=a(e=>{e.f=Object.getOwnPropertySymbols}),em=a((e,t)=>{var r=v(),n=f(),u=eD(),i=ef(),a=X(),s=n([].concat);t.exports=r("Reflect","ownKeys")||function(e){var t=u.f(a(e)),r=i.f;return r?s(t,r(e)):t}}),eg=a((e,t)=>{var r=$(),n=em(),u=H(),i=z();t.exports=function(e,t,a){for(var s=n(t),o=i.f,l=u.f,p=0;p{var r=o(),n=F(),u=/#|\.prototype\./,i=function(e,t){var u=s[a(e)];return u==p||u!=l&&(n(t)?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(u,".").toLowerCase()},s=i.data={},l=i.NATIVE="N",p=i.POLYFILL="P";t.exports=i}),eh=a((e,t)=>{var r=s(),n=H().f,u=K(),i=eu(),a=O(),o=eg(),l=ey();t.exports=function(e,t){var s,p,c,d,D,f=e.target,m=e.global,g=e.stat;if(s=m?r:g?r[f]||a(f,{}):(r[f]||{}).prototype)for(p in t){if(d=t[p],c=e.dontCallGetSet?(D=n(s,p))&&D.value:s[p],!l(m?p:f+(g?".":"#")+p,e.forced)&&void 0!==c){if(typeof d==typeof c)continue;o(d,c)}(e.sham||c&&c.sham)&&u(d,"sham",!0),i(s,p,d,e)}}}),eE=a((e,t)=>{var r=m();t.exports=Array.isArray||function(e){return"Array"==r(e)}}),eC=a((e,t)=>{var r=TypeError;t.exports=function(e){if(e>9007199254740991)throw r("Maximum allowed index exceeded");return e}}),eF=a((e,t)=>{var r=m(),n=f();t.exports=function(e){if("Function"===r(e))return n(e)}}),eA=a((e,t)=>{var r=eF(),n=k(),u=p(),i=r(r.bind);t.exports=function(e,t){return n(e),void 0===t?e:u?i(e,t):function(){return e.apply(t,arguments)}}}),ev=a((e,t)=>{var r=eE(),n=el(),u=eC(),i=eA(),a=function(e,t,s,o,l,p,c,d){for(var D,f,m=l,g=0,y=!!c&&i(c,d);g0&&r(D)?(f=n(D),m=a(e,t,D,f,m,p-1)-1):(u(m+1),e[m]=D),m++),g++;return m};t.exports=a}),ex=a((e,t)=>{var r=V()("toStringTag"),n={};n[r]="z",t.exports="[object z]"===String(n)}),eb=a((e,t)=>{var r=ex(),n=F(),u=m(),i=V()("toStringTag"),a=Object,s="Arguments"==u(function(){return arguments}()),o=function(e,t){try{return e[t]}catch{}};t.exports=r?u:function(e){var t,r,l;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=o(t=a(e),i))?r:s?u(t):"Object"==(l=u(t))&&n(t.callee)?"Arguments":l}}),eS=a((e,t)=>{var r=f(),n=o(),u=F(),i=eb(),a=v(),s=Y(),l=function(){},p=[],c=a("Reflect","construct"),d=/^\s*(?:class|function)\b/,D=r(d.exec),m=!d.exec(l),g=function(e){if(!u(e))return!1;try{return c(l,p,e),!0}catch{return!1}},y=function(e){if(!u(e))return!1;switch(i(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!D(d,s(e))}catch{return!0}};y.sham=!0,t.exports=!c||n(function(){var e;return g(g.call)||!g(Object)||!g(function(){e=!0})||e})?y:g}),eT=a((e,t)=>{var r=eE(),n=eS(),u=A(),i=V()("species"),a=Array;t.exports=function(e){var t;return r(e)&&(n(t=e.constructor)&&(t===a||r(t.prototype))?t=void 0:u(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?a:t}}),eB=a((e,t)=>{var r=eT();t.exports=function(e,t){return new(r(e))(0===t?0:t)}}),eN=a(()=>{var e=eh(),t=ev(),r=k(),n=M(),u=el(),i=eB();e({target:"Array",proto:!0},{flatMap:function(e){var a,s=n(this),o=u(s);return r(e),(a=i(s,0)).length=t(a,s,s,o,0,1,e,arguments.length>1?arguments[1]:void 0),a}})}),ew=a((e,t)=>{t.exports={}}),ek=a((e,t)=>{var r=V(),n=ew(),u=r("iterator"),i=Array.prototype;t.exports=function(e){return void 0!==e&&(n.Array===e||i[u]===e)}}),ej=a((e,t)=>{var r=eb(),n=j(),u=y(),i=ew(),a=V()("iterator");t.exports=function(e){if(!u(e))return n(e,a)||n(e,"@@iterator")||i[r(e)]}}),eP=a((e,t)=>{var r=c(),n=k(),u=X(),i=w(),a=ej(),s=TypeError;t.exports=function(e,t){var o=arguments.length<2?a(e):t;if(n(o))return u(r(o,e));throw s(i(e)+" is not iterable")}}),eI=a((e,t)=>{var r=c(),n=X(),u=j();t.exports=function(e,t,i){var a,s;n(e);try{if(!(a=u(e,"return"))){if("throw"===t)throw i;return i}a=r(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw i;if(s)throw a;return n(a),i}}),eO=a((e,t)=>{var r=eA(),n=c(),u=X(),i=w(),a=ek(),s=el(),o=x(),l=eP(),p=ej(),d=eI(),D=TypeError,f=function(e,t){this.stopped=e,this.result=t},m=f.prototype;t.exports=function(e,t,c){var g,y,h,E,C,F,A,v=c&&c.that,x=!!(c&&c.AS_ENTRIES),b=!!(c&&c.IS_RECORD),S=!!(c&&c.IS_ITERATOR),T=!!(c&&c.INTERRUPTED),B=r(t,v),N=function(e){return g&&d(g,"normal",e),new f(!0,e)},w=function(e){return x?(u(e),T?B(e[0],e[1],N):B(e[0],e[1])):T?B(e,N):B(e)};if(b)g=e.iterator;else if(S)g=e;else{if(!(y=p(e)))throw D(i(e)+" is not iterable");if(a(y)){for(h=0,E=s(e);E>h;h++)if((C=w(e[h]))&&o(m,C))return C;return new f(!1)}g=l(e,y)}for(F=b?e.next:g.next;!(A=n(F,g)).done;){try{C=w(A.value)}catch(e){d(g,"throw",e)}if("object"==typeof C&&C&&o(m,C))return C}return new f(!1)}}),eL=a((e,t)=>{var r=q(),n=z(),u=D();t.exports=function(e,t,i){var a=r(t);a in e?n.f(e,a,u(0,i)):e[a]=i}}),e_=a(()=>{var e=eh(),t=eO(),r=eL();e({target:"Object",stat:!0},{fromEntries:function(e){var n={};return t(e,function(e,t){r(n,e,t)},{AS_ENTRIES:!0}),n}})}),eM=a((e,t)=>{var r=en(),n=z();t.exports=function(e,t,u){return u.get&&r(u.get,t,{getter:!0}),u.set&&r(u.set,t,{setter:!0}),n.f(e,t,u)}}),e$=a((e,t)=>{var r=X();t.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}}),eR=a(()=>{var e=s(),t=l(),r=eM(),n=e$(),u=o(),i=e.RegExp,a=i.prototype;t&&u(function(){var e=!0;try{i(".","d")}catch{e=!1}var t={},r="",n=e?"dgimsy":"gimsy",u=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},s={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var o in e&&(s.hasIndices="d"),s)u(o,s[o]);return Object.getOwnPropertyDescriptor(a,"flags").get.call(t)!==n||r!==n})&&r(a,"flags",{configurable:!0,get:n})}),eV=a(()=>{var e=eh(),t=s();e({global:!0,forced:t.globalThis!==t},{globalThis:t})}),eW=a(()=>{eV()}),eq=a(()=>{var e=eh(),t=ev(),r=M(),n=el(),u=ea(),i=eB();e({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,a=r(this),s=n(a),o=i(a,0);return o.length=t(o,a,a,s,0,void 0===e?1:u(e)),o}})});return a((r,a)=>{var s=["cliName","cliCategory","cliDescription"],o=["_"],l=["languageId"];function p(e,t){if(null==e)return{};var r,n,u=function(e,t){if(null==e)return{};var r,n,u={},i=Object.keys(e);for(n=0;n=0||(u[r]=e[r]);return u}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(u[r]=e[r])}return u}eN(),e_(),eR(),eW(),eq();var c,d=Object.create,D=Object.defineProperty,f=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyNames,g=Object.getPrototypeOf,y=Object.prototype.hasOwnProperty,h=(e,t)=>function(){return e&&(t=(0,e[m(e)[0]])(e=0)),t},E=(e,t)=>function(){return t||(0,e[m(e)[0]])((t={exports:{}}).exports,t),t.exports},C=(e,t)=>{for(var r in t)D(e,r,{get:t[r],enumerable:!0})},F=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let u of m(t))y.call(e,u)||u===r||D(e,u,{get:()=>t[u],enumerable:!(n=f(t,u))||n.enumerable});return e},A=(e,t,r)=>(r=null!=e?d(g(e)):{},F(!t&&e&&e.__esModule?r:D(r,"default",{value:e,enumerable:!0}),e)),v=e=>F(D({},"__esModule",{value:!0}),e),x=h({""(){c={env:{},argv:[]}}}),b=E({"package.json"(e,t){t.exports={version:"2.8.8"}}}),S=E({"node_modules/diff/lib/diff/base.js"(e){function t(){}x(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=t,t.prototype={diff:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.callback;"function"==typeof r&&(n=r,r={}),this.options=r;var u=this;function i(e){return n?(setTimeout(function(){n(void 0,e)},0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var a=(t=this.removeEmpty(this.tokenize(t))).length,s=e.length,o=1,l=a+s,p=[{newPos:-1,components:[]}],c=this.extractCommon(p[0],t,e,0);if(p[0].newPos+1>=a&&c+1>=s)return i([{value:this.join(t),count:t.length}]);function d(){for(var r=-1*o;r<=o;r+=2){var n=void 0,l=p[r-1],c=p[r+1],d=(c?c.newPos:0)-r;l&&(p[r-1]=void 0);var D=l&&l.newPos+1=a&&d+1>=s)return i(function(e,t,r,n,u){for(var i=0,a=t.length,s=0,o=0;ie.length?r:e}),l.value=e.join(c)}else l.value=e.join(r.slice(s,s+l.count));s+=l.count,l.added||(o+=l.count)}}var d=t[a-1];return a>1&&"string"==typeof d.value&&(d.added||d.removed)&&e.equals("",d.value)&&(t[a-2].value+=d.value,t.pop()),t}(u,n.components,t,e,u.useLongestToken));p[r]=n}o++}if(n)!function e(){setTimeout(function(){if(o>l)return n();d()||e()},0)}();else for(;o<=l;){var D=d();if(D)return D}},pushComponent:function(e,t,r){var n=e[e.length-1];n&&n.added===t&&n.removed===r?e[e.length-1]={count:n.count+1,added:t,removed:r}:e.push({count:1,added:t,removed:r})},extractCommon:function(e,t,r,n){for(var u=t.length,i=r.length,a=e.newPos,s=a-n,o=0;a+11&&void 0!==arguments[1]?arguments[1]:{};return{type:"group",id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}x();var a={type:"break-parent"},s={type:"line",hard:!0},o={type:"line",hard:!0,literal:!0},l=r([s,a]),p=r([o,a]),c={type:"cursor",placeholder:Symbol("cursor")};t.exports={concat:r,join:function(e,t){let n=[];for(let r=0;r2&&void 0!==arguments[2]?arguments[2]:{};return{type:"if-break",breakContents:e,flatContents:t,groupId:r.groupId}},trim:{type:"trim"},indent:n,indentIfBreak:function(e,t){return{type:"indent-if-break",contents:e,groupId:t.groupId,negate:t.negate}},align:u,addAlignmentToDoc:function(e,t,r){let i=e;if(t>0){for(let e=0;e=0?e.charAt(t+1)===` +`?"crlf":"cr":"lf"},convertEndOfLineToChars:function(e){switch(e){case"cr":return"\r";case"crlf":return`\r +`;default:return` +`}},countEndOfLineChars:function(e,t){let r;switch(t){case` +`:r=/\n/g;break;case"\r":r=/\r/g;break;case`\r +`:r=/\r\n/g;break;default:throw Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let n=e.match(r);return n?n.length:0},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,` +`)}}}}),w=E({"src/utils/get-last.js"(e,t){x(),t.exports=e=>e[e.length-1]}}),k=h({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){x()}}),j=h({"node_modules/strip-ansi/index.js"(){x(),k()}}),P=h({"node_modules/is-fullwidth-code-point/index.js"(){x()}}),I=E({"node_modules/emoji-regex/index.js"(e,t){x(),t.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}}),O={};function L(e){if("string"!=typeof e||0===e.length||0===(e=function(e){if("string"!=typeof e)throw TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(function(){let{onlyFirst:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return RegExp("[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)|(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))",e?void 0:"g")}(),"")}(e)).length)return 0;e=e.replace((0,_.default)()," ");let t=0;for(let r=0;r=127&&n<=159||n>=768&&n<=879||(n>65535&&r++,t+=Number.isInteger(n)&&n>=4352&&(n<=4447||9001===n||9002===n||11904<=n&&n<=12871&&12351!==n||12880<=n&&n<=19903||19968<=n&&n<=42182||43360<=n&&n<=43388||44032<=n&&n<=55203||63744<=n&&n<=64255||65040<=n&&n<=65049||65072<=n&&n<=65131||65281<=n&&n<=65376||65504<=n&&n<=65510||110592<=n&&n<=110593||127488<=n&&n<=127569||131072<=n&&n<=262141)?2:1)}return t}C(O,{default:()=>L});var _,M=h({"node_modules/string-width/index.js"(){x(),j(),P(),_=A(I())}}),$=E({"src/utils/get-string-width.js"(e,t){x();var r=(M(),v(O)).default,n=/[^\x20-\x7F]/;t.exports=function(e){return e?n.test(e)?r(e):e.length:0}}}),R=E({"src/document/doc-utils.js"(e,t){x();var r=w(),{literalline:n,join:u}=B(),i=e=>Array.isArray(e)||e&&"concat"===e.type,a=e=>{if(Array.isArray(e))return e;if("concat"!==e.type&&"fill"!==e.type)throw Error("Expect doc type to be `concat` or `fill`.");return e.parts},s={};function o(e,t,r,n){let u=[e];for(;u.length>0;){let e=u.pop();if(e===s){r(u.pop());continue}if(r&&u.push(e,s),!t||!1!==t(e)){if(i(e)||"fill"===e.type){let t=a(e);for(let e=t.length,r=e-1;r>=0;--r)u.push(t[r])}else if("if-break"===e.type)e.flatContents&&u.push(e.flatContents),e.breakContents&&u.push(e.breakContents);else if("group"===e.type&&e.expandedStates){if(n)for(let t=e.expandedStates.length,r=t-1;r>=0;--r)u.push(e.expandedStates[r]);else u.push(e.contents)}else e.contents&&u.push(e.contents)}}}function l(e,t){let r=new Map;return function e(n){if(r.has(n))return r.get(n);let u=function(r){if(Array.isArray(r))return t(r.map(e));if("concat"===r.type||"fill"===r.type){let n=r.parts.map(e);return t(Object.assign(Object.assign({},r),{},{parts:n}))}if("if-break"===r.type){let n=r.breakContents&&e(r.breakContents),u=r.flatContents&&e(r.flatContents);return t(Object.assign(Object.assign({},r),{},{breakContents:n,flatContents:u}))}if("group"===r.type&&r.expandedStates){let n=r.expandedStates.map(e),u=n[0];return t(Object.assign(Object.assign({},r),{},{contents:u,expandedStates:n}))}if(r.contents){let n=e(r.contents);return t(Object.assign(Object.assign({},r),{},{contents:n}))}return t(r)}(n);return r.set(n,u),u}(e)}function p(e,t,r){let n=r,u=!1;return o(e,function(e){let r=t(e);if(void 0!==r&&(u=!0,n=r),u)return!1}),n}function c(e){if("group"===e.type&&e.break||"line"===e.type&&e.hard||"break-parent"===e.type)return!0}function d(e){if(e.length>0){let t=r(e);t.expandedStates||t.break||(t.break="propagated")}return null}function D(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}var f=(e,t)=>e&&"line"===e.type&&e.hard&&t&&"break-parent"===t.type;function m(e){return l(e,e=>(function(e){switch(e.type){case"fill":if(e.parts.every(e=>""===e))return"";break;case"group":if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if("group"===e.contents.type&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!e.contents)return"";break;case"if-break":if(!e.flatContents&&!e.breakContents)return""}if(!i(e))return e;let t=[];for(let n of a(e)){if(!n)continue;let[e,...u]=i(n)?a(n):[n];"string"==typeof e&&"string"==typeof r(t)?t[t.length-1]+=e:t.push(e),t.push(...u)}return 0===t.length?"":1===t.length?t[0]:Array.isArray(e)?t:Object.assign(Object.assign({},e),{},{parts:t})})(e))}function g(e){let t=[],n=e.filter(Boolean);for(;n.length>0;){let e=n.shift();if(e){if(i(e)){n.unshift(...a(e));continue}if(t.length>0&&"string"==typeof r(t)&&"string"==typeof e){t[t.length-1]+=e;continue}t.push(e)}}return t}function y(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n;return u(t,e.split(` +`)).parts}function h(e){if("line"===e.type)return!0}t.exports={isConcat:i,getDocParts:a,willBreak:function(e){return p(e,c,!1)},traverseDoc:o,findInDoc:p,mapDoc:l,propagateBreaks:function(e){let t=new Set,r=[];o(e,function(e){if("break-parent"===e.type&&d(r),"group"===e.type){if(r.push(e),t.has(e))return!1;t.add(e)}},function(e){"group"===e.type&&r.pop().break&&d(r)},!0)},removeLines:function(e){return l(e,D)},stripTrailingHardline:function(e){return function e(t){if(!t)return t;if(i(t)||"fill"===t.type){let n=a(t);for(;n.length>1&&f(...n.slice(-2));)n.length-=2;if(n.length>0){let t=e(r(n));n[n.length-1]=t}return Array.isArray(t)?n:Object.assign(Object.assign({},t),{},{parts:n})}switch(t.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{let r=e(t.contents);return Object.assign(Object.assign({},t),{},{contents:r})}case"if-break":{let r=e(t.breakContents),n=e(t.flatContents);return Object.assign(Object.assign({},t),{},{breakContents:r,flatContents:n})}}return t}(m(e))},normalizeParts:g,normalizeDoc:function(e){return l(e,e=>Array.isArray(e)?g(e):e.parts?Object.assign(Object.assign({},e),{},{parts:g(e.parts)}):e)},cleanDoc:m,replaceTextEndOfLine:y,replaceEndOfLine:function(e){return l(e,e=>"string"==typeof e&&e.includes(` +`)?y(e):e)},canBreak:function(e){return p(e,h,!1)}}}}),V=E({"src/document/doc-printer.js"(e,t){x();var r,{convertEndOfLineToChars:n}=N(),u=w(),i=$(),{fill:a,cursor:s,indent:o}=B(),{isConcat:l,getDocParts:p}=R();function c(){return{value:"",length:0,queue:[]}}function d(e,t,r){let n="dedent"===t.type?e.queue.slice(0,-1):[...e.queue,t],u="",i=0,a=0,s=0;for(let e of n)switch(e.type){case"indent":p(),r.useTabs?o(1):l(r.tabWidth);break;case"stringAlign":p(),u+=e.n,i+=e.n.length;break;case"numberAlign":a+=1,s+=e.n;break;default:throw Error(`Unexpected type '${e.type}'`)}return c(),Object.assign(Object.assign({},e),{},{value:u,length:i,queue:n});function o(e){u+=" ".repeat(e),i+=r.tabWidth*e}function l(e){u+=" ".repeat(e),i+=e}function p(){r.useTabs?(a>0&&o(a),a=0,s=0):c()}function c(){s>0&&l(s),a=0,s=0}}function D(e){if(0===e.length)return 0;let t=0;for(;e.length>0&&"string"==typeof u(e)&&/^[\t ]*$/.test(u(e));)t+=e.pop().length;if(e.length>0&&"string"==typeof u(e)){let r=u(e).replace(/[\t ]*$/,"");t+=u(e).length-r.length,e[e.length-1]=r}return t}function f(e,t,n,a,s){let o=t.length,c=[e],d=[];for(;n>=0;){if(0===c.length){if(0===o)return!0;c.push(t[--o]);continue}let{mode:e,doc:f}=c.pop();if("string"==typeof f)d.push(f),n-=i(f);else if(l(f)||"fill"===f.type){let t=p(f);for(let r=t.length-1;r>=0;r--)c.push({mode:e,doc:t[r]})}else switch(f.type){case"indent":case"align":case"indent-if-break":case"label":c.push({mode:e,doc:f.contents});break;case"trim":n+=D(d);break;case"group":{if(s&&f.break)return!1;let t=f.break?1:e,r=f.expandedStates&&1===t?u(f.expandedStates):f.contents;c.push({mode:t,doc:r});break}case"if-break":{let t=(f.groupId?r[f.groupId]||2:e)===1?f.breakContents:f.flatContents;t&&c.push({mode:e,doc:t});break}case"line":if(1===e||f.hard)return!0;f.soft||(d.push(" "),n--);break;case"line-suffix":a=!0;break;case"line-suffix-boundary":if(a)return!1}}return!1}t.exports={printDocToString:function(e,t){r={};let m=t.printWidth,g=n(t.endOfLine),y=0,h=[{ind:c(),mode:1,doc:e}],E=[],C=!1,F=[];for(;h.length>0;){let{ind:e,mode:n,doc:v}=h.pop();if("string"==typeof v){let e=g!==` +`?v.replace(/\n/g,g):v;E.push(e),y+=i(e)}else if(l(v)){let t=p(v);for(let r=t.length-1;r>=0;r--)h.push({ind:e,mode:n,doc:t[r]})}else switch(v.type){case"cursor":E.push(s.placeholder);break;case"indent":h.push({ind:d(e,{type:"indent"},t),mode:n,doc:v.contents});break;case"align":var A;h.push({ind:(A=v.n)===Number.NEGATIVE_INFINITY?e.root||c():A<0?d(e,{type:"dedent"},t):A?"root"===A.type?Object.assign(Object.assign({},e),{},{root:e}):d(e,{type:"string"==typeof A?"stringAlign":"numberAlign",n:A},t):e,mode:n,doc:v.contents});break;case"trim":y-=D(E);break;case"group":switch(n){case 2:if(!C){h.push({ind:e,mode:v.break?1:2,doc:v.contents});break}case 1:{C=!1;let t={ind:e,mode:2,doc:v.contents},r=m-y,n=F.length>0;if(!v.break&&f(t,h,r,n))h.push(t);else if(v.expandedStates){let t=u(v.expandedStates);if(v.break)h.push({ind:e,mode:1,doc:t});else for(let u=1;u=v.expandedStates.length){h.push({ind:e,mode:1,doc:t});break}else{let t={ind:e,mode:2,doc:v.expandedStates[u]};if(f(t,h,r,n)){h.push(t);break}}}else h.push({ind:e,mode:1,doc:v.contents})}}v.id&&(r[v.id]=u(h).mode);break;case"fill":{let t=m-y,{parts:r}=v;if(0===r.length)break;let[u,i]=r,s={ind:e,mode:2,doc:u},o={ind:e,mode:1,doc:u},l=f(s,[],t,F.length>0,!0);if(1===r.length){l?h.push(s):h.push(o);break}let p={ind:e,mode:2,doc:i},c={ind:e,mode:1,doc:i};if(2===r.length){l?h.push(p,s):h.push(c,o);break}r.splice(0,2);let d={ind:e,mode:n,doc:a(r)};f({ind:e,mode:2,doc:[u,i,r[0]]},[],t,F.length>0,!0)?h.push(d,p,s):l?h.push(d,c,s):h.push(d,c,o);break}case"if-break":case"indent-if-break":{let t=v.groupId?r[v.groupId]:n;if(1===t){let t="if-break"===v.type?v.breakContents:v.negate?v.contents:o(v.contents);t&&h.push({ind:e,mode:n,doc:t})}if(2===t){let t="if-break"===v.type?v.flatContents:v.negate?o(v.contents):v.contents;t&&h.push({ind:e,mode:n,doc:t})}break}case"line-suffix":F.push({ind:e,mode:n,doc:v.contents});break;case"line-suffix-boundary":F.length>0&&h.push({ind:e,mode:n,doc:{type:"line",hard:!0}});break;case"line":switch(n){case 2:if(v.hard)C=!0;else{v.soft||(E.push(" "),y+=1);break}case 1:if(F.length>0){h.push({ind:e,mode:n,doc:v},...F.reverse()),F.length=0;break}v.literal?e.root?(E.push(g,e.root.value),y=e.root.length):(E.push(g),y=0):(y-=D(E),E.push(g+e.value),y=e.length)}break;case"label":h.push({ind:e,mode:n,doc:v.contents})}0===h.length&&F.length>0&&(h.push(...F.reverse()),F.length=0)}let v=E.indexOf(s.placeholder);if(-1!==v){let e=E.indexOf(s.placeholder,v+1),t=E.slice(0,v).join(""),r=E.slice(v+1,e).join("");return{formatted:t+r+E.slice(e+1).join(""),cursorNodeStart:t.length,cursorNodeText:r}}return{formatted:E.join("")}}}}}),W=E({"src/document/doc-debug.js"(e,t){x();var{isConcat:r,getDocParts:n}=R();t.exports={printDocToDebug:function(e){let t=Object.create(null),u=new Set;return function e(t,u,a){if("string"==typeof t)return JSON.stringify(t);if(r(t)){let r=n(t).map(e).filter(Boolean);return 1===r.length?r[0]:`[${r.join(", ")}]`}if("line"===t.type){let e=Array.isArray(a)&&a[u+1]&&"break-parent"===a[u+1].type;return t.literal?e?"literalline":"literallineWithoutBreakParent":t.hard?e?"hardline":"hardlineWithoutBreakParent":t.soft?"softline":"line"}if("break-parent"===t.type)return Array.isArray(a)&&a[u-1]&&"line"===a[u-1].type&&a[u-1].hard?void 0:"breakParent";if("trim"===t.type)return"trim";if("indent"===t.type)return"indent("+e(t.contents)+")";if("align"===t.type)return t.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+e(t.contents)+")":t.n<0?"dedent("+e(t.contents)+")":"root"===t.n.type?"markAsRoot("+e(t.contents)+")":"align("+JSON.stringify(t.n)+", "+e(t.contents)+")";if("if-break"===t.type)return"ifBreak("+e(t.breakContents)+(t.flatContents?", "+e(t.flatContents):"")+(t.groupId?(t.flatContents?"":', ""')+`, { groupId: ${i(t.groupId)} }`:"")+")";if("indent-if-break"===t.type){let r=[];t.negate&&r.push("negate: true"),t.groupId&&r.push(`groupId: ${i(t.groupId)}`);let n=r.length>0?`, { ${r.join(", ")} }`:"";return`indentIfBreak(${e(t.contents)}${n})`}if("group"===t.type){let r=[];t.break&&"propagated"!==t.break&&r.push("shouldBreak: true"),t.id&&r.push(`id: ${i(t.id)}`);let n=r.length>0?`, { ${r.join(", ")} }`:"";return t.expandedStates?`conditionalGroup([${t.expandedStates.map(t=>e(t)).join(",")}]${n})`:`group(${e(t.contents)}${n})`}if("fill"===t.type)return`fill([${t.parts.map(t=>e(t)).join(", ")}])`;if("line-suffix"===t.type)return"lineSuffix("+e(t.contents)+")";if("line-suffix-boundary"===t.type)return"lineSuffixBoundary";if("label"===t.type)return`label(${JSON.stringify(t.label)}, ${e(t.contents)})`;throw Error("Unknown doc type "+t.type)}(function e(t){if(!t)return"";if(r(t)){let u=[];for(let i of n(t))if(r(i))u.push(...e(i).parts);else{let t=e(i);""!==t&&u.push(t)}return{type:"concat",parts:u}}return"if-break"===t.type?Object.assign(Object.assign({},t),{},{breakContents:e(t.breakContents),flatContents:e(t.flatContents)}):"group"===t.type?Object.assign(Object.assign({},t),{},{contents:e(t.contents),expandedStates:t.expandedStates&&t.expandedStates.map(e)}):"fill"===t.type?{type:"fill",parts:t.parts.map(e)}:t.contents?Object.assign(Object.assign({},t),{},{contents:e(t.contents)}):t}(e));function i(e){if("symbol"!=typeof e)return JSON.stringify(String(e));if(e in t)return t[e];let r=String(e).slice(7,-1)||"symbol";for(let n=0;;n++){let i=r+(n>0?` #${n}`:"");if(!u.has(i))return u.add(i),t[e]=`Symbol.for(${JSON.stringify(i)})`}}}}}}),q=E({"src/document/index.js"(e,t){x(),t.exports={builders:B(),printer:V(),utils:R(),debug:W()}}}),J={};function U(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}C(J,{default:()=>U});var H=h({"node_modules/escape-string-regexp/index.js"(){x()}}),G=E({"node_modules/semver/internal/debug.js"(e,t){x();var r="object"==typeof c&&c.env&&c.env.NODE_DEBUG&&/\bsemver\b/i.test(c.env.NODE_DEBUG)?function(){for(var e=arguments.length,t=Array(e),r=0;r{};t.exports=r}}),X=E({"node_modules/semver/internal/constants.js"(e,t){x();var r=Number.MAX_SAFE_INTEGER||9007199254740991;t.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:r,MAX_SAFE_COMPONENT_LENGTH:16}}}),z=E({"node_modules/semver/internal/re.js"(e,t){x();var{MAX_SAFE_COMPONENT_LENGTH:r}=X(),n=G(),u=(e=t.exports={}).re=[],i=e.src=[],a=e.t={},s=0,o=(e,t,r)=>{let o=s++;n(e,o,t),a[e]=o,i[o]=t,u[o]=new RegExp(t,r?"g":void 0)};o("NUMERICIDENTIFIER","0|[1-9]\\d*"),o("NUMERICIDENTIFIERLOOSE","[0-9]+"),o("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),o("MAINVERSION",`(${i[a.NUMERICIDENTIFIER]})\\.(${i[a.NUMERICIDENTIFIER]})\\.(${i[a.NUMERICIDENTIFIER]})`),o("MAINVERSIONLOOSE",`(${i[a.NUMERICIDENTIFIERLOOSE]})\\.(${i[a.NUMERICIDENTIFIERLOOSE]})\\.(${i[a.NUMERICIDENTIFIERLOOSE]})`),o("PRERELEASEIDENTIFIER",`(?:${i[a.NUMERICIDENTIFIER]}|${i[a.NONNUMERICIDENTIFIER]})`),o("PRERELEASEIDENTIFIERLOOSE",`(?:${i[a.NUMERICIDENTIFIERLOOSE]}|${i[a.NONNUMERICIDENTIFIER]})`),o("PRERELEASE",`(?:-(${i[a.PRERELEASEIDENTIFIER]}(?:\\.${i[a.PRERELEASEIDENTIFIER]})*))`),o("PRERELEASELOOSE",`(?:-?(${i[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[a.PRERELEASEIDENTIFIERLOOSE]})*))`),o("BUILDIDENTIFIER","[0-9A-Za-z-]+"),o("BUILD",`(?:\\+(${i[a.BUILDIDENTIFIER]}(?:\\.${i[a.BUILDIDENTIFIER]})*))`),o("FULLPLAIN",`v?${i[a.MAINVERSION]}${i[a.PRERELEASE]}?${i[a.BUILD]}?`),o("FULL",`^${i[a.FULLPLAIN]}$`),o("LOOSEPLAIN",`[v=\\s]*${i[a.MAINVERSIONLOOSE]}${i[a.PRERELEASELOOSE]}?${i[a.BUILD]}?`),o("LOOSE",`^${i[a.LOOSEPLAIN]}$`),o("GTLT","((?:<|>)?=?)"),o("XRANGEIDENTIFIERLOOSE",`${i[a.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),o("XRANGEIDENTIFIER",`${i[a.NUMERICIDENTIFIER]}|x|X|\\*`),o("XRANGEPLAIN",`[v=\\s]*(${i[a.XRANGEIDENTIFIER]})(?:\\.(${i[a.XRANGEIDENTIFIER]})(?:\\.(${i[a.XRANGEIDENTIFIER]})(?:${i[a.PRERELEASE]})?${i[a.BUILD]}?)?)?`),o("XRANGEPLAINLOOSE",`[v=\\s]*(${i[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[a.XRANGEIDENTIFIERLOOSE]})(?:${i[a.PRERELEASELOOSE]})?${i[a.BUILD]}?)?)?`),o("XRANGE",`^${i[a.GTLT]}\\s*${i[a.XRANGEPLAIN]}$`),o("XRANGELOOSE",`^${i[a.GTLT]}\\s*${i[a.XRANGEPLAINLOOSE]}$`),o("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),o("COERCERTL",i[a.COERCE],!0),o("LONETILDE","(?:~>?)"),o("TILDETRIM",`(\\s*)${i[a.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",o("TILDE",`^${i[a.LONETILDE]}${i[a.XRANGEPLAIN]}$`),o("TILDELOOSE",`^${i[a.LONETILDE]}${i[a.XRANGEPLAINLOOSE]}$`),o("LONECARET","(?:\\^)"),o("CARETTRIM",`(\\s*)${i[a.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",o("CARET",`^${i[a.LONECARET]}${i[a.XRANGEPLAIN]}$`),o("CARETLOOSE",`^${i[a.LONECARET]}${i[a.XRANGEPLAINLOOSE]}$`),o("COMPARATORLOOSE",`^${i[a.GTLT]}\\s*(${i[a.LOOSEPLAIN]})$|^$`),o("COMPARATOR",`^${i[a.GTLT]}\\s*(${i[a.FULLPLAIN]})$|^$`),o("COMPARATORTRIM",`(\\s*)${i[a.GTLT]}\\s*(${i[a.LOOSEPLAIN]}|${i[a.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",o("HYPHENRANGE",`^\\s*(${i[a.XRANGEPLAIN]})\\s+-\\s+(${i[a.XRANGEPLAIN]})\\s*$`),o("HYPHENRANGELOOSE",`^\\s*(${i[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[a.XRANGEPLAINLOOSE]})\\s*$`),o("STAR","(<|>)?=?\\s*\\*"),o("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),o("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),K=E({"node_modules/semver/internal/parse-options.js"(e,t){x();var r=["includePrerelease","loose","rtl"];t.exports=e=>e?"object"!=typeof e?{loose:!0}:r.filter(t=>e[t]).reduce((e,t)=>(e[t]=!0,e),{}):{}}}),Q=E({"node_modules/semver/internal/identifiers.js"(e,t){x();var r=/^[0-9]+$/,n=(e,t)=>{let n=r.test(e),u=r.test(t);return n&&u&&(e=+e,t=+t),e===t?0:n&&!u?-1:u&&!n?1:en(t,e)}}}),Y=E({"node_modules/semver/classes/semver.js"(e,t){x();var r=G(),{MAX_LENGTH:n,MAX_SAFE_INTEGER:u}=X(),{re:i,t:a}=z(),s=K(),{compareIdentifiers:o}=Q(),l=class{constructor(e,t){if(t=s(t),e instanceof l){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw TypeError(`Invalid Version: ${e}`);if(e.length>n)throw TypeError(`version is longer than ${n} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let o=e.trim().match(t.loose?i[a.LOOSE]:i[a.FULL]);if(!o)throw TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+o[1],this.minor=+o[2],this.patch=+o[3],this.major>u||this.major<0)throw TypeError("Invalid major version");if(this.minor>u||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>u||this.patch<0)throw TypeError("Invalid patch version");o[4]?this.prerelease=o[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(0===o(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}};t.exports=l}}),Z=E({"node_modules/semver/functions/compare.js"(e,t){x();var r=Y();t.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))}}),ee=E({"node_modules/semver/functions/lt.js"(e,t){x();var r=Z();t.exports=(e,t,n)=>0>r(e,t,n)}}),et=E({"node_modules/semver/functions/gte.js"(e,t){x();var r=Z();t.exports=(e,t,n)=>r(e,t,n)>=0}}),er=E({"src/utils/arrayify.js"(e,t){x(),t.exports=(e,t)=>Object.entries(e).map(e=>{let[r,n]=e;return Object.assign({[t]:r},n)})}}),en=E({"node_modules/outdent/lib/index.js"(e,t){function r(){for(var e=[],t=0;ttypeof WeakMap?new WeakMap:{add:r,delete:r,get:r,set:r,has:function(e){return!1}}}x(),Object.defineProperty(e,"__esModule",{value:!0}),e.outdent=void 0;var u=Object.prototype.hasOwnProperty,i=function(e,t){return u.call(e,t)};function a(e,t){for(var r in t)i(t,r)&&(e[r]=t[r]);return e}var s=/^[ \t]*(?:\r\n|\r|\n)/,o=/(?:\r\n|\r|\n)[ \t]*$/,l=/^(?:[\r\n]|$)/,p=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,c=/^[ \t]*[\r\n][ \t\r\n]*$/;function d(e,t,r){var n=0,u=e[0].match(p);u&&(n=u[1].length);var i=RegExp("(\\r\\n|\\r|\\n).{0,"+n+"}","g");t&&(e=e.slice(1));var a=r.newline,l=r.trimLeadingNewline,c=r.trimTrailingNewline,d="string"==typeof a,D=e.length;return e.map(function(e,t){return e=e.replace(i,"$1"),0===t&&l&&(e=e.replace(s,"")),t===D-1&&c&&(e=e.replace(o,"")),d&&(e=e.replace(/\r\n|\n|\r/g,function(e){return a})),e})}var D=function e(t){var r=n(),u=n();return a(function n(s){for(var o=[],p=1;ptypeof t)try{t.exports=D,Object.defineProperty(D,"__esModule",{value:!0}),D.default=D,D.outdent=D}catch{}}}),eu=E({"src/main/core-options.js"(e,t){x();var{outdent:r}=en(),n="Config",u="Editor",i="Other",a="Global",s="Special",o={cursorOffset:{since:"1.4.0",category:s,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:r` + Print (to stderr) where a cursor at the given position would move to after formatting. + This option cannot be used with --range-start and --range-end. + `,cliCategory:u},endOfLine:{since:"1.15.0",category:a,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:r` + Maintain existing + (mixed values within one file are normalised by looking at what's used after the first line) + `}]},filepath:{since:"1.4.0",category:s,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:i,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:s,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:i},parser:{since:"0.0.10",category:a,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:e=>"string"==typeof e||"function"==typeof e,choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:a,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:n},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:a,description:r` + Custom directory that contains prettier plugins in node_modules subdirectory. + Overrides default behavior when plugins are searched relatively to the location of Prettier. + Multiple values are accepted. + `,exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:n},printWidth:{since:"0.0.0",category:a,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:s,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:r` + Format code ending at a given character offset (exclusive). + The range will extend forwards to the end of the selected statement. + This option cannot be used with --cursor-offset. + `,cliCategory:u},rangeStart:{since:"1.4.0",category:s,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:r` + Format code starting at a given character offset. + The range will extend backwards to the start of the first line containing the selected statement. + This option cannot be used with --cursor-offset. + `,cliCategory:u},requirePragma:{since:"1.7.0",category:s,type:"boolean",default:!1,description:r` + Require either '@prettier' or '@format' to be present in the file's first docblock comment + in order for it to be formatted. + `,cliCategory:i},tabWidth:{type:"int",category:a,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:a,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:a,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};t.exports={CATEGORY_CONFIG:n,CATEGORY_EDITOR:u,CATEGORY_FORMAT:"Format",CATEGORY_OTHER:i,CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:a,CATEGORY_SPECIAL:s,options:o}}}),ei=E({"src/main/support.js"(e,t){x();var r={compare:Z(),lt:ee(),gte:et()},n=er(),u=b().version,i=eu().options;t.exports={getSupportInfo:function(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:a=!1,showInternal:o=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=u.split("-",1)[0],c=e.flatMap(e=>e.languages||[]).filter(D),d=n(Object.assign({},...e.map(e=>{let{options:t}=e;return t}),i),"name").filter(e=>D(e)&&f(e)).sort((e,t)=>e.name===t.name?0:e.name{Array.isArray((t=Object.assign({},t)).default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(D).sort((e,t)=>r.compare(t.since,e.since))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter(e=>D(e)&&f(e)),"parser"===t.name&&function(e,t,r){let n=new Set(e.choices.map(e=>e.value));for(let u of t)if(u.parsers){for(let t of u.parsers)if(!n.has(t)){n.add(t);let i=r.find(e=>e.parsers&&e.parsers[t]),a=u.name;i&&i.name&&(a+=` (plugin: ${i.name})`),e.choices.push({value:t,description:a})}}}(t,c,e));let n=Object.fromEntries(e.filter(e=>e.defaultOptions&&void 0!==e.defaultOptions[t.name]).map(e=>[e.name,e.defaultOptions[t.name]]));return Object.assign(Object.assign({},t),{},{pluginDefaults:n})});return{languages:c,options:d};function D(e){return t||!("since"in e)||e.since&&r.gte(l,e.since)}function f(e){return a||!("deprecated"in e)||e.deprecated&&r.lt(l,e.deprecated)}}}}}),ea=E({"src/utils/is-non-empty-array.js"(e,t){x(),t.exports=function(e){return Array.isArray(e)&&e.length>0}}}),es=E({"src/utils/text/skip.js"(e,t){function r(e){return(t,r,n)=>{let u=n&&n.backwards;if(!1===r)return!1;let{length:i}=t,a=r;for(;a>=0&&a2&&void 0!==arguments[2]?arguments[2]:{},n=o(e,r.backwards?t-1:t,r),u=D(e,n,r);return n!==u}function g(e,t){let r=null,n=t;for(;n!==r;)r=n,n=l(e,n),n=c(e,n),n=o(e,n);return n=d(e,n),!1!==(n=D(e,n))&&m(e,n)}function y(e,t,r){return f(e,r(t))}function h(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=0;for(let u=r;u(e.match(i.regex)||[]).length?i:u),a}function C(e,t,r){let n='"'===t?"'":'"',u=e.replace(/\\(.)|(["'])/gs,(e,u,i)=>u===n?u:i===t?"\\"+i:i||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(u)?u:"\\"+u));return t+u+t}function F(e,t){let r,n;(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=(r=e.type||e.kind||"(unknown type)",(n=String(e.name||e.id&&("object"==typeof e.id?e.id.name:e.id)||e.key&&("object"==typeof e.key?e.key.name:e.key)||e.value&&("object"==typeof e.value?"":String(e.value))||e.operator||"")).length>20&&(n=n.slice(0,19)+"…"),r+(n?" "+n:""))}t.exports={inferParserByLanguage:function(e,t){let{languages:r}=u({plugins:t.plugins}),n=r.find(t=>{let{name:r}=t;return r.toLowerCase()===e})||r.find(t=>{let{aliases:r}=t;return Array.isArray(r)&&r.includes(e)})||r.find(t=>{let{extensions:r}=t;return Array.isArray(r)&&r.includes(`.${e}`)});return n&&n.parsers[0]},getStringWidth:a,getMaxContinuousCount:function(e,t){let n=e.match(RegExp(`(${r(t)})+`,"g"));return null===n?0:n.reduce((e,r)=>Math.max(e,r.length/t.length),0)},getMinNotPresentContinuousCount:function(e,t){let n=e.match(RegExp(`(${r(t)})+`,"g"));if(null===n)return 0;let u=new Map,i=0;for(let e of n){let r=e.length/t.length;u.set(r,!0),r>i&&(i=r)}for(let e=1;ee[e.length-2],getLast:n,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:f,getNextNonSpaceNonCommentCharacterIndex:y,getNextNonSpaceNonCommentCharacter:function(e,t,r){return e.charAt(y(e,t,r))},skip:function(e){return(t,r,n)=>{let u=n&&n.backwards;if(!1===r)return!1;let{length:i}=t,a=r;for(;a>=0&&a2&&void 0!==arguments[2]?arguments[2]:{};return o(e,r.backwards?t-1:t,r)!==t},getAlignmentSize:h,getIndentSize:function(e,t){let r=e.lastIndexOf(` +`);return -1===r?0:h(e.slice(r+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:E,printString:function(e,t){let r=e.slice(1,-1),n="json"!==t.parser&&("json5"!==t.parser||"preserve"!==t.quoteProps||t.singleQuote)?t.__isInHtmlAttribute?"'":E(r,t.singleQuote?"'":'"').quote:'"';return C(r,n,!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml))},printNumber:function(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")},makeString:C,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,F(e,t)},addDanglingComment:function(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),F(e,t)},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,F(e,t)},isFrontMatterNode:function(e){return e&&"front-matter"===e.type},isNonEmptyArray:i,createGroupIdMapper:function(e){let t=new WeakMap;return function(r){return t.has(r)||t.set(r,Symbol(e)),t.get(r)}}}}}),eD={};function ef(e,t){for(var r=0,n=e.length-1;n>=0;n--){var u=e[n];"."===u?e.splice(n,1):".."===u?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function em(){for(var e="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var n=r>=0?arguments[r]:"/";if("string"!=typeof n)throw TypeError("Arguments to path.resolve must be strings");n&&(e=n+"/"+e,t="/"===n.charAt(0))}return e=ef(ev(e.split("/"),function(e){return!!e}),!t).join("/"),(t?"/":"")+e||"."}function eg(e){var t=ey(e),r="/"===ew(e,-1);return(e=ef(ev(e.split("/"),function(e){return!!e}),!t).join("/"))||t||(e="."),e&&r&&(e+="/"),(t?"/":"")+e}function ey(e){return"/"===e.charAt(0)}function eh(){var e=Array.prototype.slice.call(arguments,0);return eg(ev(e,function(e,t){if("string"!=typeof e)throw TypeError("Arguments to path.join must be strings");return e}).join("/"))}function eE(e,t){function r(e){for(var t=0;t=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=em(e).substr(1),t=em(t).substr(1);for(var n=r(e.split("/")),u=r(t.split("/")),i=Math.min(n.length,u.length),a=i,s=0;seF,default:()=>eB,delimiter:()=>eT,dirname:()=>eC,extname:()=>eA,isAbsolute:()=>ey,join:()=>eh,normalize:()=>eg,relative:()=>eE,resolve:()=>em,sep:()=>eS});var ex,eb,eS,eT,eB,ew,ek=h({"node-modules-polyfills:path"(){x(),ex=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,eb=function(e){return ex.exec(e).slice(1)},eB={extname:eA,basename:eF,dirname:eC,sep:eS="/",delimiter:eT=":",relative:eE,join:eh,isAbsolute:ey,normalize:eg,resolve:em},ew=function(e,t,r){return e.substr(t,r)}}}),ej=E({"node-modules-polyfills-commonjs:path"(e,t){x();var r=(ek(),v(eD));if(r&&r.default)for(let e in t.exports=r.default,r)t.exports[e]=r[e];else r&&(t.exports=r)}}),eP=E({"src/common/errors.js"(e,t){x(),t.exports={ConfigError:class extends Error{},DebugError:class extends Error{},UndefinedParserError:class extends Error{},ArgExpansionBailout:class extends Error{}}}}),eI={};function eO(e,t){function r(){this.constructor=e}e9(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function eL(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var u=0,n=Object.getOwnPropertySymbols(e);ut.indexOf(n[u])&&Object.prototype.propertyIsEnumerable.call(e,n[u])&&(r[n[u]]=e[n[u]]);return r}function eM(e,t,r,n){var u,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(u=e[s])&&(a=(i<3?u(a):i>3?u(t,r,a):u(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a}function e$(e,t){return function(r,n){t(r,n,e)}}function eV(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function eJ(e,t,r,n){return new(r||(r=Promise))(function(u,i){function a(e){try{o(n.next(e))}catch(e){i(e)}}function s(e){try{o(n.throw(e))}catch(e){i(e)}}function o(e){var t;e.done?u(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}o((n=n.apply(e,t||[])).next())})}function eU(e,t){var r,n,u,i,a={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(u=2&i[0]?n.return:i[0]?n.throw||((u=n.return)&&u.call(n),0):n.next)&&!(u=u.call(n,i[1])).done)return u;switch(n=0,u&&(i=[2&i[0],u.value]),i[0]){case 0:case 1:u=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(u=(u=a.trys).length>0&&u[u.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!u||i[1]>u[0]&&i[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ez(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,u,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){u={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(u)throw u.error}}return a}function eK(){for(var e=[],t=0;t1||s(e,t)})})}function s(e,t){try{var r;(r=u[e](t)).value instanceof eY?Promise.resolve(r.value.v).then(o,l):p(i[0][2],r)}catch(e){p(i[0][3],e)}}function o(e){s("next",e)}function l(e){s("throw",e)}function p(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function e0(e){var t,r;return t={},n("next"),n("throw",function(e){throw e}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,u){t[n]=e[n]?function(t){return(r=!r)?{value:eY(e[n](t)),done:"return"===n}:u?u(t):t}:u}}function e1(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=eX(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,u){(function(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)})(n,u,(t=e[r](t)).done,t.value)})}}}function e2(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function e3(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function e8(e){return e&&e.__esModule?e:{default:e}}function e6(e,t){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return t.get(e)}function e7(e,t,r){if(!t.has(e))throw TypeError("attempted to set private field on non-instance");return t.set(e,r),r}C(eI,{__assign:()=>e5,__asyncDelegator:()=>e0,__asyncGenerator:()=>eZ,__asyncValues:()=>e1,__await:()=>eY,__awaiter:()=>eJ,__classPrivateFieldGet:()=>e6,__classPrivateFieldSet:()=>e7,__createBinding:()=>eH,__decorate:()=>eM,__exportStar:()=>eG,__extends:()=>eO,__generator:()=>eU,__importDefault:()=>e8,__importStar:()=>e3,__makeTemplateObject:()=>e2,__metadata:()=>eV,__param:()=>e$,__read:()=>ez,__rest:()=>eL,__spread:()=>eK,__spreadArrays:()=>eQ,__values:()=>eX});var e9,e5,e4=h({"node_modules/tslib/tslib.es6.js"(){x(),e9=function(e,t){return(e9=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},e5=function(){return(e5=Object.assign||function(e){for(var t,r=1,n=arguments.length;r/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(t){if(null===t||"object"!=typeof t)return JSON.stringify(t);if(Array.isArray(t))return`[${t.map(t=>e.apiDescriptor.value(t)).join(", ")}]`;let r=Object.keys(t);return 0===r.length?"{}":`{ ${r.map(r=>`${e.apiDescriptor.key(r)}: ${e.apiDescriptor.value(t[r])}`).join(", ")} }`},pair:t=>{let{key:r,value:n}=t;return e.apiDescriptor.value({[r]:n})}}}}),tt=E({"node_modules/vnopts/lib/descriptors/index.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0}),(e4(),v(eI)).__exportStar(te(),e)}}),tr=E({"scripts/build/shims/chalk.cjs"(e,t){x();var r=e=>e;r.grey=r,r.red=r,r.bold=r,r.yellow=r,r.blue=r,r.default=r,t.exports=r}}),tn=E({"node_modules/vnopts/lib/handlers/deprecated/common.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=tr();e.commonDeprecatedHandler=(e,r,n)=>{let{descriptor:u}=n,i=[`${t.default.yellow("string"==typeof e?u.key(e):u.pair(e))} is deprecated`];return r&&i.push(`we now treat it as ${t.default.blue("string"==typeof r?u.key(r):u.pair(r))}`),i.join("; ")+"."}}}),tu=E({"node_modules/vnopts/lib/handlers/deprecated/index.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0}),(e4(),v(eI)).__exportStar(tn(),e)}}),ti=E({"node_modules/vnopts/lib/handlers/invalid/common.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=tr();e.commonInvalidHandler=(e,r,n)=>`Invalid ${t.default.red(n.descriptor.key(e))} value. Expected ${t.default.blue(n.schemas[e].expected(n))}, but received ${t.default.red(n.descriptor.value(r))}.`}}),ta=E({"node_modules/vnopts/lib/handlers/invalid/index.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0}),(e4(),v(eI)).__exportStar(ti(),e)}}),ts=E({"node_modules/vnopts/node_modules/leven/index.js"(e,t){x();var r=[],n=[];t.exports=function(e,t){if(e===t)return 0;var u=e;e.length>t.length&&(e=t,t=u);var i=e.length,a=t.length;if(0===i)return a;if(0===a)return i;for(;i>0&&e.charCodeAt(~-i)===t.charCodeAt(~-a);)i--,a--;if(0===i)return a;for(var s=0;sl?c>l?l+1:c:c>p?p+1:c;return l}}}),to=E({"node_modules/vnopts/lib/handlers/unknown/leven.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=tr(),r=ts();e.levenUnknownHandler=(e,n,u)=>{let{descriptor:i,logger:a,schemas:s}=u,o=[`Ignored unknown option ${t.default.yellow(i.pair({key:e,value:n}))}.`],l=Object.keys(s).sort().find(t=>3>r(e,t));l&&o.push(`Did you mean ${t.default.blue(i.key(l))}?`),a.warn(o.join(" "))}}}),tl=E({"node_modules/vnopts/lib/handlers/unknown/index.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0}),(e4(),v(eI)).__exportStar(to(),e)}}),tp=E({"node_modules/vnopts/lib/handlers/index.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=(e4(),v(eI));t.__exportStar(tu(),e),t.__exportStar(ta(),e),t.__exportStar(tl(),e)}}),tc=E({"node_modules/vnopts/lib/schema.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function r(e,r){let u=new e(r),i=Object.create(u);for(let e of t)e in r&&(i[e]=function(e,t,r){return"function"==typeof e?function(){for(var n=arguments.length,u=Array(n),i=0;ie}(r[e],u,n.prototype[e].length));return i}e.createSchema=r;var n=class{constructor(e){this.name=e.name}static create(e){return r(this,e)}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,r){return e}preprocess(e,t){return e}postprocess(e,t){return e}};e.Schema=n}}),td=E({"node_modules/vnopts/lib/schemas/alias.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=tc(),r=class extends t.Schema{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}};e.AliasSchema=r}}),tD=E({"node_modules/vnopts/lib/schemas/any.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=tc(),r=class extends t.Schema{expected(){return"anything"}validate(){return!0}};e.AnySchema=r}}),tf=E({"node_modules/vnopts/lib/schemas/array.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=(e4(),v(eI)),r=tc(),n=class extends r.Schema{constructor(e){var{valueSchema:r,name:n=r.name}=e;super(Object.assign({},t.__rest(e,["valueSchema","name"]),{name:n})),this._valueSchema=r}expected(e){return`an array of ${this._valueSchema.expected(e)}`}validate(e,t){if(!Array.isArray(e))return!1;let r=[];for(let n of e){let e=t.normalizeValidateResult(this._valueSchema.validate(n,t),n);!0!==e&&r.push(e.value)}return 0===r.length||{value:r}}deprecated(e,t){let r=[];for(let n of e){let e=t.normalizeDeprecatedResult(this._valueSchema.deprecated(n,t),n);!1!==e&&r.push(...e.map(e=>{let{value:t}=e;return{value:[t]}}))}return r}forward(e,t){let r=[];for(let n of e){let e=t.normalizeForwardResult(this._valueSchema.forward(n,t),n);r.push(...e.map(u))}return r}redirect(e,t){let r=[],n=[];for(let i of e){let e=t.normalizeRedirectResult(this._valueSchema.redirect(i,t),i);"remain"in e&&r.push(e.remain),n.push(...e.redirect.map(u))}return 0===r.length?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}};function u(e){let{from:t,to:r}=e;return{from:[t],to:r}}e.ArraySchema=n}}),tm=E({"node_modules/vnopts/lib/schemas/boolean.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=tc(),r=class extends t.Schema{expected(){return"true or false"}validate(e){return"boolean"==typeof e}};e.BooleanSchema=r}}),tg=E({"node_modules/vnopts/lib/utils.js"(e){function t(e,t){return"string"==typeof e||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function r(e,r){return void 0===e?[]:Array.isArray(e)?e.map(e=>t(e,r)):[t(e,r)]}x(),Object.defineProperty(e,"__esModule",{value:!0}),e.recordFromArray=function(e,t){let r=Object.create(null);for(let n of e){let e=n[t];if(r[e])throw Error(`Duplicate ${t} ${JSON.stringify(e)}`);r[e]=n}return r},e.mapFromArray=function(e,t){let r=new Map;for(let n of e){let e=n[t];if(r.has(e))throw Error(`Duplicate ${t} ${JSON.stringify(e)}`);r.set(e,n)}return r},e.createAutoChecklist=function(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return!!e[r]||(e[r]=!0,!1)}},e.partition=function(e,t){let r=[],n=[];for(let u of e)t(u)?r.push(u):n.push(u);return[r,n]},e.isInt=function(e){return e===Math.floor(e)},e.comparePrimitive=function(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,u=["undefined","object","boolean","number","string"];return r!==n?u.indexOf(r)-u.indexOf(n):"string"!==r?Number(e)-Number(t):e.localeCompare(t)},e.normalizeDefaultResult=function(e){return void 0===e?{}:e},e.normalizeValidateResult=function(e,t){return!0===e||(!1===e?{value:t}:e)},e.normalizeDeprecatedResult=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!1!==e&&(!0===e?!!r||[{value:t}]:"value"in e?[e]:0!==e.length&&e)},e.normalizeTransferResult=t,e.normalizeForwardResult=r,e.normalizeRedirectResult=function(e,t){let n=r("object"==typeof e&&"redirect"in e?e.redirect:e,t);return 0===n.length?{remain:t,redirect:n}:"object"==typeof e&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}}}}),ty=E({"node_modules/vnopts/lib/schemas/choice.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=tc(),r=tg(),n=class extends t.Schema{constructor(e){super(e),this._choices=r.mapFromArray(e.choices.map(e=>e&&"object"==typeof e?e:{value:e}),"value")}expected(e){let{descriptor:t}=e,n=Array.from(this._choices.keys()).map(e=>this._choices.get(e)).filter(e=>!e.deprecated).map(e=>e.value).sort(r.comparePrimitive).map(t.value),u=n.slice(0,-2),i=n.slice(-2);return u.concat(i.join(" or ")).join(", ")}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return!!t&&!!t.deprecated&&{value:e}}forward(e){let t=this._choices.get(e);return t?t.forward:void 0}redirect(e){let t=this._choices.get(e);return t?t.redirect:void 0}};e.ChoiceSchema=n}}),th=E({"node_modules/vnopts/lib/schemas/number.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=tc(),r=class extends t.Schema{expected(){return"a number"}validate(e,t){return"number"==typeof e}};e.NumberSchema=r}}),tE=E({"node_modules/vnopts/lib/schemas/integer.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=tg(),r=th(),n=class extends r.NumberSchema{expected(){return"an integer"}validate(e,r){return!0===r.normalizeValidateResult(super.validate(e,r),e)&&t.isInt(e)}};e.IntegerSchema=n}}),tC=E({"node_modules/vnopts/lib/schemas/string.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=tc(),r=class extends t.Schema{expected(){return"a string"}validate(e){return"string"==typeof e}};e.StringSchema=r}}),tF=E({"node_modules/vnopts/lib/schemas/index.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=(e4(),v(eI));t.__exportStar(td(),e),t.__exportStar(tD(),e),t.__exportStar(tf(),e),t.__exportStar(tm(),e),t.__exportStar(ty(),e),t.__exportStar(tE(),e),t.__exportStar(th(),e),t.__exportStar(tC(),e)}}),tA=E({"node_modules/vnopts/lib/defaults.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=te(),r=tn(),n=ta(),u=to();e.defaultDescriptor=t.apiDescriptor,e.defaultUnknownHandler=u.levenUnknownHandler,e.defaultInvalidHandler=n.commonInvalidHandler,e.defaultDeprecatedHandler=r.commonDeprecatedHandler}}),tv=E({"node_modules/vnopts/lib/normalize.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=tA(),r=tg();e.normalize=(e,t,r)=>new n(t,r).normalize(e);var n=class{constructor(e,n){let{logger:u=console,descriptor:i=t.defaultDescriptor,unknown:a=t.defaultUnknownHandler,invalid:s=t.defaultInvalidHandler,deprecated:o=t.defaultDeprecatedHandler}=n||{};this._utils={descriptor:i,logger:u||{warn:()=>{}},schemas:r.recordFromArray(e,"name"),normalizeDefaultResult:r.normalizeDefaultResult,normalizeDeprecatedResult:r.normalizeDeprecatedResult,normalizeForwardResult:r.normalizeForwardResult,normalizeRedirectResult:r.normalizeRedirectResult,normalizeValidateResult:r.normalizeValidateResult},this._unknownHandler=a,this._invalidHandler=s,this._deprecatedHandler=o,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=r.createAutoChecklist()}normalize(e){let t={},n=[e],u=()=>{for(;0!==n.length;){let e=n.shift(),r=this._applyNormalization(e,t);n.push(...r)}};for(let e of(u(),Object.keys(this._utils.schemas))){let u=this._utils.schemas[e];if(!(e in t)){let t=r.normalizeDefaultResult(u.default(this._utils));"value"in t&&n.push({[e]:t.value})}}for(let e of(u(),Object.keys(this._utils.schemas))){let r=this._utils.schemas[e];e in t&&(t[e]=r.postprocess(t[e],this._utils))}return t}_applyNormalization(e,t){let n=[],[u,i]=r.partition(Object.keys(e),e=>e in this._utils.schemas);for(let i of u){let u=this._utils.schemas[i],a=u.preprocess(e[i],this._utils),s=r.normalizeValidateResult(u.validate(a,this._utils),a);if(!0!==s){let{value:e}=s,t=this._invalidHandler(i,e,this._utils);throw"string"==typeof t?Error(t):t}let o=e=>{let{from:t,to:r}=e;n.push("string"==typeof r?{[r]:t}:{[r.key]:r.value})},l=e=>{let{value:t,redirectTo:n}=e,s=r.normalizeDeprecatedResult(u.deprecated(t,this._utils),a,!0);if(!1!==s){if(!0===s)this._hasDeprecationWarned(i)||this._utils.logger.warn(this._deprecatedHandler(i,n,this._utils));else for(let{value:e}of s){let t={key:i,value:e};if(!this._hasDeprecationWarned(t)){let r="string"==typeof n?{key:n,value:e}:n;this._utils.logger.warn(this._deprecatedHandler(t,r,this._utils))}}}};r.normalizeForwardResult(u.forward(a,this._utils),a).forEach(o);let p=r.normalizeRedirectResult(u.redirect(a,this._utils),a);if(p.redirect.forEach(o),"remain"in p){let e=p.remain;t[i]=i in t?u.overlap(t[i],e,this._utils):e,l({value:e})}for(let{from:e,to:t}of p.redirect)l({value:e,redirectTo:t})}for(let r of i){let u=e[r],i=this._unknownHandler(r,u,this._utils);if(i)for(let e of Object.keys(i)){let r={[e]:i[e]};e in this._utils.schemas?n.push(r):Object.assign(t,r)}}return n}};e.Normalizer=n}}),tx=E({"node_modules/vnopts/lib/index.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=(e4(),v(eI));t.__exportStar(tt(),e),t.__exportStar(tp(),e),t.__exportStar(tF(),e),t.__exportStar(tv(),e),t.__exportStar(tc(),e)}}),tb=E({"src/main/options-normalizer.js"(e,t){x();var r,n=tx(),u=w(),i={key:e=>1===e.length?`-${e}`:`--${e}`,value:e=>n.apiDescriptor.value(e),pair:e=>{let{key:t,value:r}=e;return!1===r?`--no-${t}`:!0===r?i.key(t):""===r?`${i.key(t)} without an argument`:`${i.key(t)}=${r}`}},a=e=>{let{colorsModule:t,levenshteinDistance:r}=e;return class extends n.ChoiceSchema{constructor(e){let{name:t,flags:r}=e;super({name:t,choices:r}),this._flags=[...r].sort()}preprocess(e,n){if("string"==typeof e&&e.length>0&&!this._flags.includes(e)){let u=this._flags.find(t=>3>r(t,e));if(u)return n.logger.warn(`Unknown flag ${t.yellow(n.descriptor.value(e))}, did you mean ${t.blue(n.descriptor.value(u))}?`),u}return e}expected(){return"a flag"}}};function s(e,t){let{logger:s=!1,isCLI:l=!1,passThrough:c=!1,colorsModule:d=null,levenshteinDistance:D=null}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},f=c?Array.isArray(c)?(e,t)=>c.includes(e)?{[e]:t}:void 0:(e,t)=>({[e]:t}):(e,t,r)=>{let u=r.schemas,{_:i}=u,a=p(u,o);return n.levenUnknownHandler(e,t,Object.assign(Object.assign({},r),{},{schemas:a}))},m=l?i:n.apiDescriptor,g=function(e,t){let{isCLI:r,colorsModule:i,levenshteinDistance:s}=t,o=[];for(let t of(r&&o.push(n.AnySchema.create({name:"_"})),e))o.push(function(e,t){let{isCLI:r,optionInfos:i,colorsModule:s,levenshteinDistance:o}=t,{name:l}=e;if("plugin-search-dir"===l||"pluginSearchDirs"===l)return n.AnySchema.create({name:l,preprocess:e=>(!1===e||(e=Array.isArray(e)?e:[e]),e),validate:e=>!1===e||e.every(e=>"string"==typeof e),expected:()=>"false or paths to plugin search dir"});let p={name:l},c,d={};switch(e.type){case"int":c=n.IntegerSchema,r&&(p.preprocess=Number);break;case"string":case"path":c=n.StringSchema;break;case"choice":c=n.ChoiceSchema,p.choices=e.choices.map(t=>"object"==typeof t&&t.redirect?Object.assign(Object.assign({},t),{},{redirect:{to:{key:e.name,value:t.redirect}}}):t);break;case"boolean":c=n.BooleanSchema;break;case"flag":c=a({colorsModule:s,levenshteinDistance:o}),p.flags=i.flatMap(e=>[e.alias,e.description&&e.name,e.oppositeDescription&&`no-${e.name}`].filter(Boolean));break;default:throw Error(`Unexpected type ${e.type}`)}if(e.exception?p.validate=(t,r,n)=>e.exception(t)||r.validate(t,n):p.validate=(e,t,r)=>void 0===e||t.validate(e,r),e.redirect&&(d.redirect=t=>t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(d.deprecated=!0),r&&!e.array){let e=p.preprocess||(e=>e);p.preprocess=(t,r,n)=>r.preprocess(e(Array.isArray(t)?u(t):t),n)}return e.array?n.ArraySchema.create(Object.assign(Object.assign(Object.assign({},r?{preprocess:e=>Array.isArray(e)?e:[e]}:{}),d),{},{valueSchema:c.create(p)})):c.create(Object.assign(Object.assign({},p),d))}(t,{isCLI:r,optionInfos:e,colorsModule:i,levenshteinDistance:s})),t.alias&&r&&o.push(n.AliasSchema.create({name:t.alias,sourceName:t.name}));return o}(t,{isCLI:l,colorsModule:d,levenshteinDistance:D}),y=new n.Normalizer(g,{logger:s,unknown:f,descriptor:m}),h=!1!==s;h&&r&&(y._hasDeprecationWarned=r);let E=y.normalize(e);return h&&(r=y._hasDeprecationWarned),l&&!1===E["plugin-search"]&&(E["plugin-search-dir"]=!1),E}t.exports={normalizeApiOptions:function(e,t,r){return s(e,t,r)},normalizeCliOptions:function(e,t,r){return s(e,t,Object.assign({isCLI:!0},r))}}}}),tS=E({"src/language-js/loc.js"(e,t){x();var r=ea();function n(e){var t,u;let i=e.range?e.range[0]:e.start,a=null!==(t=null===(u=e.declaration)||void 0===u?void 0:u.decorators)&&void 0!==t?t:e.decorators;return r(a)?Math.min(n(a[0]),i):i}function u(e){return e.range?e.range[1]:e.end}function i(e,t){let r=n(e);return Number.isInteger(r)&&r===n(t)}t.exports={locStart:n,locEnd:u,hasSameLocStart:i,hasSameLoc:function(e,t){let r;return i(e,t)&&Number.isInteger(r=u(e))&&r===u(t)}}}}),tT=E({"src/main/load-parser.js"(e,t){x(),t.exports=()=>{}}}),tB=E({"scripts/build/shims/babel-highlight.cjs"(e,t){x();var r=tr();t.exports={shouldHighlight:()=>!1,getChalk:()=>r}}}),tN=E({"node_modules/@babel/code-frame/lib/index.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=u,e.default=function(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!r){r=!0;let e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";c.emitWarning?c.emitWarning(e,"DeprecationWarning"):(Error(e).name="DeprecationWarning",console.warn(Error(e)))}return u(e,{start:{column:n=Math.max(n,0),line:t}},i)};var t=tB(),r=!1,n=/\r\n|[\n\r\u2028\u2029]/;function u(e,r){let u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=(u.highlightCode||u.forceColor)&&(0,t.shouldHighlight)(u),a=(0,t.getChalk)(u),s={gutter:a.grey,marker:a.red.bold,message:a.red.bold},o=(e,t)=>i?e(t):t,{start:l,end:p,markerLines:c}=function(e,t,r){let n=Object.assign({column:0,line:-1},e.start),u=Object.assign({},n,e.end),{linesAbove:i=2,linesBelow:a=3}=r||{},s=n.line,o=n.column,l=u.line,p=u.column,c=Math.max(s-(i+1),0),d=Math.min(t.length,l+a);-1===s&&(c=0),-1===l&&(d=t.length);let D=l-s,f={};if(D)for(let e=0;e<=D;e++){let r=e+s;if(o){if(0===e){let e=t[r-1].length;f[r]=[o,e-o+1]}else if(e===D)f[r]=[0,p];else{let n=t[r-e].length;f[r]=[0,n]}}else f[r]=!0}else o===p?o?f[s]=[o,0]:f[s]=!0:f[s]=[o,p-o];return{start:c,end:d,markerLines:f}}(r,e.split(n),u),d=r.start&&"number"==typeof r.start.column,D=String(p).length,f=(i?(0,t.default)(e,u):e).split(n,p).slice(l,p).map((e,t)=>{let r=l+1+t,n=` ${` ${r}`.slice(-D)} |`,i=c[r],a=!c[r+1];if(!i)return` ${o(s.gutter,n)}${e.length>0?` ${e}`:""}`;{let t="";if(Array.isArray(i)){let r=e.slice(0,Math.max(i[0]-1,0)).replace(/[^\t]/g," "),l=i[1]||1;t=[` + `,o(s.gutter,n.replace(/\d/g," "))," ",r,o(s.marker,"^").repeat(l)].join(""),a&&u.message&&(t+=" "+o(s.message,u.message))}return[o(s.marker,">"),o(s.gutter,n),e.length>0?` ${e}`:"",t].join("")}}).join(` +`);return u.message&&!d&&(f=`${" ".repeat(D+1)}${u.message} +${f}`),i?a.reset(f):f}}}),tw=E({"src/main/parser.js"(e,t){x();var{ConfigError:r}=eP(),n=tS(),{locStart:u,locEnd:i}=(tT(),n),a=Object.getOwnPropertyNames,s=Object.getOwnPropertyDescriptor;function o(e){let t={};for(let r of e.plugins)if(r.parsers)for(let e of a(r.parsers))Object.defineProperty(t,e,s(r.parsers,e));return t}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o(e);if("function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:u,locEnd:i};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new r(`Couldn't resolve parser "${e.parser}". Parsers must be explicitly added to the standalone bundle.`)}}t.exports={parse:function(e,t){let r=o(t),n=Object.defineProperties({},Object.fromEntries(Object.keys(r).map(e=>[e,{enumerable:!0,get:()=>r[e].parse}]))),u=l(t,r);try{return u.preprocess&&(e=u.preprocess(e,t)),{text:e,ast:u.parse(e,n,t)}}catch(r){let{loc:t}=r;if(t){let{codeFrameColumns:n}=tN();throw r.codeFrame=n(e,t,{highlightCode:!0}),r.message+=` +`+r.codeFrame,r}throw r}},resolveParser:l}}}),tk=E({"src/main/options.js"(e,t){x();var r=ej(),{UndefinedParserError:n}=eP(),{getSupportInfo:u}=ei(),i=tb(),{resolveParser:a}=tw(),s={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function o(e,t){let n=r.basename(e).toLowerCase(),i=u({plugins:t}).languages.filter(e=>null!==e.since).find(e=>e.extensions&&e.extensions.some(e=>n.endsWith(e))||e.filenames&&e.filenames.some(e=>e.toLowerCase()===n));return i&&i.parsers[0]}t.exports={normalize:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Object.assign({},e),l=u({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,p=Object.assign(Object.assign({},s),Object.fromEntries(l.filter(e=>void 0!==e.default).map(e=>[e.name,e.default])));if(!r.parser){if(r.filepath){if(r.parser=o(r.filepath,r.plugins),!r.parser)throw new n(`No parser could be inferred for file: ${r.filepath}`)}else(t.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),r.parser="babel"}let c=a(i.normalizeApiOptions(r,[l.find(e=>"parser"===e.name)],{passThrough:!0,logger:!1}));r.astFormat=c.astFormat,r.locEnd=c.locEnd,r.locStart=c.locStart;let d=function(e){let{astFormat:t}=e;if(!t)throw Error("getPlugin() requires astFormat to be set");let r=e.plugins.find(e=>e.printers&&e.printers[t]);if(!r)throw Error(`Couldn't find plugin for AST format "${t}"`);return r}(r);r.printer=d.printers[r.astFormat];let D=Object.fromEntries(l.filter(e=>e.pluginDefaults&&void 0!==e.pluginDefaults[d.name]).map(e=>[e.name,e.pluginDefaults[d.name]]));for(let[e,t]of Object.entries(Object.assign(Object.assign({},p),D)))(null===r[e]||void 0===r[e])&&(r[e]=t);return"json"===r.parser&&(r.trailingComma="none"),i.normalizeApiOptions(r,l,Object.assign({passThrough:Object.keys(s)},t))},hiddenDefaults:s,inferParser:o}}}),tj=E({"src/main/massage-ast.js"(e,t){x(),t.exports=function e(t,r,n){if(Array.isArray(t))return t.map(t=>e(t,r,n)).filter(Boolean);if(!t||"object"!=typeof t)return t;let u=r.printer.massageAstNode,i;i=u&&u.ignoredProperties?u.ignoredProperties:new Set;let a={};for(let[n,u]of Object.entries(t))i.has(n)||"function"==typeof u||(a[n]=e(u,r,t));if(u){let e=u(t,a,n);if(null===e)return;if(e)return e}return a}}}),tP=E({"scripts/build/shims/assert.cjs"(e,t){x();var r=()=>{};r.ok=r,r.strictEqual=r,t.exports=r}}),tI=E({"src/main/comments.js"(e,t){x();var r=tP(),{builders:{line:n,hardline:u,breakParent:i,indent:a,lineSuffix:s,join:o,cursor:l}}=q(),{hasNewline:p,skipNewline:c,skipSpaces:d,isPreviousLineEmpty:D,addLeadingComment:f,addDanglingComment:m,addTrailingComment:g}=ed(),y=new WeakMap;function h(e,t,r){if(!e)return;let{printer:n,locStart:u,locEnd:i}=t;if(r){if(n.canAttachComment&&n.canAttachComment(e)){let t;for(t=r.length-1;t>=0&&!(u(r[t])<=u(e)&&i(r[t])<=i(e));--t);r.splice(t+1,0,e);return}}else if(y.has(e))return y.get(e);let a=n.getCommentChildNodes&&n.getCommentChildNodes(e,t)||"object"==typeof e&&Object.entries(e).filter(e=>{let[t]=e;return"enclosingNode"!==t&&"precedingNode"!==t&&"followingNode"!==t&&"tokens"!==t&&"comments"!==t&&"parent"!==t}).map(e=>{let[,t]=e;return t});if(a){for(let n of(r||(r=[],y.set(e,r)),a))h(n,t,r);return r}}var E=()=>!1,C=e=>!/[\S\n\u2028\u2029]/.test(e);function F(e,t,n){let u=e.length;if(0===u)return;let{precedingNode:i,followingNode:a,enclosingNode:s}=e[0],o=n.printer.getGapRegex&&n.printer.getGapRegex(s)||/^[\s(]*$/,l=n.locStart(a),p;for(p=u;p>0;--p){let{comment:u,precedingNode:s,followingNode:c}=e[p-1];r.strictEqual(s,i),r.strictEqual(c,a);let d=t.slice(n.locEnd(u),l);if(o.test(d))l=n.locStart(u);else break}for(let[t,{comment:r}]of e.entries())t1&&e.comments.sort((e,t)=>n.locStart(e)-n.locStart(t));e.length=0}function A(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function v(e,t,r){let n=r.locStart(t)-1;for(let t=1;t!r.has(e)));let f=a===t.cursorNode;if(0===o.length){let e=f?l:"";return{leading:e,trailing:e}}let m=[],g=[];return e.each(()=>{let a=e.getValue();if(r&&r.has(a))return;let{leading:o,trailing:l}=a;o?m.push(function(e,t){let r=e.getValue(),i=[A(e,t)],{printer:a,originalText:s,locStart:o,locEnd:l}=t;if(a.isBlockComment&&a.isBlockComment(r)){let e=p(s,l(r))?p(s,o(r),{backwards:!0})?u:n:" ";i.push(e)}else i.push(u);let D=c(s,d(s,l(r)));return!1!==D&&p(s,D)&&i.push(u),i}(e,t)):l&&g.push(function(e,t){let r=e.getValue(),n=A(e,t),{printer:a,originalText:o,locStart:l}=t,c=a.isBlockComment&&a.isBlockComment(r);if(p(o,l(r),{backwards:!0}))return s([u,D(o,r,l)?u:"",n]);let d=[" ",n];return c||(d=[s(d),i]),d}(e,t))},"comments"),f&&(m.unshift(l),g.push(l)),{leading:m,trailing:g}}t.exports={attach:function(e,t,r,n){if(!Array.isArray(e))return;let u=[],{locStart:i,locEnd:a,printer:{handleComments:s={}}}=n,{avoidAstMutation:o,ownLine:l=E,endOfLine:c=E,remaining:d=E}=s,D=e.map((u,i)=>Object.assign(Object.assign({},function e(t,r,n,u){let{locStart:i,locEnd:a}=n,s=i(r),o=a(r),l=h(t,n),p,c,d=0,D=l.length;for(;d>1,u=l[t],f=i(u),m=a(u);if(f<=s&&o<=m)return e(u,r,n,u);if(m<=s){p=u,d=t+1;continue}if(o<=f){c=u,D=t;continue}throw Error("Comment location overlaps with node location")}if(u&&"TemplateLiteral"===u.type){let{quasis:e}=u,t=v(e,r,n);p&&v(e,p,n)!==t&&(p=null),c&&v(e,c,n)!==t&&(c=null)}return{enclosingNode:u,precedingNode:p,followingNode:c}}(t,u,n)),{},{comment:u,text:r,options:n,ast:t,isLastComment:e.length-1===i}));for(let[e,t]of D.entries()){let r,{comment:n,precedingNode:s,enclosingNode:y,followingNode:h,text:E,options:A,ast:v,isLastComment:x}=t;if("json"===A.parser||"json5"===A.parser||"__js_expression"===A.parser||"__vue_expression"===A.parser||"__vue_ts_expression"===A.parser){if(i(n)-i(v)<=0){f(v,n);continue}if(a(n)-a(v)>=0){g(v,n);continue}}if(o?r=[t]:(n.enclosingNode=y,n.precedingNode=s,n.followingNode=h,r=[n,E,A,v,x]),function(e,t,r,n){let{comment:u,precedingNode:i}=r[n],{locStart:a,locEnd:s}=t,o=a(u);if(i)for(let t=n-1;t>=0;t--){let{comment:n,precedingNode:u}=r[t];if(u!==i||!C(e.slice(s(n),o)))break;o=a(n)}return p(e,o,{backwards:!0})}(E,A,D,e))n.placement="ownLine",l(...r)||(h?f(h,n):s?g(s,n):m(y||v,n));else if(function(e,t,r,n){let{comment:u,followingNode:i}=r[n],{locStart:a,locEnd:s}=t,o=s(u);if(i)for(let t=n+1;t0&&u[e-1].followingNode!==h&&F(u,E,A),u.push(t)}else s?g(s,n):h?f(h,n):m(y||v,n)}}if(F(u,r,n),!o)for(let t of e)delete t.precedingNode,delete t.enclosingNode,delete t.followingNode},printComments:function(e,t,r,n){let{leading:u,trailing:i}=b(e,r,n);return u||i?[u,t,i]:t},printCommentsSeparately:b,printDanglingComments:function(e,t,r,n){let i=[],s=e.getValue();return s&&s.comments&&(e.each(()=>{let r=e.getValue();!r.leading&&!r.trailing&&(!n||n(r))&&i.push(A(e,t))},"comments"),0!==i.length)?r?o(u,i):a([u,o(u,i)]):""},getSortedChildNodes:h,ensureAllCommentsPrinted:function(e){if(e)for(let t of e){if(!t.printed)throw Error('Comment "'+t.value.trim()+'" was not printed. Please report this error!');delete t.printed}}}}}),tO=E({"src/common/ast-path.js"(e,t){x();var r=w();function n(e,t){let r=u(e.stack,t);return -1===r?null:e.stack[r]}function u(e,t){for(let r=e.length-1;r>=0;r-=2){let n=e[r];if(n&&!Array.isArray(n)&&--t<0)return r}return -1}var i=class{constructor(e){this.stack=[e]}getName(){let{stack:e}=this,{length:t}=e;return t>1?e[t-2]:null}getValue(){return r(this.stack)}getNode(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return n(this,e)}getParentNode(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return n(this,e+1)}call(e){let{stack:t}=this,{length:n}=t,u=r(t);for(var i=arguments.length,a=Array(i>1?i-1:0),s=1;s1&&void 0!==arguments[1]?arguments[1]:0,r=u(this.stack,t+1),n=this.stack.splice(r+1),i=e(this);return this.stack.push(...n),i}each(e){let{stack:t}=this,{length:n}=t,u=r(t);for(var i=arguments.length,a=Array(i>1?i-1:0),s=1;s1?r-1:0),u=1;u{t[n]=e(r,n,u)},...n),t}try(e){let{stack:t}=this,r=[...t];try{return e()}finally{t.length=0,t.push(...r)}}match(){let e=this.stack.length-1,t=null,r=this.stack[e--];for(var n=arguments.length,u=Array(n),i=0;i(function(e,t,i,a){let{stripTrailingHardline:s=!1}=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=n(Object.assign(Object.assign(Object.assign({},i),t),{},{parentParser:i.parser,originalText:e}),{passThrough:!0}),l=tw().parse(e,o),{ast:p}=l;e=l.text;let c=p.comments;delete p.comments,u.attach(c,p,e,o),o[Symbol.for("comments")]=c||[],o[Symbol.for("tokens")]=p.tokens||[];let d=a(p,o);return u.ensureAllCommentsPrinted(c),s?"string"==typeof d?d.replace(/(?:\r?\n)*$/,""):r(d):d})(e,t,i,a,s),i)}}}}),t_=E({"src/main/ast-to-doc.js"(e,t){x();var r=tO(),{builders:{hardline:n,addAlignmentToDoc:u},utils:{propagateBreaks:i}}=q(),{printComments:a}=tI(),s=tL();t.exports=function e(t,o){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,{printer:p}=o;p.preprocess&&(t=p.preprocess(t,o));let c=new Map,d=new r(t),D=f();return l>0&&(D=u([n,D],l,o.tabWidth)),i(D),D;function f(e,t){return void 0===e||e===d?m(t):Array.isArray(e)?d.call(()=>m(t),...e):d.call(()=>m(t),e)}function m(t){let r=d.getValue(),n=r&&"object"==typeof r&&void 0===t;if(n&&c.has(r))return c.get(r);let u=function(t,r,n,u){let i=t.getValue(),{printer:o}=r,l,p;if(o.hasPrettierIgnore&&o.hasPrettierIgnore(t))({doc:l,printedComments:p}=function(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:u,locEnd:i}=t,a=u(e),s=i(e),o=new Set;for(let e of n)u(e)>=a&&i(e)<=s&&(e.printed=!0,o.add(e));return{doc:r.slice(a,s),printedComments:o}}(i,r));else{if(i)try{l=s.printSubtree(t,n,r,e)}catch(e){if(globalThis.PRETTIER_DEBUG)throw e}l||(l=o.print(t,r,n,u))}return o.willPrintOwnComments&&o.willPrintOwnComments(t,r)||(l=a(t,l,r,p)),l}(d,o,f,t);return n&&c.set(r,u),u}}}}),tM=E({"src/main/range-util.js"(e,t){x();var r=tP(),n=tI(),u=e=>{let{parser:t}=e;return"json"===t||"json5"===t||"json-stringify"===t};function i(e){let t=e.length-1;for(;;){let r=e[t];if(r&&("Program"===r.type||"File"===r.type))t--;else break}return e.slice(0,t+1)}function a(e,t,r,u){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],s=arguments.length>5?arguments[5]:void 0,{locStart:o,locEnd:l}=r,p=o(e),c=l(e);if(!(t>c||tc);let m=e.slice(c,d).search(/\S/),g=-1===m;if(!g)for(c+=m;d>c&&!/\S/.test(e[d-1]);--d);let y=a(n,c,t,(e,r)=>l(t,e,r),[],"rangeStart"),h=g?y:a(n,d,t,e=>l(t,e),[],"rangeEnd");if(!y||!h)return{rangeStart:0,rangeEnd:0};if(u(t)){let e,t;let r=(e=[y.node,...y.parentNodes],t=new Set([h.node,...h.parentNodes]),e.find(e=>s.has(e.type)&&t.has(e)));o=r,p=r}else({startNode:o,endNode:p}=function(e,t,r){let{locStart:n,locEnd:u}=r,a=e.node,s=t.node;if(a===s)return{startNode:a,endNode:s};let o=n(e.node);for(let e of i(t.parentNodes))if(n(e)>=o)s=e;else break;let l=u(t.node);for(let t of i(e.parentNodes)){if(u(t)<=l)a=t;else break;if(a===s)break}return{startNode:a,endNode:s}}(y,h,t));return{rangeStart:Math.min(D(o),D(p)),rangeEnd:Math.max(f(o),f(p))}},findNodeAtOffset:a}}}),t$=E({"src/main/core.js"(e,t){x();var{diffArrays:r}=T(),{printer:{printDocToString:n},debug:{printDocToDebug:u}}=q(),{getAlignmentSize:i}=ed(),{guessEndOfLine:a,convertEndOfLineToChars:s,countEndOfLineChars:o,normalizeEndOfLine:l}=N(),p=tk().normalize,c=tj(),d=tI(),D=tw(),f=t_(),m=tM(),g=Symbol("cursor");function y(e,t,r){let n=t.comments;return n&&(delete t.comments,d.attach(n,t,e,r)),r[Symbol.for("comments")]=n||[],r[Symbol.for("tokens")]=t.tokens||[],r.originalText=e,n}function h(e,t){let u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e||0===e.trim().length)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:i,text:a}=D.parse(e,t);if(t.cursorOffset>=0){let e=m.findNodeAtOffset(i,t.cursorOffset,t);e&&e.node&&(t.cursorNode=e.node)}let o=y(a,i,t),l=n(f(i,t,u),t);if(d.ensureAllCommentsPrinted(o),u>0){let e=l.formatted.trim();void 0!==l.cursorNodeStart&&(l.cursorNodeStart-=l.formatted.indexOf(e)),l.formatted=e+s(t.endOfLine)}if(t.cursorOffset>=0){let e,n,u,i,s;if(t.cursorNode&&l.cursorNodeText?(e=t.locStart(t.cursorNode),n=a.slice(e,t.locEnd(t.cursorNode)),u=t.cursorOffset-e,i=l.cursorNodeStart,s=l.cursorNodeText):(e=0,n=a,u=t.cursorOffset,i=0,s=l.formatted),n===s)return{formatted:l.formatted,cursorOffset:i+u,comments:o};let p=[...n];p.splice(u,0,g);let c=r(p,[...s]),d=i;for(let e of c)if(e.removed){if(e.value.includes(g))break}else d+=e.count;return{formatted:l.formatted,cursorOffset:d,comments:o}}return{formatted:l.formatted,cursorOffset:-1,comments:o}}function E(e,t,r){return"number"!=typeof t||Number.isNaN(t)||t<0||t>e.length?r:t}function C(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:u}=t;return r=E(e,r,-1),n=E(e,n,0),u=E(e,u,e.length),Object.assign(Object.assign({},t),{},{cursorOffset:r,rangeStart:n,rangeEnd:u})}function F(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:u,endOfLine:i}=C(e,t),s="\uFEFF"===e.charAt(0);if(s&&(e=e.slice(1),r--,n--,u--),"auto"===i&&(i=a(e)),e.includes("\r")){let t=t=>o(e.slice(0,Math.max(t,0)),`\r +`);r-=t(r),n-=t(n),u-=t(u),e=l(e)}return{hasBOM:s,text:e,options:C(e,Object.assign(Object.assign({},t),{},{cursorOffset:r,rangeStart:n,rangeEnd:u,endOfLine:i}))}}function A(e,t){let r=D.resolveParser(t);return!r.hasPragma||r.hasPragma(e)}function v(e,t){let r,{hasBOM:n,text:u,options:a}=F(e,p(t));return a.rangeStart>=a.rangeEnd&&""!==u||a.requirePragma&&!A(u,a)?{formatted:e,cursorOffset:t.cursorOffset,comments:[]}:(a.rangeStart>0||a.rangeEndu&&t.cursorOffset<=a?t.cursorOffset-u:-1,endOfLine:"lf"}),c),f=d.formatted.trimEnd(),{cursorOffset:g}=t;g>a?g+=f.length-l.length:d.cursorOffset>=0&&(g=d.cursorOffset+u);let y=n.slice(0,u)+f+n.slice(a);if("lf"!==t.endOfLine){let e=s(t.endOfLine);g>=0&&e===`\r +`&&(g+=o(y.slice(0,g),` +`)),y=y.replace(/\n/g,e)}return{formatted:y,cursorOffset:g,comments:d.comments}}(u,a):(!a.requirePragma&&a.insertPragma&&a.printer.insertPragma&&!A(u,a)&&(u=a.printer.insertPragma(u)),r=h(u,a)),n&&(r.formatted="\uFEFF"+r.formatted,r.cursorOffset>=0&&r.cursorOffset++),r)}t.exports={formatWithCursor:v,parse(e,t,r){let{text:n,options:u}=F(e,p(t)),i=D.parse(n,u);return r&&(i.ast=c(i.ast,u)),i},formatAST:(e,t)=>n(f(e,t=p(t)),t),formatDoc:(e,t)=>v(u(e),Object.assign(Object.assign({},t),{},{parser:"__js_expression"})).formatted,printToDoc(e,t){t=p(t);let{ast:r,text:n}=D.parse(e,t);return y(n,r,t),f(r,t)},printDocToString:(e,t)=>n(e,p(t))}}}),tR=E({"src/common/util-shared.js"(e,t){x();var{getMaxContinuousCount:r,getStringWidth:n,getAlignmentSize:u,getIndentSize:i,skip:a,skipWhitespace:s,skipSpaces:o,skipNewline:l,skipToLineEnd:p,skipEverythingButNewLine:c,skipInlineComment:d,skipTrailingComment:D,hasNewline:f,hasNewlineInRange:m,hasSpaces:g,isNextLineEmpty:y,isNextLineEmptyAfterIndex:h,isPreviousLineEmpty:E,getNextNonSpaceNonCommentCharacterIndex:C,makeString:F,addLeadingComment:A,addDanglingComment:v,addTrailingComment:b}=ed();t.exports={getMaxContinuousCount:r,getStringWidth:n,getAlignmentSize:u,getIndentSize:i,skip:a,skipWhitespace:s,skipSpaces:o,skipNewline:l,skipToLineEnd:p,skipEverythingButNewLine:c,skipInlineComment:d,skipTrailingComment:D,hasNewline:f,hasNewlineInRange:m,hasSpaces:g,isNextLineEmpty:y,isNextLineEmptyAfterIndex:h,isPreviousLineEmpty:E,getNextNonSpaceNonCommentCharacterIndex:C,makeString:F,addLeadingComment:A,addDanglingComment:v,addTrailingComment:b}}}),tV=E({"src/utils/create-language.js"(e,t){x(),t.exports=function(e,t){let{languageId:r}=e;return Object.assign(Object.assign({linguistLanguageId:r},p(e,l)),t(e))}}}),tW=E({"node_modules/esutils/lib/ast.js"(e,t){x(),function(){function e(e){if(null==e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function r(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}t.exports={isExpression:function(e){if(null==e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement:e,isIterationStatement:function(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function(t){return e(t)||null!=t&&"FunctionDeclaration"===t.type},isProblematicIfStatement:function(e){var t;if("IfStatement"!==e.type||null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=r(t)}while(t);return!1},trailingStatement:r}}()}}),tq=E({"node_modules/esutils/lib/code.js"(e,t){x(),function(){var e,r,n,u,i,a;function s(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(r={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},e={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},n=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],u=Array(128),a=0;a<128;++a)u[a]=a>=97&&a<=122||a>=65&&a<=90||36===a||95===a;for(i=Array(128),a=0;a<128;++a)i[a]=a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||36===a||95===a;t.exports={isDecimalDigit:function(e){return 48<=e&&e<=57},isHexDigit:function(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70},isOctalDigit:function(e){return e>=48&&e<=55},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&n.indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return e<128?u[e]:r.NonAsciiIdentifierStart.test(s(e))},isIdentifierPartES5:function(e){return e<128?i[e]:r.NonAsciiIdentifierPart.test(s(e))},isIdentifierStartES6:function(t){return t<128?u[t]:e.NonAsciiIdentifierStart.test(s(t))},isIdentifierPartES6:function(t){return t<128?i[t]:e.NonAsciiIdentifierPart.test(s(t))}}}()}}),tJ=E({"node_modules/esutils/lib/keyword.js"(e,t){x(),function(){var e=tq();function r(e,t){return(!!t||"yield"!==e)&&n(e,t)}function n(e,t){if(t&&function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function u(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function i(e,t){return"null"===e||"true"===e||"false"===e||n(e,t)}function a(t){var r,n,u;if(0===t.length||(u=t.charCodeAt(0),!e.isIdentifierStartES5(u)))return!1;for(r=1,n=t.length;r=n||!(56320<=(i=t.charCodeAt(r))&&i<=57343))return!1;u=(u-55296)*1024+(i-56320)+65536}if(!a(u))return!1;a=e.isIdentifierPartES6}return!0}t.exports={isKeywordES5:r,isKeywordES6:n,isReservedWordES5:u,isReservedWordES6:i,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:a,isIdentifierNameES6:s,isIdentifierES5:function(e,t){return a(e)&&!u(e,t)},isIdentifierES6:function(e,t){return s(e)&&!i(e,t)}}}()}}),tU=E({"node_modules/esutils/lib/utils.js"(e){x(),e.ast=tW(),e.code=tq(),e.keyword=tJ()}}),tH=E({"src/language-js/utils/is-block-comment.js"(e,t){x();var r=new Set(["Block","CommentBlock","MultiLine"]);t.exports=e=>r.has(null==e?void 0:e.type)}}),tG=E({"src/language-js/utils/is-node-matches.js"(e,t){x(),t.exports=function(e,t){return t.some(t=>(function(e,t){let r=t.split(".");for(let t=r.length-1;t>=0;t--){let n=r[t];if(0===t)return"Identifier"===e.type&&e.name===n;if("MemberExpression"!==e.type||e.optional||e.computed||"Identifier"!==e.property.type||e.property.name!==n)return!1;e=e.object}})(e,t))}}}),tX=E({"src/language-js/utils/index.js"(e,t){x();var r=tU().keyword.isIdentifierNameES5,{getLast:n,hasNewline:u,skipWhitespace:i,isNonEmptyArray:a,isNextLineEmptyAfterIndex:s,getStringWidth:o}=ed(),{locStart:l,locEnd:p,hasSameLocStart:c}=tS(),d=tH(),D=tG(),f="(?:(?=.)\\s)",m=RegExp(`^${f}*:`),g=RegExp(`^${f}*::`);function y(e){return e=new Set(e),t=>e.has(null==t?void 0:t.type)}var h=y(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),E=y(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]),C=y(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function F(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function A(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}var v=y(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),b=y(["FunctionExpression","ArrowFunctionExpression"]);function S(e){return P(e)&&"Identifier"===e.callee.type&&["async","inject","fakeAsync","waitForAsync"].includes(e.callee.name)}var T=y(["JSXElement","JSXFragment"]);function B(e){return"get"===e.kind||"set"===e.kind}function N(e){return B(e)||c(e,e.value)}var w=y(["BinaryExpression","LogicalExpression","NGPipeExpression"]),k=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]),j=["it","it.only","it.skip","describe","describe.only","describe.skip","test","test.only","test.skip","test.step","test.describe","test.describe.only","test.describe.parallel","test.describe.parallel.only","test.describe.serial","test.describe.serial.only","skip","xit","xdescribe","xtest","fit","fdescribe","ftest"],P=y(["CallExpression","OptionalCallExpression"]),I=y(["MemberExpression","OptionalMemberExpression"]);function O(e){return/^(?:\d+|\d+\.\d+)$/.test(e)}function L(e){return e.quasis.some(e=>e.value.raw.includes(` +`))}function _(e){var t,r;return null!==(t=null===(r=e.extra)||void 0===r?void 0:r.raw)&&void 0!==t?t:e.raw}var M={"==":!0,"!=":!0,"===":!0,"!==":!0},$={"*":!0,"/":!0,"%":!0},R={">>":!0,">>>":!0,"<<":!0},V=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((e,t)=>e.map(e=>[e,t])));function W(e){return V.get(e)}var q=new WeakMap;function J(e){if(q.has(e))return q.get(e);let t=[];return e.this&&t.push(e.this),Array.isArray(e.parameters)?t.push(...e.parameters):Array.isArray(e.params)&&t.push(...e.params),e.rest&&t.push(e.rest),q.set(e,t),t}var U=new WeakMap;function H(e){if(U.has(e))return U.get(e);let t=e.arguments;return"ImportExpression"===e.type&&(t=[e.source],e.attributes&&t.push(e.attributes)),U.set(e,t),t}function G(e){return"prettier-ignore"===e.value.trim()&&!e.unignore}function X(e){return e&&(e.prettierIgnore||Q(e,z.PrettierIgnore))}var z={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},K=(e,t)=>{if("function"==typeof e&&(t=e,e=0),e||t)return(r,n,u)=>!(e&z.Leading&&!r.leading||e&z.Trailing&&!r.trailing||e&z.Dangling&&(r.leading||r.trailing)||e&z.Block&&!d(r)||e&z.Line&&!h(r)||e&z.First&&0!==n||e&z.Last&&n!==u.length-1||e&z.PrettierIgnore&&!G(r)||t&&!t(r))};function Q(e,t,r){if(!a(null==e?void 0:e.comments))return!1;let n=K(t,r);return!n||e.comments.some(n)}function Y(e,t,r){if(!Array.isArray(null==e?void 0:e.comments))return[];let n=K(t,r);return n?e.comments.filter(n):e.comments}function Z(e){return P(e)||"NewExpression"===e.type||"ImportExpression"===e.type}var ee=Symbol("ifWithoutBlockAndSameLineComment");function et(e){return"TSAsExpression"===e.type||"TSSatisfiesExpression"===e.type}t.exports={getFunctionParameters:J,iterateFunctionParametersPath:function(e,t){let r=e.getValue(),n=0,u=e=>t(e,n++);r.this&&e.call(u,"this"),Array.isArray(r.parameters)?e.each(u,"parameters"):Array.isArray(r.params)&&e.each(u,"params"),r.rest&&e.call(u,"rest")},getCallArguments:H,iterateCallArgumentsPath:function(e,t){let r=e.getValue();"ImportExpression"===r.type?(e.call(e=>t(e,0),"source"),r.attributes&&e.call(e=>t(e,1),"attributes")):e.each(t,"arguments")},hasRestParameter:function(e){var t;return!!e.rest||(null===(t=n(J(e)))||void 0===t?void 0:t.type)==="RestElement"},getLeftSide:function(e){var t,r,n,u,i,a;return e.expressions?e.expressions[0]:null!==(t=null!==(r=null!==(n=null!==(u=null!==(i=null!==(a=e.left)&&void 0!==a?a:e.test)&&void 0!==i?i:e.callee)&&void 0!==u?u:e.object)&&void 0!==n?n:e.tag)&&void 0!==r?r:e.argument)&&void 0!==t?t:e.expression},getLeftSidePathName:function(e,t){if(t.expressions)return["expressions",0];if(t.left)return["left"];if(t.test)return["test"];if(t.object)return["object"];if(t.callee)return["callee"];if(t.tag)return["tag"];if(t.argument)return["argument"];if(t.expression)return["expression"];throw Error("Unexpected node has no left side.")},getParentExportDeclaration:function(e){let t=e.getParentNode();return"declaration"===e.getName()&&E(t)?t:null},getTypeScriptMappedTypeModifier:function(e,t){return"+"===e||"-"===e?e+t:t},hasFlowAnnotationComment:function(e){let t=null==e?void 0:e[0];return d(t)&&g.test(t.value)},hasFlowShorthandAnnotationComment:function(e){var t,r;return(null===(t=e.extra)||void 0===t?void 0:t.parenthesized)&&d(null===(r=e.trailingComments)||void 0===r?void 0:r[0])&&m.test(e.trailingComments[0].value)},hasLeadingOwnLineComment:function(e,t){return T(t)?X(t):Q(t,z.Leading,t=>u(e,p(t)))},hasNakedLeftSide:function(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||P(e)||I(e)||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||et(e)||"TSNonNullExpression"===e.type},hasNode:function e(t,r){if(!t||"object"!=typeof t)return!1;if(Array.isArray(t))return t.some(t=>e(t,r));let n=r(t);return"boolean"==typeof n?n:Object.values(t).some(t=>e(t,r))},hasIgnoreComment:function(e){return X(e.getValue())},hasNodeIgnoreComment:X,identity:function(e){return e},isBinaryish:w,isCallLikeExpression:Z,isEnabledHackPipeline:function(e){return!!e.__isUsingHackPipeline},isLineComment:h,isPrettierIgnoreComment:G,isCallExpression:P,isMemberExpression:I,isExportDeclaration:E,isFlowAnnotationComment:function(e,t){let r=l(t),n=i(e,p(t));return!1!==n&&"/*"===e.slice(r,r+2)&&"*/"===e.slice(n,n+2)},isFunctionCompositionArgs:function(e){if(e.length<=1)return!1;let t=0;for(let r of e)if(b(r)){if((t+=1)>1)return!0}else if(P(r)){for(let e of r.arguments)if(b(e))return!0}return!1},isFunctionNotation:N,isFunctionOrArrowExpression:b,isGetterOrSetter:B,isJestEachTemplateLiteral:function(e,t){let r=/^[fx]?(?:describe|it|test)$/;return"TaggedTemplateExpression"===t.type&&t.quasi===e&&"MemberExpression"===t.tag.type&&"Identifier"===t.tag.property.type&&"each"===t.tag.property.name&&("Identifier"===t.tag.object.type&&r.test(t.tag.object.name)||"MemberExpression"===t.tag.object.type&&"Identifier"===t.tag.object.property.type&&("only"===t.tag.object.property.name||"skip"===t.tag.object.property.name)&&"Identifier"===t.tag.object.object.type&&r.test(t.tag.object.object.name))},isJsxNode:T,isLiteral:C,isLongCurriedCallExpression:function(e){let t=e.getValue(),r=e.getParentNode();return P(t)&&P(r)&&r.callee===t&&t.arguments.length>r.arguments.length&&r.arguments.length>0},isSimpleCallArgument:function e(t,r){if(r>=2)return!1;let n=t=>e(t,r+1),u="Literal"===t.type&&"regex"in t&&t.regex.pattern||"RegExpLiteral"===t.type&&t.pattern;return!(u&&o(u)>5)&&("Literal"===t.type||"BigIntLiteral"===t.type||"DecimalLiteral"===t.type||"BooleanLiteral"===t.type||"NullLiteral"===t.type||"NumericLiteral"===t.type||"RegExpLiteral"===t.type||"StringLiteral"===t.type||"Identifier"===t.type||"ThisExpression"===t.type||"Super"===t.type||"PrivateName"===t.type||"PrivateIdentifier"===t.type||"ArgumentPlaceholder"===t.type||"Import"===t.type||("TemplateLiteral"===t.type?t.quasis.every(e=>!e.value.raw.includes(` +`))&&t.expressions.every(n):"ObjectExpression"===t.type?t.properties.every(e=>!e.computed&&(e.shorthand||e.value&&n(e.value))):"ArrayExpression"===t.type?t.elements.every(e=>null===e||n(e)):Z(t)?("ImportExpression"===t.type||e(t.callee,r))&&H(t).every(n):I(t)?e(t.object,r)&&e(t.property,r):"UnaryExpression"===t.type&&({"!":!0,"-":!0,"+":!0,"~":!0})[t.operator]?e(t.argument,r):"UpdateExpression"===t.type&&({"++":!0,"--":!0})[t.operator]?e(t.argument,r):"TSNonNullExpression"===t.type&&e(t.expression,r)))},isMemberish:function(e){return I(e)||"BindExpression"===e.type&&!!e.object},isNumericLiteral:F,isSignedNumericLiteral:function(e){return"UnaryExpression"===e.type&&("+"===e.operator||"-"===e.operator)&&F(e.argument)},isObjectProperty:function(e){return e&&("ObjectProperty"===e.type||"Property"===e.type&&!e.method&&"init"===e.kind)},isObjectType:v,isObjectTypePropertyAFunction:function(e){return("ObjectTypeProperty"===e.type||"ObjectTypeInternalSlot"===e.type)&&"FunctionTypeAnnotation"===e.value.type&&!e.static&&!N(e)},isSimpleType:function(e){return!!e&&!!(("GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type)&&!e.typeParameters||k.has(e.type))},isSimpleNumber:O,isSimpleTemplateLiteral:function(e){let t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");let r=e[t];return 0!==r.length&&r.every(e=>{if(Q(e))return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if(I(e)){let t=e;for(;I(t);)if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type||Q(t=t.object))return!1;return"Identifier"===t.type||"ThisExpression"===t.type}return!1})},isStringLiteral:A,isStringPropSafeToUnquote:function(e,t){return"json"!==t.parser&&A(e.key)&&_(e.key).slice(1,-1)===e.key.value&&(r(e.key.value)&&!("babel-ts"===t.parser&&"ClassProperty"===e.type||"typescript"===t.parser&&"PropertyDefinition"===e.type)||O(e.key.value)&&String(Number(e.key.value))===e.key.value&&("babel"===t.parser||"acorn"===t.parser||"espree"===t.parser||"meriyah"===t.parser||"__babel_estree"===t.parser))},isTemplateOnItsOwnLine:function(e,t){return("TemplateLiteral"===e.type&&L(e)||"TaggedTemplateExpression"===e.type&&L(e.quasi))&&!u(t,l(e),{backwards:!0})},isTestCall:function e(t,r){var n;if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(S(t)&&r&&e(r))return b(t.arguments[0]);if("Identifier"===t.callee.type&&/^(?:before|after)(?:Each|All)$/.test(t.callee.name)&&1===t.arguments.length)return S(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("TemplateLiteral"===t.arguments[0].type||A(t.arguments[0]))&&D(t.callee,j))return(!t.arguments[2]||!!F(t.arguments[2]))&&((2===t.arguments.length?b(t.arguments[1]):("FunctionExpression"===(n=t.arguments[1]).type||"ArrowFunctionExpression"===n.type&&"BlockStatement"===n.body.type)&&J(t.arguments[1]).length<=1)||S(t.arguments[1]));return!1},isTheOnlyJsxElementInMarkdown:function(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;let r=t.getNode();if(!r.expression||!T(r.expression))return!1;let n=t.getParentNode();return"Program"===n.type&&1===n.body.length},isTSXFile:function(e){return e.filepath&&/\.tsx$/i.test(e.filepath)},isTypeAnnotationAFunction:function(e){return("TypeAnnotation"===e.type||"TSTypeAnnotation"===e.type)&&"FunctionTypeAnnotation"===e.typeAnnotation.type&&!e.static&&!c(e,e.typeAnnotation)},isNextLineEmpty:(e,t)=>{let{originalText:r}=t;return s(r,p(e))},needsHardlineAfterDanglingComment:function(e){if(!Q(e))return!1;let t=n(Y(e,z.Dangling));return t&&!d(t)},rawText:_,shouldPrintComma:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"es5";return"es5"===e.trailingComma&&"es5"===t||"all"===e.trailingComma&&("all"===t||"es5"===t)},isBitwiseOperator:function(e){return!!R[e]||"|"===e||"^"===e||"&"===e},shouldFlatten:function(e,t){return!(W(t)!==W(e)||"**"===e||M[e]&&M[t]||"%"===t&&$[e]||"%"===e&&$[t]||t!==e&&$[t]&&$[e]||R[e]&&R[t])},startsWithNoLookaheadToken:function e(t,r){switch(t.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return e(t.left,r);case"MemberExpression":case"OptionalMemberExpression":return e(t.object,r);case"TaggedTemplateExpression":return"FunctionExpression"!==t.tag.type&&e(t.tag,r);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==t.callee.type&&e(t.callee,r);case"ConditionalExpression":return e(t.test,r);case"UpdateExpression":return!t.prefix&&e(t.argument,r);case"BindExpression":return t.object&&e(t.object,r);case"SequenceExpression":return e(t.expressions[0],r);case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return e(t.expression,r);default:return r(t)}},getPrecedence:W,hasComment:Q,getComments:Y,CommentCheckFlags:z,markerForIfWithoutBlockAndSameLineComment:ee,isTSTypeExpression:et}}}),tz=E({"src/language-js/print/template-literal.js"(e,t){x();var r=w(),{getStringWidth:n,getIndentSize:u}=ed(),{builders:{join:i,hardline:a,softline:s,group:o,indent:l,align:p,lineSuffixBoundary:c,addAlignmentToDoc:d},printer:{printDocToString:D},utils:{mapDoc:f}}=q(),{isBinaryish:m,isJestEachTemplateLiteral:g,isSimpleTemplateLiteral:y,hasComment:h,isMemberExpression:E,isTSTypeExpression:C}=tX();function F(e){return e.replace(/([\\`]|\${)/g,"\\$1")}t.exports={printTemplateLiteral:function(e,t,f){let F=e.getValue();if("TemplateLiteral"===F.type&&g(F,e.getParentNode())){let u=function(e,t,u){let s=e.getNode(),o=s.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(o.length>1||o.some(e=>e.length>0)){t.__inJestEach=!0;let p=e.map(u,"expressions");t.__inJestEach=!1;let d=[],f=p.map(e=>"${"+D(e,Object.assign(Object.assign({},t),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"),m=[{hasLineBreak:!1,cells:[]}];for(let e=1;ee.cells.length))}).fill(0),y=[{cells:o},...m.filter(e=>e.cells.length>0)];for(let{cells:e}of y.filter(e=>!e.hasLineBreak))for(let[t,r]of e.entries())g[t]=Math.max(g[t],n(r));return d.push(c,"`",l([a,i(a,y.map(e=>i(" | ",e.cells.map((t,r)=>e.hasLineBreak?t:t+" ".repeat(g[r]-n(t))))))]),a,"`"),d}}(e,f,t);if(u)return u}let A="expressions";"TSTemplateLiteralType"===F.type&&(A="types");let v=[],x=e.map(t,A),b=y(F);return b&&(x=x.map(e=>D(e,Object.assign(Object.assign({},f),{},{printWidth:Number.POSITIVE_INFINITY})).formatted)),v.push(c,"`"),e.each(e=>{let r=e.getName();if(v.push(t()),r{let r,n;return r=e.getValue(),n=t(),h(r)&&(n=o([l([s,n]),s])),["${",n,c,"}"]},"expressions")},escapeTemplateCharacters:function(e,t){return f(e,e=>"string"==typeof e?t?e.replace(/(\\*)`/g,"$1$1\\`"):F(e):e)},uncookTemplateElementValue:F}}}),tK=E({"src/language-js/embed/markdown.js"(e,t){x();var{builders:{indent:r,softline:n,literalline:u,dedentToRoot:i}}=q(),{escapeTemplateCharacters:a}=tz();t.exports=function(e,t,s){let o;let l=e.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(e,t)=>"\\".repeat(t.length/2)+"`"),p=null===(o=l.match(/^([^\S\n]*)\S/m))?"":o[1],c=""!==p;c&&(l=l.replace(RegExp(`^${p}`,"gm"),""));let d=a(s(l,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",c?r([n,d]):[u,i(d)],n,"`"]}}}),tQ=E({"src/language-js/embed/css.js"(e,t){x();var{isNonEmptyArray:r}=ed(),{builders:{indent:n,hardline:u,softline:i},utils:{mapDoc:a,replaceEndOfLine:s,cleanDoc:o}}=q(),{printTemplateExpressions:l}=tz();t.exports=function(e,t,p){let c=e.getValue(),d=c.quasis.map(e=>e.value.raw),D=0;return function(e,t,l){if(1===t.quasis.length&&!t.quasis[0].value.raw.trim())return"``";let p=function(e,t){if(!r(t))return e;let n=0,u=a(o(e),e=>"string"==typeof e&&e.includes("@prettier-placeholder")?e.split(/@prettier-placeholder-(\d+)-id/).map((e,r)=>r%2==0?s(e):(n++,t[e])):e);return t.length===n?u:null}(e,l);if(!p)throw Error("Couldn't insert all the expressions");return["`",n([u,p]),i,"`"]}(p(d.reduce((e,t,r)=>0===r?t:e+"@prettier-placeholder-"+D+++"-id"+t,""),{parser:"scss"},{stripTrailingHardline:!0}),c,l(e,t))}}}),tY=E({"src/language-js/embed/graphql.js"(e,t){x();var{builders:{indent:r,join:n,hardline:u}}=q(),{escapeTemplateCharacters:i,printTemplateExpressions:a}=tz();t.exports=function(e,t,s){let o=e.getValue(),l=o.quasis.length;if(1===l&&""===o.quasis[0].value.raw.trim())return"``";let p=a(e,t),c=[];for(let e=0;e2&&""===D[0].trim()&&""===D[1].trim(),y=f>2&&""===D[f-1].trim()&&""===D[f-2].trim(),h=D.every(e=>/^\s*(?:#[^\n\r]*)?$/.test(e));if(!a&&/#[^\n\r]*$/.test(D[f-1]))return null;let E=null;(E=h?function(e){let t=[],r=!1,i=e.map(e=>e.trim());for(let[e,n]of i.entries())""!==n&&(""===i[e-1]&&r?t.push([u,n]):t.push(n),r=!0);return 0===t.length?null:n(u,t)}(D):s(d,{parser:"graphql"},{stripTrailingHardline:!0}))?(E=i(E,!1),!r&&g&&c.push(""),c.push(E),!a&&y&&c.push("")):r||a||!g||c.push(""),m&&c.push(m)}return["`",r([u,n(u,c)]),u,"`"]}}}),tZ=E({"src/language-js/embed/html.js"(e,t){x();var{builders:{indent:r,line:n,hardline:u,group:i},utils:{mapDoc:a}}=q(),{printTemplateExpressions:s,uncookTemplateElementValue:o}=tz(),l=0;t.exports=function(e,t,p,c,d){let{parser:D}=d,f=e.getValue(),m=l;l=l+1>>>0;let g=e=>`PRETTIER_HTML_PLACEHOLDER_${e}_${m}_IN_JS`,y=f.quasis.map((e,t,r)=>t===r.length-1?e.value.cooked:e.value.cooked+g(t)).join(""),h=s(e,t);if(0===h.length&&0===y.trim().length)return"``";let E=RegExp(g("(\\d+)"),"g"),C=0,F=a(p(y,{parser:D,__onHtmlRoot(e){C=e.children.length}},{stripTrailingHardline:!0}),e=>{if("string"!=typeof e)return e;let t=[],r=e.split(E);for(let e=0;e1?r(i(F)):i(F),v,"`"])}}}),t0=E({"src/language-js/embed.js"(e,t){x();var{hasComment:r,CommentCheckFlags:n,isObjectProperty:u}=tX(),i=tK(),a=tQ(),s=tY(),o=tZ(),l=[(e,t)=>"ObjectExpression"===e.type&&"properties"===t,(e,t)=>"CallExpression"===e.type&&"Identifier"===e.callee.type&&"Component"===e.callee.name&&"arguments"===t,(e,t)=>"Decorator"===e.type&&"expression"===t];function p(e){return"Identifier"===e.type&&"styled"===e.name}function c(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function d(e,t){return r(e,n.Block|n.Leading,e=>{let{value:r}=e;return r===` ${t} `})}t.exports=function(e,t,r,n){let D,f,m,g,y,h,E,C,F,A=e.getValue();if("TemplateLiteral"!==A.type||function(e){let{quasis:t}=e;return t.some(e=>{let{value:{cooked:t}}=e;return null===t})}(A))return;let v=(D=e.getValue(),f=e.getParentNode(),(m=e.getParentNode(1))&&D.quasis&&"JSXExpressionContainer"===f.type&&"JSXElement"===m.type&&"style"===m.openingElement.name.name&&m.openingElement.attributes.some(e=>"jsx"===e.name.name)||f&&"TaggedTemplateExpression"===f.type&&"Identifier"===f.tag.type&&"css"===f.tag.name||f&&"TaggedTemplateExpression"===f.type&&"MemberExpression"===f.tag.type&&"css"===f.tag.object.name&&("global"===f.tag.property.name||"resolve"===f.tag.property.name)||function(e){let t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;let r="ParenthesizedExpression"===t.tag.type?t.tag.expression:t.tag;switch(r.type){case"MemberExpression":return p(r.object)||c(r);case"CallExpression":return p(r.callee)||"MemberExpression"===r.callee.type&&("MemberExpression"===r.callee.object.type&&(p(r.callee.object.object)||c(r.callee.object))||"CallExpression"===r.callee.object.type&&p(r.callee.object.callee));case"Identifier":return"css"===r.name;default:return!1}}(e)||(g=e.getParentNode(),(y=e.getParentNode(1))&&"JSXExpressionContainer"===g.type&&"JSXAttribute"===y.type&&"JSXIdentifier"===y.name.type&&"css"===y.name.name)||e.match(e=>"TemplateLiteral"===e.type,(e,t)=>"ArrayExpression"===e.type&&"elements"===t,(e,t)=>u(e)&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t,...l))?"css":(h=e.getValue(),E=e.getParentNode(),d(h,"GraphQL")||E&&("TaggedTemplateExpression"===E.type&&("MemberExpression"===E.tag.type&&"graphql"===E.tag.object.name&&"experimental"===E.tag.property.name||"Identifier"===E.tag.type&&("gql"===E.tag.name||"graphql"===E.tag.name))||"CallExpression"===E.type&&"Identifier"===E.callee.type&&"graphql"===E.callee.name))?"graphql":d(e.getValue(),"HTML")||e.match(e=>"TemplateLiteral"===e.type,(e,t)=>"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t)?"html":e.match(e=>"TemplateLiteral"===e.type,(e,t)=>u(e)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t,...l)?"angular":(C=e.getValue(),(F=e.getParentNode())&&"TaggedTemplateExpression"===F.type&&1===C.quasis.length&&"Identifier"===F.tag.type&&("md"===F.tag.name||"markdown"===F.tag.name))?"markdown":void 0;if(v){if("markdown"===v)return i(e,t,r);if("css"===v)return a(e,t,r);if("graphql"===v)return s(e,t,r);if("html"===v||"angular"===v)return o(e,t,r,n,{parser:v})}}}}),t1=E({"src/language-js/clean.js"(e,t){x();var r=tH(),n=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),u=e=>{for(let t of e.quasis)delete t.value};function i(e,t,n){if("Program"===e.type&&delete t.sourceType,("BigIntLiteral"===e.type||"BigIntLiteralTypeAnnotation"===e.type)&&t.value&&(t.value=t.value.toLowerCase()),("BigIntLiteral"===e.type||"Literal"===e.type)&&t.bigint&&(t.bigint=t.bigint.toLowerCase()),"DecimalLiteral"===e.type&&(t.value=Number(t.value)),"Literal"===e.type&&t.decimal&&(t.decimal=Number(t.decimal)),"EmptyStatement"===e.type||"JSXText"===e.type||"JSXExpressionContainer"===e.type&&("Literal"===e.expression.type||"StringLiteral"===e.expression.type)&&" "===e.expression.value)return null;if(("Property"===e.type||"ObjectProperty"===e.type||"MethodDefinition"===e.type||"ClassProperty"===e.type||"ClassMethod"===e.type||"PropertyDefinition"===e.type||"TSDeclareMethod"===e.type||"TSPropertySignature"===e.type||"ObjectTypeProperty"===e.type)&&"object"==typeof e.key&&e.key&&("Literal"===e.key.type||"NumericLiteral"===e.key.type||"StringLiteral"===e.key.type||"Identifier"===e.key.type)&&delete t.key,"JSXElement"===e.type&&"style"===e.openingElement.name.name&&e.openingElement.attributes.some(e=>"jsx"===e.name.name))for(let{type:e,expression:r}of t.children)"JSXExpressionContainer"===e&&"TemplateLiteral"===r.type&&u(r);"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&u(t.value.expression),"JSXAttribute"===e.type&&e.value&&"Literal"===e.value.type&&/["']|"|'/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|"|'/g,'"'));let i=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===i.type&&"Component"===i.callee.name&&1===i.arguments.length){let r=e.expression.arguments[0].properties;for(let[e,n]of t.expression.arguments[0].properties.entries())switch(r[e].key.name){case"styles":"ArrayExpression"===n.value.type&&u(n.value.elements[0]);break;case"template":"TemplateLiteral"===n.value.type&&u(n.value)}}if("TaggedTemplateExpression"===e.type&&("MemberExpression"===e.tag.type||"Identifier"===e.tag.type&&("gql"===e.tag.name||"graphql"===e.tag.name||"css"===e.tag.name||"md"===e.tag.name||"markdown"===e.tag.name||"html"===e.tag.name)||"CallExpression"===e.tag.type)&&u(t.quasi),"TemplateLiteral"===e.type){var a;((null===(a=e.leadingComments)||void 0===a?void 0:a.some(e=>r(e)&&["GraphQL","HTML"].some(t=>e.value===` ${t} `)))||"CallExpression"===n.type&&"graphql"===n.callee.name||!e.leadingComments)&&u(t)}if("InterpreterDirective"===e.type&&(t.value=t.value.trimEnd()),("TSIntersectionType"===e.type||"TSUnionType"===e.type)&&1===e.types.length)return t.types[0]}i.ignoredProperties=n,t.exports=i}}),t2={};function t3(){if(typeof rs>"u"){var e=new ArrayBuffer(2),t=new Uint8Array(e),r=new Uint16Array(e);if(t[0]=1,t[1]=2,258===r[0])rs="BE";else if(513===r[0])rs="LE";else throw Error("unable to figure out endianess")}return rs}function t8(){return"u">typeof globalThis.location?globalThis.location.hostname:""}function t6(){return[]}function t7(){return 0}function t9(){return Number.MAX_VALUE}function t5(){return Number.MAX_VALUE}function t4(){return[]}function re(){return"Browser"}function rt(){return"u">typeof globalThis.navigator?globalThis.navigator.appVersion:""}function rr(){}function rn(){}function ru(){return"javascript"}function ri(){return"browser"}function ra(){return"/tmp"}C(t2,{EOL:()=>rl,arch:()=>ru,cpus:()=>t4,default:()=>rp,endianness:()=>t3,freemem:()=>t9,getNetworkInterfaces:()=>rn,hostname:()=>t8,loadavg:()=>t6,networkInterfaces:()=>rr,platform:()=>ri,release:()=>rt,tmpDir:()=>ra,tmpdir:()=>ro,totalmem:()=>t5,type:()=>re,uptime:()=>t7});var rs,ro,rl,rp,rc=h({"node-modules-polyfills:os"(){x(),rp={EOL:rl=` +`,tmpdir:ro=ra,tmpDir:ra,networkInterfaces:rr,getNetworkInterfaces:rn,release:rt,type:re,cpus:t4,totalmem:t5,freemem:t9,uptime:t7,loadavg:t6,hostname:t8,endianness:t3}}}),rd=E({"node-modules-polyfills-commonjs:os"(e,t){x();var r=(rc(),v(t2));if(r&&r.default)for(let e in t.exports=r.default,r)t.exports[e]=r[e];else r&&(t.exports=r)}}),rD=E({"node_modules/detect-newline/index.js"(e,t){x();var r=e=>{if("string"!=typeof e)throw TypeError("Expected a string");let t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;let r=t.filter(e=>e===`\r +`).length,n=t.length-r;return r>n?`\r +`:` +`};t.exports=r,t.exports.graceful=e=>"string"==typeof e&&r(e)||` +`}}),rf=E({"node_modules/jest-docblock/build/index.js"(e){function t(){let e=rd();return t=function(){return e},e}function r(){var e;let t=(e=rD())&&e.__esModule?e:{default:e};return r=function(){return t},t}x(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=function(e){let t=e.match(i);return t?t[0].trimLeft():""},e.parse=function(e){return d(e).pragmas},e.parseWithComments=d,e.print=function(e){let{comments:n="",pragmas:u={}}=e,i=(0,r().default)(n)||t().EOL,a=Object.keys(u),s=a.map(e=>D(e,u[e])).reduce((e,t)=>e.concat(t),[]).map(e=>` * ${e}${i}`).join("");if(!n){if(0===a.length)return"";if(1===a.length&&!Array.isArray(u[a[0]])){let e=u[a[0]];return`/** ${D(a[0],e)[0]} */`}}let o=n.split(i).map(e=>` * ${e}`).join(i)+i;return"/**"+i+(n?o:"")+(n&&a.length?" *"+i:"")+s+" */"},e.strip=function(e){let t=e.match(i);return t&&t[0]?e.substring(t[0].length):e};var n=/\*\/$/,u=/^\/\*\*?/,i=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,a=/(^|\s+)\/\/([^\r\n]*)/g,s=/^(\r?\n)+/,o=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,l=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,p=/(\r?\n|^) *\* ?/g,c=[];function d(e){let i=(0,r().default)(e)||t().EOL;e=e.replace(u,"").replace(n,"").replace(p,"$1");let d="";for(;d!==e;)d=e,e=e.replace(o,`${i}$1 $2${i}`);e=e.replace(s,"").trimRight();let D=Object.create(null),f=e.replace(l,"").replace(s,"").trimRight(),m;for(;m=l.exec(e);){let e=m[2].replace(a,"");"string"==typeof D[m[1]]||Array.isArray(D[m[1]])?D[m[1]]=c.concat(D[m[1]],e):D[m[1]]=e}return{comments:f,pragmas:D}}function D(e,t){return c.concat(t).map(t=>`@${e} ${t}`.trim())}}}),rm=E({"src/language-js/utils/get-shebang.js"(e,t){x(),t.exports=function(e){if(!e.startsWith("#!"))return"";let t=e.indexOf(` +`);return -1===t?e:e.slice(0,t)}}}),rg=E({"src/language-js/pragma.js"(e,t){x();var{parseWithComments:r,strip:n,extract:u,print:i}=rf(),{normalizeEndOfLine:a}=N(),s=rm();function o(e){let t=s(e);t&&(e=e.slice(t.length+1));let{pragmas:n,comments:i}=r(u(e));return{shebang:t,text:e,pragmas:n,comments:i}}t.exports={hasPragma:function(e){let t=Object.keys(o(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){let{shebang:t,text:r,pragmas:u,comments:s}=o(e),l=n(r);return(t?`${t} +`:"")+a(i({pragmas:Object.assign({format:""},u),comments:s.trimStart()}))+(l.startsWith(` +`)?` +`:` + +`)+l}}}}),ry=E({"src/language-js/utils/is-type-cast-comment.js"(e,t){x();var r=tH();t.exports=function(e){return r(e)&&"*"===e.value[0]&&/@(?:type|satisfies)\b/.test(e.value)}}}),rh=E({"src/language-js/comments.js"(e,t){x();var{getLast:r,hasNewline:n,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:u,getNextNonSpaceNonCommentCharacter:i,hasNewlineInRange:a,addLeadingComment:s,addTrailingComment:o,addDanglingComment:l,getNextNonSpaceNonCommentCharacterIndex:p,isNonEmptyArray:c}=ed(),{getFunctionParameters:d,isPrettierIgnoreComment:D,isJsxNode:f,hasFlowShorthandAnnotationComment:m,hasFlowAnnotationComment:g,hasIgnoreComment:y,isCallLikeExpression:h,getCallArguments:E,isCallExpression:C,isMemberExpression:F,isObjectProperty:A,isLineComment:v,getComments:b,CommentCheckFlags:S,markerForIfWithoutBlockAndSameLineComment:T}=tX(),{locStart:B,locEnd:N}=tS(),w=tH(),k=ry();function j(e,t){let r=(e.body||e.properties).find(e=>{let{type:t}=e;return"EmptyStatement"!==t});r?s(r,t):l(e,t)}function P(e,t){"BlockStatement"===e.type?j(e,t):s(e,t)}function I(e){let{comment:t,followingNode:r}=e;return!!(r&&k(t))&&(s(r,t),!0)}function O(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:u,text:a}=e;if((null==n?void 0:n.type)!=="IfStatement"||!u)return!1;if(")"===i(a,t,N))return o(r,t),!0;if(r===n.consequent&&u===n.alternate){if("BlockStatement"===r.type)o(r,t);else{let e="SingleLine"===t.type||t.loc.start.line===t.loc.end.line,u=t.loc.start.line===r.loc.start.line;e&&u?l(r,t,T):l(n,t)}return!0}return"BlockStatement"===u.type?(j(u,t),!0):"IfStatement"===u.type?(P(u.consequent,t),!0):n.consequent===u&&(s(u,t),!0)}function L(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:u,text:a}=e;return(null==n?void 0:n.type)==="WhileStatement"&&!!u&&(")"===i(a,t,N)?(o(r,t),!0):"BlockStatement"===u.type?(j(u,t),!0):n.body===u&&(s(u,t),!0))}function _(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:u}=e;return((null==n?void 0:n.type)==="TryStatement"||(null==n?void 0:n.type)==="CatchClause")&&!!u&&("CatchClause"===n.type&&r?(o(r,t),!0):"BlockStatement"===u.type?(j(u,t),!0):"TryStatement"===u.type?(P(u.finalizer,t),!0):"CatchClause"===u.type&&(P(u.body,t),!0))}function M(e){let{comment:t,enclosingNode:r,followingNode:n}=e;return!!F(r)&&(null==n?void 0:n.type)==="Identifier"&&(s(r,t),!0)}function $(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:u,text:i}=e,o=r&&!a(i,N(r),B(t));return(!r||!o)&&((null==n?void 0:n.type)==="ConditionalExpression"||(null==n?void 0:n.type)==="TSConditionalType")&&!!u&&(s(u,t),!0)}function R(e){let{comment:t,precedingNode:r,enclosingNode:n}=e;return!!A(n)&&!!n.shorthand&&n.key===r&&"AssignmentPattern"===n.value.type&&(o(n.value.left,t),!0)}var V=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function W(e){let{comment:t,precedingNode:n,enclosingNode:u,followingNode:i}=e;if(V.has(null==u?void 0:u.type)){if(c(u.decorators)&&!(i&&"Decorator"===i.type))return o(r(u.decorators),t),!0;if(u.body&&i===u.body)return j(u.body,t),!0;if(i){if(u.superClass&&i===u.superClass&&n&&(n===u.id||n===u.typeParameters))return o(n,t),!0;for(let e of["implements","extends","mixins"])if(u[e]&&i===u[e][0])return n&&(n===u.id||n===u.typeParameters||n===u.superClass)?o(n,t):l(u,t,e),!0}}return!1}var q=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function J(e){let{comment:t,precedingNode:r,enclosingNode:n,text:u}=e;return!!(n&&r&&"("===i(u,t,N)&&("Property"===n.type||"TSDeclareMethod"===n.type||"TSAbstractMethodDefinition"===n.type)&&"Identifier"===r.type&&n.key===r&&":"!==i(u,r,N)||(null==r?void 0:r.type)==="Decorator"&&q.has(null==n?void 0:n.type))&&(o(r,t),!0)}var U=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function H(e){let{comment:t,precedingNode:r,enclosingNode:n,text:u}=e;return"("===i(u,t,N)&&!!(r&&U.has(null==n?void 0:n.type))&&(o(r,t),!0)}function G(e){let{comment:t,enclosingNode:r,text:n}=e;if((null==r?void 0:r.type)!=="ArrowFunctionExpression")return!1;let u=p(n,t,N);return!1!==u&&"=>"===n.slice(u,u+2)&&(l(r,t),!0)}function X(e){let{comment:t,enclosingNode:r,text:n}=e;return")"===i(n,t,N)&&(r&&(eD(r)&&0===d(r).length||h(r)&&0===E(r).length)?(l(r,t),!0):((null==r?void 0:r.type)==="MethodDefinition"||(null==r?void 0:r.type)==="TSAbstractMethodDefinition")&&0===d(r.value).length&&(l(r.value,t),!0))}function z(e){let{comment:t,precedingNode:n,enclosingNode:a,followingNode:s,text:l}=e;if((null==n?void 0:n.type)==="FunctionTypeParam"&&(null==a?void 0:a.type)==="FunctionTypeAnnotation"&&(null==s?void 0:s.type)!=="FunctionTypeParam"||((null==n?void 0:n.type)==="Identifier"||(null==n?void 0:n.type)==="AssignmentPattern")&&a&&eD(a)&&")"===i(l,t,N))return o(n,t),!0;if((null==a?void 0:a.type)==="FunctionDeclaration"&&(null==s?void 0:s.type)==="BlockStatement"){let e=(()=>{let e=d(a);if(e.length>0)return u(l,N(r(e)));let t=u(l,N(a.id));return!1!==t&&u(l,t+1)})();if(B(t)>e)return j(s,t),!0}return!1}function K(e){let{comment:t,enclosingNode:r}=e;return(null==r?void 0:r.type)==="LabeledStatement"&&(s(r,t),!0)}function Q(e){let{comment:t,enclosingNode:r}=e;return((null==r?void 0:r.type)==="ContinueStatement"||(null==r?void 0:r.type)==="BreakStatement")&&!r.label&&(o(r,t),!0)}function Y(e){let{comment:t,precedingNode:r,enclosingNode:n}=e;return!!C(n)&&!!r&&n.callee===r&&n.arguments.length>0&&(s(n.arguments[0],t),!0)}function Z(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:u}=e;return(null==n?void 0:n.type)==="UnionTypeAnnotation"||(null==n?void 0:n.type)==="TSUnionType"?(D(t)&&(u.prettierIgnore=!0,t.unignore=!0),!!r&&(o(r,t),!0)):(((null==u?void 0:u.type)==="UnionTypeAnnotation"||(null==u?void 0:u.type)==="TSUnionType")&&D(t)&&(u.types[0].prettierIgnore=!0,t.unignore=!0),!1)}function ee(e){let{comment:t,enclosingNode:r}=e;return!!A(r)&&(s(r,t),!0)}function et(e){let{comment:t,enclosingNode:r,followingNode:n,ast:u,isLastComment:i}=e;return u&&u.body&&0===u.body.length?(i?l(u,t):s(u,t),!0):(null==r?void 0:r.type)!=="Program"||(null==r?void 0:r.body.length)!==0||c(r.directives)?(null==n?void 0:n.type)==="Program"&&(null==n?void 0:n.body.length)===0&&(null==r?void 0:r.type)==="ModuleExpression"&&(l(n,t),!0):(i?l(r,t):s(r,t),!0)}function er(e){let{comment:t,enclosingNode:r}=e;return((null==r?void 0:r.type)==="ForInStatement"||(null==r?void 0:r.type)==="ForOfStatement")&&(s(r,t),!0)}function en(e){let{comment:t,precedingNode:r,enclosingNode:u,text:i}=e;if((null==u?void 0:u.type)==="ImportSpecifier"||(null==u?void 0:u.type)==="ExportSpecifier")return s(u,t),!0;let a=(null==r?void 0:r.type)==="ImportSpecifier"&&(null==u?void 0:u.type)==="ImportDeclaration",l=(null==r?void 0:r.type)==="ExportSpecifier"&&(null==u?void 0:u.type)==="ExportNamedDeclaration";return!!((a||l)&&n(i,N(t)))&&(o(r,t),!0)}function eu(e){let{comment:t,enclosingNode:r}=e;return(null==r?void 0:r.type)==="AssignmentPattern"&&(s(r,t),!0)}var ei=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),ea=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function es(e){let{comment:t,enclosingNode:r,followingNode:n}=e;return!!(ei.has(null==r?void 0:r.type)&&n&&(ea.has(n.type)||w(t)))&&(s(n,t),!0)}function eo(e){let{comment:t,enclosingNode:r,followingNode:n,text:u}=e;return!n&&((null==r?void 0:r.type)==="TSMethodSignature"||(null==r?void 0:r.type)==="TSDeclareFunction"||(null==r?void 0:r.type)==="TSAbstractMethodDefinition")&&";"===i(u,t,N)&&(o(r,t),!0)}function el(e){let{comment:t,enclosingNode:r,followingNode:n}=e;if(D(t)&&(null==r?void 0:r.type)==="TSMappedType"&&(null==n?void 0:n.type)==="TSTypeParameter"&&n.constraint)return r.prettierIgnore=!0,t.unignore=!0,!0}function ep(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:u}=e;return(null==n?void 0:n.type)==="TSMappedType"&&((null==u?void 0:u.type)==="TSTypeParameter"&&u.name?(s(u.name,t),!0):(null==r?void 0:r.type)==="TSTypeParameter"&&!!r.constraint&&(o(r.constraint,t),!0))}function ec(e){let{comment:t,enclosingNode:r,followingNode:n}=e;return!!r&&"SwitchCase"===r.type&&!r.test&&!!n&&n===r.consequent[0]&&("BlockStatement"===n.type&&v(t)?j(n,t):l(r,t),!0)}function eD(e){return"ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type||"FunctionDeclaration"===e.type||"ObjectMethod"===e.type||"ClassMethod"===e.type||"TSDeclareFunction"===e.type||"TSCallSignatureDeclaration"===e.type||"TSConstructSignatureDeclaration"===e.type||"TSMethodSignature"===e.type||"TSConstructorType"===e.type||"TSFunctionType"===e.type||"TSDeclareMethod"===e.type}t.exports={handleOwnLineComment:function(e){return[el,z,M,O,L,_,W,er,Z,et,en,eu,J,K,Q].some(t=>t(e))},handleEndOfLineComment:function(e){return[I,z,$,en,O,L,_,W,K,Y,ee,et,es,Q,ec].some(t=>t(e))},handleRemainingComment:function(e){return[el,O,L,R,X,J,et,G,H,ep,Q,eo].some(t=>t(e))},getCommentChildNodes:function(e,t){if(("typescript"===t.parser||"flow"===t.parser||"acorn"===t.parser||"espree"===t.parser||"meriyah"===t.parser||"__babel_estree"===t.parser)&&"MethodDefinition"===e.type&&e.value&&"FunctionExpression"===e.value.type&&0===d(e.value).length&&!e.value.returnType&&!c(e.value.typeParameters)&&e.value.body)return[...e.decorators||[],e.key,e.value.body]},willPrintOwnComments:function(e){let t=e.getValue(),r=e.getParentNode();return(t&&(f(t)||m(t)||C(r)&&(g(b(t,S.Leading))||g(b(t,S.Trailing))))||r&&("JSXSpreadAttribute"===r.type||"JSXSpreadChild"===r.type||"UnionTypeAnnotation"===r.type||"TSUnionType"===r.type||("ClassDeclaration"===r.type||"ClassExpression"===r.type)&&r.superClass===t))&&(!y(e)||"UnionTypeAnnotation"===r.type||"TSUnionType"===r.type)}}}}),rE=E({"src/language-js/needs-parens.js"(e,t){x();var r=w(),n=ea(),{getFunctionParameters:u,getLeftSidePathName:i,hasFlowShorthandAnnotationComment:a,hasNakedLeftSide:s,hasNode:o,isBitwiseOperator:l,startsWithNoLookaheadToken:p,shouldFlatten:c,getPrecedence:d,isCallExpression:D,isMemberExpression:f,isObjectProperty:m,isTSTypeExpression:g}=tX();t.exports=function e(t,y){var h,E;let C=t.getParentNode();if(!C)return!1;let F=t.getName(),A=t.getNode();if(y.__isInHtmlInterpolation&&!y.bracketSpacing&&"ObjectExpression"===A.type&&function e(t){let n=t.getValue(),u=t.getParentNode(),i=t.getName();switch(u.type){case"NGPipeExpression":if("number"==typeof i&&u.arguments[i]===n&&u.arguments.length-1===i)return t.callParent(e);break;case"ObjectProperty":if("value"===i)return r(t.getParentNode(1).properties)===u;break;case"BinaryExpression":case"LogicalExpression":if("right"===i)return t.callParent(e);break;case"ConditionalExpression":if("alternate"===i)return t.callParent(e);break;case"UnaryExpression":if(u.prefix)return t.callParent(e)}return!1}(t))return!0;if("BlockStatement"===A.type||"BreakStatement"===A.type||"ClassBody"===A.type||"ClassDeclaration"===A.type||"ClassMethod"===A.type||"ClassProperty"===A.type||"PropertyDefinition"===A.type||"ClassPrivateProperty"===A.type||"ContinueStatement"===A.type||"DebuggerStatement"===A.type||"DeclareClass"===A.type||"DeclareExportAllDeclaration"===A.type||"DeclareExportDeclaration"===A.type||"DeclareFunction"===A.type||"DeclareInterface"===A.type||"DeclareModule"===A.type||"DeclareModuleExports"===A.type||"DeclareVariable"===A.type||"DoWhileStatement"===A.type||"EnumDeclaration"===A.type||"ExportAllDeclaration"===A.type||"ExportDefaultDeclaration"===A.type||"ExportNamedDeclaration"===A.type||"ExpressionStatement"===A.type||"ForInStatement"===A.type||"ForOfStatement"===A.type||"ForStatement"===A.type||"FunctionDeclaration"===A.type||"IfStatement"===A.type||"ImportDeclaration"===A.type||"InterfaceDeclaration"===A.type||"LabeledStatement"===A.type||"MethodDefinition"===A.type||"ReturnStatement"===A.type||"SwitchStatement"===A.type||"ThrowStatement"===A.type||"TryStatement"===A.type||"TSDeclareFunction"===A.type||"TSEnumDeclaration"===A.type||"TSImportEqualsDeclaration"===A.type||"TSInterfaceDeclaration"===A.type||"TSModuleDeclaration"===A.type||"TSNamespaceExportDeclaration"===A.type||"TypeAlias"===A.type||"VariableDeclaration"===A.type||"WhileStatement"===A.type||"WithStatement"===A.type)return!1;if("flow"!==y.parser&&a(t.getValue()))return!0;if("Identifier"===A.type){if(A.extra&&A.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(A.name)||"left"===F&&("async"===A.name&&!C.await||"let"===A.name)&&"ForOfStatement"===C.type)return!0;if("let"===A.name){let e=null===(h=t.findAncestor(e=>"ForOfStatement"===e.type))||void 0===h?void 0:h.left;if(e&&p(e,e=>e===A))return!0}if("object"===F&&"let"===A.name&&"MemberExpression"===C.type&&C.computed&&!C.optional){let e=t.findAncestor(e=>"ExpressionStatement"===e.type||"ForStatement"===e.type||"ForInStatement"===e.type),r=e?"ExpressionStatement"===e.type?e.expression:"ForStatement"===e.type?e.init:e.left:void 0;if(r&&p(r,e=>e===A))return!0}return!1}if("ObjectExpression"===A.type||"FunctionExpression"===A.type||"ClassExpression"===A.type||"DoExpression"===A.type){let e=null===(E=t.findAncestor(e=>"ExpressionStatement"===e.type))||void 0===E?void 0:E.expression;if(e&&p(e,e=>e===A))return!0}switch(C.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if("superClass"===F&&("ArrowFunctionExpression"===A.type||"AssignmentExpression"===A.type||"AwaitExpression"===A.type||"BinaryExpression"===A.type||"ConditionalExpression"===A.type||"LogicalExpression"===A.type||"NewExpression"===A.type||"ObjectExpression"===A.type||"SequenceExpression"===A.type||"TaggedTemplateExpression"===A.type||"UnaryExpression"===A.type||"UpdateExpression"===A.type||"YieldExpression"===A.type||"TSNonNullExpression"===A.type))return!0;break;case"ExportDefaultDeclaration":return function t(r,n){let u=r.getValue(),a=r.getParentNode();return"FunctionExpression"===u.type||"ClassExpression"===u.type?"ExportDefaultDeclaration"===a.type||!e(r,n):!(!s(u)||"ExportDefaultDeclaration"!==a.type&&e(r,n))&&r.call(e=>t(e,n),...i(r,u))}(t,y)||"SequenceExpression"===A.type;case"Decorator":if("expression"===F){if(f(A)&&A.computed)return!0;let e=!1,t=!1,r=A;for(;r;)switch(r.type){case"MemberExpression":t=!0,r=r.object;break;case"CallExpression":if(t||e)return"typescript"!==y.parser;e=!0,r=r.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return"typescript"!==y.parser;default:return!0}return!0}break;case"ArrowFunctionExpression":if("body"===F&&"SequenceExpression"!==A.type&&p(A,e=>"ObjectExpression"===e.type))return!0}switch(A.type){case"UpdateExpression":if("UnaryExpression"===C.type)return A.prefix&&("++"===A.operator&&"+"===C.operator||"--"===A.operator&&"-"===C.operator);case"UnaryExpression":switch(C.type){case"UnaryExpression":return A.operator===C.operator&&("+"===A.operator||"-"===A.operator);case"BindExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===F;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===F;case"BinaryExpression":return"left"===F&&"**"===C.operator;default:return!1}case"BinaryExpression":if("UpdateExpression"===C.type||"in"===A.operator&&function(e){let t=0,r=e.getValue();for(;r;){let n=e.getParentNode(t++);if(n&&"ForStatement"===n.type&&n.init===r)return!0;r=n}return!1}(t))return!0;if("|>"===A.operator&&A.extra&&A.extra.parenthesized){let e=t.getParentNode(1);if("BinaryExpression"===e.type&&"|>"===e.operator)return!0}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"LogicalExpression":switch(C.type){case"TSSatisfiesExpression":case"TSAsExpression":return!g(A);case"ConditionalExpression":return g(A);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===F;case"ClassExpression":case"ClassDeclaration":return"superClass"===F;case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===F;case"AssignmentExpression":case"AssignmentPattern":return"left"===F&&("TSTypeAssertion"===A.type||g(A));case"LogicalExpression":if("LogicalExpression"===A.type)return C.operator!==A.operator;case"BinaryExpression":{let{operator:e,type:t}=A;if(!e&&"TSTypeAssertion"!==t)return!0;let r=d(e),n=C.operator,u=d(n);return u>r||"right"===F&&u===r||u===r&&!c(n,e)||(u"===C.operator);default:return!1}case"TSConditionalType":case"TSFunctionType":case"TSConstructorType":if("extendsType"===F&&"TSConditionalType"===C.type){if("TSConditionalType"===A.type)return!0;let{typeAnnotation:e}=A.returnType||A.typeAnnotation;if("TSTypePredicate"===e.type&&e.typeAnnotation&&(e=e.typeAnnotation.typeAnnotation),"TSInferType"===e.type&&e.typeParameter.constraint)return!0}if("checkType"===F&&"TSConditionalType"===C.type)return!0;case"TSUnionType":case"TSIntersectionType":if(("TSUnionType"===C.type||"TSIntersectionType"===C.type)&&C.types.length>1&&(!A.types||A.types.length>1))return!0;case"TSInferType":if("TSInferType"===A.type&&"TSRestType"===C.type)break;case"TSTypeOperator":return"TSArrayType"===C.type||"TSOptionalType"===C.type||"TSRestType"===C.type||"objectType"===F&&"TSIndexedAccessType"===C.type||"TSTypeOperator"===C.type||"TSTypeAnnotation"===C.type&&t.getParentNode(1).type.startsWith("TSJSDoc");case"TSTypeQuery":return"objectType"===F&&"TSIndexedAccessType"===C.type||"elementType"===F&&"TSArrayType"===C.type;case"TypeofTypeAnnotation":return"objectType"===F&&("IndexedAccessType"===C.type||"OptionalIndexedAccessType"===C.type)||"elementType"===F&&"ArrayTypeAnnotation"===C.type;case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===C.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===C.type||"NullableTypeAnnotation"===C.type||"IntersectionTypeAnnotation"===C.type||"UnionTypeAnnotation"===C.type||"objectType"===F&&("IndexedAccessType"===C.type||"OptionalIndexedAccessType"===C.type);case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===C.type||"objectType"===F&&("IndexedAccessType"===C.type||"OptionalIndexedAccessType"===C.type);case"FunctionTypeAnnotation":{let e="NullableTypeAnnotation"===C.type?t.getParentNode(1):C;return"UnionTypeAnnotation"===e.type||"IntersectionTypeAnnotation"===e.type||"ArrayTypeAnnotation"===e.type||"objectType"===F&&("IndexedAccessType"===e.type||"OptionalIndexedAccessType"===e.type)||"NullableTypeAnnotation"===e.type||"FunctionTypeParam"===C.type&&null===C.name&&u(A).some(e=>e.typeAnnotation&&"NullableTypeAnnotation"===e.typeAnnotation.type)}case"OptionalIndexedAccessType":return"objectType"===F&&"IndexedAccessType"===C.type;case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof A.value&&"ExpressionStatement"===C.type&&!C.directive){let e=t.getParentNode(1);return"Program"===e.type||"BlockStatement"===e.type}return"object"===F&&"MemberExpression"===C.type&&"number"==typeof A.value;case"AssignmentExpression":{let e=t.getParentNode(1);return"body"===F&&"ArrowFunctionExpression"===C.type||("key"!==F||"ClassProperty"!==C.type&&"PropertyDefinition"!==C.type||!C.computed)&&("init"!==F&&"update"!==F||"ForStatement"!==C.type)&&("ExpressionStatement"===C.type?"ObjectPattern"===A.left.type:!("key"===F&&"TSPropertySignature"===C.type||"AssignmentExpression"===C.type||"SequenceExpression"===C.type&&e&&"ForStatement"===e.type&&(e.init===C||e.update===C)||"value"===F&&"Property"===C.type&&e&&"ObjectPattern"===e.type&&e.properties.includes(C)||"NGChainedExpression"===C.type))}case"ConditionalExpression":switch(C.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===F;case"ConditionalExpression":return"test"===F;case"MemberExpression":case"OptionalMemberExpression":return"object"===F;default:return!1}case"FunctionExpression":switch(C.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===F;case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(C.type){case"BinaryExpression":return"|>"!==C.operator||A.extra&&A.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===F;case"MemberExpression":case"OptionalMemberExpression":return"object"===F;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return"test"===F;default:return!1}case"ClassExpression":if(n(A.decorators))return!0;if("NewExpression"===C.type)return"callee"===F;break;case"OptionalMemberExpression":case"OptionalCallExpression":{let e=t.getParentNode(1);if("object"===F&&"MemberExpression"===C.type||"callee"===F&&("CallExpression"===C.type||"NewExpression"===C.type)||"TSNonNullExpression"===C.type&&"MemberExpression"===e.type&&e.object===C)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if("callee"===F&&("BindExpression"===C.type||"NewExpression"===C.type)){let e=A;for(;e;)switch(e.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":e=e.object;break;case"TaggedTemplateExpression":e=e.tag;break;case"TSNonNullExpression":e=e.expression;break;default:return!1}}break;case"BindExpression":return"callee"===F&&("BindExpression"===C.type||"NewExpression"===C.type)||"object"===F&&f(C);case"NGPipeExpression":return!("NGRoot"===C.type||"NGMicrosyntaxExpression"===C.type||"ObjectProperty"===C.type&&!(A.extra&&A.extra.parenthesized)||"ArrayExpression"===C.type||D(C)&&C.arguments[F]===A||"right"===F&&"NGPipeExpression"===C.type||"property"===F&&"MemberExpression"===C.type||"AssignmentExpression"===C.type);case"JSXFragment":case"JSXElement":return"callee"===F||"left"===F&&"BinaryExpression"===C.type&&"<"===C.operator||"ArrayExpression"!==C.type&&"ArrowFunctionExpression"!==C.type&&"AssignmentExpression"!==C.type&&"AssignmentPattern"!==C.type&&"BinaryExpression"!==C.type&&"NewExpression"!==C.type&&"ConditionalExpression"!==C.type&&"ExpressionStatement"!==C.type&&"JsExpressionRoot"!==C.type&&"JSXAttribute"!==C.type&&"JSXElement"!==C.type&&"JSXExpressionContainer"!==C.type&&"JSXFragment"!==C.type&&"LogicalExpression"!==C.type&&!D(C)&&!m(C)&&"ReturnStatement"!==C.type&&"ThrowStatement"!==C.type&&"TypeCastExpression"!==C.type&&"VariableDeclarator"!==C.type&&"YieldExpression"!==C.type;case"TypeAnnotation":return"returnType"===F&&"ArrowFunctionExpression"===C.type&&o(A,e=>"ObjectTypeAnnotation"===e.type&&o(e,e=>"FunctionTypeAnnotation"===e.type||void 0)||void 0)}return!1}}}),rC=E({"src/language-js/print-preprocess.js"(e,t){x(),t.exports=function(e,t){switch(t.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":case"__vue_ts_expression":return Object.assign(Object.assign({},e),{},{type:t.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:e,comments:[],rootMarker:t.rootMarker});default:return e}}}}),rF=E({"src/language-js/print/html-binding.js"(e,t){x();var{builders:{join:r,line:n,group:u,softline:i,indent:a}}=q();t.exports={isVueEventBindingExpression:function e(t){switch(t.type){case"MemberExpression":switch(t.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return e(t.object)}return!1;case"Identifier":return!0;default:return!1}},printHtmlBinding:function(e,t,s){let o=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(o,t),"File"===o.type){if(t.__isVueForBindingLeft)return e.call(e=>{let t=r([",",n],e.map(s,"params")),{params:o}=e.getValue();return 1===o.length?t:["(",a([i,u(t)]),i,")"]},"program","body",0);if(t.__isVueBindings)return e.call(e=>r([",",n],e.map(s,"params")),"program","body",0)}}}}}),rA=E({"src/language-js/print/binaryish.js"(e,t){x();var{printComments:r}=tI(),{getLast:n}=ed(),{builders:{join:u,line:i,softline:a,group:s,indent:o,align:l,indentIfBreak:p},utils:{cleanDoc:c,getDocParts:d,isConcat:D}}=q(),{hasLeadingOwnLineComment:f,isBinaryish:m,isJsxNode:g,shouldFlatten:y,hasComment:h,CommentCheckFlags:E,isCallExpression:C,isMemberExpression:F,isObjectProperty:A,isEnabledHackPipeline:v}=tX(),b=0;function S(e){return"LogicalExpression"===e.type&&!!("ObjectExpression"===e.right.type&&e.right.properties.length>0||"ArrayExpression"===e.right.type&&e.right.elements.length>0||g(e.right))}t.exports={printBinaryishExpression:function(e,t,x){let T=e.getValue(),B=e.getParentNode(),N=e.getParentNode(1),w=T!==B.body&&("IfStatement"===B.type||"WhileStatement"===B.type||"SwitchStatement"===B.type||"DoWhileStatement"===B.type),k=v(t)&&"|>"===T.operator,j=function e(t,n,a,p,g){let C=t.getValue();if(!m(C))return[s(n())];let F=[];y(C.operator,C.left.operator)?F=t.call(t=>e(t,n,a,!0,g),"left"):F.push(s(n("left")));let A=S(C),x=("|>"===C.operator||"NGPipeExpression"===C.type||"|"===C.operator&&"__vue_expression"===a.parser)&&!f(a.originalText,C.right),b="NGPipeExpression"===C.type?"|":C.operator,T="NGPipeExpression"===C.type&&C.arguments.length>0?s(o([i,": ",u([i,": "],t.map(n,"arguments").map(e=>l(2,s(e))))])):"",B;if(A)B=[b," ",n("right"),T];else{let r=v(a)&&"|>"===b?t.call(t=>e(t,n,a,!0,g),"right"):n("right");B=[x?i:"",b,x?" ":i,r,T]}let N=t.getParentNode(),w=h(C.left,E.Trailing|E.Line),k=w||!(g&&"LogicalExpression"===C.type)&&N.type!==C.type&&C.left.type!==C.type&&C.right.type!==C.type;if(F.push(x?"":" ",k?s(B,{shouldBreak:w}):B),p&&h(C)){let e=c(r(t,F,a));return D(e)||"fill"===e.type?d(e):[e]}return F}(e,x,t,!1,w);if(w)return j;if(k)return s(j);if(C(B)&&B.callee===T||"UnaryExpression"===B.type||F(B)&&!B.computed)return s([o([a,...j]),a]);let P="ReturnStatement"===B.type||"ThrowStatement"===B.type||"JSXExpressionContainer"===B.type&&"JSXAttribute"===N.type||"|"!==T.operator&&"JsExpressionRoot"===B.type||"NGPipeExpression"!==T.type&&("NGRoot"===B.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===B.type&&"NGMicrosyntax"===N.type&&1===N.body.length)||T===B.body&&"ArrowFunctionExpression"===B.type||T!==B.body&&"ForStatement"===B.type||"ConditionalExpression"===B.type&&"ReturnStatement"!==N.type&&"ThrowStatement"!==N.type&&!C(N)||"TemplateLiteral"===B.type,I="AssignmentExpression"===B.type||"VariableDeclarator"===B.type||"ClassProperty"===B.type||"PropertyDefinition"===B.type||"TSAbstractPropertyDefinition"===B.type||"ClassPrivateProperty"===B.type||A(B),O=m(T.left)&&y(T.operator,T.left.operator);if(P||S(T)&&!O||!S(T)&&I)return s(j);if(0===j.length)return"";let L=g(T.right),_=j.findIndex(e=>"string"!=typeof e&&!Array.isArray(e)&&"group"===e.type),M=j.slice(0,-1===_?1:_+1),$=j.slice(M.length,L?-1:void 0),R=Symbol("logicalChain-"+ ++b),V=s([...M,o($)],{id:R});return L?s([V,p(n(j),{groupId:R})]):V},shouldInlineLogicalExpression:S}}}),rv=E({"src/language-js/print/angular.js"(e,t){x();var{builders:{join:r,line:n,group:u}}=q(),{hasNode:i,hasComment:a,getComments:s}=tX(),{printBinaryishExpression:o}=rA();function l(e,t,r){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===r.body[0].type&&null===r.body[0].value}t.exports={printAngular:function(e,t,p){let c=e.getValue();if(c.type.startsWith("NG"))switch(c.type){case"NGRoot":return[p("node"),a(c.node)?" //"+s(c.node)[0].value.trimEnd():""];case"NGPipeExpression":return o(e,t,p);case"NGChainedExpression":return u(r([";",n],e.map(e=>i(e.getValue(),e=>{switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})?p():["(",p(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[c.prefix,": ",c.value.trim()];case"NGMicrosyntax":return e.map((e,t)=>[0===t?"":l(e.getValue(),t,c)?" ":[";",n],p()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(c.name)?c.name:JSON.stringify(c.name);case"NGMicrosyntaxExpression":return[p("expression"),null===c.alias?"":[" as ",p("alias")]];case"NGMicrosyntaxKeyedExpression":{let t=e.getName(),r=e.getParentNode(),n=l(c,t,r)||(1===t&&("then"===c.key.name||"else"===c.key.name)||2===t&&"else"===c.key.name&&"NGMicrosyntaxKeyedExpression"===r.body[t-1].type&&"then"===r.body[t-1].key.name)&&"NGMicrosyntaxExpression"===r.body[0].type;return[p("key"),n?" ":": ",p("expression")]}case"NGMicrosyntaxLet":return["let ",p("key"),null===c.value?"":[" = ",p("value")]];case"NGMicrosyntaxAs":return[p("key")," as ",p("alias")];default:throw Error(`Unknown Angular node type: ${JSON.stringify(c.type)}.`)}}}}}),rx=E({"src/language-js/print/jsx.js"(e,t){x();var{printComments:r,printDanglingComments:n,printCommentsSeparately:u}=tI(),{builders:{line:i,hardline:a,softline:s,group:o,indent:l,conditionalGroup:p,fill:c,ifBreak:d,lineSuffixBoundary:D,join:f},utils:{willBreak:m}}=q(),{getLast:g,getPreferredQuote:y}=ed(),{isJsxNode:h,rawText:E,isCallExpression:C,isStringLiteral:F,isBinaryish:A,hasComment:v,CommentCheckFlags:b,hasNodeIgnoreComment:S}=tX(),T=rE(),{willPrintOwnComments:B}=rh(),N=e=>""===e||e===i||e===a||e===s;function w(e,t,r,n){return e?"":("JSXElement"!==r.type||r.closingElement)&&(!n||"JSXElement"!==n.type||n.closingElement)?s:1===t.length?s:a}function k(e,t,r,n){return e?a:1===t.length&&("JSXElement"!==r.type||r.closingElement)&&(!n||"JSXElement"!==n.type||n.closingElement)?s:a}var j=` +\r `,P=RegExp("(["+j+"]+)"),I=RegExp("[^"+j+"]"),O=e=>e.replace(RegExp("(?:^"+P.source+"|"+P.source+"$)"),"");function L(e){return"JSXText"===e.type&&(I.test(E(e))||!/\n/.test(E(e)))}t.exports={hasJsxIgnoreComment:function(e){let t=e.getValue(),r=e.getParentNode();if(!r||!t||!h(t)||!h(r))return!1;let n=r.children.indexOf(t),u=null;for(let e=n;e>0;e--){let t=r.children[e-1];if(!("JSXText"===t.type&&!L(t))){u=t;break}}return u&&"JSXExpressionContainer"===u.type&&"JSXEmptyExpression"===u.expression.type&&S(u.expression)},printJsx:function(e,t,x){let S=e.getValue();if(S.type.startsWith("JSX"))switch(S.type){case"JSXAttribute":return function(e,t,r){let n=e.getValue(),i=[];if(i.push(r("name")),n.value){let a;if(F(n.value)){let r=E(n.value).slice(1,-1).replace(/'/g,"'").replace(/"/g,'"'),{escaped:i,quote:s,regex:o}=y(r,t.jsxSingleQuote?"'":'"');r=r.replace(o,i);let{leading:l,trailing:p}=e.call(()=>u(e,t),"value");a=[l,s,r,s,p]}else a=r("value");i.push("=",a)}return i}(e,t,x);case"JSXIdentifier":return String(S.name);case"JSXNamespacedName":return f(":",[x("namespace"),x("name")]);case"JSXMemberExpression":return f(".",[x("object"),x("property")]);case"JSXSpreadAttribute":case"JSXSpreadChild":let j;return j=e.getValue(),["{",e.call(e=>{let n=["...",x()];return v(e.getValue())&&B(e)?[l([s,r(e,n,t)]),s]:n},"JSXSpreadAttribute"===j.type?"argument":"expression"),"}"];case"JSXExpressionContainer":let I,_;return I=e.getValue(),(_=(e,t)=>"JSXEmptyExpression"===e.type||!v(e)&&("ArrayExpression"===e.type||"ObjectExpression"===e.type||"ArrowFunctionExpression"===e.type||"AwaitExpression"===e.type&&(_(e.argument,e)||"JSXElement"===e.argument.type)||C(e)||"FunctionExpression"===e.type||"TemplateLiteral"===e.type||"TaggedTemplateExpression"===e.type||"DoExpression"===e.type||h(t)&&("ConditionalExpression"===e.type||A(e))))(I.expression,e.getParentNode(0))?o(["{",x("expression"),D,"}"]):o(["{",l([s,x("expression")]),s,D,"}"]);case"JSXFragment":case"JSXElement":let M;return M=r(e,function(e,t,r){var n;let u,D=e.getValue();if("JSXElement"===D.type&&function(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;let t=e.children[0];return"JSXText"===t.type&&!L(t)}(D))return[r("openingElement"),r("closingElement")];let f=r("JSXElement"===D.type?"openingElement":"openingFragment"),y=r("JSXElement"===D.type?"closingElement":"closingFragment");if(1===D.children.length&&"JSXExpressionContainer"===D.children[0].type&&("TemplateLiteral"===D.children[0].expression.type||"TaggedTemplateExpression"===D.children[0].expression.type))return[f,...e.map(r,"children"),y];D.children=D.children.map(e=>"JSXExpressionContainer"===e.type&&F(e.expression)&&" "===e.expression.value&&!v(e.expression)?{type:"JSXText",value:" ",raw:" "}:e);let C=D.children.some(h),A=D.children.filter(e=>"JSXExpressionContainer"===e.type).length>1,x="JSXElement"===D.type&&D.openingElement.attributes.length>1,b=m(f)||C||x||A,S="mdx"===e.getParentNode().rootMarker,T=t.singleQuote?"{' '}":'{" "}',B=S?" ":d([T,s]," "),j=(n=D.openingElement&&D.openingElement.name&&"fbt"===D.openingElement.name.name,u=[],e.each((e,t,s)=>{let o=e.getValue();if("JSXText"===o.type){let e=E(o);if(L(o)){let r,a=e.split(P);if(""===a[0]){if(u.push(""),a.shift(),/\n/.test(a[0])){let e=s[t+1];u.push(k(n,a[1],o,e))}else u.push(B);a.shift()}if(""===g(a)&&(a.pop(),r=a.pop()),0===a.length)return;for(let[e,t]of a.entries())e%2==1?u.push(i):u.push(t);if(void 0!==r){if(/\n/.test(r)){let e=s[t+1];u.push(k(n,g(u),o,e))}else u.push(B)}else{let e=s[t+1];u.push(w(n,g(u),o,e))}}else/\n/.test(e)?e.match(/\n/g).length>1&&u.push("",a):u.push("",B)}else{let e=r();u.push(e);let i=s[t+1];if(i&&L(i)){let e=O(E(i)).split(P)[0];u.push(w(n,e,o,i))}else u.push(a)}},"children"),u),I=D.children.some(e=>L(e));for(let e=j.length-2;e>=0;e--){let t=""===j[e]&&""===j[e+1],r=j[e]===a&&""===j[e+1]&&j[e+2]===a,n=(j[e]===s||j[e]===a)&&""===j[e+1]&&j[e+2]===B,u=j[e]===B&&""===j[e+1]&&(j[e+2]===s||j[e+2]===a),i=j[e]===B&&""===j[e+1]&&j[e+2]===B,o=j[e]===s&&""===j[e+1]&&j[e+2]===a||j[e]===a&&""===j[e+1]&&j[e+2]===s;r&&I||t||n||i||o?j.splice(e,2):u&&j.splice(e+1,2)}for(;j.length>0&&N(g(j));)j.pop();for(;j.length>1&&N(j[0])&&N(j[1]);)j.shift(),j.shift();let _=[];for(let[e,t]of j.entries()){if(t===B){if(1===e&&""===j[e-1]){if(2===j.length){_.push(T);continue}_.push([T,a]);continue}if(e===j.length-1||""===j[e-1]&&j[e-2]===a){_.push(T);continue}}_.push(t),m(t)&&(b=!0)}let M=I?c(_):o(_,{shouldBreak:!0});if(S)return M;let $=o([f,l([a,M]),a,y]);return b?$:p([o([f,...j,y]),$])}(e,t,x),t),function(e,t,r){let n=e.getParentNode();if(!n||({ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0})[n.type])return t;let u=e.match(void 0,e=>"ArrowFunctionExpression"===e.type,C,e=>"JSXExpressionContainer"===e.type),i=T(e,r);return o([i?"":d("("),l([s,t]),s,i?"":d(")")],{shouldBreak:u})}(e,M,t);case"JSXOpeningElement":return function(e,t,r){let n,u=e.getValue(),p=u.name&&v(u.name)||u.typeParameters&&v(u.typeParameters);if(u.selfClosing&&0===u.attributes.length&&!p)return["<",r("name"),r("typeParameters")," />"];if(u.attributes&&1===u.attributes.length&&u.attributes[0].value&&F(u.attributes[0].value)&&!u.attributes[0].value.value.includes(` +`)&&!p&&!v(u.attributes[0]))return o(["<",r("name"),r("typeParameters")," ",...e.map(r,"attributes"),u.selfClosing?" />":">"]);let c=u.attributes&&u.attributes.some(e=>e.value&&F(e.value)&&e.value.value.includes(` +`)),d=t.singleAttributePerLine&&u.attributes.length>1?a:i;return o(["<",r("name"),r("typeParameters"),l(e.map(()=>[d,r()],"attributes")),...u.selfClosing?[i,"/>"]:(n=u.attributes.length>0&&v(g(u.attributes),b.Trailing),0===u.attributes.length&&!p||(t.bracketSameLine||t.jsxBracketSameLine)&&(!p||u.attributes.length>0)&&!n)?[">"]:[s,">"]],{shouldBreak:c})}(e,t,x);case"JSXClosingElement":let $,R,V;return $=e.getValue(),(R=[]).push(""),R;case"JSXOpeningFragment":case"JSXClosingFragment":let W,q,J,U;return q=v(W=e.getValue()),J=v(W,b.Line),[(U="JSXOpeningFragment"===W.type)?"<":""];case"JSXEmptyExpression":let H;return H=v(e.getValue(),b.Line),[n(e,t,!H),H?a:""];case"JSXText":throw Error("JSXText should be handled by JSXElement");default:throw Error(`Unknown JSX node type: ${JSON.stringify(S.type)}.`)}}}}}),rb=E({"src/language-js/print/misc.js"(e,t){x();var{isNonEmptyArray:r}=ed(),{builders:{indent:n,join:u,line:i}}=q(),{isFlowAnnotationComment:a}=tX();function s(e,t,r){let n=e.getValue();if(!n.typeAnnotation)return"";let u=e.getParentNode(),i="DeclareFunction"===u.type&&u.id===n;return a(t.originalText,n.typeAnnotation)?[" /*: ",r("typeAnnotation")," */"]:[i?"":": ",r("typeAnnotation")]}t.exports={printOptionalToken:function(e){let t=e.getValue();return t.optional&&("Identifier"!==t.type||t!==e.getParentNode().key)?"OptionalCallExpression"===t.type||"OptionalMemberExpression"===t.type&&t.computed?"?.":"?":""},printDefiniteToken:function(e){return e.getValue().definite||e.match(void 0,(e,t)=>"id"===t&&"VariableDeclarator"===e.type&&e.definite)?"!":""},printFunctionTypeParameters:function(e,t,r){let n=e.getValue();return n.typeArguments?r("typeArguments"):n.typeParameters?r("typeParameters"):""},printBindExpressionCallee:function(e,t,r){return["::",r("callee")]},printTypeScriptModifiers:function(e,t,n){return r(e.getValue().modifiers)?[u(" ",e.map(n,"modifiers"))," "]:""},printTypeAnnotation:s,printRestSpread:function(e,t,r){return["...",r("argument"),s(e,t,r)]},adjustClause:function(e,t,r){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||r?[" ",t]:n([i,t])},printDirective:function(e,t){let r=e.slice(1,-1);if(r.includes('"')||r.includes("'"))return e;let n=t.singleQuote?"'":'"';return n+r+n}}}}),rS=E({"src/language-js/print/array.js"(e,t){x();var{printDanglingComments:r}=tI(),{builders:{line:n,softline:u,hardline:i,group:a,indent:s,ifBreak:o,fill:l}}=q(),{getLast:p,hasNewline:c}=ed(),{shouldPrintComma:d,hasComment:D,CommentCheckFlags:f,isNextLineEmpty:m,isNumericLiteral:g,isSignedNumericLiteral:y}=tX(),{locStart:h}=tS(),{printOptionalToken:E,printTypeAnnotation:C}=rb();function F(e,t){return e.elements.length>1&&e.elements.every(e=>e&&(g(e)||y(e)&&!D(e.argument))&&!D(e,f.Trailing|f.Line,e=>!c(t.originalText,h(e),{backwards:!0})))}function A(e,t,r,i){let s=[],o=[];return e.each(e=>{s.push(o,a(i())),o=[",",n],e.getValue()&&m(e.getValue(),t)&&o.push(u)},r),s}t.exports={printArray:function(e,t,c){let g=e.getValue(),y=[],h="TupleExpression"===g.type?"#[":"[";if(0===g.elements.length)D(g,f.Dangling)?y.push(a([h,r(e,t),u,"]"])):y.push(h,"]");else{let E,C=p(g.elements),v=!(C&&"RestElement"===C.type),x=Symbol("array"),b=!t.__inJestEach&&g.elements.length>1&&g.elements.every((e,t,r)=>{let n=e&&e.type;if("ArrayExpression"!==n&&"ObjectExpression"!==n)return!1;let u=r[t+1];if(u&&n!==u.type)return!1;let i="ArrayExpression"===n?"elements":"properties";return e[i]&&e[i].length>1}),S=F(g,t),T=v?null===C?",":d(t)?S?o(",","",{groupId:x}):o(","):"":"";y.push(a([h,s([u,S?(E=[],e.each((e,r,u)=>{let a=r===u.length-1;E.push([c(),a?T:","]),a||E.push(m(e.getValue(),t)?[i,i]:D(u[r+1],f.Leading|f.Line)?i:n)},"elements"),l(E)):[A(e,t,"elements",c),T],r(e,t,!0)]),u,"]"],{shouldBreak:b,id:x}))}return y.push(E(e),C(e,t,c)),y},printArrayItems:A,isConciselyPrintedArray:F}}}),rT=E({"src/language-js/print/call-arguments.js"(e,t){x();var{printDanglingComments:r}=tI(),{getLast:n,getPenultimate:u}=ed(),{getFunctionParameters:i,hasComment:a,CommentCheckFlags:s,isFunctionCompositionArgs:o,isJsxNode:l,isLongCurriedCallExpression:p,shouldPrintComma:c,getCallArguments:d,iterateCallArgumentsPath:D,isNextLineEmpty:f,isCallExpression:m,isStringLiteral:g,isObjectProperty:y,isTSTypeExpression:h}=tX(),{builders:{line:E,hardline:C,softline:F,group:A,indent:v,conditionalGroup:b,ifBreak:S,breakParent:T},utils:{willBreak:B}}=q(),{ArgExpansionBailout:N}=eP(),{isConciselyPrintedArray:w}=rS();function k(e){var t;let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"ObjectExpression"===e.type&&(e.properties.length>0||a(e))||"ArrayExpression"===e.type&&(e.elements.length>0||a(e))||"TSTypeAssertion"===e.type&&k(e.expression)||h(e)&&k(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type||"BlockStatement"===(t=e.body).type&&(t.body.some(e=>"EmptyStatement"!==e.type)||a(t,s.Dangling)))&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type&&k(e.body,!0)||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||!r&&(m(e.body)||"ConditionalExpression"===e.body.type)||l(e.body))||"DoExpression"===e.type||"ModuleExpression"===e.type}t.exports=function(e,t,l){let m,h,x=e.getValue(),j="ImportExpression"===x.type,P=d(x);if(0===P.length)return["(",r(e,t,!0),")"];if(2===P.length&&"ArrowFunctionExpression"===P[0].type&&0===i(P[0]).length&&"BlockStatement"===P[0].body.type&&"ArrayExpression"===P[1].type&&!P.some(e=>a(e)))return["(",l(["arguments",0]),", ",l(["arguments",1]),")"];let I=!1,O=!1,L=P.length-1,_=[];D(e,(e,r)=>{let n=e.getNode(),u=[l()];r===L||(f(n,t)?(0===r&&(O=!0),I=!0,u.push(",",C,C)):u.push(",",E)),_.push(u)});let M=!(j||x.callee&&"Import"===x.callee.type)&&c(t,"all")?",":"";function $(){return A(["(",v([E,..._]),M,E,")"],{shouldBreak:!0})}if(I||"Decorator"!==e.getParentNode().type&&o(P))return $();let R=function(e){var t;if(2!==e.length)return!1;let[r,n]=e;return!!("ModuleExpression"===r.type&&"ObjectExpression"===(t=n).type&&1===t.properties.length&&y(t.properties[0])&&"Identifier"===t.properties[0].key.type&&"type"===t.properties[0].key.name&&g(t.properties[0].value)&&"module"===t.properties[0].value.value)||!a(r)&&("FunctionExpression"===r.type||"ArrowFunctionExpression"===r.type&&"BlockStatement"===r.body.type)&&"FunctionExpression"!==n.type&&"ArrowFunctionExpression"!==n.type&&"ConditionalExpression"!==n.type&&!k(n)}(P),V=(m=n(P),h=u(P),!a(m,s.Leading)&&!a(m,s.Trailing)&&k(m)&&(!h||h.type!==m.type)&&(2!==P.length||"ArrowFunctionExpression"!==h.type||"ArrayExpression"!==m.type)&&!(P.length>1&&"ArrayExpression"===m.type&&w(m,t)));if(R||V){if(R?_.slice(1).some(B):_.slice(0,-1).some(B))return $();let t=[];try{e.try(()=>{D(e,(e,r)=>{R&&0===r&&(t=[[l([],{expandFirstArg:!0}),_.length>1?",":"",O?C:E,O?C:""],..._.slice(1)]),V&&r===L&&(t=[..._.slice(0,-1),l([],{expandLastArg:!0})])})})}catch(e){if(e instanceof N)return $();throw e}return[_.some(B)?T:"",b([["(",...t,")"],R?["(",A(t[0],{shouldBreak:!0}),...t.slice(1),")"]:["(",..._.slice(0,-1),A(n(t),{shouldBreak:!0}),")"],$()])]}let W=["(",v([F,..._]),S(M),F,")"];return p(e)?W:A(W,{shouldBreak:_.some(B)||I})}}}),rB=E({"src/language-js/print/member.js"(e,t){x();var{builders:{softline:r,group:n,indent:u,label:i}}=q(),{isNumericLiteral:a,isMemberExpression:s,isCallExpression:o}=tX(),{printOptionalToken:l}=rb();function p(e,t,i){let s=i("property"),o=e.getValue(),p=l(e);return o.computed?!o.property||a(o.property)?[p,"[",s,"]"]:n([p,"[",u([r,s]),r,"]"]):[p,".",s]}t.exports={printMemberExpression:function(e,t,a){let l=e.getValue(),c=e.getParentNode(),d,D=0;do d=e.getParentNode(D),D++;while(d&&(s(d)||"TSNonNullExpression"===d.type));let f=a("object"),m=p(e,t,a),g=d&&("NewExpression"===d.type||"BindExpression"===d.type||"AssignmentExpression"===d.type&&"Identifier"!==d.left.type)||l.computed||"Identifier"===l.object.type&&"Identifier"===l.property.type&&!s(c)||("AssignmentExpression"===c.type||"VariableDeclarator"===c.type)&&(o(l.object)&&l.object.arguments.length>0||"TSNonNullExpression"===l.object.type&&o(l.object.expression)&&l.object.expression.arguments.length>0||"member-chain"===f.label);return i("member-chain"===f.label?"member-chain":"member",[f,g?m:n(u([r,m]))])},printMemberLookup:p}}}),rN=E({"src/language-js/print/member-chain.js"(e,t){x();var{printComments:r}=tI(),{getLast:n,isNextLineEmptyAfterIndex:u,getNextNonSpaceNonCommentCharacterIndex:i}=ed(),a=rE(),{isCallExpression:s,isMemberExpression:o,isFunctionOrArrowExpression:l,isLongCurriedCallExpression:p,isMemberish:c,isNumericLiteral:d,isSimpleCallArgument:D,hasComment:f,CommentCheckFlags:m,isNextLineEmpty:g}=tX(),{locEnd:y}=tS(),{builders:{join:h,hardline:E,group:C,indent:F,conditionalGroup:A,breakParent:v,label:b},utils:{willBreak:S}}=q(),T=rT(),{printMemberLookup:B}=rB(),{printOptionalToken:N,printFunctionTypeParameters:w,printBindExpressionCallee:k}=rb();t.exports=function(e,t,x){var j;let P,I,O=e.getParentNode(),L=!O||"ExpressionStatement"===O.type,_=[];function M(e){let{originalText:r}=t,n=i(r,e,y);return")"===r.charAt(n)?!1!==n&&u(r,n+1):g(e,t)}let $=e.getValue();_.unshift({node:$,printed:[N(e),w(e,t,x),T(e,t,x)]}),$.callee&&e.call(e=>(function e(n){let u=n.getValue();s(u)&&(c(u.callee)||s(u.callee))?(_.unshift({node:u,printed:[r(n,[N(n),w(n,t,x),T(n,t,x)],t),M(u)?E:""]}),n.call(t=>e(t),"callee")):c(u)?(_.unshift({node:u,needsParens:a(n,t),printed:r(n,o(u)?B(n,t,x):k(n,t,x),t)}),n.call(t=>e(t),"object")):"TSNonNullExpression"===u.type?(_.unshift({node:u,printed:r(n,"!",t)}),n.call(t=>e(t),"expression")):_.unshift({node:u,printed:x()})})(e),"callee");let R=[],V=[_[0]],W=1;for(;W<_.length&&("TSNonNullExpression"===_[W].node.type||s(_[W].node)||o(_[W].node)&&_[W].node.computed&&d(_[W].node.property));++W)V.push(_[W]);if(!s(_[0].node))for(;W+1<_.length&&c(_[W].node)&&c(_[W+1].node);++W)V.push(_[W]);R.push(V),V=[];let q=!1;for(;W<_.length;++W){if(q&&c(_[W].node)){if(_[W].node.computed&&d(_[W].node.property)){V.push(_[W]);continue}R.push(V),V=[],q=!1}(s(_[W].node)||"ImportExpression"===_[W].node.type)&&(q=!0),V.push(_[W]),f(_[W].node,m.Trailing)&&(R.push(V),V=[],q=!1)}function J(e){return/^[A-Z]|^[$_]+$/.test(e)}V.length>0&&R.push(V);let U=R.length>=2&&!f(R[1][0].node)&&function(e){let r=e[1].length>0&&e[1][0].node.computed;if(1===e[0].length){let n=e[0][0].node;return"ThisExpression"===n.type||"Identifier"===n.type&&(J(n.name)||L&&n.name.length<=t.tabWidth||r)}let u=n(e[0]).node;return o(u)&&"Identifier"===u.property.type&&(J(u.property.name)||r)}(R);function H(e){let t=e.map(e=>e.printed);return e.length>0&&n(e).needsParens?["(",...t,")"]:t}let G=R.map(H),X=U?3:2,z=R.flat(),K=z.slice(1,-1).some(e=>f(e.node,m.Leading))||z.slice(0,-1).some(e=>f(e.node,m.Trailing))||R[X]&&f(R[X][0].node,m.Leading);if(R.length<=X&&!K)return p(e)?G:C(G);let Q=n(R[U?1:0]).node,Y=!s(Q)&&M(Q),Z=[H(R[0]),U?R.slice(1,2).map(H):"",Y?E:"",0===(j=R.slice(U?2:1)).length?"":F(C([E,h(E,j.map(H))]))],ee=_.map(e=>{let{node:t}=e;return t}).filter(s);return b("member-chain",K||ee.length>2&&ee.some(e=>!e.arguments.every(e=>D(e,0)))||G.slice(0,-1).some(S)||(P=n(n(R)).node,I=n(G),s(P)&&S(I)&&ee.slice(0,-1).some(e=>e.arguments.some(l)))?C(Z):[S(G)||Y?v:"",A([G,Z])])}}}),rw=E({"src/language-js/print/call-expression.js"(e,t){x();var{builders:{join:r,group:n}}=q(),u=rE(),{getCallArguments:i,hasFlowAnnotationComment:a,isCallExpression:s,isMemberish:o,isStringLiteral:l,isTemplateOnItsOwnLine:p,isTestCall:c,iterateCallArgumentsPath:d}=tX(),D=rN(),f=rT(),{printOptionalToken:m,printFunctionTypeParameters:g}=rb();t.exports={printCallExpression:function(e,t,y){let h=e.getValue(),E=e.getParentNode(),C="NewExpression"===h.type,F="ImportExpression"===h.type,A=m(e),v=i(h);if(v.length>0&&(!F&&!C&&function(e,t){if("Identifier"!==e.callee.type)return!1;if("require"===e.callee.name)return!0;if("define"===e.callee.name){let r=i(e);return"ExpressionStatement"===t.type&&(1===r.length||2===r.length&&"ArrayExpression"===r[0].type||3===r.length&&l(r[0])&&"ArrayExpression"===r[1].type)}return!1}(h,E)||1===v.length&&p(v[0],t.originalText)||!C&&c(h,E))){let n=[];return d(e,()=>{n.push(y())}),[C?"new ":"",y("callee"),A,g(e,t,y),"(",r(", ",n),")"]}let x=("babel"===t.parser||"babel-flow"===t.parser)&&h.callee&&"Identifier"===h.callee.type&&a(h.callee.trailingComments);if(x&&(h.callee.trailingComments[0].printed=!0),!F&&!C&&o(h.callee)&&!e.call(e=>u(e,t),"callee"))return D(e,t,y);let b=[C?"new ":"",F?"import":y("callee"),A,x?`/*:: ${h.callee.trailingComments[0].value.slice(2).trim()} */`:"",g(e,t,y),f(e,t,y)];return F||s(h.callee)?n(b):b}}}}),rk=E({"src/language-js/print/assignment.js"(e,t){x();var{isNonEmptyArray:r,getStringWidth:n}=ed(),{builders:{line:u,group:i,indent:a,indentIfBreak:s,lineSuffixBoundary:o},utils:{cleanDoc:l,willBreak:p,canBreak:c}}=q(),{hasLeadingOwnLineComment:d,isBinaryish:D,isStringLiteral:f,isLiteral:m,isNumericLiteral:g,isCallExpression:y,isMemberExpression:h,getCallArguments:E,rawText:C,hasComment:F,isSignedNumericLiteral:A,isObjectProperty:v}=tX(),{shouldInlineLogicalExpression:b}=rA(),{printCallExpression:S}=rw();function T(e,t,x,T,j,P){let I=function(e,t,u,i,a){var s;let o=e.getValue(),x=o[a];if(!x)return"only-left";let T=!B(x);if(e.match(B,N,e=>!T||"ExpressionStatement"!==e.type&&"VariableDeclaration"!==e.type))return T?"ArrowFunctionExpression"===x.type&&"ArrowFunctionExpression"===x.body.type?"chain-tail-arrow-chain":"chain-tail":"chain";if(!T&&B(x.right)||d(t.originalText,x))return"break-after-operator";if("CallExpression"===x.type&&"require"===x.callee.name||"json5"===t.parser||"json"===t.parser)return"never-break-after-operator";if(function(e){if(N(e)){let t=e.left||e.id;return"ObjectPattern"===t.type&&t.properties.length>2&&t.properties.some(e=>v(e)&&(!e.shorthand||e.value&&"AssignmentPattern"===e.value.type))}return!1}(o)||function(e){let t=("TSTypeAliasDeclaration"===e.type||"TypeAlias"===e.type)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null;if(r(t)){let r="TSTypeAliasDeclaration"===e.type?"constraint":"bound";if(t.length>1&&t.some(e=>e[r]||e.default))return!0}return!1}(o)||function(e){if("VariableDeclarator"!==e.type)return!1;let{typeAnnotation:t}=e.id;if(!t||!t.typeAnnotation)return!1;let n=k(t.typeAnnotation);return r(n)&&n.length>1&&n.some(e=>r(k(e))||"TSConditionalType"===e.type)}(o)||w(o)&&c(i))return"break-lhs";let j=(s=i,!!v(o)&&"string"==typeof(s=l(s))&&n(s)(function(e,t,n,u){let i=e.getValue();if(D(i)&&!b(i))return!0;switch(i.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:e}=i;return D(e)&&!b(e)}case"ClassExpression":return r(i.decorators)}if(u)return!1;let a=i,s=[];for(;;)if("UnaryExpression"===a.type)a=a.argument,s.push("argument");else if("TSNonNullExpression"===a.type)a=a.expression,s.push("expression");else break;return!!(f(a)||e.call(()=>(function e(t,n,u){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=t.getValue(),s=()=>e(t,n,u,!0);if("TSNonNullExpression"===a.type)return t.call(s,"expression");if(y(a)){if("member-chain"===S(t,n,u).label)return!1;let e=E(a);return!(!(0===e.length||1===e.length&&function(e,t){let{printWidth:r}=t;if(F(e))return!1;let n=.25*r;if("ThisExpression"===e.type||"Identifier"===e.type&&e.name.length<=n||A(e)&&!F(e.argument))return!0;let u="Literal"===e.type&&"regex"in e&&e.regex.pattern||"RegExpLiteral"===e.type&&e.pattern;return u?u.length<=n:f(e)?C(e).length<=n:"TemplateLiteral"===e.type?0===e.expressions.length&&e.quasis[0].value.raw.length<=n&&!e.quasis[0].value.raw.includes(` +`):m(e)}(e[0],n))||function(e,t){let n=e.typeParameters&&e.typeParameters.params||e.typeArguments&&e.typeArguments.params;if(r(n)){if(n.length>1)return!0;if(1===n.length){let e=n[0];if("TSUnionType"===e.type||"UnionTypeAnnotation"===e.type||"TSIntersectionType"===e.type||"IntersectionTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"ObjectTypeAnnotation"===e.type)return!0}if(p(t(e.typeParameters?"typeParameters":"typeArguments")))return!0}return!1}(a,u))&&t.call(s,"callee")}return h(a)?t.call(s,"object"):i&&("Identifier"===a.type||"ThisExpression"===a.type)})(e,t,n),...s))})(e,t,u,j),a)?"break-after-operator":j||"TemplateLiteral"===x.type||"TaggedTemplateExpression"===x.type||"BooleanLiteral"===x.type||g(x)||"ClassExpression"===x.type?"never-break-after-operator":"fluid"}(e,t,x,T,P),O=x(P,{assignmentLayout:I});switch(I){case"break-after-operator":return i([i(T),j,i(a([u,O]))]);case"never-break-after-operator":return i([i(T),j," ",O]);case"fluid":{let e=Symbol("assignment");return i([i(T),j,i(a(u),{id:e}),o,s(O,{groupId:e})])}case"break-lhs":return i([T,j," ",i(O)]);case"chain":return[i(T),j,u,O];case"chain-tail":return[i(T),j,a([u,O])];case"chain-tail-arrow-chain":return[i(T),j,O];case"only-left":return T}}function B(e){return"AssignmentExpression"===e.type}function N(e){return B(e)||"VariableDeclarator"===e.type}function w(e){return"VariableDeclarator"===e.type&&e.init&&"ArrowFunctionExpression"===e.init.type}function k(e){return("TSTypeReference"===e.type||"GenericTypeAnnotation"===e.type)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}t.exports={printVariableDeclarator:function(e,t,r){return T(e,t,r,r("id")," =","init")},printAssignmentExpression:function(e,t,r){let n=e.getValue();return T(e,t,r,r("left"),[" ",n.operator],"right")},printAssignment:T,isArrowFunctionVariableDeclarator:w}}}),rj=E({"src/language-js/print/function-parameters.js"(e,t){x();var{getNextNonSpaceNonCommentCharacter:r}=ed(),{printDanglingComments:n}=tI(),{builders:{line:u,hardline:i,softline:a,group:s,indent:o,ifBreak:l},utils:{removeLines:p,willBreak:c}}=q(),{getFunctionParameters:d,iterateFunctionParametersPath:D,isSimpleType:f,isTestCall:m,isTypeAnnotationAFunction:g,isObjectType:y,isObjectTypePropertyAFunction:h,hasRestParameter:E,shouldPrintComma:C,hasComment:F,isNextLineEmpty:A}=tX(),{locEnd:v}=tS(),{ArgExpansionBailout:b}=eP(),{printFunctionTypeParameters:S}=rb();function T(e){if(!e)return!1;let t=d(e);if(1!==t.length)return!1;let[r]=t;return!F(r)&&("ObjectPattern"===r.type||"ArrayPattern"===r.type||"Identifier"===r.type&&r.typeAnnotation&&("TypeAnnotation"===r.typeAnnotation.type||"TSTypeAnnotation"===r.typeAnnotation.type)&&y(r.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===r.type&&y(r.typeAnnotation)||"AssignmentPattern"===r.type&&("ObjectPattern"===r.left.type||"ArrayPattern"===r.left.type)&&("Identifier"===r.right.type||"ObjectExpression"===r.right.type&&0===r.right.properties.length||"ArrayExpression"===r.right.type&&0===r.right.elements.length))}t.exports={printFunctionParameters:function(e,t,y,F,x){let B=e.getValue(),N=d(B),w=x?S(e,y,t):"";if(0===N.length)return[w,"(",n(e,y,!0,e=>")"===r(y.originalText,e,v)),")"];let k=e.getParentNode(),j=m(k),P=T(B),I=[];if(D(e,(e,r)=>{let n=r===N.length-1;n&&B.rest&&I.push("..."),I.push(t()),n||(I.push(","),j||P?I.push(" "):A(N[r],y)?I.push(i,i):I.push(u))}),F){if(c(w)||c(I))throw new b;return s([p(w),"(",p(I),")"])}let O=N.every(e=>!e.decorators);return P&&O?[w,"(",...I,")"]:j?[w,"(",...I,")"]:(h(k)||g(k)||"TypeAlias"===k.type||"UnionTypeAnnotation"===k.type||"TSUnionType"===k.type||"IntersectionTypeAnnotation"===k.type||"FunctionTypeAnnotation"===k.type&&k.returnType===B)&&1===N.length&&null===N[0].name&&B.this!==N[0]&&N[0].typeAnnotation&&null===B.typeParameters&&f(N[0].typeAnnotation)&&!B.rest?"always"===y.arrowParens?["(",...I,")"]:I:[w,"(",o([a,...I]),l(!E(B)&&C(y,"all")?",":""),a,")"]},shouldHugFunctionParameters:T,shouldGroupFunctionParameters:function(e,t){let r;let n=(e.returnType?(r=e.returnType).typeAnnotation&&(r=r.typeAnnotation):e.typeAnnotation&&(r=e.typeAnnotation),r);if(!n)return!1;let u=e.typeParameters&&e.typeParameters.params;if(u){if(u.length>1)return!1;if(1===u.length){let e=u[0];if(e.constraint||e.default)return!1}}return 1===d(e).length&&(y(n)||c(t))}}}}),rP=E({"src/language-js/print/type-annotation.js"(e,t){x();var{printComments:r,printDanglingComments:n}=tI(),{isNonEmptyArray:u}=ed(),{builders:{group:i,join:a,line:s,softline:o,indent:l,align:p,ifBreak:c}}=q(),d=rE(),{locStart:D}=tS(),{isSimpleType:f,isObjectType:m,hasLeadingOwnLineComment:g,isObjectTypePropertyAFunction:y,shouldPrintComma:h}=tX(),{printAssignment:E}=rk(),{printFunctionParameters:C,shouldGroupFunctionParameters:F}=rj(),{printArrayItems:A}=rS();function v(e){if(f(e)||m(e))return!0;if("UnionTypeAnnotation"===e.type||"TSUnionType"===e.type){let t=e.types.filter(e=>"VoidTypeAnnotation"===e.type||"TSVoidKeyword"===e.type||"NullLiteralTypeAnnotation"===e.type||"TSNullKeyword"===e.type).length,r=e.types.some(e=>"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type);if(e.types.length-1===t&&r)return!0}return!1}t.exports={printOpaqueType:function(e,t,r){let n=t.semi?";":"",u=e.getValue(),i=[];return i.push("opaque type ",r("id"),r("typeParameters")),u.supertype&&i.push(": ",r("supertype")),u.impltype&&i.push(" = ",r("impltype")),i.push(n),i},printTypeAlias:function(e,t,r){let n=t.semi?";":"",u=e.getValue(),i=[];return u.declare&&i.push("declare "),i.push("type ",r("id"),r("typeParameters")),[E(e,t,r,i," =","TSTypeAliasDeclaration"===u.type?"typeAnnotation":"right"),n]},printIntersectionType:function(e,t,r){let n=e.getValue(),u=e.map(r,"types"),a=[],o=!1;for(let e=0;e1&&(o=!0),a.push(" & ",e>1?l(u[e]):u[e])):a.push(l([" &",s,u[e]]));return i(a)},printUnionType:function(e,t,n){let u=e.getValue(),D=e.getParentNode(),f="TypeParameterInstantiation"!==D.type&&"TSTypeParameterInstantiation"!==D.type&&"GenericTypeAnnotation"!==D.type&&"TSTypeReference"!==D.type&&"TSTypeAssertion"!==D.type&&"TupleTypeAnnotation"!==D.type&&"TSTupleType"!==D.type&&!("FunctionTypeParam"===D.type&&!D.name&&e.getParentNode(1).this!==D)&&!(("TypeAlias"===D.type||"VariableDeclarator"===D.type||"TSTypeAliasDeclaration"===D.type)&&g(t.originalText,u)),m=v(u),y=e.map(e=>{let u=n();return m||(u=p(2,u)),r(e,u,t)},"types");if(m)return a(" | ",y);let h=[c([f&&!g(t.originalText,u)?s:"","| "]),a([s,"| "],y)];return d(e,t)?i([l(h),o]):"TupleTypeAnnotation"===D.type&&D.types.length>1||"TSTupleType"===D.type&&D.elementTypes.length>1?i([l([c(["(",o]),h]),o,c(")")]):i(f?l(h):h)},printFunctionType:function(e,t,r){let n=e.getValue(),u=[],a=e.getParentNode(0),s=e.getParentNode(1),o=e.getParentNode(2),l="TSFunctionType"===n.type||!(("ObjectTypeProperty"===a.type||"ObjectTypeInternalSlot"===a.type)&&!a.variance&&!a.optional&&D(a)===D(n)||"ObjectTypeCallProperty"===a.type||o&&"DeclareFunction"===o.type),p=l&&("TypeAnnotation"===a.type||"TSTypeAnnotation"===a.type),c=p&&l&&("TypeAnnotation"===a.type||"TSTypeAnnotation"===a.type)&&"ArrowFunctionExpression"===s.type;y(a)&&(l=!0,p=!0),c&&u.push("(");let d=C(e,r,t,!1,!0),f=n.returnType||n.predicate||n.typeAnnotation?[l?" => ":": ",r("returnType"),r("predicate"),r("typeAnnotation")]:"",m=F(n,f);return u.push(m?i(d):d),f&&u.push(f),c&&u.push(")"),i(u)},printTupleType:function(e,t,r){let a=e.getValue(),s="TSTupleType"===a.type?"elementTypes":"types",p=u(a[s]),d=p?o:"";return i(["[",l([d,A(e,t,s,r)]),c(p&&h(t,"all")?",":""),n(e,t,!0),d,"]"])},printIndexedAccessType:function(e,t,r){let n=e.getValue(),u="OptionalIndexedAccessType"===n.type&&n.optional?"?.[":"[";return[r("objectType"),u,r("indexType"),"]"]},shouldHugType:v,printJSDocType:function(e,t,r){let n=e.getValue();return[n.postfix?"":r,t("typeAnnotation"),n.postfix?r:""]}}}}),rI=E({"src/language-js/print/type-parameters.js"(e,t){x();var{printDanglingComments:r}=tI(),{builders:{join:n,line:u,hardline:i,softline:a,group:s,indent:o,ifBreak:l}}=q(),{isTestCall:p,hasComment:c,CommentCheckFlags:d,isTSXFile:D,shouldPrintComma:f,getFunctionParameters:m,isObjectType:g,getTypeScriptMappedTypeModifier:y}=tX(),{createGroupIdMapper:h}=ed(),{shouldHugType:E}=rP(),{isArrowFunctionVariableDeclarator:C}=rk(),F=h("typeParameters");t.exports={printTypeParameter:function(e,t,r){let n=e.getValue(),u=["TSTypeParameter"===n.type&&n.const?"const ":""],i=e.getParentNode();return"TSMappedType"===i.type?(i.readonly&&u.push(y(i.readonly,"readonly")," "),u.push("[",r("name")),n.constraint&&u.push(" in ",r("constraint")),i.nameType&&u.push(" as ",e.callParent(()=>r("nameType"))),u.push("]")):(n.variance&&u.push(r("variance")),n.in&&u.push("in "),n.out&&u.push("out "),u.push(r("name")),n.bound&&u.push(": ",r("bound")),n.constraint&&u.push(" extends ",r("constraint")),n.default&&u.push(" = ",r("default"))),u},printTypeParameters:function(e,t,y,h){let A=e.getValue();if(!A[h])return"";if(!Array.isArray(A[h]))return y(h);let v=e.getNode(2),x=v&&p(v),b=e.match(e=>!(1===e[h].length&&g(e[h][0])),void 0,(e,t)=>"typeAnnotation"===t,e=>"Identifier"===e.type,C);if(0===A[h].length||!b&&(x||1===A[h].length&&("NullableTypeAnnotation"===A[h][0].type||E(A[h][0]))))return["<",n(", ",e.map(y,h)),function(e,t){let n=e.getValue();if(!c(n,d.Dangling))return"";let u=!c(n,d.Line),a=r(e,t,u);return u?a:[a,i]}(e,t),">"];let S="TSTypeParameterInstantiation"===A.type?"":1===m(A).length&&D(t)&&!A[h][0].constraint&&"ArrowFunctionExpression"===e.getParentNode().type?",":f(t,"all")?l(","):"";return s(["<",o([a,n([",",u],e.map(y,h))]),S,a,">"],{id:F(A)})},getTypeParametersGroupId:F}}}),rO=E({"src/language-js/print/property.js"(e,t){x();var{printComments:r}=tI(),{printString:n,printNumber:u}=ed(),{isNumericLiteral:i,isSimpleNumber:a,isStringLiteral:s,isStringPropSafeToUnquote:o,rawText:l}=tX(),{printAssignment:p}=rk(),c=new WeakMap;function d(e,t,p){let d=e.getNode();if(d.computed)return["[",p("key"),"]"];let D=e.getParentNode(),{key:f}=d;if("consistent"===t.quoteProps&&!c.has(D)){let e=(D.properties||D.body||D.members).some(e=>!e.computed&&e.key&&s(e.key)&&!o(e,t));c.set(D,e)}if(("Identifier"===f.type||i(f)&&a(u(l(f)))&&String(f.value)===u(l(f))&&!("typescript"===t.parser||"babel-ts"===t.parser))&&("json"===t.parser||"consistent"===t.quoteProps&&c.get(D))){let u=n(JSON.stringify("Identifier"===f.type?f.name:f.value.toString()),t);return e.call(e=>r(e,u,t),"key")}return o(d,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!c.get(D))?e.call(e=>r(e,/^\d/.test(f.value)?u(f.value):f.value,t),"key"):p("key")}t.exports={printProperty:function(e,t,r){return e.getValue().shorthand?r("value"):p(e,t,r,d(e,t,r),":","value")},printPropertyKey:d}}}),rL=E({"src/language-js/print/function.js"(e,t){x();var r=tP(),{printDanglingComments:n,printCommentsSeparately:u}=tI(),i=w(),{getNextNonSpaceNonCommentCharacterIndex:a}=ed(),{builders:{line:s,softline:o,group:l,indent:p,ifBreak:c,hardline:d,join:D,indentIfBreak:f},utils:{removeLines:m,willBreak:g}}=q(),{ArgExpansionBailout:y}=eP(),{getFunctionParameters:h,hasLeadingOwnLineComment:E,isFlowAnnotationComment:C,isJsxNode:F,isTemplateOnItsOwnLine:A,shouldPrintComma:v,startsWithNoLookaheadToken:b,isBinaryish:S,isLineComment:T,hasComment:B,getComments:N,CommentCheckFlags:k,isCallLikeExpression:j,isCallExpression:P,getCallArguments:I,hasNakedLeftSide:O,getLeftSide:L}=tX(),{locEnd:_}=tS(),{printFunctionParameters:M,shouldGroupFunctionParameters:$}=rj(),{printPropertyKey:R}=rO(),{printFunctionTypeParameters:V}=rb();function W(e,t,r){let n=e.getNode(),u=M(e,r,t),i=U(e,r,t),a=$(n,i),s=[V(e,t,r),l([a?l(u):u,i])];return n.body?s.push(" ",r("body")):s.push(t.semi?";":""),s}function J(e,t){if("always"===t.arrowParens)return!1;if("avoid"===t.arrowParens){var r;let t;return 1===(t=h(r=e.getValue())).length&&!r.typeParameters&&!B(r,k.Dangling)&&"Identifier"===t[0].type&&!t[0].typeAnnotation&&!B(t[0])&&!t[0].optional&&!r.predicate&&!r.returnType}return!1}function U(e,t,r){let n=e.getValue(),u=t("returnType");if(n.returnType&&C(r.originalText,n.returnType))return[" /*: ",u," */"];let i=[u];return n.returnType&&n.returnType.typeAnnotation&&i.unshift(": "),n.predicate&&i.push(n.returnType?" ":": ",t("predicate")),i}function H(e,t,r){let u=e.getValue(),a=t.semi?";":"",s=[];u.argument&&(function(e,t){if(E(e.originalText,t))return!0;if(O(t)){let r=t,n;for(;n=L(r);)if(r=n,E(e.originalText,r))return!0}return!1}(t,u.argument)?s.push([" (",p([d,r("argument")]),d,")"]):S(u.argument)||"SequenceExpression"===u.argument.type?s.push(l([c(" ("," "),p([o,r("argument")]),o,c(")")])):s.push(" ",r("argument")));let D=i(N(u)),f=D&&T(D);return f&&s.push(a),B(u,k.Dangling)&&s.push(" ",n(e,t,!0)),f||s.push(a),s}t.exports={printFunction:function(e,t,r,n){let u=e.getValue(),i=!1;if(("FunctionDeclaration"===u.type||"FunctionExpression"===u.type)&&n&&n.expandLastArg){let t=e.getParentNode();P(t)&&I(t).length>1&&(i=!0)}let a=[];"TSDeclareFunction"===u.type&&u.declare&&a.push("declare "),u.async&&a.push("async "),u.generator?a.push("function* "):a.push("function "),u.id&&a.push(t("id"));let s=M(e,t,r,i),o=U(e,t,r),p=$(u,o);return a.push(V(e,r,t),l([p?l(s):s,o]),u.body?" ":"",t("body")),r.semi&&(u.declare||!u.body)&&a.push(";"),a},printArrowFunction:function(e,t,r,i){let d=e.getValue(),C=[],x=[],S=!1;if(function s(){let o=function(e,t,r,u){let i=e.getValue(),s=[];if(i.async&&s.push("async "),J(e,t))s.push(r(["params",0]));else{let n=u&&(u.expandLastArg||u.expandFirstArg),i=U(e,r,t);if(n){if(g(i))throw new y;i=l(m(i))}s.push(l([M(e,r,t,n,!0),i]))}let o=n(e,t,!0,e=>{let r=a(t.originalText,e,_);return!1!==r&&"=>"===t.originalText.slice(r,r+2)});return o&&s.push(" ",o),s}(e,t,r,i);if(0===C.length)C.push(o);else{let{leading:r,trailing:n}=u(e,t);C.push([r,o]),x.unshift(n)}S=S||d.returnType&&h(d).length>0||d.typeParameters||h(d).some(e=>"Identifier"!==e.type),"ArrowFunctionExpression"!==d.body.type||i&&i.expandLastArg?x.unshift(r("body",i)):(d=d.body,e.call(s,"body"))}(),C.length>1){var T,N,w;let t,r,n,u,a,m;return T=S,N=x,w=d,t=e.getName(),r=j(e.getParentNode())&&"callee"===t,n=!!(i&&i.assignmentLayout),u="BlockStatement"!==w.body.type&&"ObjectExpression"!==w.body.type&&"SequenceExpression"!==w.body.type,a=r&&u||i&&"chain-tail-arrow-chain"===i.assignmentLayout,m=Symbol("arrow-chain"),"SequenceExpression"===w.body.type&&(N=l(["(",p([o,N]),o,")"])),l([l(p([r||n?o:"",l(D([" =>",s],C),{shouldBreak:T})]),{id:m,shouldBreak:a})," =>",f(u?p([s,N]):[" ",N],{groupId:m}),r?c(o,"",{groupId:m}):""])}if(C.push(" =>"),!E(t.originalText,d.body)&&("ArrayExpression"===d.body.type||"ObjectExpression"===d.body.type||"BlockStatement"===d.body.type||F(d.body)||A(d.body,t.originalText)||"ArrowFunctionExpression"===d.body.type||"DoExpression"===d.body.type))return l([...C," ",x]);if("SequenceExpression"===d.body.type)return l([...C,l([" (",p([o,x]),o,")"])]);let k=(i&&i.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!B(d),P=i&&i.expandLastArg&&v(t,"all"),I="ConditionalExpression"===d.body.type&&!b(d.body,e=>"ObjectExpression"===e.type);return l([...C,l([p([s,I?c("","("):"",x,I?c("",")"):""]),k?[c(P?",":""),o]:""])])},printMethod:function(e,t,n){let u=e.getNode(),{kind:i}=u,a=u.value||u,s=[];return i&&"init"!==i&&"method"!==i&&"constructor"!==i?(r.ok("get"===i||"set"===i),s.push(i," ")):a.async&&s.push("async "),a.generator&&s.push("*"),s.push(R(e,t,n),u.optional||u.key.optional?"?":""),u===a?s.push(W(e,t,n)):"FunctionExpression"===a.type?s.push(e.call(e=>W(e,t,n),"value")):s.push(n("value")),s},printReturnStatement:function(e,t,r){return["return",H(e,t,r)]},printThrowStatement:function(e,t,r){return["throw",H(e,t,r)]},printMethodInternal:W,shouldPrintParamsWithoutParens:J}}}),r_=E({"src/language-js/print/decorators.js"(e,t){x();var{isNonEmptyArray:r,hasNewline:n}=ed(),{builders:{line:u,hardline:i,join:a,breakParent:s,group:o}}=q(),{locStart:l,locEnd:p}=tS(),{getParentExportDeclaration:c}=tX();function d(e,t){return e.decorators.some(e=>n(t.originalText,p(e)))}function D(e){if("ExportDefaultDeclaration"!==e.type&&"ExportNamedDeclaration"!==e.type&&"DeclareExportDeclaration"!==e.type)return!1;let t=e.declaration&&e.declaration.decorators;return r(t)&&l(e)===l(t[0])}t.exports={printDecorators:function(e,t,n){let o=e.getValue(),{decorators:l}=o;if(!r(l)||D(e.getParentNode()))return;let p="ClassExpression"===o.type||"ClassDeclaration"===o.type||d(o,t);return[c(e)?i:p?s:"",a(u,e.map(n,"decorators")),u]},printClassMemberDecorators:function(e,t,r){let n=e.getValue();return o([a(u,e.map(r,"decorators")),d(n,t)?i:u])},printDecoratorsBeforeExport:function(e,t,r){return[a(i,e.map(r,"declaration","decorators")),i]},hasDecoratorsBeforeExport:D}}}),rM=E({"src/language-js/print/class.js"(e,t){x();var{isNonEmptyArray:r,createGroupIdMapper:n}=ed(),{printComments:u,printDanglingComments:i}=tI(),{builders:{join:a,line:s,hardline:o,softline:l,group:p,indent:c,ifBreak:d}}=q(),{hasComment:D,CommentCheckFlags:f}=tX(),{getTypeParametersGroupId:m}=rI(),{printMethod:g}=rL(),{printOptionalToken:y,printTypeAnnotation:h,printDefiniteToken:E}=rb(),{printPropertyKey:C}=rO(),{printAssignment:F}=rk(),{printClassMemberDecorators:A}=r_(),v=n("heritageGroup");function b(e){return e.typeParameters&&!D(e.typeParameters,f.Trailing|f.Line)&&!(["superClass","extends","mixins","implements"].filter(t=>!!e[t]).length>1)}function S(e,t,n,u){let l=e.getValue();if(!r(l[u]))return"";let D=i(e,t,!0,e=>{let{marker:t}=e;return t===u});return[b(l)?d(" ",s,{groupId:m(l.typeParameters)}):s,D,D&&o,u,p(c([s,a([",",s],e.map(n,u))]))]}t.exports={printClass:function(e,t,n){let i=e.getValue(),a=[];i.declare&&a.push("declare "),i.abstract&&a.push("abstract "),a.push("class");let o=i.id&&D(i.id,f.Trailing)||i.typeParameters&&D(i.typeParameters,f.Trailing)||i.superClass&&D(i.superClass)||r(i.extends)||r(i.mixins)||r(i.implements),m=[],g=[];if(i.id&&m.push(" ",n("id")),m.push(n("typeParameters")),i.superClass){let r;let i=[(r=n("superClass"),"AssignmentExpression"===e.getParentNode().type?p(d(["(",c([l,r]),l,")"],r)):r),n("superTypeParameters")],a=e.call(e=>["extends ",u(e,i,t)],"superClass");o?g.push(s,p(a)):g.push(" ",a)}else g.push(S(e,t,n,"extends"));if(g.push(S(e,t,n,"mixins"),S(e,t,n,"implements")),o){let e;e=b(i)?[...m,c(g)]:c([...m,g]),a.push(p(e,{id:v(i)}))}else a.push(...m,...g);return a.push(" ",n("body")),a},printClassMethod:function(e,t,n){let u=e.getValue(),i=[];return r(u.decorators)&&i.push(A(e,t,n)),u.accessibility&&i.push(u.accessibility+" "),u.readonly&&i.push("readonly "),u.declare&&i.push("declare "),u.static&&i.push("static "),("TSAbstractMethodDefinition"===u.type||u.abstract)&&i.push("abstract "),u.override&&i.push("override "),i.push(g(e,t,n)),i},printClassProperty:function(e,t,n){let u=e.getValue(),i=[],a=t.semi?";":"";return r(u.decorators)&&i.push(A(e,t,n)),u.accessibility&&i.push(u.accessibility+" "),u.declare&&i.push("declare "),u.static&&i.push("static "),("TSAbstractPropertyDefinition"===u.type||"TSAbstractAccessorProperty"===u.type||u.abstract)&&i.push("abstract "),u.override&&i.push("override "),u.readonly&&i.push("readonly "),u.variance&&i.push(n("variance")),("ClassAccessorProperty"===u.type||"AccessorProperty"===u.type||"TSAbstractAccessorProperty"===u.type)&&i.push("accessor "),i.push(C(e,t,n),y(e),E(e),h(e,t,n)),[F(e,t,n,i," =","value"),a]},printHardlineAfterHeritage:function(e){return d(o,"",{groupId:v(e)})}}}}),r$=E({"src/language-js/print/interface.js"(e,t){x();var{isNonEmptyArray:r}=ed(),{builders:{join:n,line:u,group:i,indent:a,ifBreak:s}}=q(),{hasComment:o,identity:l,CommentCheckFlags:p}=tX(),{getTypeParametersGroupId:c}=rI(),{printTypeScriptModifiers:d}=rb();t.exports={printInterface:function(e,t,D){let f=e.getValue(),m=[];f.declare&&m.push("declare "),"TSInterfaceDeclaration"===f.type&&m.push(f.abstract?"abstract ":"",d(e,t,D)),m.push("interface");let g=[],y=[];"InterfaceTypeAnnotation"!==f.type&&g.push(" ",D("id"),D("typeParameters"));let h=f.typeParameters&&!o(f.typeParameters,p.Trailing|p.Line);return r(f.extends)&&y.push(h?s(" ",u,{groupId:c(f.typeParameters)}):u,"extends ",(1===f.extends.length?l:a)(n([",",u],e.map(D,"extends")))),f.id&&o(f.id,p.Trailing)||r(f.extends)?h?m.push(i([...g,a(y)])):m.push(i(a([...g,...y]))):m.push(...g,...y),m.push(" ",D("body")),i(m)}}}}),rR=E({"src/language-js/print/module.js"(e,t){x();var{isNonEmptyArray:r}=ed(),{builders:{softline:n,group:u,indent:i,join:a,line:s,ifBreak:o,hardline:l}}=q(),{printDanglingComments:p}=tI(),{hasComment:c,CommentCheckFlags:d,shouldPrintComma:D,needsHardlineAfterDanglingComment:f,isStringLiteral:m,rawText:g}=tX(),{locStart:y,hasSameLoc:h}=tS(),{hasDecoratorsBeforeExport:E,printDecoratorsBeforeExport:C}=r_();function F(e,t,r){let n=e.getValue();if(!n.source)return"";let u=[];return v(n,t)||u.push(" from"),u.push(" ",r("source")),u}function A(e,t,l){let p=e.getValue();if(v(p,t))return"";let d=[" "];if(r(p.specifiers)){let r=[],f=[];e.each(()=>{let t=e.getValue().type;if("ExportNamespaceSpecifier"===t||"ExportDefaultSpecifier"===t||"ImportNamespaceSpecifier"===t||"ImportDefaultSpecifier"===t)r.push(l());else if("ExportSpecifier"===t||"ImportSpecifier"===t)f.push(l());else throw Error(`Unknown specifier type ${JSON.stringify(t)}`)},"specifiers"),d.push(a(", ",r)),f.length>0&&(r.length>0&&d.push(", "),f.length>1||r.length>0||p.specifiers.some(e=>c(e))?d.push(u(["{",i([t.bracketSpacing?s:n,a([",",s],f)]),o(D(t)?",":""),t.bracketSpacing?s:n,"}"])):d.push(["{",t.bracketSpacing?" ":"",...f,t.bracketSpacing?" ":"","}"]))}else d.push("{}");return d}function v(e,t){let{type:n,importKind:u,source:i,specifiers:a}=e;return!("ImportDeclaration"!==n||r(a))&&"type"!==u&&!/{\s*}/.test(t.originalText.slice(y(e),y(i)))}function b(e,t,n){return r(e.getNode().assertions)?[" assert {",t.bracketSpacing?" ":"",a(", ",e.map(n,"assertions")),t.bracketSpacing?" ":"","}"]:""}t.exports={printImportDeclaration:function(e,t,r){let n=e.getValue(),u=t.semi?";":"",i=[],{importKind:a}=n;return i.push("import"),a&&"value"!==a&&i.push(" ",a),i.push(A(e,t,r),F(e,t,r),b(e,t,r),u),i},printExportDeclaration:function(e,t,r){let n=e.getValue(),u=[];E(n)&&u.push(C(e,t,r));let{type:i,exportKind:a,declaration:s}=n;return u.push("export"),(n.default||"ExportDefaultDeclaration"===i)&&u.push(" default"),c(n,d.Dangling)&&(u.push(" ",p(e,t,!0)),f(n)&&u.push(l)),s?u.push(" ",r("declaration")):u.push("type"===a?" type":"",A(e,t,r),F(e,t,r),b(e,t,r)),function(e,t){if(!t.semi)return!1;let{type:r,declaration:n}=e,u=e.default||"ExportDefaultDeclaration"===r;if(!n)return!0;let{type:i}=n;return!!(u&&"ClassDeclaration"!==i&&"FunctionDeclaration"!==i&&"TSInterfaceDeclaration"!==i&&"DeclareClass"!==i&&"DeclareFunction"!==i&&"TSDeclareFunction"!==i&&"EnumDeclaration"!==i)}(n,t)&&u.push(";"),u},printExportAllDeclaration:function(e,t,r){let n=e.getValue(),u=t.semi?";":"",i=[],{exportKind:a,exported:s}=n;return i.push("export"),"type"===a&&i.push(" type"),i.push(" *"),s&&i.push(" as ",r("exported")),i.push(F(e,t,r),b(e,t,r),u),i},printModuleSpecifier:function(e,t,r){let n=e.getNode(),{type:u}=n,i=[],a="ImportSpecifier"===u?n.importKind:n.exportKind;a&&"value"!==a&&i.push(a," ");let s=u.startsWith("Import"),o=s?"imported":"local",l=s?"local":"exported",p=n[o],c=n[l],d="",D="";return"ExportNamespaceSpecifier"===u||"ImportNamespaceSpecifier"===u?d="*":p&&(d=r(o)),c&&!function(e){if("ImportSpecifier"!==e.type&&"ExportSpecifier"!==e.type)return!1;let{local:t,["ImportSpecifier"===e.type?"imported":"exported"]:r}=e;return!!(t.type===r.type&&h(t,r))&&(m(t)?t.value===r.value&&g(t)===g(r):"Identifier"===t.type&&t.name===r.name)}(n)&&(D=r(l)),i.push(d,d&&D?" as ":"",D),i}}}}),rV=E({"src/language-js/print/object.js"(e,t){x();var{printDanglingComments:r}=tI(),{builders:{line:n,softline:u,group:i,indent:a,ifBreak:s,hardline:o}}=q(),{getLast:l,hasNewlineInRange:p,hasNewline:c,isNonEmptyArray:d}=ed(),{shouldPrintComma:D,hasComment:f,getComments:m,CommentCheckFlags:g,isNextLineEmpty:y}=tX(),{locStart:h,locEnd:E}=tS(),{printOptionalToken:C,printTypeAnnotation:F}=rb(),{shouldHugFunctionParameters:A}=rj(),{shouldHugType:v}=rP(),{printHardlineAfterHeritage:b}=rM();t.exports={printObject:function(e,t,x){let S=t.semi?";":"",T=e.getValue(),B;B="TSTypeLiteral"===T.type?"members":"TSInterfaceBody"===T.type?"body":"properties";let N="ObjectTypeAnnotation"===T.type,w=[B];N&&w.push("indexers","callProperties","internalSlots");let k=w.map(e=>T[e][0]).sort((e,t)=>h(e)-h(t))[0],j=e.getParentNode(0),P=N&&j&&("InterfaceDeclaration"===j.type||"DeclareInterface"===j.type||"DeclareClass"===j.type)&&"body"===e.getName(),I="TSInterfaceBody"===T.type||P||"ObjectPattern"===T.type&&"FunctionDeclaration"!==j.type&&"FunctionExpression"!==j.type&&"ArrowFunctionExpression"!==j.type&&"ObjectMethod"!==j.type&&"ClassMethod"!==j.type&&"ClassPrivateMethod"!==j.type&&"AssignmentPattern"!==j.type&&"CatchClause"!==j.type&&T.properties.some(e=>e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type))||"ObjectPattern"!==T.type&&k&&p(t.originalText,h(T),h(k)),O=P?";":"TSInterfaceBody"===T.type||"TSTypeLiteral"===T.type?s(S,";"):",",L="RecordExpression"===T.type?"#{":T.exact?"{|":"{",_=T.exact?"|}":"}",M=[];for(let t of w)e.each(e=>{let t=e.getValue();M.push({node:t,printed:x(),loc:h(t)})},t);w.length>1&&M.sort((e,t)=>e.loc-t.loc);let $=[],R=M.map(e=>{let r=[...$,i(e.printed)];return $=[O,n],("TSPropertySignature"===e.node.type||"TSMethodSignature"===e.node.type||"TSConstructSignatureDeclaration"===e.node.type)&&f(e.node,g.PrettierIgnore)&&$.shift(),y(e.node,t)&&$.push(o),r});if(T.inexact){let u;if(f(T,g.Dangling)){let i=f(T,g.Line);u=[r(e,t,!0),i||c(t.originalText,E(l(m(T))))?o:n,"..."]}else u=["..."];R.push([...$,...u])}let V=l(T[B]),W=!(T.inexact||V&&"RestElement"===V.type||V&&("TSPropertySignature"===V.type||"TSCallSignatureDeclaration"===V.type||"TSMethodSignature"===V.type||"TSConstructSignatureDeclaration"===V.type)&&f(V,g.PrettierIgnore)),q;if(0===R.length){if(!f(T,g.Dangling))return[L,_,F(e,t,x)];q=i([L,r(e,t),u,_,C(e),F(e,t,x)])}else q=[P&&d(T.properties)?b(j):"",L,a([t.bracketSpacing?n:u,...R]),s(W&&(","!==O||D(t))?O:""),t.bracketSpacing?n:u,_,C(e),F(e,t,x)];return e.match(e=>"ObjectPattern"===e.type&&!e.decorators,(e,t,r)=>A(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===r)||e.match(v,(e,t)=>"typeAnnotation"===t,(e,t)=>"typeAnnotation"===t,(e,t,r)=>A(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===r)||!I&&e.match(e=>"ObjectPattern"===e.type,e=>"AssignmentExpression"===e.type||"VariableDeclarator"===e.type)?q:i(q,{shouldBreak:I})}}}}),rW=E({"src/language-js/print/flow.js"(e,t){x();var r=tP(),{printDanglingComments:n}=tI(),{printString:u,printNumber:i}=ed(),{builders:{hardline:a,softline:s,group:o,indent:l}}=q(),{getParentExportDeclaration:p,isFunctionNotation:c,isGetterOrSetter:d,rawText:D,shouldPrintComma:f}=tX(),{locStart:m,locEnd:g}=tS(),{replaceTextEndOfLine:y}=R(),{printClass:h}=rM(),{printOpaqueType:E,printTypeAlias:C,printIntersectionType:F,printUnionType:A,printFunctionType:v,printTupleType:b,printIndexedAccessType:S}=rP(),{printInterface:T}=r$(),{printTypeParameter:B,printTypeParameters:N}=rI(),{printExportDeclaration:w,printExportAllDeclaration:k}=rR(),{printArrayItems:j}=rS(),{printObject:P}=rV(),{printPropertyKey:I}=rO(),{printOptionalToken:O,printTypeAnnotation:L,printRestSpread:_}=rb();function M(e,t){let n=p(e);return n?(r.strictEqual(n.type,"DeclareExportDeclaration"),t):["declare ",t]}t.exports={printFlow:function(e,t,p){let x=e.getValue(),$=t.semi?";":"",R=[];switch(x.type){case"DeclareClass":return M(e,h(e,t,p));case"DeclareFunction":return M(e,["function ",p("id"),x.predicate?" ":"",p("predicate"),$]);case"DeclareModule":return M(e,["module ",p("id")," ",p("body")]);case"DeclareModuleExports":return M(e,["module.exports",": ",p("typeAnnotation"),$]);case"DeclareVariable":return M(e,["var ",p("id"),$]);case"DeclareOpaqueType":return M(e,E(e,t,p));case"DeclareInterface":return M(e,T(e,t,p));case"DeclareTypeAlias":return M(e,C(e,t,p));case"DeclareExportDeclaration":return M(e,w(e,t,p));case"DeclareExportAllDeclaration":return M(e,k(e,t,p));case"OpaqueType":return E(e,t,p);case"TypeAlias":return C(e,t,p);case"IntersectionTypeAnnotation":return F(e,t,p);case"UnionTypeAnnotation":return A(e,t,p);case"FunctionTypeAnnotation":return v(e,t,p);case"TupleTypeAnnotation":return b(e,t,p);case"GenericTypeAnnotation":return[p("id"),N(e,t,p,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return S(e,t,p);case"TypeAnnotation":return p("typeAnnotation");case"TypeParameter":return B(e,t,p);case"TypeofTypeAnnotation":return["typeof ",p("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[p("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(x.value);case"EnumDeclaration":return["enum ",p("id")," ",p("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===x.type||x.explicitType){let e=null;switch(x.type){case"EnumBooleanBody":e="boolean";break;case"EnumNumberBody":e="number";break;case"EnumStringBody":e="string";break;case"EnumSymbolBody":e="symbol"}R.push("of ",e," ")}if(0!==x.members.length||x.hasUnknownMembers){let r=x.members.length>0?[a,j(e,t,"members",p),x.hasUnknownMembers||f(t)?",":""]:[];R.push(o(["{",l([...r,...x.hasUnknownMembers?[a,"..."]:[]]),n(e,t,!0),a,"}"]))}else R.push(o(["{",n(e,t),s,"}"]));return R;case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[p("id")," = ","object"==typeof x.init?p("init"):String(x.init)];case"EnumDefaultedMember":return p("id");case"FunctionTypeParam":{let t=x.name?p("name"):e.getParentNode().this===x?"this":"";return[t,O(e),t?": ":"",p("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return T(e,t,p);case"ClassImplements":case"InterfaceExtends":return[p("id"),p("typeParameters")];case"NullableTypeAnnotation":return["?",p("typeAnnotation")];case"Variance":{let{kind:e}=x;return r.ok("plus"===e||"minus"===e),"plus"===e?"+":"-"}case"ObjectTypeCallProperty":return x.static&&R.push("static "),R.push(p("value")),R;case"ObjectTypeIndexer":return[x.static?"static ":"",x.variance?p("variance"):"","[",p("id"),x.id?": ":"",p("key"),"]: ",p("value")];case"ObjectTypeProperty":{let r="";return x.proto?r="proto ":x.static&&(r="static "),[r,d(x)?x.kind+" ":"",x.variance?p("variance"):"",I(e,t,p),O(e),c(x)?"":": ",p("value")]}case"ObjectTypeAnnotation":return P(e,t,p);case"ObjectTypeInternalSlot":return[x.static?"static ":"","[[",p("id"),"]]",O(e),x.method?"":": ",p("value")];case"ObjectTypeSpreadProperty":return _(e,t,p);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[p("qualification"),".",p("id")];case"StringLiteralTypeAnnotation":return y(u(D(x),t));case"NumberLiteralTypeAnnotation":r.strictEqual(typeof x.value,"number");case"BigIntLiteralTypeAnnotation":return x.extra?i(x.extra.raw):i(x.raw);case"TypeCastExpression":return["(",p("expression"),L(e,t,p),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let r=N(e,t,p,"params");if("flow"===t.parser){let e=m(x),n=g(x),u=t.originalText.lastIndexOf("/*",e),i=t.originalText.indexOf("*/",n);if(-1!==u&&-1!==i){let e=t.originalText.slice(u+2,i).trim();if(e.startsWith("::")&&!e.includes("/*")&&!e.includes("*/"))return["/*:: ",r," */"]}}return r}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",p("value"),")"];case"AnyTypeAnnotation":return"any";case"BooleanTypeAnnotation":return"boolean";case"BigIntTypeAnnotation":return"bigint";case"NullLiteralTypeAnnotation":return"null";case"NumberTypeAnnotation":return"number";case"SymbolTypeAnnotation":return"symbol";case"StringTypeAnnotation":return"string";case"VoidTypeAnnotation":return"void";case"ThisTypeAnnotation":return"this";case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw Error("unprintable type: "+JSON.stringify(x.type))}}}}}),rq=E({"src/language-js/utils/is-ts-keyword-type.js"(e,t){x(),t.exports=function(e){let{type:t}=e;return t.startsWith("TS")&&t.endsWith("Keyword")}}}),rJ=E({"src/language-js/print/ternary.js"(e,t){x();var{hasNewlineInRange:r}=ed(),{isJsxNode:n,getComments:u,isCallExpression:i,isMemberExpression:a,isTSTypeExpression:s}=tX(),{locStart:o,locEnd:l}=tS(),p=tH(),{builders:{line:c,softline:d,group:D,indent:f,align:m,ifBreak:g,dedent:y,breakParent:h}}=q(),E=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);t.exports={printTernary:function(e,t,C){let F,A,v,x,b,S=e.getValue(),T="ConditionalExpression"===S.type,B=T?"consequent":"trueType",N=T?"alternate":"falseType",w=T?["test"]:["checkType","extendsType"],k=S[B],j=S[N],P=[],I=!1,O=e.getParentNode(),L=O.type===S.type&&w.some(e=>O[e]===S),_=O.type===S.type&&!L,M,$,R=0;do $=M||S,M=e.getParentNode(R),R++;while(M&&M.type===S.type&&w.every(e=>M[e]!==$));let V=M||O;if(T&&(n(S[w[0]])||n(k)||n(j)||function(e){let t=[e];for(let e=0;e[g("("),f([d,e]),d,g(")")];P.push(" ? ","NullLiteral"===k.type||"Literal"===k.type&&null===k.value||"Identifier"===k.type&&"undefined"===k.name?C(B):t(C(B))," : ",j.type===S.type||"NullLiteral"===(e=j).type||"Literal"===e.type&&null===e.value||"Identifier"===e.type&&"undefined"===e.name?C(N):t(C(N)))}else{let e=[c,"? ",k.type===S.type?g("","("):"",m(2,C(B)),k.type===S.type?g("",")"):"",c,": ",j.type===S.type?C(N):m(2,C(N))];P.push(O.type!==S.type||O[N]===S||L?e:t.useTabs?y(f(e)):m(Math.max(0,t.tabWidth-2),e))}let W=[...w.map(e=>u(S[e])),u(k),u(j)].flat().some(e=>p(e)&&r(t.originalText,o(e),l(e))),q=!I&&(a(O)||"NGPipeExpression"===O.type&&O.left===S)&&!O.computed,J=function(e){let t=e.getValue();if("ConditionalExpression"!==t.type)return!1;let r,n=t;for(let t=0;!r;t++){let u=e.getParentNode(t);if(i(u)&&u.callee===n||a(u)&&u.object===n||"TSNonNullExpression"===u.type&&u.expression===n){n=u;continue}"NewExpression"===u.type&&u.callee===n||s(u)&&u.expression===n?(r=e.getParentNode(t+1),n=u):r=u}return n!==t&&r[E.get(r.type)]===n}(e),U=(b=[(A="ConditionalExpression"===(F=e.getValue()).type,v=e.getParentNode(),x=A?C("test"):[C("checkType")," ","extends"," ",C("extendsType")],v.type===F.type&&v[A?"alternate":"falseType"]===F?m(2,x):x),_?P:f(P),T&&q&&!J?d:""],O===V?D(b,{shouldBreak:W}):W?[b,h]:b);return L||J?D([f([d,U]),d]):U}}}}),rU=E({"src/language-js/print/statement.js"(e,t){x();var{builders:{hardline:r}}=q(),n=rE(),{getLeftSidePathName:u,hasNakedLeftSide:i,isJsxNode:a,isTheOnlyJsxElementInMarkdown:s,hasComment:o,CommentCheckFlags:l,isNextLineEmpty:p}=tX(),{shouldPrintParamsWithoutParens:c}=rL();function d(e,t,d,f){let m=e.getValue(),g=[],y="ClassBody"===m.type,h=function(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if("EmptyStatement"!==r.type)return r}}(m[f]);return e.each((e,f,m)=>{let E=e.getValue();if("EmptyStatement"===E.type)return;let C=d();!t.semi&&!y&&!s(t,e)&&"ExpressionStatement"===e.getNode().type&&e.call(e=>(function e(t,r){let s=t.getValue();switch(s.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!c(t,r))return!0;break;case"UnaryExpression":{let{prefix:e,operator:t}=s;if(e&&("+"===t||"-"===t))return!0;break}case"BindExpression":if(!s.object)return!0;break;case"Literal":if(s.regex)return!0;break;default:if(a(s))return!0}return!!n(t,r)||!!i(s)&&t.call(t=>e(t,r),...u(t,s))})(e,t),"expression")?o(E,l.Leading)?g.push(d([],{needsSemi:!0})):g.push(";",C):g.push(C),!t.semi&&y&&D(E)&&function(e,t){let{type:r,name:n}=e.key;if(!e.computed&&"Identifier"===r&&("static"===n||"get"===n||"set"===n||"accessor"===n)&&!e.value&&!e.typeAnnotation)return!0;if(!t||t.static||t.accessibility)return!1;if(!t.computed){let e=t.key&&t.key.name;if("in"===e||"instanceof"===e)return!0}if(D(t)&&t.variance&&!t.static&&!t.declare)return!0;switch(t.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return t.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((t.value?t.value.async:t.async)||"get"===t.kind||"set"===t.kind)return!1;let e=t.value?t.value.generator:t.generator;return!!(t.computed||e)}case"TSIndexSignature":return!0}return!1}(E,m[f+1])&&g.push(";"),E!==h&&(g.push(r),p(E,t)&&g.push(r))},f),g}var D=e=>{let{type:t}=e;return"ClassProperty"===t||"PropertyDefinition"===t||"ClassPrivateProperty"===t||"ClassAccessorProperty"===t||"AccessorProperty"===t||"TSAbstractPropertyDefinition"===t||"TSAbstractAccessorProperty"===t};t.exports={printBody:function(e,t,r){return d(e,t,r,"body")},printSwitchCaseConsequent:function(e,t,r){return d(e,t,r,"consequent")}}}}),rH=E({"src/language-js/print/block.js"(e,t){x();var{printDanglingComments:r}=tI(),{isNonEmptyArray:n}=ed(),{builders:{hardline:u,indent:i}}=q(),{hasComment:a,CommentCheckFlags:s,isNextLineEmpty:o}=tX(),{printHardlineAfterHeritage:l}=rM(),{printBody:p}=rU();function c(e,t,i){let l=e.getValue(),c=n(l.directives),d=l.body.some(e=>"EmptyStatement"!==e.type),D=a(l,s.Dangling);if(!c&&!d&&!D)return"";let f=[];if(c&&e.each((e,r,n)=>{f.push(i()),(r"]),r=[c("("),l([s,x("expression")]),s,c(")")];return e?p([[t,x("expression")],[t,o(r,{shouldBreak:!0})],[t,x("expression")]]):o([t,x("expression")])}case"TSDeclareFunction":return I(e,x,t);case"TSExportAssignment":return["export = ",x("expression"),H];case"TSModuleBlock":return _(e,t,x);case"TSInterfaceBody":case"TSTypeLiteral":return B(e,t,x);case"TSTypeAliasDeclaration":return M(e,t,x);case"TSQualifiedName":return u(".",[x("left"),x("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return w(e,t,x);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return N(e,t,x);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return G.push(x("expression")),q.typeParameters&&G.push(x("typeParameters")),G;case"TSTemplateLiteralType":return S(e,x,t);case"TSNamedTupleMember":return[x("label"),q.optional?"?":"",": ",x("elementType")];case"TSRestType":return["...",x("typeAnnotation")];case"TSOptionalType":return[x("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return L(e,t,x);case"TSClassImplements":case"TSInstantiationExpression":return[x("expression"),x("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return j(e,t,x,"params");case"TSTypeParameter":return k(e,t,x);case"TSSatisfiesExpression":case"TSAsExpression":{let t="TSAsExpression"===q.type?"as":"satisfies";G.push(x("expression"),` ${t} `,x("typeAnnotation"));let r=e.getParentNode();return m(r)&&r.callee===q||g(r)&&r.object===q?o([l([s,...G]),s]):G}case"TSArrayType":return[x("elementType"),"[]"];case"TSPropertySignature":return q.readonly&&G.push("readonly "),G.push(P(e,t,x),C(e)),q.typeAnnotation&&G.push(": ",x("typeAnnotation")),q.initializer&&G.push(" = ",x("initializer")),G;case"TSParameterProperty":return q.accessibility&&G.push(q.accessibility+" "),q.export&&G.push("export "),q.static&&G.push("static "),q.override&&G.push("override "),q.readonly&&G.push("readonly "),G.push(x("parameter")),G;case"TSTypeQuery":return["typeof ",x("exprName"),x("typeParameters")];case"TSIndexSignature":{let r=e.getParentNode(),n=q.parameters.length>1?c(f(t)?",":""):"",i=o([l([s,u([", ",s],e.map(x,"parameters"))]),n,s]);return[q.export?"export ":"",q.accessibility?[q.accessibility," "]:"",q.static?"static ":"",q.readonly?"readonly ":"",q.declare?"declare ":"","[",q.parameters?i:"",q.typeAnnotation?"]: ":"]",q.typeAnnotation?x("typeAnnotation"):"","ClassBody"===r.type?H:""]}case"TSTypePredicate":return[q.asserts?"asserts ":"",x("parameterName"),q.typeAnnotation?[" is ",x("typeAnnotation")]:""];case"TSNonNullExpression":return[x("expression"),"!"];case"TSImportType":return[q.isTypeOf?"typeof ":"","import(",x(q.parameter?"parameter":"argument"),")",q.qualifier?[".",x("qualifier")]:"",j(e,t,x,"typeParameters")];case"TSLiteralType":return x("literal");case"TSIndexedAccessType":return J(e,t,x);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSConstructorType"===q.type&&q.abstract&&G.push("abstract "),"TSCallSignatureDeclaration"!==q.type&&G.push("new "),G.push(o(v(e,x,t,!1,!0))),q.returnType||q.typeAnnotation){let e="TSConstructorType"===q.type;G.push(e?" => ":": ",x("returnType"),x("typeAnnotation"))}return G;case"TSTypeOperator":return[q.operator," ",x("typeAnnotation")];case"TSMappedType":{let u=n(t.originalText,h(q),E(q));return o(["{",l([t.bracketSpacing?i:s,x("typeParameter"),q.optional?D(q.optional,"?"):"",q.typeAnnotation?": ":"",x("typeAnnotation"),c(H)]),r(e,t,!0),t.bracketSpacing?i:s,"}"],{shouldBreak:u})}case"TSMethodSignature":{let r=q.kind&&"method"!==q.kind?`${q.kind} `:"";G.push(q.accessibility?[q.accessibility," "]:"",r,q.export?"export ":"",q.static?"static ":"",q.readonly?"readonly ":"",q.abstract?"abstract ":"",q.declare?"declare ":"",q.computed?"[":"",x("key"),q.computed?"]":"",C(e));let n=v(e,x,t,!1,!0),u=q.returnType?"returnType":"typeAnnotation",i=q[u],a=i?x(u):"",s=b(q,a);return G.push(s?o(n):n),i&&G.push(": ",o(a)),o(G)}case"TSNamespaceExportDeclaration":return G.push("export as namespace ",x("id")),t.semi&&G.push(";"),o(G);case"TSEnumDeclaration":return q.declare&&G.push("declare "),q.modifiers&&G.push(F(e,t,x)),q.const&&G.push("const "),G.push("enum ",x("id")," "),0===q.members.length?G.push(o(["{",r(e,t),s,"}"])):G.push(o(["{",l([a,T(e,t,"members",x),f(t,"es5")?",":""]),r(e,t,!0),a,"}"])),G;case"TSEnumMember":return q.computed?G.push("[",x("id"),"]"):G.push(x("id")),q.initializer&&G.push(" = ",x("initializer")),G;case"TSImportEqualsDeclaration":return q.isExport&&G.push("export "),G.push("import "),q.importKind&&"value"!==q.importKind&&G.push(q.importKind," "),G.push(x("id")," = ",x("moduleReference")),t.semi&&G.push(";"),o(G);case"TSExternalModuleReference":return["require(",x("expression"),")"];case"TSModuleDeclaration":{let r=e.getParentNode(),n=d(q.id),u="TSModuleDeclaration"===r.type,i=q.body&&"TSModuleDeclaration"===q.body.type;if(u)G.push(".");else{q.declare&&G.push("declare "),G.push(F(e,t,x));let r=t.originalText.slice(h(q),h(q.id));("Identifier"!==q.id.type||"global"!==q.id.name||/namespace|module/.test(r))&&G.push(n||/(?:^|\s)module(?:\s|$)/.test(r)?"module ":"namespace ")}return G.push(x("id")),i?G.push(x("body")):q.body?G.push(" ",o(x("body"))):G.push(H),G}case"TSConditionalType":return A(e,t,x);case"TSInferType":return["infer"," ",x("typeParameter")];case"TSIntersectionType":return $(e,t,x);case"TSUnionType":return R(e,t,x);case"TSFunctionType":return V(e,t,x);case"TSTupleType":return W(e,t,x);case"TSTypeReference":return[x("typeName"),j(e,t,x,"typeParameters")];case"TSTypeAnnotation":return x("typeAnnotation");case"TSEmptyBodyFunctionExpression":return O(e,t,x);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return U(e,x,"?");case"TSJSDocNonNullableType":return U(e,x,"!");default:throw Error(`Unknown TypeScript node type: ${JSON.stringify(q.type)}.`)}}}}}),rX=E({"src/language-js/print/comment.js"(e,t){x();var{hasNewline:r}=ed(),{builders:{join:n,hardline:u},utils:{replaceTextEndOfLine:i}}=q(),{isLineComment:a}=tX(),{locStart:s,locEnd:o}=tS(),l=tH();t.exports={printComment:function(e,t){let p=e.getValue();if(a(p))return t.originalText.slice(s(p),o(p)).trimEnd();if(l(p)){let e;if((e=`*${p.value}*`.split(` +`)).length>1&&e.every(e=>"*"===e.trim()[0])){let e;let i=["/*",n(u,(e=p.value.split(` +`)).map((t,r)=>0===r?t.trimEnd():" "+(rtypeof n)return n}let m=[];switch(D.type){case"JsExpressionRoot":return c("node");case"JsonRoot":return[c("node"),a];case"File":return D.program&&D.program.interpreter&&m.push(c(["program","interpreter"])),m.push(c("program")),m;case"Program":return eh(e,t,c);case"EmptyStatement":return"";case"ExpressionStatement":{if("__vue_event_binding"===t.parser||"__vue_ts_event_binding"===t.parser){let t=e.getParentNode();if("Program"===t.type&&1===t.body.length&&t.body[0]===D)return[c("expression"),P(D.expression)?";":""]}let n=r(e,t,!0,e=>{let{marker:t}=e;return t===B});return[c("expression"),C(t,e)?"":f,n?[" ",n]:""]}case"ParenthesizedExpression":return h(D.expression)||"ObjectExpression"!==D.expression.type&&"ArrayExpression"!==D.expression.type?o(["(",l([s,c("expression")]),s,")"]):["(",c("expression"),")"];case"AssignmentExpression":return eD(e,t,c);case"VariableDeclarator":return ec(e,t,c);case"BinaryExpression":case"LogicalExpression":return ef(e,t,c);case"AssignmentPattern":return[c("left")," = ",c("right")];case"OptionalMemberExpression":case"MemberExpression":return eg(e,t,c);case"MetaProperty":return[c("meta"),".",c("property")];case"BindExpression":return D.object&&m.push(c("object")),m.push(o(l([s,R(e,t,c)]))),m;case"Identifier":return[D.name,$(e),U(e),V(e,t,c)];case"V8IntrinsicIdentifier":return["%",D.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return J(e,t,c);case"FunctionDeclaration":case"FunctionExpression":return ei(e,c,t,d);case"ArrowFunctionExpression":return ea(e,t,c,d);case"YieldExpression":return m.push("yield"),D.delegate&&m.push("*"),D.argument&&m.push(" ",c("argument")),m;case"AwaitExpression":if(m.push("await"),D.argument){m.push(" ",c("argument"));let t=e.getParentNode();if(S(t)&&t.callee===D||T(t)&&t.object===D){m=[l([s,...m]),s];let t=e.findAncestor(e=>"AwaitExpression"===e.type||"BlockStatement"===e.type);if(!t||"AwaitExpression"!==t.type)return o(m)}}return m;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return X(e,t,c);case"ExportAllDeclaration":return z(e,t,c);case"ImportDeclaration":return G(e,t,c);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return K(e,t,c);case"ImportAttribute":return[c("key"),": ",c("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return ey(e,t,c);case"ThrowStatement":return el(e,t,c);case"ReturnStatement":return eo(e,t,c);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return ep(e,t,c);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return ee(e,t,c);case"ObjectProperty":case"Property":return D.method||"get"===D.kind||"set"===D.kind?es(e,t,c):eu(e,t,c);case"ObjectMethod":return es(e,t,c);case"Decorator":return["@",c("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return Z(e,t,c);case"SequenceExpression":{let t=e.getParentNode(0);if("ExpressionStatement"===t.type||"ForStatement"===t.type){let t=[];return e.each((e,r)=>{0===r?t.push(c()):t.push(",",l([i,c()]))},"expressions"),o(t)}return o(u([",",i],e.map(c,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[c("value"),f];case"DirectiveLiteral":return H(D.extra.raw,t);case"UnaryExpression":return m.push(D.operator),/[a-z]$/.test(D.operator)&&m.push(" "),h(D.argument)?m.push(o(["(",l([s,c("argument")]),s,")"])):m.push(c("argument")),m;case"UpdateExpression":return m.push(c("argument"),D.operator),D.prefix&&m.reverse(),m;case"ConditionalExpression":return Q(e,t,c);case"VariableDeclaration":{let t=e.map(c,"declarations"),r=e.getParentNode(),n="ForStatement"===r.type||"ForInStatement"===r.type||"ForOfStatement"===r.type,u=D.declarations.some(e=>e.init),s;return 1!==t.length||h(D.declarations[0])?t.length>0&&(s=l(t[0])):s=t[0],m=[D.declare?"declare ":"",D.kind,s?[" ",s]:"",l(t.slice(1).map(e=>[",",u&&!n?a:i,e]))],n&&r.body!==D||m.push(f),o(m)}case"WithStatement":return o(["with (",c("object"),")",W(D.body,c("body"))]);case"IfStatement":{let n=W(D.consequent,c("consequent")),u=o(["if (",o([l([s,c("test")]),s]),")",n]);if(m.push(u),D.alternate){let n=h(D.consequent,E.Trailing|E.Line)||v(D),u="BlockStatement"===D.consequent.type&&!n;m.push(u?" ":a),h(D,E.Dangling)&&m.push(r(e,t,!0),n?a:" "),m.push("else",o(W(D.alternate,c("alternate"),"IfStatement"===D.alternate.type)))}return m}case"ForStatement":{let n=W(D.body,c("body")),u=r(e,t,!0),a=u?[u,s]:"";return D.init||D.test||D.update?[a,o(["for (",o([l([s,c("init"),";",i,c("test"),";",i,c("update")]),s]),")",n])]:[a,o(["for (;;)",n])]}case"WhileStatement":return o(["while (",o([l([s,c("test")]),s]),")",W(D.body,c("body"))]);case"ForInStatement":return o(["for (",c("left")," in ",c("right"),")",W(D.body,c("body"))]);case"ForOfStatement":return o(["for",D.await?" await":""," (",c("left")," of ",c("right"),")",W(D.body,c("body"))]);case"DoWhileStatement":return m=[o(["do",W(D.body,c("body"))])],"BlockStatement"===D.body.type?m.push(" "):m.push(a),m.push("while (",o([l([s,c("test")]),s]),")",f),m;case"DoExpression":return[D.async?"async ":"","do ",c("body")];case"BreakStatement":return m.push("break"),D.label&&m.push(" ",c("label")),m.push(f),m;case"ContinueStatement":return m.push("continue"),D.label&&m.push(" ",c("label")),m.push(f),m;case"LabeledStatement":return"EmptyStatement"===D.body.type?[c("label"),":;"]:[c("label"),": ",c("body")];case"TryStatement":return["try ",c("block"),D.handler?[" ",c("handler")]:"",D.finalizer?[" finally ",c("finalizer")]:""];case"CatchClause":if(D.param){let e=h(D.param,e=>!k(e)||e.leading&&n(t.originalText,w(e))||e.trailing&&n(t.originalText,N(e),{backwards:!0})),r=c("param");return["catch ",e?["(",l([s,r]),s,") "]:["(",r,") "],c("body")]}return["catch ",c("body")];case"SwitchStatement":return[o(["switch (",l([s,c("discriminant")]),s,")"])," {",D.cases.length>0?l([a,u(a,e.map((e,r,n)=>{let u=e.getValue();return[c(),r!==n.length-1&&A(u,t)?a:""]},"cases"))]):"",a,"}"];case"SwitchCase":{D.test?m.push("case ",c("test"),":"):m.push("default:"),h(D,E.Dangling)&&m.push(" ",r(e,t,!0));let n=D.consequent.filter(e=>"EmptyStatement"!==e.type);if(n.length>0){let r=em(e,t,c);m.push(1===n.length&&"BlockStatement"===n[0].type?[" ",r]:l([a,r]))}return m}case"DebuggerStatement":return["debugger",f];case"ClassDeclaration":case"ClassExpression":return et(e,t,c);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return er(e,t,c);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return en(e,t,c);case"TemplateElement":return p(D.value.raw);case"TemplateLiteral":return Y(e,c,t);case"TaggedTemplateExpression":return[c("tag"),c("typeParameters"),c("quasi")];case"PrivateIdentifier":return["#",c("name")];case"PrivateName":return["#",c("id")];case"InterpreterDirective":return m.push("#!",D.value,a),A(D,t)&&m.push(a),m;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{m.push("module {");let e=c("body");return e&&m.push(l([a,e]),a),m.push("}"),m}default:throw Error("unknown type: "+JSON.stringify(D.type))}}(e,t,c,d);if(!D)return"";let f=e.getValue(),{type:g}=f;if("ClassMethod"===g||"ClassPrivateMethod"===g||"ClassProperty"===g||"ClassAccessorProperty"===g||"AccessorProperty"===g||"TSAbstractAccessorProperty"===g||"PropertyDefinition"===g||"TSAbstractPropertyDefinition"===g||"ClassPrivateProperty"===g||"MethodDefinition"===g||"TSAbstractMethodDefinition"===g||"TSDeclareMethod"===g)return D;let F=[D],x=eF(e,t,c),b="ClassExpression"===f.type&&x;if(x&&(F=[...x,D],!b))return o(F);if(!m(e,t))return d&&d.needsSemi&&F.unshift(";"),1===F.length&&F[0]===D?D:F;if(b&&(F=[l([i,...F])]),F.unshift("("),d&&d.needsSemi&&F.unshift(";"),y(f)){let[e]=f.trailingComments;F.push(" /*",e.value.trimStart(),"*/"),e.printed=!0}return b&&F.push(i),F.push(")"),F},embed:c,insertPragma:D,massageAstNode:d,hasPrettierIgnore:e=>b(e)||L(e),willPrintOwnComments:f.willPrintOwnComments,canAttachComment:function(e){return e.type&&!k(e)&&!F(e)&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type&&"TSEmptyBodyFunctionExpression"!==e.type},printComment:eE,isBlockComment:k,handleComments:{avoidAstMutation:!0,ownLine:f.handleOwnLineComment,endOfLine:f.handleEndOfLineComment,remaining:f.handleRemainingComment},getCommentChildNodes:f.getCommentChildNodes}}}),rQ=E({"src/language-js/printer-estree-json.js"(e,t){x();var{builders:{hardline:r,indent:n,join:u}}=q(),i=rC();function a(e){return"key"===e.getName()&&"ObjectProperty"===e.getParentNode().type}var s=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function o(e,t){let{type:r}=e;if("ObjectProperty"===r){let{key:r}=e;"Identifier"===r.type?t.key={type:"StringLiteral",value:r.name}:"NumericLiteral"===r.type&&(t.key={type:"StringLiteral",value:String(r.value)});return}if("UnaryExpression"===r&&"+"===e.operator)return t.argument;if("ArrayExpression"===r){for(let[r,n]of e.elements.entries())null===n&&t.elements.splice(r,0,{type:"NullLiteral"});return}if("TemplateLiteral"===r)return{type:"StringLiteral",value:e.quasis[0].value.cooked}}o.ignoredProperties=s,t.exports={preprocess:i,print:function(e,t,i){let s=e.getValue();switch(s.type){case"JsonRoot":return[i("node"),r];case"ArrayExpression":if(0===s.elements.length)return"[]";return["[",n([r,u([",",r],e.map(()=>null===e.getValue()?"null":i(),"elements"))]),r,"]"];case"ObjectExpression":return 0===s.properties.length?"{}":["{",n([r,u([",",r],e.map(i,"properties"))]),r,"}"];case"ObjectProperty":return[i("key"),": ",i("value")];case"UnaryExpression":return["+"===s.operator?"":s.operator,i("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return s.value?"true":"false";case"StringLiteral":return JSON.stringify(s.value);case"NumericLiteral":return a(e)?JSON.stringify(String(s.value)):JSON.stringify(s.value);case"Identifier":return a(e)?JSON.stringify(s.name):s.name;case"TemplateLiteral":return i(["quasis",0]);case"TemplateElement":return JSON.stringify(s.value.cooked);default:throw Error("unknown type: "+JSON.stringify(s.type))}},massageAstNode:o}}}),rY=E({"src/common/common-options.js"(e,t){x();var r="Common";t.exports={bracketSpacing:{since:"0.0.0",category:r,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:r,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:r,type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{since:"2.4.0",category:r,type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{since:"2.6.0",category:r,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),rZ=E({"src/language-js/options.js"(e,t){x();var r=rY(),n="JavaScript";t.exports={arrowParens:{since:"1.9.0",category:n,type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:r.bracketSameLine,bracketSpacing:r.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:n,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:n,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:r.singleQuote,jsxSingleQuote:{since:"1.15.0",category:n,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:n,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:n,type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."},{value:"all",description:"Trailing commas wherever possible (including function arguments)."}]},singleAttributePerLine:r.singleAttributePerLine}}}),r0=E({"src/language-js/parse/parsers.js"(){x()}}),r1=E({"node_modules/linguist-languages/data/JavaScript.json"(e,t){t.exports={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".jsx",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183}}}),r2=E({"node_modules/linguist-languages/data/TypeScript.json"(e,t){t.exports={name:"TypeScript",type:"programming",color:"#3178c6",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378}}}),r3=E({"node_modules/linguist-languages/data/TSX.json"(e,t){t.exports={name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),r8=E({"node_modules/linguist-languages/data/JSON.json"(e,t){t.exports={name:"JSON",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174}}}),r6=E({"node_modules/linguist-languages/data/JSON with Comments.json"(e,t){t.exports={name:"JSON with Comments",type:"data",color:"#292929",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".code-snippets",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".devcontainer.json",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","api-extractor.json","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423}}}),r7=E({"node_modules/linguist-languages/data/JSON5.json"(e,t){t.exports={name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),r9=E({"src/language-js/index.js"(e,t){x();var r=tV(),n=rK(),u=rQ(),i=rZ(),a=r0(),s=[r(r1(),e=>({since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...e.interpreters,"zx"],extensions:[...e.extensions.filter(e=>".jsx"!==e),".wxs"]})),r(r1(),()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),r(r1(),()=>({name:"JSX",since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],aliases:void 0,filenames:void 0,extensions:[".jsx"],group:"JavaScript",interpreters:void 0,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0})),r(r2(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),r(r3(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),r(r8(),()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]})),r(r8(),e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:e.extensions.filter(e=>".jsonl"!==e)})),r(r6(),e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...e.filenames,".eslintrc",".swcrc"]})),r(r7(),()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))];t.exports={languages:s,options:i,printers:{estree:n,"estree-json":u},parsers:a}}}),r5=E({"src/language-css/clean.js"(e,t){x();var{isFrontMatterNode:r}=ed(),n=w(),u=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function i(e,t,u){if(r(e)&&"yaml"===e.lang&&delete t.value,"css-comment"===e.type&&"css-root"===u.type&&u.nodes.length>0&&((u.nodes[0]===e||r(u.nodes[0])&&u.nodes[1]===e)&&(delete t.text,/^\*\s*@(?:format|prettier)\s*$/.test(e.text))||"css-root"===u.type&&n(u.nodes)===e))return null;if("value-root"===e.type&&delete t.text,("media-query"===e.type||"media-query-list"===e.type||"media-feature-expression"===e.type)&&delete t.value,"css-rule"===e.type&&delete t.params,"selector-combinator"===e.type&&(t.value=t.value.replace(/\s+/g," ")),"media-feature"===e.type&&(t.value=t.value.replace(/ /g,"")),("value-word"===e.type&&(e.isColor&&e.isHex||["initial","inherit","unset","revert"].includes(t.value.replace().toLowerCase()))||"media-feature"===e.type||"selector-root-invalid"===e.type||"selector-pseudo"===e.type)&&(t.value=t.value.toLowerCase()),"css-decl"===e.type&&(t.prop=t.prop.toLowerCase()),("css-atrule"===e.type||"css-import"===e.type)&&(t.name=t.name.toLowerCase()),"value-number"===e.type&&(t.unit=t.unit.toLowerCase()),("media-feature"===e.type||"media-keyword"===e.type||"media-type"===e.type||"media-unknown"===e.type||"media-url"===e.type||"media-value"===e.type||"selector-attribute"===e.type||"selector-string"===e.type||"selector-class"===e.type||"selector-combinator"===e.type||"value-string"===e.type)&&t.value&&(t.value=t.value.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")),"selector-attribute"===e.type&&(t.attribute=t.attribute.trim(),t.namespace&&"string"==typeof t.namespace&&(t.namespace=t.namespace.trim(),0===t.namespace.length&&(t.namespace=!0)),t.value&&(t.value=t.value.trim().replace(/^["']|["']$/g,""),delete t.quoted)),("media-value"===e.type||"media-type"===e.type||"value-number"===e.type||"selector-root-invalid"===e.type||"selector-class"===e.type||"selector-combinator"===e.type||"selector-tag"===e.type)&&t.value&&(t.value=t.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(e,t,r)=>{let n=Number(t);return Number.isNaN(n)?e:n+r.toLowerCase()})),"selector-tag"===e.type){let r=e.value.toLowerCase();["from","to"].includes(r)&&(t.value=r)}if("css-atrule"===e.type&&"supports"===e.name.toLowerCase()&&delete t.value,"selector-unknown"===e.type&&delete t.value,"value-comma_group"===e.type){let r=e.groups.findIndex(e=>"value-number"===e.type&&"..."===e.unit);-1!==r&&(t.groups[r].unit="",t.groups.splice(r+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}if("value-comma_group"===e.type&&e.groups.some(e=>"value-atword"===e.type&&e.value.endsWith("[")||"value-word"===e.type&&e.value.startsWith("]")))return{type:"value-atword",value:e.groups.map(e=>e.value).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}}i.ignoredProperties=u,t.exports=i}}),r4=E({"src/utils/front-matter/print.js"(e,t){x();var{builders:{hardline:r,markAsRoot:n}}=q();t.exports=function(e,t){if("yaml"===e.lang){let u=e.value.trim(),i=u?t(u,{parser:"yaml"},{stripTrailingHardline:!0}):"";return n([e.startDelimiter,r,i,i?r:"",e.endDelimiter])}}}}),ne=E({"src/language-css/embed.js"(e,t){x();var{builders:{hardline:r}}=q(),n=r4();t.exports=function(e,t,u){let i=e.getValue();if("front-matter"===i.type){let e=n(i,u);return e?[e,r]:""}}}}),nt=E({"src/utils/front-matter/parse.js"(e,t){x();var r=RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");t.exports=function(e){let t=e.match(r);if(!t)return{content:e};let{startDelimiter:n,language:u,value:i="",endDelimiter:a}=t.groups,s=u.trim()||"yaml";if("+++"===n&&(s="toml"),"yaml"!==s&&n!==a)return{content:e};let[o]=t;return{frontMatter:{type:"front-matter",lang:s,value:i,startDelimiter:n,endDelimiter:a,raw:o.replace(/\n$/,"")},content:o.replace(/[^\n]/g," ")+e.slice(o.length)}}}}),nr=E({"src/language-css/pragma.js"(e,t){x();var r=rg(),n=nt();t.exports={hasPragma:function(e){return r.hasPragma(n(e).content)},insertPragma:function(e){let{frontMatter:t,content:u}=n(e);return(t?t.raw+` + +`:"")+r.insertPragma(u)}}}}),nn=E({"src/language-css/utils/index.js"(e,t){x();var r=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function n(e,t){let r=Array.isArray(t)?t:[t],n=-1,u;for(;u=e.getParentNode(++n);)if(r.includes(u.type))return n;return -1}function u(e,t){let r=n(e,t);return -1===r?null:e.getParentNode(r)}var i=new Set(["initial","inherit","unset","revert"]);function a(e){return"value-operator"===e.type&&"*"===e.value}function s(e){return"value-operator"===e.type&&"/"===e.value}function o(e){return"value-operator"===e.type&&"+"===e.value}function l(e){return"value-operator"===e.type&&"-"===e.value}function p(e){return"value-operator"===e.type&&"%"===e.value}function c(e){var t,r;return"value-comma_group"===e.type&&(null===(t=e.groups)||void 0===t||null===(r=t[1])||void 0===r?void 0:r.type)==="value-colon"}function d(e){var t;return"value-paren_group"===e.type&&(null===(t=e.groups)||void 0===t?void 0:t[0])&&c(e.groups[0])}function D(e){return(null==e?void 0:e.type)==="value-colon"}t.exports={getAncestorCounter:n,getAncestorNode:u,getPropOfDeclNode:function(e){var t;let r=u(e,"css-decl");return null==r||null===(t=r.prop)||void 0===t?void 0:t.toLowerCase()},maybeToLowerCase:function(e){return e.includes("$")||e.includes("@")||e.includes("#")||e.startsWith("%")||e.startsWith("--")||e.startsWith(":--")||e.includes("(")&&e.includes(")")?e:e.toLowerCase()},insideValueFunctionNode:function(e,t){var r;let n=u(e,"value-func");return(null==n||null===(r=n.value)||void 0===r?void 0:r.toLowerCase())===t},insideICSSRuleNode:function(e){var t;let r=u(e,"css-rule"),n=null==r||null===(t=r.raws)||void 0===t?void 0:t.selector;return n&&(n.startsWith(":import")||n.startsWith(":export"))},insideAtRuleNode:function(e,t){let r=Array.isArray(t)?t:[t],n=u(e,"css-atrule");return n&&r.includes(n.name.toLowerCase())},insideURLFunctionInImportAtRuleNode:function(e){let t=e.getValue(),r=u(e,"css-atrule");return(null==r?void 0:r.name)==="import"&&"url"===t.groups[0].value&&2===t.groups.length},isKeyframeAtRuleKeywords:function(e,t){let r=u(e,"css-atrule");return(null==r?void 0:r.name)&&r.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(t.toLowerCase())},isWideKeywords:function(e){return i.has(e.toLowerCase())},isLastNode:function(e,t){var r;let n=null===(r=e.getParentNode())||void 0===r?void 0:r.nodes;return n&&n.indexOf(t)===n.length-1},isSCSSControlDirectiveNode:function(e){return"css-atrule"===e.type&&["if","else","for","each","while"].includes(e.name)},isDetachedRulesetDeclarationNode:function(e){let{selector:t}=e;return!!t&&("string"==typeof t&&/^@.+:.*$/.test(t)||t.value&&/^@.+:.*$/.test(t.value))},isRelationalOperatorNode:function(e){return"value-word"===e.type&&["<",">","<=",">="].includes(e.value)},isEqualityOperatorNode:function(e){return"value-word"===e.type&&["==","!="].includes(e.value)},isMultiplicationNode:a,isDivisionNode:s,isAdditionNode:o,isSubtractionNode:l,isModuloNode:p,isMathOperatorNode:function(e){return a(e)||s(e)||o(e)||l(e)||p(e)},isEachKeywordNode:function(e){return"value-word"===e.type&&"in"===e.value},isForKeywordNode:function(e){return"value-word"===e.type&&["from","through","end"].includes(e.value)},isURLFunctionNode:function(e){return"value-func"===e.type&&"url"===e.value.toLowerCase()},isIfElseKeywordNode:function(e){return"value-word"===e.type&&["and","or","not"].includes(e.value)},hasComposesNode:function(e){var t,r;return(null===(t=e.value)||void 0===t?void 0:t.type)==="value-root"&&(null===(r=e.value.group)||void 0===r?void 0:r.type)==="value-value"&&"composes"===e.prop.toLowerCase()},hasParensAroundNode:function(e){var t,r,n;return(null===(t=e.value)||void 0===t||null===(r=t.group)||void 0===r||null===(n=r.group)||void 0===n?void 0:n.type)==="value-paren_group"&&null!==e.value.group.group.open&&null!==e.value.group.group.close},hasEmptyRawBefore:function(e){var t;return(null===(t=e.raws)||void 0===t?void 0:t.before)===""},isDetachedRulesetCallNode:function(e){var t;return(null===(t=e.raws)||void 0===t?void 0:t.params)&&/^\(\s*\)$/.test(e.raws.params)},isTemplatePlaceholderNode:function(e){return e.name.startsWith("prettier-placeholder")},isTemplatePropNode:function(e){return e.prop.startsWith("@prettier-placeholder")},isPostcssSimpleVarNode:function(e,t){return"$$"===e.value&&"value-func"===e.type&&(null==t?void 0:t.type)==="value-word"&&!t.raws.before},isKeyValuePairNode:c,isKeyValuePairInParenGroupNode:d,isKeyInValuePairNode:function(e,t){if(!c(t))return!1;let{groups:r}=t,n=r.indexOf(e);return -1!==n&&D(r[n+1])},isSCSSMapItemNode:function(e){var t;let r=e.getValue();if(0===r.groups.length)return!1;let n=e.getParentNode(1);if(!d(r)&&!(n&&d(n)))return!1;let i=u(e,"css-decl");return!!(null!=i&&null!==(t=i.prop)&&void 0!==t&&t.startsWith("$")||d(n)||"value-func"===n.type)},isInlineValueCommentNode:function(e){return"value-comment"===e.type&&e.inline},isHashNode:function(e){return"value-word"===e.type&&"#"===e.value},isLeftCurlyBraceNode:function(e){return"value-word"===e.type&&"{"===e.value},isRightCurlyBraceNode:function(e){return"value-word"===e.type&&"}"===e.value},isWordNode:function(e){return["value-word","value-atword"].includes(e.type)},isColonNode:D,isMediaAndSupportsKeywords:function(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())},isColorAdjusterFuncNode:function(e){return"value-func"===e.type&&r.has(e.value.toLowerCase())},lastLineHasInlineComment:function(e){return/\/\//.test(e.split(/[\n\r]/).pop())},isAtWordPlaceholderNode:function(e){return(null==e?void 0:e.type)==="value-atword"&&e.value.startsWith("prettier-placeholder-")},isConfigurationNode:function(e,t){var r,n;if((null===(r=e.open)||void 0===r?void 0:r.value)!=="("||(null===(n=e.close)||void 0===n?void 0:n.value)!==")"||e.groups.some(e=>"value-comma_group"!==e.type))return!1;if("value-comma_group"===t.type){let r=t.groups.indexOf(e)-1,n=t.groups[r];if((null==n?void 0:n.type)==="value-word"&&"with"===n.value)return!0}return!1},isParenGroupNode:function(e){var t,r;return"value-paren_group"===e.type&&(null===(t=e.open)||void 0===t?void 0:t.value)==="("&&(null===(r=e.close)||void 0===r?void 0:r.value)===")"}}}}),nu=E({"src/utils/line-column-to-index.js"(e,t){x(),t.exports=function(e,t){let r=0;for(let n=0;n{let l=o[u-1];if(l&&"css-comment"===l.type&&"prettier-ignore"===l.text.trim()){let r=e.getValue();n.push(t.originalText.slice(eE(r),eC(r)))}else n.push(r());u!==o.length-1&&(("css-comment"!==o[u+1].type||i(t.originalText,eE(o[u+1]),{backwards:!0})||a(o[u]))&&("css-atrule"!==o[u+1].type||"else"!==o[u+1].name||"css-comment"===o[u].type)?(n.push(t.__isHTMLStyleAttribute?p:c),s(t.originalText,e.getValue(),eC)&&!a(o[u])&&n.push(c)):n.push(" "))},"nodes"),n}var eb=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,eS=RegExp(eb.source+`|(${/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g.source})?(${/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g.source})(${/[A-Za-z]+/g.source})?`,"g");function eT(e,t){return e.replace(eb,e=>u(e,t))}function eB(e){return e.replace(eS,(e,t,r,n,u)=>!r&&n?eN(n)+T(u||""):e)}function eN(e){return n(e).replace(/\.0(?=$|e)/,"")}t.exports={print:function(e,t,n){var i,a,F;let A=e.getValue();if(!A)return"";if("string"==typeof A)return A;switch(A.type){case"front-matter":return[A.raw,c];case"css-root":{let r=ex(e,t,n),u=A.raws.after.trim();return u.startsWith(";")&&(u=u.slice(1).trim()),[r,u?` ${u}`:"",C(r).length>0?c:""]}case"css-comment":{let e=A.inline||A.raws.inline,r=t.originalText.slice(eE(A),eC(A));return e?r.trimEnd():r}case"css-rule":return[n("selector"),A.important?" !important":"",A.nodes?[A.selector&&"selector-unknown"===A.selector.type&&em(A.selector.value)?p:" ","{",A.nodes.length>0?m([c,ex(e,t,n)]):"",c,"}",_(A)?";":""]:";"];case"css-decl":{let r=e.getParentNode(),{between:u}=A.raws,i=u.trim(),a=":"===i,s=K(A)?E(n("value")):n("value");return!a&&em(i)&&(s=m([c,g(s)])),[A.raws.before.replace(/[\s;]/g,""),"css-atrule"===r.type&&r.variable||N(e)?A.prop:T(A.prop),i.startsWith("//")?" ":"",i,A.extend?"":" ",eF(t)&&A.extend&&A.selector?["extend(",n("selector"),")"]:"",s,A.raws.important?A.raws.important.replace(/\s*!\s*important/i," !important"):A.important?" !important":"",A.raws.scssDefault?A.raws.scssDefault.replace(/\s*!default/i," !default"):A.scssDefault?" !default":"",A.raws.scssGlobal?A.raws.scssGlobal.replace(/\s*!global/i," !global"):A.scssGlobal?" !global":"",A.nodes?[" {",m([d,ex(e,t,n)]),d,"}"]:en(A)&&!r.raws.semicolon&&";"!==t.originalText[eC(A)-1]?"":t.__isHTMLStyleAttribute&&O(e,A)?y(";"):";"]}case"css-atrule":{let r=e.getParentNode(),u=er(A)&&!r.raws.semicolon&&";"!==t.originalText[eC(A)-1];if(eF(t)){if(A.mixin)return[n("selector"),A.important?" !important":"",u?"":";"];if(A.function)return[A.name,n("params"),u?"":";"];if(A.variable)return["@",A.name,": ",A.value?n("value"):"",A.raws.between.trim()?A.raws.between.trim()+" ":"",A.nodes?["{",m([A.nodes.length>0?d:"",ex(e,t,n)]),d,"}"]:"",u?"":";"]}return["@",et(A)||A.name.endsWith(":")?A.name:T(A.name),A.params?[et(A)?"":er(A)?""===A.raws.afterName?"":A.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(A.raws.afterName)?[c,c]:/^\s*\n/.test(A.raws.afterName)?c:" ":" ",n("params")]:"",A.selector?m([" ",n("selector")]):"",A.value?D([" ",n("value"),L(A)?Q(A)?" ":p:""]):"else"===A.name?" ":"",A.nodes?[L(A)?"":A.selector&&!A.selector.nodes&&"string"==typeof A.selector.value&&em(A.selector.value)||!A.selector&&"string"==typeof A.params&&em(A.params)?p:" ","{",m([A.nodes.length>0?d:"",ex(e,t,n)]),d,"}"]:u?"":";"]}case"media-query-list":{let t=[];return e.each(e=>{let r=e.getValue();"media-query"===r.type&&""===r.value||t.push(n())},"nodes"),D(m(l(p,t)))}case"media-query":return[l(" ",e.map(n,"nodes")),O(e,A)?"":","];case"media-type":case"media-value":return eB(eT(A.value,t));case"media-feature-expression":return A.nodes?["(",...e.map(n,"nodes"),")"]:A.value;case"media-feature":return T(eT(A.value.replace(/ +/g," "),t));case"media-colon":case"value-comma":return[A.value," "];case"media-keyword":case"selector-string":return eT(A.value,t);case"media-url":return eT(A.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),t);case"media-unknown":case"selector-comment":case"selector-nesting":case"value-paren":case"value-operator":case"value-unicode-range":case"value-unknown":return A.value;case"selector-root":return D([k(e,"custom-selector")?[b(e,"css-atrule").customSelector,p]:"",l([",",k(e,["extend","custom-selector","nest"])?p:c],e.map(n,"nodes"))]);case"selector-selector":return D(m(e.map(n,"nodes")));case"selector-tag":{let t=e.getParentNode(),r=t&&t.nodes.indexOf(A),n=r&&t.nodes[r-1];return[A.namespace?[!0===A.namespace?"":A.namespace.trim(),"|"]:"","selector-nesting"===n.type?A.value:eB(P(e,A.value)?A.value.toLowerCase():A.value)]}case"selector-id":return["#",A.value];case"selector-class":return[".",eB(eT(A.value,t))];case"selector-attribute":let v;return["[",A.namespace?[!0===A.namespace?"":A.namespace.trim(),"|"]:"",A.attribute.trim(),null!==(i=A.operator)&&void 0!==i?i:"",A.value?(F=eT(A.value.trim(),t),v=t.singleQuote?"'":'"',F.includes('"')||F.includes("'")?F:v+F+v):"",A.insensitive?" i":"","]"];case"selector-combinator":if("+"===A.value||">"===A.value||"~"===A.value||">>>"===A.value){let t=e.getParentNode();return["selector-selector"===t.type&&t.nodes[0]===A?"":p,A.value,O(e,A)?"":" "]}return[A.value.trim().startsWith("(")?p:"",eB(eT(A.value.trim(),t))||p];case"selector-universal":return[A.namespace?[!0===A.namespace?"":A.namespace.trim(),"|"]:"",A.value];case"selector-pseudo":return[T(A.value),o(A.nodes)?D(["(",m([d,l([",",p],e.map(n,"nodes"))]),d,")"]):""];case"selector-unknown":{let r=b(e,"css-rule");if(r&&r.isSCSSNesterProperty)return eB(eT(T(A.value),t));let n=e.getParentNode();if(n.raws&&n.raws.selector){let e=eE(n),r=e+n.raws.selector.length;return t.originalText.slice(e,r).trim()}let u=e.getParentNode(1);if("value-paren_group"===n.type&&u&&"value-func"===u.type&&"selector"===u.value){let e=eC(n.open)+1,r=eE(n.close),u=t.originalText.slice(e,r).trim();return em(u)?[h,u]:u}return A.value}case"value-value":case"value-root":return n("group");case"value-comment":return t.originalText.slice(eE(A),eC(A));case"value-comma_group":{let r=e.getParentNode(),u=e.getParentNode(1),i=S(e),s=i&&"value-value"===r.type&&("grid"===i||i.startsWith("grid-template")),o=b(e,"css-atrule"),l=o&&L(o),y=A.groups.some(e=>ea(e)),E=e.map(n,"groups"),C=[],F=B(e,"url"),v=!1,x=!1;for(let n=0;nt:-1!==e?v=!0:-1!==t&&(v=!1)}if(v||ec(D)||ec(f)||"value-atword"===D.type&&(""===D.value||D.value.endsWith("["))||"value-word"===f.type&&f.value.startsWith("]")||"~"===D.value||D.value&&D.value.includes("\\")&&f&&"value-comment"!==f.type||i&&i.value&&i.value.indexOf("\\")===i.value.length-1&&"value-operator"===D.type&&"/"===D.value||"\\"===D.value||eu(D,f)||es(D)||eo(D)||el(f)||eo(f)&&Y(f)||el(D)&&Y(f)||"--"===D.value&&es(f))continue;let y=U(D),h=U(f);if((y&&es(f)||h&&el(D))&&Y(f)||!i&&V(D)||B(e,"calc")&&(W(D)||W(f)||J(D)||J(f))&&Y(f))continue;let b=(W(D)||J(D))&&0===n&&("value-number"===f.type||f.isHex)&&u&&ef(u)&&!Y(f),S=m&&"value-func"===m.type||m&&ep(m)||"value-func"===D.type||ep(D),T="value-func"===f.type||ep(f)||i&&"value-func"===i.type||i&&ep(i);if(!(!(R(f)||R(D))&&!B(e,"calc")&&!b&&(V(f)&&!S||V(D)&&!T||W(f)&&!S||W(D)&&!T||J(f)||J(D))&&(Y(f)||y&&(!i||i&&U(i))))&&!(("scss"===t.parser||"less"===t.parser)&&y&&"-"===D.value&&eh(f)&&eC(D)===eE(f.open)&&"("===f.open.value)){if(ea(D)){if("value-paren_group"===r.type){C.push(g(c));continue}C.push(c);continue}if(l&&($(f)||M(f)||z(f)||H(D)||G(D))||o&&"namespace"===o.name.toLowerCase()){C.push(" ");continue}if(s){D.source&&f.source&&D.source.start.line!==f.source.start.line?(C.push(c),x=!0):C.push(" ");continue}if(h){C.push(" ");continue}if(!(f&&"..."===f.value)&&!(eg(D)&&eg(f)&&eC(D)===eE(f))){if(eg(D)&&eh(f)&&eC(D)===eE(f.open)){C.push(d);continue}if("with"===D.value&&eh(f)){C.push(" ");continue}null!==(a=D.value)&&void 0!==a&&a.endsWith("#")&&"{"===f.value&&eh(f.group)||C.push(p)}}}return y&&C.push(h),x&&C.unshift(c),l?D(m(C)):j(e)?D(f(C)):D(m(f(C)))}case"value-paren_group":{let u=e.getParentNode();if(u&&X(u)&&(1===A.groups.length||A.groups.length>0&&"value-comma_group"===A.groups[0].type&&A.groups[0].groups.length>0&&"value-word"===A.groups[0].groups[0].type&&A.groups[0].groups[0].value.startsWith("data:")))return[A.open?n("open"):"",l(",",e.map(n,"groups")),A.close?n("close"):""];if(!A.open){let t=e.map(n,"groups"),r=[];for(let e=0;e{let i=e.getValue(),a=u===A.groups.length-1,l=[n(),a?"":","];if(Z(i)&&"value-comma_group"===i.type&&i.groups&&"value-paren_group"!==i.groups[0].type&&i.groups[2]&&"value-paren_group"===i.groups[2].type){let e=C(l[0].contents.contents);e[1]=D(e[1]),l=[D(g(l))]}if(!a&&"value-comma_group"===i.type&&o(i.groups)){let e=r(i.groups);!e.source&&e.close&&(e=e.close),e.source&&s(t.originalText,e,eC)&&l.push(c)}return l},"groups"))]),y(!h&&eA(t.parser,t.originalText)&&i&&("es5"===t.trailingComma||"all"===t.trailingComma)?",":""),d,A.close?n("close"):""],{shouldBreak:F||i&&!E});return F||E?g(v):v}case"value-func":return[A.value,k(e,"supports")&&eD(A)?" ":"",n("group")];case"value-number":return[eN(A.value),ev(A.unit)];case"value-word":return A.isColor&&A.isHex||I(A.value)?A.value.toLowerCase():A.value;case"value-colon":{let t=e.getParentNode(),n=t&&t.groups.indexOf(A),u=n&&t.groups[n-1];return[A.value,u&&"string"==typeof u.value&&"\\"===r(u.value)||B(e,"url")?"":p]}case"value-string":return u(A.raws.quote+A.value+A.raws.quote,t);case"value-atword":return["@",A.value];default:throw Error(`Unknown postcss type ${JSON.stringify(A.type)}`)}},embed:A,insertPragma:v,massageAstNode:F}}}),nc=E({"src/language-css/options.js"(e,t){x();var r=rY();t.exports={singleQuote:r.singleQuote}}}),nd=E({"src/language-css/parsers.js"(){x()}}),nD=E({"node_modules/linguist-languages/data/CSS.json"(e,t){t.exports={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50}}}),nf=E({"node_modules/linguist-languages/data/PostCSS.json"(e,t){t.exports={name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437}}}),nm=E({"node_modules/linguist-languages/data/Less.json"(e,t){t.exports={name:"Less",type:"markup",color:"#1d365d",aliases:["less-css"],extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198}}}),ng=E({"node_modules/linguist-languages/data/SCSS.json"(e,t){t.exports={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329}}}),ny=E({"src/language-css/index.js"(e,t){x();var r=tV(),n=np(),u=nc(),i=nd(),a=[r(nD(),e=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...e.extensions,".wxss"]})),r(nf(),()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),r(nm(),()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),r(ng(),()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))];t.exports={languages:a,options:u,printers:{postcss:n},parsers:i}}}),nh=E({"src/language-handlebars/loc.js"(e,t){x(),t.exports={locStart:function(e){return e.loc.start.offset},locEnd:function(e){return e.loc.end.offset}}}}),nE=E({"src/language-handlebars/clean.js"(e,t){function r(e,t){if("TextNode"===e.type){let r=e.chars.trim();if(!r)return null;t.chars=r.replace(/[\t\n\f\r ]+/g," ")}"AttrNode"===e.type&&"class"===e.name.toLowerCase()&&delete t.value}x(),r.ignoredProperties=new Set(["loc","selfClosing"]),t.exports=r}}),nC=E({"src/language-handlebars/html-void-elements.evaluate.js"(e,t){t.exports=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]}}),nF=E({"src/language-handlebars/utils.js"(e,t){x();var r=w();function n(e){return e.toUpperCase()===e}var u=new Set(nC());function i(e){return a(e,["TextNode"])&&!/\S/.test(e.chars)}function a(e,t){return e&&t.includes(e.type)}function s(e,t){return a(e.getParentNode(0),t)}function o(e,t){var r,n,u,i;let a=e.getValue(),s=null!==(r=e.getParentNode(0))&&void 0!==r?r:{},o=null!==(n=null!==(u=null!==(i=s.children)&&void 0!==i?i:s.body)&&void 0!==u?u:s.parts)&&void 0!==n?n:[],l=o.indexOf(a);return -1!==l&&o[l+t]}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return o(e,-t)}function p(e){return o(e,1)}function c(e){return a(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim()}t.exports={getNextNode:p,getPreviousNode:l,hasPrettierIgnore:function(e){let t=e.getValue(),r=l(e,2);return c(t)||c(r)},isLastNodeOfSiblings:function(e){let t=e.getValue(),n=e.getParentNode(0);return!!(s(e,["ElementNode"])&&r(n.children)===t||s(e,["Block"])&&r(n.body)===t)},isNextNodeOfSomeType:function(e,t){return a(p(e),t)},isNodeOfSomeType:a,isParentOfSomeType:s,isPreviousNodeOfSomeType:function(e,t){return a(l(e),t)},isVoid:function(e){var t;return!0===e.selfClosing||(t=e.tag,u.has(t.toLowerCase())&&!n(t[0]))||a(e,["ElementNode"])&&"string"==typeof e.tag&&!e.tag.startsWith(":")&&(n(e.tag[0])||e.tag.includes("."))&&e.children.every(e=>i(e))},isWhitespaceNode:i}}}),nA=E({"src/language-handlebars/printer-glimmer.js"(e,t){x();var{builders:{dedent:r,fill:n,group:u,hardline:i,ifBreak:a,indent:s,join:o,line:l,softline:p},utils:{getDocParts:c,replaceTextEndOfLine:d}}=q(),{getPreferredQuote:D,isNonEmptyArray:f}=ed(),{locStart:m,locEnd:g}=nh(),y=nE(),{getNextNode:h,getPreviousNode:E,hasPrettierIgnore:C,isLastNodeOfSiblings:F,isNextNodeOfSomeType:A,isNodeOfSomeType:v,isParentOfSomeType:b,isPreviousNodeOfSomeType:S,isVoid:T,isWhitespaceNode:B}=nF();function N(e,t){return m(e)-m(t)}function w(e,t,r){let n=e.getValue().children.every(e=>B(e));return"ignore"===t.htmlWhitespaceSensitivity&&n?"":e.map((e,n)=>{let u=r();return 0===n&&"ignore"===t.htmlWhitespaceSensitivity?[p,u]:u},"children")}function k(e){return[!1===e.escaped?"{{{":"{{",e.strip&&e.strip.open?"~":""]}function j(e){let t=!1===e.escaped?"}}}":"}}";return[e.strip&&e.strip.close?"~":"",t]}function P(e){return[k(e),e.closeStrip.open?"~":"","/"]}function I(e){let t=j(e);return[e.closeStrip.close?"~":"",t]}function O(e){return[k(e),e.inverseStrip.open?"~":""]}function L(e){let t=j(e);return[e.inverseStrip.close?"~":"",t]}function _(e){return v(e,["BlockStatement"])&&e.program.body.every(e=>B(e))}function M(e){return v(e,["BlockStatement"])&&e.inverse}function $(e,t,r){if(_(e.getValue()))return"";let n=t("program");return"ignore"===r.htmlWhitespaceSensitivity?s([i,n]):s(n)}function R(e,t,r){let n=e.getValue(),u=t("inverse"),a="ignore"===r.htmlWhitespaceSensitivity?[i,u]:u;return M(n)&&1===n.inverse.body.length&&v(n.inverse.body[0],["BlockStatement"])&&n.inverse.body[0].path.parts[0]===n.path.parts[0]?a:M(n)?[["ignore"===r.htmlWhitespaceSensitivity?i:"",O(n),"else",L(n)],s(a)]:""}function V(e){return c(o(l,e.split(/[\t\n\f\r ]+/)))}function W(e){return(e="string"==typeof e?e:"").split(` +`).length-1}function J(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Array.from({length:Math.min(e,2)}).fill(i)}function U(e,t){let{quote:r,regex:n}=D(e,t);return[r,e.replace(n,`\\${r}`),r]}function H(e,t){let r=t("path"),n=G(e,t);return n?[s([r,l,n]),p]:r}function G(e,t){let r=e.getValue(),n=[];if(r.params.length>0){let r=e.map(t,"params");n.push(...r)}if(r.hash&&r.hash.pairs.length>0){let e=t("hash");n.push(e)}return 0===n.length?"":o(l,n)}function X(e){return["as |",e.blockParams.join(" "),"|"]}t.exports={print:function(e,t,c){var y,x,B;let M=e.getValue();if(!M)return"";if(C(e))return t.originalText.slice(m(M),g(M));let q=t.singleQuote?"'":'"';switch(M.type){case"Block":case"Program":case"Template":return u(e.map(c,"body"));case"ElementNode":{let r=u(function(e,t){let r=e.getValue(),n=["attributes","modifiers","comments"].filter(e=>f(r[e])),u=n.flatMap(e=>r[e]).sort(N);for(let r of n)e.each(e=>{let r=u.indexOf(e.getValue());u.splice(r,1,[l,t()])},r);return f(r.blockParams)&&u.push(l,X(r)),["<",r.tag,s(u),T(r)?a([p,"/>"],[" />",p]):a([p,">"],">")]}(e,c)),n="ignore"===t.htmlWhitespaceSensitivity&&A(e,["ElementNode"])?p:"";if(T(M))return[r,n];let o=[""];return 0===M.children.length?[r,s(o),n]:"ignore"===t.htmlWhitespaceSensitivity?[r,s(w(e,t,c)),i,s(o),n]:[r,s(u(w(e,t,c))),s(o),n]}case"BlockStatement":{let r,n,a,d=e.getParentNode(1);return d&&d.inverse&&1===d.inverse.body.length&&d.inverse.body[0]===M&&d.inverse.body[0].path.parts[0]===d.path.parts[0]?[(y=d.inverse.body[0].path.parts[0],r=e.getValue(),u([O(n=e.getParentNode(1)),["else"," ",y],s([l,u(G(e,c)),...f(r.program.blockParams)?[l,X(r.program)]:[]]),p,L(n)])),$(e,c,t),R(e,c,t)]:[function(e,t){let r,n=e.getValue(),i=[],a=G(e,t);return a&&i.push(u(a)),f(n.program.blockParams)&&i.push(X(n.program)),u([[k(n),n.openStrip.open?"~":"","#"],t("path"),i.length>0?s([l,o(l,i)]):"",p,(r=j(n),[n.openStrip.close?"~":"",r])])}(e,c),u([$(e,c,t),R(e,c,t),(a=e.getValue(),"ignore"===t.htmlWhitespaceSensitivity?[_(a)?p:i,P(a),c("path"),I(a)]:[P(a),c("path"),I(a)])])]}case"ElementModifierStatement":return u(["{{",H(e,c),"}}"]);case"MustacheStatement":return u([k(M),H(e,c),j(M)]);case"SubExpression":let z,K;return u(["(",(z=c("path"),(K=G(e,c))?s([z,l,u(K)]):z),p,")"]);case"AttrNode":{let e="TextNode"===M.value.type;if(e&&""===M.value.chars&&m(M.value)===g(M.value))return M.name;let t=e?D(M.value.chars,q).quote:"ConcatStatement"===M.value.type?D(M.value.parts.filter(e=>"TextNode"===e.type).map(e=>e.chars).join(""),q).quote:"",r=c("value");return[M.name,"=",t,"class"===M.name&&t?u(s(r)):r,t]}case"ConcatStatement":return e.map(c,"parts");case"Hash":return o(l,e.map(c,"pairs"));case"HashPair":return[M.key,"=",c("value")];case"TextNode":{let u=M.chars.replace(/{{/g,"\\{{"),i=function(e){for(let t=0;t<2;t++){let r=e.getParentNode(t);if(r&&"AttrNode"===r.type)return r.name.toLowerCase()}}(e);if(i){if("class"===i){let t=u.trim().split(/\s+/).join(" "),r=!1,n=!1;return b(e,["ConcatStatement"])&&(S(e,["MustacheStatement"])&&/^\s/.test(u)&&(r=!0),A(e,["MustacheStatement"])&&/\s$/.test(u)&&""!==t&&(n=!0)),[r?l:"",t,n?l:""]}return d(u)}let a=/^[\t\n\f\r ]*$/.test(u),s=!E(e),o=!h(e);if("ignore"!==t.htmlWhitespaceSensitivity){let t=/^[\t\n\f\r ]*/,i=/[\t\n\f\r ]*$/,p=o&&b(e,["Template"]),c=s&&b(e,["Template"]);if(a){if(c||p)return"";let t=[l],n=W(u);return n&&(t=J(n)),F(e)&&(t=t.map(e=>r(e))),t}let[d]=u.match(t),[D]=u.match(i),f=[];if(d){f=[l];let e=W(d);e&&(f=J(e)),u=u.replace(t,"")}let m=[];if(D){if(!p){m=[l];let t=W(D);t&&(m=J(t)),F(e)&&(m=m.map(e=>r(e)))}u=u.replace(i,"")}return[...f,n(V(u)),...m]}let p=W(u),c=W(((x="string"==typeof(x=u)?x:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||""),D=W(((B="string"==typeof(B=u)?B:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"");if((s||o)&&a&&b(e,["Block","ElementNode","Template"]))return"";a&&p?(c=Math.min(p,2),D=0):(A(e,["BlockStatement","ElementNode"])&&(D=Math.max(D,1)),S(e,["BlockStatement","ElementNode"])&&(c=Math.max(c,1)));let f="",m="";return 0===D&&A(e,["MustacheStatement"])&&(m=" "),0===c&&S(e,["MustacheStatement"])&&(f=" "),s&&(c=0,f=""),o&&(D=0,m=""),u=u.replace(/^[\t\n\f\r ]+/g,f).replace(/[\t\n\f\r ]+$/,m),[...J(c),n(V(u)),...J(D)]}case"MustacheCommentStatement":{let e=m(M),r=g(M),n="~"===t.originalText.charAt(e+2),u="~"===t.originalText.charAt(r-3),i=M.value.includes("}}")?"--":"";return["{{",n?"~":"","!",i,M.value,i,u?"~":"","}}"]}case"PathExpression":return M.original;case"BooleanLiteral":case"NumberLiteral":return String(M.value);case"CommentStatement":return[""];case"StringLiteral":if(function(e){let t=0,r=e.getParentNode(t);for(;r&&v(r,["SubExpression"]);)t++,r=e.getParentNode(t);return!!(r&&v(e.getParentNode(t+1),["ConcatStatement"])&&v(e.getParentNode(t+2),["AttrNode"]))}(e)){let e=t.singleQuote?'"':"'";return U(M.value,e)}return U(M.value,q);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw Error("unknown glimmer type: "+JSON.stringify(M.type))}},massageAstNode:y}}}),nv=E({"src/language-handlebars/parsers.js"(){x()}}),nx=E({"node_modules/linguist-languages/data/Handlebars.json"(e,t){t.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),nb=E({"src/language-handlebars/index.js"(e,t){x();var r=tV(),n=nA(),u=nv(),i=[r(nx(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))];t.exports={languages:i,printers:{glimmer:n},parsers:u}}}),nS=E({"src/language-graphql/pragma.js"(e,t){x(),t.exports={hasPragma:function(e){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(e)},insertPragma:function(e){return`# @format + +`+e}}}}),nT=E({"src/language-graphql/loc.js"(e,t){x(),t.exports={locStart:function(e){return"number"==typeof e.start?e.start:e.loc&&e.loc.start},locEnd:function(e){return"number"==typeof e.end?e.end:e.loc&&e.loc.end}}}}),nB=E({"src/language-graphql/printer-graphql.js"(e,t){x();var{builders:{join:r,hardline:n,line:u,softline:i,group:a,indent:s,ifBreak:o}}=q(),{isNextLineEmpty:l,isNonEmptyArray:p}=ed(),{insertPragma:c}=nS(),{locStart:d,locEnd:D}=nT();function f(e,t,n){if(0===n.directives.length)return"";let o=r(u,e.map(t,"directives"));return"FragmentDefinition"===n.kind||"OperationDefinition"===n.kind?a([u,o]):[" ",a(s([i,o]))]}function m(e,t,r,u){return e.map((e,u,i)=>{let a=r();return ur(e),"interfaces");for(let e=0;e{r.push(c()),u!==i.length-1&&(r.push(n),l(t.originalText,e.getValue(),D)&&r.push(n))},"definitions"),[...r,n]}case"OperationDefinition":{let n="{"!==t.originalText[d(y)],u=!!y.name;return[n?y.operation:"",n&&u?[" ",c("name")]:"",n&&!u&&p(y.variableDefinitions)?" ":"",p(y.variableDefinitions)?a(["(",s([i,r([o("",", "),i],e.map(c,"variableDefinitions"))]),i,")"]):"",f(e,c,y),y.selectionSet&&(n||u)?" ":"",c("selectionSet")]}case"FragmentDefinition":return["fragment ",c("name"),p(y.variableDefinitions)?a(["(",s([i,r([o("",", "),i],e.map(c,"variableDefinitions"))]),i,")"]):""," on ",c("typeCondition"),f(e,c,y)," ",c("selectionSet")];case"SelectionSet":return["{",s([n,r(n,m(e,t,c,"selections"))]),n,"}"];case"Field":return a([y.alias?[c("alias"),": "]:"",c("name"),y.arguments.length>0?a(["(",s([i,r([o("",", "),i],m(e,t,c,"arguments"))]),i,")"]):"",f(e,c,y),y.selectionSet?" ":"",c("selectionSet")]);case"Name":case"IntValue":case"FloatValue":case"EnumValue":return y.value;case"StringValue":if(y.block){let e=y.value.replace(/"""/g,"\\$&").split(` +`);return 1===e.length&&(e[0]=e[0].trim()),e.every(e=>""===e)&&(e.length=0),r(n,['"""',...e,'"""'])}return['"',y.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"'];case"BooleanValue":return y.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",c("name")];case"ListValue":return a(["[",s([i,r([o("",", "),i],e.map(c,"values"))]),i,"]"]);case"ObjectValue":return a(["{",t.bracketSpacing&&y.fields.length>0?" ":"",s([i,r([o("",", "),i],e.map(c,"fields"))]),i,o("",t.bracketSpacing&&y.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[c("name"),": ",c("value")];case"Directive":return["@",c("name"),y.arguments.length>0?a(["(",s([i,r([o("",", "),i],m(e,t,c,"arguments"))]),i,")"]):""];case"NamedType":return c("name");case"VariableDefinition":return[c("variable"),": ",c("type"),y.defaultValue?[" = ",c("defaultValue")]:"",f(e,c,y)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[c("description"),y.description?n:"","ObjectTypeExtension"===y.kind?"extend ":"","type ",c("name"),y.interfaces.length>0?[" implements ",...g(e,t,c)]:"",f(e,c,y),y.fields.length>0?[" {",s([n,r(n,m(e,t,c,"fields"))]),n,"}"]:""];case"FieldDefinition":return[c("description"),y.description?n:"",c("name"),y.arguments.length>0?a(["(",s([i,r([o("",", "),i],m(e,t,c,"arguments"))]),i,")"]):"",": ",c("type"),f(e,c,y)];case"DirectiveDefinition":return[c("description"),y.description?n:"","directive ","@",c("name"),y.arguments.length>0?a(["(",s([i,r([o("",", "),i],m(e,t,c,"arguments"))]),i,")"]):"",y.repeatable?" repeatable":""," on ",r(" | ",e.map(c,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[c("description"),y.description?n:"","EnumTypeExtension"===y.kind?"extend ":"","enum ",c("name"),f(e,c,y),y.values.length>0?[" {",s([n,r(n,m(e,t,c,"values"))]),n,"}"]:""];case"EnumValueDefinition":return[c("description"),y.description?n:"",c("name"),f(e,c,y)];case"InputValueDefinition":return[c("description"),y.description?y.description.block?n:u:"",c("name"),": ",c("type"),y.defaultValue?[" = ",c("defaultValue")]:"",f(e,c,y)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[c("description"),y.description?n:"","InputObjectTypeExtension"===y.kind?"extend ":"","input ",c("name"),f(e,c,y),y.fields.length>0?[" {",s([n,r(n,m(e,t,c,"fields"))]),n,"}"]:""];case"SchemaExtension":return["extend schema",f(e,c,y),...y.operationTypes.length>0?[" {",s([n,r(n,m(e,t,c,"operationTypes"))]),n,"}"]:[]];case"SchemaDefinition":return[c("description"),y.description?n:"","schema",f(e,c,y)," {",y.operationTypes.length>0?s([n,r(n,m(e,t,c,"operationTypes"))]):"",n,"}"];case"OperationTypeDefinition":return[c("operation"),": ",c("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[c("description"),y.description?n:"","InterfaceTypeExtension"===y.kind?"extend ":"","interface ",c("name"),y.interfaces.length>0?[" implements ",...g(e,t,c)]:"",f(e,c,y),y.fields.length>0?[" {",s([n,r(n,m(e,t,c,"fields"))]),n,"}"]:""];case"FragmentSpread":return["...",c("name"),f(e,c,y)];case"InlineFragment":return["...",y.typeCondition?[" on ",c("typeCondition")]:"",f(e,c,y)," ",c("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return a([c("description"),y.description?n:"",a(["UnionTypeExtension"===y.kind?"extend ":"","union ",c("name"),f(e,c,y),y.types.length>0?[" =",o(""," "),s([o([u," "]),r([u,"| "],e.map(c,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[c("description"),y.description?n:"","ScalarTypeExtension"===y.kind?"extend ":"","scalar ",c("name"),f(e,c,y)];case"NonNullType":return[c("type"),"!"];case"ListType":return["[",c("type"),"]"];default:throw Error("unknown graphql type: "+JSON.stringify(y.kind))}},massageAstNode:y,hasPrettierIgnore:function(e){var t;let r=e.getValue();return null==r||null===(t=r.comments)||void 0===t?void 0:t.some(e=>"prettier-ignore"===e.value.trim())},insertPragma:c,printComment:function(e){let t=e.getValue();if("Comment"===t.kind)return"#"+t.value.trimEnd();throw Error("Not a comment: "+JSON.stringify(t))},canAttachComment:function(e){return e.kind&&"Comment"!==e.kind}}}}),nN=E({"src/language-graphql/options.js"(e,t){x();var r=rY();t.exports={bracketSpacing:r.bracketSpacing}}}),nw=E({"src/language-graphql/parsers.js"(){x()}}),nk=E({"node_modules/linguist-languages/data/GraphQL.json"(e,t){t.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),nj=E({"src/language-graphql/index.js"(e,t){x();var r=tV(),n=nB(),u=nN(),i=nw(),a=[r(nk(),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))];t.exports={languages:a,options:u,printers:{graphql:n},parsers:i}}}),nP=E({"node_modules/collapse-white-space/index.js"(e,t){x(),t.exports=function(e){return String(e).replace(/\s+/g," ")}}}),nI=E({"src/language-markdown/loc.js"(e,t){x(),t.exports={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}}}}),nO=E({"src/language-markdown/constants.evaluate.js"(e,t){t.exports={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u2ff0-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\ud840-\ud868\ud86a-\ud86c\ud86f-\ud872\ud874-\ud879][\udc00-\udfff]|\ud82c[\udc00-\udd1e\udd50-\udd52\udd64-\udd67]|\ud83c[\ude00\ude50-\ude51]|\ud869[\udc00-\uded6\udf00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d\udc20-\udfff]|\ud873[\udc00-\udea1\udeb0-\udfff]|\ud87a[\udc00-\udfe0]|\ud87e[\udc00-\ude1d])(?:[\\ufe00-\\ufe0f]|\udb40[\udd00-\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\ud800[\udd00-\udd02\udf9f\udfd0]|\ud801[\udd6f]|\ud802[\udc57\udd1f\udd3f\ude50-\ude58\ude7f\udef0-\udef6\udf39-\udf3f\udf99-\udf9c]|\ud803[\udf55-\udf59]|\ud804[\udc47-\udc4d\udcbb-\udcbc\udcbe-\udcc1\udd40-\udd43\udd74-\udd75\uddc5-\uddc8\uddcd\udddb\udddd-\udddf\ude38-\ude3d\udea9]|\ud805[\udc4b-\udc4f\udc5b\udc5d\udcc6\uddc1-\uddd7\ude41-\ude43\ude60-\ude6c\udf3c-\udf3e]|\ud806[\udc3b\udde2\ude3f-\ude46\ude9a-\ude9c\ude9e-\udea2]|\ud807[\udc41-\udc45\udc70-\udc71\udef7-\udef8\udfff]|\ud809[\udc70-\udc74]|\ud81a[\ude6e-\ude6f\udef5\udf37-\udf3b\udf44]|\ud81b[\ude97-\ude9a\udfe2]|\ud82f[\udc9f]|\ud836[\ude87-\ude8b]|\ud83a[\udd5e-\udd5f]"}}}),nL=E({"src/language-markdown/utils.js"(e,t){x();var{getLast:r}=ed(),{locStart:n,locEnd:u}=nI(),{cjkPattern:i,kPattern:a,punctuationPattern:s}=nO(),o=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],l=[...o,"tableCell","paragraph","heading"],p=new RegExp(a),c=new RegExp(s);function d(e,t){let[,r,n,u]=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:r,marker:n,leadingSpaces:u}}t.exports={mapAst:function(e,t){return function e(r,n,u){let i=Object.assign({},t(r,n,u));return i.children&&(i.children=i.children.map((t,r)=>e(t,r,[i,...u]))),i}(e,null,[])},splitText:function(e,t){let n="non-cjk",u="cj-letter",a="cjk-punctuation",s=[],o=("preserve"===t.proseWrap?e:e.replace(RegExp(`(${i}) +(${i})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[e,t]of o.entries()){if(e%2==1){s.push({type:"whitespace",value:/\n/.test(t)?` +`:" "});continue}if((0===e||e===o.length-1)&&""===t)continue;let d=t.split(RegExp(`(${i})`));for(let[e,t]of d.entries())if(!((0===e||e===d.length-1)&&""===t)){if(e%2==0){""!==t&&l({type:"word",value:t,kind:n,hasLeadingPunctuation:c.test(t[0]),hasTrailingPunctuation:c.test(r(t))});continue}l(c.test(t)?{type:"word",value:t,kind:a,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:t,kind:p.test(t)?"k-letter":u,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return s;function l(e){let t=r(s);!t||"word"!==t.type||((t.kind!==n||e.kind!==u||t.hasTrailingPunctuation)&&(t.kind!==u||e.kind!==n||e.hasLeadingPunctuation)?t.kind===n&&e.kind===a||t.kind===a&&e.kind===n||[t.value,e.value].some(e=>/\u3000/.test(e))||s.push({type:"whitespace",value:""}):s.push({type:"whitespace",value:" "})),s.push(e)}},punctuationPattern:s,getFencedCodeBlockValue:function(e,t){let{value:r}=e;return e.position.end.offset===t.length&&r.endsWith(` +`)&&t.endsWith(` +`)?r.slice(0,-1):r},getOrderedListItemInfo:d,hasGitDiffFriendlyOrderedList:function(e,t){if(!e.ordered||e.children.length<2)return!1;let r=Number(d(e.children[0],t.originalText).numberText),n=Number(d(e.children[1],t.originalText).numberText);if(0===r&&e.children.length>2){let r=Number(d(e.children[2],t.originalText).numberText);return 1===n&&1===r}return 1===n},INLINE_NODE_TYPES:o,INLINE_NODE_WRAPPER_TYPES:l,isAutolink:function(e){if((null==e?void 0:e.type)!=="link"||1!==e.children.length)return!1;let[t]=e.children;return n(e)===n(t)&&u(e)===u(t)}}}}),n_=E({"src/language-markdown/embed.js"(e,t){x();var{inferParserByLanguage:r,getMaxContinuousCount:n}=ed(),{builders:{hardline:u,markAsRoot:i},utils:{replaceEndOfLine:a}}=q(),s=r4(),{getFencedCodeBlockValue:o}=nL();t.exports=function(e,t,l,p){let c=e.getValue();if("code"===c.type&&null!==c.lang){let e=r(c.lang,p);if(e){let t=p.__inJsTemplate?"~":"`",r=t.repeat(Math.max(3,n(c.value,t)+1)),s={parser:e};"tsx"===c.lang&&(s.filepath="dummy.tsx");let d=l(o(c,p.originalText),s,{stripTrailingHardline:!0});return i([r,c.lang,c.meta?" "+c.meta:"",u,a(d),u,r])}}switch(c.type){case"front-matter":return s(c,l);case"importExport":return[l(c.value,{parser:"babel"},{stripTrailingHardline:!0}),u];case"jsx":return l(`<$>${c.value}`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}}}),nM=E({"src/language-markdown/pragma.js"(e,t){x();var r=nt(),n=["format","prettier"];function u(e){let t=`@(${n.join("|")})`,r=RegExp(`|{\\s*\\/\\*\\s*${t}\\s*\\*\\/\\s*}|`,"m"),u=e.match(r);return(null==u?void 0:u.index)===0}t.exports={startWithPragma:u,hasPragma:e=>u(r(e).content.trimStart()),insertPragma:e=>{let t=r(e),u=``;return t.frontMatter?`${t.frontMatter.raw} + +${u} + +${t.content}`:`${u} + +${t.content}`}}}}),n$=E({"src/language-markdown/print-preprocess.js"(e,t){x();var r=w(),{getOrderedListItemInfo:n,mapAst:u,splitText:i}=nL(),a=/^.$/su;function s(e,t,n){return u(e,e=>{if(!e.children)return e;let u=e.children.reduce((e,u)=>{let i=r(e);return i&&t(i,u)?e.splice(-1,1,n(i,u)):e.push(u),e},[]);return Object.assign(Object.assign({},e),{},{children:u})})}t.exports=function(e,t){var r,o,l,p;return l=e=function(e,t){return u(e,(e,u,i)=>{if("list"===e.type&&e.children.length>0){for(let t=0;t1)return!0;let a=r(u);return -1!==a&&(1===e.children.length?a%t.tabWidth==0:a===r(i)&&(a%t.tabWidth==0||n(i,t.originalText).leadingSpaces.length>1))}(e)}return e});function r(e){return 0===e.children.length?-1:e.children[0].position.start.column-1}}((r=e=s(e=u(e,e=>"text"===e.type&&"*"!==e.value&&"_"!==e.value&&a.test(e.value)&&e.position.end.offset-e.position.start.offset!==e.value.length?Object.assign(Object.assign({},e),{},{value:t.originalText.slice(e.position.start.offset,e.position.end.offset)}):e),(e,t)=>"text"===e.type&&"text"===t.type,(e,t)=>({type:"text",value:e.value+t.value,position:{start:e.position.start,end:t.position.end}})),o=e=u(r,e=>"inlineCode"!==e.type||"preserve"===t.proseWrap?e:Object.assign(Object.assign({},e),{},{value:e.value.replace(/\s+/g," ")})),e=u(o,(e,r,n)=>{if("code"===e.type){let r=/^\n?(?: {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=r,r)for(let e=0;e{let[u]=n;if("text"!==e.type)return e;let{value:a}=e;return"paragraph"===u.type&&(0===r&&(a=a.trimStart()),r===u.children.length-1&&(a=a.trimEnd())),{type:"sentence",position:e.position,children:i(a,t)}}),e=s(e=u(p,e=>"import"!==e.type&&"export"!==e.type?e:Object.assign(Object.assign({},e),{},{type:"importExport"})),(e,t)=>"importExport"===e.type&&"importExport"===t.type,(e,t)=>({type:"importExport",value:e.value+` + +`+t.value,position:{start:e.position.start,end:t.position.end}}))}}}),nR=E({"src/language-markdown/clean.js"(e,t){x();var r=nP(),{isFrontMatterNode:n}=ed(),{startWithPragma:u}=nM(),i=new Set(["position","raw"]);function a(e,t,i){if(("front-matter"===e.type||"code"===e.type||"yaml"===e.type||"import"===e.type||"export"===e.type||"jsx"===e.type)&&delete t.value,"list"===e.type&&delete t.isAligned,("list"===e.type||"listItem"===e.type)&&(delete t.spread,delete t.loose),"text"===e.type||("inlineCode"===e.type&&(t.value=e.value.replace(/[\t\n ]+/g," ")),"wikiLink"===e.type&&(t.value=e.value.trim().replace(/[\t\n]+/g," ")),("definition"===e.type||"linkReference"===e.type||"imageReference"===e.type)&&(t.label=r(e.label)),("definition"===e.type||"link"===e.type||"image"===e.type)&&e.title&&(t.title=e.title.replace(/\\(["')])/g,"$1")),i&&"root"===i.type&&i.children.length>0&&(i.children[0]===e||n(i.children[0])&&i.children[1]===e)&&"html"===e.type&&u(e.value)))return null}a.ignoredProperties=i,t.exports=a}}),nV=E({"src/language-markdown/printer-markdown.js"(e,t){x();var r=nP(),{getLast:n,getMinNotPresentContinuousCount:u,getMaxContinuousCount:i,getStringWidth:a,isNonEmptyArray:s}=ed(),{builders:{breakParent:o,join:l,line:p,literalline:c,markAsRoot:d,hardline:D,softline:f,ifBreak:m,fill:g,align:y,indent:h,group:E,hardlineWithoutBreakParent:C},utils:{normalizeDoc:F,replaceTextEndOfLine:A},printer:{printDocToString:v}}=q(),b=n_(),{insertPragma:S}=nM(),{locStart:T,locEnd:B}=nI(),N=n$(),w=nR(),{getFencedCodeBlockValue:k,hasGitDiffFriendlyOrderedList:j,splitText:P,punctuationPattern:I,INLINE_NODE_TYPES:O,INLINE_NODE_WRAPPER_TYPES:L,isAutolink:_}=nL(),M=new Set(["importExport"]),$=["heading","tableCell","link","wikiLink"],R=new Set(["listItem","definition","footnoteDefinition"]);function V(e,t,r,n){let u=e.getValue(),i=null===u.checked?"":u.checked?"[x] ":"[ ] ";return[i,G(e,t,r,{processor:(e,u)=>{var a;if(0===u&&"list"!==e.getValue().type)return y(" ".repeat(i.length),r());let s=" ".repeat((a=t.tabWidth-n.length)<0?0:a>3?3:a);return[s,y(s,r())]}})]}function W(e,t){return function(e,t,r){let n=-1;for(let u of t.children)if(u.type===e.type&&r(u)?n++:n=-1,u===e)return n}(e,t,t=>t.ordered===e.ordered)}function J(e,t){let r=Array.isArray(t)?t:[t],n=-1,u;for(;u=e.getParentNode(++n);)if(r.includes(u.type))return n;return -1}function U(e,t){let r=J(e,t);return -1===r?null:e.getParentNode(r)}function H(e,t,r){if("preserve"===r.proseWrap&&t===` +`)return D;let n="always"===r.proseWrap&&!U(e,$);return""!==t?n?p:" ":n?f:""}function G(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},{postprocessor:u}=n,i=n.processor||(()=>r()),a=e.getValue(),s=[],o;return e.each((e,r)=>{let n=e.getValue(),u=i(e,r);if(!1!==u){var l,p,c;let e,r,i,d,f,m,g,y,h,E={parts:s,prevNode:o,parentNode:a,options:t};e=0===E.parts.length,r=O.includes(n.type),i="html"===n.type&&L.includes(E.parentNode.type),e||r||i||(s.push(D),o&&M.has(o.type)||(d=(E.prevNode&&E.prevNode.type)===n.type&&R.has(n.type),f="listItem"===E.parentNode.type&&!E.parentNode.loose,m=(null===(l=E.prevNode)||void 0===l?void 0:l.type)==="listItem"&&E.prevNode.loose,g="next"===z(E.prevNode),y="html"===n.type&&(null===(p=E.prevNode)||void 0===p?void 0:p.type)==="html"&&E.prevNode.position.end.line+1===n.position.start.line,h="html"===n.type&&"listItem"===E.parentNode.type&&(null===(c=E.prevNode)||void 0===c?void 0:c.type)==="paragraph"&&E.prevNode.position.end.line+1===n.position.start.line,(m||!(d||f||g||y||h)||K(n,E))&&s.push(D)),K(n,E)&&s.push(D)),s.push(u),o=n}},"children"),u?u(s):s}function X(e){return"html"===e.type?e.value:"paragraph"===e.type&&Array.isArray(e.children)&&1===e.children.length&&"esComment"===e.children[0].type?["{/* ",e.children[0].value," */}"]:void 0}function z(e){let t;if("html"===e.type)t=e.value.match(/^$/);else{let r;"esComment"===e.type?r=e:"paragraph"===e.type&&1===e.children.length&&"esComment"===e.children[0].type&&(r=e.children[0]),r&&(t=r.value.match(/^prettier-ignore(?:-(start|end))?$/))}return!!t&&(t[1]||"next")}function K(e,t){let r=t.prevNode&&"list"===t.prevNode.type,n="code"===e.type&&e.isIndented;return r&&n}function Q(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return new RegExp([" ",...Array.isArray(t)?t:[t]].map(e=>`\\${e}`).join("|")).test(e)?`<${e}>`:e}function Y(e,t){let r=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!e)return"";if(r)return" "+Y(e,t,!1);if((e=e.replace(/\\(["')])/g,"$1")).includes('"')&&e.includes("'")&&!e.includes(")"))return`(${e})`;let n=e.split("'").length-1,u=e.split('"').length-1,i=n>u?'"':u>n||t.singleQuote?"'":'"';return e=(e=e.replace(/\\/,"\\\\")).replace(RegExp(`(${i})`,"g"),"\\$1"),`${i}${e}${i}`}function Z(e){return`[${r(e.label)}]`}function ee(e){return`[^${e.label}]`}t.exports={preprocess:N,print:function(e,t,r){let x,b=e.getValue();if((x=U(e,["linkReference","imageReference"]))&&("linkReference"!==x.type||"full"!==x.referenceType))return P(t.originalText.slice(b.position.start.offset,b.position.end.offset),t).map(r=>"word"===r.type?r.value:""===r.value?"":H(e,r.value,t));switch(b.type){case"front-matter":return t.originalText.slice(b.position.start.offset,b.position.end.offset);case"root":return 0===b.children.length?"":[F(function(e,t,r){let n=[],u=null,{children:i}=e.getValue();for(let[e,t]of i.entries())switch(z(t)){case"start":null===u&&(u={index:e,offset:t.position.end.offset});break;case"end":null!==u&&(n.push({start:u,end:{index:e,offset:t.position.start.offset}}),u=null)}return G(e,t,r,{processor:(e,u)=>{if(n.length>0){let e=n[0];if(u===e.start.index)return[X(i[e.start.index]),t.originalText.slice(e.start.offset,e.end.offset),X(i[e.end.index])];if(e.start.index(r?`${t}${r}`:`${n}${u}`).replace(/_/g,"\\_")),r=(e,t,r)=>"sentence"===e.type&&0===r,n=(e,t,r)=>_(e.children[r-1]);return t!==b.value&&(e.match(void 0,r,n)||e.match(void 0,r,(e,t,r)=>"emphasis"===e.type&&0===r,n))&&(t=t.replace(/^(\\?[*_])+/,e=>e.replace(/\\/g,""))),t}case"whitespace":{let r=e.getParentNode(),n=r.children.indexOf(b),u=r.children[n+1],i=u&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(u.value)?"never":t.proseWrap;return H(e,b.value,{proseWrap:i})}case"emphasis":{let u;if(_(b.children[0]))u=t.originalText[b.position.start.offset];else{let t=e.getParentNode(),r=t.children.indexOf(b),i=t.children[r-1],a=t.children[r+1];u=i&&"sentence"===i.type&&i.children.length>0&&"word"===n(i.children).type&&!n(i.children).hasTrailingPunctuation||a&&"sentence"===a.type&&a.children.length>0&&"word"===a.children[0].type&&!a.children[0].hasLeadingPunctuation||U(e,"emphasis")?"*":"_"}return[u,G(e,t,r),u]}case"strong":return["**",G(e,t,r),"**"];case"delete":return["~~",G(e,t,r),"~~"];case"inlineCode":{let e=u(b.value,"`"),t="`".repeat(e||1),r=e&&!/^\s/.test(b.value)?" ":"";return[t,r,b.value,r,t]}case"wikiLink":return["[[","preserve"===t.proseWrap?b.value:b.value.replace(/[\t\n]+/g," "),"]]"];case"link":switch(t.originalText[b.position.start.offset]){case"<":{let e="mailto:";return["<",b.url.startsWith(e)&&t.originalText.slice(b.position.start.offset+1,b.position.start.offset+1+e.length)!==e?b.url.slice(e.length):b.url,">"]}case"[":return["[",G(e,t,r),"](",Q(b.url,")"),Y(b.title,t),")"];default:return t.originalText.slice(b.position.start.offset,b.position.end.offset)}case"image":return["![",b.alt||"","](",Q(b.url,")"),Y(b.title,t),")"];case"blockquote":return["> ",y("> ",G(e,t,r))];case"heading":return["#".repeat(b.depth)+" ",G(e,t,r)];case"code":{if(b.isIndented){let e=" ".repeat(4);return y(e,[e,...A(b.value,D)])}let e=t.__inJsTemplate?"~":"`",r=e.repeat(Math.max(3,i(b.value,e)+1));return[r,b.lang||"",b.meta?" "+b.meta:"",D,...A(k(b,t.originalText),D),D,r]}case"html":{let t=e.getParentNode(),r="root"===t.type&&n(t.children)===b?b.value.trimEnd():b.value,u=/^$/s.test(r);return A(r,u?D:d(c))}case"list":{let n=W(b,e.getParentNode()),u=j(b,t);return G(e,t,r,{processor:(e,i)=>{let a,s,o;let l=(a=b.ordered?(0===i?b.start:u?1:b.start+i)+(n%2==0?". ":") "):n%2==0?"- ":"* ",b.isAligned||b.hasIndentedCodeblock?(o=0==(s=a.length%t.tabWidth)?0:t.tabWidth-s,a+" ".repeat(o>=4?0:o)):a),p=e.getValue();return 2===p.children.length&&"html"===p.children[1].type&&p.children[0].position.start.column!==p.children[1].position.start.column?[l,V(e,t,r,l)]:[l,y(" ".repeat(l.length),V(e,t,r,l))]}})}case"thematicBreak":{let t=J(e,"list");return -1===t?"---":W(e.getParentNode(t),e.getParentNode(t+1))%2==0?"***":"---"}case"linkReference":return["[",G(e,t,r),"]","full"===b.referenceType?Z(b):"collapsed"===b.referenceType?"[]":""];case"imageReference":if("full"===b.referenceType)return["![",b.alt||"","]",Z(b)];return["![",b.alt,"]","collapsed"===b.referenceType?"[]":""];case"definition":{let e="always"===t.proseWrap?p:" ";return E([Z(b),":",h([e,Q(b.url),null===b.title?"":[e,Y(b.title,t,!1)]])])}case"footnote":return["[^",G(e,t,r),"]"];case"footnoteReference":return ee(b);case"footnoteDefinition":{let n=e.getParentNode().children[e.getName()+1],u=1===b.children.length&&"paragraph"===b.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&b.children[0].position.start.line===b.children[0].position.end.line);return[ee(b),": ",u?G(e,t,r):E([y(" ".repeat(4),G(e,t,r,{processor:(e,t)=>0===t?E([f,r()]):r()})),n&&"footnoteDefinition"===n.type?f:""])]}case"table":return function(e,t,r){let n=e.getValue(),u=[],i=e.map(e=>e.map((e,n)=>{let i=v(r(),t).formatted,s=a(i);return u[n]=Math.max(u[n]||3,s),{text:i,width:s}},"children"),"children"),s=p(!1);if("never"!==t.proseWrap)return[o,s];return[o,E(m(p(!0),s))];function p(e){let t=[c(i[0],e),`| ${u.map((t,r)=>{let u=n.align[r],i=e?"-":"-".repeat(t-2);return`${"center"===u||"left"===u?":":"-"}${i}${"center"===u||"right"===u?":":"-"}`}).join(" | ")} |`];return i.length>1&&t.push(l(C,i.slice(1).map(t=>c(t,e)))),l(C,t)}function c(e,t){return`| ${e.map((e,r)=>{let{text:i,width:a}=e;if(t)return i;let s=u[r]-a,o=n.align[r],l=0;"right"===o?l=s:"center"===o&&(l=Math.floor(s/2));let p=s-l;return`${" ".repeat(l)}${i}${" ".repeat(p)}`}).join(" | ")} |`}}(e,t,r);case"tableCell":return G(e,t,r);case"break":return/\s/.test(t.originalText[b.position.start.offset])?[" ",d(c)]:["\\",D];case"liquidNode":return A(b.value,D);case"importExport":return[b.value,D];case"esComment":return["{/* ",b.value," */}"];case"jsx":return b.value;case"math":return["$$",D,b.value?[...A(b.value,D),D]:"","$$"];case"inlineMath":return t.originalText.slice(T(b),B(b));default:throw Error(`Unknown markdown type ${JSON.stringify(b.type)}`)}},embed:b,massageAstNode:w,hasPrettierIgnore:function(e){let t=Number(e.getName());return 0!==t&&"next"===z(e.getParentNode().children[t-1])},insertPragma:S}}}),nW=E({"src/language-markdown/options.js"(e,t){x();var r=rY();t.exports={proseWrap:r.proseWrap,singleQuote:r.singleQuote}}}),nq=E({"src/language-markdown/parsers.js"(){x()}}),nJ=E({"node_modules/linguist-languages/data/Markdown.json"(e,t){t.exports={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222}}}),nU=E({"src/language-markdown/index.js"(e,t){x();var r=tV(),n=nV(),u=nW(),i=nq(),a=[r(nJ(),e=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...e.filenames,"README"],extensions:e.extensions.filter(e=>".mdx"!==e)})),r(nJ(),()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))];t.exports={languages:a,options:u,printers:{mdast:n},parsers:i}}}),nH=E({"src/language-html/clean.js"(e,t){x();var{isFrontMatterNode:r}=ed(),n=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function u(e,t){if("text"===e.type||"comment"===e.type||r(e)||"yaml"===e.type||"toml"===e.type)return null;"attribute"===e.type&&delete t.value,"docType"===e.type&&delete t.value}u.ignoredProperties=n,t.exports=u}}),nG=E({"src/language-html/constants.evaluate.js"(e,t){t.exports={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"}}}),nX=E({"src/language-html/utils/is-unknown-namespace.js"(e,t){x(),t.exports=function(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}}}),nz=E({"src/language-html/utils/index.js"(e,t){x();var{inferParserByLanguage:r,isFrontMatterNode:n}=ed(),{builders:{line:u,hardline:i,join:a},utils:{getDocParts:s,replaceTextEndOfLine:o}}=q(),{CSS_DISPLAY_TAGS:l,CSS_DISPLAY_DEFAULT:p,CSS_WHITE_SPACE_TAGS:c,CSS_WHITE_SPACE_DEFAULT:d}=nG(),D=nX(),f=new Set([" ",` +`,"\f","\r"," "]),m=e=>e.replace(/^[\t\n\f\r ]+/,""),g=e=>e.replace(/[\t\n\f\r ]+$/,""),y=e=>e.replace(/^[\t\f\r ]*\n/g,""),h=e=>y(g(e)),E=e=>e.split(/[\t\n\f\r ]+/),C=e=>e.match(/^[\t\n\f\r ]*/)[0];function F(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||D(e)&&("script"===e.name||"style"===e.name))}function A(e){return j(e).startsWith("pre")}function v(e){return"element"===e.type&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function b(e){return B(e)||"element"===e.type&&"br"===e.fullName||S(e)&&T(e)}function S(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function B(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function N(e){let{type:t,lang:r}=e.attrMap;return"module"===t||"text/javascript"===t||"text/babel"===t||"application/javascript"===t||"jsx"===r?"babel":"application/x-typescript"===t||"ts"===r||"tsx"===r?"typescript":"text/markdown"===t?"markdown":"text/html"===t?"html":t&&(t.endsWith("json")||t.endsWith("importmap"))||"speculationrules"===t?"json":"text/x-handlebars-template"===t?"glimmer":void 0}function w(e){return"block"===e||"list-item"===e||e.startsWith("table")}function k(e){return j(e).startsWith("pre")}function j(e){return"element"===e.type&&(!e.namespace||D(e))&&c[e.name]||d}function P(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split(` +`)){if(0===r.length)continue;if(!f.has(r[0]))return 0;let e=C(r).length;r.length!==e&&ee.slice(t)).join(` +`)}var I=new Set(["template","style","script"]);function O(e,t){return L(e,t)&&!I.has(e.fullName)}function L(e,t){return"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&"html"!==e.fullName.toLowerCase()}function _(e,t){return L(e,t)&&(O(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}t.exports={htmlTrim:e=>m(g(e)),htmlTrimPreserveIndentation:h,hasHtmlWhitespace:e=>/[\t\n\f\r ]/.test(e),getLeadingAndTrailingHtmlWhitespace:e=>{let[,t,r,n]=e.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:t,trailingWhitespace:n,text:r}},canHaveInterpolation:function(e){return e.children&&!F(e)},countChars:function(e,t){let r=0;for(let n=0;n=0;n--){let u=e.stack[n];u&&"object"==typeof u&&!Array.isArray(u)&&t(u)&&r++}return r},dedentString:P,forceBreakChildren:v,forceBreakContent:function(e){return v(e)||"element"===e.type&&e.children.length>0&&(["body","script","style"].includes(e.name)||e.children.some(e=>e.children&&e.children.some(e=>"text"!==e.type)))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&S(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||T(e.lastChild))},forceNextEmptyLine:function(e){return n(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1"svg:foreignObject"===e.fullName))return"svg"===e.name?"inline-block":"block";r=!0}switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return"vue"===t.parser&&e.parent&&"root"===e.parent.type?"block":"element"===e.type&&(!e.namespace||r||D(e))&&l[e.name]||p}},getNodeCssStyleWhiteSpace:j,hasPrettierIgnore:function(e){var t;return"attribute"!==e.type&&!!e.parent&&!!e.prev&&"comment"===(t=e.prev).type&&"prettier-ignore"===t.value.trim()},inferScriptParser:function(e,t){return"script"!==e.name||e.attrMap.src?"style"===e.name?function(e,t){let{lang:n}=e.attrMap;return n&&"postcss"!==n&&"css"!==n?"scss"===n?"scss":"less"===n?"less":"stylus"===n?r("stylus",t):void 0:"css"}(e,t):t&&_(e,t)?N(e)||!("src"in e.attrMap)&&r(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?N(e):"babel"},isVueCustomBlock:O,isVueNonHtmlBlock:_,isVueScriptTag:function(e,t){return L(e,t)&&"script"===e.name},isVueSlotAttribute:function(e){let t=e.fullName;return"#"===t.charAt(0)||"slot-scope"===t||"v-slot"===t||t.startsWith("v-slot:")},isVueSfcBindingsAttribute:function(e,t){let r=e.parent;if(!L(r,t))return!1;let n=r.fullName,u=e.fullName;return"script"===n&&"setup"===u||"style"===n&&"vars"===u},isVueSfcBlock:L,isDanglingSpaceSensitiveNode:function(e){var t;return!w(t=e.cssDisplay)&&"inline-block"!==t&&!F(e)},isIndentationSensitiveNode:A,isLeadingSpaceSensitiveNode:function(e,t){var r;let u=!n(e)&&(("text"===e.type||"interpolation"===e.type)&&!!e.prev&&("text"===e.prev.type||"interpolation"===e.prev.type)||!!e.parent&&"none"!==e.parent.cssDisplay&&(!!k(e.parent)||!(!e.prev&&("root"===e.parent.type||k(e)&&e.parent||F(e.parent)||O(e.parent,t)||!(!w(r=e.parent.cssDisplay)&&"inline-block"!==r))||e.prev&&w(e.prev.cssDisplay))));return u&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:u},isPreLikeNode:k,isScriptLikeTag:F,isTextLikeNode:function(e){return"text"===e.type||"comment"===e.type},isTrailingSpaceSensitiveNode:function(e,t){var r;return!n(e)&&(("text"===e.type||"interpolation"===e.type)&&!!e.next&&("text"===e.next.type||"interpolation"===e.next.type)||!!e.parent&&"none"!==e.parent.cssDisplay&&(!!k(e.parent)||!(!e.next&&("root"===e.parent.type||k(e)&&e.parent||F(e.parent)||O(e.parent,t)||!(!w(r=e.parent.cssDisplay)&&"inline-block"!==r))||e.next&&w(e.next.cssDisplay))))},isWhitespaceSensitiveNode:function(e){return F(e)||"interpolation"===e.type||A(e)},isUnknownNamespace:D,preferHardlineAsLeadingSpaces:function(e){return B(e)||e.prev&&b(e.prev)||S(e)&&T(e)},preferHardlineAsTrailingSpaces:b,shouldPreserveContent:function(e,t){return!!("ieConditionalComment"===e.type&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||"ieConditionalComment"===e.type&&!e.complete||k(e)&&e.children.some(e=>"text"!==e.type&&"interpolation"!==e.type)||_(e,t)&&!F(e)&&"interpolation"!==e.type)},unescapeQuoteEntities:function(e){return e.replace(/'/g,"'").replace(/"/g,'"')},getTextValueParts:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.value;return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?o(t):o(P(h(t)),i):s(a(u,E(t)))}}}}),nK=E({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(e){function t(t){return e.$0<=t&&t<=e.$9}x(),Object.defineProperty(e,"__esModule",{value:!0}),e.$EOF=0,e.$BSPACE=8,e.$TAB=9,e.$LF=10,e.$VTAB=11,e.$FF=12,e.$CR=13,e.$SPACE=32,e.$BANG=33,e.$DQ=34,e.$HASH=35,e.$$=36,e.$PERCENT=37,e.$AMPERSAND=38,e.$SQ=39,e.$LPAREN=40,e.$RPAREN=41,e.$STAR=42,e.$PLUS=43,e.$COMMA=44,e.$MINUS=45,e.$PERIOD=46,e.$SLASH=47,e.$COLON=58,e.$SEMICOLON=59,e.$LT=60,e.$EQ=61,e.$GT=62,e.$QUESTION=63,e.$0=48,e.$7=55,e.$9=57,e.$A=65,e.$E=69,e.$F=70,e.$X=88,e.$Z=90,e.$LBRACKET=91,e.$BACKSLASH=92,e.$RBRACKET=93,e.$CARET=94,e.$_=95,e.$a=97,e.$b=98,e.$e=101,e.$f=102,e.$n=110,e.$r=114,e.$t=116,e.$u=117,e.$v=118,e.$x=120,e.$z=122,e.$LBRACE=123,e.$BAR=124,e.$RBRACE=125,e.$NBSP=160,e.$PIPE=124,e.$TILDA=126,e.$AT=64,e.$BT=96,e.isWhitespace=function(t){return t>=e.$TAB&&t<=e.$SPACE||t==e.$NBSP},e.isDigit=t,e.isAsciiLetter=function(t){return t>=e.$a&&t<=e.$z||t>=e.$A&&t<=e.$Z},e.isAsciiHexDigit=function(r){return r>=e.$a&&r<=e.$f||r>=e.$A&&r<=e.$F||t(r)},e.isNewLine=function(t){return t===e.$LF||t===e.$CR},e.isOctalDigit=function(t){return e.$0<=t&&t<=e.$7}}}),nQ=E({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=class{constructor(e,t,r){this.filePath=e,this.name=t,this.members=r}assertNoMembers(){if(this.members.length)throw Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};e.StaticSymbol=t;var r=class{constructor(){this.cache=new Map}get(e,r,n){let u=(n=n||[]).length?`.${n.join(".")}`:"",i=`"${e}".${r}${u}`,a=this.cache.get(i);return a||(a=new t(e,r,n),this.cache.set(i,a)),a}};e.StaticSymbolCache=r}}),nY=E({"node_modules/angular-html-parser/lib/compiler/src/util.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=/-+([a-z0-9])/g;function r(e,t,r){let n=e.indexOf(t);return -1==n?r:[e.slice(0,n).trim(),e.slice(n+1).trim()]}function n(e,t,r){return Array.isArray(e)?t.visitArray(e,r):"object"==typeof e&&null!==e&&Object.getPrototypeOf(e)===s?t.visitStringMap(e,r):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,r):t.visitOther(e,r)}e.dashCaseToCamelCase=function(e){return e.replace(t,function(){for(var e=arguments.length,t=Array(e),r=0;rn(e,this,t))}visitStringMap(e,t){let r={};return Object.keys(e).forEach(u=>{r[u]=n(e[u],this,t)}),r}visitPrimitive(e,t){return e}visitOther(e,t){return e}};e.ValueTransformer=u,e.SyncAsync={assertSync:e=>{if(o(e))throw Error("Illegal state: value cannot be a promise");return e},then:(e,t)=>o(e)?e.then(t):t(e),all:e=>e.some(o)?Promise.all(e):e},e.error=function(e){throw Error(`Internal Error: ${e}`)},e.syntaxError=function(e,t){let r=Error(e);return r[i]=!0,t&&(r[a]=t),r};var i="ngSyntaxError",a="ngParseErrors";e.isSyntaxError=function(e){return e[i]},e.getParseErrors=function(e){return e[a]||[]},e.escapeRegExp=function(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")};var s=Object.getPrototypeOf({});function o(e){return!!e&&"function"==typeof e.then}e.utf8Encode=function(e){let t="";for(let r=0;r=55296&&n<=56319&&e.length>r+1){let t=e.charCodeAt(r+1);t>=56320&&t<=57343&&(r++,n=(n-55296<<10)+t-56320+65536)}n<=127?t+=String.fromCharCode(n):n<=2047?t+=String.fromCharCode(n>>6&31|192,63&n|128):n<=65535?t+=String.fromCharCode(n>>12|224,n>>6&63|128,63&n|128):n<=2097151&&(t+=String.fromCharCode(n>>18&7|240,n>>12&63|128,n>>6&63|128,63&n|128))}return t},e.stringify=function e(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(e).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;if(!t.toString)return"object";let r=t.toString();if(null==r)return""+r;let n=r.indexOf(` +`);return -1===n?r:r.substring(0,n)},e.resolveForwardRef=function(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e},e.isPromise=o,e.Version=class{constructor(e){this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}};var l="u">typeof window&&window,p="u">typeof self&&"u">typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,c="u">typeof globalThis&&globalThis;e.global=c||l||p}}),nZ=E({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t,r,n=nQ(),u=nY(),i=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function a(e){return e.replace(/\W/g,"_")}e.sanitizeIdentifier=a;var s=0;function o(e){if(!e||!e.reference)return null;let t=e.reference;if(t instanceof n.StaticSymbol)return t.name;if(t.__anonymousType)return t.__anonymousType;let r=u.stringify(t);return r.indexOf("(")>=0?(r=`anonymous_${s++}`,t.__anonymousType=r):r=a(r),r}e.identifierName=o,e.identifierModuleUrl=function(e){let t=e.reference;return t instanceof n.StaticSymbol?t.filePath:`./${u.stringify(t)}`},e.viewClassName=function(e,t){return`View_${o({reference:e})}_${t}`},e.rendererTypeName=function(e){return`RenderType_${o({reference:e})}`},e.hostViewClassName=function(e){return`HostView_${o({reference:e})}`},e.componentFactoryName=function(e){return`${o({reference:e})}NgFactory`},(t=r=e.CompileSummaryKind||(e.CompileSummaryKind={}))[t.Pipe=0]="Pipe",t[t.Directive=1]="Directive",t[t.NgModule=2]="NgModule",t[t.Injectable=3]="Injectable",e.tokenName=function(e){return null!=e.value?a(e.value):o(e.identifier)},e.tokenReference=function(e){return null!=e.identifier?e.identifier.reference:e.value},e.CompileStylesheetMetadata=class{constructor(){let{moduleUrl:e,styles:t,styleUrls:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.moduleUrl=e||null,this.styles=p(t),this.styleUrls=p(r)}},e.CompileTemplateMetadata=class{constructor(e){let{encapsulation:t,template:r,templateUrl:n,htmlAst:u,styles:i,styleUrls:a,externalStylesheets:s,animations:o,ngContentSelectors:l,interpolation:d,isInline:D,preserveWhitespaces:f}=e;if(this.encapsulation=t,this.template=r,this.templateUrl=n,this.htmlAst=u,this.styles=p(i),this.styleUrls=p(a),this.externalStylesheets=p(s),this.animations=o?c(o):[],this.ngContentSelectors=l||[],d&&2!=d.length)throw Error("'interpolation' should have a start and an end symbol.");this.interpolation=d,this.isInline=D,this.preserveWhitespaces=f}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};var l=class{static create(e){let{isHost:t,type:r,isComponent:n,selector:a,exportAs:s,changeDetection:o,inputs:p,outputs:c,host:d,providers:D,viewProviders:f,queries:m,guards:g,viewQueries:y,entryComponents:h,template:E,componentViewType:C,rendererType:F,componentFactory:A}=e,v={},x={},b={};null!=d&&Object.keys(d).forEach(e=>{let t=d[e],r=e.match(i);null===r?b[e]=t:null!=r[1]?x[r[1]]=t:null!=r[2]&&(v[r[2]]=t)});let S={};null!=p&&p.forEach(e=>{let t=u.splitAtColon(e,[e,e]);S[t[0]]=t[1]});let T={};return null!=c&&c.forEach(e=>{let t=u.splitAtColon(e,[e,e]);T[t[0]]=t[1]}),new l({isHost:t,type:r,isComponent:!!n,selector:a,exportAs:s,changeDetection:o,inputs:S,outputs:T,hostListeners:v,hostProperties:x,hostAttributes:b,providers:D,viewProviders:f,queries:m,guards:g,viewQueries:y,entryComponents:h,template:E,componentViewType:C,rendererType:F,componentFactory:A})}constructor(e){let{isHost:t,type:r,isComponent:n,selector:u,exportAs:i,changeDetection:a,inputs:s,outputs:o,hostListeners:l,hostProperties:c,hostAttributes:d,providers:D,viewProviders:f,queries:m,guards:g,viewQueries:y,entryComponents:h,template:E,componentViewType:C,rendererType:F,componentFactory:A}=e;this.isHost=!!t,this.type=r,this.isComponent=n,this.selector=u,this.exportAs=i,this.changeDetection=a,this.inputs=s,this.outputs=o,this.hostListeners=l,this.hostProperties=c,this.hostAttributes=d,this.providers=p(D),this.viewProviders=p(f),this.queries=p(m),this.guards=g,this.viewQueries=p(y),this.entryComponents=p(h),this.template=E,this.componentViewType=C,this.rendererType=F,this.componentFactory=A}toSummary(){return{summaryKind:r.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};function p(e){return e||[]}function c(e){return e.reduce((e,t)=>{let r=Array.isArray(t)?c(t):t;return e.concat(r)},[])}function d(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}e.CompileDirectiveMetadata=l,e.CompilePipeMetadata=class{constructor(e){let{type:t,name:r,pure:n}=e;this.type=t,this.name=r,this.pure=!!n}toSummary(){return{summaryKind:r.Pipe,type:this.type,name:this.name,pure:this.pure}}},e.CompileShallowModuleMetadata=class{},e.CompileNgModuleMetadata=class{constructor(e){let{type:t,providers:r,declaredDirectives:n,exportedDirectives:u,declaredPipes:i,exportedPipes:a,entryComponents:s,bootstrapComponents:o,importedModules:l,exportedModules:c,schemas:d,transitiveModule:D,id:f}=e;this.type=t||null,this.declaredDirectives=p(n),this.exportedDirectives=p(u),this.declaredPipes=p(i),this.exportedPipes=p(a),this.providers=p(r),this.entryComponents=p(s),this.bootstrapComponents=p(o),this.importedModules=p(l),this.exportedModules=p(c),this.schemas=p(d),this.id=f||null,this.transitiveModule=D||null}toSummary(){let e=this.transitiveModule;return{summaryKind:r.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}},e.TransitiveCompileNgModuleMetadata=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(e,t){this.providers.push({provider:e,module:t})}addDirective(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}addExportedDirective(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}addPipe(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}addExportedPipe(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}addModule(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}addEntryComponent(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}},e.ProviderMeta=class{constructor(e,t){let{useClass:r,useValue:n,useExisting:u,useFactory:i,deps:a,multi:s}=t;this.token=e,this.useClass=r||null,this.useValue=n,this.useExisting=u,this.useFactory=i||null,this.dependencies=a||null,this.multi=!!s}},e.flatten=c,e.templateSourceUrl=function(e,t,r){let u;return u=r.isInline?t.type.reference instanceof n.StaticSymbol?`${t.type.reference.filePath}.${t.type.reference.name}.html`:`${o(e)}/${o(t.type)}.html`:r.templateUrl,t.type.reference instanceof n.StaticSymbol?u:d(u)},e.sharedStylesheetJitUrl=function(e,t){let r=e.moduleUrl.split(/\/\\/g),n=r[r.length-1];return d(`css/${t}${n}.ngstyle.js`)},e.ngModuleJitUrl=function(e){return d(`${o(e.type)}/module.ngfactory.js`)},e.templateJitUrl=function(e,t){return d(`${o(e)}/${o(t.type)}.ngfactory.js`)}}}),n0=E({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t,r,n=nK(),u=nZ(),i=class{constructor(e,t,r,n){this.file=e,this.offset=t,this.line=r,this.col=n}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let t=this.file.content,r=t.length,u=this.offset,a=this.line,s=this.col;for(;u>0&&e<0;)if(u--,e++,t.charCodeAt(u)==n.$LF){a--;let e=t.substr(0,u-1).lastIndexOf(String.fromCharCode(n.$LF));s=e>0?u-e:u}else s--;for(;u0;){let r=t.charCodeAt(u);u++,e--,r==n.$LF?(a++,s=0):s++}return new i(this.file,u,a,s)}getContext(e,t){let r=this.file.content,n=this.offset;if(null!=n){n>r.length-1&&(n=r.length-1);let u=n,i=0,a=0;for(;i0&&(n--,i++,!(r[n]==` +`&&++a==t)););for(i=0,a=0;i2&&void 0!==arguments[2]?arguments[2]:null;this.start=e,this.end=t,this.details=r}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};e.ParseSourceSpan=s,e.EMPTY_PARSE_LOCATION=new i(new a("",""),0,0,0),e.EMPTY_SOURCE_SPAN=new s(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION),(t=r=e.ParseErrorLevel||(e.ParseErrorLevel={}))[t.WARNING=0]="WARNING",t[t.ERROR=1]="ERROR";var o=class{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.ERROR;this.span=e,this.msg=t,this.level=n}contextualMessage(){let e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${r[this.level]} ->]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}};e.ParseError=o,e.typeSourceSpan=function(e,t){let r=u.identifierModuleUrl(t),n=new a("",null!=r?`in ${e} ${u.identifierName(t)} in ${r}`:`in ${e} ${u.identifierName(t)}`);return new s(new i(n,-1,-1,-1),new i(n,-1,-1,-1))},e.r3JitTypeSourceSpan=function(e,t,r){let n=new a("",`in ${e} ${t} in ${r}`);return new s(new i(n,-1,-1,-1),new i(n,-1,-1,-1))}}}),n1=E({"src/language-html/print-preprocess.js"(e,t){x();var{ParseSourceSpan:r}=n0(),{htmlTrim:n,getLeadingAndTrailingHtmlWhitespace:u,hasHtmlWhitespace:i,canHaveInterpolation:a,getNodeCssStyleDisplay:s,isDanglingSpaceSensitiveNode:o,isIndentationSensitiveNode:l,isLeadingSpaceSensitiveNode:p,isTrailingSpaceSensitiveNode:c,isWhitespaceSensitiveNode:d,isVueScriptTag:D}=nz(),f=[function(e){e.walk(e=>{if("element"===e.type&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&"text"===e.children[0].type&&e.children[0].value[0]===` +`){let t=e.children[0];1===t.value.length?e.removeChild(t):t.value=t.value.slice(1)}})},function(e){let t=e=>"element"===e.type&&e.prev&&"ieConditionalStartComment"===e.prev.type&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&e.firstChild&&"ieConditionalEndComment"===e.firstChild.type&&e.firstChild.sourceSpan.start.offset===e.startSourceSpan.end.offset;e.walk(e=>{if(e.children)for(let n=0;n{if(e.children)for(let u=0;u"cdata"===e.type,e=>``)},function(e,t){if("html"===t.parser)return;let n=/{{(.+?)}}/s;e.walk(e=>{if(a(e))for(let t of e.children){if("text"!==t.type)continue;let u=t.sourceSpan.start,i=null,a=t.value.split(n);for(let n=0;n0&&e.insertChildBefore(t,{type:"text",value:s,sourceSpan:new r(u,i)});continue}i=u.moveBy(s.length+4),e.insertChildBefore(t,{type:"interpolation",sourceSpan:new r(u,i),children:0===s.length?[]:[{type:"text",value:s,sourceSpan:new r(u.moveBy(2),i.moveBy(-2))}]})}e.removeChild(t)}})},function(e){e.walk(e=>{if(!e.children)return;if(0===e.children.length||1===e.children.length&&"text"===e.children[0].type&&0===n(e.children[0].value).length){e.hasDanglingSpaces=e.children.length>0,e.children=[];return}let t=d(e),i=l(e);if(!t)for(let t=0;t{e.cssDisplay=s(e,t)})},function(e){e.walk(e=>{e.isSelfClosing=!e.children||"element"===e.type&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)})},function(e,t){e.walk(e=>{"element"===e.type&&(e.hasHtmComponentClosingTag=e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset)))})},function(e,t){e.walk(e=>{let{children:r}=e;if(r){if(0===r.length){e.isDanglingSpaceSensitive=o(e);return}for(let e of r)e.isLeadingSpaceSensitive=p(e,t),e.isTrailingSpaceSensitive=c(e,t);for(let e=0;e"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!i(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev&&"text"===e.prev.type&&e.next&&"text"===e.next.type;e.walk(e=>{if(e.children)for(let n=0;n`+u.firstChild.value+``+a.value,i.sourceSpan=new r(i.sourceSpan.start,a.sourceSpan.end),i.isTrailingSpaceSensitive=a.isTrailingSpaceSensitive,i.hasTrailingSpaces=a.hasTrailingSpaces,e.removeChild(u),n--,e.removeChild(a)}})},function(e,t){if("vue"===t.parser){let r=e.children.find(e=>D(e,t));if(!r)return;let{lang:n}=r.attrMap;("ts"===n||"typescript"===n)&&(t.__should_parse_vue_template_with_ts=!0)}}];t.exports=function(e,t){for(let r of f)r(e,t);return e}}}),n2=E({"src/language-html/pragma.js"(e,t){x(),t.exports={hasPragma:function(e){return/^\s*/.test(e)},insertPragma:function(e){return` + +`+e.replace(/^\s*\n/,"")}}}}),n3=E({"src/language-html/loc.js"(e,t){x(),t.exports={locStart:function(e){return e.sourceSpan.start.offset},locEnd:function(e){return e.sourceSpan.end.offset}}}}),n8=E({"src/language-html/print/tag.js"(e,t){x();var r=tP(),{isNonEmptyArray:n}=ed(),{builders:{indent:u,join:i,line:a,softline:s,hardline:o},utils:{replaceTextEndOfLine:l}}=q(),{locStart:p,locEnd:c}=n3(),{isTextLikeNode:d,getLastDescendant:D,isPreLikeNode:f,hasPrettierIgnore:m,shouldPreserveContent:g,isVueSfcBlock:y}=nz();function h(e,t){return e.lastChild&&T(e.lastChild)?"":[S(e)?A(e.lastChild,t):"",F(e,t)]}function E(e,t){return(e.next?b(e.next):S(e.parent))?"":[A(e,t),C(e,t)]}function C(e,t){return T(e)?F(e.parent,t):B(e)?j(e.next):""}function F(e,t){if(r(!e.isSelfClosing),v(e,t))return"";switch(e.type){case"ieConditionalComment":return"";case"ieConditionalStartComment":return"]>";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function v(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(m(e)||g(e.parent,t))}function b(e){return e.prev&&"docType"!==e.prev.type&&!d(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function S(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!d(D(e.lastChild))&&!f(e)}function T(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&d(D(e))}function B(e){return e.next&&!d(e.next)&&d(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function N(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function w(e,t){return e.prev&&B(e.prev)?"":[k(e,t),j(e)]}function k(e,t){return N(e)?P(e.parent):b(e)?A(e.prev,t):""}function j(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<${e.rawName}`;default:return`<${e.rawName}`}}function P(e){switch(r(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">";default:return">"}}t.exports={printClosingTag:function(e,t){return[e.isSelfClosing?"":h(e,t),E(e,t)]},printClosingTagStart:h,printClosingTagStartMarker:F,printClosingTagEndMarker:A,printClosingTagSuffix:C,printClosingTagEnd:E,needsToBorrowLastChildClosingTagEndMarker:S,needsToBorrowParentClosingTagStartMarker:T,needsToBorrowPrevClosingTagEndMarker:b,printOpeningTag:function(e,t,r){let d=e.getValue();return[w(d,t),function(e,t,r){let d,D=e.getValue();if(!n(D.attrs))return D.isSelfClosing?" ":"";let f=D.prev&&"comment"===D.prev.type&&!!(d=D.prev.value.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s))&&(!d[1]||d[1].split(/\s+/)),m="boolean"==typeof f?()=>f:Array.isArray(f)?e=>f.includes(e.rawName):()=>!1,g=e.map(e=>{let n=e.getValue();return m(n)?l(t.originalText.slice(p(n),c(n))):r()},"attrs"),h="element"===D.type&&"script"===D.fullName&&1===D.attrs.length&&"src"===D.attrs[0].fullName&&0===D.children.length,E=t.singleAttributePerLine&&D.attrs.length>1&&!y(D,t)?o:a,C=[u([h?" ":a,i(E,g)])];return D.firstChild&&N(D.firstChild)||D.isSelfClosing&&S(D.parent)||h?C.push(D.isSelfClosing?" ":""):C.push(t.bracketSameLine?D.isSelfClosing?" ":"":D.isSelfClosing?a:s),C}(e,t,r),d.isSelfClosing?"":d.firstChild&&N(d.firstChild)?"":P(d)]},printOpeningTagStart:w,printOpeningTagPrefix:k,printOpeningTagStartMarker:j,printOpeningTagEndMarker:P,needsToBorrowNextOpeningTagStartMarker:B,needsToBorrowParentOpeningTagEndMarker:N}}}),n6=E({"node_modules/parse-srcset/src/parse-srcset.js"(r,a){x(),u=[],void 0!==(i="function"==typeof(n=function(){return function(e,t){var r=t&&t.logger||console;function n(e){return" "===e||" "===e||e===` +`||"\f"===e||"\r"===e}function u(t){var r,n=t.exec(e.substring(y));if(n)return r=n[0],y+=r.length,r}for(var i,a,s,o,l,p=e.length,c=/^[ \t\n\r\u000c]+/,d=/^[, \t\n\r\u000c]+/,D=/^[^ \t\n\r\u000c]+/,f=/[,]+$/,m=/^\d+$/,g=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,y=0,h=[];;){if(u(d),y>=p)return h;i=u(D),a=[],","===i.slice(-1)?(i=i.replace(f,""),E()):function(){for(u(c),s="",o="in descriptor";;){if(l=e.charAt(y),"in descriptor"===o){if(n(l))s&&(a.push(s),s="",o="after descriptor");else if(","===l){y+=1,s&&a.push(s),E();return}else if("("===l)s+=l,o="in parens";else if(""===l){s&&a.push(s),E();return}else s+=l}else if("in parens"===o){if(")"===l)s+=l,o="in descriptor";else if(""===l){a.push(s),E();return}else s+=l}else if("after descriptor"===o&&!n(l)){if(""===l){E();return}o="in descriptor",y-=1}y+=1}}()}function E(){var t,n,u,s,o,l,p,c,d,D=!1,f={};for(s=0;s{let{w:t}=e;return t}),s=t.some(e=>{let{h:t}=e;return t});if(a+s+t.some(e=>{let{d:t}=e;return t})>1)throw Error("Mixed descriptor in srcset is not supported");let o=a?"w":s?"h":"d",l=a?"w":s?"h":"x",p=e=>Math.max(...e),c=t.map(e=>e.url),d=p(c.map(e=>e.length)),D=t.map(e=>e[o]).map(e=>e?e.toString():""),f=D.map(e=>{let t=e.indexOf(".");return -1===t?e.length:t}),m=p(f);return u([",",i],c.map((e,t)=>{let r=[e],u=D[t];if(u){let i=d-e.length+1,a=m-f[t],s=" ".repeat(i+a);r.push(n(s," "),u+l)}return r}))},printClassNames:function(e){return e.trim().split(/\s+/).join(" ")}}}}),n9=E({"src/language-html/syntax-vue.js"(e,t){x();var{builders:{group:r}}=q();t.exports={isVueEventBindingExpression:function(e){let t=e.trim();return/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/.test(t)||/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/.test(t)},printVueFor:function(e,t){let{left:n,operator:u,right:i}=function(e){let t=/,([^,\]}]*)(?:,([^,\]}]*))?$/,r=e.match(/(.*?)\s+(in|of)\s+(.*)/s);if(!r)return;let n={};if(n.for=r[3].trim(),!n.for)return;let u=r[1].trim().replace(/^\(|\)$/g,""),i=u.match(t);i?(n.alias=u.replace(t,""),n.iterator1=i[1].trim(),i[2]&&(n.iterator2=i[2].trim())):n.alias=u;let a=[n.alias,n.iterator1,n.iterator2];if(!a.some((e,t)=>!e&&(0===t||a.slice(t+1).some(Boolean))))return{left:a.filter(Boolean).join(","),operator:r[2],right:n.for}}(e);return[r(t(`function _(${n}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",u," ",t(i,{parser:"__js_expression"},{stripTrailingHardline:!0})]},printVueBindings:function(e,t){return t(`function _(${e}) {}`,{parser:"babel",__isVueBindings:!0})}}}}),n5=E({"src/language-html/get-node-content.js"(e,t){x();var{needsToBorrowParentClosingTagStartMarker:r,printClosingTagStartMarker:n,needsToBorrowLastChildClosingTagEndMarker:u,printClosingTagEndMarker:i,needsToBorrowParentOpeningTagEndMarker:a,printOpeningTagEndMarker:s}=n8();t.exports=function(e,t){let o=e.startSourceSpan.end.offset;e.firstChild&&a(e.firstChild)&&(o-=s(e).length);let l=e.endSourceSpan.start.offset;return e.lastChild&&r(e.lastChild)?l+=n(e,t).length:u(e)&&(l-=i(e.lastChild,t).length),t.originalText.slice(o,l)}}}),n4=E({"src/language-html/embed.js"(e,t){x();var{builders:{breakParent:r,group:n,hardline:u,indent:i,line:a,fill:s,softline:o},utils:{mapDoc:l,replaceTextEndOfLine:p}}=q(),c=r4(),{printClosingTag:d,printClosingTagSuffix:D,needsToBorrowPrevClosingTagEndMarker:f,printOpeningTagPrefix:m,printOpeningTag:g}=n8(),{printImgSrcset:y,printClassNames:h}=n7(),{printVueFor:E,printVueBindings:C,isVueEventBindingExpression:F}=n9(),{isScriptLikeTag:A,isVueNonHtmlBlock:v,inferScriptParser:b,htmlTrimPreserveIndentation:S,dedentString:T,unescapeQuoteEntities:B,isVueSlotAttribute:N,isVueSfcBindingsAttribute:w,getTextValueParts:k}=nz(),j=n5();t.exports=function(e,t,x,P){let I=e.getValue();switch(I.type){case"element":if(A(I)||"interpolation"===I.type)return;if(!I.isSelfClosing&&v(I,P)){let r=b(I,P);if(!r)return;let i=j(I,P),a=/^\s*$/.test(i),s="";return a||(a=""===(s=x(S(i),{parser:r,__embeddedInHtml:!0},{stripTrailingHardline:!0}))),[m(I,P),n(g(e,P,t)),a?"":u,s,a?"":u,d(I,P),D(I,P)]}break;case"text":if(A(I.parent)){let e=b(I.parent,P);if(e){let t="markdown"===e?T(I.value.replace(/^[^\S\n]*\n/,"")):I.value,n={parser:e,__embeddedInHtml:!0};if("html"===P.parser&&"babel"===e){let e="script",{attrMap:t}=I.parent;t&&("module"===t.type||"text/babel"===t.type&&"module"===t["data-type"])&&(e="module"),n.__babelSourceType=e}return[r,m(I,P),x(t,n,{stripTrailingHardline:!0}),D(I,P)]}}else if("interpolation"===I.parent.type){let e={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===P.parser?(e.parser="__ng_interpolation",e.trailingComma="none"):"vue"===P.parser?e.parser=P.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":e.parser="__js_expression",[i([a,x(I.value,e,{stripTrailingHardline:!0})]),I.parent.next&&f(I.parent.next)?" ":a]}break;case"attribute":{if(!I.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(P.originalText.slice(I.valueSpan.start.offset,I.valueSpan.end.offset))||"lwc"===P.parser&&/^{.*}$/s.test(P.originalText.slice(I.valueSpan.start.offset,I.valueSpan.end.offset)))return[I.rawName,"=",I.value];let e=function(e,t,r){let u=t=>new RegExp(t.join("|")).test(e.fullName),l=()=>B(e.value),c=!1,d=(e,t)=>{let r="NGRoot"===e.type?"NGMicrosyntax"===e.node.type&&1===e.node.body.length&&"NGMicrosyntaxExpression"===e.node.body[0].type?e.node.body[0].expression:e.node:"JsExpressionRoot"===e.type?e.node:e;r&&("ObjectExpression"===r.type||"ArrayExpression"===r.type||"__vue_expression"===t.parser&&("TemplateLiteral"===r.type||"StringLiteral"===r.type))&&(c=!0)},D=e=>n(e),f=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return n([i([o,e]),t?o:""])},m=e=>c?D(e):f(e),g=(e,r)=>t(e,Object.assign({__onHtmlBindingRoot:d,__embeddedInHtml:!0},r));if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return f(y(l()));if("class"===e.fullName&&!r.parentParser){let e=l();if(!e.includes("{{"))return h(e)}if("style"===e.fullName&&!r.parentParser){let e=l();if(!e.includes("{{"))return f(g(e,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===r.parser){if("v-for"===e.fullName)return E(l(),g);if(N(e)||w(e,r))return C(l(),g);if(u(["^@","^v-on:"])){let e=l(),t=F(e)?"__js_expression":r.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return m(g(e,{parser:t}))}if(u(["^:","^v-bind:"]))return m(g(l(),{parser:"__vue_expression"}));if(u(["^v-"]))return m(g(l(),{parser:"__js_expression"}))}if("angular"===r.parser){let t=(e,t)=>g(e,Object.assign(Object.assign({},t),{},{trailingComma:"none"}));if(u(["^\\(.+\\)$","^on-"]))return m(t(l(),{parser:"__ng_action"}));if(u(["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"]))return m(t(l(),{parser:"__ng_binding"}));if(u(["^i18n(-.+)?$"])){let t=l().trim();return f(s(k(e,t)),!t.includes("@@"))}if(u(["^\\*"]))return m(t(l(),{parser:"__ng_directive"}));let r=/{{(.+?)}}/s,o=l();if(r.test(o)){let e=[];for(let[u,s]of o.split(r).entries())if(u%2==0)e.push(p(s));else try{e.push(n(["{{",i([a,t(s,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),a,"}}"]))}catch{e.push("{{",p(s),"}}")}return n(e)}}return null}(I,(e,t)=>x(e,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},t),{stripTrailingHardline:!0}),P);if(e)return[I.rawName,'="',n(l(e,e=>"string"==typeof e?e.replace(/"/g,"""):e)),'"'];break}case"front-matter":return c(I,x)}}}}),ue=E({"src/language-html/print/children.js"(e,t){x();var{builders:{breakParent:r,group:n,ifBreak:u,line:i,softline:a,hardline:s},utils:{replaceTextEndOfLine:o}}=q(),{locStart:l,locEnd:p}=n3(),{forceBreakChildren:c,forceNextEmptyLine:d,isTextLikeNode:D,hasPrettierIgnore:f,preferHardlineAsLeadingSpaces:m}=nz(),{printOpeningTagPrefix:g,needsToBorrowNextOpeningTagStartMarker:y,printOpeningTagStartMarker:h,needsToBorrowPrevClosingTagEndMarker:E,printClosingTagEndMarker:C,printClosingTagSuffix:F,needsToBorrowParentClosingTagStartMarker:A}=n8();function v(e,t,r){let n=e.getValue();return f(n)?[g(n,t),...o(t.originalText.slice(l(n)+(n.prev&&y(n.prev)?h(n).length:0),p(n)-(n.next&&E(n.next)?C(n,t).length:0))),F(n,t)]:r()}function b(e,t){return D(e)&&D(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?m(t)?s:i:"":m(t)?s:a:y(e)&&(f(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&t.attrs.length>0)||"element"===e.type&&e.isSelfClosing&&E(t)?"":!t.isLeadingSpaceSensitive||m(t)||E(t)&&e.lastChild&&A(e.lastChild)&&e.lastChild.lastChild&&A(e.lastChild.lastChild)?s:t.hasLeadingSpaces?i:a}t.exports={printChildren:function(e,t,i){let o=e.getValue();if(c(o))return[r,...e.map(e=>{let r=e.getValue(),n=r.prev?b(r.prev,r):"";return[n?[n,d(r.prev)?s:""]:"",v(e,t,i)]},"children")];let l=o.children.map(()=>Symbol(""));return e.map((e,r)=>{let o=e.getValue();if(D(o)){if(o.prev&&D(o.prev)){let r=b(o.prev,o);if(r)return d(o.prev)?[s,s,v(e,t,i)]:[r,v(e,t,i)]}return v(e,t,i)}let p=[],c=[],f=[],m=[],g=o.prev?b(o.prev,o):"",y=o.next?b(o,o.next):"";return g&&(d(o.prev)?p.push(s,s):g===s?p.push(s):D(o.prev)?c.push(g):c.push(u("",a,{groupId:l[r-1]}))),y&&(d(o)?D(o.next)&&m.push(s,s):y===s?D(o.next)&&m.push(s):f.push(y)),[...p,n([...c,n([v(e,t,i),...f],{id:l[r]})]),...m]},"children")}}}}),ut=E({"src/language-html/print/element.js"(e,t){x();var{builders:{breakParent:r,dedentToRoot:n,group:u,ifBreak:i,indentIfBreak:a,indent:s,line:o,softline:l},utils:{replaceTextEndOfLine:p}}=q(),c=n5(),{shouldPreserveContent:d,isScriptLikeTag:D,isVueCustomBlock:f,countParents:m,forceBreakContent:g}=nz(),{printOpeningTagPrefix:y,printOpeningTag:h,printClosingTagSuffix:E,printClosingTag:C,needsToBorrowPrevClosingTagEndMarker:F,needsToBorrowLastChildClosingTagEndMarker:A}=n8(),{printChildren:v}=ue();t.exports={printElement:function(e,t,x){let b,S,T=e.getValue();if(d(T,t))return[y(T,t),u(h(e,t,x)),...p(c(T,t)),...C(T,t),E(T,t)];let B=1===T.children.length&&"interpolation"===T.firstChild.type&&T.firstChild.isLeadingSpaceSensitive&&!T.firstChild.hasLeadingSpaces&&T.lastChild.isTrailingSpaceSensitive&&!T.lastChild.hasTrailingSpaces,N=Symbol("element-attr-group-id");return b=0===T.children.length?T.hasDanglingSpaces&&T.isDanglingSpaceSensitive?o:"":[g(T)?r:"",(S=[B?i(l,"",{groupId:N}):T.firstChild.hasLeadingSpaces&&T.firstChild.isLeadingSpaceSensitive?o:"text"===T.firstChild.type&&T.isWhitespaceSensitive&&T.isIndentationSensitive?n(l):l,v(e,t,x)],B?a(S,{groupId:N}):(D(T)||f(T,t))&&"root"===T.parent.type&&"vue"===t.parser&&!t.vueIndentScriptAndStyle?S:s(S)),(T.next?F(T.next):A(T.parent))?T.lastChild.hasTrailingSpaces&&T.lastChild.isTrailingSpaceSensitive?" ":"":B?i(l,"",{groupId:N}):T.lastChild.hasTrailingSpaces&&T.lastChild.isTrailingSpaceSensitive?o:("comment"===T.lastChild.type||"text"===T.lastChild.type&&T.isWhitespaceSensitive&&T.isIndentationSensitive)&&RegExp(`\\n[\\t ]{${t.tabWidth*m(e,e=>e.parent&&"root"!==e.parent.type)}}$`).test(T.lastChild.value)?"":l],u([u(h(e,t,x),{id:N}),b,C(T,t)])}}}}),ur=E({"src/language-html/printer-html.js"(e,t){x();var{builders:{fill:r,group:n,hardline:u,literalline:i},utils:{cleanDoc:a,getDocParts:s,isConcat:o,replaceTextEndOfLine:l}}=q(),p=nH(),{countChars:c,unescapeQuoteEntities:d,getTextValueParts:D}=nz(),f=n1(),{insertPragma:m}=n2(),{locStart:g,locEnd:y}=n3(),h=n4(),{printClosingTagSuffix:E,printClosingTagEnd:C,printOpeningTagPrefix:F,printOpeningTagStart:A}=n8(),{printElement:v}=ut(),{printChildren:b}=ue();t.exports={preprocess:f,print:function(e,t,p){let f=e.getValue();switch(f.type){case"front-matter":return l(f.raw);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(f),[n(b(e,t,p)),u];case"element":case"ieConditionalComment":return v(e,t,p);case"ieConditionalStartComment":case"ieConditionalEndComment":return[A(f),C(f)];case"interpolation":return[A(f,t),...e.map(p,"children"),C(f,t)];case"text":{if("interpolation"===f.parent.type){let e=/\n[^\S\n]*$/,t=e.test(f.value);return[...l(t?f.value.replace(e,""):f.value),t?u:""]}let e=a([F(f,t),...D(f),E(f,t)]);return o(e)||"fill"===e.type?r(s(e)):e}case"docType":return[n([A(f,t)," ",f.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),C(f,t)];case"comment":return[F(f,t),...l(t.originalText.slice(g(f),y(f)),i),E(f,t)];case"attribute":{if(null===f.value)return f.rawName;let e=d(f.value),t=c(e,"'")({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),r(ui(),e=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...e.extensions,".mjml"]})),r(ui(),()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),r(ua(),()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))];t.exports={languages:a,printers:{html:n},options:u,parsers:i}}}),uo=E({"src/language-yaml/pragma.js"(e,t){x(),t.exports={isPragma:function(e){return/^\s*@(?:prettier|format)\s*$/.test(e)},hasPragma:function(e){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(e)},insertPragma:function(e){return`# @format + +${e}`}}}}),ul=E({"src/language-yaml/loc.js"(e,t){x(),t.exports={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}}}}),up=E({"src/language-yaml/embed.js"(e,t){x(),t.exports=function(e,t,r,n){if("root"===e.getValue().type&&n.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(n.filepath))return r(n.originalText,Object.assign(Object.assign({},n),{},{parser:"json"}))}}}),uc=E({"src/language-yaml/utils.js"(e,t){x();var{getLast:r,isNonEmptyArray:n}=ed();function u(e,t){return e&&"string"==typeof e.type&&(!t||t.includes(e.type))}function i(e){return"prettier-ignore"===e.value.trim()}function a(e){return n(null==e?void 0:e.leadingComments)}function s(e){return n(null==e?void 0:e.middleComments)}function o(e){return null==e?void 0:e.indicatorComment}function l(e){return null==e?void 0:e.trailingComment}function p(e){return n(null==e?void 0:e.endComments)}function c(e){let t=[],r;for(let n of e.split(/( +)/))" "!==n?" "===r?t.push(n):t.push((t.pop()||"")+n):void 0===r&&t.unshift(""),r=n;return" "===r&&t.push((t.pop()||"")+" "),""===t[0]&&(t.shift(),t.unshift(" "+(t.shift()||""))),t}t.exports={getLast:r,getAncestorCount:function(e,t){let r=0,n=e.stack.length-1;for(let i=0;ie(n,r,t))}):t,n)},defineShortcut:function(e,t,r){Object.defineProperty(e,t,{get:r,enumerable:!1})},isNextLineEmpty:function(e,t){let r=0,n=t.length;for(let u=e.position.end.offset-1;u *)[^\n\r ]/m);s=e?e.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else s=e.indent-1+n;let o=a.split(` +`).map(e=>e.slice(s));if("preserve"===i.proseWrap||"blockLiteral"===e.type)return l(o.map(e=>0===e.length?[]:[e]));return l(o.map(e=>0===e.length?[]:c(e)).reduce((e,t,n)=>0!==n&&o[n-1].length>0&&t.length>0&&!/^\s/.test(t[0])&&!/^\s|\s$/.test(r(e))?[...e.slice(0,-1),[...r(e),...t]]:[...e,t],[]).map(e=>e.reduce((e,t)=>e.length>0&&/\s$/.test(r(e))?[...e.slice(0,-1),r(e)+" "+t]:[...e,t],[])).map(e=>"never"===i.proseWrap?[e.join(" ")]:e));function l(t){if("keep"===e.chomping)return 0===r(t).length?t.slice(0,-1):t;let n=0;for(let e=t.length-1;e>=0&&0===t[e].length;e--)n++;return 0===n?t:n>=2&&!u?t.slice(0,-(n-1)):t.slice(0,-n)}},getFlowScalarLineContents:function(e,t,n){let u=t.split(` +`).map((e,t,r)=>0===t&&t===r.length-1?e:0!==t&&t!==r.length-1?e.trim():0===t?e.trimEnd():e.trimStart());return"preserve"===n.proseWrap?u.map(e=>0===e.length?[]:[e]):u.map(e=>0===e.length?[]:c(e)).reduce((t,n,i)=>0!==i&&u[i-1].length>0&&n.length>0&&!("quoteDouble"===e&&r(r(t)).endsWith("\\"))?[...t.slice(0,-1),[...r(t),...n]]:[...t,n],[]).map(e=>"never"===n.proseWrap?[e.join(" ")]:e)},getLastDescendantNode:function e(t){return n(t.children)?e(r(t.children)):t},hasPrettierIgnore:function(e){let t=e.getValue();if("documentBody"===t.type){let t=e.getParentNode();return p(t.head)&&i(r(t.head.endComments))}return a(t)&&i(r(t.leadingComments))},hasLeadingComments:a,hasMiddleComments:s,hasIndicatorComment:o,hasTrailingComment:l,hasEndComments:p}}}),ud=E({"src/language-yaml/print-preprocess.js"(e,t){x();var{defineShortcut:r,mapNode:n}=uc();function u(e){switch(e.type){case"document":r(e,"head",()=>e.children[0]),r(e,"body",()=>e.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":r(e,"content",()=>e.children[0]);break;case"mappingItem":case"flowMappingItem":r(e,"key",()=>e.children[0]),r(e,"value",()=>e.children[1])}return e}t.exports=function(e){return n(e,u)}}}),uD=E({"src/language-yaml/print/misc.js"(e,t){x();var{builders:{softline:r,align:n}}=q(),{hasEndComments:u,isNextLineEmpty:i,isNode:a}=uc(),s=new WeakMap;function o(e){return u(e)&&!a(e,["documentHead","documentBody","flowMapping","flowSequence"])}t.exports={alignWithSpaces:function(e,t){return n(" ".repeat(e),t)},shouldPrintEndComments:o,printNextEmptyLine:function(e,t){let n=e.getValue(),u=e.stack[0],a;return s.has(u)?a=s.get(u):(a=new Set,s.set(u,a)),!a.has(n.position.end.line)&&(a.add(n.position.end.line),i(n,t)&&!o(e.getParentNode()))?r:""}}}}),uf=E({"src/language-yaml/print/flow-mapping-sequence.js"(e,t){x();var{builders:{ifBreak:r,line:n,softline:u,hardline:i,join:a}}=q(),{isEmptyNode:s,getLast:o,hasEndComments:l}=uc(),{printNextEmptyLine:p,alignWithSpaces:c}=uD();function d(e,t,d){let D,f=e.getValue(),m="flowMapping"===f.type,g=u;m&&f.children.length>0&&d.bracketSpacing&&(g=n);let y=o(f.children),h=y&&"flowMappingItem"===y.type&&s(y.key)&&s(y.value);return[m?"{":"[",c(d.tabWidth,[g,(D=e.getValue(),e.map((e,r)=>[t(),r===D.children.length-1?"":[",",n,D.children[r].position.start.line!==D.children[r+1].position.start.line?p(e,d.originalText):""]],"children")),"none"===d.trailingComma?"":r(","),l(f)?[i,a(i,e.map(t,"endComments"))]:""]),h?"":g,m?"}":"]"]}t.exports={printFlowMapping:d,printFlowSequence:d}}}),um=E({"src/language-yaml/print/mapping-item.js"(e,t){x();var{builders:{conditionalGroup:r,group:n,hardline:u,ifBreak:i,join:a,line:s}}=q(),{hasLeadingComments:o,hasMiddleComments:l,hasTrailingComment:p,hasEndComments:c,isNode:d,isEmptyNode:D,isInlineNode:f}=uc(),{alignWithSpaces:m}=uD();function g(e,t){if(!e)return!0;switch(e.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if("preserve"===t.proseWrap)return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case"never":return!e.value.includes(` +`);case"always":return!/[\n ]/.test(e.value);default:return!1}}t.exports=function(e,t,y,h,E){let{key:C,value:F}=e,A=D(C),v=D(F);if(A&&v)return": ";let x=h("key"),b=e.key.content&&"alias"===e.key.content.type?" ":"";if(v)return"flowMappingItem"===e.type&&"flowMapping"===t.type?x:"mappingItem"===e.type&&g(C.content,E)&&!p(C.content)&&(!t.tag||"tag:yaml.org,2002:set"!==t.tag.value)?[x,b,":"]:["? ",m(2,x)];let S=h("value");if(A)return[": ",m(2,S)];if(o(F)||!f(C.content))return["? ",m(2,x),u,a("",y.map(h,"value","leadingComments").map(e=>[e,u])),": ",m(2,S)];if(function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":return e.position.start.line===e.position.end.line;case"alias":return!0;default:return!1}}(C.content)&&!o(C.content)&&!l(C.content)&&!p(C.content)&&!c(C)&&!o(F.content)&&!l(F.content)&&!c(F)&&g(F.content,E))return[x,b,": ",S];let T=Symbol("mappingKey"),B=n([i("? "),n(m(2,x),{id:T})]),N=[u,": ",m(2,S)],w=[b,":"];o(F.content)||c(F)&&F.content&&!d(F.content,["mapping","sequence"])||"mapping"===t.type&&p(C.content)&&f(F.content)||d(F.content,["mapping","sequence"])&&null===F.content.tag&&null===F.content.anchor?w.push(u):F.content&&w.push(s),w.push(S);let k=m(E.tabWidth,w);return!g(C.content,E)||o(C.content)||l(C.content)||c(C)?r([[B,i(N,k,{groupId:T})]]):r([[x,k]])}}}),ug=E({"src/language-yaml/print/block.js"(e,t){x();var{builders:{dedent:r,dedentToRoot:n,fill:u,hardline:i,join:a,line:s,literalline:o,markAsRoot:l},utils:{getDocParts:p}}=q(),{getAncestorCount:c,getBlockValueLineContents:d,hasIndicatorComment:D,isLastDescendantNode:f,isNode:m}=uc(),{alignWithSpaces:g}=uD();t.exports=function(e,t,y){let h=e.getValue(),E=c(e,e=>m(e,["sequence","mapping"])),C=f(e),F=["blockFolded"===h.type?">":"|"];null!==h.indent&&F.push(h.indent.toString()),"clip"!==h.chomping&&F.push("keep"===h.chomping?"+":"-"),D(h)&&F.push(" ",t("indicatorComment"));let A=d(h,{parentIndent:E,isLastDescendant:C,options:y}),v=[];for(let[e,t]of A.entries())0===e&&v.push(i),v.push(u(p(a(s,t)))),e!==A.length-1?v.push(0===t.length?i:l(o)):"keep"===h.chomping&&C&&v.push(n(0===t.length?i:o));return null===h.indent?F.push(r(g(y.tabWidth,v))):F.push(n(g(h.indent-1+E,v))),F}}}),uy=E({"src/language-yaml/printer-yaml.js"(e,t){x();var{builders:{breakParent:r,fill:n,group:u,hardline:i,join:a,line:s,lineSuffix:o,literalline:l},utils:{getDocParts:p,replaceTextEndOfLine:c}}=q(),{isPreviousLineEmpty:d}=ed(),{insertPragma:D,isPragma:f}=uo(),{locStart:m}=ul(),g=up(),{getFlowScalarLineContents:y,getLastDescendantNode:h,hasLeadingComments:E,hasMiddleComments:C,hasTrailingComment:F,hasEndComments:A,hasPrettierIgnore:v,isLastDescendantNode:b,isNode:S,isInlineNode:T}=uc(),B=ud(),{alignWithSpaces:N,printNextEmptyLine:w,shouldPrintEndComments:k}=uD(),{printFlowMapping:j,printFlowSequence:P}=uf(),I=um(),O=ug();function L(e,t){return F(e)||t&&(t.head.children.length>0||A(t.head))}function _(e,t,r){return a(i,y(e,t,r).map(e=>n(p(a(s,e)))))}t.exports={preprocess:B,embed:g,print:function(e,t,n){let s=e.getValue(),p=[];"mappingValue"!==s.type&&E(s)&&p.push([a(i,e.map(n,"leadingComments")),i]);let{tag:D,anchor:f}=s;D&&p.push(n("tag")),D&&f&&p.push(" "),f&&p.push(n("anchor"));let g="";S(s,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!b(e)&&(g=w(e,t.originalText)),(D||f)&&(S(s,["sequence","mapping"])&&!C(s)?p.push(i):p.push(" ")),C(s)&&p.push([1===s.middleComments.length?"":i,a(i,e.map(n,"middleComments")),i]);let y=e.getParentNode();return v(e)?p.push(c(t.originalText.slice(s.position.start.offset,s.position.end.offset).trimEnd(),l)):p.push(u(function(e,t,r,n,u){switch(e.type){case"root":{let{children:t}=e,n=[];r.each((e,r)=>{let a=t[r],s=t[r+1];0!==r&&n.push(i),n.push(u()),L(a,s)?(n.push(i,"..."),F(a)&&n.push(" ",u("trailingComment"))):s&&!F(s.head)&&n.push(i,"---")},"children");let a=h(e);return S(a,["blockLiteral","blockFolded"])&&"keep"===a.chomping||n.push(i),n}case"document":{let s=t.children[r.getName()+1],o=[];return"head"===(t.children[0]===e&&/---(?:\s|$)/.test(n.originalText.slice(m(e),m(e)+4))||e.head.children.length>0||A(e.head)||F(e.head)?"head":!L(e,s)&&!!s&&"root")&&((e.head.children.length>0||e.head.endComments.length>0)&&o.push(u("head")),F(e.head)?o.push(["---"," ",u(["head","trailingComment"])]):o.push("---")),(e.body.children.length>0||A(e.body))&&o.push(u("body")),a(i,o)}case"documentHead":return a(i,[...r.map(u,"children"),...r.map(u,"endComments")]);case"documentBody":{let{children:t,endComments:n}=e,s="";if(t.length>0&&n.length>0){let t=h(e);S(t,["blockFolded","blockLiteral"])?"keep"!==t.chomping&&(s=[i,i]):s=i}return[a(i,r.map(u,"children")),s,a(i,r.map(u,"endComments"))]}case"directive":return["%",a(" ",[e.name,...e.parameters])];case"comment":return["#",e.value];case"alias":return["*",e.value];case"tag":return n.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return["&",e.value];case"plain":return _(e.type,n.originalText.slice(e.position.start.offset,e.position.end.offset),n);case"quoteDouble":case"quoteSingle":{let t=n.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&t.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(t)){let r="quoteDouble"===e.type?'"':"'";return[r,_(e.type,t,n),r]}if(t.includes('"'))return["'",_(e.type,"quoteDouble"===e.type?t.replace(/\\"/g,'"').replace(/'/g,"'".repeat(2)):t,n),"'"];if(t.includes("'"))return['"',_(e.type,"quoteSingle"===e.type?t.replace(/''/g,"'"):t,n),'"'];let r=n.singleQuote?"'":'"';return[r,_(e.type,t,n),r]}case"blockFolded":case"blockLiteral":return O(r,u,n);case"mapping":case"sequence":return a(i,r.map(u,"children"));case"sequenceItem":return["- ",N(2,e.content?u("content"):"")];case"mappingKey":case"mappingValue":return e.content?u("content"):"";case"mappingItem":case"flowMappingItem":return I(e,t,r,u,n);case"flowMapping":return j(r,u,n);case"flowSequence":return P(r,u,n);case"flowSequenceItem":return u("content");default:throw Error(`Unexpected node type ${e.type}`)}}(s,y,e,t,n))),F(s)&&!S(s,["document","documentHead"])&&p.push(o(["mappingValue"!==s.type||s.content?" ":"","mappingKey"===y.type&&"mapping"===e.getParentNode(2).type&&T(s)?"":r,n("trailingComment")])),k(s)&&p.push(N("sequenceItem"===s.type?2:0,[i,a(i,e.map(e=>[d(t.originalText,e.getValue(),m)?i:"",n()],"endComments"))])),p.push(g),p},massageAstNode:function(e,t){if(S(t))switch(delete t.position,t.type){case"comment":if(f(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}},insertPragma:D}}}),uh=E({"src/language-yaml/options.js"(e,t){x();var r=rY();t.exports={bracketSpacing:r.bracketSpacing,singleQuote:r.singleQuote,proseWrap:r.proseWrap}}}),uE=E({"src/language-yaml/parsers.js"(){x()}}),uC=E({"node_modules/linguist-languages/data/YAML.json"(e,t){t.exports={name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","CITATION.cff","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407}}}),uF=E({"src/language-yaml/index.js"(e,t){x();var r=tV(),n=uy(),u=uh(),i=uE(),a=[r(uC(),e=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...e.filenames.filter(e=>"yarn.lock"!==e),".prettierrc",".stylelintrc",".lintstagedrc"]}))];t.exports={languages:a,printers:{yaml:n},options:u,parsers:i}}}),uA=E({"src/languages.js"(e,t){x(),t.exports=[r9(),ny(),nb(),nj(),nU(),us(),uF()]}});x();var{version:uv}=b(),ux=t$(),{getSupportInfo:ub}=ei(),uS=tR(),uT=uA(),uB=q();function uN(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(){for(var r=arguments.length,n=Array(r),u=0;uuw(e,t).formatted,check(e,t){let{formatted:r}=uw(e,t);return r===e},doc:uB,getSupportInfo:uN(ub,0),version:uv,util:uS,__debug:{parse:uN(ux.parse),formatAST:uN(ux.formatAST),formatDoc:uN(ux.formatDoc),printToDoc:uN(ux.printToDoc),printDocToString:uN(ux.printDocToString)}}})()},e.exports=a()}}]); \ No newline at end of file diff --git a/_next/static/chunks/7233-97081d696125e186.js b/_next/static/chunks/7233-97081d696125e186.js new file mode 100644 index 000000000..dcea96ebc --- /dev/null +++ b/_next/static/chunks/7233-97081d696125e186.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7233],{75946:function(e,t,n){n.d(t,{Kl:function(){return h},Pr:function(){return m},bf:function(){return u},cL:function(){return p}});var r=n(97458);n(52983);var i=n(63692),s=n(29676),l=n(5423);let o=[{name:"action",types:"SelectAction",description:"Action option displayed at the end of the list."},{name:"autoComplete",defaultValue:"off",types:"string",description:"Set the autoComplete property for the input."},{name:"description",types:"string | FormControlDescription",description:"Append a description to the select field."},{name:"disabled",defaultValue:"false",types:"boolean",description:(0,r.jsxs)(r.Fragment,{children:["Disables the ",(0,r.jsx)(i.E,{primary:!0,children:"Select"})," component."]})},{name:"error",types:"string",description:"Displays a form error around the field."},{name:"filterable",types:"boolean",defaultValue:"true",description:(0,r.jsxs)(r.Fragment,{children:["Allows you to filter the ",(0,r.jsx)(i.E,{children:"SelectOptions"})," in the ",(0,r.jsx)(i.E,{primary:!0,children:"Select"}),"."]})},{name:"inputRef",types:"React.Ref | React.RefObject",description:(0,r.jsxs)(r.Fragment,{children:["The provided ref will be used for the underlying input element used in the"," ",(0,r.jsx)(i.E,{primary:!0,children:"Select"}),"."]})},{name:"label",types:["string","FormControlLabel"],description:"Adds a label to the field."},{name:"labelId",types:"string",description:"Adds a custom id to the label."},{name:"maxHeight",types:"number",defaultValue:"250",description:(0,r.jsxs)(r.Fragment,{children:["Sets a ",(0,r.jsx)(i.E,{children:"max-height"})," to the dropdown."]})},{name:"onClose",types:"() => void",description:(0,r.jsxs)(r.Fragment,{children:["Function that will be called when the ",(0,r.jsx)(i.E,{primary:!0,children:"Select"})," is closed."]})},{name:"onOpen",types:"() => void",description:(0,r.jsxs)(r.Fragment,{children:["Function that will be called when the ",(0,r.jsx)(i.E,{primary:!0,children:"Select"})," is opened."]})},{name:"onOptionChange",types:"(value: any, option: SelectOption) => void",required:!0,description:"Callback called with value of selected option."},{name:"options",types:"Array | Array",required:!0,description:(0,r.jsxs)(r.Fragment,{children:["Accepts an array of ",(0,r.jsx)(i.E,{children:"SelectOptions"})," or an array of"," ",(0,r.jsx)(i.E,{children:"SelectOptionGroups"}),". See"," ",(0,r.jsx)(s.p,{href:{hash:"implementation"},children:"implementation"})," section for usage."]})},{name:"placement",types:["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],defaultValue:"bottom-start",description:"Determines the location in which the dropdown will be placed."},{name:"positionFixed",defaultValue:"false",types:"boolean",description:(0,r.jsxs)(r.Fragment,{children:["If set, uses ",(0,r.jsx)(i.E,{children:"position: fixed"})," instead of ",(0,r.jsx)(i.E,{children:"position: absolute"})," to position the list."]})},{name:"required",types:"boolean",description:"Sets the field as required."},{name:"value",types:"any ",description:(0,r.jsx)(r.Fragment,{children:"Modifies the current selected value of the field."})},{name:"localization",types:"{ optional: string }",description:"Overrides the label with localized text."}],a=[{name:"disabled",defaultValue:"false",types:"boolean",description:(0,r.jsxs)(r.Fragment,{children:["Sets the ",(0,r.jsx)(i.E,{children:"SelectOption"})," to disabled."]})},{name:"content",types:"string",required:!0,description:(0,r.jsxs)(r.Fragment,{children:["Sets the text content of the ",(0,r.jsx)(i.E,{children:"SelectOption"}),"."]})},{name:"description",types:"string",description:(0,r.jsxs)(r.Fragment,{children:["Sets the content description of the ",(0,r.jsx)(i.E,{children:"SelectOption"}),"."]})},{name:"tooltip",types:"string",description:(0,r.jsx)(r.Fragment,{children:"Adds tooltip for disabled item."})},{name:"icon",types:(0,r.jsx)(s.p,{href:"/icons",children:"Icon"}),description:(0,r.jsxs)(r.Fragment,{children:["Pass in an ",(0,r.jsx)(s.p,{href:"/icons",children:"Icon"})," component to display to the left of the text. Only available for single select."]})},{name:"value",types:"any",required:!0,description:(0,r.jsxs)(r.Fragment,{children:["Stored value of the ",(0,r.jsx)(i.E,{children:"SelectOption"}),"."]})}],c=[{name:"actionType",types:["normal","destructive"],defaultValue:"normal",description:(0,r.jsxs)(r.Fragment,{children:["Indicates whether the ",(0,r.jsx)(i.E,{children:"SelectAction"})," is of normal or destructive nature."]})},{name:"disabled",defaultValue:"false",types:"boolean",description:(0,r.jsxs)(r.Fragment,{children:["Sets the ",(0,r.jsx)(i.E,{children:"SelectAction"})," to disabled."]})},{name:"content",types:"string",required:!0,description:(0,r.jsxs)(r.Fragment,{children:["Sets the text content of the ",(0,r.jsx)(i.E,{children:"SelectAction"}),"."]})},{name:"description",types:"string",description:(0,r.jsxs)(r.Fragment,{children:["Sets the content description of the ",(0,r.jsx)(i.E,{children:"SelectAction"}),"."]})},{name:"tooltip",types:"string",description:(0,r.jsx)(r.Fragment,{children:"Adds tooltip for disabled item."})},{name:"icon",types:(0,r.jsx)(s.p,{href:"/icons",children:"Icon"}),description:(0,r.jsxs)(r.Fragment,{children:["Pass in an ",(0,r.jsx)(s.p,{href:"/icons",children:"Icon"})," component to display to the left of the text."]})},{name:"onClick",types:"(inputText: string): void",description:"Returns the current text in the input."}],d=[{name:"label",types:"string",required:!0,description:(0,r.jsx)(r.Fragment,{children:"Adds a label to the option group."})},{name:"separated",types:"boolean",description:"If true, adds a line separator above the group."},{name:"options",types:"Array",required:!0,description:(0,r.jsxs)(r.Fragment,{children:["Accepts an array of ",(0,r.jsx)(i.E,{children:"SelectOption"}),". See"," ",(0,r.jsx)(s.p,{href:{query:"implementation=select-group"},children:"example"})," for usage."]})}],p=e=>(0,r.jsx)(l.n,{propList:o,title:"Select",...e}),h=e=>(0,r.jsx)(l.n,{propList:a,title:"Select[SelectOption]",...e}),m=e=>(0,r.jsx)(l.n,{propList:c,title:"Select[SelectAction]",...e}),u=e=>(0,r.jsx)(l.n,{propList:d,title:"Select[SelectGroup]",...e})},41957:function(e,t,n){n.d(t,{F:function(){return c}});var r=n(97458),i=n(67778),s=n(31321);n(52983);var l=n(53398);let o=(e,t)=>{let{query:n,push:r}=(0,l.useRouter)(),i=e.map(e=>{let{render:t,...n}=e;return n}),s=n[t],o=s&&!Array.isArray(s)?s:e[0].id;return{activeContent:e.find(e=>e.id===o),activePills:o?[o]:[],pills:i,handlePillClick:e=>{r({query:{...n,[t]:e}},void 0,{scroll:!1,shallow:!0})}}},a=e=>{let{routes:t,id:n}=e,{activeContent:l,activePills:a,pills:c,handlePillClick:d}=o(t,n);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.N,{activePills:a,items:c,onPillClick:d}),(0,r.jsx)(s.x,{marginTop:"xSmall",children:null==l?void 0:l.render()})]})},c=e=>0===e.routes.length?null:(0,r.jsx)(a,{...e})},22465:function(e,t,n){n.d(t,{t:function(){return d}});var r=n(97458),i=n(76635),s=n(39270),l=n(83273),o=n(31321),a=n(31962),c=n(62831);n(52983);let d=e=>{let{recommended:t,discouraged:n}=e;return(0,r.jsxs)(r.Fragment,{children:[t.length>0&&(0,r.jsx)(i.W,{columns:[{header:"Do",hash:"do",render:e=>{let{recommend:t}=e;return t}}],items:t.map(e=>({recommend:(0,r.jsxs)(s.k,{alignItems:"center",children:[(0,r.jsx)(l.B,{flexGrow:0,marginRight:"large",children:(0,r.jsx)(a.r,{color:"success"})}),(0,r.jsx)(l.B,{children:e})]})}))}),n.length>0&&(0,r.jsx)(o.x,{marginTop:"xLarge",children:(0,r.jsx)(i.W,{columns:[{header:"Don't",hash:"dont",render:e=>{let{discourage:t}=e;return t}}],items:n.map(e=>({discourage:(0,r.jsxs)(s.k,{alignItems:"center",children:[(0,r.jsx)(l.B,{flexGrow:0,marginRight:"large",children:(0,r.jsx)(c.P,{color:"danger"})}),(0,r.jsx)(l.B,{children:e})]})}))})})]})}},29676:function(e,t,n){n.d(t,{p:function(){return o}});var r=n(97458),i=n(4857),s=n(75246),l=n.n(s);n(52983);let o=e=>{let{children:t,href:n}=e;return(0,r.jsx)(l(),{href:n,legacyBehavior:!0,passHref:!0,children:(0,r.jsx)(i.r,{children:t})})}},5423:function(e,t,n){n.d(t,{n:function(){return u}});var r=n(97458),i=n(2513),s=n(89983),l=n(39270),o=n(4857),a=n(52983),c=n(63692),d=n(30765),p=n(76249);let h=(0,n(57931).ZP)(l.k).withConfig({componentId:"sc-e6496ff5-0"})(["cursor:pointer;display:inline-flex;flex-direction:row;"]),m=e=>{let{children:t,title:n}=e,[i,l]=(0,a.useState)(!0),o=()=>l(!i);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(h,{alignItems:"center",marginBottom:"xSmall",onClick:o,onKeyPress:e=>{("Enter"===e.key||" "===e.key)&&o()},tabIndex:0,children:[i?(0,r.jsx)(d.X,{title:"Expand"}):(0,r.jsx)(p.h,{title:"Collapse"}),(0,r.jsx)(s.xv,{children:n})]}),!i&&t]})},u=e=>{let{collapsible:t,id:n,propList:o,title:a,inheritedProps:d,nativeElement:p}=e,h=()=>o.length>0?(0,r.jsxs)(i.r,{marginBottom:t||d?"xLarge":"none",children:[(0,r.jsx)(i.i,{columns:[{header:"Prop name",hash:"propName",render:e=>{let{name:t,required:n}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.E,{primary:!0,children:t}),n?(0,r.jsx)("b",{children:" *"}):null]})}},{header:"Type",hash:"type",render:e=>{let{types:t}=e;return(0,r.jsx)(j,{types:t})}},{header:"Default",hash:"default",render:e=>{let{defaultValue:t}=e;return(0,r.jsx)(c.E,{highlight:!1,children:t})}},{header:"Description",hash:"description",width:"50%",render:e=>{let{description:t}=e;return(0,r.jsx)(s.xv,{children:t})}}],id:n,items:o}),(0,r.jsx)(s.x4,{marginTop:"xSmall",children:"Props ending with * are required"})]}):null;return t?(0,r.jsx)(m,{title:"".concat(a," Props"),children:h()}):(0,r.jsxs)(r.Fragment,{children:[(()=>{if(p){let[e,t]=p;return(0,r.jsxs)(s.xv,{children:["Supports ",t," native ",(0,r.jsxs)(c.E,{children:["<",e," />"]})," element attributes."]})}return null})(),h(),d?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.H3,{children:"Inherited"}),(0,r.jsx)(l.k,{flexDirection:"column",children:d})]}):null]})},x=e=>{let{type:t}=e;return(0,a.isValidElement)(t)&&t.type===o.r?(0,r.jsx)(c.E,{highlight:!1,children:t}):(0,r.jsx)(c.E,{children:t})},j=e=>{let{types:t}=e;return Array.isArray(t)?t.map((e,n)=>(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)(x,{type:e}),n(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function m(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function g(e){return["html","body","#document"].includes(i(e))}function v(e){return s(e).getComputedStyle(e)}function y(e){return l(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function b(e){if("html"===i(e))return e;let t=e.assignedSlot||e.parentNode||p(e)&&e.host||u(e);return p(t)?t.host:t}function w(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=b(t);return g(n)?t.ownerDocument?t.ownerDocument.body:t.body:d(n)&&f(n)?n:e(n)}(e),a=o===(null==(r=e.ownerDocument)?void 0:r.body),i=s(o);return a?t.concat(i,i.visualViewport||[],f(o)?o:[],i.frameElement&&n?w(i.frameElement):[]):t.concat(o,w(o,[],n))}function D(e){let t=e.activeElement;for(;(null==(n=t)||null==(n=n.shadowRoot)?void 0:n.activeElement)!=null;){var n;t=t.shadowRoot.activeElement}return t}function k(e,t){if(!e||!t)return!1;let n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&p(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function S(){let e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function M(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:n}=e;return t+"/"+n}).join(" "):navigator.userAgent}function P(e){return 0===e.mozInputSource&&!!e.isTrusted||(C()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function x(e){return!M().includes("jsdom/")&&(!C()&&0===e.width&&0===e.height||C()&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function E(){return/apple/i.test(navigator.vendor)}function C(){let e=/android/i;return e.test(S())||e.test(M())}function O(){return S().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function T(e,t){let n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function N(e){return(null==e?void 0:e.ownerDocument)||document}function I(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))}function Y(e){return"composedPath"in e?e.composedPath()[0]:e.target}function _(e){return d(e)&&e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}function R(e){e.preventDefault(),e.stopPropagation()}function L(e){return!!e&&"combobox"===e.getAttribute("role")&&_(e)}let F=["top","right","bottom","left"],W=F.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),A=Math.min,H=Math.max,j=Math.round,B=Math.floor,q=e=>({x:e,y:e}),Q={left:"right",right:"left",bottom:"top",top:"bottom"},K={start:"end",end:"start"};function z(e,t){return"function"==typeof e?e(t):e}function V(e){return e.split("-")[0]}function U(e){return e.split("-")[1]}function Z(e){return"x"===e?"y":"x"}function G(e){return"y"===e?"height":"width"}function X(e){return["top","bottom"].includes(V(e))?"y":"x"}function $(e,t,n){void 0===n&&(n=!1);let r=U(e),o=Z(X(e)),a=G(o),i="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=ee(i)),[i,ee(i)]}function J(e){return e.replace(/start|end/g,e=>K[e])}function ee(e){return e.replace(/left|right|bottom|top/g,e=>Q[e])}function et(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function en(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function er(e,t,n){let r,{reference:o,floating:a}=e,i=X(t),s=Z(X(t)),u=G(s),c=V(t),l="y"===i,d=o.x+o.width/2-a.width/2,p=o.y+o.height/2-a.height/2,f=o[u]/2-a[u]/2;switch(c){case"top":r={x:d,y:o.y-a.height};break;case"bottom":r={x:d,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:p};break;case"left":r={x:o.x-a.width,y:p};break;default:r={x:o.x,y:o.y}}switch(U(t)){case"start":r[s]-=f*(n&&l?-1:1);break;case"end":r[s]+=f*(n&&l?-1:1)}return r}let eo=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:i}=n,s=a.filter(Boolean),u=await (null==i.isRTL?void 0:i.isRTL(t)),c=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:l,y:d}=er(c,r,u),p=r,f={},h=0;for(let n=0;ne[t]>=0)}function eu(e){let t=A(...e.map(e=>e.left)),n=A(...e.map(e=>e.top));return{x:t,y:n,width:H(...e.map(e=>e.right))-t,height:H(...e.map(e=>e.bottom))-n}}async function ec(e,t){let{placement:n,platform:r,elements:o}=e,a=await (null==r.isRTL?void 0:r.isRTL(o.floating)),i=V(n),s=U(n),u="y"===X(n),c=["left","top"].includes(i)?-1:1,l=a&&u?-1:1,d=z(t,e),{mainAxis:p,crossAxis:f,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&"number"==typeof h&&(f="end"===s?-1*h:h),u?{x:f*l,y:p*c}:{x:p*c,y:f*l}}let el=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:o,y:a,placement:i,middlewareData:s}=t,u=await ec(t,e);return i===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:o+u.x,y:a+u.y,data:{...u,placement:i}}}}};function ed(e){let t=v(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=d(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,s=j(n)!==a||j(r)!==i;return s&&(n=a,r=i),{width:n,height:r,$:s}}function ep(e){return l(e)?e:e.contextElement}function ef(e){let t=ep(e);if(!d(t))return q(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:a}=ed(t),i=(a?j(n.width):n.width)/r,s=(a?j(n.height):n.height)/o;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}let eh=q(0);function em(e){let t=s(e);return m()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:eh}function eg(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let a=e.getBoundingClientRect(),i=ep(e),u=q(1);t&&(r?l(r)&&(u=ef(r)):u=ef(e));let c=(void 0===(o=n)&&(o=!1),r&&(!o||r===s(i))&&o)?em(i):q(0),d=(a.left+c.x)/u.x,p=(a.top+c.y)/u.y,f=a.width/u.x,h=a.height/u.y;if(i){let e=s(i),t=r&&l(r)?s(r):r,n=e,o=n.frameElement;for(;o&&r&&t!==n;){let e=ef(o),t=o.getBoundingClientRect(),r=v(o),a=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;d*=e.x,p*=e.y,f*=e.x,h*=e.y,d+=a,p+=i,o=(n=s(o)).frameElement}}return en({width:f,height:h,x:d,y:p})}let ev=[":popover-open",":modal"];function ey(e){return ev.some(t=>{try{return e.matches(t)}catch(e){return!1}})}function eb(e){return eg(u(e)).left+y(e).scrollLeft}function ew(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=s(e),r=u(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,c=0,l=0;if(o){a=o.width,i=o.height;let e=m();(!e||e&&"fixed"===t)&&(c=o.offsetLeft,l=o.offsetTop)}return{width:a,height:i,x:c,y:l}}(e,n);else if("document"===t)r=function(e){let t=u(e),n=y(e),r=e.ownerDocument.body,o=H(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=H(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),i=-n.scrollLeft+eb(e),s=-n.scrollTop;return"rtl"===v(r).direction&&(i+=H(t.clientWidth,r.clientWidth)-o),{width:o,height:a,x:i,y:s}}(u(e));else if(l(t))r=function(e,t){let n=eg(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,a=d(e)?ef(e):q(1),i=e.clientWidth*a.x;return{width:i,height:e.clientHeight*a.y,x:o*a.x,y:r*a.y}}(t,n);else{let n=em(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return en(r)}function eD(e,t){return d(e)&&"fixed"!==v(e).position?t?t(e):e.offsetParent:null}function ek(e,t){let n=s(e);if(!d(e)||ey(e))return n;let r=eD(e,t);for(;r&&["table","td","th"].includes(i(r))&&"static"===v(r).position;)r=eD(r,t);return r&&("html"===i(r)||"body"===i(r)&&"static"===v(r).position&&!h(r))?n:r||function(e){let t=b(e);for(;d(t)&&!g(t);){if(h(t))return t;t=b(t)}return null}(e)||n}let eS=async function(e){let t=this.getOffsetParent||ek,n=this.getDimensions;return{reference:function(e,t,n){let r=d(t),o=u(t),a="fixed"===n,s=eg(e,!0,a,t),c={scrollLeft:0,scrollTop:0},l=q(0);if(r||!r&&!a){if(("body"!==i(t)||f(o))&&(c=y(t)),r){let e=eg(t,!0,a,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=eb(o))}return{x:s.left+c.scrollLeft-l.x,y:s.top+c.scrollTop-l.y,width:s.width,height:s.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,...await n(e.floating)}}},eM={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,a="fixed"===o,s=u(r),c=!!t&&ey(t.floating);if(r===s||c&&a)return n;let l={scrollLeft:0,scrollTop:0},p=q(1),h=q(0),m=d(r);if((m||!m&&!a)&&(("body"!==i(r)||f(s))&&(l=y(r)),d(r))){let e=eg(r);p=ef(r),h.x=e.x+r.clientLeft,h.y=e.y+r.clientTop}return{width:n.width*p.x,height:n.height*p.y,x:n.x*p.x-l.scrollLeft*p.x+h.x,y:n.y*p.y-l.scrollTop*p.y+h.y}},getDocumentElement:u,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,a=[..."clippingAncestors"===n?function(e,t){let n=t.get(e);if(n)return n;let r=w(e,[],!1).filter(e=>l(e)&&"body"!==i(e)),o=null,a="fixed"===v(e).position,s=a?b(e):e;for(;l(s)&&!g(s);){let t=v(s),n=h(s);n||"fixed"!==t.position||(o=null),(a?!n&&!o:!n&&"static"===t.position&&!!o&&["absolute","fixed"].includes(o.position)||f(s)&&!n&&function e(t,n){let r=b(t);return!(r===n||!l(r)||g(r))&&("fixed"===v(r).position||e(r,n))}(e,s))?r=r.filter(e=>e!==s):o=t,s=b(s)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=a[0],u=a.reduce((e,n)=>{let r=ew(t,n,o);return e.top=H(r.top,e.top),e.right=A(r.right,e.right),e.bottom=A(r.bottom,e.bottom),e.left=H(r.left,e.left),e},ew(t,s,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:ek,getElementRects:eS,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=ed(e);return{width:t,height:n}},getScale:ef,isElement:l,isRTL:function(e){return"rtl"===v(e).direction}};function eP(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,d=ep(e),p=a||i?[...d?w(d):[],...w(t)]:[];p.forEach(e=>{a&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)});let f=d&&c?function(e,t){let n,r=null,o=u(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function i(s,u){void 0===s&&(s=!1),void 0===u&&(u=1),a();let{left:c,top:l,width:d,height:p}=e.getBoundingClientRect();if(s||t(),!d||!p)return;let f=B(l),h=B(o.clientWidth-(c+d)),m={rootMargin:-f+"px "+-h+"px "+-B(o.clientHeight-(l+p))+"px "+-B(c)+"px",threshold:H(0,A(1,u))||1},g=!0;function v(e){let t=e[0].intersectionRatio;if(t!==u){if(!g)return i();t?i(!1,t):n=setTimeout(()=>{i(!1,1e-7)},100)}g=!1}try{r=new IntersectionObserver(v,{...m,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(v,m)}r.observe(e)}(!0),a}(d,n):null,h=-1,m=null;s&&(m=new ResizeObserver(e=>{let[r]=e;r&&r.target===d&&m&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),d&&!l&&m.observe(d),m.observe(t));let g=l?eg(e):null;return l&&function t(){let r=eg(e);g&&(r.x!==g.x||r.y!==g.y||r.width!==g.width||r.height!==g.height)&&n(),g=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;p.forEach(e=>{a&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)}),null==f||f(),null==(e=m)||e.disconnect(),m=null,l&&cancelAnimationFrame(o)}}let ex=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,o,a;let{rects:i,middlewareData:s,placement:u,platform:c,elements:l}=t,{crossAxis:d=!1,alignment:p,allowedPlacements:f=W,autoAlignment:h=!0,...m}=z(e,t),g=void 0!==p||f===W?((a=p||null)?[...f.filter(e=>U(e)===a),...f.filter(e=>U(e)!==a)]:f.filter(e=>V(e)===e)).filter(e=>!a||U(e)===a||!!h&&J(e)!==e):f,v=await ea(t,m),y=(null==(n=s.autoPlacement)?void 0:n.index)||0,b=g[y];if(null==b)return{};let w=$(b,i,await (null==c.isRTL?void 0:c.isRTL(l.floating)));if(u!==b)return{reset:{placement:g[0]}};let D=[v[V(b)],v[w[0]],v[w[1]]],k=[...(null==(r=s.autoPlacement)?void 0:r.overflows)||[],{placement:b,overflows:D}],S=g[y+1];if(S)return{data:{index:y+1,overflows:k},reset:{placement:S}};let M=k.map(e=>{let t=U(e.placement);return[e.placement,t&&d?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),P=(null==(o=M.filter(e=>e[2].slice(0,U(e[0])?2:3).every(e=>e<=0))[0])?void 0:o[0])||M[0][0];return P!==u?{data:{index:y+1,overflows:k},reset:{placement:P}}:{}}}},eE=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:o}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=z(e,t),c={x:n,y:r},l=await ea(t,u),d=X(V(o)),p=Z(d),f=c[p],h=c[d];if(a){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",n=f+l[e],r=f-l[t];f=H(n,A(f,r))}if(i){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",n=h+l[e],r=h-l[t];h=H(n,A(h,r))}let m=s.fn({...t,[p]:f,[d]:h});return{...m,data:{x:m.x-n,y:m.y-r}}}}},eC=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,o,a,i;let{placement:s,middlewareData:u,rects:c,initialPlacement:l,platform:d,elements:p}=t,{mainAxis:f=!0,crossAxis:h=!0,fallbackPlacements:m,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:y=!0,...b}=z(e,t);if(null!=(n=u.arrow)&&n.alignmentOffset)return{};let w=V(s),D=V(l)===l,k=await (null==d.isRTL?void 0:d.isRTL(p.floating)),S=m||(D||!y?[ee(l)]:function(e){let t=ee(e);return[J(e),t,J(t)]}(l));m||"none"===v||S.push(...function(e,t,n,r){let o=U(e),a=function(e,t,n){let r=["left","right"],o=["right","left"];switch(e){case"top":case"bottom":if(n)return t?o:r;return t?r:o;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(V(e),"start"===n,r);return o&&(a=a.map(e=>e+"-"+o),t&&(a=a.concat(a.map(J)))),a}(l,y,v,k));let M=[l,...S],P=await ea(t,b),x=[],E=(null==(r=u.flip)?void 0:r.overflows)||[];if(f&&x.push(P[w]),h){let e=$(s,c,k);x.push(P[e[0]],P[e[1]])}if(E=[...E,{placement:s,overflows:x}],!x.every(e=>e<=0)){let e=((null==(o=u.flip)?void 0:o.index)||0)+1,t=M[e];if(t)return{data:{index:e,overflows:E},reset:{placement:t}};let n=null==(a=E.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:a.placement;if(!n)switch(g){case"bestFit":{let e=null==(i=E.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:i[0];e&&(n=e);break}case"initialPlacement":n=l}if(s!==n)return{reset:{placement:n}}}return{}}}},eO=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let n,r;let{placement:o,rects:a,platform:i,elements:s}=t,{apply:u=()=>{},...c}=z(e,t),l=await ea(t,c),d=V(o),p=U(o),f="y"===X(o),{width:h,height:m}=a.floating;"top"===d||"bottom"===d?(n=d,r=p===(await (null==i.isRTL?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(r=d,n="end"===p?"top":"bottom");let g=m-l[n],v=h-l[r],y=!t.middlewareData.shift,b=g,w=v;if(f){let e=h-l.left-l.right;w=p||y?A(v,e):e}else{let e=m-l.top-l.bottom;b=p||y?A(g,e):e}if(y&&!p){let e=H(l.left,0),t=H(l.right,0),n=H(l.top,0),r=H(l.bottom,0);f?w=h-2*(0!==e||0!==t?e+t:H(l.left,l.right)):b=m-2*(0!==n||0!==r?n+r:H(l.top,l.bottom))}await u({...t,availableWidth:w,availableHeight:b});let D=await i.getDimensions(s.floating);return h!==D.width||m!==D.height?{reset:{rects:!0}}:{}}}},eT=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...o}=z(e,t);switch(r){case"referenceHidden":{let e=ei(await ea(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:es(e)}}}case"escaped":{let e=ei(await ea(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:es(e)}}}default:return{}}}}},eN=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:a,platform:i,elements:s,middlewareData:u}=t,{element:c,padding:l=0}=z(e,t)||{};if(null==c)return{};let d=et(l),p={x:n,y:r},f=Z(X(o)),h=G(f),m=await i.getDimensions(c),g="y"===f,v=g?"clientHeight":"clientWidth",y=a.reference[h]+a.reference[f]-p[f]-a.floating[h],b=p[f]-a.reference[f],w=await (null==i.getOffsetParent?void 0:i.getOffsetParent(c)),D=w?w[v]:0;D&&await (null==i.isElement?void 0:i.isElement(w))||(D=s.floating[v]||a.floating[h]);let k=D/2-m[h]/2-1,S=A(d[g?"top":"left"],k),M=A(d[g?"bottom":"right"],k),P=D-m[h]-M,x=D/2-m[h]/2+(y/2-b/2),E=H(S,A(x,P)),C=!u.arrow&&null!=U(o)&&x!==E&&a.reference[h]/2-(xe.y-t.y),n=[],r=null;for(let e=0;er.height/2?n.push([o]):n[n.length-1].push(o),r=o}return n.map(e=>en(eu(e)))}(l),p=en(eu(l)),f=et(s),h=await a.getElementRects({reference:{getBoundingClientRect:function(){if(2===d.length&&d[0].left>d[1].right&&null!=u&&null!=c)return d.find(e=>u>e.left-f.left&&ue.top-f.top&&c=2){if("y"===X(n)){let e=d[0],t=d[d.length-1],r="top"===V(n),o=e.top,a=t.bottom,i=r?e.left:t.left,s=r?e.right:t.right;return{top:o,bottom:a,left:i,right:s,width:s-i,height:a-o,x:i,y:o}}let e="left"===V(n),t=H(...d.map(e=>e.right)),r=A(...d.map(e=>e.left)),o=d.filter(n=>e?n.left===r:n.right===t),a=o[0].top,i=o[o.length-1].bottom;return{top:a,bottom:i,left:r,right:t,width:t-r,height:i-a,x:r,y:a}}return p}},floating:r.floating,strategy:i});return o.reference.x!==h.reference.x||o.reference.y!==h.reference.y||o.reference.width!==h.reference.width||o.reference.height!==h.reference.height?{reset:{rects:h}}:{}}}},eY=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:o,rects:a,middlewareData:i}=t,{offset:s=0,mainAxis:u=!0,crossAxis:c=!0}=z(e,t),l={x:n,y:r},d=X(o),p=Z(d),f=l[p],h=l[d],m=z(s,t),g="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(u){let e="y"===p?"height":"width",t=a.reference[p]-a.floating[e]+g.mainAxis,n=a.reference[p]+a.reference[e]-g.mainAxis;fn&&(f=n)}if(c){var v,y;let e="y"===p?"width":"height",t=["top","left"].includes(V(o)),n=a.reference[d]-a.floating[e]+(t&&(null==(v=i.offset)?void 0:v[d])||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:(null==(y=i.offset)?void 0:y[d])||0)-(t?g.crossAxis:0);hr&&(h=r)}return{[p]:f,[d]:h}}}},e_=(e,t,n)=>{let r=new Map,o={platform:eM,...n},a={...o.platform,_c:r};return eo(e,t,{...o,platform:a})};var eR=n(63730);let eL=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?eN({element:n.current,padding:r}).fn(t):{}:n?eN({element:n,padding:r}).fn(t):{}}});var eF="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function eW(e,t){let n,r,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!eW(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!eW(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eA(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eH(e,t){let n=eA(e);return Math.round(t*n)/n}function ej(e){let t=o.useRef(e);return eF(()=>{t.current=e}),t}var eB=n(95152);function eq(e){return o.useMemo(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})},e)}let eQ=a["useInsertionEffect".toString()]||(e=>e());function eK(e){let t=o.useRef(()=>{});return eQ(()=>{t.current=e}),o.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r=e.current.length}function e$(e,t){return e0(e,{disabledIndices:t})}function eJ(e,t){return e0(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function e0(e,t){let{startingIndex:n=-1,decrement:r=!1,disabledIndices:o,amount:a=1}=void 0===t?{}:t,i=e.current,s=o?e=>o.includes(e):e=>{let t=i[e];return null==t||t.hasAttribute("disabled")||"true"===t.getAttribute("aria-disabled")},u=n;do u+=r?-a:a;while(u>=0&&u<=i.length-1&&s(u));return u}function e1(e,t){let{event:n,orientation:r,loop:o,cols:a,disabledIndices:i,minIndex:s,maxIndex:u,prevIndex:c,stopEvent:l=!1}=t,d=c;if(n.key===ez){if(l&&R(n),-1===c)d=u;else if(d=e0(e,{startingIndex:d,amount:a,decrement:!0,disabledIndices:i}),o&&(c-ae?n:n-a}eX(e,d)&&(d=c)}if(n.key===eV&&(l&&R(n),-1===c?d=s:(d=e0(e,{startingIndex:c,amount:a,disabledIndices:i}),o&&c+a>u&&(d=e0(e,{startingIndex:c%a-a,amount:a,disabledIndices:i}))),eX(e,d)&&(d=c)),"both"===r){let t=B(c/a);n.key===eZ&&(l&&R(n),c%a!=a-1?(d=e0(e,{startingIndex:c,disabledIndices:i}),o&&eG(d,a,t)&&(d=e0(e,{startingIndex:c-c%a-1,disabledIndices:i}))):o&&(d=e0(e,{startingIndex:c-c%a-1,disabledIndices:i})),eG(d,a,t)&&(d=c)),n.key===eU&&(l&&R(n),c%a!=0?(d=e0(e,{startingIndex:c,disabledIndices:i,decrement:!0}),o&&eG(d,a,t)&&(d=e0(e,{startingIndex:c+(a-c%a),decrement:!0,disabledIndices:i}))):o&&(d=e0(e,{startingIndex:c+(a-c%a),decrement:!0,disabledIndices:i})),eG(d,a,t)&&(d=c));let r=B(u/a)===t;eX(e,d)&&(d=o&&r?n.key===eU?u:e0(e,{startingIndex:c-c%a-1,disabledIndices:i}):c)}return d}function e2(e,t,n){let r=[],o=0;return e.forEach((e,a)=>{let{width:i,height:s}=e,u=!1;for(n&&(o=0);!u;){let e=[];for(let n=0;nnull==r[e])?(e.forEach(e=>{r[e]=a}),u=!0):o++}}),[...r]}function e6(e,t,n,r,o){if(-1===e)return -1;let a=n.indexOf(e);switch(o){case"tl":return a;case"tr":return a+t[e].width-1;case"bl":return a+(t[e].height-1)*r;case"br":return n.lastIndexOf(e)}}function e3(e,t){return t.flatMap((t,n)=>e.includes(t)?[n]:[])}let e9=0;function e4(e,t){void 0===t&&(t={});let{preventScroll:n=!1,cancelPrevious:r=!0,sync:o=!1}=t;r&&cancelAnimationFrame(e9);let a=()=>null==e?void 0:e.focus({preventScroll:n});o?a():e9=requestAnimationFrame(a)}var e5="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function e8(e,t){let n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS?1:0}let e7=o.createContext({register:()=>{},unregister:()=>{},map:new Map,elementsRef:{current:[]}});function te(e){let{children:t,elementsRef:n,labelsRef:r}=e,[a,i]=o.useState(()=>new Map),s=o.useCallback(e=>{i(t=>new Map(t).set(e,null))},[]),u=o.useCallback(e=>{i(t=>{let n=new Map(t);return n.delete(e),n})},[]);return e5(()=>{let e=new Map(a);Array.from(e.keys()).sort(e8).forEach((t,n)=>{e.set(t,n)}),!function(e,t){if(e.size!==t.size)return!1;for(let[n,r]of e.entries())if(r!==t.get(n))return!1;return!0}(a,e)&&i(e)},[a]),o.createElement(e7.Provider,{value:o.useMemo(()=>({register:s,unregister:u,map:a,elementsRef:n,labelsRef:r}),[s,u,a,n,r])},t)}function tt(e){void 0===e&&(e={});let{label:t}=e,{register:n,unregister:r,map:a,elementsRef:i,labelsRef:s}=o.useContext(e7),[u,c]=o.useState(null),l=o.useRef(null),d=o.useCallback(e=>{if(l.current=e,null!==u&&(i.current[u]=e,s)){var n;let r=void 0!==t;s.current[u]=r?t:null!=(n=null==e?void 0:e.textContent)?n:null}},[u,i,s,t]);return e5(()=>{let e=l.current;if(e)return n(e),()=>{r(e)}},[n,r]),e5(()=>{let e=l.current?a.get(l.current):null;null!=e&&c(e)},[a]),o.useMemo(()=>({ref:d,index:null==u?-1:u}),[u,d])}function tn(e,t){return"function"==typeof e?e(t):e?o.cloneElement(e,t):o.createElement("div",t)}let tr=o.createContext({activeIndex:0,onNavigate:()=>{}}),to=[eU,eZ],ta=[ez,eV],ti=[...to,...ta],ts=o.forwardRef(function(e,t){let{render:n,orientation:r="both",loop:a=!0,cols:i=1,disabledIndices:s=[],activeIndex:u,onNavigate:c,itemSizes:l,dense:d=!1,...p}=e,[f,h]=o.useState(0),m=null!=u?u:f,g=eK(null!=c?c:h),v=o.useRef([]),y=n&&"function"!=typeof n?n.props:{},b=o.useMemo(()=>({activeIndex:m,onNavigate:g}),[m,g]),w=i>1,D={...p,...y,ref:t,"aria-orientation":"both"===r?void 0:r,onKeyDown(e){null==p.onKeyDown||p.onKeyDown(e),null==y.onKeyDown||y.onKeyDown(e),function(e){if(!ti.includes(e.key))return;let t=m;if(w){let n=l||Array.from({length:v.current.length},()=>({width:1,height:1})),o=e2(n,i,d),u=o.findIndex(e=>null!=e&&!s.includes(e)),c=o.reduce((e,t,n)=>null==t||null!=s&&s.includes(t)?e:n,-1);t=o[e1({current:o.map(e=>e?v.current[e]:null)},{event:e,orientation:r,loop:a,cols:i,disabledIndices:e3([...s,void 0],o),minIndex:u,maxIndex:c,prevIndex:e6(m,n,o,i,e.key===eV?"bl":e.key===eZ?"tr":"tl")})]}let n=e$(v,s),o=eJ(v,s),u={horizontal:[eZ],vertical:[eV],both:[eZ,eV]}[r],c={horizontal:[eU],vertical:[ez],both:[eU,ez]}[r],p=w?ti:({horizontal:to,vertical:ta,both:ti})[r];t===m&&[...u,...c].includes(e.key)&&(t=a&&t===o&&u.includes(e.key)?n:a&&t===n&&c.includes(e.key)?o:e0(v,{startingIndex:t,decrement:c.includes(e.key),disabledIndices:s})),t===m||eX(v,t)||(e.stopPropagation(),p.includes(e.key)&&e.preventDefault(),g(t),queueMicrotask(()=>{e4(v.current[t])}))}(e)}};return o.createElement(tr.Provider,{value:b},o.createElement(te,{elementsRef:v},tn(n,D)))}),tu=o.forwardRef(function(e,t){let{render:n,...r}=e,a=n&&"function"!=typeof n?n.props:{},{activeIndex:i,onNavigate:s}=o.useContext(tr),{ref:u,index:c}=tt(),l=eq([u,t,a.ref]),d=i===c;return tn(n,{...r,...a,ref:l,tabIndex:d?0:-1,"data-active":d?"":void 0,onFocus(e){null==r.onFocus||r.onFocus(e),null==a.onFocus||a.onFocus(e),s(c)}})});function tc(){return(tc=Object.assign?Object.assign.bind():function(e){for(var t=1;t"floating-ui-"+td++,tf=a["useId".toString()]||function(){let[e,t]=o.useState(()=>tl?tp():void 0);return e5(()=>{null==e&&t(tp())},[]),o.useEffect(()=>{tl||(tl=!0)},[]),e},th=o.forwardRef(function(e,t){let{context:{placement:n,elements:{floating:r},middlewareData:{arrow:a}},width:i=14,height:s=7,tipRadius:u=0,strokeWidth:c=0,staticOffset:l,stroke:d,d:p,style:{transform:f,...h}={},...m}=e,g=tf();if(!r)return null;let v=2*c,y=v/2,b=i/2*(-(u/8)+1),w=s/2*u/4,[D,k]=n.split("-"),S=eM.isRTL(r),M=!!p,P="top"===D||"bottom"===D,x=l&&"end"===k?"bottom":"top",E=l&&"end"===k?"right":"left";l&&S&&(E="end"===k?"left":"right");let C=(null==a?void 0:a.x)!=null?l||a.x:"",O=(null==a?void 0:a.y)!=null?l||a.y:"",T=p||"M0,0 H"+i+" L"+(i-b)+","+(s-w)+(" Q"+i/2+","+s+" ")+b+","+(s-w)+" Z",N={top:M?"rotate(180deg)":"",left:M?"rotate(90deg)":"rotate(-90deg)",bottom:M?"":"rotate(180deg)",right:M?"rotate(-90deg)":"rotate(90deg)"}[D];return o.createElement("svg",tc({},m,{"aria-hidden":!0,ref:t,width:M?i:i+v,height:i,viewBox:"0 0 "+i+" "+(s>i?s:i),style:{position:"absolute",pointerEvents:"none",[E]:C,[x]:O,[D]:P||M?"100%":"calc(100% - "+v/2+"px)",transform:""+N+(null!=f?f:""),...h}}),v>0&&o.createElement("path",{clipPath:"url(#"+g+")",fill:"none",stroke:d,strokeWidth:v+(p?0:1),d:T}),o.createElement("path",{stroke:v&&!p?m.fill:"none",d:T}),o.createElement("clipPath",{id:g},o.createElement("rect",{x:-y,y:y*(M?-1:1),width:i+v,height:i})))});function tm(){let e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter(e=>e!==n))||[])}}}let tg=o.createContext(null),tv=o.createContext(null),ty=()=>{var e;return(null==(e=o.useContext(tg))?void 0:e.id)||null},tb=()=>o.useContext(tv);function tw(e){let t=tf(),n=tb(),r=ty(),o=e||r;return e5(()=>{let e={id:t,parentId:o};return null==n||n.addNode(e),()=>{null==n||n.removeNode(e)}},[n,t,o]),t}function tD(e){let{children:t,id:n}=e,r=ty();return o.createElement(tg.Provider,{value:o.useMemo(()=>({id:n,parentId:r}),[n,r])},t)}function tk(e){let{children:t}=e,n=o.useRef([]),r=o.useCallback(e=>{n.current=[...n.current,e]},[]),a=o.useCallback(e=>{n.current=n.current.filter(t=>t!==e)},[]),i=o.useState(()=>tm())[0];return o.createElement(tv.Provider,{value:o.useMemo(()=>({nodesRef:n,addNode:r,removeNode:a,events:i}),[r,a,i])},t)}function tS(e){return"data-floating-ui-"+e}function tM(e){let t=(0,o.useRef)(e);return e5(()=>{t.current=e}),t}let tP=tS("safe-polygon");function tx(e,t,n){return n&&!T(n)?0:"number"==typeof e?e:null==e?void 0:e[t]}function tE(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,dataRef:a,events:i,elements:{domReference:s,floating:u},refs:c}=e,{enabled:d=!0,delay:p=0,handleClose:f=null,mouseOnly:h=!1,restMs:m=0,move:g=!0}=t,v=tb(),y=ty(),b=tM(f),w=tM(p),D=o.useRef(),S=o.useRef(),M=o.useRef(),P=o.useRef(),x=o.useRef(!0),E=o.useRef(!1),C=o.useRef(()=>{}),O=o.useCallback(()=>{var e;let t=null==(e=a.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t},[a]);o.useEffect(()=>{if(d)return i.on("openchange",e),()=>{i.off("openchange",e)};function e(e){let{open:t}=e;t||(clearTimeout(S.current),clearTimeout(P.current),x.current=!0)}},[d,i]),o.useEffect(()=>{if(!d||!b.current||!n)return;function e(e){O()&&r(!1,e,"hover")}let t=N(u).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}},[u,n,r,d,b,O]);let I=o.useCallback(function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");let o=tx(w.current,"close",D.current);o&&!M.current?(clearTimeout(S.current),S.current=setTimeout(()=>r(!1,e,n),o)):t&&(clearTimeout(S.current),r(!1,e,n))},[w,r]),Y=o.useCallback(()=>{C.current(),M.current=void 0},[]),_=o.useCallback(()=>{if(E.current){let e=N(c.floating.current).body;e.style.pointerEvents="",e.removeAttribute(tP),E.current=!1}},[c]);return o.useEffect(()=>{if(d&&l(s))return n&&s.addEventListener("mouseleave",c),null==u||u.addEventListener("mouseleave",c),g&&s.addEventListener("mousemove",o,{once:!0}),s.addEventListener("mouseenter",o),s.addEventListener("mouseleave",i),()=>{n&&s.removeEventListener("mouseleave",c),null==u||u.removeEventListener("mouseleave",c),g&&s.removeEventListener("mousemove",o),s.removeEventListener("mouseenter",o),s.removeEventListener("mouseleave",i)};function t(){return!!a.current.openEvent&&["click","mousedown"].includes(a.current.openEvent.type)}function o(e){if(clearTimeout(S.current),x.current=!1,h&&!T(D.current)||m>0&&0===tx(w.current,"open"))return;let t=tx(w.current,"open",D.current);t?S.current=setTimeout(()=>{r(!0,e,"hover")},t):r(!0,e,"hover")}function i(r){if(t())return;C.current();let o=N(u);if(clearTimeout(P.current),b.current){n||clearTimeout(S.current),M.current=b.current({...e,tree:v,x:r.clientX,y:r.clientY,onClose(){_(),Y(),I(r,!0,"safe-polygon")}});let t=M.current;o.addEventListener("mousemove",t),C.current=()=>{o.removeEventListener("mousemove",t)};return}"touch"===D.current&&k(u,r.relatedTarget)||I(r)}function c(n){t()||null==b.current||b.current({...e,tree:v,x:n.clientX,y:n.clientY,onClose(){_(),Y(),I(n)}})(n)}},[s,u,d,e,h,m,g,I,Y,_,r,n,v,w,b,a]),e5(()=>{var e,t;if(d&&n&&null!=(e=b.current)&&e.__options.blockPointerEvents&&O()){let e=N(u).body;if(e.setAttribute(tP,""),e.style.pointerEvents="none",E.current=!0,l(s)&&u){let e=null==v||null==(t=v.nodesRef.current.find(e=>e.id===y))||null==(t=t.context)?void 0:t.elements.floating;return e&&(e.style.pointerEvents=""),s.style.pointerEvents="auto",u.style.pointerEvents="auto",()=>{s.style.pointerEvents="",u.style.pointerEvents=""}}}},[d,n,y,u,s,v,b,O]),e5(()=>{n||(D.current=void 0,Y(),_())},[n,Y,_]),o.useEffect(()=>()=>{Y(),clearTimeout(S.current),clearTimeout(P.current),_()},[d,s,Y,_]),o.useMemo(()=>{if(!d)return{};function e(e){D.current=e.pointerType}return{reference:{onPointerDown:e,onPointerEnter:e,onMouseMove(e){function t(){x.current||r(!0,e.nativeEvent,"hover")}(!h||T(D.current))&&!n&&0!==m&&(clearTimeout(P.current),"touch"===D.current?t():P.current=setTimeout(t,m))}},floating:{onMouseEnter(){clearTimeout(S.current)},onMouseLeave(e){I(e.nativeEvent,!1)}}}},[d,h,n,m,r,I])}let tC=()=>{},tO=o.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:tC,setState:tC,isInstantPhase:!1}),tT=()=>o.useContext(tO),tN=e=>{let{children:t,delay:n,timeoutMs:r=0}=e,[a,i]=o.useReducer((e,t)=>({...e,...t}),{delay:n,timeoutMs:r,initialDelay:n,currentId:null,isInstantPhase:!1}),s=o.useRef(null),u=o.useCallback(e=>{i({currentId:e})},[]);return e5(()=>{a.currentId?null===s.current?s.current=a.currentId:i({isInstantPhase:!0}):(i({isInstantPhase:!1}),s.current=null)},[a.currentId]),o.createElement(tO.Provider,{value:o.useMemo(()=>({...a,setState:i,setCurrentId:u}),[a,u])},t)};function tI(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,floatingId:o}=e,{id:a}=t,i=null!=a?a:o,s=tT(),{currentId:u,setCurrentId:c,initialDelay:l,setState:d,timeoutMs:p}=s;return e5(()=>{u&&(d({delay:{open:1,close:tx(l,"close")}}),u!==i&&r(!1))},[i,r,d,u,l]),e5(()=>{function e(){r(!1),d({delay:l,currentId:null})}if(u&&!n&&u===i){if(p){let t=window.setTimeout(e,p);return()=>{clearTimeout(t)}}e()}},[n,d,u,i,r,l,p]),e5(()=>{c!==tC&&n&&c(i)},[n,c,i]),s}function tY(e,t){let n=e.filter(e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)}),r=n;for(;r.length;)r=e.filter(e=>{var t;return null==(t=r)?void 0:t.some(t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)})}),n=n.concat(r);return n}let t_=new WeakMap,tR=new WeakSet,tL={},tF=0,tW=()=>"undefined"!=typeof HTMLElement&&"inert"in HTMLElement.prototype,tA=e=>e&&(e.host||tA(e.parentNode)),tH=(e,t)=>t.map(t=>{if(e.contains(t))return t;let n=tA(t);return e.contains(n)?n:null}).filter(e=>null!=e);function tj(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);let r=N(e[0]).body;return function(e,t,n,r){let o="data-floating-ui-inert",a=r?"inert":n?"aria-hidden":null,i=tH(t,e),s=new Set,u=new Set(i),c=[];tL[o]||(tL[o]=new WeakMap);let l=tL[o];return i.forEach(function e(t){!(!t||s.has(t))&&(s.add(t),t.parentNode&&e(t.parentNode))}),function e(t){!t||u.has(t)||Array.prototype.forEach.call(t.children,t=>{if(s.has(t))e(t);else{let e=a?t.getAttribute(a):null,n=null!==e&&"false"!==e,r=(t_.get(t)||0)+1,i=(l.get(t)||0)+1;t_.set(t,r),l.set(t,i),c.push(t),1===r&&n&&tR.add(t),1===i&&t.setAttribute(o,""),!n&&a&&t.setAttribute(a,"true")}})}(t),s.clear(),tF++,()=>{c.forEach(e=>{let t=(t_.get(e)||0)-1,n=(l.get(e)||0)-1;t_.set(e,t),l.set(e,n),t||(!tR.has(e)&&a&&e.removeAttribute(a),tR.delete(e)),n||e.removeAttribute(o)}),--tF||(t_=new WeakMap,t_=new WeakMap,tR=new WeakSet,tL={})}}(e.concat(Array.from(r.querySelectorAll("[aria-live]"))),r,t,n)}let tB=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function tq(e,t){let n=(0,eB.ht)(e,tB());"prev"===t&&n.reverse();let r=n.indexOf(D(N(e)));return n.slice(r+1)[0]}function tQ(){return tq(document.body,"next")}function tK(){return tq(document.body,"prev")}function tz(e,t){let n=t||e.currentTarget,r=e.relatedTarget;return!r||!k(n,r)}let tV={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};function tU(e){"Tab"===e.key&&(e.target,clearTimeout(r))}let tZ=o.forwardRef(function(e,t){let[n,r]=o.useState();e5(()=>(E()&&r("button"),document.addEventListener("keydown",tU),()=>{document.removeEventListener("keydown",tU)}),[]);let a={ref:t,tabIndex:0,role:n,"aria-hidden":!n||void 0,[tS("focus-guard")]:"",style:tV};return o.createElement("span",tc({},e,a))}),tG=o.createContext(null),tX=tS("portal");function t$(e){void 0===e&&(e={});let{id:t,root:n}=e,r=tf(),a=t0(),[i,s]=o.useState(null),u=o.useRef(null);return e5(()=>()=>{null==i||i.remove(),queueMicrotask(()=>{u.current=null})},[i]),e5(()=>{if(u.current)return;let e=t?document.getElementById(t):null;if(!e)return;let n=document.createElement("div");n.id=r,n.setAttribute(tX,""),e.appendChild(n),u.current=n,s(n)},[t,r]),e5(()=>{if(u.current)return;let e=n||(null==a?void 0:a.portalNode);e&&!l(e)&&(e=e.current),e=e||document.body;let o=null;t&&((o=document.createElement("div")).id=t,e.appendChild(o));let i=document.createElement("div");i.id=r,i.setAttribute(tX,""),(e=o||e).appendChild(i),u.current=i,s(i)},[t,n,r,a]),i}function tJ(e){let{children:t,id:n,root:r=null,preserveTabOrder:a=!0}=e,i=t$({id:n,root:r}),[s,u]=o.useState(null),c=o.useRef(null),l=o.useRef(null),d=o.useRef(null),p=o.useRef(null),f=!!s&&!s.modal&&s.open&&a&&!!(r||i);return o.useEffect(()=>{if(i&&a&&(null==s||!s.modal))return i.addEventListener("focusin",e,!0),i.addEventListener("focusout",e,!0),()=>{i.removeEventListener("focusin",e,!0),i.removeEventListener("focusout",e,!0)};function e(e){i&&tz(e)&&("focusin"===e.type?function(e){e.querySelectorAll("[data-tabindex]").forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")})}:function(e){(0,eB.ht)(e,tB()).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})})(i)}},[i,a,null==s?void 0:s.modal]),o.createElement(tG.Provider,{value:o.useMemo(()=>({preserveTabOrder:a,beforeOutsideRef:c,afterOutsideRef:l,beforeInsideRef:d,afterInsideRef:p,portalNode:i,setFocusManagerState:u}),[a,i])},f&&i&&o.createElement(tZ,{"data-type":"outside",ref:c,onFocus:e=>{if(tz(e,i)){var t;null==(t=d.current)||t.focus()}else{let e=tK()||(null==s?void 0:s.refs.domReference.current);null==e||e.focus()}}}),f&&i&&o.createElement("span",{"aria-owns":i.id,style:tV}),i&&(0,eR.createPortal)(t,i),f&&i&&o.createElement(tZ,{"data-type":"outside",ref:l,onFocus:e=>{if(tz(e,i)){var t;null==(t=p.current)||t.focus()}else{let t=tQ()||(null==s?void 0:s.refs.domReference.current);null==t||t.focus(),(null==s?void 0:s.closeOnFocusOut)&&(null==s||s.onOpenChange(!1,e.nativeEvent))}}}))}let t0=()=>o.useContext(tG),t1=[];function t2(e){t1=t1.filter(e=>e.isConnected);let t=e;if(t&&"body"!==i(t)){if(!(0,eB.Wq)(t,tB())){let e=(0,eB.ht)(t,tB())[0];if(!e)return;t=e}t1.push(t),t1.length>20&&(t1=t1.slice(-20))}}function t6(){return t1.slice().reverse().find(e=>e.isConnected)}let t3=o.forwardRef(function(e,t){return o.createElement("button",tc({},e,{type:"button",ref:t,tabIndex:-1,style:tV}))});function t9(e){let{context:t,children:n,disabled:r=!1,order:a=["content"],guards:i=!0,initialFocus:s=0,returnFocus:u=!0,modal:c=!0,visuallyHiddenDismiss:l=!1,closeOnFocusOut:p=!0}=e,{open:f,refs:h,nodeId:m,onOpenChange:g,events:v,dataRef:y,elements:{domReference:b,floating:w}}=t,S="number"==typeof s&&s<0,M=L(b)&&S,E=!tW()||i,C=tM(a),O=tM(s),T=tM(u),I=tb(),_=t0(),F=o.useRef(null),W=o.useRef(null),A=o.useRef(!1),H=o.useRef(!1),j=null!=_,B=o.useCallback(function(e){return void 0===e&&(e=w),e?(0,eB.ht)(e,tB()):[]},[w]),q=o.useCallback(e=>{let t=B(e);return C.current.map(e=>b&&"reference"===e?b:w&&"floating"===e?w:t).filter(Boolean).flat()},[b,w,C,B]);function Q(e){return!r&&l&&c?o.createElement(t3,{ref:"start"===e?F:W,onClick:e=>g(!1,e.nativeEvent)},"string"==typeof l?l:"Dismiss"):null}o.useEffect(()=>{if(r||!c)return;function e(e){if("Tab"===e.key){k(w,D(N(w)))&&0===B().length&&!M&&R(e);let t=q(),n=Y(e);"reference"===C.current[0]&&n===b&&(R(e),e.shiftKey?e4(t[t.length-1]):e4(t[1])),"floating"===C.current[1]&&n===w&&e.shiftKey&&(R(e),e4(t[0]))}}let t=N(w);return t.addEventListener("keydown",e),()=>{t.removeEventListener("keydown",e)}},[r,b,w,c,C,M,B,q]),o.useEffect(()=>{if(!r&&p&&w&&d(b))return b.addEventListener("focusout",t),b.addEventListener("pointerdown",e),c||w.addEventListener("focusout",t),()=>{b.removeEventListener("focusout",t),b.removeEventListener("pointerdown",e),c||w.removeEventListener("focusout",t)};function e(){H.current=!0,setTimeout(()=>{H.current=!1})}function t(e){let t=e.relatedTarget;queueMicrotask(()=>{let n=!(k(b,t)||k(w,t)||k(t,w)||k(null==_?void 0:_.portalNode,t)||null!=t&&t.hasAttribute(tS("focus-guard"))||I&&(tY(I.nodesRef.current,m).find(e=>{var n,r;return k(null==(n=e.context)?void 0:n.elements.floating,t)||k(null==(r=e.context)?void 0:r.elements.domReference,t)})||(function(e,t){var n;let r=[],o=null==(n=e.find(e=>e.id===t))?void 0:n.parentId;for(;o;){let t=e.find(e=>e.id===o);o=null==t?void 0:t.parentId,t&&(r=r.concat(t))}return r})(I.nodesRef.current,m).find(e=>{var n,r;return(null==(n=e.context)?void 0:n.elements.floating)===t||(null==(r=e.context)?void 0:r.elements.domReference)===t})));t&&n&&!H.current&&t!==t6()&&(A.current=!0,g(!1,e))})}},[r,b,w,c,m,I,_,g,p]),o.useEffect(()=>{var e;if(r)return;let t=Array.from((null==_||null==(e=_.portalNode)?void 0:e.querySelectorAll("["+tS("portal")+"]"))||[]);if(w){let e=[w,...t,F.current,W.current,C.current.includes("reference")||M?b:null].filter(e=>null!=e),n=c||M?tj(e,E,!E):tj(e);return()=>{n()}}},[r,b,w,c,C,_,M,E]),e5(()=>{if(r||!w)return;let e=D(N(w));queueMicrotask(()=>{let t=q(w),n=O.current,r=("number"==typeof n?t[n]:n.current)||w,o=k(w,e);S||o||!f||e4(r,{preventScroll:r===w})})},[r,f,w,S,q,O]),e5(()=>{if(r||!w)return;let e=!1,t=N(w),n=D(t),o=y.current;function a(t){let{reason:n,event:r,nested:o}=t;"escape-key"===n&&h.domReference.current&&t2(h.domReference.current),"hover"===n&&"mouseleave"===r.type&&(A.current=!0),"outside-press"===n&&(o?(A.current=!1,e=!0):A.current=!(P(r)||x(r)))}return t2(n),v.on("openchange",a),()=>{v.off("openchange",a);let n=D(t),r=k(w,n)||I&&tY(I.nodesRef.current,m).some(e=>{var t;return k(null==(t=e.context)?void 0:t.elements.floating,n)});(r||o.openEvent&&["click","mousedown"].includes(o.openEvent.type))&&h.domReference.current&&t2(h.domReference.current);let i=t6();T.current&&!A.current&&d(i)&&(i===n||n===t.body||r)&&e4(i,{cancelPrevious:!1,preventScroll:e})}},[r,w,T,y,h,v,I,m]),e5(()=>{if(!r&&_)return _.setFocusManagerState({modal:c,closeOnFocusOut:p,open:f,onOpenChange:g,refs:h}),()=>{_.setFocusManagerState(null)}},[r,_,c,f,g,h,p]),e5(()=>{if(r||!w||"function"!=typeof MutationObserver||S)return;let e=()=>{let e=w.getAttribute("tabindex");C.current.includes("floating")||D(N(w))!==h.domReference.current&&0===B().length?"0"!==e&&w.setAttribute("tabindex","0"):"-1"!==e&&w.setAttribute("tabindex","-1")};e();let t=new MutationObserver(e);return t.observe(w,{childList:!0,subtree:!0,attributes:!0}),()=>{t.disconnect()}},[r,w,h,C,B,S]);let K=!r&&E&&(j||c);return o.createElement(o.Fragment,null,K&&o.createElement(tZ,{"data-type":"inside",ref:null==_?void 0:_.beforeInsideRef,onFocus:e=>{if(c){let e=q();e4("reference"===a[0]?e[0]:e[e.length-1])}else if(null!=_&&_.preserveTabOrder&&_.portalNode){if(A.current=!1,tz(e,_.portalNode)){let e=tQ()||b;null==e||e.focus()}else{var t;null==(t=_.beforeOutsideRef.current)||t.focus()}}}}),!M&&Q("start"),n,Q("end"),K&&o.createElement(tZ,{"data-type":"inside",ref:null==_?void 0:_.afterInsideRef,onFocus:e=>{if(c)e4(q()[0]);else if(null!=_&&_.preserveTabOrder&&_.portalNode){if(p&&(A.current=!0),tz(e,_.portalNode)){let e=tK()||b;null==e||e.focus()}else{var t;null==(t=_.afterOutsideRef.current)||t.focus()}}}}))}let t4=new Set,t5=o.forwardRef(function(e,t){let{lockScroll:n=!1,...r}=e,a=tf();return e5(()=>{if(!n)return;t4.add(a);let e=/iP(hone|ad|od)|iOS/.test(S()),t=document.body.style,r=Math.round(document.documentElement.getBoundingClientRect().left)+document.documentElement.scrollLeft?"paddingLeft":"paddingRight",o=window.innerWidth-document.documentElement.clientWidth,i=t.left?parseFloat(t.left):window.pageXOffset,s=t.top?parseFloat(t.top):window.pageYOffset;if(t.overflow="hidden",o&&(t[r]=o+"px"),e){var u,c;let e=(null==(u=window.visualViewport)?void 0:u.offsetLeft)||0;Object.assign(t,{position:"fixed",top:-(s-Math.floor((null==(c=window.visualViewport)?void 0:c.offsetTop)||0))+"px",left:-(i-Math.floor(e))+"px",right:"0"})}return()=>{t4.delete(a),0===t4.size&&(Object.assign(t,{overflow:"",[r]:""}),e&&(Object.assign(t,{position:"",top:"",left:"",right:""}),window.scrollTo(i,s)))}},[a,n]),o.createElement("div",tc({ref:t},r,{style:{position:"fixed",overflow:"auto",top:0,right:0,bottom:0,left:0,...r.style}}))});function t8(e){return d(e.target)&&"BUTTON"===e.target.tagName}function t7(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,dataRef:a,elements:{domReference:i}}=e,{enabled:s=!0,event:u="click",toggle:c=!0,ignoreMouse:l=!1,keyboardHandlers:d=!0}=t,p=o.useRef(),f=o.useRef(!1);return o.useMemo(()=>s?{reference:{onPointerDown(e){p.current=e.pointerType},onMouseDown(e){0!==e.button||T(p.current,!0)&&l||"click"===u||(n&&c&&(!a.current.openEvent||"mousedown"===a.current.openEvent.type)?r(!1,e.nativeEvent,"click"):(e.preventDefault(),r(!0,e.nativeEvent,"click")))},onClick(e){if("mousedown"===u&&p.current){p.current=void 0;return}T(p.current,!0)&&l||(n&&c&&(!a.current.openEvent||"click"===a.current.openEvent.type)?r(!1,e.nativeEvent,"click"):r(!0,e.nativeEvent,"click"))},onKeyDown(e){p.current=void 0,e.defaultPrevented||!d||t8(e)||(" "!==e.key||_(i)||(e.preventDefault(),f.current=!0),"Enter"===e.key&&(n&&c?r(!1,e.nativeEvent,"click"):r(!0,e.nativeEvent,"click")))},onKeyUp(e){!(e.defaultPrevented||!d||t8(e)||_(i))&&" "===e.key&&f.current&&(f.current=!1,n&&c?r(!1,e.nativeEvent,"click"):r(!0,e.nativeEvent,"click"))}}}:{},[s,a,u,l,d,i,c,n,r])}function ne(e){return null!=e&&null!=e.clientX}function nt(e,t){void 0===t&&(t={});let{open:n,refs:r,dataRef:a,elements:{floating:i}}=e,{enabled:u=!0,axis:c="both",x:l=null,y:d=null}=t,p=o.useRef(!1),f=o.useRef(null),[h,m]=o.useState(),[g,v]=o.useState([]),y=eK((e,t)=>{if(!p.current){var n,o;let i,s,u;(!a.current.openEvent||ne(a.current.openEvent))&&r.setPositionReference((n=r.domReference,o={x:e,y:t,axis:c,dataRef:a,pointerType:h},i=null,s=null,u=!1,{contextElement:n.current||void 0,getBoundingClientRect(){var e,t;let r=(null==(e=n.current)?void 0:e.getBoundingClientRect())||{width:0,height:0,x:0,y:0},a="x"===o.axis||"both"===o.axis,c="y"===o.axis||"both"===o.axis,l=["mouseenter","mousemove"].includes((null==(t=o.dataRef.current.openEvent)?void 0:t.type)||"")&&"touch"!==o.pointerType,d=r.width,p=r.height,f=r.x,h=r.y;return null==i&&o.x&&a&&(i=r.x-o.x),null==s&&o.y&&c&&(s=r.y-o.y),f-=i||0,h-=s||0,d=0,p=0,!u||l?(d="y"===o.axis?r.width:0,p="x"===o.axis?r.height:0,f=a&&null!=o.x?o.x:f,h=c&&null!=o.y?o.y:h):u&&!l&&(p="x"===o.axis?r.height:p,d="y"===o.axis?r.width:d),u=!0,{width:d,height:p,x:f,y:h,top:h,right:f+d,bottom:h+p,left:f}}}))}}),b=eK(e=>{null!=l||null!=d||(n?f.current||v([]):y(e.clientX,e.clientY))}),w=T(h)?i:n,D=o.useCallback(()=>{if(!w||!u||null!=l||null!=d)return;let e=s(r.floating.current);function t(n){let o=Y(n);k(r.floating.current,o)?(e.removeEventListener("mousemove",t),f.current=null):y(n.clientX,n.clientY)}if(!a.current.openEvent||ne(a.current.openEvent)){e.addEventListener("mousemove",t);let n=()=>{e.removeEventListener("mousemove",t),f.current=null};return f.current=n,n}r.setPositionReference(r.domReference.current)},[a,u,w,r,y,l,d]);return o.useEffect(()=>D(),[D,g]),o.useEffect(()=>{u&&!i&&(p.current=!1)},[u,i]),o.useEffect(()=>{!u&&n&&(p.current=!0)},[u,n]),e5(()=>{u&&(null!=l||null!=d)&&(p.current=!1,y(l,d))},[u,l,d,y]),o.useMemo(()=>{if(!u)return{};function e(e){let{pointerType:t}=e;m(t)}return{reference:{onPointerDown:e,onPointerEnter:e,onMouseMove:b,onMouseEnter:b}}},[u,b])}let nn={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},nr={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},no=e=>{var t,n;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function na(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,nodeId:a,elements:{reference:i,domReference:s,floating:u},dataRef:c}=e,{enabled:p=!0,escapeKey:f=!0,outsidePress:h=!0,outsidePressEvent:m="pointerdown",referencePress:y=!1,referencePressEvent:D="pointerdown",ancestorScroll:S=!1,bubbles:M,capture:P}=t,x=tb(),E=eK("function"==typeof h?h:()=>!1),C="function"==typeof h?E:h,O=o.useRef(!1),T=o.useRef(!1),{escapeKey:_,outsidePress:R}=no(M),{escapeKey:L,outsidePress:F}=no(P),W=eK(e=>{if(!n||!p||!f||"Escape"!==e.key)return;let t=x?tY(x.nodesRef.current,a):[];if(!_&&(e.stopPropagation(),t.length>0)){let e=!0;if(t.forEach(t=>{var n;if(null!=(n=t.context)&&n.open&&!t.context.dataRef.current.__escapeKeyBubbles){e=!1;return}}),!e)return}r(!1,"nativeEvent"in e?e.nativeEvent:e,"escape-key")}),A=eK(e=>{var t;let n=()=>{var t;W(e),null==(t=Y(e))||t.removeEventListener("keydown",n)};null==(t=Y(e))||t.addEventListener("keydown",n)}),H=eK(e=>{let t=O.current;O.current=!1;let n=T.current;if(T.current=!1,"click"===m&&n||t||"function"==typeof C&&!C(e))return;let o=Y(e),i="["+tS("inert")+"]",c=N(u).querySelectorAll(i),p=l(o)?o:null;for(;p&&!g(p);){let e=b(p);if(g(e)||!l(e))break;p=e}if(c.length&&l(o)&&!o.matches("html,body")&&!k(o,u)&&Array.from(c).every(e=>!k(p,e)))return;if(d(o)&&u){let t=o.clientWidth>0&&o.scrollWidth>o.clientWidth,n=o.clientHeight>0&&o.scrollHeight>o.clientHeight,r=n&&e.offsetX>o.clientWidth;if(n&&"rtl"===v(o).direction&&(r=e.offsetX<=o.offsetWidth-o.clientWidth),r||t&&e.offsetY>o.clientHeight)return}let f=x&&tY(x.nodesRef.current,a).some(t=>{var n;return I(e,null==(n=t.context)?void 0:n.elements.floating)});if(I(e,u)||I(e,s)||f)return;let h=x?tY(x.nodesRef.current,a):[];if(h.length>0){let e=!0;if(h.forEach(t=>{var n;if(null!=(n=t.context)&&n.open&&!t.context.dataRef.current.__outsidePressBubbles){e=!1;return}}),!e)return}r(!1,e,"outside-press")}),j=eK(e=>{var t;let n=()=>{var t;H(e),null==(t=Y(e))||t.removeEventListener(m,n)};null==(t=Y(e))||t.addEventListener(m,n)});return o.useEffect(()=>{if(!n||!p)return;function e(e){r(!1,e,"ancestor-scroll")}c.current.__escapeKeyBubbles=_,c.current.__outsidePressBubbles=R;let t=N(u);f&&t.addEventListener("keydown",L?A:W,L),C&&t.addEventListener(m,F?j:H,F);let o=[];return S&&(l(s)&&(o=w(s)),l(u)&&(o=o.concat(w(u))),!l(i)&&i&&i.contextElement&&(o=o.concat(w(i.contextElement)))),(o=o.filter(e=>{var n;return e!==(null==(n=t.defaultView)?void 0:n.visualViewport)})).forEach(t=>{t.addEventListener("scroll",e,{passive:!0})}),()=>{f&&t.removeEventListener("keydown",L?A:W,L),C&&t.removeEventListener(m,F?j:H,F),o.forEach(t=>{t.removeEventListener("scroll",e)})}},[c,u,s,i,f,C,m,n,r,S,p,_,R,W,L,A,H,F,j]),o.useEffect(()=>{O.current=!1},[C,m]),o.useMemo(()=>p?{reference:{onKeyDown:W,[nn[D]]:e=>{y&&r(!1,e.nativeEvent,"reference-press")}},floating:{onKeyDown:W,onMouseDown(){T.current=!0},onMouseUp(){T.current=!0},[nr[m]]:()=>{O.current=!0}}}:{},[p,y,m,D,r,W])}function ni(e){var t;void 0===e&&(e={});let{open:n=!1,onOpenChange:r,nodeId:a}=e,[i,s]=o.useState(null),u=(null==(t=e.elements)?void 0:t.reference)||i,c=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:a,elements:{reference:i,floating:s}={},transform:u=!0,whileElementsMounted:c,open:l}=e,[d,p]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,h]=o.useState(r);eW(f,r)||h(r);let[m,g]=o.useState(null),[v,y]=o.useState(null),b=o.useCallback(e=>{e!==S.current&&(S.current=e,g(e))},[]),w=o.useCallback(e=>{e!==M.current&&(M.current=e,y(e))},[]),D=i||m,k=s||v,S=o.useRef(null),M=o.useRef(null),P=o.useRef(d),x=null!=c,E=ej(c),C=ej(a),O=o.useCallback(()=>{if(!S.current||!M.current)return;let e={placement:t,strategy:n,middleware:f};C.current&&(e.platform=C.current),e_(S.current,M.current,e).then(e=>{let t={...e,isPositioned:!0};T.current&&!eW(P.current,t)&&(P.current=t,eR.flushSync(()=>{p(t)}))})},[f,t,n,C]);eF(()=>{!1===l&&P.current.isPositioned&&(P.current.isPositioned=!1,p(e=>({...e,isPositioned:!1})))},[l]);let T=o.useRef(!1);eF(()=>(T.current=!0,()=>{T.current=!1}),[]),eF(()=>{if(D&&(S.current=D),k&&(M.current=k),D&&k){if(E.current)return E.current(D,k,O);O()}},[D,k,O,E,x]);let N=o.useMemo(()=>({reference:S,floating:M,setReference:b,setFloating:w}),[b,w]),I=o.useMemo(()=>({reference:D,floating:k}),[D,k]),Y=o.useMemo(()=>{let e={position:n,left:0,top:0};if(!I.floating)return e;let t=eH(I.floating,d.x),r=eH(I.floating,d.y);return u?{...e,transform:"translate("+t+"px, "+r+"px)",...eA(I.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,u,I.floating,d.x,d.y]);return o.useMemo(()=>({...d,update:O,refs:N,elements:I,floatingStyles:Y}),[d,O,N,I,Y])}(e),d=tb(),p=null!=ty(),f=eK((e,t,n)=>{e&&(m.current.openEvent=t),g.emit("openchange",{open:e,event:t,reason:n,nested:p}),null==r||r(e,t,n)}),h=o.useRef(null),m=o.useRef({}),g=o.useState(()=>tm())[0],v=tf(),y=o.useCallback(e=>{let t=l(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;c.refs.setReference(t)},[c.refs]),b=o.useCallback(e=>{(l(e)||null===e)&&(h.current=e,s(e)),(l(c.refs.reference.current)||null===c.refs.reference.current||null!==e&&!l(e))&&c.refs.setReference(e)},[c.refs]),w=o.useMemo(()=>({...c.refs,setReference:b,setPositionReference:y,domReference:h}),[c.refs,b,y]),D=o.useMemo(()=>({...c.elements,domReference:u}),[c.elements,u]),k=o.useMemo(()=>({...c,refs:w,elements:D,dataRef:m,nodeId:a,floatingId:v,events:g,open:n,onOpenChange:f}),[c,a,v,g,n,f,w,D]);return e5(()=>{let e=null==d?void 0:d.nodesRef.current.find(e=>e.id===a);e&&(e.context=k)}),o.useMemo(()=>({...c,context:k,refs:w,elements:D}),[c,w,D,k])}function ns(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,events:a,refs:i,elements:{domReference:u}}=e,{enabled:c=!0,visibleOnly:p=!0}=t,f=o.useRef(!1),h=o.useRef(),m=o.useRef(!0);return o.useEffect(()=>{if(!c)return;let e=s(u);function t(){!n&&d(u)&&u===D(N(u))&&(f.current=!0)}function r(){m.current=!0}return e.addEventListener("blur",t),e.addEventListener("keydown",r,!0),()=>{e.removeEventListener("blur",t),e.removeEventListener("keydown",r,!0)}},[u,n,c]),o.useEffect(()=>{if(c)return a.on("openchange",e),()=>{a.off("openchange",e)};function e(e){let{reason:t}=e;("reference-press"===t||"escape-key"===t)&&(f.current=!0)}},[a,c]),o.useEffect(()=>()=>{clearTimeout(h.current)},[]),o.useMemo(()=>c?{reference:{onPointerDown(e){x(e.nativeEvent)||(m.current=!1)},onMouseLeave(){f.current=!1},onFocus(e){if(f.current)return;let t=Y(e.nativeEvent);if(p&&l(t))try{if(E()&&O())throw Error();if(!t.matches(":focus-visible"))return}catch(e){if(!m.current&&!_(t))return}r(!0,e.nativeEvent,"focus")},onBlur(e){f.current=!1;let t=e.relatedTarget,n=l(t)&&t.hasAttribute(tS("focus-guard"))&&"outside"===t.getAttribute("data-type");h.current=window.setTimeout(()=>{let o=D(u?u.ownerDocument:document);if(t||o!==u){if(k(i.floating.current,o)||k(u,o)||n)return;r(!1,e.nativeEvent,"focus")}})}}}:{},[c,p,u,i,r])}let nu="active",nc="selected";function nl(e,t,n){let r=new Map,o="item"===n,a=e;if(o&&e){let{[nu]:t,[nc]:n,...r}=e;a=r}return{..."floating"===n&&{tabIndex:-1},...a,...t.map(t=>{let r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r}).concat(e).reduce((e,t)=>(t&&Object.entries(t).forEach(t=>{let[n,a]=t;if(!(o&&[nu,nc].includes(n))){if(0===n.indexOf("on")){if(r.has(n)||r.set(n,[]),"function"==typeof a){var i;null==(i=r.get(n))||i.push(a),e[n]=function(){for(var e,t=arguments.length,o=Array(t),a=0;ae(...o)).find(e=>void 0!==e)}}}else e[n]=a}}),e),{})}}function nd(e){void 0===e&&(e=[]);let t=e,n=o.useCallback(t=>nl(t,e,"reference"),t),r=o.useCallback(t=>nl(t,e,"floating"),t),a=o.useCallback(t=>nl(t,e,"item"),e.map(e=>null==e?void 0:e.item));return o.useMemo(()=>({getReferenceProps:n,getFloatingProps:r,getItemProps:a}),[n,r,a])}let np=!1;function nf(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function nh(e,t){return nf(t,e===ez||e===eV,e===eU||e===eZ)}function nm(e,t,n){return nf(t,e===eV,n?e===eU:e===eZ)||"Enter"===e||" "===e||""===e}function ng(e,t,n){return nf(t,n?e===eZ:e===eU,e===ez)}function nv(e,t){let{open:n,onOpenChange:r,refs:a,elements:{domReference:i,floating:s}}=e,{listRef:u,activeIndex:c,onNavigate:l=()=>{},enabled:p=!0,selectedIndex:f=null,allowEscape:h=!1,loop:m=!1,nested:g=!1,rtl:v=!1,virtual:y=!1,focusItemOnOpen:b="auto",focusItemOnHover:w=!0,openOnArrowKeyDown:S=!0,disabledIndices:M,orientation:C="vertical",cols:T=1,scrollItemIntoView:I=!0,virtualItemRef:Y,itemSizes:_,dense:F=!1}=t,W=ty(),A=tb(),H=eK(l),j=o.useRef(b),B=o.useRef(null!=f?f:-1),q=o.useRef(null),Q=o.useRef(!0),K=o.useRef(H),z=o.useRef(!!s),V=o.useRef(!1),U=o.useRef(!1),Z=tM(M),G=tM(n),X=tM(I),[$,J]=o.useState(),[ee,et]=o.useState(),en=eK(function(e,t,n){void 0===n&&(n=!1);let r=e.current[t.current];r&&(y?(J(r.id),null==A||A.events.emit("virtualfocus",r),Y&&(Y.current=r)):e4(r,{preventScroll:!0,sync:!!(O()&&E())&&(np||V.current)}),requestAnimationFrame(()=>{let e=X.current;e&&r&&(n||!Q.current)&&(null==r.scrollIntoView||r.scrollIntoView("boolean"==typeof e?{block:"nearest",inline:"nearest"}:e))}))});e5(()=>{document.createElement("div").focus({get preventScroll(){return np=!0,!1}})},[]),e5(()=>{p&&(n&&s?j.current&&null!=f&&(U.current=!0,B.current=f,H(f)):z.current&&(B.current=-1,K.current(null)))},[p,n,s,f,H]),e5(()=>{if(p&&n&&s){if(null==c){if(V.current=!1,null==f&&(z.current&&(B.current=-1,en(u,B)),!z.current&&j.current&&(null!=q.current||!0===j.current&&null==q.current))){let e=0,t=()=>{null==u.current[0]?(e<2&&(e?requestAnimationFrame:queueMicrotask)(t),e++):(B.current=null==q.current||nm(q.current,C,v)||g?e$(u,Z.current):eJ(u,Z.current),q.current=null,H(B.current))};t()}}else eX(u,c)||(B.current=c,en(u,B,U.current),U.current=!1)}},[p,n,s,c,f,g,u,C,v,H,en,Z]),e5(()=>{var e;if(!p||s||!A||y||!z.current)return;let t=A.nodesRef.current,n=null==(e=t.find(e=>e.id===W))||null==(e=e.context)?void 0:e.elements.floating,r=D(N(s)),o=t.some(e=>e.context&&k(e.context.elements.floating,r));n&&!o&&Q.current&&n.focus({preventScroll:!0})},[p,s,A,W,y]),e5(()=>{if(p&&A&&y&&!W)return A.events.on("virtualfocus",e),()=>{A.events.off("virtualfocus",e)};function e(e){et(e.id),Y&&(Y.current=e)}},[p,A,y,W,Y]),e5(()=>{K.current=H,z.current=!!s}),e5(()=>{n||(q.current=null)},[n]);let er=null!=c,eo=o.useMemo(()=>{function e(e){if(!n)return;let t=u.current.indexOf(e);-1!==t&&H(t)}return{onFocus(t){let{currentTarget:n}=t;e(n)},onClick:e=>{let{currentTarget:t}=e;return t.focus({preventScroll:!0})},...w&&{onMouseMove(t){let{currentTarget:n}=t;e(n)},onPointerLeave(e){let{pointerType:t}=e;Q.current&&"touch"!==t&&(B.current=-1,en(u,B),H(null),y||e4(a.floating.current,{preventScroll:!0}))}}}},[n,a,en,w,u,H,y]);return o.useMemo(()=>{if(!p)return{};let e=Z.current;function t(t){if(Q.current=!1,V.current=!0,!G.current&&t.currentTarget===a.floating.current)return;if(g&&ng(t.key,C,v)){R(t),r(!1,t.nativeEvent,"list-navigation"),d(i)&&!y&&i.focus();return}let o=B.current,s=e$(u,e),c=eJ(u,e);if("Home"===t.key&&(R(t),B.current=s,H(B.current)),"End"===t.key&&(R(t),B.current=c,H(B.current)),T>1){let n=_||Array.from({length:u.current.length},()=>({width:1,height:1})),r=e2(n,T,F),o=r.findIndex(t=>null!=t&&!(null!=e&&e.includes(t))),a=r.reduce((t,n,r)=>null==n||null!=e&&e.includes(n)?t:r,-1);if(B.current=r[e1({current:r.map(e=>null!=e?u.current[e]:null)},{event:t,orientation:C,loop:m,cols:T,disabledIndices:e3([...e||[],void 0],r),minIndex:o,maxIndex:a,prevIndex:e6(B.current,n,r,T,t.key===eV?"bl":t.key===eZ?"tr":"tl"),stopEvent:!0})],H(B.current),"both"===C)return}if(nh(t.key,C)){if(R(t),n&&!y&&D(t.currentTarget.ownerDocument)===t.currentTarget){B.current=nm(t.key,C,v)?s:c,H(B.current);return}nm(t.key,C,v)?m?B.current=o>=c?h&&o!==u.current.length?-1:s:e0(u,{startingIndex:o,disabledIndices:e}):B.current=Math.min(c,e0(u,{startingIndex:o,disabledIndices:e})):m?B.current=o<=s?h&&-1!==o?u.current.length:c:e0(u,{startingIndex:o,decrement:!0,disabledIndices:e}):B.current=Math.max(s,e0(u,{startingIndex:o,decrement:!0,disabledIndices:e})),eX(u,B.current)?H(null):H(B.current)}}function o(e){"auto"===b&&P(e.nativeEvent)&&(j.current=!0)}let s=y&&n&&er&&{"aria-activedescendant":ee||$},c=u.current.find(e=>(null==e?void 0:e.id)===$);return{reference:{...s,onKeyDown(o){var a,i,s,l,d,p;Q.current=!1;let h=0===o.key.indexOf("Arrow"),m=(a=o.key,nf(C,v?a===eU:a===eZ,a===eV)),b=ng(o.key,C,v),w=nh(o.key,C),D=(g?m:w)||"Enter"===o.key||""===o.key.trim();if(y&&n){let e,n;let r=null==A?void 0:A.nodesRef.current.find(e=>null==e.parentId),a=A&&r?(i=A.nodesRef.current,s=r.id,n=-1,!function t(r,o){o>n&&(e=r,n=o),tY(i,r).forEach(e=>{t(e.id,o+1)})}(s,0),i.find(t=>t.id===e)):null;if(h&&a&&Y){let e=new KeyboardEvent("keydown",{key:o.key,bubbles:!0});if(m||b){let t=(null==(l=a.context)?void 0:l.elements.domReference)===o.currentTarget,n=b&&!t?null==(d=a.context)?void 0:d.elements.domReference:m?c:null;n&&(R(o),n.dispatchEvent(e),et(void 0))}if(w&&a.context&&a.context.open&&a.parentId&&o.currentTarget!==a.context.elements.domReference){R(o),null==(p=a.context.elements.domReference)||p.dispatchEvent(e);return}}return t(o)}if(n||S||!h){if(D&&(q.current=g&&w?null:o.key),g){m&&(R(o),n?(B.current=e$(u,e),H(B.current)):r(!0,o.nativeEvent,"list-navigation"));return}w&&(null!=f&&(B.current=f),R(o),!n&&S?r(!0,o.nativeEvent,"list-navigation"):t(o),n&&H(B.current))}},onFocus(){n&&H(null)},onPointerDown:function(e){j.current=b,"auto"===b&&x(e.nativeEvent)&&(j.current=!0)},onMouseDown:o,onClick:o},floating:{"aria-orientation":"both"===C?void 0:C,...!L(i)&&s,onKeyDown:t,onPointerMove(){Q.current=!0}},item:eo}},[i,a,$,ee,Z,G,u,p,C,v,y,n,er,g,f,S,h,T,m,b,H,r,eo,A,Y,_,F])}let ny=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function nb(e,t){var n;void 0===t&&(t={});let{open:r,floatingId:a}=e,{enabled:i=!0,role:s="dialog"}=t,u=null!=(n=ny.get(s))?n:s,c=tf(),l=null!=ty();return o.useMemo(()=>{if(!i)return{};let e={id:a,...u&&{role:u}};return"tooltip"===u||"label"===s?{reference:{["aria-"+("label"===s?"labelledby":"describedby")]:r?a:void 0},floating:e}:{reference:{"aria-expanded":r?"true":"false","aria-haspopup":"alertdialog"===u?"dialog":u,"aria-controls":r?a:void 0,..."listbox"===u&&{role:"combobox"},..."menu"===u&&{id:c},..."menu"===u&&l&&{role:"menuitem"},..."select"===s&&{"aria-autocomplete":"none"},..."combobox"===s&&{"aria-autocomplete":"list"}},floating:{...e,..."menu"===u&&{"aria-labelledby":c}},item(e){let{active:t,selected:n}=e,r={role:"option",...t&&{id:a+"-option"}};switch(s){case"select":return{...r,"aria-selected":t&&n};case"combobox":return{...r,...t&&{"aria-selected":!0}}}return{}}}},[i,s,u,r,a,c,l])}let nw=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(e,t)=>(t?"-":"")+e.toLowerCase());function nD(e,t){return"function"==typeof e?e(t):e}function nk(e,t){void 0===t&&(t={});let{open:n,elements:{floating:r}}=e,{duration:a=250}=t,i=("number"==typeof a?a:a.close)||0,[s,u]=o.useState(!1),[c,l]=o.useState("unmounted"),d=function(e,t){let[n,r]=o.useState(e);return e&&!n&&r(!0),o.useEffect(()=>{if(!e){let e=setTimeout(()=>r(!1),t);return()=>clearTimeout(e)}},[e,t]),n}(n,i);return e5(()=>{s&&!d&&l("unmounted")},[s,d]),e5(()=>{if(r){if(n){l("initial");let e=requestAnimationFrame(()=>{l("open")});return()=>{cancelAnimationFrame(e)}}u(!0),l("close")}},[n,r]),{isMounted:d,status:c}}function nS(e,t){void 0===t&&(t={});let{initial:n={opacity:0},open:r,close:a,common:i,duration:s=250}=t,u=e.placement,c=u.split("-")[0],l=o.useMemo(()=>({side:c,placement:u}),[c,u]),d="number"==typeof s,p=(d?s:s.open)||0,f=(d?s:s.close)||0,[h,m]=o.useState(()=>({...nD(i,l),...nD(n,l)})),{isMounted:g,status:v}=nk(e,{duration:s}),y=tM(n),b=tM(r),w=tM(a),D=tM(i);return e5(()=>{let e=nD(y.current,l),t=nD(w.current,l),n=nD(D.current,l),r=nD(b.current,l)||Object.keys(e).reduce((e,t)=>(e[t]="",e),{});if("initial"===v&&m(t=>({transitionProperty:t.transitionProperty,...n,...e})),"open"===v&&m({transitionProperty:Object.keys(r).map(nw).join(","),transitionDuration:p+"ms",...n,...r}),"close"===v){let r=t||e;m({transitionProperty:Object.keys(r).map(nw).join(","),transitionDuration:f+"ms",...n,...r})}},[f,w,y,b,D,p,v,l]),{isMounted:g,styles:h}}function nM(e,t){var n;let{open:r,dataRef:a}=e,{listRef:i,activeIndex:s,onMatch:u,onTypingChange:c,enabled:l=!0,findMatch:d=null,resetMs:p=750,ignoreKeys:f=[],selectedIndex:h=null}=t,m=o.useRef(),g=o.useRef(""),v=o.useRef(null!=(n=null!=h?h:s)?n:-1),y=o.useRef(null),b=eK(u),w=eK(c),D=tM(d),k=tM(f);return e5(()=>{r&&(clearTimeout(m.current),y.current=null,g.current="")},[r]),e5(()=>{if(r&&""===g.current){var e;v.current=null!=(e=null!=h?h:s)?e:-1}},[r,h,s]),o.useMemo(()=>{if(!l)return{};function e(e){e?a.current.typing||(a.current.typing=e,w(e)):a.current.typing&&(a.current.typing=e,w(e))}function t(e,t,n){let r=D.current?D.current(t,n):t.find(e=>(null==e?void 0:e.toLocaleLowerCase().indexOf(n.toLocaleLowerCase()))===0);return r?e.indexOf(r):-1}function n(n){let o=i.current;if(g.current.length>0&&" "!==g.current[0]&&(-1===t(o,o,g.current)?e(!1):" "===n.key&&R(n)),null==o||k.current.includes(n.key)||1!==n.key.length||n.ctrlKey||n.metaKey||n.altKey)return;r&&" "!==n.key&&(R(n),e(!0)),o.every(e=>{var t,n;return!e||(null==(t=e[0])?void 0:t.toLocaleLowerCase())!==(null==(n=e[1])?void 0:n.toLocaleLowerCase())})&&g.current===n.key&&(g.current="",v.current=y.current),g.current+=n.key,clearTimeout(m.current),m.current=setTimeout(()=>{g.current="",v.current=y.current,e(!1)},p);let a=v.current,s=t(o,[...o.slice((a||0)+1),...o.slice(0,(a||0)+1)],g.current);-1!==s?(b(s),y.current=s):" "!==n.key&&(g.current="",e(!1))}return{reference:{onKeyDown:n},floating:{onKeyDown:n,onKeyUp(t){" "===t.key&&e(!1)}}}},[l,r,a,i,p,k,D,b,w])}function nP(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}let nx=e=>({name:"inner",options:e,async fn(t){let{listRef:n,overflowRef:r,onFallbackChange:o,offset:a=0,index:i=0,minItemsVisible:s=4,referenceOverflowThreshold:u=0,scrollRef:c,...l}=e,{rects:d,elements:{floating:p}}=t,f=n.current[i];if(!f)return{};let h={...t,...await el(-f.offsetTop-p.clientTop-d.reference.height/2-f.offsetHeight/2-a).fn(t)},m=(null==c?void 0:c.current)||p,g=await ea(nP(h,m.scrollHeight),l),v=await ea(h,{...l,elementContext:"reference"}),y=Math.max(0,g.top),b=h.y+y,w=Math.max(0,m.scrollHeight-y-Math.max(0,g.bottom));return m.style.maxHeight=w+"px",m.scrollTop=y,o&&(m.offsetHeight=-u||v.bottom>=-u?(0,eR.flushSync)(()=>o(!0)):(0,eR.flushSync)(()=>o(!1))),r&&(r.current=await ea(nP({...h,y:b},m.offsetHeight),l)),{y:b}}});function nE(e,t){let{open:n,elements:r}=e,{enabled:a=!0,overflowRef:i,scrollRef:s,onChange:u}=t,c=eK(u),l=o.useRef(!1),d=o.useRef(null),p=o.useRef(null);return o.useEffect(()=>{if(!a)return;function e(e){if(e.ctrlKey||!t||null==i.current)return;let n=e.deltaY,r=i.current.top>=-.5,o=i.current.bottom>=-.5,a=t.scrollHeight-t.clientHeight,s=n<0?-1:1,u=n<0?"max":"min";!(t.scrollHeight<=t.clientHeight)&&(!r&&n>0||!o&&n<0?(e.preventDefault(),(0,eR.flushSync)(()=>{c(e=>e+Math[u](n,a*s))})):/firefox/i.test(M())&&(t.scrollTop+=n))}let t=(null==s?void 0:s.current)||r.floating;if(n&&t)return t.addEventListener("wheel",e),requestAnimationFrame(()=>{d.current=t.scrollTop,null!=i.current&&(p.current={...i.current})}),()=>{d.current=null,p.current=null,t.removeEventListener("wheel",e)}},[a,n,r.floating,i,s,c]),o.useMemo(()=>a?{floating:{onKeyDown(){l.current=!0},onWheel(){l.current=!1},onPointerMove(){l.current=!1},onScroll(){let e=(null==s?void 0:s.current)||r.floating;if(i.current&&e&&l.current){if(null!==d.current){let t=e.scrollTop-d.current;(i.current.bottom<-.5&&t<-1||i.current.top<-.5&&t>1)&&(0,eR.flushSync)(()=>c(e=>e+t))}requestAnimationFrame(()=>{d.current=e.scrollTop})}}}}:{},[a,i,r.floating,s,c])}function nC(e,t){let[n,r]=e,o=!1,a=t.length;for(let e=0,i=a-1;e=r!=c>=r&&n<=(u-a)*(r-s)/(c-s)+a&&(o=!o)}return o}function nO(e){let t;void 0===e&&(e={});let{buffer:n=.5,blockPointerEvents:r=!1,requireIntent:o=!0}=e,a=!1,i=null,s=null,u=performance.now(),c=e=>{let{x:r,y:c,placement:d,elements:p,onClose:f,nodeId:h,tree:m}=e;return function(e){function g(){clearTimeout(t),f()}if(clearTimeout(t),!p.domReference||!p.floating||null==d||null==r||null==c)return;let{clientX:v,clientY:y}=e,b=[v,y],w=Y(e),D="mouseleave"===e.type,S=k(p.floating,w),M=k(p.domReference,w),P=p.domReference.getBoundingClientRect(),x=p.floating.getBoundingClientRect(),E=d.split("-")[0],C=r>x.right-x.width/2,O=c>x.bottom-x.height/2,T=b[0]>=P.x&&b[0]<=P.x+P.width&&b[1]>=P.y&&b[1]<=P.y+P.height,N=x.width>P.width,I=x.height>P.height,_=(N?P:x).left,R=(N?P:x).right,L=(I?P:x).top,F=(I?P:x).bottom;if(S&&(a=!0,!D))return;if(M&&(a=!1),M&&!D){a=!0;return}if(D&&l(e.relatedTarget)&&k(p.floating,e.relatedTarget)||m&&tY(m.nodesRef.current,h).some(e=>{let{context:t}=e;return null==t?void 0:t.open}))return;if("top"===E&&c>=P.bottom-1||"bottom"===E&&c<=P.top+1||"left"===E&&r>=P.right-1||"right"===E&&r<=P.left+1)return g();let W=[];switch(E){case"top":W=[[_,P.top+1],[_,x.bottom-1],[R,x.bottom-1],[R,P.top+1]];break;case"bottom":W=[[_,x.top+1],[_,P.bottom-1],[R,P.bottom-1],[R,x.top+1]];break;case"left":W=[[x.right-1,F],[x.right-1,L],[P.left+1,L],[P.left+1,F]];break;case"right":W=[[P.right-1,F],[P.right-1,L],[x.left+1,L],[x.left+1,F]]}if(!nC([v,y],W)){if(a&&!T)return g();if(!D&&o){let t=function(e,t){let n=performance.now(),r=n-u;if(null===i||null===s||0===r)return i=e,s=t,u=n,null;let o=e-i,a=t-s;return i=e,s=t,u=n,Math.sqrt(o*o+a*a)/r}(e.clientX,e.clientY);if(null!==t&&t<.1)return g()}nC([v,y],function(e){let[t,r]=e;switch(E){case"top":{let e=[[x.left,C?x.bottom-n:N?x.bottom-n:x.top],[x.right,C?N?x.bottom-n:x.top:x.bottom-n]];return[[N?t+n/2:C?t+4*n:t-4*n,r+n+1],[N?t-n/2:C?t+4*n:t-4*n,r+n+1],...e]}case"bottom":{let e=[[x.left,C?x.top+n:N?x.top+n:x.bottom],[x.right,C?N?x.top+n:x.bottom:x.top+n]];return[[N?t+n/2:C?t+4*n:t-4*n,r-n],[N?t-n/2:C?t+4*n:t-4*n,r-n],...e]}case"left":return[[O?x.right-n:I?x.right-n:x.left,x.top],[O?I?x.right-n:x.left:x.right-n,x.bottom],[t+n+1,I?r+n/2:O?r+4*n:r-4*n],[t+n+1,I?r-n/2:O?r+4*n:r-4*n]];case"right":{let e=[[O?x.left+n:I?x.left+n:x.right,x.top],[O?I?x.left+n:x.right:x.left+n,x.bottom]];return[[t-n,I?r+n/2:O?r+4*n:r-4*n],[t-n,I?r-n/2:O?r+4*n:r-4*n],...e]}}}([r,c]))?!a&&o&&(t=window.setTimeout(g,40)):g()}}};return c.__options={blockPointerEvents:r},c}},70864:function(e){function t(){for(var e,t,n=0,r="",o=arguments.length;n0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),a=r%60;return 0===a?n+String(o):n+String(o)+t+(0,u.addLeadingZeros)(a,2)}function p(e,t){return e%60==0?(e>0?"-":"+")+(0,u.addLeadingZeros)(Math.abs(e)/60,2):f(e,t)}function f(e,t=""){let n=Math.abs(e);return(e>0?"-":"+")+(0,u.addLeadingZeros)(Math.trunc(n/60),2)+t+(0,u.addLeadingZeros)(n%60,2)}t.formatters={G:function(e,t,n){let r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){let t=e.getFullYear();return n.ordinalNumber(t>0?t:1-t,{unit:"year"})}return c.lightFormatters.y(e,t)},Y:function(e,t,n,r){let o=(0,s.getWeekYear)(e,r),a=o>0?o:1-o;if("YY"===t){let e=a%100;return(0,u.addLeadingZeros)(e,2)}return"Yo"===t?n.ordinalNumber(a,{unit:"year"}):(0,u.addLeadingZeros)(a,t.length)},R:function(e,t){let n=(0,a.getISOWeekYear)(e);return(0,u.addLeadingZeros)(n,t.length)},u:function(e,t){let n=e.getFullYear();return(0,u.addLeadingZeros)(n,t.length)},Q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return(0,u.addLeadingZeros)(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return(0,u.addLeadingZeros)(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){let r=e.getMonth();switch(t){case"M":case"MM":return c.lightFormatters.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){let r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return(0,u.addLeadingZeros)(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){let o=(0,i.getWeek)(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):(0,u.addLeadingZeros)(o,t.length)},I:function(e,t,n){let r=(0,o.getISOWeek)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):(0,u.addLeadingZeros)(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):c.lightFormatters.d(e,t)},D:function(e,t,n){let o=(0,r.getDayOfYear)(e);return"Do"===t?n.ordinalNumber(o,{unit:"dayOfYear"}):(0,u.addLeadingZeros)(o,t.length)},E:function(e,t,n){let r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){let o=e.getDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return(0,u.addLeadingZeros)(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){let o=e.getDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return(0,u.addLeadingZeros)(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){let r=e.getDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return(0,u.addLeadingZeros)(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){let r;let o=e.getHours();switch(r=12===o?l.noon:0===o?l.midnight:o/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){let r;let o=e.getHours();switch(r=o>=17?l.evening:o>=12?l.afternoon:o>=4?l.morning:l.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return c.lightFormatters.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):c.lightFormatters.H(e,t)},K:function(e,t,n){let r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):(0,u.addLeadingZeros)(r,t.length)},k:function(e,t,n){let r=e.getHours();return(0===r&&(r=24),"ko"===t)?n.ordinalNumber(r,{unit:"hour"}):(0,u.addLeadingZeros)(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):c.lightFormatters.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):c.lightFormatters.s(e,t)},S:function(e,t){return c.lightFormatters.S(e,t)},X:function(e,t,n){let r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return p(r);case"XXXX":case"XX":return f(r);default:return f(r,":")}},x:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"x":return p(r);case"xxxx":case"xx":return f(r);default:return f(r,":")}},O:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+d(r,":");default:return"GMT"+f(r,":")}},z:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+d(r,":");default:return"GMT"+f(r,":")}},t:function(e,t,n){let r=Math.trunc(e.getTime()/1e3);return(0,u.addLeadingZeros)(r,t.length)},T:function(e,t,n){let r=e.getTime();return(0,u.addLeadingZeros)(r,t.length)}}},49894:function(e,t,n){"use strict";t.lightFormatters=void 0;var r=n(49499);t.lightFormatters={y(e,t){let n=e.getFullYear(),o=n>0?n:1-n;return(0,r.addLeadingZeros)("yy"===t?o%100:o,t.length)},M(e,t){let n=e.getMonth();return"M"===t?String(n+1):(0,r.addLeadingZeros)(n+1,2)},d:(e,t)=>(0,r.addLeadingZeros)(e.getDate(),t.length),a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>(0,r.addLeadingZeros)(e.getHours()%12||12,t.length),H:(e,t)=>(0,r.addLeadingZeros)(e.getHours(),t.length),m:(e,t)=>(0,r.addLeadingZeros)(e.getMinutes(),t.length),s:(e,t)=>(0,r.addLeadingZeros)(e.getSeconds(),t.length),S(e,t){let n=t.length,o=e.getMilliseconds();return(0,r.addLeadingZeros)(Math.trunc(o*Math.pow(10,n-3)),t.length)}}},21381:function(e,t){"use strict";t.longFormatters=void 0;let n=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},r=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}};t.longFormatters={p:r,P:(e,t)=>{let o;let a=e.match(/(P+)(p+)?/)||[],i=a[1],s=a[2];if(!s)return n(e,t);switch(i){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;default:o=t.dateTime({width:"full"})}return o.replace("{{date}}",n(i,t)).replace("{{time}}",r(s,t))}}},19354:function(e,t,n){"use strict";t.getTimezoneOffsetInMilliseconds=function(e){let t=(0,r.toDate)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n};var r=n(5669)},53887:function(e,t){"use strict";t.isProtectedDayOfYearToken=function(e){return n.test(e)},t.isProtectedWeekYearToken=function(e){return r.test(e)},t.warnOrThrowProtectedError=function(e,t,n){let r=function(e,t,n){let r="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(console.warn(r),o.includes(e))throw RangeError(r)};let n=/^D+$/,r=/^Y+$/,o=["D","DD","YY","YYYY"]},16798:function(e,t,n){"use strict";t.addDays=function(e,t){let n=(0,r.toDate)(e);return isNaN(t)?(0,o.constructFrom)(e,NaN):(t&&n.setDate(n.getDate()+t),n)};var r=n(5669),o=n(56096)},67318:function(e,t,n){"use strict";t.addHours=function(e,t){return(0,r.addMilliseconds)(e,t*o.millisecondsInHour)};var r=n(10297),o=n(80224)},10297:function(e,t,n){"use strict";t.addMilliseconds=function(e,t){let n=+(0,r.toDate)(e);return(0,o.constructFrom)(e,n+t)};var r=n(5669),o=n(56096)},26950:function(e,t,n){"use strict";t.addMinutes=function(e,t){return(0,r.addMilliseconds)(e,t*o.millisecondsInMinute)};var r=n(10297),o=n(80224)},42763:function(e,t,n){"use strict";t.addMonths=function(e,t){let n=(0,r.toDate)(e);if(isNaN(t))return(0,o.constructFrom)(e,NaN);if(!t)return n;let a=n.getDate(),i=(0,o.constructFrom)(e,n.getTime());return(i.setMonth(n.getMonth()+t+1,0),a>=i.getDate())?i:(n.setFullYear(i.getFullYear(),i.getMonth(),a),n)};var r=n(5669),o=n(56096)},14910:function(e,t,n){"use strict";t.addQuarters=function(e,t){return(0,r.addMonths)(e,3*t)};var r=n(42763)},70241:function(e,t,n){"use strict";t.addWeeks=function(e,t){return(0,r.addDays)(e,7*t)};var r=n(16798)},2088:function(e,t,n){"use strict";t.addYears=function(e,t){return(0,r.addMonths)(e,12*t)};var r=n(42763)},80224:function(e,t){"use strict";t.secondsInYear=t.secondsInWeek=t.secondsInQuarter=t.secondsInMonth=t.secondsInMinute=t.secondsInHour=t.secondsInDay=t.quartersInYear=t.monthsInYear=t.monthsInQuarter=t.minutesInYear=t.minutesInMonth=t.minutesInHour=t.minutesInDay=t.minTime=t.millisecondsInWeek=t.millisecondsInSecond=t.millisecondsInMinute=t.millisecondsInHour=t.millisecondsInDay=t.maxTime=t.daysInYear=t.daysInWeek=void 0,t.daysInWeek=7;let n=t.daysInYear=365.2425,r=t.maxTime=864e13;t.minTime=-r,t.millisecondsInWeek=6048e5,t.millisecondsInDay=864e5,t.millisecondsInMinute=6e4,t.millisecondsInHour=36e5,t.millisecondsInSecond=1e3,t.minutesInYear=525600,t.minutesInMonth=43200,t.minutesInDay=1440,t.minutesInHour=60,t.monthsInQuarter=3,t.monthsInYear=12,t.quartersInYear=4;let o=t.secondsInHour=3600;t.secondsInMinute=60;let a=t.secondsInDay=24*o;t.secondsInWeek=7*a;let i=t.secondsInYear=a*n,s=t.secondsInMonth=i/12;t.secondsInQuarter=3*s},56096:function(e,t){"use strict";t.constructFrom=function(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}},70987:function(e,t,n){"use strict";t.differenceInCalendarDays=function(e,t){let n=(0,o.startOfDay)(e),i=(0,o.startOfDay)(t);return Math.round((+n-(0,a.getTimezoneOffsetInMilliseconds)(n)-(+i-(0,a.getTimezoneOffsetInMilliseconds)(i)))/r.millisecondsInDay)};var r=n(80224),o=n(12869),a=n(19354)},46361:function(e,t,n){"use strict";t.differenceInCalendarMonths=function(e,t){let n=(0,r.toDate)(e),o=(0,r.toDate)(t);return 12*(n.getFullYear()-o.getFullYear())+(n.getMonth()-o.getMonth())};var r=n(5669)},12229:function(e,t,n){"use strict";t.differenceInCalendarYears=function(e,t){let n=(0,r.toDate)(e),o=(0,r.toDate)(t);return n.getFullYear()-o.getFullYear()};var r=n(5669)},37244:function(e,t,n){"use strict";t.endOfDay=function(e){let t=(0,r.toDate)(e);return t.setHours(23,59,59,999),t};var r=n(5669)},77963:function(e,t,n){"use strict";t.endOfMonth=function(e){let t=(0,r.toDate)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t};var r=n(5669)},26348:function(e,t,n){"use strict";t.endOfWeek=function(e,t){let n=(0,o.getDefaultOptions)(),a=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=(0,r.toDate)(e),s=i.getDay();return i.setDate(i.getDate()+((s{let t=e[0];return"p"===t||"P"===t?(0,i.longFormatters[t])(e,g.formatLong):e}).join("").match(l).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t)return{isToken:!1,value:function(e){let t=e.match(p);return t?t[1].replace(f,"'"):e}(e)};if(a.formatters[t])return{isToken:!0,value:e};if(t.match(h))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});g.localize.preprocessor&&(w=g.localize.preprocessor(b,w));let D={firstWeekContainsDate:v,weekStartsOn:y,locale:g};return w.map(r=>{if(!r.isToken)return r.value;let o=r.value;return(!n?.useAdditionalWeekYearTokens&&(0,s.isProtectedWeekYearToken)(o)||!n?.useAdditionalDayOfYearTokens&&(0,s.isProtectedDayOfYearToken)(o))&&(0,s.warnOrThrowProtectedError)(o,t,String(e)),(0,a.formatters[o[0]])(b,o,g.localize,D)}).join("")},Object.defineProperty(t,"formatters",{enumerable:!0,get:function(){return a.formatters}}),Object.defineProperty(t,"longFormatters",{enumerable:!0,get:function(){return i.longFormatters}});var r=n(55023),o=n(68252),a=n(42772),i=n(21381),s=n(53887),u=n(25526),c=n(5669);let l=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,d=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,p=/^'([^]*?)'?$/,f=/''/g,h=/[a-zA-Z]/},60717:function(e,t,n){"use strict";t.getDate=function(e){return(0,r.toDate)(e).getDate()};var r=n(5669)},24975:function(e,t,n){"use strict";t.getDay=function(e){return(0,r.toDate)(e).getDay()};var r=n(5669)},63322:function(e,t,n){"use strict";t.getDayOfYear=function(e){let t=(0,a.toDate)(e);return(0,r.differenceInCalendarDays)(t,(0,o.startOfYear)(t))+1};var r=n(70987),o=n(34359),a=n(5669)},42700:function(e,t,n){"use strict";t.getDaysInMonth=function(e){let t=(0,r.toDate)(e),n=t.getFullYear(),a=t.getMonth(),i=(0,o.constructFrom)(e,0);return i.setFullYear(n,a+1,0),i.setHours(0,0,0,0),i.getDate()};var r=n(5669),o=n(56096)},8319:function(e,t,n){"use strict";t.getDefaultOptions=function(){return Object.assign({},(0,r.getDefaultOptions)())};var r=n(68252)},4038:function(e,t,n){"use strict";t.getHours=function(e){return(0,r.toDate)(e).getHours()};var r=n(5669)},8313:function(e,t,n){"use strict";t.getISODay=function(e){let t=(0,r.toDate)(e).getDay();return 0===t&&(t=7),t};var r=n(5669)},76624:function(e,t,n){"use strict";t.getISOWeek=function(e){let t=(0,i.toDate)(e);return Math.round((+(0,o.startOfISOWeek)(t)-+(0,a.startOfISOWeekYear)(t))/r.millisecondsInWeek)+1};var r=n(80224),o=n(33432),a=n(25066),i=n(5669)},99779:function(e,t,n){"use strict";t.getISOWeekYear=function(e){let t=(0,a.toDate)(e),n=t.getFullYear(),i=(0,r.constructFrom)(e,0);i.setFullYear(n+1,0,4),i.setHours(0,0,0,0);let s=(0,o.startOfISOWeek)(i),u=(0,r.constructFrom)(e,0);u.setFullYear(n,0,4),u.setHours(0,0,0,0);let c=(0,o.startOfISOWeek)(u);return t.getTime()>=s.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1};var r=n(56096),o=n(33432),a=n(5669)},17669:function(e,t,n){"use strict";t.getMinutes=function(e){return(0,r.toDate)(e).getMinutes()};var r=n(5669)},31976:function(e,t,n){"use strict";t.getMonth=function(e){return(0,r.toDate)(e).getMonth()};var r=n(5669)},38807:function(e,t,n){"use strict";t.getQuarter=function(e){return Math.trunc((0,r.toDate)(e).getMonth()/3)+1};var r=n(5669)},30707:function(e,t,n){"use strict";t.getSeconds=function(e){return(0,r.toDate)(e).getSeconds()};var r=n(5669)},56966:function(e,t,n){"use strict";t.getTime=function(e){return(0,r.toDate)(e).getTime()};var r=n(5669)},53323:function(e,t,n){"use strict";t.getWeek=function(e,t){let n=(0,i.toDate)(e);return Math.round((+(0,o.startOfWeek)(n,t)-+(0,a.startOfWeekYear)(n,t))/r.millisecondsInWeek)+1};var r=n(80224),o=n(22844),a=n(87620),i=n(5669)},39615:function(e,t,n){"use strict";t.getWeekYear=function(e,t){let n=(0,a.toDate)(e),s=n.getFullYear(),u=(0,i.getDefaultOptions)(),c=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??u.firstWeekContainsDate??u.locale?.options?.firstWeekContainsDate??1,l=(0,r.constructFrom)(e,0);l.setFullYear(s+1,0,c),l.setHours(0,0,0,0);let d=(0,o.startOfWeek)(l,t),p=(0,r.constructFrom)(e,0);p.setFullYear(s,0,c),p.setHours(0,0,0,0);let f=(0,o.startOfWeek)(p,t);return n.getTime()>=d.getTime()?s+1:n.getTime()>=f.getTime()?s:s-1};var r=n(56096),o=n(22844),a=n(5669),i=n(68252)},72221:function(e,t,n){"use strict";t.getYear=function(e){return(0,r.toDate)(e).getFullYear()};var r=n(5669)},48669:function(e,t,n){"use strict";t.isAfter=function(e,t){let n=(0,r.toDate)(e),o=(0,r.toDate)(t);return n.getTime()>o.getTime()};var r=n(5669)},22697:function(e,t,n){"use strict";t.isBefore=function(e,t){return+(0,r.toDate)(e)<+(0,r.toDate)(t)};var r=n(5669)},75378:function(e,t){"use strict";t.isDate=function(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}},82573:function(e,t,n){"use strict";t.isEqual=function(e,t){return+(0,r.toDate)(e)==+(0,r.toDate)(t)};var r=n(5669)},35127:function(e,t,n){"use strict";t.isSameDay=function(e,t){return+(0,r.startOfDay)(e)==+(0,r.startOfDay)(t)};var r=n(12869)},90847:function(e,t,n){"use strict";t.isSameMonth=function(e,t){let n=(0,r.toDate)(e),o=(0,r.toDate)(t);return n.getFullYear()===o.getFullYear()&&n.getMonth()===o.getMonth()};var r=n(5669)},82137:function(e,t,n){"use strict";t.isSameQuarter=function(e,t){return+(0,r.startOfQuarter)(e)==+(0,r.startOfQuarter)(t)};var r=n(61532)},18204:function(e,t,n){"use strict";t.isSameYear=function(e,t){let n=(0,r.toDate)(e),o=(0,r.toDate)(t);return n.getFullYear()===o.getFullYear()};var r=n(5669)},25526:function(e,t,n){"use strict";t.isValid=function(e){return(!!(0,r.isDate)(e)||"number"==typeof e)&&!isNaN(Number((0,o.toDate)(e)))};var r=n(75378),o=n(5669)},30574:function(e,t,n){"use strict";t.isWithinInterval=function(e,t){let n=+(0,r.toDate)(e),[o,a]=[+(0,r.toDate)(t.start),+(0,r.toDate)(t.end)].sort((e,t)=>e-t);return n>=o&&n<=a};var r=n(5669)},26330:function(e,t){"use strict";t.buildFormatLongFn=function(e){return (t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}},90232:function(e,t){"use strict";t.buildLocalizeFn=function(e){return(t,n)=>{let r;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,o=n?.width?String(n.width):t;r=e.formattingValues[o]||e.formattingValues[t]}else{let t=e.defaultWidth,o=n?.width?String(n.width):e.defaultWidth;r=e.values[o]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}},6432:function(e,t){"use strict";t.buildMatchFn=function(e){return(t,n={})=>{let r;let o=n.width,a=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],i=t.match(a);if(!i)return null;let s=i[0],u=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(u)?function(e,t){for(let n=0;ne.test(s)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(u,e=>e.test(s));return r=e.valueCallback?e.valueCallback(c):c,{value:r=n.valueCallback?n.valueCallback(r):r,rest:t.slice(s.length)}}}},65478:function(e,t){"use strict";t.buildMatchPatternFn=function(e){return(t,n={})=>{let r=t.match(e.matchPattern);if(!r)return null;let o=r[0],a=t.match(e.parsePattern);if(!a)return null;let i=e.valueCallback?e.valueCallback(a[0]):a[0];return{value:i=n.valueCallback?n.valueCallback(i):i,rest:t.slice(o.length)}}}},848:function(e,t,n){"use strict";t.enUS=void 0;var r=n(70828),o=n(20936),a=n(87401),i=n(20407),s=n(2358);t.enUS={code:"en-US",formatDistance:r.formatDistance,formatLong:o.formatLong,formatRelative:a.formatRelative,localize:i.localize,match:s.match,options:{weekStartsOn:0,firstWeekContainsDate:1}}},70828:function(e,t){"use strict";t.formatDistance=void 0;let n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};t.formatDistance=(e,t,r)=>{let o;let a=n[e];return(o="string"==typeof a?a:1===t?a.one:a.other.replace("{{count}}",t.toString()),r?.addSuffix)?r.comparison&&r.comparison>0?"in "+o:o+" ago":o}},20936:function(e,t,n){"use strict";t.formatLong=void 0;var r=n(26330);t.formatLong={date:(0,r.buildFormatLongFn)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,r.buildFormatLongFn)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,r.buildFormatLongFn)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})}},87401:function(e,t){"use strict";t.formatRelative=void 0;let n={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};t.formatRelative=(e,t,r,o)=>n[e]},20407:function(e,t,n){"use strict";t.localize=void 0;var r=n(90232);t.localize={ordinalNumber:(e,t)=>{let n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,r.buildLocalizeFn)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,r.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,r.buildLocalizeFn)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,r.buildLocalizeFn)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,r.buildLocalizeFn)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})}},2358:function(e,t,n){"use strict";t.match=void 0;var r=n(6432),o=n(65478);t.match={ordinalNumber:(0,o.buildMatchPatternFn)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,r.buildMatchFn)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,r.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,r.buildMatchFn)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,r.buildMatchFn)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,r.buildMatchFn)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})}},67836:function(e,t,n){"use strict";t.max=function(e){let t;return e.forEach(function(e){let n=(0,r.toDate)(e);(void 0===t||t{let n=(0,r.toDate)(e);(!t||t>n||isNaN(+n))&&(t=n)}),t||new Date(NaN)};var r=n(5669)},19575:function(e,t,n){"use strict";Object.defineProperty(t,"longFormatters",{enumerable:!0,get:function(){return s.longFormatters}}),t.parse=function(e,t,n,v){let y=(0,o.getDefaultOptions)(),b=v?.locale??y.locale??a.defaultLocale,w=v?.firstWeekContainsDate??v?.locale?.options?.firstWeekContainsDate??y.firstWeekContainsDate??y.locale?.options?.firstWeekContainsDate??1,D=v?.weekStartsOn??v?.locale?.options?.weekStartsOn??y.weekStartsOn??y.locale?.options?.weekStartsOn??0;if(""===t)return""===e?(0,i.toDate)(n):(0,r.constructFrom)(n,NaN);let k={firstWeekContainsDate:w,weekStartsOn:D,locale:b},S=[new l.DateToSystemTimezoneSetter],M=t.match(p).map(e=>{let t=e[0];return t in s.longFormatters?(0,s.longFormatters[t])(e,b.formatLong):e}).join("").match(d),P=[];for(let o of M){!v?.useAdditionalWeekYearTokens&&(0,u.isProtectedWeekYearToken)(o)&&(0,u.warnOrThrowProtectedError)(o,t,e),!v?.useAdditionalDayOfYearTokens&&(0,u.isProtectedDayOfYearToken)(o)&&(0,u.warnOrThrowProtectedError)(o,t,e);let a=o[0],i=c.parsers[a];if(i){let{incompatibleTokens:t}=i;if(Array.isArray(t)){let e=P.find(e=>t.includes(e.token)||e.token===a);if(e)throw RangeError(`The format string mustn't contain \`${e.fullToken}\` and \`${o}\` at the same time`)}else if("*"===i.incompatibleTokens&&P.length>0)throw RangeError(`The format string mustn't contain \`${o}\` and any other token at the same time`);P.push({token:a,fullToken:o});let s=i.run(e,o,b.match,k);if(!s)return(0,r.constructFrom)(n,NaN);S.push(s.setter),e=s.rest}else{if(a.match(g))throw RangeError("Format string contains an unescaped latin alphabet character `"+a+"`");if("''"===o?o="'":"'"===a&&(o=o.match(f)[1].replace(h,"'")),0!==e.indexOf(o))return(0,r.constructFrom)(n,NaN);e=e.slice(o.length)}}if(e.length>0&&m.test(e))return(0,r.constructFrom)(n,NaN);let x=S.map(e=>e.priority).sort((e,t)=>t-e).filter((e,t,n)=>n.indexOf(e)===t).map(e=>S.filter(t=>t.priority===e).sort((e,t)=>t.subPriority-e.subPriority)).map(e=>e[0]),E=(0,i.toDate)(n);if(isNaN(E.getTime()))return(0,r.constructFrom)(n,NaN);let C={};for(let e of x){if(!e.validate(E,k))return(0,r.constructFrom)(n,NaN);let t=e.set(E,C,k);Array.isArray(t)?(E=t[0],Object.assign(C,t[1])):E=t}return(0,r.constructFrom)(n,E)},Object.defineProperty(t,"parsers",{enumerable:!0,get:function(){return c.parsers}});var r=n(56096),o=n(8319),a=n(55023),i=n(5669),s=n(21381),u=n(53887),c=n(2344),l=n(80178);let d=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,p=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,f=/^'([^]*?)'?$/,h=/''/g,m=/\S/,g=/[a-zA-Z]/},93210:function(e,t,n){"use strict";t.Parser=void 0;var r=n(80178);class o{run(e,t,n,o){let a=this.parse(e,t,n,o);return a?{setter:new r.ValueSetter(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(e,t,n){return!0}}t.Parser=o},80178:function(e,t,n){"use strict";t.ValueSetter=t.Setter=t.DateToSystemTimezoneSetter=void 0;var r=n(73560),o=n(56096);class a{subPriority=0;validate(e,t){return!0}}t.Setter=a;class i extends a{constructor(e,t,n,r,o){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=r,o&&(this.subPriority=o)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,n){return this.setValue(e,t,this.value,n)}}t.ValueSetter=i;class s extends a{priority=10;subPriority=-1;set(e,t){return t.timestampIsSet?e:(0,o.constructFrom)(e,(0,r.transpose)(e,Date))}}t.DateToSystemTimezoneSetter=s},19065:function(e,t){"use strict";t.timezonePatterns=t.numericPatterns=void 0,t.numericPatterns={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},t.timezonePatterns={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/}},2344:function(e,t,n){"use strict";t.parsers=void 0;var r=n(16782),o=n(63969),a=n(12322),i=n(46497),s=n(89608),u=n(29750),c=n(38208),l=n(4211),d=n(96886),p=n(74358),f=n(73619),h=n(65747),m=n(98376),g=n(11554),v=n(32797),y=n(38842),b=n(96868),w=n(26125),D=n(47422),k=n(12986),S=n(16673),M=n(32890),P=n(54193),x=n(55918),E=n(50890),C=n(467),O=n(16700),T=n(66766),N=n(37888),I=n(7773),Y=n(57527);t.parsers={G:new r.EraParser,y:new o.YearParser,Y:new a.LocalWeekYearParser,R:new i.ISOWeekYearParser,u:new s.ExtendedYearParser,Q:new u.QuarterParser,q:new c.StandAloneQuarterParser,M:new l.MonthParser,L:new d.StandAloneMonthParser,w:new p.LocalWeekParser,I:new f.ISOWeekParser,d:new h.DateParser,D:new m.DayOfYearParser,E:new g.DayParser,e:new v.LocalDayParser,c:new y.StandAloneLocalDayParser,i:new b.ISODayParser,a:new w.AMPMParser,b:new D.AMPMMidnightParser,B:new k.DayPeriodParser,h:new S.Hour1to12Parser,H:new M.Hour0to23Parser,K:new P.Hour0To11Parser,k:new x.Hour1To24Parser,m:new E.MinuteParser,s:new C.SecondParser,S:new O.FractionOfSecondParser,X:new T.ISOTimezoneWithZParser,x:new N.ISOTimezoneParser,t:new I.TimestampSecondsParser,T:new Y.TimestampMillisecondsParser}},47422:function(e,t,n){"use strict";t.AMPMMidnightParser=void 0;var r=n(93210),o=n(34808);class a extends r.Parser{priority=80;parse(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours((0,o.dayPeriodEnumToHours)(n),0,0,0),e}incompatibleTokens=["a","B","H","k","t","T"]}t.AMPMMidnightParser=a},26125:function(e,t,n){"use strict";t.AMPMParser=void 0;var r=n(93210),o=n(34808);class a extends r.Parser{priority=80;parse(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours((0,o.dayPeriodEnumToHours)(n),0,0,0),e}incompatibleTokens=["b","B","H","k","t","T"]}t.AMPMParser=a},65747:function(e,t,n){"use strict";t.DateParser=void 0;var r=n(19065),o=n(93210),a=n(34808);let i=[31,28,31,30,31,30,31,31,30,31,30,31],s=[31,29,31,30,31,30,31,31,30,31,30,31];class u extends o.Parser{priority=90;subPriority=1;parse(e,t,n){switch(t){case"d":return(0,a.parseNumericPattern)(r.numericPatterns.date,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return(0,a.parseNDigits)(t.length,e)}}validate(e,t){let n=e.getFullYear(),r=(0,a.isLeapYearIndex)(n),o=e.getMonth();return r?t>=1&&t<=s[o]:t>=1&&t<=i[o]}set(e,t,n){return e.setDate(n),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}t.DateParser=u},98376:function(e,t,n){"use strict";t.DayOfYearParser=void 0;var r=n(19065),o=n(93210),a=n(34808);class i extends o.Parser{priority=90;subpriority=1;parse(e,t,n){switch(t){case"D":case"DD":return(0,a.parseNumericPattern)(r.numericPatterns.dayOfYear,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return(0,a.parseNDigits)(t.length,e)}}validate(e,t){let n=e.getFullYear();return(0,a.isLeapYearIndex)(n)?t>=1&&t<=366:t>=1&&t<=365}set(e,t,n){return e.setMonth(0,n),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}t.DayOfYearParser=i},11554:function(e,t,n){"use strict";t.DayParser=void 0;var r=n(80069),o=n(93210);class a extends o.Parser{priority=90;parse(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,o){return(e=(0,r.setDay)(e,n,o)).setHours(0,0,0,0),e}incompatibleTokens=["D","i","e","c","t","T"]}t.DayParser=a},12986:function(e,t,n){"use strict";t.DayPeriodParser=void 0;var r=n(93210),o=n(34808);class a extends r.Parser{priority=80;parse(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours((0,o.dayPeriodEnumToHours)(n),0,0,0),e}incompatibleTokens=["a","b","t","T"]}t.DayPeriodParser=a},16782:function(e,t,n){"use strict";t.EraParser=void 0;var r=n(93210);class o extends r.Parser{priority=140;parse(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}set(e,t,n){return t.era=n,e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["R","u","t","T"]}t.EraParser=o},89608:function(e,t,n){"use strict";t.ExtendedYearParser=void 0;var r=n(93210),o=n(34808);class a extends r.Parser{priority=130;parse(e,t){return"u"===t?(0,o.parseNDigitsSigned)(4,e):(0,o.parseNDigitsSigned)(t.length,e)}set(e,t,n){return e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}t.ExtendedYearParser=a},16700:function(e,t,n){"use strict";t.FractionOfSecondParser=void 0;var r=n(93210),o=n(34808);class a extends r.Parser{priority=30;parse(e,t){return(0,o.mapValue)((0,o.parseNDigits)(t.length,e),e=>Math.trunc(e*Math.pow(10,-t.length+3)))}set(e,t,n){return e.setMilliseconds(n),e}incompatibleTokens=["t","T"]}t.FractionOfSecondParser=a},54193:function(e,t,n){"use strict";t.Hour0To11Parser=void 0;var r=n(19065),o=n(93210),a=n(34808);class i extends o.Parser{priority=70;parse(e,t,n){switch(t){case"K":return(0,a.parseNumericPattern)(r.numericPatterns.hour11h,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return(0,a.parseNDigits)(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.getHours()>=12&&n<12?e.setHours(n+12,0,0,0):e.setHours(n,0,0,0),e}incompatibleTokens=["h","H","k","t","T"]}t.Hour0To11Parser=i},32890:function(e,t,n){"use strict";t.Hour0to23Parser=void 0;var r=n(19065),o=n(93210),a=n(34808);class i extends o.Parser{priority=70;parse(e,t,n){switch(t){case"H":return(0,a.parseNumericPattern)(r.numericPatterns.hour23h,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return(0,a.parseNDigits)(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,n){return e.setHours(n,0,0,0),e}incompatibleTokens=["a","b","h","K","k","t","T"]}t.Hour0to23Parser=i},55918:function(e,t,n){"use strict";t.Hour1To24Parser=void 0;var r=n(19065),o=n(93210),a=n(34808);class i extends o.Parser{priority=70;parse(e,t,n){switch(t){case"k":return(0,a.parseNumericPattern)(r.numericPatterns.hour24h,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return(0,a.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,n){return e.setHours(n<=24?n%24:n,0,0,0),e}incompatibleTokens=["a","b","h","H","K","t","T"]}t.Hour1To24Parser=i},16673:function(e,t,n){"use strict";t.Hour1to12Parser=void 0;var r=n(19065),o=n(93210),a=n(34808);class i extends o.Parser{priority=70;parse(e,t,n){switch(t){case"h":return(0,a.parseNumericPattern)(r.numericPatterns.hour12h,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return(0,a.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,n){let r=e.getHours()>=12;return r&&n<12?e.setHours(n+12,0,0,0):r||12!==n?e.setHours(n,0,0,0):e.setHours(0,0,0,0),e}incompatibleTokens=["H","K","k","t","T"]}t.Hour1to12Parser=i},96868:function(e,t,n){"use strict";t.ISODayParser=void 0;var r=n(2329),o=n(93210),a=n(34808);class i extends o.Parser{priority=90;parse(e,t,n){let r=e=>0===e?7:e;switch(t){case"i":case"ii":return(0,a.parseNDigits)(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return(0,a.mapValue)(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiii":return(0,a.mapValue)(n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiiii":return(0,a.mapValue)(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);default:return(0,a.mapValue)(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r)}}validate(e,t){return t>=1&&t<=7}set(e,t,n){return(e=(0,r.setISODay)(e,n)).setHours(0,0,0,0),e}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}t.ISODayParser=i},37888:function(e,t,n){"use strict";t.ISOTimezoneParser=void 0;var r=n(56096),o=n(19354),a=n(19065),i=n(93210),s=n(34808);class u extends i.Parser{priority=10;parse(e,t){switch(t){case"x":return(0,s.parseTimezonePattern)(a.timezonePatterns.basicOptionalMinutes,e);case"xx":return(0,s.parseTimezonePattern)(a.timezonePatterns.basic,e);case"xxxx":return(0,s.parseTimezonePattern)(a.timezonePatterns.basicOptionalSeconds,e);case"xxxxx":return(0,s.parseTimezonePattern)(a.timezonePatterns.extendedOptionalSeconds,e);default:return(0,s.parseTimezonePattern)(a.timezonePatterns.extended,e)}}set(e,t,n){return t.timestampIsSet?e:(0,r.constructFrom)(e,e.getTime()-(0,o.getTimezoneOffsetInMilliseconds)(e)-n)}incompatibleTokens=["t","T","X"]}t.ISOTimezoneParser=u},66766:function(e,t,n){"use strict";t.ISOTimezoneWithZParser=void 0;var r=n(56096),o=n(19354),a=n(19065),i=n(93210),s=n(34808);class u extends i.Parser{priority=10;parse(e,t){switch(t){case"X":return(0,s.parseTimezonePattern)(a.timezonePatterns.basicOptionalMinutes,e);case"XX":return(0,s.parseTimezonePattern)(a.timezonePatterns.basic,e);case"XXXX":return(0,s.parseTimezonePattern)(a.timezonePatterns.basicOptionalSeconds,e);case"XXXXX":return(0,s.parseTimezonePattern)(a.timezonePatterns.extendedOptionalSeconds,e);default:return(0,s.parseTimezonePattern)(a.timezonePatterns.extended,e)}}set(e,t,n){return t.timestampIsSet?e:(0,r.constructFrom)(e,e.getTime()-(0,o.getTimezoneOffsetInMilliseconds)(e)-n)}incompatibleTokens=["t","T","x"]}t.ISOTimezoneWithZParser=u},73619:function(e,t,n){"use strict";t.ISOWeekParser=void 0;var r=n(69870),o=n(33432),a=n(19065),i=n(93210),s=n(34808);class u extends i.Parser{priority=100;parse(e,t,n){switch(t){case"I":return(0,s.parseNumericPattern)(a.numericPatterns.week,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return(0,s.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n){return(0,o.startOfISOWeek)((0,r.setISOWeek)(e,n))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}t.ISOWeekParser=u},46497:function(e,t,n){"use strict";t.ISOWeekYearParser=void 0;var r=n(33432),o=n(56096),a=n(93210),i=n(34808);class s extends a.Parser{priority=130;parse(e,t){return"R"===t?(0,i.parseNDigitsSigned)(4,e):(0,i.parseNDigitsSigned)(t.length,e)}set(e,t,n){let a=(0,o.constructFrom)(e,0);return a.setFullYear(n,0,4),a.setHours(0,0,0,0),(0,r.startOfISOWeek)(a)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}t.ISOWeekYearParser=s},32797:function(e,t,n){"use strict";t.LocalDayParser=void 0;var r=n(80069),o=n(93210),a=n(34808);class i extends o.Parser{priority=90;parse(e,t,n,r){let o=e=>(e+r.weekStartsOn+6)%7+7*Math.floor((e-1)/7);switch(t){case"e":case"ee":return(0,a.mapValue)((0,a.parseNDigits)(t.length,e),o);case"eo":return(0,a.mapValue)(n.ordinalNumber(e,{unit:"day"}),o);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,o){return(e=(0,r.setDay)(e,n,o)).setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}t.LocalDayParser=i},74358:function(e,t,n){"use strict";t.LocalWeekParser=void 0;var r=n(95228),o=n(22844),a=n(19065),i=n(93210),s=n(34808);class u extends i.Parser{priority=100;parse(e,t,n){switch(t){case"w":return(0,s.parseNumericPattern)(a.numericPatterns.week,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return(0,s.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n,a){return(0,o.startOfWeek)((0,r.setWeek)(e,n,a),a)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}t.LocalWeekParser=u},12322:function(e,t,n){"use strict";t.LocalWeekYearParser=void 0;var r=n(39615),o=n(22844),a=n(93210),i=n(34808);class s extends a.Parser{priority=130;parse(e,t,n){let r=e=>({year:e,isTwoDigitYear:"YY"===t});switch(t){case"Y":return(0,i.mapValue)((0,i.parseNDigits)(4,e),r);case"Yo":return(0,i.mapValue)(n.ordinalNumber(e,{unit:"year"}),r);default:return(0,i.mapValue)((0,i.parseNDigits)(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n,a){let s=(0,r.getWeekYear)(e,a);if(n.isTwoDigitYear){let t=(0,i.normalizeTwoDigitYear)(n.year,s);return e.setFullYear(t,0,a.firstWeekContainsDate),e.setHours(0,0,0,0),(0,o.startOfWeek)(e,a)}let u="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(u,0,a.firstWeekContainsDate),e.setHours(0,0,0,0),(0,o.startOfWeek)(e,a)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}t.LocalWeekYearParser=s},50890:function(e,t,n){"use strict";t.MinuteParser=void 0;var r=n(19065),o=n(93210),a=n(34808);class i extends o.Parser{priority=60;parse(e,t,n){switch(t){case"m":return(0,a.parseNumericPattern)(r.numericPatterns.minute,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return(0,a.parseNDigits)(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setMinutes(n,0,0),e}incompatibleTokens=["t","T"]}t.MinuteParser=i},4211:function(e,t,n){"use strict";t.MonthParser=void 0;var r=n(19065),o=n(93210),a=n(34808);class i extends o.Parser{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(e,t,n){let o=e=>e-1;switch(t){case"M":return(0,a.mapValue)((0,a.parseNumericPattern)(r.numericPatterns.month,e),o);case"MM":return(0,a.mapValue)((0,a.parseNDigits)(2,e),o);case"Mo":return(0,a.mapValue)(n.ordinalNumber(e,{unit:"month"}),o);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}}t.MonthParser=i},29750:function(e,t,n){"use strict";t.QuarterParser=void 0;var r=n(93210),o=n(34808);class a extends r.Parser{priority=120;parse(e,t,n){switch(t){case"Q":case"QQ":return(0,o.parseNDigits)(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth((n-1)*3,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}t.QuarterParser=a},467:function(e,t,n){"use strict";t.SecondParser=void 0;var r=n(19065),o=n(93210),a=n(34808);class i extends o.Parser{priority=50;parse(e,t,n){switch(t){case"s":return(0,a.parseNumericPattern)(r.numericPatterns.second,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return(0,a.parseNDigits)(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setSeconds(n,0),e}incompatibleTokens=["t","T"]}t.SecondParser=i},38842:function(e,t,n){"use strict";t.StandAloneLocalDayParser=void 0;var r=n(80069),o=n(93210),a=n(34808);class i extends o.Parser{priority=90;parse(e,t,n,r){let o=e=>(e+r.weekStartsOn+6)%7+7*Math.floor((e-1)/7);switch(t){case"c":case"cc":return(0,a.mapValue)((0,a.parseNDigits)(t.length,e),o);case"co":return(0,a.mapValue)(n.ordinalNumber(e,{unit:"day"}),o);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,o){return(e=(0,r.setDay)(e,n,o)).setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}t.StandAloneLocalDayParser=i},96886:function(e,t,n){"use strict";t.StandAloneMonthParser=void 0;var r=n(19065),o=n(93210),a=n(34808);class i extends o.Parser{priority=110;parse(e,t,n){let o=e=>e-1;switch(t){case"L":return(0,a.mapValue)((0,a.parseNumericPattern)(r.numericPatterns.month,e),o);case"LL":return(0,a.mapValue)((0,a.parseNDigits)(2,e),o);case"Lo":return(0,a.mapValue)(n.ordinalNumber(e,{unit:"month"}),o);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}t.StandAloneMonthParser=i},38208:function(e,t,n){"use strict";t.StandAloneQuarterParser=void 0;var r=n(93210),o=n(34808);class a extends r.Parser{priority=120;parse(e,t,n){switch(t){case"q":case"qq":return(0,o.parseNDigits)(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth((n-1)*3,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}t.StandAloneQuarterParser=a},57527:function(e,t,n){"use strict";t.TimestampMillisecondsParser=void 0;var r=n(56096),o=n(93210),a=n(34808);class i extends o.Parser{priority=20;parse(e){return(0,a.parseAnyDigitsSigned)(e)}set(e,t,n){return[(0,r.constructFrom)(e,n),{timestampIsSet:!0}]}incompatibleTokens="*"}t.TimestampMillisecondsParser=i},7773:function(e,t,n){"use strict";t.TimestampSecondsParser=void 0;var r=n(56096),o=n(93210),a=n(34808);class i extends o.Parser{priority=40;parse(e){return(0,a.parseAnyDigitsSigned)(e)}set(e,t,n){return[(0,r.constructFrom)(e,1e3*n),{timestampIsSet:!0}]}incompatibleTokens="*"}t.TimestampSecondsParser=i},63969:function(e,t,n){"use strict";t.YearParser=void 0;var r=n(93210),o=n(34808);class a extends r.Parser{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(e,t,n){let r=e=>({year:e,isTwoDigitYear:"yy"===t});switch(t){case"y":return(0,o.mapValue)((0,o.parseNDigits)(4,e),r);case"yo":return(0,o.mapValue)(n.ordinalNumber(e,{unit:"year"}),r);default:return(0,o.mapValue)((0,o.parseNDigits)(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n){let r=e.getFullYear();if(n.isTwoDigitYear){let t=(0,o.normalizeTwoDigitYear)(n.year,r);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}let a="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(a,0,1),e.setHours(0,0,0,0),e}}t.YearParser=a},34808:function(e,t,n){"use strict";t.dayPeriodEnumToHours=function(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}},t.isLeapYearIndex=function(e){return e%400==0||e%4==0&&e%100!=0},t.mapValue=function(e,t){return e?{value:t(e.value),rest:e.rest}:e},t.normalizeTwoDigitYear=function(e,t){let n;let r=t>0,o=r?t:1-t;if(o<=50)n=e||100;else{let t=o+50;n=e+100*Math.trunc(t/100)-(e>=t%100?100:0)}return r?n:1-n},t.parseAnyDigitsSigned=function(e){return a(o.numericPatterns.anyDigitsSigned,e)},t.parseNDigits=function(e,t){switch(e){case 1:return a(o.numericPatterns.singleDigit,t);case 2:return a(o.numericPatterns.twoDigits,t);case 3:return a(o.numericPatterns.threeDigits,t);case 4:return a(o.numericPatterns.fourDigits,t);default:return a(RegExp("^\\d{1,"+e+"}"),t)}},t.parseNDigitsSigned=function(e,t){switch(e){case 1:return a(o.numericPatterns.singleDigitSigned,t);case 2:return a(o.numericPatterns.twoDigitsSigned,t);case 3:return a(o.numericPatterns.threeDigitsSigned,t);case 4:return a(o.numericPatterns.fourDigitsSigned,t);default:return a(RegExp("^-?\\d{1,"+e+"}"),t)}},t.parseNumericPattern=a,t.parseTimezonePattern=function(e,t){let n=t.match(e);if(!n)return null;if("Z"===n[0])return{value:0,rest:t.slice(1)};let o="+"===n[1]?1:-1,a=n[2]?parseInt(n[2],10):0,i=n[3]?parseInt(n[3],10):0,s=n[5]?parseInt(n[5],10):0;return{value:o*(a*r.millisecondsInHour+i*r.millisecondsInMinute+s*r.millisecondsInSecond),rest:t.slice(n[0].length)}};var r=n(80224),o=n(19065);function a(e,t){let n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}},72118:function(e,t,n){"use strict";t.parseISO=function(e,t){let n,p;let f=t?.additionalDigits??2,h=function(e){let t;let n={},r=e.split(o.dateTimeDelimiter);if(r.length>2)return n;if(/:/.test(r[0])?t=r[0]:(n.date=r[0],t=r[1],o.timeZoneDelimiter.test(n.date)&&(n.date=e.split(o.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length))),t){let e=o.timezone.exec(t);e?(n.time=t.replace(e[1],""),n.timezone=e[1]):n.time=t}return n}(e);if(h.date){let e=function(e,t){let n=RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};let o=r[1]?parseInt(r[1]):null,a=r[2]?parseInt(r[2]):null;return{year:null===a?o:100*a,restDateString:e.slice((r[1]||r[2]).length)}}(h.date,f);n=function(e,t){if(null===t)return new Date(NaN);let n=e.match(a);if(!n)return new Date(NaN);let r=!!n[4],o=u(n[1]),i=u(n[2])-1,s=u(n[3]),c=u(n[4]),p=u(n[5])-1;if(r)return c>=1&&c<=53&&p>=0&&p<=6?function(e,t,n){let r=new Date(0);r.setUTCFullYear(e,0,4);let o=r.getUTCDay()||7;return r.setUTCDate(r.getUTCDate()+((t-1)*7+n+1-o)),r}(t,c,p):new Date(NaN);{let e=new Date(0);return i>=0&&i<=11&&s>=1&&s<=(l[i]||(d(t)?29:28))&&o>=1&&o<=(d(t)?366:365)?(e.setUTCFullYear(t,i,Math.max(o,s)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!n||isNaN(n.getTime()))return new Date(NaN);let m=n.getTime(),g=0;if(h.time&&isNaN(g=function(e){let t=e.match(i);if(!t)return NaN;let n=c(t[1]),o=c(t[2]),a=c(t[3]);return(24===n?0===o&&0===a:a>=0&&a<60&&o>=0&&o<60&&n>=0&&n<25)?n*r.millisecondsInHour+o*r.millisecondsInMinute+1e3*a:NaN}(h.time)))return new Date(NaN);if(h.timezone){if(isNaN(p=function(e){if("Z"===e)return 0;let t=e.match(s);if(!t)return 0;let n="+"===t[1]?-1:1,o=parseInt(t[2]),a=t[3]&&parseInt(t[3])||0;return a>=0&&a<=59?n*(o*r.millisecondsInHour+a*r.millisecondsInMinute):NaN}(h.timezone)))return new Date(NaN)}else{let e=new Date(m+g),t=new Date(0);return t.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),t.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),t}return new Date(m+g+p)};var r=n(80224);let o={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},a=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,i=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,s=/^([+-])(\d{2})(?::?(\d{2}))?$/;function u(e){return e?parseInt(e):1}function c(e){return e&&parseFloat(e.replace(",","."))||0}let l=[31,null,31,30,31,30,31,31,30,31,30,31];function d(e){return e%400==0||e%4==0&&e%100!=0}},20135:function(e,t,n){"use strict";t.set=function(e,t){let n=(0,a.toDate)(e);return isNaN(+n)?(0,r.constructFrom)(e,NaN):(null!=t.year&&n.setFullYear(t.year),null!=t.month&&(n=(0,o.setMonth)(n,t.month)),null!=t.date&&n.setDate(t.date),null!=t.hours&&n.setHours(t.hours),null!=t.minutes&&n.setMinutes(t.minutes),null!=t.seconds&&n.setSeconds(t.seconds),null!=t.milliseconds&&n.setMilliseconds(t.milliseconds),n)};var r=n(56096),o=n(16528),a=n(5669)},80069:function(e,t,n){"use strict";t.setDay=function(e,t,n){let i=(0,a.getDefaultOptions)(),s=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,u=(0,o.toDate)(e),c=u.getDay(),l=7-s;return(0,r.addDays)(u,t<0||t>6?t-(c+l)%7:((t%7+7)%7+l)%7-(c+l)%7)};var r=n(16798),o=n(5669),a=n(68252)},36717:function(e,t,n){"use strict";t.setHours=function(e,t){let n=(0,r.toDate)(e);return n.setHours(t),n};var r=n(5669)},2329:function(e,t,n){"use strict";t.setISODay=function(e,t){let n=(0,a.toDate)(e),i=(0,o.getISODay)(n);return(0,r.addDays)(n,t-i)};var r=n(16798),o=n(8313),a=n(5669)},69870:function(e,t,n){"use strict";t.setISOWeek=function(e,t){let n=(0,o.toDate)(e),a=(0,r.getISOWeek)(n)-t;return n.setDate(n.getDate()-7*a),n};var r=n(76624),o=n(5669)},26335:function(e,t,n){"use strict";t.setMinutes=function(e,t){let n=(0,r.toDate)(e);return n.setMinutes(t),n};var r=n(5669)},16528:function(e,t,n){"use strict";t.setMonth=function(e,t){let n=(0,a.toDate)(e),i=n.getFullYear(),s=n.getDate(),u=(0,r.constructFrom)(e,0);u.setFullYear(i,t,15),u.setHours(0,0,0,0);let c=(0,o.getDaysInMonth)(u);return n.setMonth(t,Math.min(s,c)),n};var r=n(56096),o=n(42700),a=n(5669)},39344:function(e,t,n){"use strict";t.setQuarter=function(e,t){let n=(0,o.toDate)(e),a=Math.trunc(n.getMonth()/3)+1;return(0,r.setMonth)(n,n.getMonth()+3*(t-a))};var r=n(16528),o=n(5669)},36296:function(e,t,n){"use strict";t.setSeconds=function(e,t){let n=(0,r.toDate)(e);return n.setSeconds(t),n};var r=n(5669)},95228:function(e,t,n){"use strict";t.setWeek=function(e,t,n){let a=(0,o.toDate)(e),i=(0,r.getWeek)(a,n)-t;return a.setDate(a.getDate()-7*i),a};var r=n(53323),o=n(5669)},48446:function(e,t,n){"use strict";t.setYear=function(e,t){let n=(0,o.toDate)(e);return isNaN(+n)?(0,r.constructFrom)(e,NaN):(n.setFullYear(t),n)};var r=n(56096),o=n(5669)},12869:function(e,t,n){"use strict";t.startOfDay=function(e){let t=(0,r.toDate)(e);return t.setHours(0,0,0,0),t};var r=n(5669)},33432:function(e,t,n){"use strict";t.startOfISOWeek=function(e){return(0,r.startOfWeek)(e,{weekStartsOn:1})};var r=n(22844)},25066:function(e,t,n){"use strict";t.startOfISOWeekYear=function(e){let t=(0,r.getISOWeekYear)(e),n=(0,a.constructFrom)(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),(0,o.startOfISOWeek)(n)};var r=n(99779),o=n(33432),a=n(56096)},52798:function(e,t,n){"use strict";t.startOfMonth=function(e){let t=(0,r.toDate)(e);return t.setDate(1),t.setHours(0,0,0,0),t};var r=n(5669)},61532:function(e,t,n){"use strict";t.startOfQuarter=function(e){let t=(0,r.toDate)(e),n=t.getMonth();return t.setMonth(n-n%3,1),t.setHours(0,0,0,0),t};var r=n(5669)},22844:function(e,t,n){"use strict";t.startOfWeek=function(e,t){let n=(0,o.getDefaultOptions)(),a=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=(0,r.toDate)(e),s=i.getDay();return i.setDate(i.getDate()-((s0){var n=e[e.length-1];n!==t&&n.pause()}var r=e.indexOf(t);-1===r||e.splice(r,1),e.push(t)},s=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()},u=function(e){return(null==e?void 0:e.key)==="Tab"||(null==e?void 0:e.keyCode)===9},c=function(e){return u(e)&&!e.shiftKey},l=function(e){return u(e)&&e.shiftKey},d=function(e){return setTimeout(e,0)},p=function(e,t){var n=-1;return e.every(function(e,r){return!t(e)||(n=r,!1)}),n},f=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r1?n-1:0),a=1;a=0)e=o.activeElement;else{var t=y.tabbableGroups[0];e=t&&t.firstTabbableNode||D("fallbackFocus")}}if(!e)throw Error("Your focus-trap needs to have at least one focusable element");return e},S=function(){if(y.containerGroups=y.containers.map(function(e){var t=(0,r.ht)(e,v.tabbableOptions),n=(0,r.KW)(e,v.tabbableOptions),o=t.length>0?t[0]:void 0,a=t.length>0?t[t.length-1]:void 0,i=n.find(function(e){return(0,r.Wq)(e)}),s=n.slice().reverse().find(function(e){return(0,r.Wq)(e)}),u=!!t.find(function(e){return(0,r.pN)(e)>0});return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:u,firstTabbableNode:o,lastTabbableNode:a,firstDomTabbableNode:i,lastDomTabbableNode:s,nextTabbableNode:function(e){var o=!(arguments.length>1)||void 0===arguments[1]||arguments[1],a=t.indexOf(e);return a<0?o?n.slice(n.indexOf(e)+1).find(function(e){return(0,r.Wq)(e)}):n.slice(0,n.indexOf(e)).reverse().find(function(e){return(0,r.Wq)(e)}):t[a+(o?1:-1)]}}}),y.tabbableGroups=y.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),y.tabbableGroups.length<=0&&!D("fallbackFocus"))throw Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(y.containerGroups.find(function(e){return e.posTabIndexesFound})&&y.containerGroups.length>1)throw Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},M=function e(t){var n=t.activeElement;return n?n.shadowRoot&&null!==n.shadowRoot.activeElement?e(n.shadowRoot):n:void 0},P=function e(t){if(!1!==t&&t!==M(document)){if(!t||!t.focus){e(k());return}t.focus({preventScroll:!!v.preventScroll}),y.mostRecentlyFocusedNode=t,t.tagName&&"input"===t.tagName.toLowerCase()&&"function"==typeof t.select&&t.select()}},x=function(e){var t=D("setReturnFocus",e);return t||!1!==t&&e},E=function(e){var t=e.target,n=e.event,o=e.isBackward,a=void 0!==o&&o;t=t||h(n),S();var i=null;if(y.tabbableGroups.length>0){var s=w(t,n),c=s>=0?y.containerGroups[s]:void 0;if(s<0)i=a?y.tabbableGroups[y.tabbableGroups.length-1].lastTabbableNode:y.tabbableGroups[0].firstTabbableNode;else if(a){var l=p(y.tabbableGroups,function(e){var n=e.firstTabbableNode;return t===n});if(l<0&&(c.container===t||(0,r.EB)(t,v.tabbableOptions)&&!(0,r.Wq)(t,v.tabbableOptions)&&!c.nextTabbableNode(t,!1))&&(l=s),l>=0){var d=0===l?y.tabbableGroups.length-1:l-1,f=y.tabbableGroups[d];i=(0,r.pN)(t)>=0?f.lastTabbableNode:f.lastDomTabbableNode}else u(n)||(i=c.nextTabbableNode(t,!1))}else{var m=p(y.tabbableGroups,function(e){var n=e.lastTabbableNode;return t===n});if(m<0&&(c.container===t||(0,r.EB)(t,v.tabbableOptions)&&!(0,r.Wq)(t,v.tabbableOptions)&&!c.nextTabbableNode(t))&&(m=s),m>=0){var g=m===y.tabbableGroups.length-1?0:m+1,b=y.tabbableGroups[g];i=(0,r.pN)(t)>=0?b.firstTabbableNode:b.firstDomTabbableNode}else u(n)||(i=c.nextTabbableNode(t))}}else i=D("fallbackFocus");return i},C=function(e){if(!(w(h(e),e)>=0)){if(f(v.clickOutsideDeactivates,e)){n.deactivate({returnFocus:v.returnFocusOnDeactivate});return}f(v.allowOutsideClick,e)||e.preventDefault()}},O=function(e){var t=h(e),n=w(t,e)>=0;if(n||t instanceof Document)n&&(y.mostRecentlyFocusedNode=t);else{e.stopImmediatePropagation();var o,a=!0;if(y.mostRecentlyFocusedNode){if((0,r.pN)(y.mostRecentlyFocusedNode)>0){var i=w(y.mostRecentlyFocusedNode),s=y.containerGroups[i].tabbableNodes;if(s.length>0){var u=s.findIndex(function(e){return e===y.mostRecentlyFocusedNode});u>=0&&(v.isKeyForward(y.recentNavEvent)?u+1=0&&(o=s[u-1],a=!1))}}else y.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return(0,r.pN)(e)>0})})||(a=!1)}else a=!1;a&&(o=E({target:y.mostRecentlyFocusedNode,isBackward:v.isKeyBackward(y.recentNavEvent)})),o?P(o):P(y.mostRecentlyFocusedNode||k())}y.recentNavEvent=void 0},T=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];y.recentNavEvent=e;var n=E({event:e,isBackward:t});n&&(u(e)&&e.preventDefault(),P(n))},N=function(e){if(((null==e?void 0:e.key)==="Escape"||(null==e?void 0:e.key)==="Esc"||(null==e?void 0:e.keyCode)===27)&&!1!==f(v.escapeDeactivates,e)){e.preventDefault(),n.deactivate();return}(v.isKeyForward(e)||v.isKeyBackward(e))&&T(e,v.isKeyBackward(e))},I=function(e){w(h(e),e)>=0||f(v.clickOutsideDeactivates,e)||f(v.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},Y=function(){if(y.active)return i(g,n),y.delayInitialFocusTimer=v.delayInitialFocus?d(function(){P(k())}):P(k()),o.addEventListener("focusin",O,!0),o.addEventListener("mousedown",C,{capture:!0,passive:!1}),o.addEventListener("touchstart",C,{capture:!0,passive:!1}),o.addEventListener("click",I,{capture:!0,passive:!1}),o.addEventListener("keydown",N,{capture:!0,passive:!1}),n},_=function(){if(y.active)return o.removeEventListener("focusin",O,!0),o.removeEventListener("mousedown",C,!0),o.removeEventListener("touchstart",C,!0),o.removeEventListener("click",I,!0),o.removeEventListener("keydown",N,!0),n},R="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver(function(e){e.some(function(e){return Array.from(e.removedNodes).some(function(e){return e===y.mostRecentlyFocusedNode})})&&P(k())}):void 0,L=function(){R&&(R.disconnect(),y.active&&!y.paused&&y.containers.map(function(e){R.observe(e,{subtree:!0,childList:!0})}))};return(n={get active(){return y.active},get paused(){return y.paused},activate:function(e){if(y.active)return this;var t=b(e,"onActivate"),n=b(e,"onPostActivate"),r=b(e,"checkCanFocusTrap");r||S(),y.active=!0,y.paused=!1,y.nodeFocusedBeforeActivation=o.activeElement,null==t||t();var a=function(){r&&S(),Y(),L(),null==n||n()};return r?r(y.containers.concat()).then(a,a):a(),this},deactivate:function(e){if(!y.active)return this;var t=a({onDeactivate:v.onDeactivate,onPostDeactivate:v.onPostDeactivate,checkCanReturnFocus:v.checkCanReturnFocus},e);clearTimeout(y.delayInitialFocusTimer),y.delayInitialFocusTimer=void 0,_(),y.active=!1,y.paused=!1,L(),s(g,n);var r=b(t,"onDeactivate"),o=b(t,"onPostDeactivate"),i=b(t,"checkCanReturnFocus"),u=b(t,"returnFocus","returnFocusOnDeactivate");null==r||r();var c=function(){d(function(){u&&P(x(y.nodeFocusedBeforeActivation)),null==o||o()})};return u&&i?i(x(y.nodeFocusedBeforeActivation)).then(c,c):c(),this},pause:function(e){if(y.paused||!y.active)return this;var t=b(e,"onPause"),n=b(e,"onPostPause");return y.paused=!0,null==t||t(),_(),L(),null==n||n(),this},unpause:function(e){if(!y.paused||!y.active)return this;var t=b(e,"onUnpause"),n=b(e,"onPostUnpause");return y.paused=!1,null==t||t(),S(),Y(),L(),null==n||n(),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return y.containers=t.map(function(e){return"string"==typeof e?o.querySelector(e):e}),y.active&&S(),L(),this}}).updateContainerElements(e),n}},31728:function(e,t){"use strict";function n(e,t){if(e.length!==t.length)return!1;for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,o=t.excludeDates,a=t.excludeDateIntervals,i=t.includeDates,s=t.includeDateIntervals,u=t.filterDate;return e9(e,{minDate:n,maxDate:r})||o&&o.some(function(t){return eQ(e,t.date?t.date:t)})||a&&a.some(function(t){var n=t.start,r=t.end;return en.isWithinInterval(e,{start:n,end:r})})||i&&!i.some(function(t){return eQ(e,t)})||s&&!s.some(function(t){var n=t.start,r=t.end;return en.isWithinInterval(e,{start:n,end:r})})||u&&!u(eN(e))||!1}function e$(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.excludeDates,r=t.excludeDateIntervals;return r&&r.length>0?r.some(function(t){var n=t.start,r=t.end;return en.isWithinInterval(e,{start:n,end:r})}):n&&n.some(function(t){return eQ(e,t.date?t.date:t)})||!1}function eJ(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,o=t.excludeDates,a=t.includeDates,i=t.filterDate;return e9(e,{minDate:B.startOfMonth(n),maxDate:V.endOfMonth(r)})||o&&o.some(function(t){return eB(e,t)})||a&&!a.some(function(t){return eB(e,t)})||i&&!i(eN(e))||!1}function e0(e,t,n,r){var o=E.getYear(e),a=P.getMonth(e),i=E.getYear(t),s=P.getMonth(t),u=E.getYear(r);return o===i&&o===u?a<=n&&n<=s:o=n||uo:void 0}function e1(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,o=t.excludeDates,a=t.includeDates,i=t.filterDate;return e9(e,{minDate:n,maxDate:r})||o&&o.some(function(t){return eq(e,t)})||a&&!a.some(function(t){return eq(e,t)})||i&&!i(eN(e))||!1}function e2(e,t,n){if(!a.isValid(t)||!a.isValid(n))return!1;var r=E.getYear(t),o=E.getYear(n);return r<=e&&o>=e}function e6(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,o=t.excludeDates,a=t.includeDates,i=t.filterDate,s=new Date(e,0,1);return e9(s,{minDate:Q.startOfYear(n),maxDate:U.endOfYear(r)})||o&&o.some(function(e){return ej(s,e)})||a&&!a.some(function(e){return ej(s,e)})||i&&!i(eN(s))||!1}function e3(e,t,n,r){var o=E.getYear(e),a=x.getQuarter(e),i=E.getYear(t),s=x.getQuarter(t),u=E.getYear(r);return o===i&&o===u?a<=n&&n<=s:o=n||uo:void 0}function e9(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate;return n&&0>F.differenceInCalendarDays(e,n)||r&&F.differenceInCalendarDays(e,r)>0}function e4(e,t){return t.some(function(t){return D.getHours(t)===D.getHours(e)&&w.getMinutes(t)===w.getMinutes(e)})}function e5(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.excludeTimes,r=t.includeTimes,o=t.filterTime;return n&&e4(e,n)||r&&!e4(e,r)||o&&!o(e)||!1}function e8(e,t){var n=t.minTime,r=t.maxTime;if(!n||!r)throw Error("Both minTime and maxTime props required");var o,a=eN(),i=N.setHours(T.setMinutes(a,w.getMinutes(e)),D.getHours(e)),s=N.setHours(T.setMinutes(a,w.getMinutes(n)),D.getHours(n)),u=N.setHours(T.setMinutes(a,w.getMinutes(r)),D.getHours(r));try{o=!en.isWithinInterval(i,{start:s,end:u})}catch(e){o=!1}return o}function e7(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.includeDates,o=g.subMonths(e,1);return n&&W.differenceInCalendarMonths(n,o)>0||r&&r.every(function(e){return W.differenceInCalendarMonths(e,o)>0})||!1}function te(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.includeDates,o=d.addMonths(e,1);return n&&W.differenceInCalendarMonths(o,n)>0||r&&r.every(function(e){return W.differenceInCalendarMonths(o,e)>0})||!1}function tt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.includeDates,o=y.subYears(e,1);return n&&A.differenceInCalendarYears(n,o)>0||r&&r.every(function(e){return A.differenceInCalendarYears(e,o)>0})||!1}function tn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.includeDates,o=f.addYears(e,1);return n&&A.differenceInCalendarYears(o,n)>0||r&&r.every(function(e){return A.differenceInCalendarYears(o,e)>0})||!1}function tr(e){var t=e.minDate,n=e.includeDates;if(n&&t){var r=n.filter(function(e){return F.differenceInCalendarDays(e,t)>=0});return R.min(r)}return n?R.min(n):t}function to(e){var t=e.maxDate,n=e.includeDates;if(n&&t){var r=n.filter(function(e){return 0>=F.differenceInCalendarDays(e,t)});return L.max(r)}return n?L.max(n):t}function ta(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"react-datepicker__day--highlighted",n=new Map,r=0,a=e.length;r1&&void 0!==arguments[1]?arguments[1]:12,n=Math.ceil(E.getYear(e)/t)*t;return{startPeriod:n-(t-1),endPeriod:n}}function tu(e){var t=e.getSeconds(),n=e.getMilliseconds();return er.toDate(e.getTime()-1e3*t-n)}function tc(e){if(!o.isDate(e))throw Error("Invalid date");var t=new Date(e);return t.setHours(0,0,0,0),t}function tl(e,t){if(!o.isDate(e)||!o.isDate(t))throw Error("Invalid date received");var n=tc(e),r=tc(t);return et.isBefore(n,r)}var td=function(e){function n(e){ew(this,n),eS(r=eh(this,n,[e]),"renderOptions",function(){var e=r.props.year,t=r.state.yearsList.map(function(t){return ed.default.createElement("div",{className:e===t?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:t,onClick:r.onChange.bind(r,t),"aria-selected":e===t?"true":void 0},e===t?ed.default.createElement("span",{className:"react-datepicker__year-option--selected"},"✓"):"",t)}),n=r.props.minDate?E.getYear(r.props.minDate):null,o=r.props.maxDate?E.getYear(r.props.maxDate):null;return o&&r.state.yearsList.find(function(e){return e===o})||t.unshift(ed.default.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:r.incrementYears},ed.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),n&&r.state.yearsList.find(function(e){return e===n})||t.push(ed.default.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:r.decrementYears},ed.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),t}),eS(r,"onChange",function(e){r.props.onChange(e)}),eS(r,"handleClickOutside",function(){r.props.onCancel()}),eS(r,"shiftYears",function(e){var t=r.state.yearsList.map(function(t){return t+e});r.setState({yearsList:t})}),eS(r,"incrementYears",function(){return r.shiftYears(1)}),eS(r,"decrementYears",function(){return r.shiftYears(-1)});var r,o=e.yearDropdownItemNumber,a=e.scrollableYearDropdown;return r.state={yearsList:function(e,t,n,r){for(var o=[],a=0;a<2*t+1;a++){var i=e+t-a,s=!0;n&&(s=E.getYear(n)<=i),r&&s&&(s=E.getYear(r)>=i),s&&o.push(i)}return o}(r.props.year,o||(a?10:5),r.props.minDate,r.props.maxDate)},r.dropdownRef=t.createRef(),r}return eP(n,e),ek(n,[{key:"componentDidMount",value:function(){var e=this.dropdownRef.current;if(e){var t=e.children?Array.from(e.children):null,n=t?t.find(function(e){return e.ariaSelected}):null;e.scrollTop=n?n.offsetTop+(n.clientHeight-e.clientHeight)/2:(e.scrollHeight-e.clientHeight)/2}}},{key:"render",value:function(){var e=r.clsx({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return ed.default.createElement("div",{className:e,ref:this.dropdownRef},this.renderOptions())}}])}(ed.default.Component),tp=ep.default(td),tf=function(e){function t(){var e;ew(this,t);for(var n=arguments.length,r=Array(n),o=0;o0&&void 0!==arguments[0]?arguments[0]:{},r=!1;0===e.getTabIndex()&&!n.isInputFocused&&e.isSameDay(e.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(r=!0),e.props.inline&&!e.props.shouldFocusDayInline&&(r=!1),e.props.containerRef&&e.props.containerRef.current&&e.props.containerRef.current.contains(document.activeElement)&&document.activeElement.classList.contains("react-datepicker__day")&&(r=!0),e.props.monthShowsDuplicateDaysEnd&&e.isAfterMonth()&&(r=!1),e.props.monthShowsDuplicateDaysStart&&e.isBeforeMonth()&&(r=!1)),r&&(null===(t=e.dayEl.current)||void 0===t||t.focus({preventScroll:!0}))}),eS(e,"renderDayContents",function(){return e.props.monthShowsDuplicateDaysEnd&&e.isAfterMonth()||e.props.monthShowsDuplicateDaysStart&&e.isBeforeMonth()?null:e.props.renderDayContents?e.props.renderDayContents(S.getDate(e.props.day),e.props.day):S.getDate(e.props.day)}),eS(e,"render",function(){return ed.default.createElement("div",{ref:e.dayEl,className:e.getClassNames(e.props.day),onKeyDown:e.handleOnKeyDown,onClick:e.handleClick,onMouseEnter:e.props.usePointerEvent?void 0:e.handleMouseEnter,onPointerEnter:e.props.usePointerEvent?e.handleMouseEnter:void 0,tabIndex:e.getTabIndex(),"aria-label":e.getAriaLabel(),role:"option",title:e.getTitle(),"aria-disabled":e.isDisabled(),"aria-current":e.isCurrentDay()?"date":void 0,"aria-selected":e.isSelected()||e.isInRange()},e.renderDayContents(),""!==e.getTitle()&&ed.default.createElement("span",{className:"overlay"},e.getTitle()))}),e}return eP(t,e),ek(t,[{key:"componentDidMount",value:function(){this.handleFocusDay()}},{key:"componentDidUpdate",value:function(e){this.handleFocusDay(e)}}])}(ed.default.Component),tD=function(e){function t(){var e;ew(this,t);for(var n=arguments.length,r=Array(n),o=0;o0&&void 0!==arguments[0]?arguments[0]:{},n=!1;0===e.getTabIndex()&&!t.isInputFocused&&eQ(e.props.date,e.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(n=!0),e.props.inline&&!e.props.shouldFocusDayInline&&(n=!1),e.props.containerRef&&e.props.containerRef.current&&e.props.containerRef.current.contains(document.activeElement)&&document.activeElement&&document.activeElement.classList.contains("react-datepicker__week-number")&&(n=!0)),n&&e.weekNumberEl.current&&e.weekNumberEl.current.focus({preventScroll:!0})}),e}return eP(t,e),ek(t,[{key:"componentDidMount",value:function(){this.handleFocusWeekNumber()}},{key:"componentDidUpdate",value:function(e){this.handleFocusWeekNumber(e)}},{key:"render",value:function(){var e=this.props,t=e.weekNumber,n=e.ariaLabelPrefix,o=e.onClick,a={"react-datepicker__week-number":!0,"react-datepicker__week-number--clickable":!!o,"react-datepicker__week-number--selected":!!o&&eQ(this.props.date,this.props.selected),"react-datepicker__week-number--keyboard-selected":this.isKeyboardSelected()};return ed.default.createElement("div",{ref:this.weekNumberEl,className:r.clsx(a),"aria-label":"".concat(void 0===n?"week ":n," ").concat(this.props.weekNumber),onClick:this.handleClick,onKeyDown:this.handleOnKeyDown,tabIndex:this.getTabIndex()},t)}}],[{key:"defaultProps",get:function(){return{ariaLabelPrefix:"week "}}}])}(ed.default.Component),tk=function(e){function t(){var e;ew(this,t);for(var n=arguments.length,r=Array(n),o=0;o=6,c=!n&&!e.isWeekInMonth(a);if(u||c){if(!e.props.peekNextMonth)break;o=!0}}return t}),eS(e,"onMonthClick",function(t,n){var r=I.setMonth(e.props.day,n);eJ(r,e.props)||e.handleDayClick(eF(r),t)}),eS(e,"onMonthMouseEnter",function(t){var n=I.setMonth(e.props.day,t);eJ(n,e.props)||e.handleDayMouseEnter(eF(n))}),eS(e,"handleMonthNavigation",function(t,n){e.isDisabled(n)||e.isExcluded(n)||(e.props.setPreSelection(n),e.MONTH_REFS[t].current&&e.MONTH_REFS[t].current.focus())}),eS(e,"onMonthKeyDown",function(t,n){var r=e.props,o=r.selected,a=r.preSelection,i=r.disabledKeyboardNavigation,s=r.showTwoColumnMonthYearPicker,u=r.showFourColumnMonthYearPicker,c=r.setPreSelection,l=r.handleOnMonthKeyDown,p=t.key;if("Tab"!==p&&t.preventDefault(),!i){var f=u?tP:s?tS:tM,h=tx[f].verticalNavigationOffset,m=tx[f].grid;switch(p){case"Enter":e.onMonthClick(t,n),c(o);break;case"ArrowRight":e.handleMonthNavigation(11===n?0:n+1,d.addMonths(a,1));break;case"ArrowLeft":e.handleMonthNavigation(0===n?11:n-1,g.subMonths(a,1));break;case"ArrowUp":e.handleMonthNavigation(m[0].includes(n)?n+12-h:n-h,g.subMonths(a,h));break;case"ArrowDown":e.handleMonthNavigation(m[m.length-1].includes(n)?n-12+h:n+h,d.addMonths(a,h))}}l&&l(t)}),eS(e,"onQuarterClick",function(t,n){var r=Y.setQuarter(e.props.day,n);e1(r,e.props)||e.handleDayClick(eA(r),t)}),eS(e,"onQuarterMouseEnter",function(t){var n=Y.setQuarter(e.props.day,t);e1(n,e.props)||e.handleDayMouseEnter(eA(n))}),eS(e,"handleQuarterNavigation",function(t,n){e.isDisabled(n)||e.isExcluded(n)||(e.props.setPreSelection(n),e.QUARTER_REFS[t-1].current&&e.QUARTER_REFS[t-1].current.focus())}),eS(e,"onQuarterKeyDown",function(t,n){var r=t.key;if(!e.props.disabledKeyboardNavigation)switch(r){case"Enter":e.onQuarterClick(t,n),e.props.setPreSelection(e.props.selected);break;case"ArrowRight":e.handleQuarterNavigation(4===n?1:n+1,p.addQuarters(e.props.preSelection,1));break;case"ArrowLeft":e.handleQuarterNavigation(1===n?4:n-1,v.subQuarters(e.props.preSelection,1))}}),eS(e,"getMonthClassNames",function(t){var n=e.props,o=n.day,a=n.startDate,i=n.endDate,s=n.selected,u=n.minDate,c=n.maxDate,l=n.preSelection,d=n.monthClassName,p=n.excludeDates,f=n.includeDates,h=d?d(I.setMonth(o,t)):void 0,m=I.setMonth(o,t);return r.clsx("react-datepicker__month-text","react-datepicker__month-".concat(t),h,{"react-datepicker__month-text--disabled":(u||c||p||f)&&eJ(m,e.props),"react-datepicker__month-text--selected":e.isSelectedMonth(o,t,s),"react-datepicker__month-text--keyboard-selected":!e.props.disabledKeyboardNavigation&&e.isSelectedMonth(o,t,l),"react-datepicker__month-text--in-selecting-range":e.isInSelectingRangeMonth(t),"react-datepicker__month-text--in-range":e0(a,i,t,o),"react-datepicker__month-text--range-start":e.isRangeStartMonth(t),"react-datepicker__month-text--range-end":e.isRangeEndMonth(t),"react-datepicker__month-text--selecting-range-start":e.isSelectingMonthRangeStart(t),"react-datepicker__month-text--selecting-range-end":e.isSelectingMonthRangeEnd(t),"react-datepicker__month-text--today":e.isCurrentMonth(o,t)})}),eS(e,"getTabIndex",function(t){var n=P.getMonth(e.props.preSelection);return e.props.disabledKeyboardNavigation||t!==n?"-1":"0"}),eS(e,"getQuarterTabIndex",function(t){var n=x.getQuarter(e.props.preSelection);return e.props.disabledKeyboardNavigation||t!==n?"-1":"0"}),eS(e,"getAriaLabel",function(t){var n=e.props,r=n.chooseDayAriaLabelPrefix,o=n.disabledDayAriaLabelPrefix,a=n.day,i=I.setMonth(a,t),s=e.isDisabled(i)||e.isExcluded(i)?void 0===o?"Not available":o:void 0===r?"Choose":r;return"".concat(s," ").concat(eY(i,"MMMM yyyy"))}),eS(e,"getQuarterClassNames",function(t){var n=e.props,o=n.day,a=n.startDate,i=n.endDate,s=n.selected,u=n.minDate,c=n.maxDate,l=n.preSelection,d=n.disabledKeyboardNavigation;return r.clsx("react-datepicker__quarter-text","react-datepicker__quarter-".concat(t),{"react-datepicker__quarter-text--disabled":(u||c)&&e1(Y.setQuarter(o,t),e.props),"react-datepicker__quarter-text--selected":e.isSelectedQuarter(o,t,s),"react-datepicker__quarter-text--keyboard-selected":!d&&e.isSelectedQuarter(o,t,l),"react-datepicker__quarter-text--in-selecting-range":e.isInSelectingRangeQuarter(t),"react-datepicker__quarter-text--in-range":e3(a,i,t,o),"react-datepicker__quarter-text--range-start":e.isRangeStartQuarter(t),"react-datepicker__quarter-text--range-end":e.isRangeEndQuarter(t)})}),eS(e,"getMonthContent",function(t){var n=e.props,r=n.showFullMonthYearPicker,o=n.renderMonthContent,a=n.locale,i=n.day,s=eG(t,a),u=eZ(t,a);return o?o(t,s,u,i):r?u:s}),eS(e,"getQuarterContent",function(t){var n,r=e.props,o=r.renderQuarterContent,a=(n=r.locale,eY(Y.setQuarter(eN(),t),"QQQ",n));return o?o(t,a):a}),eS(e,"renderMonths",function(){var t=e.props,n=t.showTwoColumnMonthYearPicker,r=t.showFourColumnMonthYearPicker,o=t.day,a=t.selected;return tx[r?tP:n?tS:tM].grid.map(function(t,n){return ed.default.createElement("div",{className:"react-datepicker__month-wrapper",key:n},t.map(function(t,n){return ed.default.createElement("div",{ref:e.MONTH_REFS[t],key:n,onClick:function(n){e.onMonthClick(n,t)},onKeyDown:function(n){" "===n.key&&(n.preventDefault(),n.key="Enter"),e.onMonthKeyDown(n,t)},onMouseEnter:e.props.usePointerEvent?void 0:function(){return e.onMonthMouseEnter(t)},onPointerEnter:e.props.usePointerEvent?function(){return e.onMonthMouseEnter(t)}:void 0,tabIndex:e.getTabIndex(t),className:e.getMonthClassNames(t),role:"option","aria-label":e.getAriaLabel(t),"aria-current":e.isCurrentMonth(o,t)?"date":void 0,"aria-selected":e.isSelectedMonth(o,t,a)},e.getMonthContent(t))}))})}),eS(e,"renderQuarters",function(){var t=e.props,n=t.day,r=t.selected;return ed.default.createElement("div",{className:"react-datepicker__quarter-wrapper"},[1,2,3,4].map(function(t,o){return ed.default.createElement("div",{key:o,ref:e.QUARTER_REFS[o],role:"option",onClick:function(n){e.onQuarterClick(n,t)},onKeyDown:function(n){e.onQuarterKeyDown(n,t)},onMouseEnter:e.props.usePointerEvent?void 0:function(){return e.onQuarterMouseEnter(t)},onPointerEnter:e.props.usePointerEvent?function(){return e.onQuarterMouseEnter(t)}:void 0,className:e.getQuarterClassNames(t),"aria-selected":e.isSelectedQuarter(n,t,r),tabIndex:e.getQuarterTabIndex(t),"aria-current":e.isCurrentQuarter(n,t)?"date":void 0},e.getQuarterContent(t))}))}),eS(e,"getClassNames",function(){var t=e.props,n=t.selectingDate,o=t.selectsStart,a=t.selectsEnd,i=t.showMonthYearPicker,s=t.showQuarterYearPicker,u=t.showWeekPicker;return r.clsx("react-datepicker__month",{"react-datepicker__month--selecting-range":n&&(o||a)},{"react-datepicker__monthPicker":i},{"react-datepicker__quarterPicker":s},{"react-datepicker__weekPicker":u})}),e}return eP(t,e),ek(t,[{key:"render",value:function(){var e=this.props,t=e.showMonthYearPicker,n=e.showQuarterYearPicker,r=e.day,o=e.ariaLabelPrefix,a=void 0===o?"Month ":o,i=a?a.trim()+" ":"";return ed.default.createElement("div",{className:this.getClassNames(),onMouseLeave:this.props.usePointerEvent?void 0:this.handleMouseLeave,onPointerLeave:this.props.usePointerEvent?this.handleMouseLeave:void 0,"aria-label":"".concat(i).concat(eY(r,"MMMM, yyyy")),role:"listbox"},t?this.renderMonths():n?this.renderQuarters():this.renderWeeks())}}])}(ed.default.Component),tC=function(e){function t(){var e;ew(this,t);for(var n=arguments.length,r=Array(n),o=0;o0&&void 0!==arguments[0]?arguments[0]:{}).className||"").split(/\s+/);return tI.some(function(t){return e.indexOf(t)>=0})})(e.target)&&n.props.onDropdownFocus()}),eS(n,"getDateInView",function(){var e=n.props,t=e.preSelection,r=e.selected,o=e.openToDate,a=tr(n.props),i=to(n.props),s=eN();return o||r||t||(a&&et.isBefore(s,a)?a:i&&ee.isAfter(s,i)?i:s)}),eS(n,"increaseMonth",function(){n.setState(function(e){var t=e.date;return{date:d.addMonths(t,1)}},function(){return n.handleMonthChange(n.state.date)})}),eS(n,"decreaseMonth",function(){n.setState(function(e){var t=e.date;return{date:g.subMonths(t,1)}},function(){return n.handleMonthChange(n.state.date)})}),eS(n,"handleDayClick",function(e,t,r){n.props.onSelect(e,t,r),n.props.setPreSelection&&n.props.setPreSelection(e)}),eS(n,"handleDayMouseEnter",function(e){n.setState({selectingDate:e}),n.props.onDayMouseEnter&&n.props.onDayMouseEnter(e)}),eS(n,"handleMonthMouseLeave",function(){n.setState({selectingDate:null}),n.props.onMonthMouseLeave&&n.props.onMonthMouseLeave()}),eS(n,"handleYearMouseEnter",function(e,t){n.setState({selectingDate:_.setYear(eN(),t)}),n.props.onYearMouseEnter&&n.props.onYearMouseEnter(e,t)}),eS(n,"handleYearMouseLeave",function(e,t){n.props.onYearMouseLeave&&n.props.onYearMouseLeave(e,t)}),eS(n,"handleYearChange",function(e){n.props.onYearChange&&(n.props.onYearChange(e),n.setState({isRenderAriaLiveMessage:!0})),n.props.adjustDateOnChange&&(n.props.onSelect&&n.props.onSelect(e),n.props.setOpen&&n.props.setOpen(!0)),n.props.setPreSelection&&n.props.setPreSelection(e)}),eS(n,"handleMonthChange",function(e){n.handleCustomMonthChange(e),n.props.adjustDateOnChange&&(n.props.onSelect&&n.props.onSelect(e),n.props.setOpen&&n.props.setOpen(!0)),n.props.setPreSelection&&n.props.setPreSelection(e)}),eS(n,"handleCustomMonthChange",function(e){n.props.onMonthChange&&(n.props.onMonthChange(e),n.setState({isRenderAriaLiveMessage:!0}))}),eS(n,"handleMonthYearChange",function(e){n.handleYearChange(e),n.handleMonthChange(e)}),eS(n,"changeYear",function(e){n.setState(function(t){var n=t.date;return{date:_.setYear(n,e)}},function(){return n.handleYearChange(n.state.date)})}),eS(n,"changeMonth",function(e){n.setState(function(t){var n=t.date;return{date:I.setMonth(n,e)}},function(){return n.handleMonthChange(n.state.date)})}),eS(n,"changeMonthYear",function(e){n.setState(function(t){var n=t.date;return{date:_.setYear(I.setMonth(n,P.getMonth(e)),E.getYear(e))}},function(){return n.handleMonthYearChange(n.state.date)})}),eS(n,"header",function(){var e=eL(arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.state.date,n.props.locale,n.props.calendarStartDay),t=[];return n.props.showWeekNumbers&&t.push(ed.default.createElement("div",{key:"W",className:"react-datepicker__day-name"},n.props.weekLabel||"#")),t.concat([0,1,2,3,4,5,6].map(function(t){var o=c.addDays(e,t),a=n.formatWeekday(o,n.props.locale),i=n.props.weekDayClassName?n.props.weekDayClassName(o):void 0;return ed.default.createElement("div",{key:t,className:r.clsx("react-datepicker__day-name",i)},a)}))}),eS(n,"formatWeekday",function(e,t){return n.props.formatWeekDay?(0,n.props.formatWeekDay)(eY(e,"EEEE",t)):n.props.useWeekdaysShort?eY(e,"EEE",t):eY(e,"EEEEEE",t)}),eS(n,"decreaseYear",function(){n.setState(function(e){var t=e.date;return{date:y.subYears(t,n.props.showYearPicker?n.props.yearItemNumber:1)}},function(){return n.handleYearChange(n.state.date)})}),eS(n,"clearSelectingDate",function(){n.setState({selectingDate:null})}),eS(n,"renderPreviousButton",function(){if(!n.props.renderCustomHeader){var e;switch(!0){case n.props.showMonthYearPicker:e=tt(n.state.date,n.props);break;case n.props.showYearPicker:e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.yearItemNumber,o=void 0===r?12:r,a=ts(eW(y.subYears(e,o)),o).endPeriod,i=n&&E.getYear(n);return i&&i>a||!1}(n.state.date,n.props);break;default:e=e7(n.state.date,n.props)}if((n.props.forceShowMonthNavigation||n.props.showDisabledMonthNavigation||!e)&&!n.props.showTimeSelectOnly){var t=["react-datepicker__navigation","react-datepicker__navigation--previous"],r=n.decreaseMonth;(n.props.showMonthYearPicker||n.props.showQuarterYearPicker||n.props.showYearPicker)&&(r=n.decreaseYear),e&&n.props.showDisabledMonthNavigation&&(t.push("react-datepicker__navigation--previous--disabled"),r=null);var o=n.props.showMonthYearPicker||n.props.showQuarterYearPicker||n.props.showYearPicker,a=n.props,i=a.previousMonthButtonLabel,s=a.previousYearButtonLabel,u=n.props,c=u.previousMonthAriaLabel,l=u.previousYearAriaLabel;return ed.default.createElement("button",{type:"button",className:t.join(" "),onClick:r,onKeyDown:n.props.handleOnKeyDown,"aria-label":o?void 0===l?"string"==typeof s?s:"Previous Year":l:void 0===c?"string"==typeof i?i:"Previous Month":c},ed.default.createElement("span",{className:"react-datepicker__navigation-icon react-datepicker__navigation-icon--previous"},o?n.props.previousYearButtonLabel:n.props.previousMonthButtonLabel))}}}),eS(n,"increaseYear",function(){n.setState(function(e){var t=e.date;return{date:f.addYears(t,n.props.showYearPicker?n.props.yearItemNumber:1)}},function(){return n.handleYearChange(n.state.date)})}),eS(n,"renderNextButton",function(){if(!n.props.renderCustomHeader){var e;switch(!0){case n.props.showMonthYearPicker:e=tn(n.state.date,n.props);break;case n.props.showYearPicker:e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.yearItemNumber,o=void 0===r?12:r,a=ts(f.addYears(e,o),o).startPeriod,i=n&&E.getYear(n);return i&&i0&&void 0!==arguments[0]?arguments[0]:n.state.date,t=["react-datepicker__current-month"];return n.props.showYearDropdown&&t.push("react-datepicker__current-month--hasYearDropdown"),n.props.showMonthDropdown&&t.push("react-datepicker__current-month--hasMonthDropdown"),n.props.showMonthYearDropdown&&t.push("react-datepicker__current-month--hasMonthYearDropdown"),ed.default.createElement("div",{className:t.join(" ")},eY(e,n.props.dateFormat,n.props.locale))}),eS(n,"renderYearDropdown",function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(n.props.showYearDropdown&&!e)return ed.default.createElement(tf,{adjustDateOnChange:n.props.adjustDateOnChange,date:n.state.date,onSelect:n.props.onSelect,setOpen:n.props.setOpen,dropdownMode:n.props.dropdownMode,onChange:n.changeYear,minDate:n.props.minDate,maxDate:n.props.maxDate,year:E.getYear(n.state.date),scrollableYearDropdown:n.props.scrollableYearDropdown,yearDropdownItemNumber:n.props.yearDropdownItemNumber})}),eS(n,"renderMonthDropdown",function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(n.props.showMonthDropdown&&!e)return ed.default.createElement(tg,{dropdownMode:n.props.dropdownMode,locale:n.props.locale,onChange:n.changeMonth,month:P.getMonth(n.state.date),useShortMonthInDropdown:n.props.useShortMonthInDropdown})}),eS(n,"renderMonthYearDropdown",function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(n.props.showMonthYearDropdown&&!e)return ed.default.createElement(tb,{dropdownMode:n.props.dropdownMode,locale:n.props.locale,dateFormat:n.props.dateFormat,onChange:n.changeMonthYear,minDate:n.props.minDate,maxDate:n.props.maxDate,date:n.state.date,scrollableMonthYearDropdown:n.props.scrollableMonthYearDropdown})}),eS(n,"handleTodayButtonClick",function(e){n.props.onSelect(eH(),e),n.props.setPreSelection&&n.props.setPreSelection(eH())}),eS(n,"renderTodayButton",function(){if(n.props.todayButton&&!n.props.showTimeSelectOnly)return ed.default.createElement("div",{className:"react-datepicker__today-button",onClick:function(e){return n.handleTodayButtonClick(e)}},n.props.todayButton)}),eS(n,"renderDefaultHeader",function(e){var t=e.monthDate,r=e.i;return ed.default.createElement("div",{className:"react-datepicker__header ".concat(n.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},n.renderCurrentMonth(t),ed.default.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(n.props.dropdownMode),onFocus:n.handleDropdownFocus},n.renderMonthDropdown(0!==r),n.renderMonthYearDropdown(0!==r),n.renderYearDropdown(0!==r)),ed.default.createElement("div",{className:"react-datepicker__day-names"},n.header(t)))}),eS(n,"renderCustomHeader",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.monthDate,r=e.i;if(n.props.showTimeSelect&&!n.state.monthContainer||n.props.showTimeSelectOnly)return null;var o=e7(n.state.date,n.props),a=te(n.state.date,n.props),i=tt(n.state.date,n.props),s=tn(n.state.date,n.props),u=!n.props.showMonthYearPicker&&!n.props.showQuarterYearPicker&&!n.props.showYearPicker;return ed.default.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:n.props.onDropdownFocus},n.props.renderCustomHeader(ev(ev({},n.state),{},{customHeaderCount:r,monthDate:t,changeMonth:n.changeMonth,changeYear:n.changeYear,decreaseMonth:n.decreaseMonth,increaseMonth:n.increaseMonth,decreaseYear:n.decreaseYear,increaseYear:n.increaseYear,prevMonthButtonDisabled:o,nextMonthButtonDisabled:a,prevYearButtonDisabled:i,nextYearButtonDisabled:s})),u&&ed.default.createElement("div",{className:"react-datepicker__day-names"},n.header(t)))}),eS(n,"renderYearHeader",function(e){var t=e.monthDate,r=n.props,o=r.showYearPicker,a=ts(t,r.yearItemNumber),i=a.startPeriod,s=a.endPeriod;return ed.default.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},o?"".concat(i," - ").concat(s):E.getYear(t))}),eS(n,"renderHeader",function(e){switch(!0){case void 0!==n.props.renderCustomHeader:return n.renderCustomHeader(e);case n.props.showMonthYearPicker||n.props.showQuarterYearPicker||n.props.showYearPicker:return n.renderYearHeader(e);default:return n.renderDefaultHeader(e)}}),eS(n,"renderMonths",function(){var e;if(!n.props.showTimeSelectOnly&&!n.props.showYearPicker){for(var t=[],r=n.props.showPreviousMonths?n.props.monthsShown-1:0,o=n.props.showMonthYearPicker||n.props.showQuarterYearPicker?f.addYears(n.state.date,r):g.subMonths(n.state.date,r),a=null!==(e=n.props.monthSelectedIn)&&void 0!==e?e:r,i=0;i0;t.push(ed.default.createElement("div",{key:c,ref:function(e){n.monthContainer=e},className:"react-datepicker__month-container"},n.renderHeader({monthDate:u,i:i}),ed.default.createElement(tE,{chooseDayAriaLabelPrefix:n.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:n.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:n.props.weekAriaLabelPrefix,ariaLabelPrefix:n.props.monthAriaLabelPrefix,onChange:n.changeMonthYear,day:u,dayClassName:n.props.dayClassName,calendarStartDay:n.props.calendarStartDay,monthClassName:n.props.monthClassName,onDayClick:n.handleDayClick,handleOnKeyDown:n.props.handleOnDayKeyDown,handleOnMonthKeyDown:n.props.handleOnKeyDown,usePointerEvent:n.props.usePointerEvent,onDayMouseEnter:n.handleDayMouseEnter,onMouseLeave:n.handleMonthMouseLeave,onWeekSelect:n.props.onWeekSelect,orderInDisplay:i,formatWeekNumber:n.props.formatWeekNumber,locale:n.props.locale,minDate:n.props.minDate,maxDate:n.props.maxDate,excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals,highlightDates:n.props.highlightDates,holidays:n.props.holidays,selectingDate:n.state.selectingDate,includeDates:n.props.includeDates,includeDateIntervals:n.props.includeDateIntervals,inline:n.props.inline,shouldFocusDayInline:n.props.shouldFocusDayInline,fixedHeight:n.props.fixedHeight,filterDate:n.props.filterDate,preSelection:n.props.preSelection,setPreSelection:n.props.setPreSelection,selected:n.props.selected,selectsStart:n.props.selectsStart,selectsEnd:n.props.selectsEnd,selectsRange:n.props.selectsRange,selectsDisabledDaysInRange:n.props.selectsDisabledDaysInRange,selectsMultiple:n.props.selectsMultiple,selectedDates:n.props.selectedDates,showWeekNumbers:n.props.showWeekNumbers,startDate:n.props.startDate,endDate:n.props.endDate,peekNextMonth:n.props.peekNextMonth,setOpen:n.props.setOpen,shouldCloseOnSelect:n.props.shouldCloseOnSelect,renderDayContents:n.props.renderDayContents,renderMonthContent:n.props.renderMonthContent,renderQuarterContent:n.props.renderQuarterContent,renderYearContent:n.props.renderYearContent,disabledKeyboardNavigation:n.props.disabledKeyboardNavigation,showMonthYearPicker:n.props.showMonthYearPicker,showFullMonthYearPicker:n.props.showFullMonthYearPicker,showTwoColumnMonthYearPicker:n.props.showTwoColumnMonthYearPicker,showFourColumnMonthYearPicker:n.props.showFourColumnMonthYearPicker,showYearPicker:n.props.showYearPicker,showQuarterYearPicker:n.props.showQuarterYearPicker,showWeekPicker:n.props.showWeekPicker,isInputFocused:n.props.isInputFocused,containerRef:n.containerRef,monthShowsDuplicateDaysEnd:l,monthShowsDuplicateDaysStart:p})))}return t}}),eS(n,"renderYears",function(){if(!n.props.showTimeSelectOnly)return n.props.showYearPicker?ed.default.createElement("div",{className:"react-datepicker__year--container"},n.renderHeader({monthDate:n.state.date}),ed.default.createElement(tO,eM({onDayClick:n.handleDayClick,selectingDate:n.state.selectingDate,clearSelectingDate:n.clearSelectingDate,date:n.state.date},n.props,{onYearMouseEnter:n.handleYearMouseEnter,onYearMouseLeave:n.handleYearMouseLeave}))):void 0}),eS(n,"renderTimeSection",function(){if(n.props.showTimeSelect&&(n.state.monthContainer||n.props.showTimeSelectOnly))return ed.default.createElement(tC,{selected:n.props.selected,openToDate:n.props.openToDate,onChange:n.props.onTimeChange,timeClassName:n.props.timeClassName,format:n.props.timeFormat,includeTimes:n.props.includeTimes,intervals:n.props.timeIntervals,minTime:n.props.minTime,maxTime:n.props.maxTime,excludeTimes:n.props.excludeTimes,filterTime:n.props.filterTime,timeCaption:n.props.timeCaption,todayButton:n.props.todayButton,showMonthDropdown:n.props.showMonthDropdown,showMonthYearDropdown:n.props.showMonthYearDropdown,showYearDropdown:n.props.showYearDropdown,withPortal:n.props.withPortal,monthRef:n.state.monthContainer,injectTimes:n.props.injectTimes,locale:n.props.locale,handleOnKeyDown:n.props.handleOnKeyDown,showTimeSelectOnly:n.props.showTimeSelectOnly})}),eS(n,"renderInputTimeSection",function(){var e=new Date(n.props.selected),t=eI(e)&&n.props.selected?"".concat(ti(e.getHours()),":").concat(ti(e.getMinutes())):"";if(n.props.showTimeInput)return ed.default.createElement(tT,{date:e,timeString:t,timeInputLabel:n.props.timeInputLabel,onChange:n.props.onTimeChange,customTimeInput:n.props.customTimeInput})}),eS(n,"renderAriaLiveRegion",function(){var e,t=ts(n.state.date,n.props.yearItemNumber),r=t.startPeriod,o=t.endPeriod;return e=n.props.showYearPicker?"".concat(r," - ").concat(o):n.props.showMonthYearPicker||n.props.showQuarterYearPicker?E.getYear(n.state.date):"".concat(eZ(P.getMonth(n.state.date),n.props.locale)," ").concat(E.getYear(n.state.date)),ed.default.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},n.state.isRenderAriaLiveMessage&&e)}),eS(n,"renderChildren",function(){if(n.props.children)return ed.default.createElement("div",{className:"react-datepicker__children-container"},n.props.children)}),n.containerRef=ed.default.createRef(),n.state={date:n.getDateInView(),selectingDate:null,monthContainer:null,isRenderAriaLiveMessage:!1},n}return eP(t,e),ek(t,[{key:"componentDidMount",value:function(){this.props.showTimeSelect&&(this.assignMonthContainer=void this.setState({monthContainer:this.monthContainer}))}},{key:"componentDidUpdate",value:function(e){var t=this;if(!this.props.preSelection||eQ(this.props.preSelection,e.preSelection)&&this.props.monthSelectedIn===e.monthSelectedIn)this.props.openToDate&&!eQ(this.props.openToDate,e.openToDate)&&this.setState({date:this.props.openToDate});else{var n=!eB(this.state.date,this.props.preSelection);this.setState({date:this.props.preSelection},function(){return n&&t.handleCustomMonthChange(t.state.date)})}}},{key:"render",value:function(){var e=this.props.container||tN;return ed.default.createElement("div",{style:{display:"contents"},ref:this.containerRef},ed.default.createElement(e,{className:r.clsx("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showTime:this.props.showTimeSelect||this.props.showTimeInput,showTimeSelectOnly:this.props.showTimeSelectOnly},this.renderAriaLiveRegion(),this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.renderChildren()))}}],[{key:"defaultProps",get:function(){return{onDropdownFocus:function(){},monthsShown:1,forceShowMonthNavigation:!1,timeCaption:"Time",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",customTimeInput:null,yearItemNumber:12}}}])}(ed.default.Component),t_=function(e){var t=e.icon,n=e.className,r=void 0===n?"":n,o=e.onClick,a="react-datepicker__calendar-icon";return ed.default.isValidElement(t)?ed.default.cloneElement(t,{className:"".concat(t.props.className||""," ").concat(a," ").concat(r),onClick:function(e){"function"==typeof t.props.onClick&&t.props.onClick(e),"function"==typeof o&&o(e)}}):"string"==typeof t?ed.default.createElement("i",{className:"".concat(a," ").concat(t," ").concat(r),"aria-hidden":"true",onClick:o}):ed.default.createElement("svg",{className:"".concat(a," ").concat(r),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",onClick:o},ed.default.createElement("path",{d:"M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"}))},tR=function(e){function t(e){var n;return ew(this,t),(n=eh(this,t,[e])).el=document.createElement("div"),n}return eP(t,e),ek(t,[{key:"componentDidMount",value:function(){this.portalRoot=(this.props.portalHost||document).getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),(this.props.portalHost||document.body).appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)}},{key:"componentWillUnmount",value:function(){this.portalRoot.removeChild(this.el)}},{key:"render",value:function(){return ef.default.createPortal(this.props.children,this.el)}}])}(ed.default.Component),tL=function(e){return!e.disabled&&-1!==e.tabIndex},tF=function(e){function t(e){var n;return ew(this,t),eS(n=eh(this,t,[e]),"getTabChildren",function(){return Array.prototype.slice.call(n.tabLoopRef.current.querySelectorAll("[tabindex], a, button, input, select, textarea"),1,-1).filter(tL)}),eS(n,"handleFocusStart",function(){var e=n.getTabChildren();e&&e.length>1&&e[e.length-1].focus()}),eS(n,"handleFocusEnd",function(){var e=n.getTabChildren();e&&e.length>1&&e[0].focus()}),n.tabLoopRef=ed.default.createRef(),n}return eP(t,e),ek(t,[{key:"render",value:function(){return this.props.enableTabLoop?ed.default.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},ed.default.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:"0",onFocus:this.handleFocusStart}),this.props.children,ed.default.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:"0",onFocus:this.handleFocusEnd})):this.props.children}}],[{key:"defaultProps",get:function(){return{enableTabLoop:!0}}}])}(ed.default.Component),tW=function(e){function t(){return ew(this,t),eh(this,t,arguments)}return eP(t,e),ek(t,[{key:"render",value:function(){var e,t=this.props,n=t.className,o=t.wrapperClassName,a=t.hidePopper,i=t.popperComponent,s=t.targetComponent,u=t.enableTabLoop,c=t.popperOnKeyDown,l=t.portalId,d=t.portalHost,p=t.popperProps,f=t.showArrow;if(!a){var h=r.clsx("react-datepicker-popper",n);e=ed.default.createElement(tF,{enableTabLoop:u},ed.default.createElement("div",{ref:p.refs.setFloating,style:p.floatingStyles,className:h,"data-placement":p.placement,onKeyDown:c},i,f&&ed.default.createElement(eu.FloatingArrow,{ref:p.arrowRef,context:p.context,fill:"currentColor",strokeWidth:1,height:8,width:16,style:{transform:"translateY(-1px)"},className:"react-datepicker__triangle"})))}this.props.popperContainer&&(e=ed.default.createElement(this.props.popperContainer,{},e)),l&&!a&&(e=ed.default.createElement(tR,{portalId:l,portalHost:d},e));var m=r.clsx("react-datepicker-wrapper",o);return ed.default.createElement(ed.default.Fragment,null,ed.default.createElement("div",{ref:p.refs.setReference,className:m},s),e)}}],[{key:"defaultProps",get:function(){return{hidePopper:!0}}}])}(ed.default.Component),tA=function(e){var t=ev(ev({},e),{},{popperModifiers:e.popperModifiers||[],popperProps:e.popperProps||{},hidePopper:"boolean"!=typeof e.hidePopper||e.hidePopper}),n=ed.default.useRef(),r=eu.useFloating(ev({open:!t.hidePopper,whileElementsMounted:eu.autoUpdate,placement:t.popperPlacement,middleware:[eu.flip({padding:15}),eu.offset(10),eu.arrow({element:n})].concat(eC(t.popperModifiers))},t.popperProps));return ed.default.createElement(tW,eM({},t,{popperProps:ev(ev({},r),{},{arrowRef:n})}))},tH="react-datepicker-ignore-onclickoutside",tj=ep.default(tY),tB="Date input not valid.",tq=function(e){function t(e){var n;return ew(this,t),eS(n=eh(this,t,[e]),"getPreSelection",function(){return n.props.openToDate?n.props.openToDate:n.props.selectsEnd&&n.props.startDate?n.props.startDate:n.props.selectsStart&&n.props.endDate?n.props.endDate:eN()}),eS(n,"modifyHolidays",function(){var e;return null===(e=n.props.holidays)||void 0===e?void 0:e.reduce(function(e,t){var n=new Date(t.date);return a.isValid(n)?[].concat(eC(e),[ev(ev({},t),{},{date:n})]):e},[])}),eS(n,"calcInitialState",function(){var e,t=n.getPreSelection(),r=tr(n.props),o=to(n.props),a=r&&et.isBefore(t,H.startOfDay(r))?r:o&&ee.isAfter(t,K.endOfDay(o))?o:t;return{open:n.props.startOpen||!1,preventFocus:!1,preSelection:null!==(e=n.props.selectsRange?n.props.startDate:n.props.selected)&&void 0!==e?e:a,highlightDates:ta(n.props.highlightDates),focused:!1,shouldFocusDayInline:!1,isRenderAriaLiveMessage:!1}}),eS(n,"clearPreventFocusTimeout",function(){n.preventFocusTimeout&&clearTimeout(n.preventFocusTimeout)}),eS(n,"setFocus",function(){n.input&&n.input.focus&&n.input.focus({preventScroll:!0})}),eS(n,"setBlur",function(){n.input&&n.input.blur&&n.input.blur(),n.cancelFocusInput()}),eS(n,"setOpen",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];n.setState({open:e,preSelection:e&&n.state.open?n.state.preSelection:n.calcInitialState().preSelection,lastPreSelectChange:tK},function(){e||n.setState(function(e){return{focused:!!t&&e.focused}},function(){t||n.setBlur(),n.setState({inputValue:null})})})}),eS(n,"inputOk",function(){return o.isDate(n.state.preSelection)}),eS(n,"isCalendarOpen",function(){return void 0===n.props.open?n.state.open&&!n.props.disabled&&!n.props.readOnly:n.props.open}),eS(n,"handleFocus",function(e){n.state.preventFocus||(n.props.onFocus(e),n.props.preventOpenOnFocus||n.props.readOnly||n.setOpen(!0)),n.setState({focused:!0})}),eS(n,"sendFocusBackToInput",function(){n.preventFocusTimeout&&n.clearPreventFocusTimeout(),n.setState({preventFocus:!0},function(){n.preventFocusTimeout=setTimeout(function(){n.setFocus(),n.setState({preventFocus:!1})})})}),eS(n,"cancelFocusInput",function(){clearTimeout(n.inputFocusTimeout),n.inputFocusTimeout=null}),eS(n,"deferFocusInput",function(){n.cancelFocusInput(),n.inputFocusTimeout=setTimeout(function(){return n.setFocus()},1)}),eS(n,"handleDropdownFocus",function(){n.cancelFocusInput()}),eS(n,"handleBlur",function(e){(!n.state.open||n.props.withPortal||n.props.showTimeInput)&&n.props.onBlur(e),n.setState({focused:!1})}),eS(n,"handleCalendarClickOutside",function(e){n.props.inline||n.setOpen(!1),n.props.onClickOutside(e),n.props.withPortal&&e.preventDefault()}),eS(n,"handleChange",function(){for(var e=arguments.length,t=Array(e),r=0;r0&&(d=eo.parse(a,s.slice(0,a.length),new Date,{useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0})),eI(d)||(d=new Date(a))),eI(d)&&f?d:null));n.props.showTimeSelectOnly&&n.props.selected&&h&&!eQ(h,n.props.selected)&&(h=ec.set(n.props.selected,{hours:D.getHours(h),minutes:w.getMinutes(h),seconds:b.getSeconds(h)})),!h&&o.target.value||n.setSelected(h,o,!0)}}),eS(n,"handleSelect",function(e,t,r){if(n.props.shouldCloseOnSelect&&!n.props.showTimeSelect&&n.sendFocusBackToInput(),n.props.onChangeRaw&&n.props.onChangeRaw(t),n.setSelected(e,t,!1,r),n.props.showDateSelect&&n.setState({isRenderAriaLiveMessage:!0}),!n.props.shouldCloseOnSelect||n.props.showTimeSelect)n.setPreSelection(e);else if(!n.props.inline){n.props.selectsRange||n.setOpen(!1);var o=n.props,a=o.startDate,i=o.endDate;!a||i||tl(e,a)||n.setOpen(!1)}}),eS(n,"setSelected",function(e,t,r,o){var a=e;if(n.props.showYearPicker){if(null!==a&&e6(E.getYear(a),n.props))return}else if(n.props.showMonthYearPicker){if(null!==a&&eJ(a,n.props))return}else if(null!==a&&eX(a,n.props))return;var i=n.props,s=i.onChange,u=i.selectsRange,c=i.startDate,l=i.endDate,d=i.selectsMultiple,p=i.selectedDates,f=i.minTime;if(!eK(n.props.selected,a)||n.props.allowSameDay||u||d){if(null!==a&&(!n.props.selected||r&&(n.props.showTimeSelect||n.props.showTimeSelectOnly||n.props.showTimeInput)||(a=eR(a,{hour:D.getHours(n.props.selected),minute:w.getMinutes(n.props.selected),second:b.getSeconds(n.props.selected)})),r||!n.props.showTimeSelect&&!n.props.showTimeSelectOnly||f&&(a=eR(a,{hour:f.getHours(),minute:f.getMinutes(),second:f.getSeconds()})),n.props.inline||n.setState({preSelection:a}),n.props.focusSelectedMonth||n.setState({monthSelectedIn:o})),u){var h=c&&!l,m=c&&l;c||l?h&&s(null===a?[null,null]:tl(a,c)?[a,null]:[c,a],t):s([a,null],t),m&&s([a,null],t)}else s(d?null!=p&&p.length?p.some(function(e){return eQ(e,a)})?p.filter(function(e){return!eQ(e,a)}):[].concat(eC(p),[a]):[a]:a,t)}r||(n.props.onSelect(a,t),n.setState({inputValue:null}))}),eS(n,"setPreSelection",function(e){var t=void 0!==n.props.minDate,r=void 0!==n.props.maxDate,o=!0;if(e){var a=H.startOfDay(e);if(t&&r)o=ez(e,n.props.minDate,n.props.maxDate);else if(t){var i=H.startOfDay(n.props.minDate);o=ee.isAfter(e,i)||eK(a,i)}else if(r){var s=K.endOfDay(n.props.maxDate);o=et.isBefore(e,s)||eK(a,s)}}o&&n.setState({preSelection:e})}),eS(n,"toggleCalendar",function(){n.setOpen(!n.state.open)}),eS(n,"handleTimeChange",function(e){var t=n.props.selected?n.props.selected:n.getPreSelection(),r=n.props.selected?e:eR(t,{hour:D.getHours(e),minute:w.getMinutes(e)});n.setState({preSelection:r}),n.props.onChange(r),n.props.shouldCloseOnSelect&&(n.sendFocusBackToInput(),n.setOpen(!1)),n.props.showTimeInput&&n.setOpen(!0),(n.props.showTimeSelectOnly||n.props.showTimeSelect)&&n.setState({isRenderAriaLiveMessage:!0}),n.setState({inputValue:null})}),eS(n,"onInputClick",function(){n.props.disabled||n.props.readOnly||n.setOpen(!0),n.props.onInputClick()}),eS(n,"onInputKeyDown",function(e){n.props.onKeyDown(e);var t=e.key;if(n.state.open||n.props.inline||n.props.preventOpenOnFocus){if(n.state.open){if("ArrowDown"===t||"ArrowUp"===t){e.preventDefault();var r=n.props.showWeekPicker&&n.props.showWeekNumbers?'.react-datepicker__week-number[tabindex="0"]':'.react-datepicker__day[tabindex="0"]',o=n.calendar.componentNode&&n.calendar.componentNode.querySelector(r);return void(o&&o.focus({preventScroll:!0}))}var a=eN(n.state.preSelection);"Enter"===t?(e.preventDefault(),n.inputOk()&&n.state.lastPreSelectChange===tK?(n.handleSelect(a,e),n.props.shouldCloseOnSelect||n.setPreSelection(a)):n.setOpen(!1)):"Escape"===t?(e.preventDefault(),n.sendFocusBackToInput(),n.setOpen(!1)):"Tab"===t&&n.setOpen(!1),n.inputOk()||n.props.onInputError({code:1,msg:tB})}}else"ArrowDown"!==t&&"ArrowUp"!==t&&"Enter"!==t||n.onInputClick()}),eS(n,"onPortalKeyDown",function(e){"Escape"===e.key&&(e.preventDefault(),n.setState({preventFocus:!0},function(){n.setOpen(!1),setTimeout(function(){n.setFocus(),n.setState({preventFocus:!1})})}))}),eS(n,"onDayKeyDown",function(e){n.props.onKeyDown(e);var t,r=e.key,o=e.shiftKey,a=eN(n.state.preSelection);if("Enter"===r)e.preventDefault(),n.handleSelect(a,e),n.props.shouldCloseOnSelect||n.setPreSelection(a);else if("Escape"===r)e.preventDefault(),n.setOpen(!1),n.inputOk()||n.props.onInputError({code:1,msg:tB});else if(!n.props.disabledKeyboardNavigation){switch(r){case"ArrowLeft":t=n.props.showWeekPicker?m.subWeeks(a,1):h.subDays(a,1);break;case"ArrowRight":t=n.props.showWeekPicker?l.addWeeks(a,1):c.addDays(a,1);break;case"ArrowUp":t=m.subWeeks(a,1);break;case"ArrowDown":t=l.addWeeks(a,1);break;case"PageUp":t=o?y.subYears(a,1):g.subMonths(a,1);break;case"PageDown":t=o?f.addYears(a,1):d.addMonths(a,1);break;case"Home":t=eL(a,n.props.locale,n.props.calendarStartDay);break;case"End":t=z.endOfWeek(a);break;default:t=null}if(!t)return void(n.props.onInputError&&n.props.onInputError({code:1,msg:tB}));if(e.preventDefault(),n.setState({lastPreSelectChange:tK}),n.props.adjustDateOnChange&&n.setSelected(t),n.setPreSelection(t),n.props.inline){var i=P.getMonth(a),s=P.getMonth(t),u=E.getYear(a),p=E.getYear(t);i!==s||u!==p?n.setState({shouldFocusDayInline:!0}):n.setState({shouldFocusDayInline:!1})}}}),eS(n,"onPopperKeyDown",function(e){"Escape"===e.key&&(e.preventDefault(),n.sendFocusBackToInput())}),eS(n,"onClearClick",function(e){e&&e.preventDefault&&e.preventDefault(),n.sendFocusBackToInput(),n.props.selectsRange?n.props.onChange([null,null],e):n.props.onChange(null,e),n.setState({inputValue:null})}),eS(n,"clear",function(){n.onClearClick()}),eS(n,"onScroll",function(e){"boolean"==typeof n.props.closeOnScroll&&n.props.closeOnScroll?e.target!==document&&e.target!==document.documentElement&&e.target!==document.body||n.setOpen(!1):"function"==typeof n.props.closeOnScroll&&n.props.closeOnScroll(e)&&n.setOpen(!1)}),eS(n,"renderCalendar",function(){return n.props.inline||n.isCalendarOpen()?ed.default.createElement(tj,{ref:function(e){n.calendar=e},locale:n.props.locale,calendarStartDay:n.props.calendarStartDay,chooseDayAriaLabelPrefix:n.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:n.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:n.props.weekAriaLabelPrefix,monthAriaLabelPrefix:n.props.monthAriaLabelPrefix,adjustDateOnChange:n.props.adjustDateOnChange,setOpen:n.setOpen,shouldCloseOnSelect:n.props.shouldCloseOnSelect,dateFormat:n.props.dateFormatCalendar,useWeekdaysShort:n.props.useWeekdaysShort,formatWeekDay:n.props.formatWeekDay,dropdownMode:n.props.dropdownMode,selected:n.props.selected,preSelection:n.state.preSelection,onSelect:n.handleSelect,onWeekSelect:n.props.onWeekSelect,openToDate:n.props.openToDate,minDate:n.props.minDate,maxDate:n.props.maxDate,selectsStart:n.props.selectsStart,selectsEnd:n.props.selectsEnd,selectsRange:n.props.selectsRange,selectsMultiple:n.props.selectsMultiple,selectedDates:n.props.selectedDates,startDate:n.props.startDate,endDate:n.props.endDate,excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals,filterDate:n.props.filterDate,onClickOutside:n.handleCalendarClickOutside,formatWeekNumber:n.props.formatWeekNumber,highlightDates:n.state.highlightDates,holidays:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"react-datepicker__day--holidays",n=new Map;return e.forEach(function(e){var r=e.date,a=e.holidayName;if(o.isDate(r)){var i=eY(r,"MM.dd.yyyy"),s=n.get(i)||{};if(!("className"in s)||s.className!==t||(u=s.holidayNames,c=[a],u.length!==c.length||!u.every(function(e,t){return e===c[t]}))){s.className=t;var u,c,l=s.holidayNames;s.holidayNames=l?[].concat(eC(l),[a]):[a],n.set(i,s)}}}),n}(n.modifyHolidays()),includeDates:n.props.includeDates,includeDateIntervals:n.props.includeDateIntervals,includeTimes:n.props.includeTimes,injectTimes:n.props.injectTimes,inline:n.props.inline,shouldFocusDayInline:n.state.shouldFocusDayInline,peekNextMonth:n.props.peekNextMonth,showMonthDropdown:n.props.showMonthDropdown,showPreviousMonths:n.props.showPreviousMonths,useShortMonthInDropdown:n.props.useShortMonthInDropdown,showMonthYearDropdown:n.props.showMonthYearDropdown,showWeekNumbers:n.props.showWeekNumbers,showYearDropdown:n.props.showYearDropdown,withPortal:n.props.withPortal,forceShowMonthNavigation:n.props.forceShowMonthNavigation,showDisabledMonthNavigation:n.props.showDisabledMonthNavigation,scrollableYearDropdown:n.props.scrollableYearDropdown,scrollableMonthYearDropdown:n.props.scrollableMonthYearDropdown,todayButton:n.props.todayButton,weekLabel:n.props.weekLabel,outsideClickIgnoreClass:tH,fixedHeight:n.props.fixedHeight,monthsShown:n.props.monthsShown,monthSelectedIn:n.state.monthSelectedIn,onDropdownFocus:n.handleDropdownFocus,onMonthChange:n.props.onMonthChange,onYearChange:n.props.onYearChange,dayClassName:n.props.dayClassName,weekDayClassName:n.props.weekDayClassName,monthClassName:n.props.monthClassName,timeClassName:n.props.timeClassName,showDateSelect:n.props.showDateSelect,showTimeSelect:n.props.showTimeSelect,showTimeSelectOnly:n.props.showTimeSelectOnly,onTimeChange:n.handleTimeChange,timeFormat:n.props.timeFormat,timeIntervals:n.props.timeIntervals,minTime:n.props.minTime,maxTime:n.props.maxTime,excludeTimes:n.props.excludeTimes,filterTime:n.props.filterTime,timeCaption:n.props.timeCaption,className:n.props.calendarClassName,container:n.props.calendarContainer,yearItemNumber:n.props.yearItemNumber,yearDropdownItemNumber:n.props.yearDropdownItemNumber,previousMonthAriaLabel:n.props.previousMonthAriaLabel,previousMonthButtonLabel:n.props.previousMonthButtonLabel,nextMonthAriaLabel:n.props.nextMonthAriaLabel,nextMonthButtonLabel:n.props.nextMonthButtonLabel,previousYearAriaLabel:n.props.previousYearAriaLabel,previousYearButtonLabel:n.props.previousYearButtonLabel,nextYearAriaLabel:n.props.nextYearAriaLabel,nextYearButtonLabel:n.props.nextYearButtonLabel,timeInputLabel:n.props.timeInputLabel,disabledKeyboardNavigation:n.props.disabledKeyboardNavigation,renderCustomHeader:n.props.renderCustomHeader,popperProps:n.props.popperProps,renderDayContents:n.props.renderDayContents,renderMonthContent:n.props.renderMonthContent,renderQuarterContent:n.props.renderQuarterContent,renderYearContent:n.props.renderYearContent,onDayMouseEnter:n.props.onDayMouseEnter,onMonthMouseLeave:n.props.onMonthMouseLeave,onYearMouseEnter:n.props.onYearMouseEnter,onYearMouseLeave:n.props.onYearMouseLeave,selectsDisabledDaysInRange:n.props.selectsDisabledDaysInRange,showTimeInput:n.props.showTimeInput,showMonthYearPicker:n.props.showMonthYearPicker,showFullMonthYearPicker:n.props.showFullMonthYearPicker,showTwoColumnMonthYearPicker:n.props.showTwoColumnMonthYearPicker,showFourColumnMonthYearPicker:n.props.showFourColumnMonthYearPicker,showYearPicker:n.props.showYearPicker,showQuarterYearPicker:n.props.showQuarterYearPicker,showWeekPicker:n.props.showWeekPicker,excludeScrollbar:n.props.excludeScrollbar,handleOnKeyDown:n.props.onKeyDown,handleOnDayKeyDown:n.onDayKeyDown,isInputFocused:n.state.focused,customTimeInput:n.props.customTimeInput,setPreSelection:n.setPreSelection,usePointerEvent:n.props.usePointerEvent,yearClassName:n.props.yearClassName},n.props.children):null}),eS(n,"renderAriaLiveRegion",function(){var e,t=n.props,r=t.dateFormat,o=t.locale,a=n.props.showTimeInput||n.props.showTimeSelect?"PPPPp":"PPPP";return e=n.props.selectsRange?"Selected start date: ".concat(e_(n.props.startDate,{dateFormat:a,locale:o}),". ").concat(n.props.endDate?"End date: "+e_(n.props.endDate,{dateFormat:a,locale:o}):""):n.props.showTimeSelectOnly?"Selected time: ".concat(e_(n.props.selected,{dateFormat:r,locale:o})):n.props.showYearPicker?"Selected year: ".concat(e_(n.props.selected,{dateFormat:"yyyy",locale:o})):n.props.showMonthYearPicker?"Selected month: ".concat(e_(n.props.selected,{dateFormat:"MMMM yyyy",locale:o})):n.props.showQuarterYearPicker?"Selected quarter: ".concat(e_(n.props.selected,{dateFormat:"yyyy, QQQ",locale:o})):"Selected date: ".concat(e_(n.props.selected,{dateFormat:a,locale:o})),ed.default.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},e)}),eS(n,"renderDateInput",function(){var e,t=r.clsx(n.props.className,eS({},tH,n.state.open)),o=n.props.customInput||ed.default.createElement("input",{type:"text"}),a=n.props.customInputRef||"ref",i="string"==typeof n.props.value?n.props.value:"string"==typeof n.state.inputValue?n.state.inputValue:n.props.selectsRange?function(e,t,n){if(!e)return"";var r=e_(e,n),o=t?e_(t,n):"";return"".concat(r," - ").concat(o)}(n.props.startDate,n.props.endDate,n.props):n.props.selectsMultiple?function(e,t){if(null==e||!e.length)return"";var n=e_(e[0],t);if(1===e.length)return n;if(2===e.length){var r=e_(e[1],t);return"".concat(n,", ").concat(r)}var o=e.length-1;return"".concat(n," (+").concat(o,")")}(n.props.selectedDates,n.props):e_(n.props.selected,n.props);return ed.default.cloneElement(o,(eS(eS(eS(eS(eS(eS(eS(eS(eS(eS(e={},a,function(e){n.input=e}),"value",i),"onBlur",n.handleBlur),"onChange",n.handleChange),"onClick",n.onInputClick),"onFocus",n.handleFocus),"onKeyDown",n.onInputKeyDown),"id",n.props.id),"name",n.props.name),"form",n.props.form),eS(eS(eS(eS(eS(eS(eS(eS(eS(eS(e,"autoFocus",n.props.autoFocus),"placeholder",n.props.placeholderText),"disabled",n.props.disabled),"autoComplete",n.props.autoComplete),"className",r.clsx(o.props.className,t)),"title",n.props.title),"readOnly",n.props.readOnly),"required",n.props.required),"tabIndex",n.props.tabIndex),"aria-describedby",n.props.ariaDescribedBy),eS(eS(eS(e,"aria-invalid",n.props.ariaInvalid),"aria-labelledby",n.props.ariaLabelledBy),"aria-required",n.props.ariaRequired)))}),eS(n,"renderClearButton",function(){var e=n.props,t=e.isClearable,o=e.disabled,a=e.selected,i=e.startDate,s=e.endDate,u=e.clearButtonTitle,c=e.clearButtonClassName,l=e.ariaLabelClose,d=e.selectedDates;return t&&(null!=a||null!=i||null!=s||null!=d&&d.length)?ed.default.createElement("button",{type:"button",className:r.clsx("react-datepicker__close-icon",void 0===c?"":c,{"react-datepicker__close-icon--disabled":o}),disabled:o,"aria-label":void 0===l?"Close":l,onClick:n.onClearClick,title:u,tabIndex:-1}):null}),n.state=n.calcInitialState(),n.preventFocusTimeout=null,n}return eP(t,e),ek(t,[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.onScroll,!0)}},{key:"componentDidUpdate",value:function(e,t){var n,r;e.inline&&(n=e.selected,r=this.props.selected,n&&r?P.getMonth(n)!==P.getMonth(r)||E.getYear(n)!==E.getYear(r):n!==r)&&this.setPreSelection(this.props.selected),void 0!==this.state.monthSelectedIn&&e.monthsShown!==this.props.monthsShown&&this.setState({monthSelectedIn:0}),e.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:ta(this.props.highlightDates)}),t.focused||eK(e.selected,this.props.selected)||this.setState({inputValue:null}),t.open!==this.state.open&&(!1===t.open&&!0===this.state.open&&this.props.onCalendarOpen(),!0===t.open&&!1===this.state.open&&this.props.onCalendarClose())}},{key:"componentWillUnmount",value:function(){this.clearPreventFocusTimeout(),window.removeEventListener("scroll",this.onScroll,!0)}},{key:"renderInputContainer",value:function(){var e=this.props,t=e.showIcon,n=e.icon,r=e.calendarIconClassname,o=e.toggleCalendarOnIconClick,a=this.state.open;return ed.default.createElement("div",{className:"react-datepicker__input-container".concat(t?" react-datepicker__view-calendar-icon":"")},t&&ed.default.createElement(t_,eM({icon:n,className:"".concat(r," ").concat(a&&"react-datepicker-ignore-onclickoutside")},o?{onClick:this.toggleCalendar}:null)),this.state.isRenderAriaLiveMessage&&this.renderAriaLiveRegion(),this.renderDateInput(),this.renderClearButton())}},{key:"render",value:function(){var e=this.renderCalendar();if(this.props.inline)return e;if(this.props.withPortal){var t=this.state.open?ed.default.createElement(tF,{enableTabLoop:this.props.enableTabLoop},ed.default.createElement("div",{className:"react-datepicker__portal",tabIndex:-1,onKeyDown:this.onPortalKeyDown},e)):null;return this.state.open&&this.props.portalId&&(t=ed.default.createElement(tR,{portalId:this.props.portalId,portalHost:this.props.portalHost},t)),ed.default.createElement("div",null,this.renderInputContainer(),t)}return ed.default.createElement(tA,{className:this.props.popperClassName,wrapperClassName:this.props.wrapperClassName,hidePopper:!this.isCalendarOpen(),portalId:this.props.portalId,portalHost:this.props.portalHost,popperModifiers:this.props.popperModifiers,targetComponent:this.renderInputContainer(),popperContainer:this.props.popperContainer,popperComponent:e,popperPlacement:this.props.popperPlacement,popperProps:this.props.popperProps,popperOnKeyDown:this.onPopperKeyDown,enableTabLoop:this.props.enableTabLoop,showArrow:this.props.showPopperArrow})}}],[{key:"defaultProps",get:function(){return{allowSameDay:!1,dateFormat:"MM/dd/yyyy",dateFormatCalendar:"LLLL yyyy",onChange:function(){},disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",onFocus:function(){},onBlur:function(){},onKeyDown:function(){},onInputClick:function(){},onSelect:function(){},onClickOutside:function(){},onMonthChange:function(){},onCalendarOpen:function(){},onCalendarClose:function(){},preventOpenOnFocus:!1,onYearChange:function(){},onInputError:function(){},monthsShown:1,readOnly:!1,withPortal:!1,selectsDisabledDaysInRange:!1,shouldCloseOnSelect:!0,showTimeSelect:!1,showTimeInput:!1,showPreviousMonths:!1,showMonthYearPicker:!1,showFullMonthYearPicker:!1,showTwoColumnMonthYearPicker:!1,showFourColumnMonthYearPicker:!1,showYearPicker:!1,showQuarterYearPicker:!1,showWeekPicker:!1,strictParsing:!1,timeIntervals:30,timeCaption:"Time",previousMonthAriaLabel:"Previous Month",previousMonthButtonLabel:"Previous Month",nextMonthAriaLabel:"Next Month",nextMonthButtonLabel:"Next Month",previousYearAriaLabel:"Previous Year",previousYearButtonLabel:"Previous Year",nextYearAriaLabel:"Next Year",nextYearButtonLabel:"Next Year",timeInputLabel:"Time",enableTabLoop:!0,yearItemNumber:12,focusSelectedMonth:!1,showPopperArrow:!0,excludeScrollbar:!0,customTimeInput:null,calendarStartDay:void 0,toggleCalendarOnIconClick:!1,usePointerEvent:!1}}}])}(ed.default.Component),tQ="input",tK="navigate";e.CalendarContainer=tN,e.default=tq,e.getDefaultLocale=eV,e.registerLocale=function(e,t){var n="undefined"!=typeof window?window:globalThis;n.__localeData__||(n.__localeData__={}),n.__localeData__[e]=t},e.setDefaultLocale=function(e){("undefined"!=typeof window?window:globalThis).__localeId__=e},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(52983),n(7862),n(70864),n(75378),n(25526),n(51718),n(26950),n(67318),n(16798),n(70241),n(42763),n(14910),n(2088),n(29112),n(57860),n(6278),n(91141),n(98199),n(30707),n(17669),n(4038),n(24975),n(60717),n(76624),n(31976),n(38807),n(72221),n(56966),n(36296),n(26335),n(36717),n(16528),n(39344),n(48446),n(52583),n(67836),n(70987),n(46361),n(12229),n(12869),n(22844),n(52798),n(61532),n(34359),n(37244),n(26348),n(77963),n(30824),n(82573),n(35127),n(90847),n(18204),n(82137),n(48669),n(22697),n(30574),n(5669),n(19575),n(72118),n(21891),n(63730),n(32856),n(20135))},21891:function(e,t,n){"use strict";n.r(t),n.d(t,{IGNORE_CLASS_NAME:function(){return h}});var r,o,a=n(52983),i=n(63730);function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var c=function(){if("undefined"!=typeof window&&"function"==typeof window.addEventListener){var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};return window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t),e}},l=(void 0===r&&(r=0),function(){return++r}),d={},p={},f=["touchstart","touchmove"],h="ignore-react-onclickoutside";function m(e,t){var n={};return -1!==f.indexOf(t)&&o&&(n.passive=!e.props.preventDefault),n}t.default=function(e,t){var n,r,f=e.displayName||e.name||"Component";return r=n=function(n){function r(e){var r;return(r=n.call(this,e)||this).__outsideClickHandler=function(e){if("function"==typeof r.__clickOutsideHandlerProp){r.__clickOutsideHandlerProp(e);return}var t=r.getInstance();if("function"==typeof t.props.handleClickOutside){t.props.handleClickOutside(e);return}if("function"==typeof t.handleClickOutside){t.handleClickOutside(e);return}throw Error("WrappedComponent: "+f+" lacks a handleClickOutside(event) function for processing outside click events.")},r.__getComponentNode=function(){var e=r.getInstance();return t&&"function"==typeof t.setClickOutsideRef?t.setClickOutsideRef()(e):"function"==typeof e.setClickOutsideRef?e.setClickOutsideRef():(0,i.findDOMNode)(e)},r.enableOnClickOutside=function(){if("undefined"!=typeof document&&!p[r._uid]){void 0===o&&(o=c()),p[r._uid]=!0;var e=r.props.eventTypes;e.forEach||(e=[e]),d[r._uid]=function(e){null!==r.componentNode&&(r.props.preventDefault&&e.preventDefault(),r.props.stopPropagation&&e.stopPropagation(),!(r.props.excludeScrollbar&&(document.documentElement.clientWidth<=e.clientX||document.documentElement.clientHeight<=e.clientY)))&&function(e,t,n){if(e===t)return!0;for(;e.parentNode||e.host;){var r;if(e.parentNode&&((r=e)===t||(r.correspondingElement?r.correspondingElement.classList.contains(n):r.classList.contains(n))))return!0;e=e.parentNode||e.host}return e}(e.composed&&e.composedPath&&e.composedPath().shift()||e.target,r.componentNode,r.props.outsideClickIgnoreClass)===document&&r.__outsideClickHandler(e)},e.forEach(function(e){document.addEventListener(e,d[r._uid],m(u(r),e))})}},r.disableOnClickOutside=function(){delete p[r._uid];var e=d[r._uid];if(e&&"undefined"!=typeof document){var t=r.props.eventTypes;t.forEach||(t=[t]),t.forEach(function(t){return document.removeEventListener(t,e,m(u(r),t))}),delete d[r._uid]}},r.getRef=function(e){return r.instanceRef=e},r._uid=l(),r}r.prototype=Object.create(n.prototype),r.prototype.constructor=r,s(r,n);var h=r.prototype;return h.getInstance=function(){if(e.prototype&&!e.prototype.isReactComponent)return this;var t=this.instanceRef;return t.getInstance?t.getInstance():t},h.componentDidMount=function(){if("undefined"!=typeof document&&document.createElement){var e=this.getInstance();if(t&&"function"==typeof t.handleClickOutside&&(this.__clickOutsideHandlerProp=t.handleClickOutside(e),"function"!=typeof this.__clickOutsideHandlerProp))throw Error("WrappedComponent: "+f+" lacks a function for processing outside click events specified by the handleClickOutside config option.");this.componentNode=this.__getComponentNode(),this.props.disableOnClickOutside||this.enableOnClickOutside()}},h.componentDidUpdate=function(){this.componentNode=this.__getComponentNode()},h.componentWillUnmount=function(){this.disableOnClickOutside()},h.render=function(){var t=this.props;t.excludeScrollbar;var n=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(t,["excludeScrollbar"]);return e.prototype&&e.prototype.isReactComponent?n.ref=this.getRef:n.wrappedRef=this.getRef,n.disableOnClickOutside=this.disableOnClickOutside,n.enableOnClickOutside=this.enableOnClickOutside,(0,a.createElement)(e,n)},r}(a.Component),n.displayName="OnClickOutside("+f+")",n.defaultProps={eventTypes:["mousedown","touchstart"],excludeScrollbar:t&&t.excludeScrollbar||!1,outsideClickIgnoreClass:h,preventDefault:!1,stopPropagation:!1},n.getClass=function(){return e.getClass?e.getClass():e},r}},19030:function(e,t,n){"use strict";n.d(t,{zt:function(){return w},$j:function(){return Q}});var r,o,a,i,s,u,c,l,d,p,f,h=n(52983),m=h.createContext(null),g=function(e){e()},v={notify:function(){}},y=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=v,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return!!this.unsubscribe},t.trySubscribe=function(){if(!this.unsubscribe){var e,t,n;this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=(e=g,t=null,n=null,{clear:function(){t=null,n=null},notify:function(){e(function(){for(var e=t;e;)e.callback(),e=e.next})},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}})}},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=v)},e}(),b="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?h.useLayoutEffect:h.useEffect,w=function(e){var t=e.store,n=e.context,r=e.children,o=(0,h.useMemo)(function(){var e=new y(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}},[t]),a=(0,h.useMemo)(function(){return t.getState()},[t]);return b(function(){var e=o.subscription;return e.trySubscribe(),a!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}},[o,a]),h.createElement((n||m).Provider,{value:o},r)},D=n(43131),k=n(46288),S=n(10063),M=n.n(S),P=n(99415),x=[],E=[null,null];function C(e,t){var n=e[1];return[t.payload,n+1]}function O(e,t,n){b(function(){return e.apply(void 0,t)},n)}function T(e,t,n,r,o,a,i){e.current=r,t.current=o,n.current=!1,a.current&&(a.current=null,i())}function N(e,t,n,r,o,a,i,s,u,c){if(e){var l=!1,d=null,p=function(){if(!l){var e,n,p=t.getState();try{e=r(p,o.current)}catch(e){n=e,d=e}n||(d=null),e===a.current?i.current||u():(a.current=e,s.current=e,i.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};return n.onStateChange=p,n.trySubscribe(),p(),function(){if(l=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}}var I=function(){return[null,0]};function Y(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function _(e,t){if(Y(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function q(e,t){return e===t}var Q=(a=void 0===(o=(r={}).connectHOC)?function(e,t){void 0===t&&(t={});var n=t,r=n.getDisplayName,o=void 0===r?function(e){return"ConnectAdvanced("+e+")"}:r,a=n.methodName,i=void 0===a?"connectAdvanced":a,s=n.renderCountProp,u=void 0===s?void 0:s,c=n.shouldHandleStateChanges,l=void 0===c||c,d=n.storeKey,p=void 0===d?"store":d,f=(n.withRef,n.forwardRef),g=void 0!==f&&f,v=n.context,b=(0,k.Z)(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),w=void 0===v?m:v;return function(t){var n=t.displayName||t.name||"Component",r=o(n),a=(0,D.Z)({},b,{getDisplayName:o,methodName:i,renderCountProp:u,shouldHandleStateChanges:l,storeKey:p,displayName:r,wrappedComponentName:n,WrappedComponent:t}),s=b.pure,c=s?h.useMemo:function(e){return e()};function d(n){var r=(0,h.useMemo)(function(){var e=n.reactReduxForwardedRef,t=(0,k.Z)(n,["reactReduxForwardedRef"]);return[n.context,e,t]},[n]),o=r[0],i=r[1],s=r[2],u=(0,h.useMemo)(function(){return o&&o.Consumer&&(0,P.isContextConsumer)(h.createElement(o.Consumer,null))?o:w},[o,w]),d=(0,h.useContext)(u),p=!!n.store&&!!n.store.getState&&!!n.store.dispatch;d&&d.store;var f=p?n.store:d.store,m=(0,h.useMemo)(function(){return e(f.dispatch,a)},[f]),g=(0,h.useMemo)(function(){if(!l)return E;var e=new y(f,p?null:d.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[f,p,d]),v=g[0],b=g[1],S=(0,h.useMemo)(function(){return p?d:(0,D.Z)({},d,{subscription:v})},[p,d,v]),M=(0,h.useReducer)(C,x,I),Y=M[0][0],_=M[1];if(Y&&Y.error)throw Y.error;var R=(0,h.useRef)(),L=(0,h.useRef)(s),F=(0,h.useRef)(),W=(0,h.useRef)(!1),A=c(function(){return F.current&&s===L.current?F.current:m(f.getState(),s)},[f,Y,s]);O(T,[L,R,W,s,A,F,b]),O(N,[l,f,v,m,L,R,W,F,b,_],[f,v,m]);var H=(0,h.useMemo)(function(){return h.createElement(t,(0,D.Z)({},A,{ref:i}))},[i,t,A]);return(0,h.useMemo)(function(){return l?h.createElement(u.Provider,{value:S},H):H},[u,H,S])}var f=s?h.memo(d):d;if(f.WrappedComponent=t,f.displayName=d.displayName=r,g){var m=h.forwardRef(function(e,t){return h.createElement(f,(0,D.Z)({},e,{reactReduxForwardedRef:t}))});return m.displayName=r,m.WrappedComponent=t,M()(m,t)}return M()(f,t)}}:o,s=void 0===(i=r.mapStateToPropsFactories)?A:i,c=void 0===(u=r.mapDispatchToPropsFactories)?W:u,d=void 0===(l=r.mergePropsFactories)?j:l,f=void 0===(p=r.selectorFactory)?function(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,o=t.initMergeProps,a=(0,k.Z)(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),i=n(e,a),s=r(e,a),u=o(e,a);return(a.pure?function(e,t,n,r,o){var a,i,s,u,c,l=o.areStatesEqual,d=o.areOwnPropsEqual,p=o.areStatePropsEqual,f=!1;return function(o,h){var m,g,v,y;return f?(v=!d(h,i),y=!l(o,a),(a=o,i=h,v&&y)?(s=e(a,i),t.dependsOnOwnProps&&(u=t(r,i)),c=n(s,u,i)):v?(e.dependsOnOwnProps&&(s=e(a,i)),t.dependsOnOwnProps&&(u=t(r,i)),c=n(s,u,i)):(y&&(g=!p(m=e(a,i),s),s=m,g&&(c=n(s,u,i))),c)):(s=e(a=o,i=h),u=t(r,i),c=n(s,u,i),f=!0,c)}}:function(e,t,n,r){return function(o,a){return n(e(o,a),t(r,a),a)}})(i,s,u,e,a)}:p,function(e,t,n,r){void 0===r&&(r={});var o=r,i=o.pure,u=o.areStatesEqual,l=o.areOwnPropsEqual,p=void 0===l?_:l,h=o.areStatePropsEqual,m=void 0===h?_:h,g=o.areMergedPropsEqual,v=void 0===g?_:g,y=(0,k.Z)(o,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),b=B(e,s,"mapStateToProps"),w=B(t,c,"mapDispatchToProps"),S=B(n,d,"mergeProps");return a(f,(0,D.Z)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:!!e,initMapStateToProps:b,initMapDispatchToProps:w,initMergeProps:S,pure:void 0===i||i,areStatesEqual:void 0===u?q:u,areOwnPropsEqual:p,areStatePropsEqual:m,areMergedPropsEqual:v},y))});g=n(63730).unstable_batchedUpdates},61758:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;tsummary:first-of-type:not([inert])","details:not([inert])"],o=r.join(","),a="undefined"==typeof Element,i=a?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,s=!a&&Element.prototype.getRootNode?function(e){var t;return null==e?void 0:null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},u=function e(t,n){void 0===n&&(n=!0);var r,o=null==t?void 0:null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"inert");return""===o||"true"===o||n&&t&&e(t.parentNode)},c=function(e){var t,n=null==e?void 0:null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n},l=function(e,t,n){if(u(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(o));return t&&i.call(e,o)&&r.unshift(e),r=r.filter(n)},d=function e(t,n,r){for(var a=[],s=Array.from(t);s.length;){var c=s.shift();if(!u(c,!1)){if("SLOT"===c.tagName){var l=c.assignedElements(),d=e(l.length?l:c.children,!0,r);r.flatten?a.push.apply(a,d):a.push({scopeParent:c,candidates:d})}else{i.call(c,o)&&r.filter(c)&&(n||!t.includes(c))&&a.push(c);var p=c.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(c),f=!u(p,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(c));if(p&&f){var h=e(!0===p?c.children:p.children,!0,r);r.flatten?a.push.apply(a,h):a.push({scopeParent:c,candidates:h})}else s.unshift.apply(s,c.children)}}}return a},p=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},f=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||c(e))&&!p(e)?0:e.tabIndex},h=function(e,t){var n=f(e);return n<0&&t&&!p(e)?0:n},m=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},g=function(e){return"INPUT"===e.tagName},v=function(e,t){for(var n=0;nsummary:first-of-type")?e.parentElement:e;if(i.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return w(e)}else{if("function"==typeof r){for(var a=e;e;){var u=e.parentElement,c=s(e);if(u&&!u.shadowRoot&&!0===r(u))return w(e);e=e.assignedSlot?e.assignedSlot:u||c===e.ownerDocument?u:c.host}e=a}if(b(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},k=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;nf(t))&&!!S(e,t)},P=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||t>=0},x=function e(t){var n=[],r=[];return t.forEach(function(t,o){var a=!!t.scopeParent,i=a?t.scopeParent:t,s=h(i,a),u=a?e(t.candidates):i;0===s?a?n.push.apply(n,u):n.push(i):r.push({documentOrder:o,tabIndex:s,item:t,isScope:a,content:u})}),r.sort(m).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(n)},E=function(e,t){return x((t=t||{}).getShadowRoot?d([e],t.includeContainer,{filter:M.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:P}):l(e,t.includeContainer,M.bind(null,t)))},C=function(e,t){return(t=t||{}).getShadowRoot?d([e],t.includeContainer,{filter:S.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):l(e,t.includeContainer,S.bind(null,t))},O=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==i.call(e,o)&&M(t,e)},T=r.concat("iframe").join(","),N=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==i.call(e,T)&&S(t,e)}},13431:function(e,t,n){"use strict";n.d(t,{I4:function(){return i},Ye:function(){return a}});var r=n(52983);function o(e,t){var n=(0,r.useState)(function(){return{inputs:t,result:e()}})[0],o=(0,r.useRef)(n),a=t&&o.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}let i={date:a({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:a({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:a({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},s={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function u(e){return(t,n)=>{let r;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,o=n?.width?String(n.width):t;r=e.formattingValues[o]||e.formattingValues[t]}else{let t=e.defaultWidth,o=n?.width?String(n.width):e.defaultWidth;r=e.values[o]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function c(e){return(t,n={})=>{let r;let o=n.width,a=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],i=t.match(a);if(!i)return null;let s=i[0],u=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(u)?function(e,t){for(let n=0;ne.test(s)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(u,e=>e.test(s));return r=e.valueCallback?e.valueCallback(c):c,{value:r=n.valueCallback?n.valueCallback(r):r,rest:t.slice(s.length)}}}let l={code:"en-US",formatDistance:(e,t,n)=>{let r;let a=o[e];return(r="string"==typeof a?a:1===t?a.one:a.other.replace("{{count}}",t.toString()),n?.addSuffix)?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},formatLong:i,formatRelative:(e,t,n,r)=>s[e],localize:{ordinalNumber:(e,t)=>{let n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:u({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:u({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:u({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:u({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:u({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(r={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{let n=e.match(r.matchPattern);if(!n)return null;let o=n[0],a=e.match(r.parsePattern);if(!a)return null;let i=r.valueCallback?r.valueCallback(a[0]):a[0];return{value:i=t.valueCallback?t.valueCallback(i):i,rest:e.slice(o.length)}}),era:c({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:c({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:c({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:c({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:c({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},34214:function(e,t,n){"use strict";n.d(t,{oR:function(){return c}});var r=n(52983),o=n(52014);let{useDebugValue:a}=r,{useSyncExternalStoreWithSelector:i}=o,s=!1,u=e=>e;function c(e,t=u,n){n&&!s&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),s=!0);let r=i(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return a(r),r}},54537:function(e,t,n){"use strict";n.d(t,{M:function(){return o}});let r=e=>{let t;let n=new Set,r=(e,r)=>{let o="function"==typeof e?e(t):e;if(!Object.is(o,t)){let e=t;t=(null!=r?r:"object"!=typeof o||null===o)?o:Object.assign({},t,o),n.forEach(n=>n(t,e))}},o=()=>t,a={setState:r,getState:o,getInitialState:()=>i,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},i=t=e(r,o,a);return a},o=e=>e?r(e):r}}]); \ No newline at end of file diff --git a/_next/static/chunks/7830-46a2ecef25c66e72.js b/_next/static/chunks/7830-46a2ecef25c66e72.js new file mode 100644 index 000000000..16c7ef14e --- /dev/null +++ b/_next/static/chunks/7830-46a2ecef25c66e72.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7830],{60807:function(e,r,t){t.d(r,{C:function(){return s}});var n=t(97458),o=t(52983),l=t(24085),i=t(57931),a=t(15134);let c=i.ZP.span.withConfig({componentId:"sc-1618afb8-0"})(["",";color:",";border-radius:",";display:inline-block;font-size:",";font-weight:",";line-height:",";text-align:center;text-transform:uppercase;vertical-align:middle;padding:0 ",";"," "," "," "," ",""],(0,a.U)(),e=>{let{theme:r}=e;return r.colors.white},e=>{let{theme:r}=e;return r.borderRadius.normal},e=>{let{theme:r}=e;return r.helpers.remCalc(12)},e=>{let{theme:r}=e;return r.typography.fontWeight.semiBold},e=>{let{theme:r}=e;return r.lineHeight.small},e=>{let{theme:r}=e;return r.spacing.xSmall},e=>{let{theme:r,variant:t}=e;return"secondary"===t&&(0,i.iv)(["background-color:",";"],r.colors.secondary60)},e=>{let{theme:r,variant:t}=e;return"success"===t&&(0,i.iv)(["background-color:",";"],r.colors.success50)},e=>{let{theme:r,variant:t}=e;return"warning"===t&&(0,i.iv)(["color:",";background-color:",";"],r.colors.secondary70,r.colors.warning40)},e=>{let{theme:r,variant:t}=e;return"danger"===t&&(0,i.iv)(["background-color:",";"],r.colors.danger40)},e=>{let{theme:r,variant:t}=e;return"primary"===t&&(0,i.iv)(["background-color:",";"],r.colors.primary40)});c.defaultProps={theme:l.rS,variant:"secondary"};let s=(0,o.memo)(e=>{let{className:r,style:t,label:o,...l}=e;return"string"==typeof o?(0,n.jsx)(c,{...l,children:o}):null});s.displayName="Badge"},39928:function(e,r,t){t.d(r,{X:function(){return f}});var n=t(97458),o=t(23229),l=t(1401),i=t(52983),a=t(88638),c=t(87414),s=t(60807),d=t(12674),u=t(16701),m=t(21413);let h=e=>{let{checked:r,className:t,description:c,disabled:h,hiddenLabel:f,isIndeterminate:p,label:g,forwardedRef:x,style:b,badge:v,onClick:y,...w}=e,C=(0,i.useId)(),I=(0,i.useId)(),j=w.id?w.id:C,k=(0,i.useMemo)(()=>g?"string"==typeof g?(0,n.jsxs)(u.k,{"aria-hidden":h,disabled:h,hidden:f,htmlFor:j,id:I,children:[g,v?(0,n.jsx)(s.C,{marginLeft:"xSmall",...v}):null]}):(0,i.isValidElement)(g)&&g.type===u.k?(0,i.cloneElement)(g,{hidden:f,htmlFor:j,id:I}):void(0,a.K)("label must be either a string or a CheckboxLabel component."):null,[v,h,f,j,g,I]),S=(0,i.useMemo)(()=>{if(!c)return null;let e="object"==typeof c?c.link:void 0,r="object"==typeof c?c.text:c;return(0,n.jsx)(d.K,{link:e,children:r})},[c]);return(0,n.jsxs)(m.tp,{className:t,onClick:y,style:b,children:[(0,n.jsx)(m.sS,{checked:r,disabled:h,id:j,type:"checkbox",...w,"aria-checked":r,"aria-labelledby":I,ref:e=>{e&&"boolean"==typeof p&&(e.indeterminate=!r&&p),x&&("function"==typeof x?x(e):x.current=e)}}),(0,n.jsx)(m.P2,{"aria-hidden":!0,checked:r,disabled:h,htmlFor:j,isIndeterminate:p,children:!r&&p?(0,n.jsx)(o.H,{}):(0,n.jsx)(l.n,{})}),(0,n.jsxs)(m.B7,{children:[k,S]})]})},f=(0,c.l)((0,i.forwardRef)((e,r)=>{let{className:t,style:o,...l}=e;return(0,n.jsx)(h,{...l,forwardedRef:r})}))},16701:function(e,r,t){t.d(r,{k:function(){return d}});var n=t(97458),o=t(52983),l=t(24085),i=t(91046),a=t(57931),c=t(89983);let s=(0,a.ZP)(c.zF).attrs({as:"label"}).withConfig({componentId:"sc-9b9528cd-0"})(["cursor:pointer;"," ",""],e=>{let{disabled:r}=e;return r&&(0,a.iv)(["cursor:not-allowed;"])},e=>{let{hidden:r}=e;return r&&(0,i.G0)()});s.defaultProps={theme:l.rS};let d=(0,o.memo)(e=>{let{className:r,style:t,...o}=e;return(0,n.jsx)(s,{...o})})},21413:function(e,r,t){t.d(r,{B7:function(){return a},P2:function(){return d},sS:function(){return s},tp:function(){return c}});var n=t(24085),o=t(91046),l=t(57931),i=t(64172);let a=l.ZP.div.withConfig({componentId:"sc-566c5da0-0"})(["margin-left:",";"],e=>{let{theme:r}=e;return r.spacing.xSmall}),c=l.ZP.div.withConfig({componentId:"sc-566c5da0-1"})(["align-items:flex-start;display:flex;"]),s=l.ZP.input.withConfig({componentId:"sc-566c5da0-2"})(["",""],(0,o.G0)()),d=l.ZP.label.withConfig({componentId:"sc-566c5da0-3"})([""," align-items:center;background:",";box-sizing:border-box;border:",";border-color:",";border-radius:",";color:",";cursor:pointer;display:inline-flex;height:",";justify-content:center;margin-bottom:",";margin-top:",";user-select:none;width:",";",";"," ",":focus + &{box-shadow:",";}svg{opacity:",";}"],(0,i.Y)(["border-color","background","box-shadow","color","opacity"]),e=>{let{checked:r,isIndeterminate:t,theme:n}=e;return r||t?n.colors.primary:n.colors.white},e=>{let{theme:r}=e;return r.border.box},e=>{let{checked:r,isIndeterminate:t,theme:n}=e;return r||t?n.colors.primary:n.colors.secondary30},e=>{let{theme:r}=e;return r.borderRadius.normal},e=>{let{theme:r}=e;return r.colors.white},e=>{let{theme:r}=e;return r.spacing.large},e=>{let{theme:r}=e;return r.helpers.remCalc(2)},e=>{let{theme:r}=e;return r.helpers.remCalc(2)},e=>{let{theme:r}=e;return r.spacing.large},e=>{let{checked:r,disabled:t,isIndeterminate:n,theme:o}=e;return t&&(0,l.iv)(["background:",";border-color:",";cursor:not-allowed;"],r||n?o.colors.secondary30:o.colors.secondary10,o.colors.secondary30)},e=>{let{checked:r,isIndeterminate:t,disabled:n,theme:o}=e;return!n&&"&:hover {\n border-color: ".concat(r||t?o.colors.primary:o.colors.secondary40,";\n }")},s,e=>{let{theme:r}=e;return"0 0 0 ".concat(r.spacing.xxSmall," ").concat(r.colors.primary20)},e=>{let{checked:r,isIndeterminate:t}=e;return r||t?1:0});d.defaultProps={theme:n.rS},a.defaultProps={theme:n.rS}},12508:function(e,r,t){t.d(r,{A:function(){return h}});var n=t(97458),o=t(48592),l=t(52983),i=t(89983),a=t(24085),c=t(57931),s=t(31321),d=t(85793);let u=(0,c.ZP)(s.x).withConfig({componentId:"sc-c2b5c52e-0"})(["align-items:center;display:inline-flex;user-select:none;"]),m=(0,c.ZP)(d.Q).withConfig({componentId:"sc-c2b5c52e-1"})(["color:",";height:auto;padding:0;width:auto;min-width:auto;"],e=>{let{theme:r}=e;return r.colors.secondary60});u.defaultProps={theme:a.rS},m.defaultProps={theme:a.rS};let h=(0,l.memo)(e=>{let{children:r,label:t,onDelete:l,...a}=e,c=t?{"aria-label":"Remove ".concat(t)}:{};return(0,n.jsxs)(u,{margin:"xxSmall",...a,backgroundColor:"secondary30",borderRadius:"normal",paddingLeft:"xSmall",paddingRight:"xxSmall",children:[(0,n.jsx)(i.xv,{margin:"none",marginRight:"xxSmall",children:t}),l&&(0,n.jsx)(m,{...c,iconOnly:(0,n.jsx)(o.T,{size:"medium",title:"Delete"}),onClick:l,type:"button",variant:"subtle"})]})});h.displayName="Chip"},91458:function(e,r,t){t.d(r,{OQ:function(){return j},Fg:function(){return S},K0:function(){return v},C7:function(){return y},v_:function(){return w},Iq:function(){return C},CK:function(){return k},DX:function(){return I}});var n=t(43562),o=t(24085),l=t(91046),i=t(57931),a=t(32342),c=t(39270),s=t(90256),d=t(97458),u=t(76),m=t(76795),h=t(87728),f=t(52983),p=t(31321),g=t(89983),x=t(76120);let b=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:68;return Math.max(e,68)},v=(0,i.ZP)(c.k).withConfig({componentId:"sc-ed32f920-0"})(["width:100%;height:",";border:1px dashed ",";border-radius:",";background-color:",";cursor:pointer;",";svg{width:",";height:",";fill:",";}"],(0,n.vR)(68),e=>{let{theme:r,isDragOver:t,isValid:n,disabled:o}=e;return o?r.colors.secondary30:!t||n?r.colors.primary:r.colors.danger40},e=>{let{theme:r}=e;return r.borderRadius.normal},e=>{let{theme:r,isDragOver:t,isValid:n,disabled:o}=e;return o?r.colors.secondary20:t?n?r.colors.primary10:r.colors.danger10:r.colors.white},e=>{let{disabled:r}=e;return!r&&(0,i.iv)(["&:hover{background-color:",";}"],e=>{let{theme:r}=e;return r.colors.primary10})},(0,n.vR)(40),(0,n.vR)(40),e=>{let{theme:r,disabled:t,isValid:n,isDragOver:o}=e;return t?r.colors.secondary50:!n&&o?r.colors.danger30:r.colors.primary30}),y=(0,i.ZP)(c.k).withConfig({componentId:"sc-ed32f920-1"})(["height:",";border:",";border-radius:",";background-color:",";"],(0,n.vR)(68),e=>{let{theme:r,isValid:t}=e;return t?r.border.box:r.border.boxError},e=>{let{theme:r}=e;return r.borderRadius.normal},e=>{let{theme:r}=e;return r.colors.white}),w=i.ZP.img.withConfig({componentId:"sc-ed32f920-2"})(["height:",";width:",";"],(0,n.vR)(40),(0,n.vR)(40)),C=i.ZP.div.withConfig({componentId:"sc-ed32f920-3"})(["display:flex;flex-direction:column;"]),I=(0,i.ZP)(s.qY).withConfig({componentId:"sc-ed32f920-4"})(["",";"],(0,l.LH)()),j=(0,i.ZP)(a.Sn).withConfig({componentId:"sc-ed32f920-5"})(["color:"," !important;"],e=>{let{theme:r,disabled:t}=e;return t?r.colors.secondary60:r.colors.primary}),k=i.ZP.ul.withConfig({componentId:"sc-ed32f920-6"})(["list-style:none;padding:0;margin:0;& > li{margin-bottom:",";}"],e=>{let{theme:r}=e;return r.spacing.small}),S=(0,i.ZP)(e=>{let{accept:r,description:t,disabled:n,icon:o=(0,d.jsx)(u.P,{}),id:l,label:i,localization:a,multiple:s,viewType:b="row",onFilesChange:y,...w}=e,[C,I]=(0,f.useState)(!1),[k,S]=(0,f.useState)(!0),P=(0,f.useRef)(null),E="row"===b,R=(0,f.useCallback)(e=>{n||(S(Array.from(e.dataTransfer.items||[]).every(e=>(0,x.S)(e,r))),I(!0))},[r,n]),Z=(0,f.useCallback)(e=>{y(e.target.files),P.current&&(P.current.value="")},[y]),M=(0,f.useCallback)(e=>{n||(e.preventDefault(),y(e.dataTransfer.files),I(!1))},[n,y]),z=(0,f.useMemo)(()=>{let e=k?(0,d.jsx)(m.q,{}):(0,d.jsx)(h.$,{});return(0,d.jsx)(p.x,{as:"span",marginHorizontal:"auto",children:e})},[k]),D=(0,f.useMemo)(()=>i?(0,d.jsx)(g.xv,{color:"secondary60",marginBottom:"none",marginLeft:"xSmall",children:i}):null,[i]),F=(0,f.useMemo)(()=>t?(0,d.jsx)(g.x4,{color:"secondary50",marginBottom:"none",marginLeft:"xSmall",children:t}):null,[t]);return(0,d.jsxs)(v,{...w,alignItems:"center","aria-label":"dropzone",disabled:n,flexDirection:E?"row":"column",isDragOver:C,isValid:k,justifyContent:E?"space-between":"center",onClick:()=>{P.current&&P.current.click()},onDragEnter:R,onDragLeave:e=>{!n&&(e.preventDefault(),e.relatedTarget&&e.currentTarget.contains(e.relatedTarget)||I(!1))},onDragOver:e=>e.preventDefault(),onDrop:M,paddingHorizontal:"small",role:"button",children:[(0,d.jsx)("input",{accept:r,"aria-disabled":n,"aria-label":"file upload",disabled:n,id:l,multiple:s,onChange:Z,ref:P,style:{display:"none"},type:"file"}),C?z:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(c.k,{alignItems:"center",flexDirection:E?"row":"column",children:[o,(0,d.jsxs)(c.k,{alignItems:E?"flex-start":"center",flexDirection:"column",children:[D,F]})]}),(0,d.jsx)(j,{color:"secondary",disabled:n,marginTop:E?"none":"medium",onClick:e=>e.preventDefault(),variant:"subtle",children:a.upload})]})]})}).withConfig({componentId:"sc-ed32f920-7"})(["height:",";"],e=>{let{emptyHeight:r}=e;return(0,n.vR)(b(r))});k.defaultProps={theme:o.rS},v.defaultProps={theme:o.rS},y.defaultProps={theme:o.rS}},76120:function(e,r,t){t.d(r,{S:function(){return n},o:function(){return o}});let n=function(e){var r,t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=n.split(",").map(e=>e.trim()),l=null!==(t=null===(r=e.type.split("/").pop())||void 0===r?void 0:r.toLowerCase())&&void 0!==t?t:"";return o.some(r=>{if("*"===r||".*"===r);else if(r.startsWith("."))return r===".".concat(l);else if(r.startsWith("audio/")||r.startsWith("video/")||r.startsWith("image/")){let t=r.split("/")[0];return e.type.startsWith("".concat(t,"/"))}return!0})},o=(e,r)=>e.flatMap((e,t)=>r.filter(r=>{let{validator:t}=r;return!t(e)}).map(r=>{let{message:n,type:o}=r;return{file:e,fileIdx:t,message:n,type:o}}))},12674:function(e,r,t){t.d(r,{K:function(){return d}});var n=t(97458),o=t(52983),l=t(89983),i=t(24085),a=t(57931),c=t(4857);let s=(0,a.ZP)(c.r).withConfig({componentId:"sc-ffb9f159-0"})(["font-size:",";"],e=>{let{theme:r}=e;return r.typography.fontSize.small});s.defaultProps={theme:i.rS};let d=e=>{let{className:r,style:t,link:i,...a}=e,c=(0,o.useMemo)(()=>{if(i)return i&&(0,n.jsxs)(n.Fragment,{children:[" ",(0,n.jsx)(s,{...i,children:i.text})]})},[i]);return(0,n.jsxs)(l.x4,{...a,children:[a.children,c]})}},66879:function(e,r,t){t.d(r,{e:function(){return l}});var n=t(97458);t(52983);var o=t(89983);let l=e=>{let{className:r,style:t,...l}=e;return(0,n.jsx)(o.x4,{color:"danger",margin:"none",marginLeft:"xxSmall",...l})}},32748:function(e,r,t){t.d(r,{l:function(){return p}});var n=t(97458),o=t(52983),l=t(87414),i=t(24085),a=t(57931),c=t(15134),s=t(91458),d=t(3792),u=t(39313);let m=a.ZP.form.withConfig({componentId:"sc-b9c97838-0"})([""," ","{",",",",","{max-width:",";}}"],(0,c.U)(),e=>{let{theme:r}=e;return r.breakpoints.tablet},d.XM,u.L,s.Iq,e=>{let{fullWidth:r,theme:t}=e;return r?"100%":t.helpers.remCalc(416)});m.defaultProps={theme:i.rS};var h=t(4900);let f=e=>{let{forwardedRef:r,...t}=e;return(0,n.jsx)(h.q.Provider,{value:{fullWidth:t.fullWidth},children:(0,n.jsx)(m,{...t,ref:r})})},p=(0,l.l)((0,o.forwardRef)((e,r)=>{let{className:t,style:o,...l}=e;return(0,n.jsx)(f,{...l,forwardedRef:r})}))},87897:function(e,r,t){t.d(r,{c:function(){return v},P:function(){return b}});var n=t(97458),o=t(62831),l=t(52983),i=t(88638),a=t(39928),c=t(5830),s=t(66879),d=t(4900),u=t(24085),m=t(57931),h=t(39270);let f=(0,m.iv)(["display:grid;grid-gap:",";margin-bottom:",";&:last-child{margin-bottom:",";}"],e=>{let{theme:r}=e;return"".concat(r.spacing.xSmall," ").concat(r.spacing.medium)},e=>{let{theme:r}=e;return r.spacing.medium},e=>{let{theme:r}=e;return r.spacing.none}),p=(0,m.ZP)(h.k).withConfig({componentId:"sc-7c04136e-0"})(["flex-direction:row;"]),g=m.ZP.div.withConfig({componentId:"sc-7c04136e-1"})(["",";"],f),x=m.ZP.div.withConfig({componentId:"sc-7c04136e-2"})(["",";","{"," ","}"],f,e=>{let{theme:r}=e;return r.breakpoints.tablet},e=>{let{childrenCount:r,fullWidth:t,theme:n}=e;return 2===r&&(0,m.iv)(["grid-template-columns:repeat(2,",");","{grid-column:1 / 3;}"],t?"1fr":n.helpers.remCalc(200),p)},e=>{let{childrenCount:r,fullWidth:t,theme:n}=e;return 3===r&&(0,m.iv)(["grid-template-columns:repeat(3,",");","{grid-column:1 / 4;}"],t?"1fr":n.helpers.remCalc(128),p)});p.defaultProps={theme:u.rS},g.defaultProps={theme:u.rS},x.defaultProps={theme:u.rS};let b=(0,l.createContext)({}),v=e=>{let{fullWidth:r}=(0,d.G)(),[t,o]=(0,l.useState)({}),{children:i,errors:s}=e,u=l.Children.count(i),m=!l.Children.toArray(i).every(e=>(0,l.isValidElement)(e)&&(e.type===a.X||e.type===c.Y)),h=(0,l.useMemo)(()=>({errors:t,setErrors:o}),[t]),f=()=>s?y(s,!0):t&&y(Object.values(t));return(0,n.jsx)(b.Provider,{value:h,children:m?(0,n.jsxs)(x,{childrenCount:u,fullWidth:r,children:[i,f()]}):(0,n.jsxs)(g,{children:[i,f()]})})},y=function(e){let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=arguments.length>2?arguments[2]:void 0;return"string"==typeof e?(0,n.jsx)(l.Fragment,{children:(0,n.jsxs)(p,{alignItems:"center",children:[(0,n.jsx)(o.P,{color:"danger"}),(0,n.jsx)(s.e,{children:e})]})},t):(0,l.isValidElement)(e)&&e.type===s.e?(0,n.jsx)(l.Fragment,{children:(0,n.jsxs)(p,{alignItems:"center",children:[(0,n.jsx)(o.P,{color:"danger"}),e]})},t):Array.isArray(e)?e.map((e,t)=>e&&y(e,r,t)):e?void(r&&(0,i.K)("errors must be either a string, FormControlError, or an array of strings or FormControlError components.")):null}},14916:function(e,r,t){t.d(r,{D:function(){return s}});var n=t(97458);t(52983);var o=t(24085),l=t(57931),i=t(89983);let a=(0,l.ZP)(i.Xr).attrs({as:"label"}).withConfig({componentId:"sc-815596db-0"})(["cursor:pointer;display:inline-block;margin-bottom:",";",""],e=>{let{theme:r}=e;return r.spacing.xxSmall},e=>{let{theme:r,renderOptional:t,localization:n}=e;return t&&(0,l.iv)(["&::after{color:",";content:' (",")';font-weight:",";}"],r.colors.secondary60,n.optional,r.typography.fontWeight.regular)});a.defaultProps={theme:o.rS};let c={optional:"optional"},s=e=>{let{className:r,localization:t=c,style:o,...l}=e;return(0,n.jsx)(a,{localization:t,...l})}},4900:function(e,r,t){t.d(r,{G:function(){return l},q:function(){return o}});var n=t(52983);let o=(0,n.createContext)({}),l=()=>{let e=(0,n.useContext)(o);if(!e)throw Error("useFormContext must be used within a FormContext");return e}},30568:function(e,r,t){t.d(r,{y:function(){return c}});var n=t(52983),o=t(88638),l=t(66879),i=t(87897);let a=e=>!!e&&(!!("string"==typeof e||(0,n.isValidElement)(e)&&e.type===l.e)||((0,o.K)("error must be either a string or a FormControlError component."),!1)),c=(e,r)=>{let{setErrors:t}=(0,n.useContext)(i.P),o=(0,n.useMemo)(()=>{if(Array.isArray(r)){let e=r.filter(e=>a(e));return e.length>0?e:null}return a(r)?r:null},[r]);return(0,n.useEffect)(()=>(null==t||t(r=>({...r,[e]:o})),()=>{null==t||t(r=>({...r,[e]:null}))}),[o,e,t]),{errors:o}}},60847:function(e,r,t){t.d(r,{I:function(){return h}});var n=t(97458),o=t(52983),l=t(88638),i=t(87414),a=t(12508),c=t(14916),s=t(12674),d=t(30568),u=t(3792);let m=e=>{let{chips:r,description:t,disabled:i,error:m,forwardedRef:h,label:f,labelId:p,localization:g,...x}=e,[b,v]=(0,o.useState)(!1),y=(0,o.useId)(),w=x.id?x.id:y,{errors:C}=(0,d.y)(w,m),I=(0,o.useMemo)(()=>f?"string"==typeof f?(0,n.jsx)(c.D,{htmlFor:w,id:p,localization:g,renderOptional:!x.required,children:f}):(0,o.isValidElement)(f)&&f.type===c.D?(0,o.cloneElement)(f,{id:p,htmlFor:w}):void(0,l.K)("label must be either a string or a FormControlLabel component."):null,[w,f,p,g,x.required]),j=(0,o.useMemo)(()=>t?"string"==typeof t?(0,n.jsx)(s.K,{children:t}):(0,o.isValidElement)(t)&&t.type===s.K?t:void(0,l.K)("description must be either a string or a FormControlDescription component."):null,[t]),k=(0,o.useMemo)(()=>x.iconLeft?(0,n.jsx)(u.Mv,{paddingLeft:"xSmall",paddingRight:"xxSmall",children:x.iconLeft}):null,[x.iconLeft]),S=(0,o.useMemo)(()=>x.iconRight?(0,n.jsx)(u.Mv,{paddingLeft:"xxSmall",paddingRight:"xSmall",children:x.iconRight}):null,[x.iconRight]),P=(0,o.useMemo)(()=>r?r.map((e,r)=>(0,o.createElement)(a.A,{...e,key:"".concat(e.label,"-").concat(r),marginBottom:"none"})):null,[r]);return(0,n.jsxs)("div",{children:[I,j,(0,n.jsxs)(u.XM,{disabled:i,error:C,focus:b,children:[k,(0,n.jsxs)(u.dU,{chips:r,children:[P,(0,n.jsx)(u.Fy,{...x,chips:r,disabled:i,error:C,id:w,onBlur:e=>{let{onBlur:r}=x;return v(!1),r&&r(e)},onFocus:e=>{let{onFocus:r}=x;return v(!0),r&&r(e)},ref:h})]}),S]})]})},h=(0,i.l)((0,o.forwardRef)((e,r)=>{let{className:t,style:o,...l}=e;return(0,n.jsx)(m,{...l,forwardedRef:r})}))},3792:function(e,r,t){t.d(r,{Fy:function(){return s},Mv:function(){return d},XM:function(){return c},dU:function(){return u}});var n=t(43562),o=t(24085),l=t(57931),i=t(55315),a=t(64172);let c=l.ZP.span.withConfig({componentId:"sc-bfb945a2-0"})([""," align-items:center;background-color:",";border-radius:",";box-sizing:border-box;display:flex;min-height:",";overflow:hidden;position:relative;width:100%;",";&:hover:not([disabled]){","}",";&[disabled]{background-color:",";}"],(0,a.Y)(["border","box-shadow"]),e=>{let{theme:r}=e;return r.colors.white},e=>{let{theme:r}=e;return r.borderRadius.normal},e=>{let{theme:r}=e;return(0,n.EX)(r.spacing.xxLarge,r.spacing.xxSmall)},e=>{let{error:r,theme:t}=e;return(0,l.iv)(["border:",";"],r?t.border.boxError:t.border.box)},e=>{let{error:r,theme:t}=e;return r?(0,l.iv)(["border:",";"],t.border.boxError):(0,l.iv)(["border:1px solid ",";"],t.colors.secondary40)},e=>{let{error:r,focus:t,theme:n}=e;return t&&(0,l.iv)(["outline:none;box-shadow:0 0 0 4px ",";"],r?n.colors.danger20:n.colors.primary20)},e=>{let{theme:r}=e;return r.colors.secondary20}),s=l.ZP.input.withConfig({componentId:"sc-bfb945a2-1"})(["background-color:inherit;border:0;box-sizing:border-box;color:",";flex:1 1 40%;height:100%;padding:0;padding-left:",";width:100%;&:focus{outline:none;}&::placeholder{color:",";font-size:",";}&:-webkit-autofill{background-color:"," !important;-webkit-box-shadow:0 0 0px 1000px "," inset;}",";",";",";",";",";&[disabled]{background-color:",";color:",";}"],e=>{let{theme:r}=e;return r.colors.secondary70},e=>{let{theme:r}=e;return r.spacing.xSmall},e=>{let{theme:r}=e;return r.colors.secondary40},e=>{let{theme:r}=e;return r.typography.fontSize.medium},e=>{let{theme:r}=e;return r.colors.primary10},e=>{let{theme:r}=e;return r.colors.primary10},e=>{let{iconRight:r,theme:t}=e;return r&&(0,l.iv)(["padding-right:",";"],(0,n.EX)(t.spacing.xxSmall,t.spacing.xxLarge))},e=>{let{iconLeft:r,theme:t}=e;return r&&(0,l.iv)(["padding-left:",";"],(0,n.EX)(t.spacing.xxSmall,t.spacing.xxLarge))},e=>{let{chips:r,theme:t}=e;return r&&(0,l.iv)(["min-height:",";padding-left:",";padding-right:",";"],t.spacing.xLarge,t.spacing.xxSmall,t.spacing.none)},e=>{let{chips:r,theme:t}=e;return r&&r.length&&(0,l.iv)(["margin-top:",";"],t.spacing.xxSmall)},e=>{let{chips:r}=e;return!r&&(0,l.iv)(["min-height:",";"],(0,n.vR)(34))},e=>{let{theme:r}=e;return r.colors.secondary20},e=>{let{theme:r}=e;return r.colors.secondary60}),d=l.ZP.div.withConfig({componentId:"sc-bfb945a2-2"})(["align-items:center;color:",";display:flex;height:100%;position:absolute;top:0;"," "," ",""],e=>{let{theme:r}=e;return r.colors.secondary60},(0,i.i)(),e=>{let{paddingLeft:r}=e;return"xSmall"===r&&(0,l.iv)(["left:0;"])},e=>{let{paddingRight:r}=e;return"xSmall"===r&&(0,l.iv)(["right:0;"])}),u=l.ZP.div.withConfig({componentId:"sc-bfb945a2-3"})(["align-items:center;box-sizing:border-box;display:flex;flex-wrap:wrap;flex:1;height:100%;",";",";"],e=>{let{chips:r,theme:t}=e;return r&&(0,l.iv)(["margin-left:",";padding-right:",";"],t.spacing.xxSmall,(0,n.EX)(t.spacing.xxSmall,t.spacing.xxLarge))},e=>{let{chips:r,theme:t}=e;return r&&r.length&&(0,l.iv)(["margin-bottom:",";"],t.spacing.xxSmall)});s.defaultProps={theme:o.rS},c.defaultProps={theme:o.rS},d.defaultProps={theme:o.rS},u.defaultProps={theme:o.rS}},22238:function(e,r,t){t.d(r,{a:function(){return L}});var n=t(97458),o=t(52983),l=t(43406),i=t(32560),a=t(35933);let c=()=>{let[e,r]=(0,i.j)({height:l.C?window.innerHeight:-1,width:l.C?window.innerWidth:-1});return(0,a.H)(()=>{r({height:window.innerHeight,width:window.innerWidth})}),l.C,e},s=l.C?o.useLayoutEffect:o.useEffect;var d=t(87414),u=t(31321),m=t(24085),h=t(57931);let f=h.ZP.li.withConfig({componentId:"sc-3fe78290-0"})(["align-items:center;box-sizing:border-box;color:",";cursor:default;display:flex;font-size:",";font-weight:",";height:",";justify-content:space-between;min-width:",";outline:none;padding:0 ",";text-transform:uppercase;&:not(:first-child){margin-top:",";}"],e=>{let{theme:r}=e;return r.colors.secondary50},e=>{let{theme:r}=e;return r.typography.fontSize.small},e=>{let{theme:r}=e;return r.typography.fontWeight.semiBold},e=>{let{theme:r}=e;return r.helpers.remCalc(36)},e=>{let{theme:r}=e;return r.helpers.remCalc(256)},e=>{let{theme:r}=e;return r.spacing.medium},e=>{let{theme:r}=e;return r.spacing.medium});f.defaultProps={theme:m.rS};let p=(0,o.memo)(e=>{let{className:r,style:t,value:o,...l}=e;return(0,n.jsx)(f,{...l,"aria-hidden":!0,onMouseDown:g,tabIndex:-1})});function g(e){e.preventDefault()}p.displayName="ListGroupHeader";var x=t(89983);let b=h.ZP.li.withConfig({componentId:"sc-c6ef30fd-0"})(["line-height:0;"]),v=(0,o.memo)(()=>(0,n.jsx)(b,{"aria-hidden":!0,onMouseDown:y,tabIndex:-1,children:(0,n.jsx)(x.HR,{marginVertical:"xSmall"})}));function y(e){e.preventDefault()}v.displayName="ListGroupSeparator";var w=t(1401),C=t(39928),I=t(39270),j=t(83273),k=t(47285),S=t(64172);let P=h.ZP.li.withConfig({componentId:"sc-938239bf-0"})([""," align-items:center;box-sizing:border-box;cursor:pointer;display:flex;font-weight:",";justify-content:space-between;min-height:",";min-width:",";outline:none;padding:",";a{align-items:center;color:",";display:flex;height:100%;text-decoration:none;width:100%;&:focus{outline:none;}}"," "," label{cursor:",";}"],(0,S.Y)(["background-color","color"]),e=>{let{theme:r,isSelected:t}=e;return t?r.typography.fontWeight.semiBold:r.typography.fontWeight.regular},e=>{let{theme:r}=e;return r.helpers.remCalc(36)},e=>{let{autoWidth:r,theme:t}=e;return r?"auto":t.helpers.remCalc(256)},e=>{let{theme:r}=e;return"".concat(r.spacing.xxSmall," ").concat(r.spacing.medium)},e=>{let{theme:r}=e;return r.colors.secondary70},e=>{let{actionType:r,isAction:t,isHighlighted:n,theme:o}=e;return n&&(t?"normal"===r?(0,h.iv)(["background-color:",";color:",";a{color:",";}"],o.colors.primary10,o.colors.primary,o.colors.primary):(0,h.iv)(["background-color:",";color:",";a{color:",";}"],o.colors.danger10,o.colors.danger50,o.colors.danger50):(0,h.iv)(["background-color:",";"],o.colors.secondary10))},e=>{let{disabled:r,theme:t}=e;return r&&(0,h.iv)(["color:",";cursor:not-allowed;"],t.colors.secondary40)},e=>{let{disabled:r}=e;return r?"not-allowed":"pointer"}),E=h.ZP.a.withConfig({componentId:"sc-938239bf-1"})([""," align-items:center;color:",";display:flex;height:100%;text-decoration:none;width:100%;&:focus{outline:none;}"],(0,S.Y)(["background-color","color"]),e=>{let{theme:r}=e;return r.colors.secondary70});P.defaultProps={theme:m.rS},E.defaultProps={theme:m.rS};let R=(0,o.memo)(e=>{let{item:r,isHighlighted:t}=e,l=(0,o.useMemo)(()=>r.disabled?"secondary40":t&&"onActionClick"in r?"actionType"in r&&r.actionType?"danger50":"primary":"secondary60",[t,r]),i=(0,o.useMemo)(()=>(0,o.isValidElement)(r.icon)&&(0,o.cloneElement)(r.icon,{color:l,size:"large"}),[l,r]),a=(0,o.useCallback)(e=>e?"secondary40":"secondary60",[]),c=(0,o.useCallback)((e,r)=>(0,n.jsx)(E,{href:e.url,tabIndex:-1,target:e.target,children:r}),[]),s=(0,o.useCallback)((e,r)=>(0,n.jsx)(k.u,{modifiers:[{name:"preventOverflow"},{name:"offset",options:{offset:[0,20]}}],placement:"left",trigger:r,children:e}),[]);return(0,o.useMemo)(()=>{let{content:e,disabled:t,description:o,icon:l}=r,d=(0,n.jsxs)(I.k,{alignItems:"center",flexDirection:"row",children:[l&&(0,n.jsx)(j.B,{alignSelf:o?"flex-start":void 0,paddingRight:"xSmall",paddingTop:o?"xSmall":void 0,children:i}),o?(0,n.jsxs)(j.B,{paddingVertical:"xSmall",children:[e,(0,n.jsx)(x.x4,{color:a(t),children:o})]}):e]}),u="type"in r&&"link"===r.type&&!t?c(r,d):d;return t&&"tooltip"in r&&r.tooltip?s(r.tooltip,u):u},[a,r,i,c,s])}),Z=(0,d.l)(e=>{let{actionType:r="normal",autoWidth:t=!1,forwardedRef:o,index:l,isAction:i=!1,isChecked:a=!1,isHighlighted:c,isSelected:s=!1,item:d,getItemProps:u,addItem:m,removeItem:h,...f}=e;return h&&m?(0,n.jsx)(P,{...u({...f,index:l,item:d,onClick:()=>{!d.disabled&&"value"in d&&(a?h(d):m(d))},ref:o}),actionType:r,autoWidth:t,isAction:i,isHighlighted:c,children:(0,n.jsx)(C.X,{checked:a,description:d.description,disabled:d.disabled,label:d.content,onChange:()=>null,onClick:e=>e.preventDefault(),tabIndex:-1})}):(0,n.jsxs)(P,{...u({...f,index:l,item:d,ref:o}),actionType:r,autoWidth:t,disabled:d.disabled,isAction:i,isHighlighted:c,isSelected:s,children:[(0,n.jsx)(R,{isHighlighted:c,item:d}),s&&(0,n.jsx)(w.n,{color:"primary",size:"large"})]})}),M=(0,o.memo)((0,o.forwardRef)((e,r)=>(0,n.jsx)(Z,{...e,forwardedRef:r}))),z=h.ZP.div.withConfig({componentId:"sc-fa563855-0"})([""," height:100%;position:relative;overflow:hidden;"],e=>{let{theme:r}=e;return r.shadow.raised});z.defaultProps={theme:m.rS};let D=h.ZP.ul.withConfig({componentId:"sc-fa563855-1"})(["",";background-color:",";color:",";margin:0;max-height:",";outline:none;overflow-y:auto;padding:"," 0;z-index:",";"],e=>{let{theme:r}=e;return r.shadow.raised},e=>{let{theme:r}=e;return r.colors.white},e=>{let{theme:r}=e;return r.colors.secondary70},e=>{let{theme:r,maxHeight:t}=e;return t?r.helpers.remCalc(t):""},e=>{let{theme:r}=e;return r.spacing.xSmall},e=>{let{theme:r}=e;return r.zIndex.popover});D.defaultProps={theme:m.rS};let F=(0,d.l)(e=>{let{action:r,addItem:t,autoWidth:l,filteredItems:i,forwardedRef:a,getItemProps:d,getMenuProps:m,highlightedIndex:h,isDropdown:f=!1,isOpen:g,items:x,maxHeight:b=250,selectedItem:y,selectedItems:w,update:C,removeItem:I,...j}=e,k=(0,o.useRef)(0),{height:S,width:P}=c();s(()=>{!async function(){C&&g&&await C()}()},[g,S,P,null==w?void 0:w.length]);let E=(0,o.useCallback)(e=>{let r=k.current;return(0,n.jsx)(u.x,{borderTop:"box",marginTop:"xSmall",paddingTop:"xSmall",children:(0,n.jsx)(M,{actionType:e.actionType,autoWidth:l,getItemProps:d,index:r,isAction:!0,isHighlighted:h===r,isSelected:!1,item:e},"action")})},[d,l,h]),R=(0,o.useCallback)(e=>Array.isArray(e)&&e.map(e=>{if(i&&K(e)&&!i.find(r=>K(r)&&r.value===e.value))return null;let r=k.current;k.current+=1;let o=K(e)&&w&&!!w.find(r=>r.value===e.value);return(0,n.jsx)(M,{actionType:"actionType"in e?e.actionType:"normal",addItem:t,autoWidth:l,getItemProps:d,index:r,isAction:f,isChecked:o||!1,isHighlighted:!e.disabled&&h===r,isSelected:!f&&K(e)&&(null==y?void 0:y.value)===e.value,item:e,removeItem:I},"".concat(r,"-").concat(e.content))}),[t,l,i,d,h,f,I,y,w]),Z=(0,o.useCallback)(e=>(0,n.jsxs)(n.Fragment,{children:[e.separated&&(0,n.jsx)(v,{}),!!e.label&&(0,n.jsx)(p,{children:e.label}),V(e)&&R(e.items),A(e)&&R(e.options)]}),[R]),F=(0,o.useMemo)(()=>(k.current=0,Array.isArray(x)&&H(x))?(0,n.jsxs)(n.Fragment,{children:[x.map((e,r)=>(0,n.jsx)(o.Fragment,{children:Z(e)},r)),r&&E(r)]}):Array.isArray(x)&&W(x)?(0,n.jsxs)(n.Fragment,{children:[R(x),r&&E(r)]}):void 0,[r,x,E,Z,R]);return(0,n.jsx)(z,{children:(0,n.jsx)(D,{...m({...j,onKeyDown:e=>{if("Enter"===e.key){let r=e.currentTarget.children[h].querySelector("a");r&&!r.getAttribute("disabled")&&r.click()}},ref:a}),maxHeight:b,children:g&&F})})}),L=(0,o.memo)((0,o.forwardRef)((e,r)=>(0,n.jsx)(F,{...e,forwardedRef:r}))),H=e=>e.every(e=>V(e)||A(e)),W=e=>e.every(e=>T(e)||K(e)),K=e=>"value"in e,T=e=>"content"in e&&!("items"in e),V=e=>"items"in e&&!("content"in e),A=e=>"options"in e&&!("value"in e)},11505:function(e,r,t){t.d(r,{N:function(){return f}});var n=t(97458),o=t(35455),l=t(52983),i=t(93041),a=t(87414),c=t(88638),s=t(31321),d=t(14916),u=t(60847),m=t(22238),h=t(93044);let f=(0,a.l)(e=>{let{action:r,autoComplete:t="off",autoWidth:a=!1,className:f,disabled:p,filterable:g=!0,id:x,inputRef:b,label:v,labelId:y,localization:w,maxHeight:C,onClose:I,onOpen:j,onOptionsChange:k,options:S,placeholder:P,placement:E="bottom-start",positionFixed:R=!1,required:Z,style:M,value:z,...D}=e,F=(0,l.createRef)(),L=(0,l.useId)(),[H,W]=(0,l.useState)(""),K=(0,l.useMemo)(()=>D["aria-label"]&&!v?{"aria-labelledby":void 0}:{},[v,D]),T=(0,l.useCallback)(e=>e.every(e=>"options"in e&&!("value"in e))?e.map(e=>e.options).reduce((e,r)=>e.concat(r),[]):e,[]),V=(0,l.useMemo)(()=>r?[...T(S),r]:T(S),[r,T,S]),A=(0,l.useMemo)(()=>V.filter(e=>"value"in e&&!!z&&void 0!==z.find(r=>r===e.value))||[],[V,z]),[B,N]=(0,l.useState)(V);(0,l.useEffect)(()=>N(V),[V]),(0,l.useEffect)(()=>{W("")},[A]);let q=e=>e.findIndex(e=>!e.disabled),O=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return V.filter(t=>t===r||t.content.toLowerCase().startsWith(e.trim().toLowerCase()))},X=(0,l.useCallback)(e=>{if(!e)return;let r=A.filter(r=>r.value!==e.value)||[];k(r.map(e=>e.value),r),N(V)},[V,k,A]),Y=(0,l.useCallback)(e=>{if(!e)return;let r=[...A,e];k(r.map(e=>e.value),r),N(V)},[V,k,A]),{getInputProps:G,getItemProps:_,getLabelProps:U,getMenuProps:Q,getToggleButtonProps:$,highlightedIndex:J,isOpen:ee,openMenu:er,setHighlightedIndex:et}=(0,o.Kb)({id:L,initialHighlightedIndex:0,inputId:x,inputValue:H,itemToString:e=>e?e.content:"",items:B,labelId:y,onInputValueChange:e=>{let{inputValue:r,isOpen:t}=e;if(g&&!0===t){let e=O(r),t=q(e);N(e),et(t)}W(r||"")},onIsOpenChange:e=>{let{isOpen:r}=e;g&&!r&&N(V),r&&"function"==typeof j&&j(),r||"function"!=typeof I||I()},onSelectedItemChange:e=>{if(r&&e.selectedItem===r){r.onActionClick(H);return}e.type===o.Kb.stateChangeTypes.InputKeyDownEnter&&e.selectedItem&&"value"in e.selectedItem&&(A.find(r=>e.selectedItem&&"value"in e.selectedItem&&r.value===e.selectedItem.value)?X(e.selectedItem):Y(e.selectedItem))},selectedItem:null,stateReducer:(e,t)=>{switch(t.type){case o.Kb.stateChangeTypes.InputBlur:return{...t.changes,inputValue:""};case o.Kb.stateChangeTypes.InputClick:return{...t.changes,highlightedIndex:q(B),isOpen:!0};case o.Kb.stateChangeTypes.InputKeyDownEnter:case o.Kb.stateChangeTypes.ItemClick:if(!t.changes.selectedItem)return t.changes;if(t.changes.selectedItem===r)return{...t.changes,inputValue:e.inputValue};return{...t.changes,highlightedIndex:e.highlightedIndex,inputValue:"",isOpen:!0};default:return t.changes}}}),en=(0,l.useRef)(null),eo=(0,l.useRef)(null),{styles:el,attributes:ei,update:ea}=(0,i.D)(en.current,eo.current,{modifiers:[{name:"eventListeners",options:{scroll:ee,resize:ee}},{name:"offset",options:{offset:[0,4]}}],strategy:R?"fixed":"absolute",placement:E});(0,l.useEffect)(()=>{ee||W("")},[ee]);let ec=(0,l.useCallback)(e=>{"function"==typeof b&&b(e)},[b]),es=(0,l.useCallback)(()=>b&&"object"==typeof b?b:"function"==typeof b?ec:F,[F,b,ec]),ed=(0,l.useMemo)(()=>v?"string"==typeof v?(0,n.jsx)(d.D,{...U(),localization:w,renderOptional:!Z,children:v}):(0,l.isValidElement)(v)&&v.type===d.D?(0,l.cloneElement)(v,U()):void(0,c.K)("label must be either a string or a FormControlLabel component."):null,[U,v,w,Z]),eu=(0,l.useMemo)(()=>(0,n.jsx)(h.PS,{...$({disabled:p,type:"button"}),"aria-label":"toggle menu",variant:"subtle",children:(0,n.jsx)(h.dm,{})}),[p,$]),em=(0,l.useMemo)(()=>(0,n.jsx)(h.j5,{ref:en,children:(0,n.jsx)(u.I,{...G({...D,...K,autoComplete:t,disabled:p,onClick:()=>{ee||er()},onFocus:e=>{"function"==typeof D.onFocus&&D.onFocus(e)},onKeyDown:e=>{switch(e.key){case"Backspace":H||X(A[A.length-1]);break;case"Enter":e.preventDefault(),!1===ee&&(er(),e.nativeEvent.preventDownshiftDefault=!0);break;case"Escape":!1===ee&&k([],[])}},placeholder:P,ref:es()}),chips:A.map(e=>({label:e.content,onDelete:p?void 0:()=>X(e)})),iconRight:eu,readOnly:!g,required:Z&&0===A.length})}),[t,K,p,g,G,es,H,ee,k,er,P,D,X,eu,Z,A]);return(0,n.jsxs)("div",{children:[ed,em,(0,n.jsx)(s.x,{ref:eo,style:el.popper,...ei.poppper,zIndex:"popover",children:(0,n.jsx)(m.a,{...K,action:r,addItem:Y,autoWidth:a,filteredItems:B,getItemProps:_,getMenuProps:Q,highlightedIndex:J,isOpen:ee,items:S,maxHeight:C,removeItem:X,selectedItems:A,update:ea})})]})})},23296:function(e,r,t){t.d(r,{j:function(){return c}});var n=t(97458),o=t(52983),l=t(57931),i=t(89983);let a=(0,l.ZP)(i.zF).attrs({as:"label"}).withConfig({componentId:"sc-d5dcaaae-0"})(["cursor:pointer;",""],e=>{let{disabled:r}=e;return r&&(0,l.iv)(["cursor:not-allowed;"])}),c=(0,o.memo)(e=>{let{className:r,style:t,...o}=e;return(0,n.jsx)(a,{...o})})},5830:function(e,r,t){t.d(r,{Y:function(){return u}});var n=t(97458),o=t(52983),l=t(88638),i=t(87414),a=t(12674),c=t(23296),s=t(78769);let d=e=>{let{checked:r,className:t,description:i,disabled:d,label:u,forwardedRef:m,style:h,...f}=e,p=(0,o.useId)(),g=(0,o.useId)(),x=f.id?f.id:p,b=(0,o.useMemo)(()=>u?"string"==typeof u?(0,n.jsx)(c.j,{"aria-hidden":d,disabled:d,htmlFor:x,id:g,children:u}):(0,o.isValidElement)(u)&&u.type===c.j?(0,o.cloneElement)(u,{htmlFor:x,id:g}):void(0,l.K)("label must be either a string or a RadioLabel component."):null,[d,x,u,g]),v=(0,o.useMemo)(()=>{if(!i)return null;let e="object"==typeof i?i.link:void 0,r="object"==typeof i?i.text:i;return(0,n.jsx)(a.K,{link:e,children:r})},[i]);return(0,n.jsxs)(s._5,{className:t,style:h,children:[(0,n.jsx)(s.pk,{checked:r,disabled:d,id:x,type:"radio",...f,"aria-labelledby":g,ref:m}),(0,n.jsx)(s.Ks,{"aria-hidden":!0,checked:r,disabled:d,htmlFor:x}),(0,n.jsxs)(s.cu,{children:[b,v]})]})},u=(0,i.l)((0,o.forwardRef)((e,r)=>{let{className:t,style:o,...l}=e;return(0,n.jsx)(d,{...l,forwardedRef:r})}))},78769:function(e,r,t){t.d(r,{Ks:function(){return d},_5:function(){return c},cu:function(){return a},pk:function(){return s}});var n=t(24085),o=t(91046),l=t(57931),i=t(64172);let a=l.ZP.div.withConfig({componentId:"sc-16e236d2-0"})(["margin-left:",";"],e=>{let{theme:r}=e;return r.spacing.xSmall}),c=l.ZP.div.withConfig({componentId:"sc-16e236d2-1"})(["align-items:flex-start;display:flex;"]),s=l.ZP.input.withConfig({componentId:"sc-16e236d2-2"})(["",""],(0,o.G0)()),d=l.ZP.label.withConfig({componentId:"sc-16e236d2-3"})([""," background-color:",";border:",";border-color:",";border-radius:",";color:",";cursor:pointer;display:inline-block;flex-shrink:0;height:",";position:relative;user-select:none;width:",";",";&:hover{border-color:",";}",":focus + &{box-shadow:",";}&:after{"," background-color:",";border-radius:50%;content:'';height:",";left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:",";}",""],(0,i.Y)(["border-color","box-shadow"]),e=>{let{disabled:r,theme:t}=e;return r?t.colors.secondary10:t.colors.white},e=>{let{theme:r}=e;return r.border.box},e=>e.checked?e.theme.colors.primary40:e.theme.colors.secondary30,e=>{let{theme:r}=e;return r.borderRadius.circle},e=>{let{theme:r}=e;return r.colors.white},e=>{let{theme:r}=e;return r.spacing.large},e=>{let{theme:r}=e;return r.spacing.large},e=>{let{disabled:r,theme:t}=e;return r&&(0,l.iv)(["cursor:not-allowed;border-color:",";"],t.colors.secondary30)},e=>{let{checked:r,disabled:t,theme:n}=e;return!t&&(r?n.colors.primary50:n.colors.secondary40)},s,e=>{let{theme:r}=e;return"0 0 0 ".concat(r.spacing.xxSmall," ").concat(r.colors.primary20)},(0,i.Y)(["opacity"]),e=>{let{disabled:r,theme:t}=e;return r?t.colors.secondary40:t.colors.primary40},e=>{let{theme:r}=e;return r.spacing.small},e=>{let{theme:r}=e;return r.spacing.small},e=>e.checked&&(0,l.iv)(["&:after{opacity:1;}"]));d.defaultProps={theme:n.rS},a.defaultProps={theme:n.rS}},93044:function(e,r,t){t.d(r,{PS:function(){return u},dm:function(){return s},j5:function(){return d}});var n=t(4776),o=t(24085),l=t(91046),i=t(57931),a=t(85793);let c=i.ZP.div.withConfig({componentId:"sc-2be6c604-0"})(["",""],(0,l.G0)()),s=(0,i.ZP)(n.c).withConfig({componentId:"sc-2be6c604-1"})(["",""],e=>{let{disabled:r}=e;return!r&&(0,i.iv)([":hover{cursor:pointer;}"])}),d=i.ZP.div.withConfig({componentId:"sc-2be6c604-2"})(["input[readonly]{cursor:pointer;}"]),u=(0,i.ZP)(a.Q).withConfig({componentId:"sc-2be6c604-3"})(["color:",";height:auto;padding:0;"],e=>{let{theme:r}=e;return r.colors.secondary60});c.defaultProps={theme:o.rS},s.defaultProps={theme:o.rS},d.defaultProps={theme:o.rS},u.defaultProps={theme:o.rS}},39313:function(e,r,t){t.d(r,{L:function(){return i},u:function(){return a}});var n=t(24085),o=t(57931),l=t(64172);let i=o.ZP.span.withConfig({componentId:"sc-c340d215-0"})(["align-items:center;display:flex;position:relative;"]),a=o.ZP.textarea.withConfig({componentId:"sc-c340d215-1"})([""," background-color:",";border-radius:",";box-sizing:border-box;color:",";line-height:",";max-height:",";padding:",";width:100%;",";",";&:hover:not([disabled]){","}&:focus{outline:none;box-shadow:0 0 0 4px ",";}&[disabled]{background-color:",";}&::placeholder{color:",";line-height:",";font-size:",";}"],(0,l.Y)(["border","box-shadow"]),e=>{let{theme:r}=e;return r.colors.white},e=>{let{theme:r}=e;return r.borderRadius.normal},e=>{let{theme:r}=e;return r.colors.secondary70},e=>{let{theme:r}=e;return r.lineHeight.medium},e=>{let{theme:r}=e;return r.helpers.remCalc(224)},e=>{let{theme:r}=e;return"".concat(r.spacing.xxSmall," ").concat(r.spacing.small)},e=>{let{resize:r}=e;return r?(0,o.iv)(["resize:vertical;"]):(0,o.iv)(["resize:none;"])},e=>{let{error:r,theme:t}=e;return(0,o.iv)(["border:",";"],r?t.border.boxError:t.border.box)},e=>{let{error:r,theme:t}=e;return r?(0,o.iv)(["border:",";"],t.border.boxError):(0,o.iv)(["border:1px solid ",";"],t.colors.secondary40)},e=>e.error?e.theme.colors.danger20:e.theme.colors.primary20,e=>{let{theme:r}=e;return r.colors.secondary20},e=>{let{theme:r}=e;return r.colors.secondary40},e=>{let{theme:r}=e;return r.lineHeight.medium},e=>{let{theme:r}=e;return r.typography.fontSize.medium});a.defaultProps={theme:n.rS},i.defaultProps={theme:n.rS}},47285:function(e,r,t){t.d(r,{u:function(){return m}});var n=t(97458),o=t(52983),l=t(63730),i=t(78679),a=t(40925),c=t(18024),s=t(89983),d=t(24085);let u=t(57931).ZP.div.withConfig({componentId:"sc-522e2a32-0"})(["",";background-color:",";max-width:",";padding:",";z-index:",";"],e=>{let{theme:r}=e;return r.shadow.floating},e=>{let{theme:r}=e;return r.colors.secondary70},e=>{let{theme:r}=e;return r.helpers.remCalc(336)},e=>{let{theme:r}=e;return r.spacing.xSmall},e=>{let{theme:r}=e;return r.zIndex.tooltip});u.defaultProps={theme:d.rS};let m=(0,o.memo)(e=>{let{children:r,modifiers:t,trigger:d,id:m,...h}=e,[f,p]=(0,o.useState)(!1),[g,x]=(0,o.useState)(null),b=(0,o.useMemo)(()=>[{name:"eventListeners",options:{scroll:f,resize:f}},{name:"offset",options:{offset:[0,4]}},...t||[]],[f,t]);(0,o.useEffect)(()=>{let e=document.createElement("div");document.body.appendChild(e),x(e)},[]),(0,o.useEffect)(()=>()=>{g&&document.body.removeChild(g)},[g]);let v=()=>"string"==typeof r?(0,n.jsx)(s.x4,{color:"white",children:r}):r,y=()=>{p(!1)},w=()=>{p(!0)},C=e=>{"Escape"===e.key&&p(!1)};return(0,n.jsxs)(i.dK,{children:[(0,n.jsx)(a.s,{children:e=>{let{ref:r}=e;return(0,o.cloneElement)(d,{ref:r,onBlur:y,onFocus:w,onKeyDown:C,onMouseEnter:w,onMouseLeave:y})}}),g?(0,l.createPortal)((0,n.jsx)(c.r,{modifiers:b,placement:h.placement||"top",children:e=>{let{placement:r,ref:t,style:o}=e;return f&&(0,n.jsx)(u,{"data-placement":r,id:m,ref:t,style:o,children:v()})}}),g):null]})})},32560:function(e,r,t){t.d(r,{j:function(){return o}});var n=t(52983);let o=e=>{let r=(0,n.useRef)(0),[t,o]=(0,n.useState)(e),l=(0,n.useCallback)(e=>{cancelAnimationFrame(r.current),r.current=requestAnimationFrame(()=>{o(e)})},[]);return(0,n.useEffect)(()=>()=>cancelAnimationFrame(r.current),[]),[t,l]}},35933:function(e,r,t){t.d(r,{H:function(){return o}});var n=t(52983);let o=e=>{(0,n.useEffect)(()=>(window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}),[e])}},43406:function(e,r,t){t.d(r,{C:function(){return n},y:function(){return o}});let n=!0,o=!0},88638:function(e,r,t){t.d(r,{K:function(){return o}});var n=t(43406);let o=e=>{if(!n.y){let r="Warning: ".concat(e);"undefined"!=typeof console&&console.warn(r);try{throw Error(r)}catch(e){}}}},4776:function(e,r,t){t.d(r,{c:function(){return c}});var n=t(43131),o=t(52983),l=t(18308);let i=e=>{let{svgRef:r,title:t,theme:l,...i}=e,a=(0,o.useId)(),c=t?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,n.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:r,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),t?o.createElement("title",{id:c},t):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"m8.71 11.71 2.59 2.59c.39.39 1.02.39 1.41 0l2.59-2.59c.63-.63.18-1.71-.71-1.71H9.41c-.89 0-1.33 1.08-.7 1.71"}))},a=(0,o.forwardRef)((e,r)=>o.createElement(i,(0,n.Z)({},e,{svgRef:r}))),c=(0,o.memo)((0,l.V)(a));c.displayName="ArrowDropDownIcon"},1401:function(e,r,t){t.d(r,{n:function(){return c}});var n=t(43131),o=t(52983),l=t(18308);let i=e=>{let{svgRef:r,title:t,theme:l,...i}=e,a=(0,o.useId)(),c=t?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,n.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:r,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),t?o.createElement("title",{id:c},t):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M9 16.17 5.53 12.7a.996.996 0 1 0-1.41 1.41l4.18 4.18c.39.39 1.02.39 1.41 0L20.29 7.71a.996.996 0 1 0-1.41-1.41z"}))},a=(0,o.forwardRef)((e,r)=>o.createElement(i,(0,n.Z)({},e,{svgRef:r}))),c=(0,o.memo)((0,l.V)(a));c.displayName="CheckIcon"},67013:function(e,r,t){t.d(r,{p:function(){return c}});var n=t(43131),o=t(52983),l=t(18308);let i=e=>{let{svgRef:r,title:t,theme:l,...i}=e,a=(0,o.useId)(),c=t?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,n.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:r,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),t?o.createElement("title",{id:c},t):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2zM18 4h-2.5l-.71-.71c-.18-.18-.44-.29-.7-.29H9.91c-.26 0-.52.11-.7.29L8.5 4H6c-.55 0-1 .45-1 1s.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1"}))},a=(0,o.forwardRef)((e,r)=>o.createElement(i,(0,n.Z)({},e,{svgRef:r}))),c=(0,o.memo)((0,l.V)(a));c.displayName="DeleteIcon"},76:function(e,r,t){t.d(r,{P:function(){return c}});var n=t(43131),o=t(52983),l=t(18308);let i=e=>{let{svgRef:r,title:t,theme:l,...i}=e,a=(0,o.useId)(),c=t?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,n.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:48,ref:r,stroke:"currentColor",strokeWidth:"0",viewBox:"0 -960 960 960",width:48},i),t?o.createElement("title",{id:c},t):null,o.createElement("path",{d:"M220-80q-24 0-42-18t-18-42v-680q0-24 18-42t42-18h361l219 219v521q0 24-18 42t-42 18zm331-554v-186H220v680h520v-494zM220-820v186zv680z"}))},a=(0,o.forwardRef)((e,r)=>o.createElement(i,(0,n.Z)({},e,{svgRef:r}))),c=(0,o.memo)((0,l.V)(a));c.displayName="DraftIcon"},76795:function(e,r,t){t.d(r,{q:function(){return c}});var n=t(43131),o=t(52983),l=t(18308);let i=e=>{let{svgRef:r,title:t,theme:l,...i}=e,a=(0,o.useId)(),c=t?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,n.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:r,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),t?o.createElement("title",{id:c},t):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3zm-1-4-1.41-1.41L13 12.17V4h-2v8.17L8.41 9.59 7 11l5 5z"}))},a=(0,o.forwardRef)((e,r)=>o.createElement(i,(0,n.Z)({},e,{svgRef:r}))),c=(0,o.memo)((0,l.V)(a));c.displayName="FileDownloadIcon"},87728:function(e,r,t){t.d(r,{$:function(){return c}});var n=t(43131),o=t(52983),l=t(18308);let i=e=>{let{svgRef:r,title:t,theme:l,...i}=e,a=(0,o.useId)(),c=t?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,n.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:r,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),t?o.createElement("title",{id:c},t):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M7 12c0 .55.45 1 1 1h8c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1m5-10C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}))},a=(0,o.forwardRef)((e,r)=>o.createElement(i,(0,n.Z)({},e,{svgRef:r}))),c=(0,o.memo)((0,l.V)(a));c.displayName="RemoveCircleOutlineIcon"},23229:function(e,r,t){t.d(r,{H:function(){return c}});var n=t(43131),o=t(52983),l=t(18308);let i=e=>{let{svgRef:r,title:t,theme:l,...i}=e,a=(0,o.useId)(),c=t?i.titleId||a:void 0,s=!c||void 0;return o.createElement("svg",(0,n.Z)({"aria-hidden":s,"aria-labelledby":c,fill:"currentColor",height:24,ref:r,stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",width:24},i),t?o.createElement("title",{id:c},t):null,o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M18 13H6c-.55 0-1-.45-1-1s.45-1 1-1h12c.55 0 1 .45 1 1s-.45 1-1 1"}))},a=(0,o.forwardRef)((e,r)=>o.createElement(i,(0,n.Z)({},e,{svgRef:r}))),c=(0,o.memo)((0,l.V)(a));c.displayName="RemoveIcon"}}]); \ No newline at end of file diff --git a/_next/static/chunks/7971-c5c400b09470fab3.js b/_next/static/chunks/7971-c5c400b09470fab3.js new file mode 100644 index 000000000..7d70d5712 --- /dev/null +++ b/_next/static/chunks/7971-c5c400b09470fab3.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7971],{35455:function(e,t,n){"use strict";n.d(t,{Kb:function(){return ed},L7:function(){return er}});var r=n(46288),i=n(43131),o=n(7862),u=n.n(o),a=n(52983);n(87101);let s=e=>"object"==typeof e&&null!=e&&1===e.nodeType,c=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,l=(e,t)=>{if(e.clientHeight{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeightot||o>e&&u=t&&a>=n?o-e-r:u>t&&an?u-t+i:0,d=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},p=(e,t)=>{var n,r,i,o;if("undefined"==typeof document)return[];let{scrollMode:u,block:a,inline:c,boundary:p,skipOverflowHiddenElements:h}=t,g="function"==typeof p?p:e=>e!==p;if(!s(e))throw TypeError("Invalid target");let m=document.scrollingElement||document.documentElement,v=[],y=e;for(;s(y)&&g(y);){if((y=d(y))===m){v.push(y);break}null!=y&&y===document.body&&l(y)&&!l(document.documentElement)||null!=y&&l(y,h)&&v.push(y)}let b=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,I=null!=(o=null==(i=window.visualViewport)?void 0:i.height)?o:innerHeight,{scrollX:x,scrollY:w}=window,{height:O,width:k,top:E,right:D,bottom:C,left:M}=e.getBoundingClientRect(),{top:T,right:P,bottom:R,left:V}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),S="start"===a||"nearest"===a?E-T:"end"===a?C+R:E+O/2-T+R,B="center"===c?M+k/2-V+P:"end"===c?D+P:M-V,K=[];for(let e=0;e=0&&M>=0&&C<=I&&D<=b&&E>=i&&C<=s&&M>=l&&D<=o)break;let d=getComputedStyle(t),p=parseInt(d.borderLeftWidth,10),h=parseInt(d.borderTopWidth,10),g=parseInt(d.borderRightWidth,10),y=parseInt(d.borderBottomWidth,10),T=0,P=0,R="offsetWidth"in t?t.offsetWidth-t.clientWidth-p-g:0,V="offsetHeight"in t?t.offsetHeight-t.clientHeight-h-y:0,L="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,A="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(m===t)T="start"===a?S:"end"===a?S-I:"nearest"===a?f(w,w+I,I,h,y,w+S,w+S+O,O):S-I/2,P="start"===c?B:"center"===c?B-b/2:"end"===c?B-b:f(x,x+b,b,p,g,x+B,x+B+k,k),T=Math.max(0,T+w),P=Math.max(0,P+x);else{T="start"===a?S-i-h:"end"===a?S-s+y+V:"nearest"===a?f(i,s,n,h,y+V,S,S+O,O):S-(i+n/2)+V/2,P="start"===c?B-l-p:"center"===c?B-(l+r/2)+R/2:"end"===c?B-o+g+R:f(l,o,r,p,g+R,B,B+k,k);let{scrollLeft:e,scrollTop:u}=t;T=0===A?0:Math.max(0,Math.min(u+T/A,t.scrollHeight-n/A+V)),P=0===L?0:Math.max(0,Math.min(e+P/L,t.scrollWidth-r/L+R)),S+=u-T,B+=e-P}K.push({el:t,top:T,left:P})}return K};var h=function(){return(h=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1?n-1:0),i=1;i=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}function w(e,t,n,r,i){void 0===i&&(i=!1);var o=n.length;if(0===o)return -1;var u=o-1;("number"!=typeof e||e<0||e>u)&&(e=t>0?-1:u+1);var a=e+t;a<0?a=i?u:0:a>u&&(a=i?0:u);var s=O(a,t<0,n,r,i);return -1===s?e>=o?-1:e:s}function O(e,t,n,r,i){void 0===i&&(i=!1);var o=n.length;if(t){for(var u=e;u>=0;u--)if(!r(n[u],u))return u}else for(var a=e;a0&&!u(r[0])?0:-1:o:i}function F(e,t,n){var r=(0,a.useRef)({isMouseDown:!1,isTouchMove:!1,isTouchEnd:!1});return(0,a.useEffect)(function(){if(!e)return g;var i=t.map(function(e){return e.current});function o(){r.current.isTouchEnd=!1,r.current.isMouseDown=!0}function u(t){r.current.isMouseDown=!1,k(t.target,i,e)||n()}function a(){r.current.isTouchEnd=!1,r.current.isTouchMove=!1}function s(){r.current.isTouchMove=!0}function c(t){r.current.isTouchEnd=!0,r.current.isTouchMove||k(t.target,i,e,!1)||n()}return e.addEventListener("mousedown",o),e.addEventListener("mouseup",u),e.addEventListener("touchstart",a),e.addEventListener("touchmove",s),e.addEventListener("touchend",c),function(){e.removeEventListener("mousedown",o),e.removeEventListener("mouseup",u),e.removeEventListener("touchstart",a),e.removeEventListener("touchmove",s),e.removeEventListener("touchend",c)}},[e,n]),r.current}var W=function(){return g};function Z(e,t,n,r){void 0===r&&(r={});var i=r.document,o=N();(0,a.useEffect)(function(){e&&!o&&i&&M(e(t),i)},n),(0,a.useEffect)(function(){return function(){var e;M.cancel(),(e=null==i?void 0:i.getElementById("a11y-status-message"))&&e.remove()}},[i])}function _(e){var t=e.highlightedIndex,n=e.isOpen,r=e.itemRefs,i=e.getItemNodeFromIndex,o=e.menuElement,u=e.scrollIntoView,s=(0,a.useRef)(!0);return T(function(){!(t<0)&&n&&Object.keys(r.current).length&&(!1===s.current?s.current=!0:u(i(t),o))},[t]),s}function q(e,t,n){void 0===n&&(n=!0);var r,o=(null==(r=e.items)?void 0:r.length)&&t>=0;return(0,i.Z)({isOpen:!1,highlightedIndex:-1},o&&(0,i.Z)({selectedItem:e.items[t],isOpen:L(e,"isOpen"),highlightedIndex:L(e,"highlightedIndex")},n&&{inputValue:e.itemToString(e.items[t])}))}function U(e,t){return e.isOpen===t.isOpen&&e.inputValue===t.inputValue&&e.highlightedIndex===t.highlightedIndex&&e.selectedItem===t.selectedItem}function N(){var e=a.useRef(!0);return a.useEffect(function(){return e.current=!1,function(){e.current=!0}},[]),e.current}var $={environment:u().shape({addEventListener:u().func.isRequired,removeEventListener:u().func.isRequired,document:u().shape({createElement:u().func.isRequired,getElementById:u().func.isRequired,activeElement:u().any.isRequired,body:u().any.isRequired}).isRequired,Node:u().func.isRequired}),itemToString:u().func,itemToKey:u().func,stateReducer:u().func},z=(0,i.Z)({},$,{getA11yStatusMessage:u().func,highlightedIndex:u().number,defaultHighlightedIndex:u().number,initialHighlightedIndex:u().number,isOpen:u().bool,defaultIsOpen:u().bool,initialIsOpen:u().bool,selectedItem:u().any,initialSelectedItem:u().any,defaultSelectedItem:u().any,id:u().string,labelId:u().string,menuId:u().string,getItemId:u().func,toggleButtonId:u().string,onSelectedItemChange:u().func,onHighlightedIndexChange:u().func,onStateChange:u().func,onIsOpenChange:u().func,scrollIntoView:u().func});function Y(e,t,n){var r,o=t.type,u=t.props;switch(o){case n.ItemMouseMove:r={highlightedIndex:t.disabled?-1:t.index};break;case n.MenuMouseLeave:r={highlightedIndex:-1};break;case n.ToggleButtonClick:case n.FunctionToggleMenu:r={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:H(u,e,0)};break;case n.FunctionOpenMenu:r={isOpen:!0,highlightedIndex:H(u,e,0)};break;case n.FunctionCloseMenu:r={isOpen:!1};break;case n.FunctionSetHighlightedIndex:r={highlightedIndex:t.highlightedIndex};break;case n.FunctionSetInputValue:r={inputValue:t.inputValue};break;case n.FunctionReset:r={highlightedIndex:L(u,"highlightedIndex"),isOpen:L(u,"isOpen"),selectedItem:L(u,"selectedItem"),inputValue:L(u,"inputValue")};break;default:throw Error("Reducer called without proper action type.")}return(0,i.Z)({},e,r)}h(h({},z),{items:u().array.isRequired,isItemDisabled:u().func});var X=h(h({},K),{isItemDisabled:function(){return!1}}),G=Object.freeze({__proto__:null,ToggleButtonClick:0,ToggleButtonKeyDownArrowDown:1,ToggleButtonKeyDownArrowUp:2,ToggleButtonKeyDownCharacter:3,ToggleButtonKeyDownEscape:4,ToggleButtonKeyDownHome:5,ToggleButtonKeyDownEnd:6,ToggleButtonKeyDownEnter:7,ToggleButtonKeyDownSpaceButton:8,ToggleButtonKeyDownPageUp:9,ToggleButtonKeyDownPageDown:10,ToggleButtonBlur:11,MenuMouseLeave:12,ItemMouseMove:13,ItemClick:14,FunctionToggleMenu:15,FunctionOpenMenu:16,FunctionCloseMenu:17,FunctionSetHighlightedIndex:18,FunctionSelectItem:19,FunctionSetInputValue:20,FunctionReset:21});function J(e,t){var n,r,o=t.type,u=t.props,a=t.altKey;switch(o){case 14:r={isOpen:L(u,"isOpen"),highlightedIndex:L(u,"highlightedIndex"),selectedItem:u.items[t.index]};break;case 3:var s=t.key,c=""+e.inputValue+s,l=function(e){for(var t=e.keysSoFar,n=e.highlightedIndex,r=e.items,i=e.itemToString,o=e.isItemDisabled,u=t.toLowerCase(),a=0;a=0&&(null==(n=u.items)?void 0:n.length)&&{selectedItem:u.items[e.highlightedIndex]});break;case 19:r={selectedItem:t.selectedItem};break;default:return Y(e,t,G)}return(0,i.Z)({},e,r)}var Q=["onClick"],ee=["onMouseLeave","refKey","ref"],et=["onBlur","onClick","onPress","onKeyDown","refKey","ref"],en=["item","index","onMouseMove","onClick","onMouseDown","onPress","refKey","disabled","ref"];function er(e){void 0===e&&(e={});var t,n,o,u,s=(0,i.Z)({},X,e),c=s.scrollIntoView,l=s.environment,f=s.getA11yStatusMessage,d=(o=(n=B(J,t=s,j,U))[0],u=n[1],[I(o,t),u]),p=d[0],h=d[1],g=p.isOpen,m=p.highlightedIndex,w=p.selectedItem,O=p.inputValue,k=(0,a.useRef)(null),E=(0,a.useRef)(null),D=(0,a.useRef)({}),C=(0,a.useRef)(null),M=P(s),T=S({state:p,props:s}),V=(0,a.useCallback)(function(e){return D.current[M.getItemId(e)]},[M]);Z(f,p,[g,m,w,O],l);var K=_({menuElement:E.current,highlightedIndex:m,isOpen:g,itemRefs:D,scrollIntoView:c,getItemNodeFromIndex:V});(0,a.useEffect)(function(){return C.current=v(function(e){e({type:20,inputValue:""})},500),function(){C.current.cancel()}},[]),(0,a.useEffect)(function(){O&&C.current(h)},[h,O]),(0,a.useEffect)(function(){A(s,"isOpen")&&k.current&&k.current.focus()},[]);var L=F(l,[k,E],(0,a.useCallback)(function(){T.current.state.isOpen&&h({type:11})},[h,T])),H=W("getMenuProps","getToggleButtonProps");(0,a.useEffect)(function(){g||(D.current={})},[g]);var q=(0,a.useMemo)(function(){return{ArrowDown:function(e){e.preventDefault(),h({type:1,altKey:e.altKey})},ArrowUp:function(e){e.preventDefault(),h({type:2,altKey:e.altKey})},Home:function(e){e.preventDefault(),h({type:5})},End:function(e){e.preventDefault(),h({type:6})},Escape:function(){T.current.state.isOpen&&h({type:4})},Enter:function(e){e.preventDefault(),h({type:T.current.state.isOpen?7:0})},PageUp:function(e){T.current.state.isOpen&&(e.preventDefault(),h({type:9}))},PageDown:function(e){T.current.state.isOpen&&(e.preventDefault(),h({type:10}))}," ":function(e){e.preventDefault();var t=T.current.state;if(!t.isOpen){h({type:0});return}t.inputValue?h({type:3,key:" "}):h({type:8})}}},[h,T]),N=(0,a.useCallback)(function(){h({type:15})},[h]),$=(0,a.useCallback)(function(){h({type:17})},[h]),z=(0,a.useCallback)(function(){h({type:16})},[h]),Y=(0,a.useCallback)(function(e){h({type:18,highlightedIndex:e})},[h]),G=(0,a.useCallback)(function(e){h({type:19,selectedItem:e})},[h]),er=(0,a.useCallback)(function(){h({type:21})},[h]),ei=(0,a.useCallback)(function(e){h({type:20,inputValue:e})},[h]),eo=(0,a.useCallback)(function(e){var t=void 0===e?{}:e,n=t.onClick,o=(0,r.Z)(t,Q);return(0,i.Z)({id:M.labelId,htmlFor:M.toggleButtonId,onClick:y(n,function(){var e;null==(e=k.current)||e.focus()})},o)},[M]),eu=(0,a.useCallback)(function(e,t){var n,o=void 0===e?{}:e,u=o.onMouseLeave,a=o.refKey,s=void 0===a?"ref":a,c=o.ref,l=(0,r.Z)(o,ee),f=(void 0===t?{}:t).suppressRefError;return H("getMenuProps",void 0!==f&&f,s,E),(0,i.Z)(((n={})[s]=b(c,function(e){E.current=e}),n.id=M.menuId,n.role="listbox",n["aria-labelledby"]=l&&l["aria-label"]?void 0:""+M.labelId,n.onMouseLeave=y(u,function(){h({type:12})}),n),l)},[h,H,M]);return{getToggleButtonProps:(0,a.useCallback)(function(e,t){var n,o=void 0===e?{}:e,u=o.onBlur,a=o.onClick;o.onPress;var s=o.onKeyDown,c=o.refKey,l=void 0===c?"ref":c,f=o.ref,d=(0,r.Z)(o,et),p=(void 0===t?{}:t).suppressRefError,g=T.current.state,m=(0,i.Z)(((n={})[l]=b(f,function(e){k.current=e}),n["aria-activedescendant"]=g.isOpen&&g.highlightedIndex>-1?M.getItemId(g.highlightedIndex):"",n["aria-controls"]=M.menuId,n["aria-expanded"]=T.current.state.isOpen,n["aria-haspopup"]="listbox",n["aria-labelledby"]=d&&d["aria-label"]?void 0:""+M.labelId,n.id=M.toggleButtonId,n.role="combobox",n.tabIndex=0,n.onBlur=y(u,function(){g.isOpen&&!L.isMouseDown&&h({type:11})}),n),d);return d.disabled||(m.onClick=y(a,function(){h({type:0})}),m.onKeyDown=y(s,function(e){var t=x(e);t&&q[t]?q[t](e):/^\S{1}$/.test(t)&&h({type:3,key:t})})),H("getToggleButtonProps",void 0!==p&&p,l,k),m},[h,M,T,L,H,q]),getLabelProps:eo,getMenuProps:eu,getItemProps:(0,a.useCallback)(function(e){var t,n=void 0===e?{}:e,o=n.item,u=n.index,a=n.onMouseMove,s=n.onClick,c=n.onMouseDown;n.onPress;var l=n.refKey,f=n.disabled,d=n.ref,p=(0,r.Z)(n,en);void 0!==f&&console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useSelect.');var g=T.current,m=g.state,v=g.props,I=R(o,u,v.items,"Pass either item or index to getItemProps!"),x=I[0],w=I[1],O=v.isItemDisabled(x,w),k=(0,i.Z)(((t={})[void 0===l?"ref":l]=b(d,function(e){e&&(D.current[M.getItemId(w)]=e)}),t["aria-disabled"]=O,t["aria-selected"]=""+(x===m.selectedItem),t.id=M.getItemId(w),t.role="option",t),p);return O||(k.onClick=y(s,function(){h({type:14,index:w})})),k.onMouseMove=y(a,function(){L.isTouchEnd||w===m.highlightedIndex||(K.current=!1,h({type:13,index:w,disabled:O}))}),k.onMouseDown=y(c,function(e){return e.preventDefault()}),k},[T,M,L,K,h]),toggleMenu:N,openMenu:z,closeMenu:$,setHighlightedIndex:Y,selectItem:G,reset:er,setInputValue:ei,highlightedIndex:m,isOpen:g,selectedItem:w,inputValue:O}}er.stateChangeTypes=G;var ei=Object.freeze({__proto__:null,InputKeyDownArrowDown:0,InputKeyDownArrowUp:1,InputKeyDownEscape:2,InputKeyDownHome:3,InputKeyDownEnd:4,InputKeyDownPageUp:5,InputKeyDownPageDown:6,InputKeyDownEnter:7,InputChange:8,InputBlur:9,InputClick:10,MenuMouseLeave:11,ItemMouseMove:12,ItemClick:13,ToggleButtonClick:14,FunctionToggleMenu:15,FunctionOpenMenu:16,FunctionCloseMenu:17,FunctionSetHighlightedIndex:18,FunctionSelectItem:19,FunctionSetInputValue:20,FunctionReset:21,ControlledPropUpdatedSelectedItem:22});function eo(e){var t=j(e),n=t.selectedItem,r=t.inputValue;return""===r&&n&&void 0===e.defaultInputValue&&void 0===e.initialInputValue&&void 0===e.inputValue&&(r=e.itemToString(n)),(0,i.Z)({},t,{inputValue:r})}(0,i.Z)({},z,{items:u().array.isRequired,isItemDisabled:u().func,inputValue:u().string,defaultInputValue:u().string,initialInputValue:u().string,inputId:u().string,onInputValueChange:u().func});var eu=(0,i.Z)({},K,{isItemDisabled:function(){return!1}});function ea(e,t){var n,r,o=t.type,u=t.props,a=t.altKey;switch(o){case 13:r={isOpen:L(u,"isOpen"),highlightedIndex:L(u,"highlightedIndex"),selectedItem:u.items[t.index],inputValue:u.itemToString(u.items[t.index])};break;case 0:r=e.isOpen?{highlightedIndex:w(e.highlightedIndex,1,u.items,u.isItemDisabled,!0)}:{highlightedIndex:a&&null==e.selectedItem?-1:H(u,e,1),isOpen:u.items.length>=0};break;case 1:r=e.isOpen?a?q(u,e.highlightedIndex):{highlightedIndex:w(e.highlightedIndex,-1,u.items,u.isItemDisabled,!0)}:{highlightedIndex:H(u,e,-1),isOpen:u.items.length>=0};break;case 7:r=q(u,e.highlightedIndex);break;case 2:r=(0,i.Z)({isOpen:!1,highlightedIndex:-1},!e.isOpen&&{selectedItem:null,inputValue:""});break;case 5:r={highlightedIndex:w(e.highlightedIndex,-10,u.items,u.isItemDisabled,!0)};break;case 6:r={highlightedIndex:w(e.highlightedIndex,10,u.items,u.isItemDisabled,!0)};break;case 3:r={highlightedIndex:O(0,!1,u.items,u.isItemDisabled)};break;case 4:r={highlightedIndex:O(u.items.length-1,!0,u.items,u.isItemDisabled)};break;case 9:r=(0,i.Z)({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&(null==(n=u.items)?void 0:n.length)&&t.selectItem&&{selectedItem:u.items[e.highlightedIndex],inputValue:u.itemToString(u.items[e.highlightedIndex])});break;case 8:r={isOpen:!0,highlightedIndex:L(u,"highlightedIndex"),inputValue:t.inputValue};break;case 10:r={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:H(u,e,0)};break;case 19:r={selectedItem:t.selectedItem,inputValue:u.itemToString(t.selectedItem)};break;case 22:r={inputValue:t.inputValue};break;default:return Y(e,t,ei)}return(0,i.Z)({},e,r)}var es=["onMouseLeave","refKey","ref"],ec=["item","index","refKey","ref","onMouseMove","onMouseDown","onClick","onPress","disabled"],el=["onClick","onPress","refKey","ref"],ef=["onKeyDown","onChange","onInput","onBlur","onChangeText","onClick","refKey","ref"];function ed(e){void 0===e&&(e={});var t,n,o,u,s,c=(0,i.Z)({},eu,e),l=c.items,f=c.scrollIntoView,d=c.environment,p=c.getA11yStatusMessage,h=(t=(0,a.useRef)(),o=(n=B(ea,c,eo,U))[0],u=n[1],s=N(),(0,a.useEffect)(function(){void 0!==c.selectedItem&&(s||c.itemToKey(c.selectedItem)===c.itemToKey(t.current)||u({type:22,inputValue:c.itemToString(c.selectedItem)}),t.current=o.selectedItem===t.current?c.selectedItem:o.selectedItem)},[o.selectedItem,c.selectedItem]),[I(o,c),u]),g=h[0],m=h[1],v=g.isOpen,w=g.highlightedIndex,O=g.selectedItem,k=g.inputValue,E=(0,a.useRef)(null),D=(0,a.useRef)({}),C=(0,a.useRef)(null),M=(0,a.useRef)(null),T=N(),V=P(c),K=(0,a.useRef)(),L=S({state:g,props:c}),j=(0,a.useCallback)(function(e){return D.current[V.getItemId(e)]},[V]);Z(p,g,[v,w,O,k],d);var H=_({menuElement:E.current,highlightedIndex:w,isOpen:v,itemRefs:D,scrollIntoView:f,getItemNodeFromIndex:j});(0,a.useEffect)(function(){A(c,"isOpen")&&C.current&&C.current.focus()},[]),(0,a.useEffect)(function(){T||(K.current=l.length)});var q=F(d,[M,E,C],(0,a.useCallback)(function(){L.current.state.isOpen&&m({type:9,selectItem:!1})},[m,L])),$=W("getInputProps","getMenuProps");(0,a.useEffect)(function(){v||(D.current={})},[v]),(0,a.useEffect)(function(){var e;v&&null!=d&&d.document&&null!=C&&null!=(e=C.current)&&e.focus&&d.document.activeElement!==C.current&&C.current.focus()},[v,d]);var z=(0,a.useMemo)(function(){return{ArrowDown:function(e){e.preventDefault(),m({type:0,altKey:e.altKey})},ArrowUp:function(e){e.preventDefault(),m({type:1,altKey:e.altKey})},Home:function(e){L.current.state.isOpen&&(e.preventDefault(),m({type:3}))},End:function(e){L.current.state.isOpen&&(e.preventDefault(),m({type:4}))},Escape:function(e){var t=L.current.state;(t.isOpen||t.inputValue||t.selectedItem||t.highlightedIndex>-1)&&(e.preventDefault(),m({type:2}))},Enter:function(e){L.current.state.isOpen&&229!==e.which&&(e.preventDefault(),m({type:7}))},PageUp:function(e){L.current.state.isOpen&&(e.preventDefault(),m({type:5}))},PageDown:function(e){L.current.state.isOpen&&(e.preventDefault(),m({type:6}))}}},[m,L]),Y=(0,a.useCallback)(function(e){return(0,i.Z)({id:V.labelId,htmlFor:V.inputId},e)},[V]),X=(0,a.useCallback)(function(e,t){var n,o=void 0===e?{}:e,u=o.onMouseLeave,a=o.refKey,s=void 0===a?"ref":a,c=o.ref,l=(0,r.Z)(o,es),f=(void 0===t?{}:t).suppressRefError;return $("getMenuProps",void 0!==f&&f,s,E),(0,i.Z)(((n={})[s]=b(c,function(e){E.current=e}),n.id=V.menuId,n.role="listbox",n["aria-labelledby"]=l&&l["aria-label"]?void 0:""+V.labelId,n.onMouseLeave=y(u,function(){m({type:11})}),n),l)},[m,$,V]),G=(0,a.useCallback)(function(e){var t,n,o=void 0===e?{}:e,u=o.item,a=o.index,s=o.refKey,c=o.ref,l=o.onMouseMove,f=o.onMouseDown,d=o.onClick;o.onPress;var p=o.disabled,h=(0,r.Z)(o,ec);void 0!==p&&console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useCombobox.');var g=L.current,v=g.props,I=g.state,x=R(u,a,v.items,"Pass either item or index to getItemProps!"),w=x[0],O=x[1],k=v.isItemDisabled(w,O);return(0,i.Z)(((t={})[void 0===s?"ref":s]=b(c,function(e){e&&(D.current[V.getItemId(O)]=e)}),t["aria-disabled"]=k,t["aria-selected"]=""+(O===I.highlightedIndex),t.id=V.getItemId(O),t.role="option",t),!k&&((n={}).onClick=y(d,function(){m({type:13,index:O})}),n),{onMouseMove:y(l,function(){q.isTouchEnd||O===I.highlightedIndex||(H.current=!1,m({type:12,index:O,disabled:k}))}),onMouseDown:y(f,function(e){return e.preventDefault()})},h)},[m,V,L,q,H]),J=(0,a.useCallback)(function(e){var t,n=void 0===e?{}:e,o=n.onClick;n.onPress;var u=n.refKey,a=n.ref,s=(0,r.Z)(n,el),c=L.current.state;return(0,i.Z)(((t={})[void 0===u?"ref":u]=b(a,function(e){M.current=e}),t["aria-controls"]=V.menuId,t["aria-expanded"]=c.isOpen,t.id=V.toggleButtonId,t.tabIndex=-1,t),!s.disabled&&(0,i.Z)({},{onClick:y(o,function(){m({type:14})})}),s)},[m,L,V]),Q=(0,a.useCallback)(function(e,t){var n,o,u=void 0===e?{}:e,a=u.onKeyDown,s=u.onChange,c=u.onInput,l=u.onBlur;u.onChangeText;var f=u.onClick,p=u.refKey,h=void 0===p?"ref":p,g=u.ref,v=(0,r.Z)(u,ef),I=(void 0===t?{}:t).suppressRefError;$("getInputProps",void 0!==I&&I,h,C);var w=L.current.state,O={};return v.disabled||((o={}).onChange=y(s,c,function(e){m({type:8,inputValue:e.target.value})}),o.onKeyDown=y(a,function(e){var t=x(e);t&&z[t]&&z[t](e)}),o.onBlur=y(l,function(e){null!=d&&d.document&&w.isOpen&&!q.isMouseDown&&m({type:9,selectItem:!(null===e.relatedTarget&&d.document.activeElement!==d.document.body)})}),o.onClick=y(f,function(){m({type:10})}),O=o),(0,i.Z)(((n={})[h]=b(g,function(e){C.current=e}),n["aria-activedescendant"]=w.isOpen&&w.highlightedIndex>-1?V.getItemId(w.highlightedIndex):"",n["aria-autocomplete"]="list",n["aria-controls"]=V.menuId,n["aria-expanded"]=w.isOpen,n["aria-labelledby"]=v&&v["aria-label"]?void 0:V.labelId,n.autoComplete="off",n.id=V.inputId,n.role="combobox",n.value=w.inputValue,n),O,v)},[m,V,d,z,L,q,$]),ee=(0,a.useCallback)(function(){m({type:15})},[m]),et=(0,a.useCallback)(function(){m({type:17})},[m]),en=(0,a.useCallback)(function(){m({type:16})},[m]),er=(0,a.useCallback)(function(e){m({type:18,highlightedIndex:e})},[m]),ei=(0,a.useCallback)(function(e){m({type:19,selectedItem:e})},[m]);return{getItemProps:G,getLabelProps:Y,getMenuProps:X,getInputProps:Q,getToggleButtonProps:J,toggleMenu:ee,openMenu:en,closeMenu:et,setHighlightedIndex:er,setInputValue:(0,a.useCallback)(function(e){m({type:20,inputValue:e})},[m]),selectItem:ei,reset:(0,a.useCallback)(function(){m({type:21})},[m]),highlightedIndex:w,isOpen:v,selectedItem:O,inputValue:k}}ed.stateChangeTypes=ei;var ep={activeIndex:-1,selectedItems:[]};$.stateReducer,$.itemToKey,$.environment,u().array,u().array,u().array,u().func,u().number,u().number,u().number,u().func,u().func,u().string,u().string,K.itemToKey,K.stateReducer,K.environment},31772:function(e,t,n){"use strict";var r=n(25148);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,u){if(u!==r){var a=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},7862:function(e,t,n){e.exports=n(31772)()},25148:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},48555:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,o){try{return function e(o,u){if(o===u)return!0;if(o&&u&&"object"==typeof o&&"object"==typeof u){var a,s,c,l;if(o.constructor!==u.constructor)return!1;if(Array.isArray(o)){if((a=o.length)!=u.length)return!1;for(s=a;0!=s--;)if(!e(o[s],u[s]))return!1;return!0}if(n&&o instanceof Map&&u instanceof Map){if(o.size!==u.size)return!1;for(l=o.entries();!(s=l.next()).done;)if(!u.has(s.value[0]))return!1;for(l=o.entries();!(s=l.next()).done;)if(!e(s.value[1],u.get(s.value[0])))return!1;return!0}if(r&&o instanceof Set&&u instanceof Set){if(o.size!==u.size)return!1;for(l=o.entries();!(s=l.next()).done;)if(!u.has(s.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(o)&&ArrayBuffer.isView(u)){if((a=o.length)!=u.length)return!1;for(s=a;0!=s--;)if(o[s]!==u[s])return!1;return!0}if(o.constructor===RegExp)return o.source===u.source&&o.flags===u.flags;if(o.valueOf!==Object.prototype.valueOf)return o.valueOf()===u.valueOf();if(o.toString!==Object.prototype.toString)return o.toString()===u.toString();if((a=(c=Object.keys(o)).length)!==Object.keys(u).length)return!1;for(s=a;0!=s--;)if(!Object.prototype.hasOwnProperty.call(u,c[s]))return!1;if(t&&o instanceof Element)return!1;for(s=a;0!=s--;)if(("_owner"!==c[s]&&"__v"!==c[s]&&"__o"!==c[s]||!o.$$typeof)&&!e(o[c[s]],u[c[s]]))return!1;return!0}return o!=o&&u!=u}(e,o)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},78679:function(e,t,n){"use strict";n.d(t,{C8:function(){return i},dK:function(){return u},mq:function(){return o}});var r=n(52983),i=r.createContext(),o=r.createContext();function u(e){var t=e.children,n=r.useState(null),u=n[0],a=n[1],s=r.useRef(!1);r.useEffect(function(){return function(){s.current=!0}},[]);var c=r.useCallback(function(e){s.current||a(e)},[]);return r.createElement(i.Provider,{value:u},r.createElement(o.Provider,{value:c},t))}},18024:function(e,t,n){"use strict";n.d(t,{r:function(){return l}});var r=n(52983),i=n(78679),o=n(69640),u=n(93041),a=function(){},s=function(){return Promise.resolve(null)},c=[];function l(e){var t=e.placement,n=void 0===t?"bottom":t,l=e.strategy,f=void 0===l?"absolute":l,d=e.modifiers,p=void 0===d?c:d,h=e.referenceElement,g=e.onFirstUpdate,m=e.innerRef,v=e.children,y=r.useContext(i.C8),b=r.useState(null),I=b[0],x=b[1],w=r.useState(null),O=w[0],k=w[1];r.useEffect(function(){(0,o.k$)(m,I)},[m,I]);var E=r.useMemo(function(){return{placement:n,strategy:f,onFirstUpdate:g,modifiers:[].concat(p,[{name:"arrow",enabled:null!=O,options:{element:O}}])}},[n,f,g,p,O]),D=(0,u.D)(h||y,I,E),C=D.state,M=D.styles,T=D.forceUpdate,P=D.update,R=r.useMemo(function(){return{ref:x,style:M.popper,placement:C?C.placement:n,hasPopperEscaped:C&&C.modifiersData.hide?C.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:C&&C.modifiersData.hide?C.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:M.arrow,ref:k},forceUpdate:T||a,update:P||s}},[x,k,n,C,M,P,T]);return(0,o.$p)(v)(R)}},40925:function(e,t,n){"use strict";n.d(t,{s:function(){return s}});var r=n(52983),i=n(62118),o=n.n(i),u=n(78679),a=n(69640);function s(e){var t=e.children,n=e.innerRef,i=r.useContext(u.mq),s=r.useCallback(function(e){(0,a.k$)(n,e),(0,a.DL)(i,e)},[n,i]);return r.useEffect(function(){return function(){return(0,a.k$)(n,null)}},[]),r.useEffect(function(){o()(!!i,"`Reference` should not be used outside of a `Manager` component.")},[i]),(0,a.$p)(t)({ref:s})}},93041:function(e,t,n){"use strict";n.d(t,{D:function(){return em}});var r,i,o,u,a,s=n(52983),c=n(63730);function l(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function f(e){var t=l(e).Element;return e instanceof t||e instanceof Element}function d(e){var t=l(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function p(e){if("undefined"==typeof ShadowRoot)return!1;var t=l(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var h=Math.max,g=Math.min,m=Math.round;function v(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function y(){return!/^((?!chrome|android).)*safari/i.test(v())}function b(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&d(e)&&(i=e.offsetWidth>0&&m(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&m(r.height)/e.offsetHeight||1);var u=(f(e)?l(e):window).visualViewport,a=!y()&&n,s=(r.left+(a&&u?u.offsetLeft:0))/i,c=(r.top+(a&&u?u.offsetTop:0))/o,p=r.width/i,h=r.height/o;return{width:p,height:h,top:c,right:s+p,bottom:c+h,left:s,x:s,y:c}}function I(e){var t=l(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function x(e){return e?(e.nodeName||"").toLowerCase():null}function w(e){return((f(e)?e.ownerDocument:e.document)||window.document).documentElement}function O(e){return b(w(e)).left+I(e).scrollLeft}function k(e){return l(e).getComputedStyle(e)}function E(e){var t=k(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function D(e){var t=b(e),n=e.offsetWidth,r=e.offsetHeight;return 1>=Math.abs(t.width-n)&&(n=t.width),1>=Math.abs(t.height-r)&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function C(e){return"html"===x(e)?e:e.assignedSlot||e.parentNode||(p(e)?e.host:null)||w(e)}function M(e,t){void 0===t&&(t=[]);var n,r=function e(t){return["html","body","#document"].indexOf(x(t))>=0?t.ownerDocument.body:d(t)&&E(t)?t:e(C(t))}(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=l(r),u=i?[o].concat(o.visualViewport||[],E(r)?r:[]):r,a=t.concat(u);return i?a:a.concat(M(C(u)))}function T(e){return d(e)&&"fixed"!==k(e).position?e.offsetParent:null}function P(e){for(var t=l(e),n=T(e);n&&["table","td","th"].indexOf(x(n))>=0&&"static"===k(n).position;)n=T(n);return n&&("html"===x(n)||"body"===x(n)&&"static"===k(n).position)?t:n||function(e){var t=/firefox/i.test(v());if(/Trident/i.test(v())&&d(e)&&"fixed"===k(e).position)return null;var n=C(e);for(p(n)&&(n=n.host);d(n)&&0>["html","body"].indexOf(x(n));){var r=k(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var R="bottom",V="right",S="left",B="auto",K=["top",R,V,S],L="start",A="viewport",j="popper",H=K.reduce(function(e,t){return e.concat([t+"-"+L,t+"-end"])},[]),F=[].concat(K,[B]).reduce(function(e,t){return e.concat([t,t+"-"+L,t+"-end"])},[]),W=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],Z={placement:"bottom",modifiers:[],strategy:"absolute"};function _(){for(var e=arguments.length,t=Array(e),n=0;n=0?"x":"y"}function z(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?U(i):null,u=i?N(i):null,a=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(o){case"top":t={x:a,y:n.y-r.height};break;case R:t={x:a,y:n.y+n.height};break;case V:t={x:n.x+n.width,y:s};break;case S:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=o?$(o):null;if(null!=c){var l="y"===c?"height":"width";switch(u){case L:t[c]=t[c]-(n[l]/2-r[l]/2);break;case"end":t[c]=t[c]+(n[l]/2-r[l]/2)}}return t}var Y={top:"auto",right:"auto",bottom:"auto",left:"auto"};function X(e){var t,n,r,i,o,u,a,s=e.popper,c=e.popperRect,f=e.placement,d=e.variation,p=e.offsets,h=e.position,g=e.gpuAcceleration,v=e.adaptive,y=e.roundOffsets,b=e.isFixed,I=p.x,x=void 0===I?0:I,O=p.y,E=void 0===O?0:O,D="function"==typeof y?y({x:x,y:E}):{x:x,y:E};x=D.x,E=D.y;var C=p.hasOwnProperty("x"),M=p.hasOwnProperty("y"),T=S,B="top",K=window;if(v){var L=P(s),A="clientHeight",j="clientWidth";L===l(s)&&"static"!==k(L=w(s)).position&&"absolute"===h&&(A="scrollHeight",j="scrollWidth"),("top"===f||(f===S||f===V)&&"end"===d)&&(B=R,E-=(b&&L===K&&K.visualViewport?K.visualViewport.height:L[A])-c.height,E*=g?1:-1),(f===S||("top"===f||f===R)&&"end"===d)&&(T=V,x-=(b&&L===K&&K.visualViewport?K.visualViewport.width:L[j])-c.width,x*=g?1:-1)}var H=Object.assign({position:h},v&&Y),F=!0===y?(t={x:x,y:E},n=l(s),r=t.x,i=t.y,{x:m(r*(o=n.devicePixelRatio||1))/o||0,y:m(i*o)/o||0}):{x:x,y:E};return(x=F.x,E=F.y,g)?Object.assign({},H,((a={})[B]=M?"0":"",a[T]=C?"0":"",a.transform=1>=(K.devicePixelRatio||1)?"translate("+x+"px, "+E+"px)":"translate3d("+x+"px, "+E+"px, 0)",a)):Object.assign({},H,((u={})[B]=M?E+"px":"",u[T]=C?x+"px":"",u.transform="",u))}var G={left:"right",right:"left",bottom:"top",top:"bottom"};function J(e){return e.replace(/left|right|bottom|top/g,function(e){return G[e]})}var Q={start:"end",end:"start"};function ee(e){return e.replace(/start|end/g,function(e){return Q[e]})}function et(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&p(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function en(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function er(e,t,n){var r,i,o,u,a,s,c,d,p,g;return t===A?en(function(e,t){var n=l(e),r=w(e),i=n.visualViewport,o=r.clientWidth,u=r.clientHeight,a=0,s=0;if(i){o=i.width,u=i.height;var c=y();(c||!c&&"fixed"===t)&&(a=i.offsetLeft,s=i.offsetTop)}return{width:o,height:u,x:a+O(e),y:s}}(e,n)):f(t)?((r=b(t,!1,"fixed"===n)).top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r):en((i=w(e),u=w(i),a=I(i),s=null==(o=i.ownerDocument)?void 0:o.body,c=h(u.scrollWidth,u.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),d=h(u.scrollHeight,u.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),p=-a.scrollLeft+O(i),g=-a.scrollTop,"rtl"===k(s||u).direction&&(p+=h(u.clientWidth,s?s.clientWidth:0)-c),{width:c,height:d,x:p,y:g}))}function ei(){return{top:0,right:0,bottom:0,left:0}}function eo(e){return Object.assign({},ei(),e)}function eu(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function ea(e,t){void 0===t&&(t={});var n,r,i,o,u,a,s,c,l=t,p=l.placement,m=void 0===p?e.placement:p,v=l.strategy,y=void 0===v?e.strategy:v,I=l.boundary,O=l.rootBoundary,E=l.elementContext,D=void 0===E?j:E,T=l.altBoundary,S=l.padding,B=void 0===S?0:S,L=eo("number"!=typeof B?B:eu(B,K)),H=e.rects.popper,F=e.elements[void 0!==T&&T?D===j?"reference":j:D],W=(n=f(F)?F:F.contextElement||w(e.elements.popper),r=void 0===I?"clippingParents":I,i=void 0===O?A:O,s=(a=[].concat("clippingParents"===r?(o=M(C(n)),f(u=["absolute","fixed"].indexOf(k(n).position)>=0&&d(n)?P(n):n)?o.filter(function(e){return f(e)&&et(e,u)&&"body"!==x(e)}):[]):[].concat(r),[i]))[0],(c=a.reduce(function(e,t){var r=er(n,t,y);return e.top=h(r.top,e.top),e.right=g(r.right,e.right),e.bottom=g(r.bottom,e.bottom),e.left=h(r.left,e.left),e},er(n,s,y))).width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c),Z=b(e.elements.reference),_=z({reference:Z,element:H,strategy:"absolute",placement:m}),q=en(Object.assign({},H,_)),U=D===j?q:Z,N={top:W.top-U.top+L.top,bottom:U.bottom-W.bottom+L.bottom,left:W.left-U.left+L.left,right:U.right-W.right+L.right},$=e.modifiersData.offset;if(D===j&&$){var Y=$[m];Object.keys(N).forEach(function(e){var t=[V,R].indexOf(e)>=0?1:-1,n=["top",R].indexOf(e)>=0?"y":"x";N[e]+=Y[n]*t})}return N}function es(e,t,n){return h(e,g(t,n))}function ec(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function el(e){return["top",V,R,S].some(function(t){return e[t]>=0})}var ef=(o=void 0===(i=(r={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=void 0===i||i,u=r.resize,a=void 0===u||u,s=l(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(e){e.addEventListener("scroll",n.update,q)}),a&&s.addEventListener("resize",n.update,q),function(){o&&c.forEach(function(e){e.removeEventListener("scroll",n.update,q)}),a&&s.removeEventListener("resize",n.update,q)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=z({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=n.adaptive,o=n.roundOffsets,u=void 0===o||o,a={placement:U(t.placement),variation:N(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===r||r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,X(Object.assign({},a,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===i||i,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,X(Object.assign({},a,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];d(i)&&x(i)&&(Object.assign(i.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],i=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});d(r)&&x(r)&&(Object.assign(r.style,o),Object.keys(i).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=void 0===i?[0,0]:i,u=F.reduce(function(e,n){var r,i,u,a,s,c;return e[n]=(r=t.rects,u=[S,"top"].indexOf(i=U(n))>=0?-1:1,s=(a="function"==typeof o?o(Object.assign({},r,{placement:n})):o)[0],c=a[1],s=s||0,c=(c||0)*u,[S,V].indexOf(i)>=0?{x:c,y:s}:{x:s,y:c}),e},{}),a=u[t.placement],s=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=u}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,u=n.altAxis,a=void 0===u||u,s=n.fallbackPlacements,c=n.padding,l=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=void 0===p||p,g=n.allowedAutoPlacements,m=t.options.placement,v=U(m)===m,y=s||(v||!h?[J(m)]:function(e){if(U(e)===B)return[];var t=J(e);return[ee(e),t,ee(t)]}(m)),b=[m].concat(y).reduce(function(e,n){var r,i,o,u,a,s,d,p,m,v,y,b;return e.concat(U(n)===B?(i=(r={placement:n,boundary:l,rootBoundary:f,padding:c,flipVariations:h,allowedAutoPlacements:g}).placement,o=r.boundary,u=r.rootBoundary,a=r.padding,s=r.flipVariations,p=void 0===(d=r.allowedAutoPlacements)?F:d,0===(y=(v=(m=N(i))?s?H:H.filter(function(e){return N(e)===m}):K).filter(function(e){return p.indexOf(e)>=0})).length&&(y=v),Object.keys(b=y.reduce(function(e,n){return e[n]=ea(t,{placement:n,boundary:o,rootBoundary:u,padding:a})[U(n)],e},{})).sort(function(e,t){return b[e]-b[t]})):n)},[]),I=t.rects.reference,x=t.rects.popper,w=new Map,O=!0,k=b[0],E=0;E=0,P=T?"width":"height",A=ea(t,{placement:D,boundary:l,rootBoundary:f,altBoundary:d,padding:c}),j=T?M?V:S:M?R:"top";I[P]>x[P]&&(j=J(j));var W=J(j),Z=[];if(o&&Z.push(A[C]<=0),a&&Z.push(A[j]<=0,A[W]<=0),Z.every(function(e){return e})){k=D,O=!1;break}w.set(D,Z)}if(O)for(var _=h?3:1,q=function(e){var t=b.find(function(t){var n=w.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return k=t,"break"},$=_;$>0&&"break"!==q($);$--);t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=n.altAxis,u=n.boundary,a=n.rootBoundary,s=n.altBoundary,c=n.padding,l=n.tether,f=void 0===l||l,d=n.tetherOffset,p=void 0===d?0:d,m=ea(t,{boundary:u,rootBoundary:a,padding:c,altBoundary:s}),v=U(t.placement),y=N(t.placement),b=!y,I=$(v),x="x"===I?"y":"x",w=t.modifiersData.popperOffsets,O=t.rects.reference,k=t.rects.popper,E="function"==typeof p?p(Object.assign({},t.rects,{placement:t.placement})):p,C="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(w){if(void 0===i||i){var B,K="y"===I?"top":S,A="y"===I?R:V,j="y"===I?"height":"width",H=w[I],F=H+m[K],W=H-m[A],Z=f?-k[j]/2:0,_=y===L?O[j]:k[j],q=y===L?-k[j]:-O[j],z=t.elements.arrow,Y=f&&z?D(z):{width:0,height:0},X=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ei(),G=X[K],J=X[A],Q=es(0,O[j],Y[j]),ee=b?O[j]/2-Z-Q-G-C.mainAxis:_-Q-G-C.mainAxis,et=b?-O[j]/2+Z+Q+J+C.mainAxis:q+Q+J+C.mainAxis,en=t.elements.arrow&&P(t.elements.arrow),er=en?"y"===I?en.clientTop||0:en.clientLeft||0:0,eo=null!=(B=null==M?void 0:M[I])?B:0,eu=es(f?g(F,H+ee-eo-er):F,H,f?h(W,H+et-eo):W);w[I]=eu,T[I]=eu-H}if(void 0!==o&&o){var ec,el,ef="x"===I?"top":S,ed="x"===I?R:V,ep=w[x],eh="y"===x?"height":"width",eg=ep+m[ef],em=ep-m[ed],ev=-1!==["top",S].indexOf(v),ey=null!=(el=null==M?void 0:M[x])?el:0,eb=ev?eg:ep-O[eh]-k[eh]-ey+C.altAxis,eI=ev?ep+O[eh]+k[eh]-ey-C.altAxis:em,ex=f&&ev?(ec=es(eb,ep,eI))>eI?eI:ec:es(f?eb:eg,ep,f?eI:em);w[x]=ex,T[x]=ex-ep}t.modifiersData[r]=T}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n,r=e.state,i=e.name,o=e.options,u=r.elements.arrow,a=r.modifiersData.popperOffsets,s=U(r.placement),c=$(s),l=[S,V].indexOf(s)>=0?"height":"width";if(u&&a){var f=eo("number"!=typeof(t="function"==typeof(t=o.padding)?t(Object.assign({},r.rects,{placement:r.placement})):t)?t:eu(t,K)),d=D(u),p="y"===c?"top":S,h="y"===c?R:V,g=r.rects.reference[l]+r.rects.reference[c]-a[c]-r.rects.popper[l],m=a[c]-r.rects.reference[c],v=P(u),y=v?"y"===c?v.clientHeight||0:v.clientWidth||0:0,b=f[p],I=y-d[l]-f[h],x=y/2-d[l]/2+(g/2-m/2),w=es(b,x,I);r.modifiersData[i]=((n={})[c]=w,n.centerOffset=w-x,n)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&et(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,u=ea(t,{elementContext:"reference"}),a=ea(t,{altBoundary:!0}),s=ec(u,r),c=ec(a,i,o),l=el(s),f=el(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}).defaultModifiers)?[]:i,a=void 0===(u=r.defaultOptions)?Z:u,function(e,t,n){void 0===n&&(n=a);var r,i,u={placement:"bottom",orderedModifiers:[],options:Object.assign({},Z,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],c=!1,p={state:u,setOptions:function(n){var r,i,c,l,d,g="function"==typeof n?n(u.options):n;h(),u.options=Object.assign({},a,u.options,g),u.scrollParents={reference:f(e)?M(e):e.contextElement?M(e.contextElement):[],popper:M(t)};var m=(i=Object.keys(r=[].concat(o,u.options.modifiers).reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{})).map(function(e){return r[e]}),c=new Map,l=new Set,d=[],i.forEach(function(e){c.set(e.name,e)}),i.forEach(function(e){l.has(e.name)||function e(t){l.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!l.has(t)){var n=c.get(t);n&&e(n)}}),d.push(t)}(e)}),W.reduce(function(e,t){return e.concat(d.filter(function(e){return e.phase===t}))},[]));return u.orderedModifiers=m.filter(function(e){return e.enabled}),u.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=e.effect;if("function"==typeof r){var i=r({state:u,name:t,instance:p,options:void 0===n?{}:n});s.push(i||function(){})}}),p.update()},forceUpdate:function(){if(!c){var e,t,n,r,i,o,a,s,f,h,g,v,y=u.elements,k=y.reference,C=y.popper;if(_(k,C)){u.rects={reference:(t=P(C),n="fixed"===u.options.strategy,r=d(t),s=d(t)&&(o=m((i=t.getBoundingClientRect()).width)/t.offsetWidth||1,a=m(i.height)/t.offsetHeight||1,1!==o||1!==a),f=w(t),h=b(k,s,n),g={scrollLeft:0,scrollTop:0},v={x:0,y:0},(r||!r&&!n)&&(("body"!==x(t)||E(f))&&(g=(e=t)!==l(e)&&d(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:I(e)),d(t)?(v=b(t,!0),v.x+=t.clientLeft,v.y+=t.clientTop):f&&(v.x=O(f))),{x:h.left+g.scrollLeft-v.x,y:h.top+g.scrollTop-v.y,width:h.width,height:h.height}),popper:D(C)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(e){return u.modifiersData[e.name]=Object.assign({},e.data)});for(var M=0;M1?t-1:0),r=1;r=0||(i[n]=e[n]);return i}n.d(t,{Z:function(){return r}})}}]); \ No newline at end of file diff --git a/_next/static/chunks/d3e115d4-320ac34c966d3fd3.js b/_next/static/chunks/d3e115d4-320ac34c966d3fd3.js new file mode 100644 index 000000000..45f31d7f1 --- /dev/null +++ b/_next/static/chunks/d3e115d4-320ac34c966d3fd3.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1814],{74971:function(e,t){var r,a;r=this,a=function(e){"use strict";var t,r,a,n,s,i,o,u,d,c,l,p,D,f,g,m,y,h,b,v,C,R,x,F,E,j,w,S,T,A,P,k,B,_,I,O,N,M,L,U,W,q,G,V,H,K,z,Y,X,J,$,Q,Z,ee,et,er,ea,en,es,ei,eo,eu,ed,ec,el,ep,eD,ef,eg,em,ey,eh,eb,ev,eC,eR,ex,eF,eE,ej,ew,eS,eT,eA,eP,ek,eB,e_,eI,eO,eN,eM,eL,eU,eW,eq,eG,eV,eH,eK,ez,eY,eX,eJ,e$,eQ,eZ,e1,e3,e8,e0,e2,e6,e4,e7,e9,e5,te,tt,tr,ta,tn,ts,ti,to,tu,td,tc,tl,tp,tD,tf,tg,tm,ty,th,tb,tv,tC,tR,tx,tF,tE,tj,tw,tS,tT,tA,tP,tk,tB,t_,tI,tO,tN,tM,tL,tU,tW,tq,tG,tV,tH,tK,tz,tY,tX,tJ,t$,tQ,tZ,t1,t3,t8,t0,t2,t6,t4,t7,t9,t5,re,rt,rr,ra,rn,rs,ri,ro,ru,rd,rc,rl,rp,rD,rf,rg,rm,ry,rh,rb,rv,rC,rR,rx,rF,rE,rj,rw,rS,rT,rA,rP,rk,rB,r_,rI,rO,rN,rM,rL,rU,rW,rq,rG,rV,rH,rK,rz,rY,rX,rJ,r$,rQ,rZ,r1,r3,r8,r0,r2,r6,r4,r7,r9,r5,ae,at,ar,aa,an,as,ai,ao,au,ad,ac,al,ap,aD,af,ag,am,ay,ah,ab,av,aC,aR,ax,aF,aE,aj,aw,aS,aT,aA,aP,ak,aB,a_,aI,aO,aN,aM,aL,aU,aW,aq,aG,aV,aH,aK,az,aY,aX,aJ,a$,aQ,aZ,a1,a3,a8,a0,a2,a6,a4,a7,a9,a5,ne,nt,nr,na,nn,ns,ni,no,nu,nd,nc,nl,np,nD,nf,ng,nm,ny,nh,nb,nv,nC,nR,nx,nF,nE,nj,nw,nS,nT,nA,nP,nk,nB,n_,nI,nO,nN,nM,nL,nU,nW,nq,nG,nV,nH,nK,nz,nY,nX,nJ,n$,nQ,nZ,n1,n3,n8,n0,n2,n6,n4,n7,n9,n5,se,st,sr,sa,sn,ss,si,so,su,sd,sc,sl,sp,sD,sf,sg,sm,sy,sh,sb,sv,sC,sR,sx,sF,sE,sj,sw,sS,sT,sA,sP,sk,sB,s_,sI,sO,sN,sM,sL,sU,sW,sq,sG,sV,sH,sK,sz,sY,sX,sJ,s$,sQ,sZ,s1,s3,s8,s0,s2,s6,s4,s7,s9,s5,ie,it,ir,ia,is,ii,io,iu,id,ic,il,ip,iD,ig,im,iy,ih,ib,iv,iC,iR,ix,iF,iE,ij,iw,iS,iT,iA,iP,ik,iB,i_,iI,iO,iN,iM,iL,iU,iW,iq,iG,iV,iH,iK,iz,iY,iX,iJ,i$,iQ,iZ,i1,i3,i8,i0,i2,i6,i4,i7,i9,i5,oe,ot,or,oa,on,os,oi,oo,ou,od,oc,ol,op,oD,of,og,om,oy,oh,ob,ov,oC,oR,ox,oF,oE,oj,ow,oS,oT,oA,oP,ok,oB,o_,oI,oO,oN,oM,oL,oU,oW,oq,oG,oV,oH,oK,oz,oY,oX,oJ,o$,oQ,oZ,o1,o3,o8,o0,o2,o6,o4,o7,o9,o5,ue,ut,ur,ua,un,us,ui,uo,uu,ud,uc,ul,up,uD,uf,ug,um,uy,uh,ub,uv,uC,uR,ux,uF,uE,uj,uw,uS,uT,uA,uP,uk,uB,u_,uI,uO,uN,uM,uL,uU,uW,uq,uG,uV,uH,uK,uz,uY,uX,uJ,u$,uQ,uZ,u1,u3,u8,u0,u2,u6,u4,u7,u9,u5,de,dt,dr,da,dn,ds,di,du,dd,dc,dl,dp,dD,df,dg,dm,dy,dh,db,dv,dC,dR,dx,dF,dE,dj,dw,dS,dT,dA,dP,dk,dB,d_,dI,dO,dN,dM,dL,dU,dW,dq,dG,dV,dH,dK,dz,dY,dX,dJ,d$,dQ,dZ,d1,d3,d8,d0,d2,d6,d4,d7,d9,d5,ce,ct,cr,ca,cn,cs,ci,co,cu,cd,cc,cl,cp,cD,cf,cg,cm,cy,ch,cb,cv,cC,cR,cx,cF,cE,cj,cw,cS,cT,cA,cP,ck,cB,c_,cI,cO,cN,cM,cL,cU,cW,cq,cG,cV,cH,cK,cz,cY,cX,cJ,c$,cQ,cZ,c1,c3,c8,c0,c2,c6,c4,c7,c9,c5,le,lt,lr,la,ln,ls,li,lo,lu,ld,lc,ll,lp,lD,lf,lg,lm,ly,lh,lb,lv,lC,lR,lx,lF,lE,lj=Object.freeze({__proto__:null,get DEFAULT_EXTENSIONS(){return Iv},get File(){return Ac},get buildExternalHelpers(){return Am},get createConfigItem(){return _M},get createConfigItemAsync(){return _O},get createConfigItemSync(){return _N},get getEnv(){return Ak},get loadOptions(){return __},get loadOptionsAsync(){return _k},get loadOptionsSync(){return _B},get loadPartialConfig(){return _T},get loadPartialConfigAsync(){return _w},get loadPartialConfigSync(){return _S},get parse(){return Im},get parseAsync(){return Ih},get parseSync(){return Iy},get resolvePlugin(){return AS},get resolvePreset(){return AT},get template(){return jL},get tokTypes(){return je},get transform(){return Is},get transformAsync(){return Io},get transformFile(){return Iu},get transformFileAsync(){return Ic},get transformFileSync(){return Id},get transformFromAst(){return Ip},get transformFromAstAsync(){return If},get transformFromAstSync(){return ID},get transformSync(){return Ii},get traverse(){return Sn},get types(){return CS},get version(){return Ib}});function lw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lw=function(){return!!e})()}function lS(){lS=function(){return t};var e,t={},r=Object.prototype,a=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},i=s.iterator||"@@iterator",o=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function d(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,r){return e[t]=r}}function c(t,r,a,s){var i,o,u=Object.create((r&&r.prototype instanceof m?r:m).prototype);return n(u,"_invoke",{value:(i=new w(s||[]),o=p,function(r,n){if(o===D)throw Error("Generator is already running");if(o===f){if("throw"===r)throw n;return{value:e,done:!0}}for(i.method=r,i.arg=n;;){var s=i.delegate;if(s){var u=function t(r,a){var n=a.method,s=r.iterator[n];if(s===e)return a.delegate=null,"throw"===n&&r.iterator.return&&(a.method="return",a.arg=e,t(r,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=TypeError("The iterator does not provide a '"+n+"' method")),g;var i=l(s,r.iterator,a.arg);if("throw"===i.type)return a.method="throw",a.arg=i.arg,a.delegate=null,g;var o=i.arg;return o?o.done?(a[r.resultName]=o.value,a.next=r.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,g):o:(a.method="throw",a.arg=TypeError("iterator result is not an object"),a.delegate=null,g)}(s,i);if(u){if(u===g)continue;return u}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(o===p)throw o=f,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);o=D;var d=l(t,a,i);if("normal"===d.type){if(o=i.done?f:"suspendedYield",d.arg===g)continue;return{value:d.arg,done:i.done}}"throw"===d.type&&(o=f,i.method="throw",i.arg=d.arg)}})}),u}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",D="executing",f="completed",g={};function m(){}function y(){}function h(){}var b={};d(b,i,function(){return this});var v=Object.getPrototypeOf,C=v&&v(v(S([])));C&&C!==r&&a.call(C,i)&&(b=C);var R=h.prototype=m.prototype=Object.create(b);function x(e){["next","throw","return"].forEach(function(t){d(e,t,function(e){return this._invoke(t,e)})})}function F(e,t){var r;n(this,"_invoke",{value:function(n,s){function i(){return new t(function(r,i){!function r(n,s,i,o){var u=l(e[n],e,s);if("throw"!==u.type){var d=u.arg,c=d.value;return c&&"object"==typeof c&&a.call(c,"__await")?t.resolve(c.__await).then(function(e){r("next",e,i,o)},function(e){r("throw",e,i,o)}):t.resolve(c).then(function(e){d.value=e,i(d)},function(e){return r("throw",e,i,o)})}o(u.arg)}(n,s,r,i)})}return r=r?r.then(i,i):i()}})}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function w(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function S(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,s=function r(){for(;++n=0;--s){var i=this.tryEntries[s],o=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=a.call(i,"catchLoc"),d=a.call(i,"finallyLoc");if(u&&d){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),j(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var a=r.completion;if("throw"===a.type){var n=a.arg;j(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,a){return this.delegate={iterator:S(t),resultName:r,nextLoc:a},"next"===this.method&&(this.arg=e),g}},t}function lT(e,t,r,a,n,s,i){try{var o=e[s](i),u=o.value}catch(e){r(e);return}o.done?t(u):Promise.resolve(u).then(a,n)}function lA(e){return function(){var t=this,r=arguments;return new Promise(function(a,n){var s=e.apply(t,r);function i(e){lT(s,a,n,i,o,"next",e)}function o(e){lT(s,a,n,i,o,"throw",e)}i(void 0)})}}function lP(e,t){for(var r=0;r=0||(n[r]=e[r]);return n}function lM(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lL(e,t){return t||(t=e.slice(0)),e.raw=t,e}function lU(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var a,n,s,i,o=[],u=!0,d=!1;try{if(s=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(a=s.call(r)).done)&&(o.push(a.value),o.length!==t);u=!0);}catch(e){d=!0,n=e}finally{try{if(!u&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(d)throw n}}return o}}(e,t)||lq(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 lW(e){return function(e){if(Array.isArray(e))return lG(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||lq(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 lq(e,t){if(e){if("string"==typeof e)return lG(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(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return lG(e,t)}}function lG(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=Array(t);r=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var lH=Object.freeze({__proto__:null,BindingIdentifier:["Identifier"],BlockScoped:null,ExistentialTypeParam:["ExistsTypeAnnotation"],Expression:["Expression"],Flow:["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],ForAwaitStatement:["ForOfStatement"],Generated:null,NumericLiteralTypeAnnotation:["NumberLiteralTypeAnnotation"],Pure:null,Referenced:null,ReferencedIdentifier:["Identifier","JSXIdentifier"],ReferencedMemberExpression:["MemberExpression"],RestProperty:["RestElement"],Scope:["Scopable","Pattern"],SpreadProperty:["RestElement"],Statement:["Statement"],User:null,Var:["VariableDeclaration"]});function lK(e,t){for(var r=Object.keys(t),a=0;an.length)return!1;for(var i=0,o=s.length-1;i1)for(var r=1;re);a+=2)if((r+=t[a+1])>=e)return!0;return!1}function fF(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&fb.test(String.fromCharCode(e)):fx(e,fC)))}function fE(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&fv.test(String.fromCharCode(e)):fx(e,fC)||fx(e,fR))))}function fj(e){for(var t=!0,r=0;r=48&&e<=55},dec:function(e){return e>=48&&e<=57},hex:function(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}};function fN(e,t,r,a,n,s){for(var i=r,o=a,u=n,d="",c=null,l=r,p=t.length;;){if(r>=p){s.unterminated(i,o,u),d+=t.slice(l,r);break}var D,f=t.charCodeAt(r);if(D=r,"template"===e?96===f||36===f&&123===t.charCodeAt(D+1):f===("double"===e?34:39)){d+=t.slice(l,r);break}if(92===f){d+=t.slice(l,r);var g=function(e,t,r,a,n,s){var i=!n;t++;var o=function(e){return{pos:t,ch:e,lineStart:r,curLine:a}},u=e.charCodeAt(t++);switch(u){case 110:return o("\n");case 114:return o("\r");case 120:var d,c=fM(e,t,r,a,2,!1,i,s);return d=c.code,t=c.pos,o(null===d?null:String.fromCharCode(d));case 117:var l,p=fU(e,t,r,a,i,s);return l=p.code,t=p.pos,o(null===l?null:String.fromCodePoint(l));case 116:return o(" ");case 98:return o("\b");case 118:return o("\v");case 102:return o("\f");case 13:10===e.charCodeAt(t)&&++t;case 10:r=t,++a;case 8232:case 8233:return o("");case 56:case 57:if(n)return o(null);s.strictNumericEscape(t-1,r,a);default:if(u>=48&&u<=55){var D=t-1,f=e.slice(D,t+2).match(/^[0-7]+/)[0],g=parseInt(f,8);g>255&&(g=parseInt(f=f.slice(0,-1),8)),t+=f.length-1;var m=e.charCodeAt(t);if("0"!==f||56===m||57===m){if(n)return o(null);s.strictNumericEscape(D,r,a)}return o(String.fromCharCode(g))}return o(String.fromCharCode(u))}}(t,r,a,n,"template"===e,s);null!==g.ch||c?d+=g.ch:c={pos:r,lineStart:a,curLine:n},r=g.pos,a=g.lineStart,n=g.curLine,l=r}else 8232===f||8233===f?(++r,++n,a=r):10===f||13===f?"template"===e?(d+=t.slice(l,r)+"\n",++r,13===f&&10===t.charCodeAt(r)&&++r,++n,l=a=r):s.unterminated(i,o,u):++r}return{pos:r,str:d,firstInvalidLoc:c,lineStart:a,curLine:n,containsInvalid:!!c}}function fM(e,t,r,a,n,s,i,o){var u,d=t,c=fL(e,t,r,a,16,n,s,!1,o,!i);return u=c.n,t=c.pos,null===u&&(i?o.invalidEscapeSequence(d,r,a):t=d-1),{code:u,pos:t}}function fL(e,t,r,a,n,s,i,o,u,d){for(var c=t,l=16===n?fI.hex:fI.decBinOct,p=16===n?fO.hex:10===n?fO.dec:8===n?fO.oct:fO.bin,D=!1,f=0,g=0,m=null==s?1/0:s;g=97?y-97+10:y>=65?y-65+10:y>=48&&y<=57?y-48:1/0)>=n){if(h<=9&&d)return{n:null,pos:t};if(h<=9&&u.invalidDigit(t,r,a,n))h=0;else if(i)h=0,D=!0;else break}++t,f=f*n+h}return t===c||null!=s&&t-c!==s||D?{n:null,pos:t}:{n:f,pos:t}}function fU(e,t,r,a,n,s){var i;if(123===e.charCodeAt(t)){var o=fM(e,++t,r,a,e.indexOf("}",t)-t,!0,n,s);if(i=o.code,t=o.pos,++t,null!==i&&i>1114111){if(!n)return{code:null,pos:t};s.invalidCodePoint(t,r,a)}}else{var u=fM(e,t,r,a,4,!1,n,s);i=u.code,t=u.pos}return{code:i,pos:t}}var fW=["consequent","body","alternate"],fq=["leadingComments","trailingComments","innerComments"],fG=["||","&&","??"],fV=["++","--"],fH=[">","<",">=","<="],fK=["==","===","!=","!=="],fz=[].concat(fK,["in","instanceof"]),fY=[].concat(lW(fz),fH),fX=["-","/","%","*","**","&","|",">>",">>>","<<","^"],fJ=["+"].concat(fX,lW(fY),["|>"]),f$=["=","+="].concat(lW(fX.map(function(e){return e+"="})),lW(fG.map(function(e){return e+"="}))),fQ=["delete","!"],fZ=["+","-","~"],f1=["typeof"],f3=["void","throw"].concat(fQ,fZ,f1),f8={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},f0=Symbol.for("var used to be block scoped"),f2=Symbol.for("should not be considered a local binding"),f6={},f4={},f7={},f9={},f5={},ge={},gt={};function gr(e){return Array.isArray(e)?"array":null===e?"null":typeof e}function ga(e){return{validate:e}}function gn(e){return"string"==typeof e?gp(e):gp.apply(void 0,lW(e))}function gs(e){return ga(gn(e))}function gi(e){return{validate:e,optional:!0}}function go(e){return{validate:gn(e),optional:!0}}function gu(e){var t;return t=gn(e),gm(gf("array"),gc(t))}function gd(e){return ga(gu(e))}function gc(e){function t(t,r,a){if(Array.isArray(a))for(var n=0;nt.indexOf(a))throw TypeError("Property "+r+" expected value to be one of "+JSON.stringify(t)+" but got "+JSON.stringify(a))}return a.oneOf=t,a}function gp(){for(var e=arguments.length,t=Array(e),r=0;r=2&&"type"in t[0]&&"array"===t[0].type&&!("each"in t[1]))throw Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return a}var gy=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"],gh=["default","optional","deprecated","validate"],gb={};function gv(){for(var e=arguments.length,t=Array(e),r=0;r0:d&&"object"==typeof d)throw Error("field defaults can only be primitives or empty arrays currently");a[o]={default:Array.isArray(d)?[]:d,optional:u.optional,deprecated:u.deprecated,validate:u.validate}}for(var c=t.visitor||r.visitor||[],l=t.aliases||r.aliases||[],p=t.builder||r.builder||t.visitor||[],D=0,f=Object.keys(t);D+s+1)throw TypeError("RestElement must be last element of "+n)}}}),gR("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:gp("Expression"),optional:!0}}}),gR("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:gm(gf("array"),gc(gp("Expression")))}},aliases:["Expression"]}),gR("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:gp("Expression")}}}),gR("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:gp("Expression"),optional:!0},consequent:{validate:gm(gf("array"),gc(gp("Statement")))}}}),gR("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:gp("Expression")},cases:{validate:gm(gf("array"),gc(gp("SwitchCase")))}}}),gR("ThisExpression",{aliases:["Expression"]}),gR("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:gp("Expression")}}}),gR("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:gm(gp("BlockStatement"),Object.assign(function(e){if(fc.env.BABEL_TYPES_8_BREAKING&&!e.handler&&!e.finalizer)throw TypeError("TryStatement expects either a handler or finalizer, or both")},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:!0,validate:gp("CatchClause")},finalizer:{optional:!0,validate:gp("BlockStatement")}}}),gR("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:gp("Expression")},operator:{validate:gl.apply(void 0,lW(f3))}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),gR("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:fc.env.BABEL_TYPES_8_BREAKING?gp("Identifier","MemberExpression"):gp("Expression")},operator:{validate:gl.apply(void 0,lW(fV))}},visitor:["argument"],aliases:["Expression"]}),gR("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:gf("boolean"),optional:!0},kind:{validate:gl("var","let","const","using","await using")},declarations:{validate:gm(gf("array"),gc(gp("VariableDeclarator")))}},validate:function(e,t,r){if(fc.env.BABEL_TYPES_8_BREAKING&&fm("ForXStatement",e,{left:r})&&1!==r.declarations.length)throw TypeError("Exactly one VariableDeclarator is required in the VariableDeclaration of a "+e.type)}}),gR("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!fc.env.BABEL_TYPES_8_BREAKING)return gp("LVal");var e=gp("Identifier","ArrayPattern","ObjectPattern"),t=gp("Identifier");return function(r,a,n){(r.init?e:t)(r,a,n)}}()},definite:{optional:!0,validate:gf("boolean")},init:{optional:!0,validate:gp("Expression")}}}),gR("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:gp("Expression")},body:{validate:gp("Statement")}}}),gR("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:gp("Expression")},body:{validate:gp("Statement")}}}),gR("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},gj(),{left:{validate:gp("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:gp("Expression")},decorators:{validate:gm(gf("array"),gc(gp("Decorator"))),optional:!0}})}),gR("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},gj(),{elements:{validate:gm(gf("array"),gc(gD("null","PatternLike","LVal")))}})}),gR("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},gx(),gF(),{expression:{validate:gf("boolean")},body:{validate:gp("BlockStatement","Expression")},predicate:{validate:gp("DeclaredPredicate","InferredPredicate"),optional:!0}})}),gR("ClassBody",{visitor:["body"],fields:{body:{validate:gm(gf("array"),gc(gp("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")))}}}),gR("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:gp("Identifier"),optional:!0},typeParameters:{validate:gp("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:gp("ClassBody")},superClass:{optional:!0,validate:gp("Expression")},superTypeParameters:{validate:gp("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:gm(gf("array"),gc(gp("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:gm(gf("array"),gc(gp("Decorator"))),optional:!0},mixins:{validate:gp("InterfaceExtends"),optional:!0}}}),gR("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:gp("Identifier"),optional:!0},typeParameters:{validate:gp("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:gp("ClassBody")},superClass:{optional:!0,validate:gp("Expression")},superTypeParameters:{validate:gp("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:gm(gf("array"),gc(gp("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:gm(gf("array"),gc(gp("Decorator"))),optional:!0},mixins:{validate:gp("InterfaceExtends"),optional:!0},declare:{validate:gf("boolean"),optional:!0},abstract:{validate:gf("boolean"),optional:!0}},validate:(wT=gp("Identifier"),function(e,t,r){fc.env.BABEL_TYPES_8_BREAKING&&!fm("ExportDefaultDeclaration",e)&&wT(r,"id",r.id)})}),gR("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{source:{validate:gp("StringLiteral")},exportKind:gi(gl("type","value")),attributes:{optional:!0,validate:gm(gf("array"),gc(gp("ImportAttribute")))},assertions:{optional:!0,validate:gm(gf("array"),gc(gp("ImportAttribute")))}}}),gR("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{validate:gp("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression")},exportKind:gi(gl("value"))}}),gR("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{optional:!0,validate:gm(gp("Declaration"),Object.assign(function(e,t,r){if(fc.env.BABEL_TYPES_8_BREAKING&&r&&e.specifiers.length)throw TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(fc.env.BABEL_TYPES_8_BREAKING&&r&&e.source)throw TypeError("Cannot export a declaration from a source")})},attributes:{optional:!0,validate:gm(gf("array"),gc(gp("ImportAttribute")))},assertions:{optional:!0,validate:gm(gf("array"),gc(gp("ImportAttribute")))},specifiers:{default:[],validate:gm(gf("array"),gc((wA=gp("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),wP=gp("ExportSpecifier"),fc.env.BABEL_TYPES_8_BREAKING?function(e,t,r){(e.source?wA:wP)(e,t,r)}:wA)))},source:{validate:gp("StringLiteral"),optional:!0},exportKind:gi(gl("type","value"))}}),gR("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:gp("Identifier")},exported:{validate:gp("Identifier","StringLiteral")},exportKind:{validate:gl("type","value"),optional:!0}}}),gR("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!fc.env.BABEL_TYPES_8_BREAKING)return gp("VariableDeclaration","LVal");var e=gp("VariableDeclaration"),t=gp("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return function(r,a,n){fm("VariableDeclaration",n)?e(r,a,n):t(r,a,n)}}()},right:{validate:gp("Expression")},body:{validate:gp("Statement")},await:{default:!1}}}),gR("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:{attributes:{optional:!0,validate:gm(gf("array"),gc(gp("ImportAttribute")))},assertions:{optional:!0,validate:gm(gf("array"),gc(gp("ImportAttribute")))},module:{optional:!0,validate:gf("boolean")},phase:{default:null,validate:gl("source","defer")},specifiers:{validate:gm(gf("array"),gc(gp("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:gp("StringLiteral")},importKind:{validate:gl("type","typeof","value"),optional:!0}}}),gR("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:gp("Identifier")}}}),gR("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:gp("Identifier")}}}),gR("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:gp("Identifier")},imported:{validate:gp("Identifier","StringLiteral")},importKind:{validate:gl("type","typeof","value"),optional:!0}}}),gR("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:gl("source","defer")},source:{validate:gp("Expression")},options:{validate:gp("Expression"),optional:!0}}}),gR("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:gm(gp("Identifier"),Object.assign(function(e,t,r){var a;if(fc.env.BABEL_TYPES_8_BREAKING){switch(r.name){case"function":a="sent";break;case"new":a="target";break;case"import":a="meta"}if(!fm("Identifier",e.property,{name:a}))throw TypeError("Unrecognised MetaProperty")}},{oneOfNodeTypes:["Identifier"]}))},property:{validate:gp("Identifier")}}});var gw=function(){var e,t;return{abstract:{validate:gf("boolean"),optional:!0},accessibility:{validate:gl("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:gf("boolean"),optional:!0},key:{validate:gm((e=gp("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),t=gp("Expression"),function(r,a,n){(r.computed?t:e)(r,a,n)}),gp("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}}},gS=function(){return Object.assign({},gx(),gw(),{params:{validate:gm(gf("array"),gc(gp("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:gl("get","set","method","constructor"),default:"method"},access:{validate:gm(gf("string"),gl("public","private","protected")),optional:!0},decorators:{validate:gm(gf("array"),gc(gp("Decorator"))),optional:!0}})};gR("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},gS(),gF(),{body:{validate:gp("BlockStatement")}})}),gR("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},gj(),{properties:{validate:gm(gf("array"),gc(gp("RestElement","ObjectProperty")))}})}),gR("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:gp("Expression")}}}),gR("Super",{aliases:["Expression"]}),gR("TaggedTemplateExpression",{visitor:["tag","quasi","typeParameters"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:gp("Expression")},quasi:{validate:gp("TemplateLiteral")},typeParameters:{validate:gp("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),gR("TemplateElement",{builder:["value","tail"],fields:{value:{validate:gm(function(e){function t(t,r,a){for(var n=[],s=0,i=Object.keys(e);s=0)continue;if(pZ(o))return[o];if(D$(o)){a.set(o.type,o);continue}if(Dt(o)){n.has(o.types)||(t.push.apply(t,lW(o.types)),n.add(o.types));continue}if(p0(o)){var u=function e(t){return l7(t)?t.name:t.id.name+"."+e(t.qualification)}(o.id);if(r.has(u)){var d,c=r.get(u);c.typeParameters?o.typeParameters&&((d=c.typeParameters.params).push.apply(d,lW(o.typeParameters.params)),c.typeParameters.params=b7(c.typeParameters.params)):c=o.typeParameters}else r.set(u,o);continue}s.push(o)}}for(var l,p=lV(a);!(l=p()).done;){var D=lU(l.value,2)[1];s.push(D)}for(var f,g=lV(r);!(f=g()).done;){var m=lU(f.value,2)[1];s.push(m)}return s}function b9(e){var t=b7(e);return 1===t.length?t[0]:ha(t)}function b5(e){var t=function e(t){for(var r=Array.from(t),a=new Map,n=new Map,s=new Set,i=[],o=0;o=0)continue;if(Dv(u))return[u];if(D1(u)){n.set(u.type,u);continue}if(Dx(u)){s.has(u.types)||(r.push.apply(r,lW(u.types)),s.add(u.types));continue}if(DC(u)&&u.typeParameters){var d=function e(t){return l7(t)?t.name:t.right.name+"."+e(t.left)}(u.typeName);if(a.has(d)){var c,l=a.get(d);l.typeParameters?u.typeParameters&&((c=l.typeParameters.params).push.apply(c,lW(u.typeParameters.params)),l.typeParameters.params=e(l.typeParameters.params)):l=u.typeParameters}else a.set(d,u);continue}i.push(u)}}for(var p,D=lV(n);!(p=D()).done;){var f=lU(p.value,2)[1];i.push(f)}for(var g,m=lV(a);!(g=m()).done;){var y=lU(g.value,2)[1];i.push(y)}return i}(e.map(function(e){return DP(e)?e.typeAnnotation:e}));return 1===t.length?t[0]:bb(t)}function ve(){return mN("void",my(0),!0)}var vt={hasOwn:Function.call.bind(Object.prototype.hasOwnProperty)}.hasOwn;function vr(e,t,r,a){return e&&"string"==typeof e.type?vs(e,t,r,a):e}function va(e,t,r,a){return Array.isArray(e)?e.map(function(e){return vr(e,t,r,a)}):vr(e,t,r,a)}function vn(e,t,r){return void 0===t&&(t=!0),void 0===r&&(r=!1),vs(e,t,r,new Map)}function vs(e,t,r,a){if(void 0===t&&(t=!0),void 0===r&&(r=!1),!e)return e;var n=e.type,s={type:e.type};if(l7(e))s.name=e.name,vt(e,"optional")&&"boolean"==typeof e.optional&&(s.optional=e.optional),vt(e,"typeAnnotation")&&(s.typeAnnotation=t?va(e.typeAnnotation,!0,r,a):e.typeAnnotation);else if(vt(f9,n))for(var i=0,o=Object.keys(f9[n]);i=Number.MAX_SAFE_INTEGER?Cl.uid=0:Cl.uid++};var CD=Function.call.bind(Object.prototype.toString);function Cf(e){if(void 0===e)return mD("undefined");if(!0===e||!1===e)return mb(e);if(null===e)return mh();if("string"==typeof e)return mm(e);if("number"==typeof e){var t;return t=Number.isFinite(e)?my(Math.abs(e)):g2("/",Number.isNaN(e)?my(0):my(1),my(0)),(e<0||Object.is(e,-0))&&(t=mN("-",t)),t}if("[object RegExp]"===CD(e))return mv(e.source,e.toString().match(/\/([a-z]+|)$/)[1]);if(Array.isArray(e))return g8(e.map(Cf));if(function(e){if("object"!=typeof e||null===e||"[object Object]"!==Object.prototype.toString.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}(e)){for(var r=[],a=0,n=Object.keys(e);a=0)return!0}else if(s===e)return!0}return!1}function Cv(e){return ph(e)&&("var"!==e.kind||e[f0])}function CC(e){return l6(e)||pE(e)||Cv(e)}function CR(e,t,r){switch(t.type){case"MemberExpression":case"OptionalMemberExpression":if(t.property===e)return!!t.computed;return t.object===e;case"JSXMemberExpression":return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":case"LabeledStatement":case"CatchClause":case"RestElement":case"BreakStatement":case"ContinueStatement":case"FunctionDeclaration":case"FunctionExpression":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportAttribute":case"JSXAttribute":case"ObjectPattern":case"ArrayPattern":case"MetaProperty":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.key===e)return!!t.computed;return!1;case"ObjectProperty":if(t.key===e)return!!t.computed;return!r||"ObjectPattern"!==r.type;case"ClassProperty":case"ClassAccessorProperty":case"TSPropertySignature":if(t.key===e)return!!t.computed;break;case"ClassPrivateProperty":case"ObjectTypeProperty":return t.key!==e;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":case"AssignmentPattern":return t.right===e;case"ExportSpecifier":if(null!=r&&r.source)return!1;return t.local===e;case"TSEnumMember":return t.id!==e}return!0}function Cx(e,t){return!(lQ(e)&&(DM(t)||l1(t)))&&(!!(DV(e)&&(DM(t)||l1(t)))||D_(e))}Cm.keys={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ClassPrivateMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]};var CF=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function CE(e){return f_(e)&&!CF.has(e)}function Cj(e){return ph(e,{kind:"var"})&&!e[f0]}var Cw={isReactComponent:D0,isCompatTag:function(e){return!!e&&/^[a-z]/.test(e)},buildChildren:function(e){for(var t=[],r=0;rg$.indexOf(a))throw Error("You gave us a visitor for the node type "+a+" but it's not a valid type");var n=e[a];if("object"==typeof n)for(var s=0,i=Object.keys(n);s=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},wO.storage=function(){try{return localStorage}catch(e){}}(),wO.destroy=(wN=!1,function(){wN||(wN=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}),wO.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],wO.log=console.debug||console.log||function(){},CX.exports=function(e){function t(e){var a,n,s,i=null;function o(){for(var e=arguments.length,r=Array(e),n=0;n=1.5*r?"s":"")}return wH=1,wV=function(t,r){r=r||{};var a,n,s=typeof t;if("string"===s&&t.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*r;case"weeks":case"week":case"w":return 6048e5*r;case"days":case"day":case"d":return 864e5*r;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*r;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*r;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}(t);if("number"===s&&isFinite(t))return r.long?(a=Math.abs(t))>=864e5?e(t,a,864e5,"day"):a>=36e5?e(t,a,36e5,"hour"):a>=6e4?e(t,a,6e4,"minute"):a>=1e3?e(t,a,1e3,"second"):t+" ms":(n=Math.abs(t))>=864e5?Math.round(t/864e5)+"d":n>=36e5?Math.round(t/36e5)+"h":n>=6e4?Math.round(t/6e4)+"m":n>=1e3?Math.round(t/1e3)+"s":t+"ms";throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}}(),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(function(r){t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){for(var r=0,a=0;a0)throw Error("It doesn't make sense to split exported specifiers.");var d=e.get("declaration"),c=m$(null,Object.keys(d.getOuterBindingIdentifiers()).map(function(e){return mQ(mD(e),mD(e))}));return e.insertAfter(c),e.replaceWith(d.node),e}function CQ(e){var t=e.context,r=e.node;if(r.computed&&t.maybeQueue(e.get("key")),r.decorators)for(var a,n=lV(e.get("decorators"));!(a=n()).done;){var s=a.value;t.maybeQueue(s)}}var CZ={FunctionParent:function(e){!e.isArrowFunctionExpression()&&(e.skip(),e.isMethod()&&CQ(e))},Property:function(e){e.isObjectProperty()||(e.skip(),CQ(e))}},C1={ReferencedIdentifier:function(e,t){var r=e.node;r.name===t.oldName&&(r.name=t.newName)},Scope:function(e,t){!e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)&&(e.skip(),e.isMethod()&&CQ(e))},ObjectProperty:function(e,t){var r,a=e.node,n=e.scope,s=a.key.name;a.shorthand&&(s===t.oldName||s===t.newName)&&n.getBindingIdentifier(s)===t.binding.identifier&&(a.shorthand=!1,null!=(r=a.extra)&&r.shorthand&&(a.extra.shorthand=!1))},"AssignmentExpression|Declaration|VariableDeclarator":function(e,t){if(!e.isVariableDeclaration()){var r=e.getOuterBindingIdentifiers();for(var a in r)a===t.oldName&&(r[a].name=t.newName)}}},C3=function(){function e(e,t,r){this.newName=r,this.oldName=t,this.binding=e}var t=e.prototype;return t.maybeConvertFromExportDeclaration=function(e){var t=e.parentPath;if(t.isExportDeclaration()){if(t.isExportDefaultDeclaration()){var r=t.node.declaration;if(DU(r)&&!r.id)return}t.isExportAllDeclaration()||C$(t)}},t.maybeConvertFromClassFunctionDeclaration=function(e){return e},t.maybeConvertFromClassFunctionExpression=function(e){return e},t.rename=function(){var e=this.binding,t=this.oldName,r=this.newName,a=e.scope,n=e.path,s=n.find(function(e){return e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression()});s&&s.getOuterBindingIdentifiers()[t]===e.identifier&&this.maybeConvertFromExportDeclaration(s);var i=arguments[0]||a.block;Sr(i,Ck(C1),a,this,a.path,{discriminant:!0}),arguments[0]||(a.removeOwnBinding(t),a.bindings[r]=e,this.binding.identifier.name=r),s&&(this.maybeConvertFromClassFunctionDeclaration(n),this.maybeConvertFromClassFunctionExpression(n))},lk(e)}(),C8=function(){function e(e){var t=e.identifier,r=e.scope,a=e.path,n=e.kind;this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=t,this.scope=r,this.path=a,this.kind=n,("var"===n||"hoisted"===n)&&function(e){for(var t,r=e.parentPath,a=e.key;r&&!r.isFunctionParent();r=(t=r).parentPath,a=t.key,t)if(r.isWhile()||r.isForXStatement()||r.isForStatement()&&"body"===a)return!0;return!1}(a)&&this.reassign(a),this.clearValue()}var t=e.prototype;return t.deoptValue=function(){this.clearValue(),this.hasDeoptedValue=!0},t.setValue=function(e){this.hasDeoptedValue||(this.hasValue=!0,this.value=e)},t.clearValue=function(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null},t.reassign=function(e){this.constant=!1,-1===this.constantViolations.indexOf(e)&&this.constantViolations.push(e)},t.reference=function(e){-1===this.referencePaths.indexOf(e)&&(this.referenced=!0,this.references++,this.referencePaths.push(e))},t.dereference=function(){this.references--,this.referenced=!!this.references},lk(e)}(),C0={builtin:{Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es5:{Array:!1,Boolean:!1,constructor:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,propertyIsEnumerable:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1},es2015:{Array:!1,ArrayBuffer:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es2017:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},browser:{AbortController:!1,AbortSignal:!1,addEventListener:!1,alert:!1,AnalyserNode:!1,Animation:!1,AnimationEffectReadOnly:!1,AnimationEffectTiming:!1,AnimationEffectTimingReadOnly:!1,AnimationEvent:!1,AnimationPlaybackEvent:!1,AnimationTimeline:!1,applicationCache:!1,ApplicationCache:!1,ApplicationCacheErrorEvent:!1,atob:!1,Attr:!1,Audio:!1,AudioBuffer:!1,AudioBufferSourceNode:!1,AudioContext:!1,AudioDestinationNode:!1,AudioListener:!1,AudioNode:!1,AudioParam:!1,AudioProcessingEvent:!1,AudioScheduledSourceNode:!1,"AudioWorkletGlobalScope ":!1,AudioWorkletNode:!1,AudioWorkletProcessor:!1,BarProp:!1,BaseAudioContext:!1,BatteryManager:!1,BeforeUnloadEvent:!1,BiquadFilterNode:!1,Blob:!1,BlobEvent:!1,blur:!1,BroadcastChannel:!1,btoa:!1,BudgetService:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,cancelAnimationFrame:!1,cancelIdleCallback:!1,CanvasCaptureMediaStreamTrack:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,ChannelMergerNode:!1,ChannelSplitterNode:!1,CharacterData:!1,clearInterval:!1,clearTimeout:!1,clientInformation:!1,ClipboardEvent:!1,close:!1,closed:!1,CloseEvent:!1,Comment:!1,CompositionEvent:!1,confirm:!1,console:!1,ConstantSourceNode:!1,ConvolverNode:!1,CountQueuingStrategy:!1,createImageBitmap:!1,Credential:!1,CredentialsContainer:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSS:!1,CSSConditionRule:!1,CSSFontFaceRule:!1,CSSGroupingRule:!1,CSSImportRule:!1,CSSKeyframeRule:!1,CSSKeyframesRule:!1,CSSMediaRule:!1,CSSNamespaceRule:!1,CSSPageRule:!1,CSSRule:!1,CSSRuleList:!1,CSSStyleDeclaration:!1,CSSStyleRule:!1,CSSStyleSheet:!1,CSSSupportsRule:!1,CustomElementRegistry:!1,customElements:!1,CustomEvent:!1,DataTransfer:!1,DataTransferItem:!1,DataTransferItemList:!1,defaultstatus:!1,defaultStatus:!1,DelayNode:!1,DeviceMotionEvent:!1,DeviceOrientationEvent:!1,devicePixelRatio:!1,dispatchEvent:!1,document:!1,Document:!1,DocumentFragment:!1,DocumentType:!1,DOMError:!1,DOMException:!1,DOMImplementation:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMParser:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectReadOnly:!1,DOMStringList:!1,DOMStringMap:!1,DOMTokenList:!1,DragEvent:!1,DynamicsCompressorNode:!1,Element:!1,ErrorEvent:!1,event:!1,Event:!1,EventSource:!1,EventTarget:!1,external:!1,fetch:!1,File:!1,FileList:!1,FileReader:!1,find:!1,focus:!1,FocusEvent:!1,FontFace:!1,FontFaceSetLoadEvent:!1,FormData:!1,frameElement:!1,frames:!1,GainNode:!1,Gamepad:!1,GamepadButton:!1,GamepadEvent:!1,getComputedStyle:!1,getSelection:!1,HashChangeEvent:!1,Headers:!1,history:!1,History:!1,HTMLAllCollection:!1,HTMLAnchorElement:!1,HTMLAreaElement:!1,HTMLAudioElement:!1,HTMLBaseElement:!1,HTMLBodyElement:!1,HTMLBRElement:!1,HTMLButtonElement:!1,HTMLCanvasElement:!1,HTMLCollection:!1,HTMLContentElement:!1,HTMLDataElement:!1,HTMLDataListElement:!1,HTMLDetailsElement:!1,HTMLDialogElement:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLDocument:!1,HTMLElement:!1,HTMLEmbedElement:!1,HTMLFieldSetElement:!1,HTMLFontElement:!1,HTMLFormControlsCollection:!1,HTMLFormElement:!1,HTMLFrameElement:!1,HTMLFrameSetElement:!1,HTMLHeadElement:!1,HTMLHeadingElement:!1,HTMLHRElement:!1,HTMLHtmlElement:!1,HTMLIFrameElement:!1,HTMLImageElement:!1,HTMLInputElement:!1,HTMLLabelElement:!1,HTMLLegendElement:!1,HTMLLIElement:!1,HTMLLinkElement:!1,HTMLMapElement:!1,HTMLMarqueeElement:!1,HTMLMediaElement:!1,HTMLMenuElement:!1,HTMLMetaElement:!1,HTMLMeterElement:!1,HTMLModElement:!1,HTMLObjectElement:!1,HTMLOListElement:!1,HTMLOptGroupElement:!1,HTMLOptionElement:!1,HTMLOptionsCollection:!1,HTMLOutputElement:!1,HTMLParagraphElement:!1,HTMLParamElement:!1,HTMLPictureElement:!1,HTMLPreElement:!1,HTMLProgressElement:!1,HTMLQuoteElement:!1,HTMLScriptElement:!1,HTMLSelectElement:!1,HTMLShadowElement:!1,HTMLSlotElement:!1,HTMLSourceElement:!1,HTMLSpanElement:!1,HTMLStyleElement:!1,HTMLTableCaptionElement:!1,HTMLTableCellElement:!1,HTMLTableColElement:!1,HTMLTableElement:!1,HTMLTableRowElement:!1,HTMLTableSectionElement:!1,HTMLTemplateElement:!1,HTMLTextAreaElement:!1,HTMLTimeElement:!1,HTMLTitleElement:!1,HTMLTrackElement:!1,HTMLUListElement:!1,HTMLUnknownElement:!1,HTMLVideoElement:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,IdleDeadline:!1,IIRFilterNode:!1,Image:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageCapture:!1,ImageData:!1,indexedDB:!1,innerHeight:!1,innerWidth:!1,InputEvent:!1,IntersectionObserver:!1,IntersectionObserverEntry:!1,Intl:!1,isSecureContext:!1,KeyboardEvent:!1,KeyframeEffect:!1,KeyframeEffectReadOnly:!1,length:!1,localStorage:!1,location:!0,Location:!1,locationbar:!1,matchMedia:!1,MediaDeviceInfo:!1,MediaDevices:!1,MediaElementAudioSourceNode:!1,MediaEncryptedEvent:!1,MediaError:!1,MediaKeyMessageEvent:!1,MediaKeySession:!1,MediaKeyStatusMap:!1,MediaKeySystemAccess:!1,MediaList:!1,MediaQueryList:!1,MediaQueryListEvent:!1,MediaRecorder:!1,MediaSettingsRange:!1,MediaSource:!1,MediaStream:!1,MediaStreamAudioDestinationNode:!1,MediaStreamAudioSourceNode:!1,MediaStreamEvent:!1,MediaStreamTrack:!1,MediaStreamTrackEvent:!1,menubar:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,MIDIAccess:!1,MIDIConnectionEvent:!1,MIDIInput:!1,MIDIInputMap:!1,MIDIMessageEvent:!1,MIDIOutput:!1,MIDIOutputMap:!1,MIDIPort:!1,MimeType:!1,MimeTypeArray:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationEvent:!1,MutationObserver:!1,MutationRecord:!1,name:!1,NamedNodeMap:!1,NavigationPreloadManager:!1,navigator:!1,Navigator:!1,NetworkInformation:!1,Node:!1,NodeFilter:!1,NodeIterator:!1,NodeList:!1,Notification:!1,OfflineAudioCompletionEvent:!1,OfflineAudioContext:!1,offscreenBuffering:!1,OffscreenCanvas:!0,onabort:!0,onafterprint:!0,onanimationend:!0,onanimationiteration:!0,onanimationstart:!0,onappinstalled:!0,onauxclick:!0,onbeforeinstallprompt:!0,onbeforeprint:!0,onbeforeunload:!0,onblur:!0,oncancel:!0,oncanplay:!0,oncanplaythrough:!0,onchange:!0,onclick:!0,onclose:!0,oncontextmenu:!0,oncuechange:!0,ondblclick:!0,ondevicemotion:!0,ondeviceorientation:!0,ondeviceorientationabsolute:!0,ondrag:!0,ondragend:!0,ondragenter:!0,ondragleave:!0,ondragover:!0,ondragstart:!0,ondrop:!0,ondurationchange:!0,onemptied:!0,onended:!0,onerror:!0,onfocus:!0,ongotpointercapture:!0,onhashchange:!0,oninput:!0,oninvalid:!0,onkeydown:!0,onkeypress:!0,onkeyup:!0,onlanguagechange:!0,onload:!0,onloadeddata:!0,onloadedmetadata:!0,onloadstart:!0,onlostpointercapture:!0,onmessage:!0,onmessageerror:!0,onmousedown:!0,onmouseenter:!0,onmouseleave:!0,onmousemove:!0,onmouseout:!0,onmouseover:!0,onmouseup:!0,onmousewheel:!0,onoffline:!0,ononline:!0,onpagehide:!0,onpageshow:!0,onpause:!0,onplay:!0,onplaying:!0,onpointercancel:!0,onpointerdown:!0,onpointerenter:!0,onpointerleave:!0,onpointermove:!0,onpointerout:!0,onpointerover:!0,onpointerup:!0,onpopstate:!0,onprogress:!0,onratechange:!0,onrejectionhandled:!0,onreset:!0,onresize:!0,onscroll:!0,onsearch:!0,onseeked:!0,onseeking:!0,onselect:!0,onstalled:!0,onstorage:!0,onsubmit:!0,onsuspend:!0,ontimeupdate:!0,ontoggle:!0,ontransitionend:!0,onunhandledrejection:!0,onunload:!0,onvolumechange:!0,onwaiting:!0,onwheel:!0,open:!1,openDatabase:!1,opener:!1,Option:!1,origin:!1,OscillatorNode:!1,outerHeight:!1,outerWidth:!1,PageTransitionEvent:!1,pageXOffset:!1,pageYOffset:!1,PannerNode:!1,parent:!1,Path2D:!1,PaymentAddress:!1,PaymentRequest:!1,PaymentRequestUpdateEvent:!1,PaymentResponse:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceLongTaskTiming:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceNavigationTiming:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformancePaintTiming:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,PeriodicWave:!1,Permissions:!1,PermissionStatus:!1,personalbar:!1,PhotoCapabilities:!1,Plugin:!1,PluginArray:!1,PointerEvent:!1,PopStateEvent:!1,postMessage:!1,Presentation:!1,PresentationAvailability:!1,PresentationConnection:!1,PresentationConnectionAvailableEvent:!1,PresentationConnectionCloseEvent:!1,PresentationConnectionList:!1,PresentationReceiver:!1,PresentationRequest:!1,print:!1,ProcessingInstruction:!1,ProgressEvent:!1,PromiseRejectionEvent:!1,prompt:!1,PushManager:!1,PushSubscription:!1,PushSubscriptionOptions:!1,queueMicrotask:!1,RadioNodeList:!1,Range:!1,ReadableStream:!1,registerProcessor:!1,RemotePlayback:!1,removeEventListener:!1,Request:!1,requestAnimationFrame:!1,requestIdleCallback:!1,resizeBy:!1,ResizeObserver:!1,ResizeObserverEntry:!1,resizeTo:!1,Response:!1,RTCCertificate:!1,RTCDataChannel:!1,RTCDataChannelEvent:!1,RTCDtlsTransport:!1,RTCIceCandidate:!1,RTCIceGatherer:!1,RTCIceTransport:!1,RTCPeerConnection:!1,RTCPeerConnectionIceEvent:!1,RTCRtpContributingSource:!1,RTCRtpReceiver:!1,RTCRtpSender:!1,RTCSctpTransport:!1,RTCSessionDescription:!1,RTCStatsReport:!1,RTCTrackEvent:!1,screen:!1,Screen:!1,screenLeft:!1,ScreenOrientation:!1,screenTop:!1,screenX:!1,screenY:!1,ScriptProcessorNode:!1,scroll:!1,scrollbars:!1,scrollBy:!1,scrollTo:!1,scrollX:!1,scrollY:!1,SecurityPolicyViolationEvent:!1,Selection:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerRegistration:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,ShadowRoot:!1,SharedWorker:!1,SourceBuffer:!1,SourceBufferList:!1,speechSynthesis:!1,SpeechSynthesisEvent:!1,SpeechSynthesisUtterance:!1,StaticRange:!1,status:!1,statusbar:!1,StereoPannerNode:!1,stop:!1,Storage:!1,StorageEvent:!1,StorageManager:!1,styleMedia:!1,StyleSheet:!1,StyleSheetList:!1,SubtleCrypto:!1,SVGAElement:!1,SVGAngle:!1,SVGAnimatedAngle:!1,SVGAnimatedBoolean:!1,SVGAnimatedEnumeration:!1,SVGAnimatedInteger:!1,SVGAnimatedLength:!1,SVGAnimatedLengthList:!1,SVGAnimatedNumber:!1,SVGAnimatedNumberList:!1,SVGAnimatedPreserveAspectRatio:!1,SVGAnimatedRect:!1,SVGAnimatedString:!1,SVGAnimatedTransformList:!1,SVGAnimateElement:!1,SVGAnimateMotionElement:!1,SVGAnimateTransformElement:!1,SVGAnimationElement:!1,SVGCircleElement:!1,SVGClipPathElement:!1,SVGComponentTransferFunctionElement:!1,SVGDefsElement:!1,SVGDescElement:!1,SVGDiscardElement:!1,SVGElement:!1,SVGEllipseElement:!1,SVGFEBlendElement:!1,SVGFEColorMatrixElement:!1,SVGFEComponentTransferElement:!1,SVGFECompositeElement:!1,SVGFEConvolveMatrixElement:!1,SVGFEDiffuseLightingElement:!1,SVGFEDisplacementMapElement:!1,SVGFEDistantLightElement:!1,SVGFEDropShadowElement:!1,SVGFEFloodElement:!1,SVGFEFuncAElement:!1,SVGFEFuncBElement:!1,SVGFEFuncGElement:!1,SVGFEFuncRElement:!1,SVGFEGaussianBlurElement:!1,SVGFEImageElement:!1,SVGFEMergeElement:!1,SVGFEMergeNodeElement:!1,SVGFEMorphologyElement:!1,SVGFEOffsetElement:!1,SVGFEPointLightElement:!1,SVGFESpecularLightingElement:!1,SVGFESpotLightElement:!1,SVGFETileElement:!1,SVGFETurbulenceElement:!1,SVGFilterElement:!1,SVGForeignObjectElement:!1,SVGGElement:!1,SVGGeometryElement:!1,SVGGradientElement:!1,SVGGraphicsElement:!1,SVGImageElement:!1,SVGLength:!1,SVGLengthList:!1,SVGLinearGradientElement:!1,SVGLineElement:!1,SVGMarkerElement:!1,SVGMaskElement:!1,SVGMatrix:!1,SVGMetadataElement:!1,SVGMPathElement:!1,SVGNumber:!1,SVGNumberList:!1,SVGPathElement:!1,SVGPatternElement:!1,SVGPoint:!1,SVGPointList:!1,SVGPolygonElement:!1,SVGPolylineElement:!1,SVGPreserveAspectRatio:!1,SVGRadialGradientElement:!1,SVGRect:!1,SVGRectElement:!1,SVGScriptElement:!1,SVGSetElement:!1,SVGStopElement:!1,SVGStringList:!1,SVGStyleElement:!1,SVGSVGElement:!1,SVGSwitchElement:!1,SVGSymbolElement:!1,SVGTextContentElement:!1,SVGTextElement:!1,SVGTextPathElement:!1,SVGTextPositioningElement:!1,SVGTitleElement:!1,SVGTransform:!1,SVGTransformList:!1,SVGTSpanElement:!1,SVGUnitTypes:!1,SVGUseElement:!1,SVGViewElement:!1,TaskAttributionTiming:!1,Text:!1,TextDecoder:!1,TextEncoder:!1,TextEvent:!1,TextMetrics:!1,TextTrack:!1,TextTrackCue:!1,TextTrackCueList:!1,TextTrackList:!1,TimeRanges:!1,toolbar:!1,top:!1,Touch:!1,TouchEvent:!1,TouchList:!1,TrackEvent:!1,TransitionEvent:!1,TreeWalker:!1,UIEvent:!1,URL:!1,URLSearchParams:!1,ValidityState:!1,visualViewport:!1,VisualViewport:!1,VTTCue:!1,WaveShaperNode:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLProgram:!1,WebGLQuery:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLSampler:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLSync:!1,WebGLTexture:!1,WebGLTransformFeedback:!1,WebGLUniformLocation:!1,WebGLVertexArrayObject:!1,WebSocket:!1,WheelEvent:!1,window:!1,Window:!1,Worker:!1,WritableStream:!1,XMLDocument:!1,XMLHttpRequest:!1,XMLHttpRequestEventTarget:!1,XMLHttpRequestUpload:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathExpression:!1,XPathResult:!1,XSLTProcessor:!1},worker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,clearInterval:!1,clearTimeout:!1,close:!0,console:!1,fetch:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!0,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onlanguagechange:!0,onmessage:!0,onoffline:!0,ononline:!0,onrejectionhandled:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,removeEventListener:!1,Request:!1,Response:!1,self:!0,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},node:{__dirname:!1,__filename:!1,Buffer:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,console:!1,exports:!0,global:!1,Intl:!1,module:!1,process:!1,queueMicrotask:!1,require:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1},commonjs:{exports:!0,global:!1,module:!1,require:!1},amd:{define:!1,require:!1},mocha:{after:!1,afterEach:!1,before:!1,beforeEach:!1,context:!1,describe:!1,it:!1,mocha:!1,run:!1,setup:!1,specify:!1,suite:!1,suiteSetup:!1,suiteTeardown:!1,teardown:!1,test:!1,xcontext:!1,xdescribe:!1,xit:!1,xspecify:!1},jasmine:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fail:!1,fdescribe:!1,fit:!1,it:!1,jasmine:!1,pending:!1,runs:!1,spyOn:!1,spyOnProperty:!1,waits:!1,waitsFor:!1,xdescribe:!1,xit:!1},jest:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fdescribe:!1,fit:!1,it:!1,jest:!1,pit:!1,require:!1,test:!1,xdescribe:!1,xit:!1,xtest:!1},qunit:{asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notOk:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,throws:!1},phantomjs:{console:!0,exports:!0,phantom:!0,require:!0,WebPage:!0},couch:{emit:!1,exports:!1,getRow:!1,log:!1,module:!1,provides:!1,require:!1,respond:!1,send:!1,start:!1,sum:!1},rhino:{defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},nashorn:{__DIR__:!1,__FILE__:!1,__LINE__:!1,com:!1,edu:!1,exit:!1,java:!1,Java:!1,javafx:!1,JavaImporter:!1,javax:!1,JSAdapter:!1,load:!1,loadWithNewGlobal:!1,org:!1,Packages:!1,print:!1,quit:!1},wsh:{ActiveXObject:!0,Enumerator:!0,GetObject:!0,ScriptEngine:!0,ScriptEngineBuildVersion:!0,ScriptEngineMajorVersion:!0,ScriptEngineMinorVersion:!0,VBArray:!0,WScript:!0,WSH:!0,XDomainRequest:!0},jquery:{$:!1,jQuery:!1},yui:{YAHOO:!1,YAHOO_config:!1,YUI:!1,YUI_config:!1},shelljs:{cat:!1,cd:!1,chmod:!1,config:!1,cp:!1,dirs:!1,echo:!1,env:!1,error:!1,exec:!1,exit:!1,find:!1,grep:!1,ln:!1,ls:!1,mkdir:!1,mv:!1,popd:!1,pushd:!1,pwd:!1,rm:!1,sed:!1,set:!1,target:!1,tempdir:!1,test:!1,touch:!1,which:!1},prototypejs:{$:!1,$$:!1,$A:!1,$break:!1,$continue:!1,$F:!1,$H:!1,$R:!1,$w:!1,Abstract:!1,Ajax:!1,Autocompleter:!1,Builder:!1,Class:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Element:!1,Enumerable:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Scriptaculous:!1,Selector:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Template:!1,Toggle:!1,Try:!1},meteor:{_:!1,$:!1,Accounts:!1,AccountsClient:!1,AccountsCommon:!1,AccountsServer:!1,App:!1,Assets:!1,Blaze:!1,check:!1,Cordova:!1,DDP:!1,DDPRateLimiter:!1,DDPServer:!1,Deps:!1,EJSON:!1,Email:!1,HTTP:!1,Log:!1,Match:!1,Meteor:!1,Mongo:!1,MongoInternals:!1,Npm:!1,Package:!1,Plugin:!1,process:!1,Random:!1,ReactiveDict:!1,ReactiveVar:!1,Router:!1,ServiceConfiguration:!1,Session:!1,share:!1,Spacebars:!1,Template:!1,Tinytest:!1,Tracker:!1,UI:!1,Utils:!1,WebApp:!1,WebAppInternals:!1},mongo:{_isWindows:!1,_rand:!1,BulkWriteResult:!1,cat:!1,cd:!1,connect:!1,db:!1,getHostName:!1,getMemInfo:!1,hostname:!1,ISODate:!1,listFiles:!1,load:!1,ls:!1,md5sumFile:!1,mkdir:!1,Mongo:!1,NumberInt:!1,NumberLong:!1,ObjectId:!1,PlanCache:!1,print:!1,printjson:!1,pwd:!1,quit:!1,removeFile:!1,rs:!1,sh:!1,UUID:!1,version:!1,WriteResult:!1},applescript:{$:!1,Application:!1,Automation:!1,console:!1,delay:!1,Library:!1,ObjC:!1,ObjectSpecifier:!1,Path:!1,Progress:!1,Ref:!1},serviceworker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,CacheStorage:!1,clearInterval:!1,clearTimeout:!1,Client:!1,clients:!1,Clients:!1,close:!0,console:!1,ExtendableEvent:!1,ExtendableMessageEvent:!1,fetch:!1,FetchEvent:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!1,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onfetch:!0,oninstall:!0,onlanguagechange:!0,onmessage:!0,onmessageerror:!0,onnotificationclick:!0,onnotificationclose:!0,onoffline:!0,ononline:!0,onpush:!0,onpushsubscriptionchange:!0,onrejectionhandled:!0,onsync:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,registration:!1,removeEventListener:!1,Request:!1,Response:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerGlobalScope:!1,ServiceWorkerMessageEvent:!1,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,skipWaiting:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,WindowClient:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},atomtest:{advanceClock:!1,fakeClearInterval:!1,fakeClearTimeout:!1,fakeSetInterval:!1,fakeSetTimeout:!1,resetTimeouts:!1,waitsForPromise:!1},embertest:{andThen:!1,click:!1,currentPath:!1,currentRouteName:!1,currentURL:!1,fillIn:!1,find:!1,findAll:!1,findWithAssert:!1,keyEvent:!1,pauseTest:!1,resumeTest:!1,triggerEvent:!1,visit:!1,wait:!1},protractor:{$:!1,$$:!1,browser:!1,by:!1,By:!1,DartObject:!1,element:!1,protractor:!1},"shared-node-browser":{clearInterval:!1,clearTimeout:!1,console:!1,setInterval:!1,setTimeout:!1,URL:!1,URLSearchParams:!1},webextensions:{browser:!1,chrome:!1,opr:!1},greasemonkey:{cloneInto:!1,createObjectIn:!1,exportFunction:!1,GM:!1,GM_addStyle:!1,GM_deleteValue:!1,GM_getResourceText:!1,GM_getResourceURL:!1,GM_getValue:!1,GM_info:!1,GM_listValues:!1,GM_log:!1,GM_openInTab:!1,GM_registerMenuCommand:!1,GM_setClipboard:!1,GM_setValue:!1,GM_xmlhttpRequest:!1,unsafeWindow:!1},devtools:{$:!1,$_:!1,$$:!1,$0:!1,$1:!1,$2:!1,$3:!1,$4:!1,$x:!1,chrome:!1,clear:!1,copy:!1,debug:!1,dir:!1,dirxml:!1,getEventListeners:!1,inspect:!1,keys:!1,monitor:!1,monitorEvents:!1,profile:!1,profileEnd:!1,queryObjects:!1,table:!1,undebug:!1,unmonitor:!1,unmonitorEvents:!1,values:!1}};function C2(){return wz?wK:(wz=1,wK=C0)}var C6=(fc.env.BABEL_8_BREAKING,C2()),C4={ForStatement:function(e){var t=e.get("init");if(t.isVar()){var r=e.scope;(r.getFunctionParent()||r.getProgramParent()).registerBinding("var",t)}},Declaration:function(e){!(e.isBlockScoped()||e.isImportDeclaration())&&(e.isExportDeclaration()||(e.scope.getFunctionParent()||e.scope.getProgramParent()).registerDeclaration(e))},ImportDeclaration:function(e){e.scope.getBlockParent().registerDeclaration(e)},ReferencedIdentifier:function(e,t){t.references.push(e)},ForXStatement:function(e,t){var r=e.get("left");if(r.isPattern()||r.isIdentifier())t.constantViolations.push(e);else if(r.isVar()){var a=e.scope;(a.getFunctionParent()||a.getProgramParent()).registerBinding("var",r)}},ExportDeclaration:{exit:function(e){var t=e.node,r=e.scope;if(!pj(t)){var a=t.declaration;if(pE(a)||l6(a)){var n=a.id;if(!n)return;var s=r.getBinding(n.name);null==s||s.reference(e)}else if(ph(a))for(var i,o=lV(a.declarations);!(i=o()).done;)for(var u=i.value,d=0,c=Object.keys(Cm(u));d1&&(r+=t),"_"+r},t.generateUidBasedOnNode=function(e,t){var r=[];!function e(t,r){switch(null==t?void 0:t.type){default:if(pP(t)||Dz(t)){var a;if((pj(t)||pS(t)||pP(t))&&t.source)e(t.source,r);else if((pS(t)||pP(t))&&null!=(a=t.specifiers)&&a.length)for(var n,s=lV(t.specifiers);!(n=s()).done;)e(n.value,r);else(pw(t)||pS(t))&&t.declaration&&e(t.declaration,r)}else DY(t)?e(t.local,r):!DW(t)||pr(t)||pn(t)||pW(t)||r.push(t.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":e(t.object,r),e(t.property,r);break;case"Identifier":case"JSXIdentifier":r.push(t.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":e(t.callee,r);break;case"ObjectExpression":case"ObjectPattern":for(var i,o=lV(t.properties);!(i=o()).done;)e(i.value,r);break;case"SpreadElement":case"RestElement":case"UnaryExpression":case"UpdateExpression":e(t.argument,r);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":e(t.key,r);break;case"ThisExpression":r.push("this");break;case"Super":r.push("super");break;case"Import":r.push("import");break;case"DoExpression":r.push("do");break;case"YieldExpression":r.push("yield"),e(t.argument,r);break;case"AwaitExpression":r.push("await"),e(t.argument,r);break;case"AssignmentExpression":e(t.left,r);break;case"VariableDeclarator":case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":case"PrivateName":e(t.id,r);break;case"ParenthesizedExpression":e(t.expression,r);break;case"MetaProperty":e(t.meta,r),e(t.property,r);break;case"JSXElement":e(t.openingElement,r);break;case"JSXOpeningElement":e(t.name,r);break;case"JSXFragment":e(t.openingFragment,r);break;case"JSXOpeningFragment":r.push("Fragment");break;case"JSXNamespacedName":e(t.namespace,r),e(t.name,r)}}(e,r);var a=r.join("$");return a=a.replace(/^_/,"")||t||"ref",this.generateUid(a.slice(0,20))},t.generateUidIdentifierBasedOnNode=function(e,t){return mD(this.generateUidBasedOnNode(e,t))},t.isStatic=function(e){if(pg(e)||pL(e)||Dh(e))return!0;if(l7(e)){var t=this.getBinding(e.name);return t?t.constant:this.hasBinding(e.name)}return!1},t.maybeGenerateMemoised=function(e,t){if(this.isStatic(e))return null;var r=this.generateUidIdentifierBasedOnNode(e);return t?r:(this.push({id:r}),vn(r))},t.checkBlockScopedCollisions=function(e,t,r,a){if("param"!==t&&"local"!==e.kind&&("let"===t||"let"===e.kind||"const"===e.kind||"module"===e.kind||"param"===e.kind&&"const"===t))throw this.hub.buildError(a,'Duplicate declaration "'+r+'"',TypeError)},t.rename=function(e,t){var r=this.getBinding(e);r&&(t||(t=this.generateUidIdentifier(e).name),new C3(r,e,t).rename(arguments[2]))},t._renameFromMap=function(e,t,r,a){e[t]&&(e[r]=a,e[t]=null)},t.dump=function(){var e="-".repeat(60);console.log(e);var t=this;do{console.log("#",t.block.type);for(var r=0,a=Object.keys(t.bindings);r0)&&this.isPure(e.body,t);if(px(e)){for(var a,n,s=lV(e.body);!(n=s()).done;){var i=n.value;if(!this.isPure(i,t))return!1}return!0}if(DB(e))return this.isPure(e.left,t)&&this.isPure(e.right,t);if(lX(e)||Dy(e)){for(var o,u=lV(e.elements);!(o=u()).done;){var d=o.value;if(null!==d&&!this.isPure(d,t))return!1}return!0}if(pu(e)||Dm(e)){for(var c,l=lV(e.properties);!(c=l()).done;){var p=c.value;if(!this.isPure(p,t))return!1}return!0}else if(Dq(e))return(!e.computed||!!this.isPure(e.key,t))&&!((null==(D=e.decorators)?void 0:D.length)>0);else if(DG(e))return!(e.computed&&!this.isPure(e.key,t)||(null==(f=e.decorators)?void 0:f.length)>0||(pc(e)||e.static)&&null!==e.value&&!this.isPure(e.value,t));else if(pm(e))return this.isPure(e.argument,t);else if(pW(e)){for(var D,f,g,m=lV(e.expressions);!(g=m()).done;){var y=g.value;if(!this.isPure(y,t))return!1}return!0}else if(pU(e))return D3(e.tag,"String.raw")&&!this.hasBinding("String",{noGlobals:!0})&&this.isPure(e.quasi,t);else if(ps(e))return!e.computed&&l7(e.object)&&"Symbol"===e.object.name&&l7(e.property)&&"for"!==e.property.name&&!this.hasBinding("Symbol",{noGlobals:!0});else if(lZ(e))return D3(e.callee,"Symbol.for")&&!this.hasBinding("Symbol",{noGlobals:!0})&&1===e.arguments.length&&pe(e.arguments[0]);else return DL(e)},t.setData=function(e,t){return this.data[e]=t},t.getData=function(e){var t=this;do{var r=t.data[e];if(null!=r)return r}while(t=t.parent)},t.removeData=function(e){var t=this;do null!=t.data[e]&&(t.data[e]=null);while(t=t.parent)},t.init=function(){this.inited||(this.inited=!0,this.crawl())},t.crawl=function(){var e=this.path;this.references=Object.create(null),this.bindings=Object.create(null),this.globals=Object.create(null),this.uids=Object.create(null),this.data=Object.create(null);var t=this.getProgramParent();if(!t.crawling){var r={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,"Program"!==e.type&&CP(C4)){for(var a,n=lV(C4.enter);!(a=n()).done;)a.value.call(r,e,r);var s=C4[e.type];if(s)for(var i,o=lV(s.enter);!(i=o()).done;)i.value.call(r,e,r)}e.traverse(C4,r),this.crawling=!1;for(var u,d=lV(r.assignments);!(u=d()).done;){for(var c=u.value,l=c.getBindingIdentifiers(),p=0,D=Object.keys(l);p>18&63]+Rr[a>>12&63]+Rr[a>>6&63]+Rr[63&a]);return n.join("")}(e,i,i+16383>o?o:i+16383));return 1===a?n+=Rr[(t=e[r-1])>>2]+Rr[t<<4&63]+"==":2===a&&(n+=Rr[(t=(e[r-2]<<8)+e[r-1])>>10]+Rr[t>>4&63]+Rr[t<<2&63]+"="),s.push(n),s.join("")}function Ru(e,t,r,a,n){var s,i,o=8*n-a-1,u=(1<>1,c=-7,l=r?n-1:0,p=r?-1:1,D=e[t+l];for(l+=p,s=D&(1<<-c)-1,D>>=-c,c+=o;c>0;s=256*s+e[t+l],l+=p,c-=8);for(i=s&(1<<-c)-1,s>>=-c,c+=a;c>0;i=256*i+e[t+l],l+=p,c-=8);if(0===s)s=1-d;else{if(s===u)return i?NaN:1/0*(D?-1:1);i+=Math.pow(2,a),s-=d}return(D?-1:1)*i*Math.pow(2,s-a)}function Rd(e,t,r,a,n,s){var i,o,u,d=8*s-n-1,c=(1<>1,p=23===n?5960464477539062e-23:0,D=a?0:s-1,f=a?1:-1,g=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(o=isNaN(t)?1:0,i=c):(i=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-i))<1&&(i--,u*=2),i+l>=1?t+=p/u:t+=p*Math.pow(2,1-l),t*u>=2&&(i++,u/=2),i+l>=c?(o=0,i=c):i+l>=1?(o=(t*u-1)*Math.pow(2,n),i+=l):(o=t*Math.pow(2,l-1)*Math.pow(2,n),i=0));n>=8;e[r+D]=255&o,D+=f,o/=256,n-=8);for(i=i<0;e[r+D]=255&i,D+=f,i/=256,d-=8);e[r+D-f]|=128*g}var Rc={}.toString,Rl=Array.isArray||function(e){return"[object Array]"==Rc.call(e)};function Rp(){return Rf.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function RD(e,t){if(Rp()=Rp())throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Rp().toString(16)+" bytes");return 0|e}function Rv(e){return!!(null!=e&&e._isBuffer)}function RC(e,t){if(Rv(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var a=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return RI(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return RN(e).length;default:if(a)return RI(e).length;t=(""+t).toLowerCase(),a=!0}}function RR(e,t,r){var a,n,s=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var a,n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var s="",i=t;i2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),isNaN(r=+r)&&(r=n?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(n)return -1;r=e.length-1}else if(r<0){if(!n)return -1;r=0}if("string"==typeof t&&(t=Rf.from(t,a)),Rv(t))return 0===t.length?-1:RE(e,t,r,a,n);if("number"==typeof t)return(t&=255,Rf.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf)?n?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):RE(e,[t],r,a,n);throw TypeError("val must be string, number or Buffer")}function RE(e,t,r,a,n){var s,i=1,o=e.length,u=t.length;if(void 0!==a&&("ucs2"===(a=String(a).toLowerCase())||"ucs-2"===a||"utf16le"===a||"utf-16le"===a)){if(e.length<2||t.length<2)return -1;i=2,o/=2,u/=2,r/=2}function d(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(n){var c=-1;for(s=r;so&&(r=o-u),s=r;s>=0;s--){for(var l=!0,p=0;p239?4:d>223?3:d>191?2:1;if(n+l<=r)switch(l){case 1:d<128&&(c=d);break;case 2:(192&(s=e[n+1]))==128&&(u=(31&d)<<6|63&s)>127&&(c=u);break;case 3:s=e[n+1],i=e[n+2],(192&s)==128&&(192&i)==128&&(u=(15&d)<<12|(63&s)<<6|63&i)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:s=e[n+1],i=e[n+2],o=e[n+3],(192&s)==128&&(192&i)==128&&(192&o)==128&&(u=(15&d)<<18|(63&s)<<12|(63&i)<<6|63&o)>65535&&u<1114112&&(c=u)}null===c?(c=65533,l=1):c>65535&&(c-=65536,a.push(c>>>10&1023|55296),c=56320|1023&c),a.push(c),n+=l}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var r="",a=0;ar)throw RangeError("Trying to access beyond buffer length")}function RS(e,t,r,a,n,s){if(!Rv(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>n||te.length)throw RangeError("Index out of range")}function RT(e,t,r,a){t<0&&(t=65535+t+1);for(var n=0,s=Math.min(e.length-r,2);n>>(a?n:1-n)*8}function RA(e,t,r,a){t<0&&(t=4294967295+t+1);for(var n=0,s=Math.min(e.length-r,4);n>>(a?n:3-n)*8&255}function RP(e,t,r,a,n,s){if(r+a>e.length||r<0)throw RangeError("Index out of range")}function Rk(e,t,r,a,n){return n||RP(e,t,r,4),Rd(e,t,r,a,23,4),r+4}function RB(e,t,r,a,n){return n||RP(e,t,r,8),Rd(e,t,r,a,52,8),r+8}Rf.TYPED_ARRAY_SUPPORT=void 0===D2.TYPED_ARRAY_SUPPORT||D2.TYPED_ARRAY_SUPPORT,Rp(),Rf.poolSize=8192,Rf._augment=function(e){return e.__proto__=Rf.prototype,e},Rf.from=function(e,t,r){return Rg(null,e,t,r)},Rf.TYPED_ARRAY_SUPPORT&&(Rf.prototype.__proto__=Uint8Array.prototype,Rf.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Rf[Symbol.species]),Rf.alloc=function(e,t,r){return(Rm(e),e<=0)?RD(null,e):void 0!==t?"string"==typeof r?RD(null,e).fill(t,r):RD(null,e).fill(t):RD(null,e)},Rf.allocUnsafe=function(e){return Ry(null,e)},Rf.allocUnsafeSlow=function(e){return Ry(null,e)},Rf.isBuffer=RL,Rf.compare=function(e,t){if(!Rv(e)||!Rv(t))throw TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,a=t.length,n=0,s=Math.min(r,a);n0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),""},Rf.prototype.compare=function(e,t,r,a,n){if(!Rv(e))throw TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===a&&(a=0),void 0===n&&(n=this.length),t<0||r>e.length||a<0||n>this.length)throw RangeError("out of range index");if(a>=n&&t>=r)return 0;if(a>=n)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,a>>>=0,n>>>=0,this===e)return 0;for(var s=n-a,i=r-t,o=Math.min(s,i),u=this.slice(a,n),d=e.slice(t,r),c=0;cm)&&(r=m),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");a||(a="utf8");for(var y=!1;;)switch(a){case"hex":return function(e,t,r,a){r=Number(r)||0;var n=e.length-r;a?(a=Number(a))>n&&(a=n):a=n;var s=t.length;if(s%2!=0)throw TypeError("Invalid hex string");a>s/2&&(a=s/2);for(var i=0;i>8,n.push(r%256),n.push(a);return n}(e,this.length-f),this,f,g);default:if(y)throw TypeError("Unknown encoding: "+a);a=(""+a).toLowerCase(),y=!0}},Rf.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},Rf.prototype.slice=function(e,t){var r,a=this.length;if(e=~~e,t=void 0===t?a:~~t,e<0?(e+=a)<0&&(e=0):e>a&&(e=a),t<0?(t+=a)<0&&(t=0):t>a&&(t=a),t0&&(n*=256);)a+=this[e+--t]*n;return a},Rf.prototype.readUInt8=function(e,t){return t||Rw(e,1,this.length),this[e]},Rf.prototype.readUInt16LE=function(e,t){return t||Rw(e,2,this.length),this[e]|this[e+1]<<8},Rf.prototype.readUInt16BE=function(e,t){return t||Rw(e,2,this.length),this[e]<<8|this[e+1]},Rf.prototype.readUInt32LE=function(e,t){return t||Rw(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Rf.prototype.readUInt32BE=function(e,t){return t||Rw(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Rf.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||Rw(e,t,this.length);for(var a=this[e],n=1,s=0;++s=(n*=128)&&(a-=Math.pow(2,8*t)),a},Rf.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||Rw(e,t,this.length);for(var a=t,n=1,s=this[e+--a];a>0&&(n*=256);)s+=this[e+--a]*n;return s>=(n*=128)&&(s-=Math.pow(2,8*t)),s},Rf.prototype.readInt8=function(e,t){return(t||Rw(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},Rf.prototype.readInt16LE=function(e,t){t||Rw(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},Rf.prototype.readInt16BE=function(e,t){t||Rw(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},Rf.prototype.readInt32LE=function(e,t){return t||Rw(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Rf.prototype.readInt32BE=function(e,t){return t||Rw(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Rf.prototype.readFloatLE=function(e,t){return t||Rw(e,4,this.length),Ru(this,e,!0,23,4)},Rf.prototype.readFloatBE=function(e,t){return t||Rw(e,4,this.length),Ru(this,e,!1,23,4)},Rf.prototype.readDoubleLE=function(e,t){return t||Rw(e,8,this.length),Ru(this,e,!0,52,8)},Rf.prototype.readDoubleBE=function(e,t){return t||Rw(e,8,this.length),Ru(this,e,!1,52,8)},Rf.prototype.writeUIntLE=function(e,t,r,a){if(e=+e,t|=0,r|=0,!a){var n=Math.pow(2,8*r)-1;RS(this,e,t,r,n,0)}var s=1,i=0;for(this[t]=255&e;++i=0&&(i*=256);)this[t+s]=e/i&255;return t+r},Rf.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||RS(this,e,t,1,255,0),Rf.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},Rf.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||RS(this,e,t,2,65535,0),Rf.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):RT(this,e,t,!0),t+2},Rf.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||RS(this,e,t,2,65535,0),Rf.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):RT(this,e,t,!1),t+2},Rf.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||RS(this,e,t,4,4294967295,0),Rf.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):RA(this,e,t,!0),t+4},Rf.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||RS(this,e,t,4,4294967295,0),Rf.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):RA(this,e,t,!1),t+4},Rf.prototype.writeIntLE=function(e,t,r,a){if(e=+e,t|=0,!a){var n=Math.pow(2,8*r-1);RS(this,e,t,r,n-1,-n)}var s=0,i=1,o=0;for(this[t]=255&e;++s>0)-o&255;return t+r},Rf.prototype.writeIntBE=function(e,t,r,a){if(e=+e,t|=0,!a){var n=Math.pow(2,8*r-1);RS(this,e,t,r,n-1,-n)}var s=r-1,i=1,o=0;for(this[t+s]=255&e;--s>=0&&(i*=256);)e<0&&0===o&&0!==this[t+s+1]&&(o=1),this[t+s]=(e/i>>0)-o&255;return t+r},Rf.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||RS(this,e,t,1,127,-128),Rf.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},Rf.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||RS(this,e,t,2,32767,-32768),Rf.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):RT(this,e,t,!0),t+2},Rf.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||RS(this,e,t,2,32767,-32768),Rf.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):RT(this,e,t,!1),t+2},Rf.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||RS(this,e,t,4,2147483647,-2147483648),Rf.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):RA(this,e,t,!0),t+4},Rf.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||RS(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),Rf.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):RA(this,e,t,!1),t+4},Rf.prototype.writeFloatLE=function(e,t,r){return Rk(this,e,t,!0,r)},Rf.prototype.writeFloatBE=function(e,t,r){return Rk(this,e,t,!1,r)},Rf.prototype.writeDoubleLE=function(e,t,r){return RB(this,e,t,!0,r)},Rf.prototype.writeDoubleBE=function(e,t,r){return RB(this,e,t,!1,r)},Rf.prototype.copy=function(e,t,r,a){if(r||(r=0),a||0===a||(a=this.length),t>=e.length&&(t=e.length),t||(t=0),a>0&&a=this.length)throw RangeError("sourceStart out of bounds");if(a<0)throw RangeError("sourceEnd out of bounds");a>this.length&&(a=this.length),e.length-t=0;--n)e[n+t]=this[n+r];else if(s<1e3||!Rf.TYPED_ARRAY_SUPPORT)for(n=0;n>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(n=t;n55295&&r<57344){if(!n){if(r>56319||i+1===a){(t-=3)>-1&&s.push(239,191,189);continue}n=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),n=r;continue}r=(n-55296<<10|r-56320)+65536}else n&&(t-=3)>-1&&s.push(239,191,189);if(n=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return s}function RO(e){for(var t=[],r=0;r0)throw Error("Invalid string. Length must be a multiple of 4");s="="===e[o-2]?2:"="===e[o-1]?1:0,i=new Rn(3*o/4-s),a=s>0?o-4:o;var u=0;for(t=0,r=0;t>16&255,i[u++]=n>>8&255,i[u++]=255&n;return 2===s?(n=Ra[e.charCodeAt(t)]<<2|Ra[e.charCodeAt(t+1)]>>4,i[u++]=255&n):1===s&&(n=Ra[e.charCodeAt(t)]<<10|Ra[e.charCodeAt(t+1)]<<4|Ra[e.charCodeAt(t+2)]>>2,i[u++]=n>>8&255,i[u++]=255&n),i}(function(e){var t;if((e=((t=e).trim?t.trim():t.replace(/^\s+|\s+$/g,"")).replace(R_,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function RM(e,t,r,a){for(var n=0;n=t.length)&&!(n>=e.length);++n)t[n+r]=e[n];return n}function RL(e){return null!=e&&(!!e._isBuffer||RU(e)||"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&RU(e.slice(0,0)))}function RU(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var RW={exports:{}};function Rq(){return wX||(wX=1,function(e){for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=new Uint8Array(64),a=new Uint8Array(128),n=0;n>>=1,u&&(s=-2147483648|-s),r[n]+=s,t}function u(e,t,r){return!(t>=r)&&44!==e.charCodeAt(t)}function d(e,t){return e[0]-t[0]}function c(e,t,a,n,s){var i=n[s],o=i-a[s];a[s]=i,o=o<0?-o<<1|1:o<<1;do{var u=31&o;(o>>>=5)>0&&(u|=32),e[t++]=r[u]}while(o>0);return t}e.decode=function(e){var t=new Int32Array(5),r=[],a=0;do{var n=function(e,t){var r=e.indexOf(";",t);return -1===r?e.length:r}(e,a),s=[],i=!0,c=0;t[0]=0;for(var l=a;l0&&(16384===n&&(s+=i.decode(r),n=0),r[n++]=59),0!==u.length){t[0]=0;for(var d=0;d16348&&(s+=i.decode(a),r.copyWithin(0,16348,n),n-=16348),d>0&&(r[n++]=44),n=c(r,n,t,l,0),1!==l.length&&(n=c(r,n,t,l,1),n=c(r,n,t,l,2),n=c(r,n,t,l,3),4!==l.length&&(n=c(r,n,t,l,4)))}}}return s+i.decode(r.subarray(0,n))},Object.defineProperty(e,"__esModule",{value:!0})}(RW.exports)),RW.exports}var RG={},RV={exports:{}};(function(e,t,r){function a(e,t){return t&&!t.endsWith("/")&&(t+="/"),r(e,t)}function n(e,t){for(var r=t;r=0&&e[a][0]===t;r=a--);return r}function d(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function c(e,t,r,a){var n=r.lastKey,s=r.lastNeedle,o=r.lastIndex,u=0,d=e.length-1;if(a===n){if(t===s)return i=-1!==o&&e[o][0]===t,o;t>=s?u=-1===o?0:o:d=o}return r.lastKey=a,r.lastNeedle=t,r.lastIndex=function(e,t,r,a){for(;r<=a;){var n=r+(a-r>>1),s=e[n][0]-t;if(0===s)return i=!0,n;s<0?r=n+1:a=n-1}return i=!1,r-1}(e,t,u,d)}function l(){return{__proto__:null}}function p(e){return"string"==typeof e?JSON.parse(e):e}function D(e,t){for(var r=0;rt;a--)e[a]=e[a-1];e[t]=r}(f,m,[p,a,i[0]])}}return r}(h(e),e._bySourceMemos=p.map(d))))[m][r];if(null==y)return s?[]:x(null,null);var b=e._bySourceMemos[m];if(s)return function(e,t,r,a,n){var s=F(e,t,r,a,1);if(!i&&-1===n&&s++,-1===s||s===e.length)return[];var d=i?a:e[s][0];i||(s=u(e,d,s));for(var c=o(e,d,s),l=[];s<=c;s++){var p=e[s];l.push(x(p[1]+1,p[2]))}return l}(y,b,r,a,n);var v=F(y,b,r,a,n);if(-1===v)return x(null,null);var C=y[v];return x(C[1]+1,C[2])}e.AnyMap=function(e,t){var r=p(e);if(!("sections"in r))return new m(r,t);var a=[],n=[],s=[],i=[],o=[];return function e(t,r,a,n,s,i,o,u,d,c,l){for(var f=t.sections,g=0;gc)return;for(var S=function(e,t){for(var r=e.length;r<=t;r++)e[r]=[];return e[t]}(a,w),T=0===j?d:0,A=v[j],P=0;P=l)return;if(1===k.length){S.push([B]);continue}var _=y+k[1],I=k[2],O=k[3];S.push(4===k.length?[B,_,I,O]:[B,_,I,O,b+k[4]])}}})(b,r,a,n,s,i,o,u+v.line,d+v.column,C,R)}}(r,t,a,n,s,i,o,0,0,1/0,1/0),v({version:3,file:r.file,names:i,sources:n,sourcesContent:s,mappings:a,ignoreList:o})},e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=-1,e.TraceMap=m,e.allGeneratedPositionsFor=function(e,t){return E(e,t.source,t.line,t.column,t.bias||-1,!0)},e.decodedMap=function(e){return C(e,h(e))},e.decodedMappings=h,e.eachMapping=function(e,t){for(var r=h(e),a=e.names,n=e.resolvedSources,s=0;s=s.length)return R(null,null,null,null);var i=s[r],o=F(i,e._decodedMemo,r,a,n||1);if(-1===o)return R(null,null,null,null);var u=i[o];if(1===u.length)return R(null,null,null,null);var d=e.names;return R(e.resolvedSources[u[1]],u[2]+1,u[3],5===u.length?d[u[4]]:null)},e.presortedDecodedMap=v,e.sourceContentFor=function(e,t){var r=e.sourcesContent;if(null==r)return null;var a=b(e,t);return -1===a?null:r[a]},e.traceSegment=function(e,t,r){var a=h(e);if(t>=a.length)return null;var n=a[t],s=F(n,e._decodedMemo,t,r,1);return -1===s?null:n[s]}})(RG,Rq(),(wJ||(wJ=1,wg=function(){var e=/^[\w+.-]+:\/\//,t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,r=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function a(e){return e.startsWith("/")}function n(e){return/^[.?#]/.test(e)}function s(e){var r=t.exec(e);return i(r[1],r[2]||"",r[3],r[4]||"",r[5]||"/",r[6]||"",r[7]||"")}function i(e,t,r,a,n,s,i){return{scheme:e,user:t,host:r,port:a,path:n,query:s,hash:i,type:7}}function o(t){if(t.startsWith("//")){var n,o,u=s("http:"+t);return u.scheme="",u.type=6,u}if(a(t)){var d=s("http://foo.com"+t);return d.scheme="",d.host="",d.type=5,d}if(t.startsWith("file:"))return o=(n=r.exec(t))[2],i("file:","",n[1]||"","",a(o)?o:"/"+o,n[3]||"",n[4]||"");if(e.test(t))return s(t);var c=s("http://foo.com/"+t);return c.scheme="",c.host="",c.type=t?t.startsWith("?")?3:t.startsWith("#")?2:4:1,c}function u(e,t){for(var r=t<=4,a=e.path.split("/"),n=1,s=0,i=!1,o=1;oa&&(a=i)}u(r,a);var d=r.query+r.hash;switch(a){case 2:case 3:return d;case 4:var c=r.path.slice(1);if(!c)return d||".";if(n(t||e)&&!n(c))return"./"+c+d;return c+d;case 5:return r.path+d;default:return r.scheme+"//"+r.user+r.host+r.port+r.path+d}}},RV.exports=wg()),RV.exports));(function(e,t,r,a){var n=lk(function(e){var r=void 0===e?{}:e,a=r.file,n=r.sourceRoot;this._names=new t.SetArray,this._sources=new t.SetArray,this._sourcesContent=[],this._mappings=[],this.file=a,this.sourceRoot=n,this._ignoreList=new t.SetArray});function s(e){var t=e._mappings,r=e._sources,a=e._sourcesContent,n=e._names,s=e._ignoreList;return function(e){for(var t=e.length,r=t,a=r-1;a>=0&&!(e[a].length>0);r=a,a--);r=0&&!(t>=e[a][0]);r=a--);return r}(g,n);if(!s){if(e&&(0===m||1===g[m-1].length))return;return o(g,m,[n])}var y=t.put(p,s),h=d?t.put(f,d):-1;if(y===D.length&&(D[y]=null!=c?c:null),!(e&&function(e,t,r,a,n,s){if(0===t)return!1;var i=e[t-1];return 1!==i.length&&r===i[1]&&a===i[2]&&n===i[3]&&s===(5===i.length?i[4]:-1)}(g,m,y,i,u,h)))return o(g,m,d?[n,y,i,u,h]:[n,y,i,u])}function o(e,t,r){for(var a=e.length;a>t;a--)e[a]=e[a-1];e[t]=r}function u(e,r){for(var a=0;a1?this._indentChar.repeat(t):this._indentChar}else this._str+=t>1?String.fromCharCode(e).repeat(t):String.fromCharCode(e);10!==e?(this._mark(r.line,r.column,r.identifierName,r.identifierNamePos,r.filename),this._position.column+=t):(this._position.line++,this._position.column=0),this._canMarkIdName&&(r.identifierName=void 0,r.identifierNamePos=void 0)},t._append=function(e,t,r){var a=e.length,n=this._position;if(this._last=e.charCodeAt(a-1),++this._appendCount>4096?(this._str,this._buf+=this._str,this._str=e,this._appendCount=0):this._str+=e,!r&&!this._map){n.column+=a;return}var s=t.column,i=t.identifierName,o=t.identifierNamePos,u=t.filename,d=t.line;(null!=i||null!=o)&&this._canMarkIdName&&(t.identifierName=void 0,t.identifierNamePos=void 0);var c=e.indexOf("\n"),l=0;for(0!==c&&this._mark(d,s,i,o,u);-1!==c;)n.line++,n.column=0,(l=c+1)=0&&10===this._queue[r].char;r--)t++;return t===e&&10===this._last?t+1:t},t.endsWithCharAndNewline=function(){var e=this._queue,t=this._queueCursor;if(0!==t)return 10!==e[t-1].char?void 0:t>1?e[t-2].char:this._last},t.hasContent=function(){return 0!==this._queueCursor||!!this._last},t.exactSource=function(e,t){if(!this._map){t();return}this.source("start",e);var r=e.identifierName,a=this._sourcePosition;r&&(this._canMarkIdName=!1,a.identifierName=r),t(),r&&(this._canMarkIdName=!0,a.identifierName=void 0,a.identifierNamePos=void 0),this.source("end",e)},t.source=function(e,t){this._map&&this._normalizePosition(e,t,0)},t.sourceWithOffset=function(e,t,r){this._map&&this._normalizePosition(e,t,r)},t.withSource=function(e,t,r){this._map&&this.source(e,t),r()},t._normalizePosition=function(e,t,r){var a=t[e],n=this._sourcePosition;a&&(n.line=a.line,n.column=Math.max(a.column+r,0),n.filename=t.filename)},t.getCurrentColumn=function(){for(var e=this._queue,t=this._queueCursor,r=-1,a=0,n=0;n",0],["&&",1],["|",2],["^",3],["&",4],["==",5],["===",5],["!=",5],["!==",5],["<",6],[">",6],["<=",6],[">=",6],["in",6],["instanceof",6],[">>",7],["<<",7],[">>>",7],["+",8],["-",8],["*",9],["/",9],["%",9],["**",10]]);function R$(e){return"TSAsExpression"===e||"TSSatisfiesExpression"===e||"TSTypeAssertion"===e}var RQ=function(e,t){var r=t.type;return("ClassDeclaration"===r||"ClassExpression"===r)&&t.superClass===e},RZ=function(e,t){var r=t.type;return("MemberExpression"===r||"OptionalMemberExpression"===r)&&t.object===e||("CallExpression"===r||"OptionalCallExpression"===r||"NewExpression"===r)&&t.callee===e||"TaggedTemplateExpression"===r&&t.tag===e||"TSNonNullExpression"===r};function R1(e,t){var r=t.type;return"ArrayTypeAnnotation"===r||"NullableTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"UnionTypeAnnotation"===r}function R3(){return!0}function R8(e,t){var r=t.type;return"TSArrayType"===r||"TSOptionalType"===r||"TSIntersectionType"===r||"TSUnionType"===r||"TSRestType"===r}function R0(e,t){var r=t.type;return"BinaryExpression"===r||"LogicalExpression"===r||"UnaryExpression"===r||"SpreadElement"===r||RZ(e,t)||"AwaitExpression"===r&&pq(e)||"ConditionalExpression"===r&&e===t.test||RQ(e,t)}function R2(e,t){return RZ(e,t)||l$(t)&&"**"===t.operator&&t.left===e||RQ(e,t)}function R6(e,t){var r=t.type;return!!("UnaryExpression"===r||"SpreadElement"===r||"BinaryExpression"===r||"LogicalExpression"===r||"ConditionalExpression"===r&&t.test===e||"AwaitExpression"===r||R$(r))||R2(e,t)}function R4(e,t){return lZ(t)&&t.callee===e||ps(t)&&t.object===e}function R7(e,t){var r=1&t,a=2&t,n=4&t,s=8&t,i=16&t,o=32&t,u=e.length-1;if(!(u<=0)){for(var d=e[u],c=e[--u];u>=0;){var l=c.type;if(r&&"ExpressionStatement"===l&&c.expression===d||n&&"ExportDefaultDeclaration"===l&&d===c.declaration||a&&"ArrowFunctionExpression"===l&&c.body===d||s&&"ForStatement"===l&&c.init===d||i&&"ForInStatement"===l&&c.left===d||o&&"ForOfStatement"===l&&c.left===d)return!0;if(u>0&&(RZ(d,c)&&"NewExpression"!==l||"SequenceExpression"===l&&c.expressions[0]===d||"UpdateExpression"===l&&!c.prefix||"ConditionalExpression"===l&&c.test===d||("BinaryExpression"===l||"LogicalExpression"===l)&&c.left===d||"AssignmentExpression"===l&&c.left===d))d=c,c=e[--u];else break}return!1}}function R9(e){var t=new Map;function r(e,r){var a=t.get(e);t.set(e,a?function(e,t,n){var s;return null!=(s=a(e,t,n))?s:r(e,t,n)}:r)}for(var a=0,n=Object.keys(e);an)return!0}},BinaryExpression:function(e,t){if("in"===e.operator){var r=t.type;return"VariableDeclarator"===r||"ForStatement"===r||"ForInStatement"===r||"ForOfStatement"===r}return!1},ClassExpression:function(e,t,r){return R7(r,5)},ConditionalExpression:R6,DoExpression:function(e,t,r){return!e.async&&R7(r,1)},FunctionExpression:function(e,t,r){return R7(r,5)},FunctionTypeAnnotation:function(e,t,r){if(!(r.length<3)){var a=t.type;return"UnionTypeAnnotation"===a||"IntersectionTypeAnnotation"===a||"ArrayTypeAnnotation"===a||"TypeAnnotation"===a&&pR(r[r.length-3])}},Identifier:function(e,t,r){var a,n=t.type;if(null!=(a=e.extra)&&a.parenthesized&&"AssignmentExpression"===n&&t.left===e){var s=t.right.type;if(("FunctionExpression"===s||"ClassExpression"===s)&&null==t.right.id)return!0}return"let"===e.name?R7(r,ps(t,{object:e,computed:!0})||pz(t,{object:e,computed:!0,optional:!1})?57:32):"async"===e.name&&pA(t)&&e===t.left},IntersectionTypeAnnotation:R1,LogicalExpression:function(e,t){var r=t.type;if(R$(r))return!0;if("LogicalExpression"!==r)return!1;switch(e.operator){case"||":return"??"===t.operator||"&&"===t.operator;case"&&":return"??"===t.operator;case"??":return"??"!==t.operator}},NullableTypeAnnotation:function(e,t){return p1(t)},ObjectExpression:function(e,t,r){return R7(r,3)},OptionalCallExpression:R4,OptionalIndexedAccessType:function(e,t){return Da(t)&&t.objectType===e},OptionalMemberExpression:R4,SequenceExpression:function(e,t){var r=t.type;return"ForStatement"!==r&&"ThrowStatement"!==r&&"ReturnStatement"!==r&&("IfStatement"!==r||t.test!==e)&&("WhileStatement"!==r||t.test!==e)&&("ForInStatement"!==r||t.right!==e)&&("SwitchStatement"!==r||t.discriminant!==e)&&("ExpressionStatement"!==r||t.expression!==e)},TSAsExpression:R3,TSInferType:function(e,t){var r=t.type;return"TSArrayType"===r||"TSOptionalType"===r},TSInstantiationExpression:function(e,t){var r=t.type;return("CallExpression"===r||"OptionalCallExpression"===r||"NewExpression"===r||"TSInstantiationExpression"===r)&&!!t.typeParameters},TSIntersectionType:R8,TSSatisfiesExpression:R3,TSTypeAssertion:R3,TSUnionType:R8,UnaryLike:R2,UnionTypeAnnotation:R1,UpdateExpression:function(e,t){return RZ(e,t)||RQ(e,t)},YieldExpression:R0}));function xe(e,t,r){var a;return!!t&&(!!(pi(t)&&t.callee===e&&function e(t){return!!lZ(t)||ps(t)&&e(t.object)}(e))||(null==(a=R5.get(e.type))?void 0:a(e,t,r)))}function xt(e,t){var r=this.inForStatementInitCounter&&"in"===e.operator&&!xe(e,t);r&&this.tokenChar(40),this.print(e.left,e),this.space(),"in"===e.operator||"instanceof"===e.operator?this.word(e.operator):this.token(e.operator),this.space(),this.print(e.right,e),r&&this.tokenChar(41)}function xr(e){this.word("for"),this.space();var t="ForOfStatement"===e.type;t&&e.await&&(this.word("await"),this.space()),this.noIndentInnerCommentsHere(),this.tokenChar(40),this.print(e.left,e),this.space(),this.word(t?"of":"in"),this.space(),this.print(e.right,e),this.tokenChar(41),this.printBlock(e)}function xa(e,t,r,a){t&&(e.space(),e.printTerminatorless(t,r,a)),e.semicolon()}function xn(e,t){(pw(t)||pS(t))&&this._shouldPrintDecoratorsBeforeExport(t)||this.printJoin(e.decorators,e),e.declare&&(this.word("declare"),this.space()),e.abstract&&(this.word("abstract"),this.space()),this.word("class"),e.id&&(this.space(),this.print(e.id,e)),this.print(e.typeParameters,e),e.superClass&&(this.space(),this.word("extends"),this.space(),this.print(e.superClass,e),this.print(e.superTypeParameters,e)),e.implements&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements,e)),this.space(),this.print(e.body,e)}function xs(e,t){this._functionHead(e,t),this.space(),this.print(e.body,e)}function xi(e,t){var r,a,n,s,i,o=e;if(!o&&t){var u=t.type;"VariableDeclarator"===u?o=t.id:"AssignmentExpression"===u||"AssignmentPattern"===u?o=t.left:"ObjectProperty"===u||"ClassProperty"===u?t.computed&&"StringLiteral"!==t.key.type||(o=t.key):("ClassPrivateProperty"===u||"ClassAccessorProperty"===u)&&(o=t.key)}if(o)return"Identifier"===o.type?r={pos:null==(a=o.loc)?void 0:a.start,name:(null==(n=o.loc)?void 0:n.identifierName)||o.name}:"PrivateName"===o.type?r={pos:null==(s=o.loc)?void 0:s.start,name:"#"+o.id.name}:"StringLiteral"===o.type&&(r={pos:null==(i=o.loc)?void 0:i.start,name:o.value}),r}R9(RX);var xo=!1;function xu(e){var t,r;this.word("export"),this.space(),"type"===e.exportKind&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),null!=(t=e.attributes)&&t.length||null!=(r=e.assertions)&&r.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,e),this.semicolon()}function xd(e,t){pE(t.declaration)&&e._shouldPrintDecoratorsBeforeExport(t)&&e.printJoin(t.declaration.decorators,t)}var xc=(fc.env.BABEL_8_BREAKING,function(){if(wQ)return w$;wQ=1;var e={},t=e.hasOwnProperty,r=function(e,r){for(var a in e)t.call(e,a)&&r(a,e[a])},a=function(e,t){for(var r=e.length,a=-1;++a=55296&&U<=56319&&M>N+1){var W=O.charCodeAt(N+1);if(W>=56320&&W<=57343){var q=((U-55296)*1024+W-56320+65536).toString(16);h||(q=q.toUpperCase()),p+="\\u{"+q+"}",++N;continue}}}if(!l.escapeEverything){if(c.test(L)){p+=L;continue}if('"'==L){p+=m==L?'\\"':L;continue}if("`"==L){p+=m==L?"\\`":L;continue}if("'"==L){p+=m==L?"\\'":L;continue}}if("\0"==L&&!g&&!d.test(O.charAt(N+1))){p+="\\0";continue}if(u.test(L)){p+=o[L];continue}var G=L.charCodeAt(0);if(l.minimal&&8232!=G&&8233!=G){p+=L;continue}var V=G.toString(16);h||(V=V.toUpperCase());var H=V.length>2||g,K="\\"+(H?"u":"x")+("0000"+V).slice(H?-4:-2);p+=K}return(l.wrap&&(p=m+p+m),"`"==m&&(p=p.replace(/\$\{/g,"\\${")),l.isScriptContext)?p.replace(/<\/(script|style)/gi,"<\\/$1").replace(//,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},M.languages.markup.tag.inside["attr-value"].inside.entity=M.languages.markup.entity,M.languages.markup.doctype.inside["internal-subset"].inside=M.languages.markup,M.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(M.languages.markup.tag,"addInlined",{value:function(e,t){var r={},r=(r["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:M.languages[t]},r.cdata=/^$/i,{"included-cdata":{pattern://i,inside:r}}),t=(r["language-"+t]={pattern:/[\s\S]+/,inside:M.languages[t]},{});t[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:r},M.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(M.languages.markup.tag,"addAttribute",{value:function(e,t){M.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:M.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),M.languages.html=M.languages.markup,M.languages.mathml=M.languages.markup,M.languages.svg=M.languages.markup,M.languages.xml=M.languages.extend("markup",{}),M.languages.ssml=M.languages.xml,M.languages.atom=M.languages.xml,M.languages.rss=M.languages.xml,l={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},u=RegExp((u="(?:[^\\\\-]|"+(c=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")")+"-"+u),d={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},M.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:u,inside:{escape:c,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":l,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:c}},"special-escape":l,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":d}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:c,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},M.languages.javascript=M.languages.extend("clike",{"class-name":[M.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),M.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,M.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:M.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:M.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:M.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:M.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:M.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),M.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:M.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),M.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),M.languages.markup&&(M.languages.markup.tag.addInlined("script","javascript"),M.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),M.languages.js=M.languages.javascript,M.languages.actionscript=M.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),M.languages.actionscript["class-name"].alias="function",delete M.languages.actionscript.parameter,delete M.languages.actionscript["literal-property"],M.languages.markup&&M.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:M.languages.markup}}),p=/#(?!\{).+/,f={pattern:/#\{[^}]+\}/,alias:"variable"},M.languages.coffeescript=M.languages.extend("javascript",{comment:p,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:f}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),M.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:p,interpolation:f}}}),M.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:M.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:f}}]}),M.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete M.languages.coffeescript["template-string"],M.languages.coffee=M.languages.coffeescript,Object.defineProperty(g=M.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/},"addSupport",{value:function(e,t){(e="string"==typeof e?[e]:e).forEach(function(e){var r=function(e){e.inside||(e.inside={}),e.inside.rest=t},n="doc-comment";if(o=M.languages[e]){var o,a=o[n];if((a=a||(o=M.languages.insertBefore(e,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[n])instanceof RegExp&&(a=o[n]={pattern:a}),Array.isArray(a))for(var i=0,s=a.length;i|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),r={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:r,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:r})}(M),function(e){var t=/[*&][^\s[\]{},]+/,r=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,n="(?:"+r.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+r.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return n}).replace(/<>/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return n})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return n}).replace(/<>/g,function(){return"(?:"+o+"|"+a+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(a),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:r,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(M),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function r(e){return e=e.replace(//g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var n=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return n}),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,i=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+a+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+a+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(n),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(n),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:r(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:r(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:r(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:r(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(r){t!==r&&(e.languages.markdown[t].inside.content.inside[r]=e.languages.markdown[r])})}),e.hooks.add("after-tokenize",function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var r=0,n=t.length;r",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(M),M.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:M.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},M.hooks.add("after-tokenize",function(e){if("graphql"===e.language)for(var t=e.tokens.filter(function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type}),r=0;r?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],r=t.pattern.source,n=t.inside.interpolation,o=n.inside["interpolation-punctuation"],a=n.pattern.source;function i(t,n){if(e.languages[t])return{pattern:RegExp("((?:"+n+")\\s*)"+r),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function s(t,r,n){return t={code:t,grammar:r,language:n},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var l={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};e.hooks.add("after-tokenize",function(t){t.language in l&&function t(r){for(var i=0,l=r.length;i=d.length)return;var i,l,p,f,g,h,m,y=r[a];"string"==typeof y||"string"==typeof y.content?(i=d[c],-1!==(m=(h="string"==typeof y?y:y.content).indexOf(i))&&(++c,l=h.substring(0,m),g=u[i],p=void 0,(f={})["interpolation-punctuation"]=o,3===(f=e.tokenize(g,f)).length&&((p=[1,1]).push.apply(p,s(f[1],e.languages.javascript,"javascript")),f.splice.apply(f,p)),p=new e.Token("interpolation",f,n.alias,g),f=h.substring(m+i.length),g=[],l&&g.push(l),g.push(p),f&&(t(h=[f]),g.push.apply(g,h)),"string"==typeof y?(r.splice.apply(r,[a,1].concat(g)),a+=g.length-1):y.content=g)):Array.isArray(m=y.content)?t(m):t([m])}}(l),new e.Token(i,l,"language-"+i,t)}(u,d,p))):t(c):"string"!=typeof c&&t([c]))}}(t.tokens)})}(M),M.languages.typescript=M.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),M.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete M.languages.typescript.parameter,delete M.languages.typescript["literal-property"],m=M.languages.extend("typescript",{}),delete m["class-name"],M.languages.typescript["class-name"].inside=m,M.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:m}}}}),M.languages.ts=M.languages.typescript,y=M.languages.javascript,v="(@(?:arg|argument|param|property)\\s+(?:"+(b=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source)+"\\s+)?)",M.languages.jsdoc=M.languages.extend("javadoclike",{parameter:{pattern:RegExp(v+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),M.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(v+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:y,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return b})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+b),lookbehind:!0,inside:{string:y.string,number:y.number,boolean:y.boolean,keyword:M.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:y,alias:"language-javascript"}}}}),M.languages.javadoclike.addSupport("javascript",M.languages.jsdoc),M.languages.flow=M.languages.extend("javascript",{}),M.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),M.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete M.languages.flow.parameter,M.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(M.languages.flow.keyword)||(M.languages.flow.keyword=[M.languages.flow.keyword]),M.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0}),M.languages.n4js=M.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),M.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),M.languages.n4jsd=M.languages.n4js,function(e){function t(e,t){return RegExp(e.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var r=["function","function-variable","method","method-variable","property-access"],n=0;n*\.{3}(?:[^{}]|)*\})/.source;function a(e,t){return RegExp(e=e.replace(//g,function(){return r}).replace(//g,function(){return n}).replace(//g,function(){return o}),t)}o=a(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:a(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(i).join(""):""};e.hooks.add("after-tokenize",function(t){"jsx"!==t.language&&"tsx"!==t.language||function t(r){for(var n=[],o=0;o"!==a.content[a.content.length-1].content&&n.push({tagName:i(a.content[0].content[1]),openedBraces:0}):0]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},M.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=M.languages.swift}),M.languages.kotlin=M.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete M.languages.kotlin["class-name"],w={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:M.languages.kotlin}},M.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:w},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:w},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete M.languages.kotlin.string,M.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),M.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),M.languages.kt=M.languages.kotlin,M.languages.kts=M.languages.kotlin,M.languages.c=M.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),M.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),M.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},M.languages.c.string],char:M.languages.c.char,comment:M.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:M.languages.c}}}}),M.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete M.languages.c.boolean,M.languages.objectivec=M.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete M.languages.objectivec["class-name"],M.languages.objc=M.languages.objectivec,M.languages.reason=M.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),M.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete M.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,r=0;r<2;r++)t=t.replace(//g,function(){return t});t=t.replace(//g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(M),M.languages.go=M.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),M.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete M.languages.go["class-name"],S=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,k=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return S.source}),M.languages.cpp=M.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return S.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:S,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),M.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return k})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),M.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:M.languages.cpp}}}}),M.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),M.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:M.languages.extend("cpp",{})}}),M.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},M.languages.cpp["base-clause"]),M.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},M.languages.python["string-interpolation"].inside.interpolation.inside.rest=M.languages.python,M.languages.py=M.languages.python;var $={};((e,t)=>{for(var r in t)_(e,r,{get:t[r],enumerable:!0})})($,{dracula:()=>Z,duotoneDark:()=>U,duotoneLight:()=>H,github:()=>G,jettwaveDark:()=>eo,jettwaveLight:()=>ea,nightOwl:()=>W,nightOwlLight:()=>Y,oceanicNext:()=>X,okaidia:()=>K,oneDark:()=>ei,oneLight:()=>es,palenight:()=>J,shadesOfPurple:()=>Q,synthwave84:()=>ee,ultramin:()=>et,vsDark:()=>er,vsLight:()=>en});var Z={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},U={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},H={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},G={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},W={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},Y={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},q="#c5a5c5",V="#8dc891",X={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:q}},{types:["attr-value"],style:{color:V}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:"#999999"}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:"#5a9bcf"}},{types:["boolean"],style:{color:"#ff8b50"}},{types:["tag"],style:{color:"#fc929e"}},{types:["string"],style:{color:V}},{types:["punctuation"],style:{color:V}},{types:["selector","char","builtin","inserted"],style:{color:"#D8DEE9"}},{types:["function"],style:{color:"#79b6f2"}},{types:["operator","entity","url","variable"],style:{color:"#d7deea"}},{types:["keyword"],style:{color:q}},{types:["atrule","class-name"],style:{color:"#FAC863"}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},K={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},J={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},Q={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},ee={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},et={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},er={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},en={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},eo={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},ea={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},ei={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},es={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},el=(e,t)=>{let{plain:r}=e,n=e.styles.reduce((e,r)=>{let{languages:n,style:o}=r;return n&&!n.includes(t)||r.types.forEach(t=>{let r=z(z({},e[t]),o);e[t]=r}),e},{});return n.root=r,n.plain=D(z({},r),{backgroundColor:void 0}),n},ec=(e,t)=>{let[r,n]=(0,E.useState)(el(t,e)),o=(0,E.useRef)(),a=(0,E.useRef)();return(0,E.useEffect)(()=>{(t!==o.current||e!==a.current)&&(o.current=t,a.current=e,n(el(t,e)))},[e,t]),r},eu=e=>(0,E.useCallback)(t=>{var{className:r,style:n,line:o}=t;let a=D(z({},B(t,["className","style","line"])),{className:A("token-line",r)});return"object"==typeof e&&"plain"in e&&(a.style=e.plain),"object"==typeof n&&(a.style=z(z({},a.style||{}),n)),a},[e]),ed=e=>{let t=(0,E.useCallback)(({types:t,empty:r})=>{if(null!=e)return 1===t.length&&"plain"===t[0]?null!=r?{display:"inline-block"}:void 0:1===t.length&&null!=r?e[t[0]]:Object.assign(null!=r?{display:"inline-block"}:{},...t.map(t=>e[t]))},[e]);return(0,E.useCallback)(e=>{var{token:r,className:n,style:o}=e;let a=D(z({},B(e,["token","className","style"])),{className:A("token",...r.types,n),children:r.content,style:t(r)});return null!=o&&(a.style=z(z({},a.style||{}),o)),a},[t])},ep=/\r\n|\r|\n/,ef=e=>{0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},eg=(e,t)=>{let r=e.length;return r>0&&e[r-1]===t?e:e.concat(t)},eh=e=>{let t=[[]],r=[e],n=[0],o=[e.length],a=0,i=0,s=[],l=[s];for(;i>-1;){for(;(a=n[i]++)0?c:["plain"],e=u):(c=eg(c,u.type),u.alias&&(c=eg(c,u.alias)),e=u.content),"string"!=typeof e){i++,t.push(c),r.push(e),n.push(0),o.push(e.length);continue}let d=e.split(ep),p=d.length;s.push({types:c,content:d[0]});for(let e=1;e{let o=(0,E.useRef)(e);return(0,E.useMemo)(()=>{if(null==r)return eh([t]);let e={code:t,grammar:r,language:n,tokens:[]};return o.current.hooks.run("before-tokenize",e),e.tokens=o.current.tokenize(t,r),o.current.hooks.run("after-tokenize",e),eh(e.tokens)},[t,r,n])},ey=({children:e,language:t,code:r,theme:n,prism:o})=>{let a=t.toLowerCase(),i=ec(a,n),s=eu(i),l=ed(i),c=o.languages[a];return e({tokens:em({prism:o,language:a,code:r,grammar:c}),className:`prism-code language-${a}`,style:null!=i?i.root:{},getLineProps:s,getTokenProps:l})},eb=e=>(0,E.createElement)(ey,D(z({},e),{prism:e.prism||M,theme:e.theme||er,code:e.code,language:e.language}));/*! Bundled license information: + +prismjs/prism.js: + (** + * Prism: Lightweight, robust, elegant syntax highlighting + * + * @license MIT + * @author Lea Verou + * @namespace + * @public + *) +*/}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],function(){return t(41249),t(55423)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/_error-81a2c40225931225.js b/_next/static/chunks/pages/_error-81a2c40225931225.js new file mode 100644 index 000000000..5d5143643 --- /dev/null +++ b/_next/static/chunks/pages/_error-81a2c40225931225.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4820],{37963:function(n,_,u){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_error",function(){return u(12987)}])}},function(n){n.O(0,[2888,9774,179],function(){return n(n.s=37963)}),_N_E=n.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/accordion-panel-0ef400e2e30e978c.js b/_next/static/chunks/pages/accordion-panel-0ef400e2e30e978c.js new file mode 100644 index 000000000..27f3e2f1c --- /dev/null +++ b/_next/static/chunks/pages/accordion-panel-0ef400e2e30e978c.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5289],{48317:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/accordion-panel",function(){return r(81091)}])},41957:function(e,n,r){"use strict";r.d(n,{F:function(){return l}});var t=r(97458),i=r(67778),s=r(31321);r(52983);var a=r(53398);let o=(e,n)=>{let{query:r,push:t}=(0,a.useRouter)(),i=e.map(e=>{let{render:n,...r}=e;return r}),s=r[n],o=s&&!Array.isArray(s)?s:e[0].id;return{activeContent:e.find(e=>e.id===o),activePills:o?[o]:[],pills:i,handlePillClick:e=>{t({query:{...r,[n]:e}},void 0,{scroll:!1,shallow:!0})}}},d=e=>{let{routes:n,id:r}=e,{activeContent:a,activePills:d,pills:l,handlePillClick:c}=o(n,r);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.N,{activePills:d,items:l,onPillClick:c}),(0,t.jsx)(s.x,{marginTop:"xSmall",children:null==a?void 0:a.render()})]})},l=e=>0===e.routes.length?null:(0,t.jsx)(d,{...e})},22465:function(e,n,r){"use strict";r.d(n,{t:function(){return c}});var t=r(97458),i=r(76635),s=r(39270),a=r(83273),o=r(31321),d=r(31962),l=r(62831);r(52983);let c=e=>{let{recommended:n,discouraged:r}=e;return(0,t.jsxs)(t.Fragment,{children:[n.length>0&&(0,t.jsx)(i.W,{columns:[{header:"Do",hash:"do",render:e=>{let{recommend:n}=e;return n}}],items:n.map(e=>({recommend:(0,t.jsxs)(s.k,{alignItems:"center",children:[(0,t.jsx)(a.B,{flexGrow:0,marginRight:"large",children:(0,t.jsx)(d.r,{color:"success"})}),(0,t.jsx)(a.B,{children:e})]})}))}),r.length>0&&(0,t.jsx)(o.x,{marginTop:"xLarge",children:(0,t.jsx)(i.W,{columns:[{header:"Don't",hash:"dont",render:e=>{let{discourage:n}=e;return n}}],items:r.map(e=>({discourage:(0,t.jsxs)(s.k,{alignItems:"center",children:[(0,t.jsx)(a.B,{flexGrow:0,marginRight:"large",children:(0,t.jsx)(l.P,{color:"danger"})}),(0,t.jsx)(a.B,{children:e})]})}))})})]})}},29676:function(e,n,r){"use strict";r.d(n,{p:function(){return o}});var t=r(97458),i=r(4857),s=r(75246),a=r.n(s);r(52983);let o=e=>{let{children:n,href:r}=e;return(0,t.jsx)(a(),{href:r,legacyBehavior:!0,passHref:!0,children:(0,t.jsx)(i.r,{children:n})})}},5423:function(e,n,r){"use strict";r.d(n,{n:function(){return x}});var t=r(97458),i=r(2513),s=r(89983),a=r(39270),o=r(4857),d=r(52983),l=r(63692),c=r(30765),h=r(76249);let u=(0,r(57931).ZP)(a.k).withConfig({componentId:"sc-e6496ff5-0"})(["cursor:pointer;display:inline-flex;flex-direction:row;"]),p=e=>{let{children:n,title:r}=e,[i,a]=(0,d.useState)(!0),o=()=>a(!i);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(u,{alignItems:"center",marginBottom:"xSmall",onClick:o,onKeyPress:e=>{("Enter"===e.key||" "===e.key)&&o()},tabIndex:0,children:[i?(0,t.jsx)(c.X,{title:"Expand"}):(0,t.jsx)(h.h,{title:"Collapse"}),(0,t.jsx)(s.xv,{children:r})]}),!i&&n]})},x=e=>{let{collapsible:n,id:r,propList:o,title:d,inheritedProps:c,nativeElement:h}=e,u=()=>o.length>0?(0,t.jsxs)(i.r,{marginBottom:n||c?"xLarge":"none",children:[(0,t.jsx)(i.i,{columns:[{header:"Prop name",hash:"propName",render:e=>{let{name:n,required:r}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.E,{primary:!0,children:n}),r?(0,t.jsx)("b",{children:" *"}):null]})}},{header:"Type",hash:"type",render:e=>{let{types:n}=e;return(0,t.jsx)(j,{types:n})}},{header:"Default",hash:"default",render:e=>{let{defaultValue:n}=e;return(0,t.jsx)(l.E,{highlight:!1,children:n})}},{header:"Description",hash:"description",width:"50%",render:e=>{let{description:n}=e;return(0,t.jsx)(s.xv,{children:n})}}],id:r,items:o}),(0,t.jsx)(s.x4,{marginTop:"xSmall",children:"Props ending with * are required"})]}):null;return n?(0,t.jsx)(p,{title:"".concat(d," Props"),children:u()}):(0,t.jsxs)(t.Fragment,{children:[(()=>{if(h){let[e,n]=h;return(0,t.jsxs)(s.xv,{children:["Supports ",n," native ",(0,t.jsxs)(l.E,{children:["<",e," />"]})," element attributes."]})}return null})(),u(),c?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.H3,{children:"Inherited"}),(0,t.jsx)(a.k,{flexDirection:"column",children:c})]}):null]})},m=e=>{let{type:n}=e;return(0,d.isValidElement)(n)&&n.type===o.r?(0,t.jsx)(l.E,{highlight:!1,children:n}):(0,t.jsx)(l.E,{children:n})},j=e=>{let{types:n}=e;return Array.isArray(n)?n.map((e,r)=>(0,t.jsxs)(d.Fragment,{children:[(0,t.jsx)(m,{type:e}),r(0,t.jsx)(u.n,{propList:p,title:"Accordion Panel",...e}),m=[{name:"children",types:"React.ReactNode",description:(0,t.jsxs)(t.Fragment,{children:["Render individual components to expandable region of ",(0,t.jsx)(a.E,{primary:!0,children:"Accordion"}),"."]}),required:!0},{name:"defaultExpanded",types:"boolean",description:(0,t.jsxs)(t.Fragment,{children:["Defines if ",(0,t.jsx)(a.E,{primary:!0,children:"Accordion"})," is expanded by default."]})},{name:"header",types:"string",description:(0,t.jsxs)(t.Fragment,{children:["Defines the ",(0,t.jsx)(a.E,{primary:!0,children:"Accordion"})," header text."]}),required:!0},{name:"iconLeft",types:(0,t.jsx)(h.p,{href:"/icons",children:"Icon"}),description:(0,t.jsxs)(t.Fragment,{children:["Pass in an ",(0,t.jsx)(h.p,{href:"/icons",children:"Icon"})," component to display to the left of the"," ",(0,t.jsx)(a.E,{primary:!0,children:"Accordion"})," header."]})},{name:"isExpanded",types:"boolean",description:(0,t.jsxs)(t.Fragment,{children:["Defines if ",(0,t.jsx)(a.E,{primary:!0,children:"Accordion"})," is expanded."]}),required:!0},{name:"onClick",types:"React.MouseEventHandler",description:(0,t.jsxs)(t.Fragment,{children:["Function that will be called when an ",(0,t.jsx)(a.E,{primary:!0,children:"Accordion"})," is clicked."]}),required:!0}],j=e=>(0,t.jsx)(u.n,{propList:m,title:"Accordion",...e});var f=()=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.H1,{children:"Accordion Panel"}),(0,t.jsxs)(s.s,{header:"Overview",headerId:"overview",children:[(0,t.jsxs)(i.xv,{children:[(0,t.jsx)(a.E,{primary:!0,children:"Accordion panels"})," are containers for content of relative importance to the user that can be selectively expanded or collapsed. They can be useful for reducing the content on a page & the cognitive load for the user."]}),(0,t.jsxs)(i.xv,{children:["An ",(0,t.jsx)(a.E,{primary:!0,children:"accordion panel"})," can display different types of content such as text, images, tables, media, buttons, etc. Components are added into the drop zone and render when the user expands the corresponding panel."]}),(0,t.jsx)(i.xv,{bold:!0,children:"When to use:"}),(0,t.jsxs)(o.a,{children:[(0,t.jsx)(o.a.Item,{children:"On similar or redundant information that must be presented together"}),(0,t.jsx)(o.a.Item,{children:"Step-by-step or sequential processes"})]})]}),(0,t.jsx)(s.s,{header:"Implementation",headerId:"implementation",children:(0,t.jsx)(d.G,{children:"function Example() {\n const { panels } = useAccordionPanel([\n {\n defaultExpanded: true,\n header: 'Panel Header',\n children: (\n \n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor\n incididunt ut labore et dolore magna aliqua. Pulvinar mattis nunc sed blandit\n libero volutpat. Eu lobortis elementum nibh tellus molestie nunc non.\n \n ),\n },\n {\n header: 'Panel Header',\n children: (\n \n Nullam eleifend a lectus non consequat. Fusce non mauris at velit sodales\n venenatis vitae ut erat. In hac habitasse platea dictumst. Quisque venenatis\n turpis at dapibus posuere. Phasellus pulvinar velit id tellus luctus, ac\n pharetra libero consequat.\n \n ),\n },\n ]);\n\n return ;\n}"})}),(0,t.jsx)(s.s,{header:"Props",headerId:"props",children:(0,t.jsx)(l.F,{id:"props",routes:[{id:"accordion-panel",title:"AccordionPanel",render:()=>(0,t.jsx)(x,{})},{id:"accordion",title:"Accordion",render:()=>(0,t.jsx)(j,{id:"accordion-prop-table"})}]})}),(0,t.jsx)(s.s,{header:"Do's and Don'ts",headerId:"guidelines",children:(0,t.jsx)(c.t,{discouraged:["Do not use accordions to hide important user tasks.","Do not use the icon prop unless it provides benefit to the user.","Do not nest accordions within accordions.","Do not use an accordion to hide a singular piece of content."],recommended:["Choose meaningful headers that describe the content revealed on expand.","Use the icon prop sparingly; an appropriate use would be the status of a task hidden in the accordion.","Use accordions to present parallel content or like items.","Limit the number of tasks hidden in each accordion to one.","Start with all panels collapsed unless the user has been redirected to the content."]})})]})}},function(e){e.O(0,[1814,9905,6417,3599,6295,7971,7270,7830,1391,2888,9774,179],function(){return e(e.s=48317)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/alert-a87ef55dd1761903.js b/_next/static/chunks/pages/alert-a87ef55dd1761903.js new file mode 100644 index 000000000..fc5f135b2 --- /dev/null +++ b/_next/static/chunks/pages/alert-a87ef55dd1761903.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6966],{42965:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/alert",function(){return t(59378)}])},64947:function(e,r,t){"use strict";t.d(r,{Oq:function(){return c},Pt:function(){return d},uu:function(){return l},vH:function(){return h}});var n=t(97458);t(52983);var s=t(29676),a=t(63692),i=t(5423);let l=[{name:"header",types:"string",description:"Optional header to display in message."},{name:"messages",types:(0,n.jsx)(s.p,{href:{hash:"message-item-prop-table",query:{props:"message-item"}},children:"MessageItem"}),description:(0,n.jsxs)(n.Fragment,{children:["See"," ",(0,n.jsx)(s.p,{href:{hash:"message-item-prop-table",query:{props:"message-item"}},children:"MessageItem"})," ","for usage."]}),required:!0},{name:"type",types:["success","error","warning","info"],description:"Determines the style of message to display.",defaultValue:"success"},{name:"onClose",types:"() => void",description:"Function that will be called on close events."}],o=[{name:"text",types:"string",description:"Message to be displayed.",required:!0},{name:"link",types:(0,n.jsx)(s.p,{href:{hash:"message-link-item-prop-table",query:{props:"message-link-item"}},children:"MessageLinkItem"}),description:(0,n.jsxs)(n.Fragment,{children:["See"," ",(0,n.jsx)(s.p,{href:{hash:"message-link-item-prop-table",query:{props:"message-link-item"}},children:"MessageLinkItem"})," ","for usage."]})}],d=[{name:"external",types:"boolean",description:(0,n.jsxs)(n.Fragment,{children:["Shows an external icon when the ",(0,n.jsx)(a.E,{primary:!0,children:"external"}),' prop is set and target="_blank".']})},{name:"href",types:"string",description:"Same as a HTML anchor href attribute."},{name:"text",types:"string",description:"Link text to display."},{name:"target",types:"string",description:"Same as a HTML anchor target attribute."}],c=e=>(0,n.jsx)(i.n,{propList:o,title:"",...e,id:"message-item-prop-table"}),h=e=>(0,n.jsx)(i.n,{propList:d,title:"",...e,id:"message-link-item-prop-table"})},16048:function(e,r,t){"use strict";t.d(r,{O:function(){return h}});var n=t(97458),s=t(31321),a=t(20312),i=t.n(a),l=t(52983),o=t(70126),d=t(48976),c=t(97894);let h=e=>{let{children:r,language:t="tsx",showControls:a=!0}=e,{theme:h}=(0,l.useContext)(c.c),p=function(e){if("string"!=typeof e)throw Error(" children must be of type string");return function(e){let r=e.split("\n");""===r[0].trim()&&r.splice(0,1),""===r[r.length-1].trim()&&r.pop();let t=r[0].search(/\S|$/);return r.map(e=>e.substr(t)).join("\n")}(e)}(r);return(0,n.jsxs)(s.x,{border:"box",marginBottom:"xxLarge",children:[a&&(0,n.jsx)(d.W,{copyToClipboard:()=>i()(p),helperText:"Code example"}),(0,n.jsx)(o.ML,{code:p,disabled:!0,language:t,style:{...h.plain,overflow:"auto"},theme:{...h,plain:{...h.plain,fontFamily:"monospace",whiteSpace:"pre-wrap"}}})]})};h.defaultProps={language:"tsx",showControls:!0}},41957:function(e,r,t){"use strict";t.d(r,{F:function(){return d}});var n=t(97458),s=t(67778),a=t(31321);t(52983);var i=t(53398);let l=(e,r)=>{let{query:t,push:n}=(0,i.useRouter)(),s=e.map(e=>{let{render:r,...t}=e;return t}),a=t[r],l=a&&!Array.isArray(a)?a:e[0].id;return{activeContent:e.find(e=>e.id===l),activePills:l?[l]:[],pills:s,handlePillClick:e=>{n({query:{...t,[r]:e}},void 0,{scroll:!1,shallow:!0})}}},o=e=>{let{routes:r,id:t}=e,{activeContent:i,activePills:o,pills:d,handlePillClick:c}=l(r,t);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.N,{activePills:o,items:d,onPillClick:c}),(0,n.jsx)(a.x,{marginTop:"xSmall",children:null==i?void 0:i.render()})]})},d=e=>0===e.routes.length?null:(0,n.jsx)(o,{...e})},29676:function(e,r,t){"use strict";t.d(r,{p:function(){return l}});var n=t(97458),s=t(4857),a=t(75246),i=t.n(a);t(52983);let l=e=>{let{children:r,href:t}=e;return(0,n.jsx)(i(),{href:t,legacyBehavior:!0,passHref:!0,children:(0,n.jsx)(s.r,{children:r})})}},5423:function(e,r,t){"use strict";t.d(r,{n:function(){return m}});var n=t(97458),s=t(2513),a=t(89983),i=t(39270),l=t(4857),o=t(52983),d=t(63692),c=t(30765),h=t(76249);let p=(0,t(57931).ZP)(i.k).withConfig({componentId:"sc-e6496ff5-0"})(["cursor:pointer;display:inline-flex;flex-direction:row;"]),u=e=>{let{children:r,title:t}=e,[s,i]=(0,o.useState)(!0),l=()=>i(!s);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(p,{alignItems:"center",marginBottom:"xSmall",onClick:l,onKeyPress:e=>{("Enter"===e.key||" "===e.key)&&l()},tabIndex:0,children:[s?(0,n.jsx)(c.X,{title:"Expand"}):(0,n.jsx)(h.h,{title:"Collapse"}),(0,n.jsx)(a.xv,{children:t})]}),!s&&r]})},m=e=>{let{collapsible:r,id:t,propList:l,title:o,inheritedProps:c,nativeElement:h}=e,p=()=>l.length>0?(0,n.jsxs)(s.r,{marginBottom:r||c?"xLarge":"none",children:[(0,n.jsx)(s.i,{columns:[{header:"Prop name",hash:"propName",render:e=>{let{name:r,required:t}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d.E,{primary:!0,children:r}),t?(0,n.jsx)("b",{children:" *"}):null]})}},{header:"Type",hash:"type",render:e=>{let{types:r}=e;return(0,n.jsx)(g,{types:r})}},{header:"Default",hash:"default",render:e=>{let{defaultValue:r}=e;return(0,n.jsx)(d.E,{highlight:!1,children:r})}},{header:"Description",hash:"description",width:"50%",render:e=>{let{description:r}=e;return(0,n.jsx)(a.xv,{children:r})}}],id:t,items:l}),(0,n.jsx)(a.x4,{marginTop:"xSmall",children:"Props ending with * are required"})]}):null;return r?(0,n.jsx)(u,{title:"".concat(o," Props"),children:p()}):(0,n.jsxs)(n.Fragment,{children:[(()=>{if(h){let[e,r]=h;return(0,n.jsxs)(a.xv,{children:["Supports ",r," native ",(0,n.jsxs)(d.E,{children:["<",e," />"]})," element attributes."]})}return null})(),p(),c?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.H3,{children:"Inherited"}),(0,n.jsx)(i.k,{flexDirection:"column",children:c})]}):null]})},x=e=>{let{type:r}=e;return(0,o.isValidElement)(r)&&r.type===l.r?(0,n.jsx)(d.E,{highlight:!1,children:r}):(0,n.jsx)(d.E,{children:r})},g=e=>{let{types:r}=e;return Array.isArray(r)?r.map((e,t)=>(0,n.jsxs)(o.Fragment,{children:[(0,n.jsx)(x,{type:e}),t{let{theme:r}=e;return r.colors.secondary70},e=>{let{theme:r}=e;return r.borderRadius.normal},e=>{let{theme:r}=e;return r.colors.white},e=>{let{theme:r}=e;return r.typography.fontSize.small},e=>{let{theme:r}=e;return r.typography.fontWeight.semiBold},e=>{let{theme:r}=e;return r.lineHeight.medium},e=>{let{theme:r}=e;return r.spacing.xSmall}),m=e=>{let{className:r,style:t,label:s,...a}=e;return(0,n.jsx)(u,{...a,children:s})},x=e=>{let{name:r,intro:t,usage:a,parameterList:i,returnDescription:o}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.H3,{children:(0,n.jsx)(c.E,{primary:!0,children:r})}),(0,n.jsx)(s.xv,{children:t}),(0,n.jsx)(h.O,{language:"javascript",showControls:!1,children:a}),i&&i.length>0&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(m,{label:"Parameters"}),(0,n.jsx)(l.a,{style:{listStyleType:"none"},children:i.map((e,r)=>{let{param:t,description:a,required:i}=e;return(0,n.jsx)(l.a.Item,{children:(0,n.jsxs)(s.xv,{children:[(0,n.jsx)(c.E,{children:t}),!i&&(0,n.jsx)(s.xv,{as:"span",bold:!0,children:"(optional)"}),": ",a]})},r)})})]}),(0,n.jsx)(m,{label:"Return Value",marginBottom:"medium"}),(0,n.jsx)(s.xv,{children:o})]})},g=()=>(0,n.jsx)(x,{intro:"Adds an alert to the manager with an optional callback on dismiss.",name:"add",parameterList:[{param:"alert",description:"An object with the same key/values as the alert props.",required:!0}],returnDescription:"The value of the alert key. If no key is provided, then an auto-generated one will be provided.",usage:"alertsManager.add({ messages: [{ text: 'error' }] }, () => null)"}),j=()=>(0,n.jsx)(x,{intro:"Removes an alert by key and displays the next alert, if available.",name:"remove",parameterList:[{param:"key",description:"Key of the alert to remove.",required:!0}],returnDescription:"Contains the alert removed.",usage:"alertsManager.remove(key)"}),y=()=>(0,n.jsx)(x,{intro:"Removes all alerts.",name:"clear",parameterList:[],returnDescription:"Contains the alerts removed.",usage:"alertsManager.clear()"}),f=()=>(0,n.jsx)(x,{intro:"Subscribe the the alerts manager.",name:"subscribe",parameterList:[{param:"callback",description:"Callback function to run when the alerts list changes. Will pass the alert to display, or null.",required:!0}],returnDescription:"An unsubscribe method for the subscibed method.",usage:"alertsManager.subscribe((alert) => {})"});var v=t(5423),b=t(64947);let w=[...b.uu,{name:"key",types:"string",description:"Key used to identify alert."},{name:"autoDismiss",types:"boolean",defaultValue:"false",description:(0,n.jsxs)(n.Fragment,{children:["Auto dismiss after 5 seconds.",(0,n.jsx)("br",{}),(0,n.jsx)(s.x4,{as:"span",children:"Note: Only valid when used with AlertManager."})]})}],k=e=>(0,n.jsx)(v.n,{propList:w,title:"Alert",...e});var M=t(59023),A=()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.H1,{children:"Alert"}),(0,n.jsxs)(a.s,{header:"Overview",headerId:"overview",children:[(0,n.jsx)(s.xv,{children:"Alerts are non-disruptive messages that appear at the top right of the window and provide quick, at-a-glance feedback on the outcome of an action."}),(0,n.jsx)(s.xv,{bold:!0,children:"When to use:"}),(0,n.jsx)(l.a,{children:(0,n.jsx)(l.a.Item,{children:"To update merchants about a change or give them advice."})})]}),(0,n.jsx)(a.s,{header:"Implementation",headerId:"implementation",children:(0,n.jsx)(o.G,{scope:{alertsManager:M.alertsManager},children:"function Example() {\n const alert: AlertProps = {\n header: 'Optional Headline',\n messages: [\n {\n text: 'Required description copy.',\n link: {\n text: 'Optional Link',\n href: '#',\n },\n },\n ],\n type: 'success',\n onClose: () => null,\n };\n\n return ;\n}"})}),(0,n.jsx)(a.s,{header:"Props",headerId:"props",children:(0,n.jsx)(d.F,{id:"props",routes:[{id:"alert",title:"Alert",render:()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.v,{marginBottom:"large",marginTop:"medium",messages:[{text:"Note: You should not use the Alert component directly. Instead, inject the AlertsManager component into your app and use the instance created by the createAlertsManager utility function to control which Alerts are displayed."}],type:"error"}),(0,n.jsx)(k,{})]})},{id:"message-item",title:"MessageItem",render:()=>(0,n.jsx)(b.Oq,{})},{id:"message-link-item",title:"MessageLinkItem",render:()=>(0,n.jsx)(b.vH,{})}]})}),(0,n.jsxs)(a.s,{header:"AlertsManager",children:[(0,n.jsxs)(s.xv,{children:["BigDesign comes with an ",(0,n.jsx)(c.E,{primary:!0,children:"AlertsManager"})," component that will manage and display which alerts to display and in which order by type. The order of priority from highest to lowest is ",(0,n.jsx)(c.E,{children:"error"}),", ",(0,n.jsx)(c.E,{children:"warning"}),", ",(0,n.jsx)(c.E,{children:"success"}),","," ",(0,n.jsx)(c.E,{children:"info"}),"."]}),(0,n.jsxs)(s.xv,{children:["To use this component, put it in your root component (e.g. place it after"," ",(0,n.jsx)(c.E,{children:"GlobalStyles"})," component):"]}),(0,n.jsx)(h.O,{children:"\n export const alertsManager = createAlertsManager(); // import this in child components to use alerts\n\n function App() {\n return (\n <>\n {/* ... */}\n \n \n {/* ... */}\n \n );\n }\n "}),(0,n.jsx)(s.H3,{children:"Add alert"}),(0,n.jsxs)(s.xv,{children:["This works in conjunction with an instance created by ",(0,n.jsx)(c.E,{children:"createAlertsManager"})," ","function below. You need to export ",(0,n.jsx)(c.E,{children:"alertsManager"})," instance and then you can import it in child components in order to trigger alert:"]}),(0,n.jsx)(h.O,{children:"\n import { alertsManager } from '../App';\n\n // ...\n\n const alert = {...}; // alert props\n alertsManager.add(alert);\n "}),(0,n.jsx)(s.H3,{children:"API"}),(0,n.jsxs)(s.xv,{children:["The ",(0,n.jsx)(c.E,{children:"createAlertsManager"})," function returns an instance for managing which alert to display."]}),(0,n.jsx)(h.O,{showControls:!1,children:"const alertsManager = createAlertsManager();"}),(0,n.jsx)(g,{}),(0,n.jsx)(j,{}),(0,n.jsx)(y,{}),(0,n.jsx)(f,{})]})]})}},function(e){e.O(0,[1814,9905,6417,3599,6295,7971,7270,7830,1391,2888,9774,179],function(){return e(e.s=42965)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/badge-75fb236049338d5c.js b/_next/static/chunks/pages/badge-75fb236049338d5c.js new file mode 100644 index 000000000..c38ef7732 --- /dev/null +++ b/_next/static/chunks/pages/badge-75fb236049338d5c.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9283],{32897:function(e,r,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/badge",function(){return n(30583)}])},81302:function(e,r,n){"use strict";n.d(r,{K:function(){return l}});var i=n(97458);n(52983);var t=n(29676),s=n(5423);let a=[{name:"margin",types:(0,i.jsx)(t.p,{href:"/spacing",children:"Spacing"}),description:"Determines the margin to be applied."},{name:"marginTop",types:(0,i.jsx)(t.p,{href:"/spacing",children:"Spacing"}),description:"Determines the top margin to be applied."},{name:"marginRight",types:(0,i.jsx)(t.p,{href:"/spacing",children:"Spacing"}),description:"Determines the right margin to be applied."},{name:"marginBottom",types:(0,i.jsx)(t.p,{href:"/spacing",children:"Spacing"}),description:"Determines the bottom margin to be applied."},{name:"marginLeft",types:(0,i.jsx)(t.p,{href:"/spacing",children:"Spacing"}),description:"Determines the left margin to be applied."},{name:"marginVertical",types:(0,i.jsx)(t.p,{href:"/spacing",children:"Spacing"}),description:"Determines the top and bottom margin to be applied."},{name:"marginHorizontal",types:(0,i.jsx)(t.p,{href:"/spacing",children:"Spacing"}),description:"Determines the left and right margin to be applied."}],l=e=>(0,i.jsx)(s.n,{propList:a,title:"Margin",...e})},41957:function(e,r,n){"use strict";n.d(r,{F:function(){return c}});var i=n(97458),t=n(67778),s=n(31321);n(52983);var a=n(53398);let l=(e,r)=>{let{query:n,push:i}=(0,a.useRouter)(),t=e.map(e=>{let{render:r,...n}=e;return n}),s=n[r],l=s&&!Array.isArray(s)?s:e[0].id;return{activeContent:e.find(e=>e.id===l),activePills:l?[l]:[],pills:t,handlePillClick:e=>{i({query:{...n,[r]:e}},void 0,{scroll:!1,shallow:!0})}}},d=e=>{let{routes:r,id:n}=e,{activeContent:a,activePills:d,pills:c,handlePillClick:o}=l(r,n);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.N,{activePills:d,items:c,onPillClick:o}),(0,i.jsx)(s.x,{marginTop:"xSmall",children:null==a?void 0:a.render()})]})},c=e=>0===e.routes.length?null:(0,i.jsx)(d,{...e})},22465:function(e,r,n){"use strict";n.d(r,{t:function(){return o}});var i=n(97458),t=n(76635),s=n(39270),a=n(83273),l=n(31321),d=n(31962),c=n(62831);n(52983);let o=e=>{let{recommended:r,discouraged:n}=e;return(0,i.jsxs)(i.Fragment,{children:[r.length>0&&(0,i.jsx)(t.W,{columns:[{header:"Do",hash:"do",render:e=>{let{recommend:r}=e;return r}}],items:r.map(e=>({recommend:(0,i.jsxs)(s.k,{alignItems:"center",children:[(0,i.jsx)(a.B,{flexGrow:0,marginRight:"large",children:(0,i.jsx)(d.r,{color:"success"})}),(0,i.jsx)(a.B,{children:e})]})}))}),n.length>0&&(0,i.jsx)(l.x,{marginTop:"xLarge",children:(0,i.jsx)(t.W,{columns:[{header:"Don't",hash:"dont",render:e=>{let{discourage:r}=e;return r}}],items:n.map(e=>({discourage:(0,i.jsxs)(s.k,{alignItems:"center",children:[(0,i.jsx)(a.B,{flexGrow:0,marginRight:"large",children:(0,i.jsx)(c.P,{color:"danger"})}),(0,i.jsx)(a.B,{children:e})]})}))})})]})}},29676:function(e,r,n){"use strict";n.d(r,{p:function(){return l}});var i=n(97458),t=n(4857),s=n(75246),a=n.n(s);n(52983);let l=e=>{let{children:r,href:n}=e;return(0,i.jsx)(a(),{href:n,legacyBehavior:!0,passHref:!0,children:(0,i.jsx)(t.r,{children:r})})}},5423:function(e,r,n){"use strict";n.d(r,{n:function(){return g}});var i=n(97458),t=n(2513),s=n(89983),a=n(39270),l=n(4857),d=n(52983),c=n(63692),o=n(30765),h=n(76249);let p=(0,n(57931).ZP)(a.k).withConfig({componentId:"sc-e6496ff5-0"})(["cursor:pointer;display:inline-flex;flex-direction:row;"]),m=e=>{let{children:r,title:n}=e,[t,a]=(0,d.useState)(!0),l=()=>a(!t);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(p,{alignItems:"center",marginBottom:"xSmall",onClick:l,onKeyPress:e=>{("Enter"===e.key||" "===e.key)&&l()},tabIndex:0,children:[t?(0,i.jsx)(o.X,{title:"Expand"}):(0,i.jsx)(h.h,{title:"Collapse"}),(0,i.jsx)(s.xv,{children:n})]}),!t&&r]})},g=e=>{let{collapsible:r,id:n,propList:l,title:d,inheritedProps:o,nativeElement:h}=e,p=()=>l.length>0?(0,i.jsxs)(t.r,{marginBottom:r||o?"xLarge":"none",children:[(0,i.jsx)(t.i,{columns:[{header:"Prop name",hash:"propName",render:e=>{let{name:r,required:n}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(c.E,{primary:!0,children:r}),n?(0,i.jsx)("b",{children:" *"}):null]})}},{header:"Type",hash:"type",render:e=>{let{types:r}=e;return(0,i.jsx)(u,{types:r})}},{header:"Default",hash:"default",render:e=>{let{defaultValue:r}=e;return(0,i.jsx)(c.E,{highlight:!1,children:r})}},{header:"Description",hash:"description",width:"50%",render:e=>{let{description:r}=e;return(0,i.jsx)(s.xv,{children:r})}}],id:n,items:l}),(0,i.jsx)(s.x4,{marginTop:"xSmall",children:"Props ending with * are required"})]}):null;return r?(0,i.jsx)(m,{title:"".concat(d," Props"),children:p()}):(0,i.jsxs)(i.Fragment,{children:[(()=>{if(h){let[e,r]=h;return(0,i.jsxs)(s.xv,{children:["Supports ",r," native ",(0,i.jsxs)(c.E,{children:["<",e," />"]})," element attributes."]})}return null})(),p(),o?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.H3,{children:"Inherited"}),(0,i.jsx)(a.k,{flexDirection:"column",children:o})]}):null]})},x=e=>{let{type:r}=e;return(0,d.isValidElement)(r)&&r.type===l.r?(0,i.jsx)(c.E,{highlight:!1,children:r}):(0,i.jsx)(c.E,{children:r})},u=e=>{let{types:r}=e;return Array.isArray(r)?r.map((e,n)=>(0,i.jsxs)(d.Fragment,{children:[(0,i.jsx)(x,{type:e}),n(0,i.jsx)(p.n,{propList:m,title:"Badge",...e});var x=n(81302),u=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.H1,{children:"Badge"}),(0,i.jsxs)(s.s,{header:"Overview",headerId:"overview",children:[(0,i.jsxs)(t.xv,{children:[(0,i.jsx)(l.E,{primary:!0,children:"Badges"})," are labels that indicate the status of an object on the page."]}),(0,i.jsx)(t.xv,{bold:!0,children:"When to use:"}),(0,i.jsxs)(d.a,{children:[(0,i.jsxs)(d.a.Item,{children:["Use ",(0,i.jsx)(l.E,{primary:!0,children:"Badges"})," to indicate the connection status of a 3rd party integration (e.g. payment method, a channel connection)."]}),(0,i.jsxs)(d.a.Item,{children:["You can also use ",(0,i.jsx)(l.E,{primary:!0,children:"Badges"})," to call attention to new features (e.g. “new”) or recommended integrations."]})]})]}),(0,i.jsx)(s.s,{header:"Implementation",headerId:"implementation",children:(0,i.jsx)(c.F,{id:"implementation",routes:[{id:"basic",title:"Basic",render:()=>(0,i.jsx)(o.G,{children:''},"basic")},{id:"variants",title:"Variants",render:()=>(0,i.jsxs)(a.Fragment,{children:[(0,i.jsxs)(t.xv,{children:["There are five types of variants to choose from: ",(0,i.jsx)(l.E,{children:"success"}),","," ",(0,i.jsx)(l.E,{children:"secondary"}),", ",(0,i.jsx)(l.E,{children:"warning"}),", ",(0,i.jsx)(l.E,{children:"danger"}),", and"," ",(0,i.jsx)(l.E,{children:"primary"}),". You can determine what type by using the"," ",(0,i.jsx)(l.E,{primary:!0,children:"variant"})," prop."]}),(0,i.jsx)(o.G,{children:'\n \n \n \n \n \n'})]},"variants")}]})}),(0,i.jsx)(s.s,{header:"Props",headerId:"props",children:(0,i.jsx)(g,{inheritedProps:(0,i.jsx)(x.K,{collapsible:!0})})}),(0,i.jsx)(s.s,{header:"Do's and Don'ts",headerId:"guidelines",children:(0,i.jsx)(h.t,{discouraged:[(0,i.jsxs)(i.Fragment,{children:["Don’t apply multiple ",(0,i.jsx)(l.E,{primary:!0,children:"Badges"})," to the same object."]})],recommended:["Use the right colour for the right situation (e.g. red when something is broken / wrong)."]})})]})}},function(e){e.O(0,[1814,9905,6417,3599,6295,7971,7270,7830,1391,2888,9774,179],function(){return e(e.s=32897)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/box-3f9355e79a444b8f.js b/_next/static/chunks/pages/box-3f9355e79a444b8f.js new file mode 100644 index 000000000..ce001caa0 --- /dev/null +++ b/_next/static/chunks/pages/box-3f9355e79a444b8f.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9257],{86720:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/box",function(){return r(38097)}])},88806:function(e,n,r){"use strict";r.d(n,{Y:function(){return d}});var t=r(97458),i=r(89983);r(52983);var s=r(29676),o=r(5423);let a=[{name:"as",types:["string","React.ComponentType"],description:"Use a different HTML tag or a different custom component"},{name:"backgroundColor",types:(0,t.jsx)(s.p,{href:"/colors",children:"Color"}),description:(0,t.jsxs)(t.Fragment,{children:["Sets the background color given a color name from our"," ",(0,t.jsx)(s.p,{href:"/colors",children:"palette"}),"."]})},{name:"shadow",types:["floating","raised"],description:"Determines the type of shadow to be applied."},{name:"border",types:["box","boxError","none"],description:"Determines type of border to be applied."},{name:"borderBottom",types:["box","boxError","none"],description:"Determines type of bottom border to be applied."},{name:"borderLeft",types:["box","boxError","none"],description:"Determines type of left border to be applied."},{name:"borderRight",types:["box","boxError","none"],description:"Determines type of right border to be applied."},{name:"borderTop",types:["box","boxError","none"],description:"Determines type of top border to be applied."},{name:"borderRadius",types:["normal","circle","none"],description:"Determines type of border radius to be applied."},{name:"clearfix",types:["boolean"],description:"Adds a clearfix for floating internal elements."},{name:"zIndex",types:["sticky","fixed","modalBackdrop","modal","tooltip","popover"],description:(0,t.jsxs)(t.Fragment,{children:["Determines type of z-index to be applied.",(0,t.jsx)("br",{}),(0,t.jsx)(i.x4,{as:"span",children:"Types are in order (sticky is low, popover is high)."})]})}],d=e=>(0,t.jsx)(o.n,{propList:a,title:"Box",...e})},82336:function(e,n,r){"use strict";r.d(n,{Q:function(){return o}});var t=r(97458);r(52983);var i=r(5423);let s=[{name:"display",types:["block","inline-block","inline","inline-flex","flex","grid","inline-grid","none"],description:"Sets the CSS display property of a component."}],o=e=>(0,t.jsx)(i.n,{propList:s,title:"Display",...e})},81302:function(e,n,r){"use strict";r.d(n,{K:function(){return a}});var t=r(97458);r(52983);var i=r(29676),s=r(5423);let o=[{name:"margin",types:(0,t.jsx)(i.p,{href:"/spacing",children:"Spacing"}),description:"Determines the margin to be applied."},{name:"marginTop",types:(0,t.jsx)(i.p,{href:"/spacing",children:"Spacing"}),description:"Determines the top margin to be applied."},{name:"marginRight",types:(0,t.jsx)(i.p,{href:"/spacing",children:"Spacing"}),description:"Determines the right margin to be applied."},{name:"marginBottom",types:(0,t.jsx)(i.p,{href:"/spacing",children:"Spacing"}),description:"Determines the bottom margin to be applied."},{name:"marginLeft",types:(0,t.jsx)(i.p,{href:"/spacing",children:"Spacing"}),description:"Determines the left margin to be applied."},{name:"marginVertical",types:(0,t.jsx)(i.p,{href:"/spacing",children:"Spacing"}),description:"Determines the top and bottom margin to be applied."},{name:"marginHorizontal",types:(0,t.jsx)(i.p,{href:"/spacing",children:"Spacing"}),description:"Determines the left and right margin to be applied."}],a=e=>(0,t.jsx)(s.n,{propList:o,title:"Margin",...e})},78381:function(e,n,r){"use strict";r.d(n,{S:function(){return a}});var t=r(97458);r(52983);var i=r(29676),s=r(5423);let o=[{name:"padding",types:(0,t.jsx)(i.p,{href:"/spacing",children:"Spacing"}),description:"Determines the padding to be applied."},{name:"paddingTop",types:(0,t.jsx)(i.p,{href:"/spacing",children:"Spacing"}),description:"Determines the top padding to be applied."},{name:"paddingRight",types:(0,t.jsx)(i.p,{href:"/spacing",children:"Spacing"}),description:"Determines the right padding to be applied."},{name:"paddingBottom",types:(0,t.jsx)(i.p,{href:"/spacing",children:"Spacing"}),description:"Determines the bottom padding to be applied."},{name:"paddingLeft",types:(0,t.jsx)(i.p,{href:"/spacing",children:"Spacing"}),description:"Determines the left padding to be applied."},{name:"paddingVertical",types:(0,t.jsx)(i.p,{href:"/spacing",children:"Spacing"}),description:"Determines the top and bottom padding to be applied."},{name:"paddingHorizontal",types:(0,t.jsx)(i.p,{href:"/spacing",children:"Spacing"}),description:"Determines the left and right padding to be applied."}],a=e=>(0,t.jsx)(s.n,{propList:o,title:"Padding",...e})},41957:function(e,n,r){"use strict";r.d(n,{F:function(){return l}});var t=r(97458),i=r(67778),s=r(31321);r(52983);var o=r(53398);let a=(e,n)=>{let{query:r,push:t}=(0,o.useRouter)(),i=e.map(e=>{let{render:n,...r}=e;return r}),s=r[n],a=s&&!Array.isArray(s)?s:e[0].id;return{activeContent:e.find(e=>e.id===a),activePills:a?[a]:[],pills:i,handlePillClick:e=>{t({query:{...r,[n]:e}},void 0,{scroll:!1,shallow:!0})}}},d=e=>{let{routes:n,id:r}=e,{activeContent:o,activePills:d,pills:l,handlePillClick:p}=a(n,r);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.N,{activePills:d,items:l,onPillClick:p}),(0,t.jsx)(s.x,{marginTop:"xSmall",children:null==o?void 0:o.render()})]})},l=e=>0===e.routes.length?null:(0,t.jsx)(d,{...e})},22465:function(e,n,r){"use strict";r.d(n,{t:function(){return p}});var t=r(97458),i=r(76635),s=r(39270),o=r(83273),a=r(31321),d=r(31962),l=r(62831);r(52983);let p=e=>{let{recommended:n,discouraged:r}=e;return(0,t.jsxs)(t.Fragment,{children:[n.length>0&&(0,t.jsx)(i.W,{columns:[{header:"Do",hash:"do",render:e=>{let{recommend:n}=e;return n}}],items:n.map(e=>({recommend:(0,t.jsxs)(s.k,{alignItems:"center",children:[(0,t.jsx)(o.B,{flexGrow:0,marginRight:"large",children:(0,t.jsx)(d.r,{color:"success"})}),(0,t.jsx)(o.B,{children:e})]})}))}),r.length>0&&(0,t.jsx)(a.x,{marginTop:"xLarge",children:(0,t.jsx)(i.W,{columns:[{header:"Don't",hash:"dont",render:e=>{let{discourage:n}=e;return n}}],items:r.map(e=>({discourage:(0,t.jsxs)(s.k,{alignItems:"center",children:[(0,t.jsx)(o.B,{flexGrow:0,marginRight:"large",children:(0,t.jsx)(l.P,{color:"danger"})}),(0,t.jsx)(o.B,{children:e})]})}))})})]})}},29676:function(e,n,r){"use strict";r.d(n,{p:function(){return a}});var t=r(97458),i=r(4857),s=r(75246),o=r.n(s);r(52983);let a=e=>{let{children:n,href:r}=e;return(0,t.jsx)(o(),{href:r,legacyBehavior:!0,passHref:!0,children:(0,t.jsx)(i.r,{children:n})})}},5423:function(e,n,r){"use strict";r.d(n,{n:function(){return m}});var t=r(97458),i=r(2513),s=r(89983),o=r(39270),a=r(4857),d=r(52983),l=r(63692),p=r(30765),c=r(76249);let h=(0,r(57931).ZP)(o.k).withConfig({componentId:"sc-e6496ff5-0"})(["cursor:pointer;display:inline-flex;flex-direction:row;"]),x=e=>{let{children:n,title:r}=e,[i,o]=(0,d.useState)(!0),a=()=>o(!i);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(h,{alignItems:"center",marginBottom:"xSmall",onClick:a,onKeyPress:e=>{("Enter"===e.key||" "===e.key)&&a()},tabIndex:0,children:[i?(0,t.jsx)(p.X,{title:"Expand"}):(0,t.jsx)(c.h,{title:"Collapse"}),(0,t.jsx)(s.xv,{children:r})]}),!i&&n]})},m=e=>{let{collapsible:n,id:r,propList:a,title:d,inheritedProps:p,nativeElement:c}=e,h=()=>a.length>0?(0,t.jsxs)(i.r,{marginBottom:n||p?"xLarge":"none",children:[(0,t.jsx)(i.i,{columns:[{header:"Prop name",hash:"propName",render:e=>{let{name:n,required:r}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.E,{primary:!0,children:n}),r?(0,t.jsx)("b",{children:" *"}):null]})}},{header:"Type",hash:"type",render:e=>{let{types:n}=e;return(0,t.jsx)(u,{types:n})}},{header:"Default",hash:"default",render:e=>{let{defaultValue:n}=e;return(0,t.jsx)(l.E,{highlight:!1,children:n})}},{header:"Description",hash:"description",width:"50%",render:e=>{let{description:n}=e;return(0,t.jsx)(s.xv,{children:n})}}],id:r,items:a}),(0,t.jsx)(s.x4,{marginTop:"xSmall",children:"Props ending with * are required"})]}):null;return n?(0,t.jsx)(x,{title:"".concat(d," Props"),children:h()}):(0,t.jsxs)(t.Fragment,{children:[(()=>{if(c){let[e,n]=c;return(0,t.jsxs)(s.xv,{children:["Supports ",n," native ",(0,t.jsxs)(l.E,{children:["<",e," />"]})," element attributes."]})}return null})(),h(),p?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.H3,{children:"Inherited"}),(0,t.jsx)(o.k,{flexDirection:"column",children:p})]}):null]})},g=e=>{let{type:n}=e;return(0,d.isValidElement)(n)&&n.type===a.r?(0,t.jsx)(l.E,{highlight:!1,children:n}):(0,t.jsx)(l.E,{children:n})},u=e=>{let{types:n}=e;return Array.isArray(n)?n.map((e,r)=>(0,t.jsxs)(d.Fragment,{children:[(0,t.jsx)(g,{type:e}),r(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.H1,{children:"Box"}),(0,t.jsx)(s.s,{header:"Overview",headerId:"overview",children:(0,t.jsxs)(i.xv,{children:[(0,t.jsx)(a.E,{primary:!0,children:"Box"})," is a base component that is used to create other components. Using different values for properties like border, border radius, and drop shadow, it can be turned into form field, button, panel, etc."]})}),(0,t.jsx)(s.s,{header:"Implementation",headerId:"implementation",children:(0,t.jsx)(d.F,{id:"implementation",routes:[{id:"basic",title:"Basic",render:()=>(0,t.jsxs)(o.Fragment,{children:[(0,t.jsx)(i.xv,{children:"Used as a simple container or as a base to build other components."}),(0,t.jsx)(l.G,{children:'\n Boxed content\n'})]},"basic")},{id:"shadows",title:"Shadows",render:()=>(0,t.jsxs)(o.Fragment,{children:[(0,t.jsxs)(i.xv,{children:[(0,t.jsx)(a.E,{primary:!0,children:"Box"})," also supports multiple shadows, here is an example of how they look like:"]}),(0,t.jsx)(l.G,{children:'\n \n Floating\n \n \n Raised\n \n'})]},"shadows")},{id:"extending",title:"Extending",render:()=>(0,t.jsxs)(o.Fragment,{children:[(0,t.jsxs)(i.xv,{children:[(0,t.jsx)(a.E,{primary:!0,children:"Box"})," is extendable, here is an example on how to create an"," ",(0,t.jsx)(a.E,{primary:!0,children:"Avatar"})," component extending from ",(0,t.jsx)(a.E,{primary:!0,children:"Box"})," ","with a couple of extra styles:"]}),(0,t.jsx)(l.G,{children:'function Avatar() {\n const StyledBox = styled(Box)`\n box-sizing: content-box;\n height: ${({ theme }) => theme.spacing.large};\n width: ${({ theme }) => theme.spacing.large};\n `;\n\n return (\n \n BC\n \n );\n}'})]},"extending")}]})}),(0,t.jsx)(s.s,{header:"Props",headerId:"props",children:(0,t.jsx)(c.Y,{inheritedProps:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(h.Q,{collapsible:!0}),(0,t.jsx)(x.K,{collapsible:!0}),(0,t.jsx)(m.S,{collapsible:!0})]})})}),(0,t.jsx)(s.s,{header:"Do's and Don'ts",headerId:"guidelines",children:(0,t.jsx)(p.t,{discouraged:["Use any other corner radius values."],recommended:["Apply 4px corner radius for all rectangular standalone components.","Apply raised drop shadow style to make the content on the grey background of the page stand out (panels).","Apply floating drop shadow style for elements that appear on top of the content of the page (pop-overs, alerts, drop menus, etc.)."]})})]})}},function(e){e.O(0,[1814,9905,6417,3599,6295,7971,7270,7830,1391,2888,9774,179],function(){return e(e.s=86720)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/breakpoints-4ac486520c1144e3.js b/_next/static/chunks/pages/breakpoints-4ac486520c1144e3.js new file mode 100644 index 000000000..e91fa1565 --- /dev/null +++ b/_next/static/chunks/pages/breakpoints-4ac486520c1144e3.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[837],{77617:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/breakpoints",function(){return r(94349)}])},41957:function(e,n,r){"use strict";r.d(n,{F:function(){return d}});var i=r(97458),s=r(67778),t=r(31321);r(52983);var o=r(53398);let a=(e,n)=>{let{query:r,push:i}=(0,o.useRouter)(),s=e.map(e=>{let{render:n,...r}=e;return r}),t=r[n],a=t&&!Array.isArray(t)?t:e[0].id;return{activeContent:e.find(e=>e.id===a),activePills:a?[a]:[],pills:s,handlePillClick:e=>{i({query:{...r,[n]:e}},void 0,{scroll:!1,shallow:!0})}}},l=e=>{let{routes:n,id:r}=e,{activeContent:o,activePills:l,pills:d,handlePillClick:c}=a(n,r);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.N,{activePills:l,items:d,onPillClick:c}),(0,i.jsx)(t.x,{marginTop:"xSmall",children:null==o?void 0:o.render()})]})},d=e=>0===e.routes.length?null:(0,i.jsx)(l,{...e})},22465:function(e,n,r){"use strict";r.d(n,{t:function(){return c}});var i=r(97458),s=r(76635),t=r(39270),o=r(83273),a=r(31321),l=r(31962),d=r(62831);r(52983);let c=e=>{let{recommended:n,discouraged:r}=e;return(0,i.jsxs)(i.Fragment,{children:[n.length>0&&(0,i.jsx)(s.W,{columns:[{header:"Do",hash:"do",render:e=>{let{recommend:n}=e;return n}}],items:n.map(e=>({recommend:(0,i.jsxs)(t.k,{alignItems:"center",children:[(0,i.jsx)(o.B,{flexGrow:0,marginRight:"large",children:(0,i.jsx)(l.r,{color:"success"})}),(0,i.jsx)(o.B,{children:e})]})}))}),r.length>0&&(0,i.jsx)(a.x,{marginTop:"xLarge",children:(0,i.jsx)(s.W,{columns:[{header:"Don't",hash:"dont",render:e=>{let{discourage:n}=e;return n}}],items:r.map(e=>({discourage:(0,i.jsxs)(t.k,{alignItems:"center",children:[(0,i.jsx)(o.B,{flexGrow:0,marginRight:"large",children:(0,i.jsx)(d.P,{color:"danger"})}),(0,i.jsx)(o.B,{children:e})]})}))})})]})}},94349:function(e,n,r){"use strict";r.r(n);var i=r(97458),s=r(31321),t=r(89983),o=r(81237),a=r(50573),l=r(15202),d=r(52983),c=r(63692),h=r(41957),x=r(55242),p=r(22465);let m=e=>{let{children:n,...r}=e;return(0,i.jsx)(s.x,{backgroundColor:"secondary10",border:"box",...r,children:n})};n.default=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.H1,{children:"Breakpoints"}),(0,i.jsx)(o.s,{header:"Overview",headerId:"overview",children:(0,i.jsxs)(t.xv,{children:["BigDesign exposes a set of ",(0,i.jsx)(c.E,{primary:!0,children:"breakpoints"})," and"," ",(0,i.jsx)(c.E,{primary:!0,children:"breakpointValues"})," that can be used to create responsive layouts and components. Our breakpoints include ",(0,i.jsx)(c.E,{primary:!0,children:"mobile"}),", ",(0,i.jsx)(c.E,{primary:!0,children:"tablet"})," ","and ",(0,i.jsx)(c.E,{primary:!0,children:"desktop"}),". For each breakpoint, the breakpoint values are"," ",(0,i.jsx)(c.E,{children:l.Ii.mobile}),", ",(0,i.jsx)(c.E,{children:l.Ii.tablet}),", and"," ",(0,i.jsx)(c.E,{children:l.Ii.desktop})," respectively."]})}),(0,i.jsx)(o.s,{header:"Implementation",headerId:"implementation",children:(0,i.jsx)(h.F,{id:"implementation",routes:[{id:"basic",title:"Basic",render:()=>(0,i.jsxs)(d.Fragment,{children:[(0,i.jsxs)(t.xv,{children:["Most utility components contain responsive props. You can pass in an object with"," ",(0,i.jsx)(c.E,{primary:!0,children:"breakpoints"})," as keys to provide values at each breakpoint. BigDesign is mobile-first in nature, so bigger screen size values will override smaller ones."]}),(0,i.jsx)(x.G,{scope:{Box:m},children:"\n This box has responsive props!\n"})]},"basic")},{id:"extending",title:"Extending",render:()=>(0,i.jsxs)(d.Fragment,{children:[(0,i.jsx)(a.v,{marginVertical:"medium",messages:[{text:"Before extending a component, if possible, use one of BigDesigns core components."}],type:"warning"}),(0,i.jsxs)(t.xv,{children:["If you need a customized wrapper you can extend one of our utility components (",(0,i.jsx)(c.E,{primary:!0,children:"Box"}),", ",(0,i.jsx)(c.E,{primary:!0,children:"Flex"}),", or ",(0,i.jsx)(c.E,{primary:!0,children:"Grid"}),") using ",(0,i.jsx)(c.E,{children:"styled-components"}),". Exposed on the ",(0,i.jsx)(c.E,{primary:!0,children:"theme"})," ","object is the ",(0,i.jsx)(c.E,{primary:!0,children:"breakpoints"})," key. The values returned are"," ",(0,i.jsx)(c.E,{children:"@media"})," queries ready for consumtion."]}),(0,i.jsx)(x.G,{scope:{Box:m},children:"function Example() {\n const StyledBox = styled(Box)`\n height: ${({ theme }) => theme.spacing.xxxLarge};\n width: 100%;\n\n ${({ theme }) => theme.breakpoints.tablet} {\n width: 60%;\n }\n\n ${({ theme }) => theme.breakpoints.desktop} {\n width: 30%;\n }\n `;\n\n return ;\n}"})]},"extending")},{id:"breakpoint-values",title:"Breakpoint Values",render:()=>(0,i.jsxs)(d.Fragment,{children:[(0,i.jsxs)(t.xv,{children:[(0,i.jsx)(c.E,{primary:!0,children:"breakpointValues"})," are also exposed on the"," ",(0,i.jsx)(c.E,{primary:!0,children:"theme"})," object. Each value is the ",(0,i.jsx)(c.E,{children:"px"})," value of each breakpoint."]}),(0,i.jsx)(x.G,{scope:{Box:m},children:"function Example() {\n const StyledBox = styled(Box)`\n height: ${({ theme }) => theme.spacing.xxxLarge};\n width: 100%;\n\n ${({ theme }) => theme.breakpoints.desktop} {\n width: ${({ theme }) => theme.breakpointValues.tablet};\n }\n `;\n\n return ;\n}"})]},"breakpoint-values")}]})}),(0,i.jsx)(o.s,{header:"Do's and Don'ts",headerId:"guidelines",children:(0,i.jsx)(p.t,{discouraged:[],recommended:["Use built in responsive props, where applicable."]})})]})}},function(e){e.O(0,[1814,9905,6417,3599,6295,7971,7270,7830,1391,2888,9774,179],function(){return e(e.s=77617)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/button-2cade4e67ca03799.js b/_next/static/chunks/pages/button-2cade4e67ca03799.js new file mode 100644 index 000000000..f719f27ae --- /dev/null +++ b/_next/static/chunks/pages/button-2cade4e67ca03799.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6421],{711:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/button",function(){return t(60719)}])},81302:function(e,n,t){"use strict";t.d(n,{K:function(){return o}});var i=t(97458);t(52983);var r=t(29676),s=t(5423);let a=[{name:"margin",types:(0,i.jsx)(r.p,{href:"/spacing",children:"Spacing"}),description:"Determines the margin to be applied."},{name:"marginTop",types:(0,i.jsx)(r.p,{href:"/spacing",children:"Spacing"}),description:"Determines the top margin to be applied."},{name:"marginRight",types:(0,i.jsx)(r.p,{href:"/spacing",children:"Spacing"}),description:"Determines the right margin to be applied."},{name:"marginBottom",types:(0,i.jsx)(r.p,{href:"/spacing",children:"Spacing"}),description:"Determines the bottom margin to be applied."},{name:"marginLeft",types:(0,i.jsx)(r.p,{href:"/spacing",children:"Spacing"}),description:"Determines the left margin to be applied."},{name:"marginVertical",types:(0,i.jsx)(r.p,{href:"/spacing",children:"Spacing"}),description:"Determines the top and bottom margin to be applied."},{name:"marginHorizontal",types:(0,i.jsx)(r.p,{href:"/spacing",children:"Spacing"}),description:"Determines the left and right margin to be applied."}],o=e=>(0,i.jsx)(s.n,{propList:a,title:"Margin",...e})},41957:function(e,n,t){"use strict";t.d(n,{F:function(){return c}});var i=t(97458),r=t(67778),s=t(31321);t(52983);var a=t(53398);let o=(e,n)=>{let{query:t,push:i}=(0,a.useRouter)(),r=e.map(e=>{let{render:n,...t}=e;return t}),s=t[n],o=s&&!Array.isArray(s)?s:e[0].id;return{activeContent:e.find(e=>e.id===o),activePills:o?[o]:[],pills:r,handlePillClick:e=>{i({query:{...t,[n]:e}},void 0,{scroll:!1,shallow:!0})}}},l=e=>{let{routes:n,id:t}=e,{activeContent:a,activePills:l,pills:c,handlePillClick:d}=o(n,t);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.N,{activePills:l,items:c,onPillClick:d}),(0,i.jsx)(s.x,{marginTop:"xSmall",children:null==a?void 0:a.render()})]})},c=e=>0===e.routes.length?null:(0,i.jsx)(l,{...e})},22465:function(e,n,t){"use strict";t.d(n,{t:function(){return d}});var i=t(97458),r=t(76635),s=t(39270),a=t(83273),o=t(31321),l=t(31962),c=t(62831);t(52983);let d=e=>{let{recommended:n,discouraged:t}=e;return(0,i.jsxs)(i.Fragment,{children:[n.length>0&&(0,i.jsx)(r.W,{columns:[{header:"Do",hash:"do",render:e=>{let{recommend:n}=e;return n}}],items:n.map(e=>({recommend:(0,i.jsxs)(s.k,{alignItems:"center",children:[(0,i.jsx)(a.B,{flexGrow:0,marginRight:"large",children:(0,i.jsx)(l.r,{color:"success"})}),(0,i.jsx)(a.B,{children:e})]})}))}),t.length>0&&(0,i.jsx)(o.x,{marginTop:"xLarge",children:(0,i.jsx)(r.W,{columns:[{header:"Don't",hash:"dont",render:e=>{let{discourage:n}=e;return n}}],items:t.map(e=>({discourage:(0,i.jsxs)(s.k,{alignItems:"center",children:[(0,i.jsx)(a.B,{flexGrow:0,marginRight:"large",children:(0,i.jsx)(c.P,{color:"danger"})}),(0,i.jsx)(a.B,{children:e})]})}))})})]})}},29676:function(e,n,t){"use strict";t.d(n,{p:function(){return o}});var i=t(97458),r=t(4857),s=t(75246),a=t.n(s);t(52983);let o=e=>{let{children:n,href:t}=e;return(0,i.jsx)(a(),{href:t,legacyBehavior:!0,passHref:!0,children:(0,i.jsx)(r.r,{children:n})})}},5423:function(e,n,t){"use strict";t.d(n,{n:function(){return m}});var i=t(97458),r=t(2513),s=t(89983),a=t(39270),o=t(4857),l=t(52983),c=t(63692),d=t(30765),h=t(76249);let u=(0,t(57931).ZP)(a.k).withConfig({componentId:"sc-e6496ff5-0"})(["cursor:pointer;display:inline-flex;flex-direction:row;"]),p=e=>{let{children:n,title:t}=e,[r,a]=(0,l.useState)(!0),o=()=>a(!r);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(u,{alignItems:"center",marginBottom:"xSmall",onClick:o,onKeyPress:e=>{("Enter"===e.key||" "===e.key)&&o()},tabIndex:0,children:[r?(0,i.jsx)(d.X,{title:"Expand"}):(0,i.jsx)(h.h,{title:"Collapse"}),(0,i.jsx)(s.xv,{children:t})]}),!r&&n]})},m=e=>{let{collapsible:n,id:t,propList:o,title:l,inheritedProps:d,nativeElement:h}=e,u=()=>o.length>0?(0,i.jsxs)(r.r,{marginBottom:n||d?"xLarge":"none",children:[(0,i.jsx)(r.i,{columns:[{header:"Prop name",hash:"propName",render:e=>{let{name:n,required:t}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(c.E,{primary:!0,children:n}),t?(0,i.jsx)("b",{children:" *"}):null]})}},{header:"Type",hash:"type",render:e=>{let{types:n}=e;return(0,i.jsx)(g,{types:n})}},{header:"Default",hash:"default",render:e=>{let{defaultValue:n}=e;return(0,i.jsx)(c.E,{highlight:!1,children:n})}},{header:"Description",hash:"description",width:"50%",render:e=>{let{description:n}=e;return(0,i.jsx)(s.xv,{children:n})}}],id:t,items:o}),(0,i.jsx)(s.x4,{marginTop:"xSmall",children:"Props ending with * are required"})]}):null;return n?(0,i.jsx)(p,{title:"".concat(l," Props"),children:u()}):(0,i.jsxs)(i.Fragment,{children:[(()=>{if(h){let[e,n]=h;return(0,i.jsxs)(s.xv,{children:["Supports ",n," native ",(0,i.jsxs)(c.E,{children:["<",e," />"]})," element attributes."]})}return null})(),u(),d?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.H3,{children:"Inherited"}),(0,i.jsx)(a.k,{flexDirection:"column",children:d})]}):null]})},x=e=>{let{type:n}=e;return(0,l.isValidElement)(n)&&n.type===o.r?(0,i.jsx)(c.E,{highlight:!1,children:n}):(0,i.jsx)(c.E,{children:n})},g=e=>{let{types:n}=e;return Array.isArray(n)?n.map((e,t)=>(0,i.jsxs)(l.Fragment,{children:[(0,i.jsx)(x,{type:e}),t(0,i.jsx)(p.n,{propList:m,title:"Button",...e});var g=t(81302),j=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.H1,{children:"Button"}),(0,i.jsxs)(s.s,{header:"Overview",headerId:"overview",children:[(0,i.jsxs)(r.xv,{children:[(0,i.jsx)(o.E,{primary:!0,children:"Buttons"})," trigger an immediate action, which can continue within the current page, a new page or modal."]}),(0,i.jsx)(r.xv,{bold:!0,children:"When to use:"}),(0,i.jsxs)(l.a,{children:[(0,i.jsxs)(l.a.Item,{children:["Use ",(0,i.jsx)(o.E,{children:"primary"})," buttons for the most important action on a page (e.g. creating an object, saving changes)."]}),(0,i.jsxs)(l.a.Item,{children:["Use ",(0,i.jsx)(o.E,{children:"secondary"})," buttons for other important page actions that are not the primary task on the page."]}),(0,i.jsxs)(l.a.Item,{children:["Use ",(0,i.jsx)(o.E,{children:"subtle"})," buttons alongside ",(0,i.jsx)(o.E,{children:"secondary"})," or ",(0,i.jsx)(o.E,{children:"primary"})," ","buttons for teritiary actions, like to cancel or visit a related task."]}),(0,i.jsxs)(l.a.Item,{children:["Use ",(0,i.jsx)(o.E,{children:"destructive"})," buttons in confirmations for important actions that cannot be undone (like deleting something)."]}),(0,i.jsxs)(l.a.Item,{children:["Use ",(0,i.jsx)(o.E,{children:"utility"})," buttons to handle tasks that are not specifically a call to action, like opening menus, closing modals, expanding or collapsing items, etc."]})]})]}),(0,i.jsx)(s.s,{header:"Implementation",headerId:"implementation",children:(0,i.jsx)(c.F,{id:"implementation",routes:[{id:"basic",title:"Basic",render:()=>(0,i.jsxs)(a.Fragment,{children:[(0,i.jsxs)(r.xv,{children:[(0,i.jsx)(o.E,{primary:!0,children:"Buttons"})," are calls to action used throughout the product experience."]}),(0,i.jsx)(d.G,{children:''})]},"basic")},{id:"variants",title:"Variants",render:()=>(0,i.jsxs)(a.Fragment,{children:[(0,i.jsxs)(r.xv,{children:["There are four types of variants to choose from: ",(0,i.jsx)(o.E,{children:"primary"}),","," ",(0,i.jsx)(o.E,{children:"secondary"}),", ",(0,i.jsx)(o.E,{children:"subtle"}),", and ",(0,i.jsx)(o.E,{children:"utility"}),". You can determine what type of variant by using the ",(0,i.jsx)(o.E,{primary:!0,children:"variant"})," prop."]}),(0,i.jsx)(d.G,{children:'<>\n \n \n \n \n'})]},"variants")},{id:"action-types",title:"Action types",render:()=>(0,i.jsxs)(a.Fragment,{children:[(0,i.jsxs)(r.xv,{children:["There are two action types: ",(0,i.jsx)(o.E,{children:"normal"})," & ",(0,i.jsx)(o.E,{children:"destructive"}),". They are used to indicate the nature of the action when clicking on the"," ",(0,i.jsx)(o.E,{primary:!0,children:"Button"}),"."]}),(0,i.jsx)(d.G,{children:'<>\n \n \n'})]},"action-types")},{id:"loading",title:"Loading",render:()=>(0,i.jsxs)(a.Fragment,{children:[(0,i.jsxs)(r.xv,{children:["The loading state is used when clicking a ",(0,i.jsx)(o.E,{primary:!0,children:"Button"})," will perform a asyncronous action."]}),(0,i.jsx)(d.G,{children:'function LoadingButton() {\n const [isLoading, setLoading] = useState(false);\n\n function simulateNetworkRequest() {\n return new Promise((resolve) => setTimeout(resolve, 2000));\n }\n\n useEffect(() => {\n if (isLoading) {\n simulateNetworkRequest().then(() => {\n setLoading(false);\n });\n }\n }, [isLoading]);\n\n const handleClick = () => setLoading(true);\n\n return (\n null}\n variant="primary"\n >\n Click to load\n \n );\n}'})]},"loading")},{id:"disabled",title:"Disabled",render:()=>(0,i.jsxs)(a.Fragment,{children:[(0,i.jsxs)(r.xv,{children:["A disabled state is used to indicate no action can be done using the"," ",(0,i.jsx)(o.E,{primary:!0,children:"Button"})," by passing a ",(0,i.jsx)(o.E,{primary:!0,children:"disabled"})," prop."]}),(0,i.jsx)(d.G,{children:'<>\n \n \n \n'})]},"disabled")},{id:"icons",title:"Icons",render:()=>(0,i.jsxs)(a.Fragment,{children:[(0,i.jsxs)(r.xv,{children:["A ",(0,i.jsx)(o.E,{primary:!0,children:"Button"})," can also include icons on either side of the text (or both). When using ",(0,i.jsx)(o.E,{primary:!0,children:"iconOnly"}),", the"," ",(0,i.jsx)(o.E,{primary:!0,children:"iconLeft"})," & ",(0,i.jsx)(o.E,{primary:!0,children:"iconRight"})," components will be removed."]}),(0,i.jsx)(d.G,{children:'<>\n \n \n \n'})]},"icons")}]})}),(0,i.jsx)(s.s,{header:"Props",headerId:"props",children:(0,i.jsx)(x,{inheritedProps:(0,i.jsx)(g.K,{collapsible:!0})})}),(0,i.jsx)(s.s,{header:"Do's and Don'ts",headerId:"guidelines",children:(0,i.jsx)(h.t,{discouraged:[(0,i.jsxs)(i.Fragment,{children:["Have more than one ",(0,i.jsx)(o.E,{children:"primary"})," button on a page."]})],recommended:[(0,i.jsx)(i.Fragment,{children:"Keep button labels short and concise."}),(0,i.jsxs)(i.Fragment,{children:["Where there are multiple ",(0,i.jsx)(o.E,{primary:!0,children:"Buttons"})," together, ensure the “default” action is the ",(0,i.jsx)(o.E,{children:"primary"})," button."]}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.E,{children:"primary"})," button should only appear once per page."]})]})})]})}},function(e){e.O(0,[1814,9905,6417,3599,6295,7971,7270,7830,1391,2888,9774,179],function(){return e(e.s=711)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/button-group-07e73ee6fe3dbdce.js b/_next/static/chunks/pages/button-group-07e73ee6fe3dbdce.js new file mode 100644 index 000000000..e748a4bf2 --- /dev/null +++ b/_next/static/chunks/pages/button-group-07e73ee6fe3dbdce.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6804],{25780:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/button-group",function(){return n(79163)}])},41957:function(e,t,n){"use strict";n.d(t,{F:function(){return c}});var r=n(97458),i=n(67778),s=n(31321);n(52983);var l=n(53398);let o=(e,t)=>{let{query:n,push:r}=(0,l.useRouter)(),i=e.map(e=>{let{render:t,...n}=e;return n}),s=n[t],o=s&&!Array.isArray(s)?s:e[0].id;return{activeContent:e.find(e=>e.id===o),activePills:o?[o]:[],pills:i,handlePillClick:e=>{r({query:{...n,[t]:e}},void 0,{scroll:!1,shallow:!0})}}},a=e=>{let{routes:t,id:n}=e,{activeContent:l,activePills:a,pills:c,handlePillClick:d}=o(t,n);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.N,{activePills:a,items:c,onPillClick:d}),(0,r.jsx)(s.x,{marginTop:"xSmall",children:null==l?void 0:l.render()})]})},c=e=>0===e.routes.length?null:(0,r.jsx)(a,{...e})},22465:function(e,t,n){"use strict";n.d(t,{t:function(){return d}});var r=n(97458),i=n(76635),s=n(39270),l=n(83273),o=n(31321),a=n(31962),c=n(62831);n(52983);let d=e=>{let{recommended:t,discouraged:n}=e;return(0,r.jsxs)(r.Fragment,{children:[t.length>0&&(0,r.jsx)(i.W,{columns:[{header:"Do",hash:"do",render:e=>{let{recommend:t}=e;return t}}],items:t.map(e=>({recommend:(0,r.jsxs)(s.k,{alignItems:"center",children:[(0,r.jsx)(l.B,{flexGrow:0,marginRight:"large",children:(0,r.jsx)(a.r,{color:"success"})}),(0,r.jsx)(l.B,{children:e})]})}))}),n.length>0&&(0,r.jsx)(o.x,{marginTop:"xLarge",children:(0,r.jsx)(i.W,{columns:[{header:"Don't",hash:"dont",render:e=>{let{discourage:t}=e;return t}}],items:n.map(e=>({discourage:(0,r.jsxs)(s.k,{alignItems:"center",children:[(0,r.jsx)(l.B,{flexGrow:0,marginRight:"large",children:(0,r.jsx)(c.P,{color:"danger"})}),(0,r.jsx)(l.B,{children:e})]})}))})})]})}},29676:function(e,t,n){"use strict";n.d(t,{p:function(){return o}});var r=n(97458),i=n(4857),s=n(75246),l=n.n(s);n(52983);let o=e=>{let{children:t,href:n}=e;return(0,r.jsx)(l(),{href:n,legacyBehavior:!0,passHref:!0,children:(0,r.jsx)(i.r,{children:t})})}},5423:function(e,t,n){"use strict";n.d(t,{n:function(){return p}});var r=n(97458),i=n(2513),s=n(89983),l=n(39270),o=n(4857),a=n(52983),c=n(63692),d=n(30765),h=n(76249);let x=(0,n(57931).ZP)(l.k).withConfig({componentId:"sc-e6496ff5-0"})(["cursor:pointer;display:inline-flex;flex-direction:row;"]),u=e=>{let{children:t,title:n}=e,[i,l]=(0,a.useState)(!0),o=()=>l(!i);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(x,{alignItems:"center",marginBottom:"xSmall",onClick:o,onKeyPress:e=>{("Enter"===e.key||" "===e.key)&&o()},tabIndex:0,children:[i?(0,r.jsx)(d.X,{title:"Expand"}):(0,r.jsx)(h.h,{title:"Collapse"}),(0,r.jsx)(s.xv,{children:n})]}),!i&&t]})},p=e=>{let{collapsible:t,id:n,propList:o,title:a,inheritedProps:d,nativeElement:h}=e,x=()=>o.length>0?(0,r.jsxs)(i.r,{marginBottom:t||d?"xLarge":"none",children:[(0,r.jsx)(i.i,{columns:[{header:"Prop name",hash:"propName",render:e=>{let{name:t,required:n}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.E,{primary:!0,children:t}),n?(0,r.jsx)("b",{children:" *"}):null]})}},{header:"Type",hash:"type",render:e=>{let{types:t}=e;return(0,r.jsx)(m,{types:t})}},{header:"Default",hash:"default",render:e=>{let{defaultValue:t}=e;return(0,r.jsx)(c.E,{highlight:!1,children:t})}},{header:"Description",hash:"description",width:"50%",render:e=>{let{description:t}=e;return(0,r.jsx)(s.xv,{children:t})}}],id:n,items:o}),(0,r.jsx)(s.x4,{marginTop:"xSmall",children:"Props ending with * are required"})]}):null;return t?(0,r.jsx)(u,{title:"".concat(a," Props"),children:x()}):(0,r.jsxs)(r.Fragment,{children:[(()=>{if(h){let[e,t]=h;return(0,r.jsxs)(s.xv,{children:["Supports ",t," native ",(0,r.jsxs)(c.E,{children:["<",e," />"]})," element attributes."]})}return null})(),x(),d?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.H3,{children:"Inherited"}),(0,r.jsx)(l.k,{flexDirection:"column",children:d})]}):null]})},j=e=>{let{type:t}=e;return(0,a.isValidElement)(t)&&t.type===o.r?(0,r.jsx)(c.E,{highlight:!1,children:t}):(0,r.jsx)(c.E,{children:t})},m=e=>{let{types:t}=e;return Array.isArray(t)?t.map((e,n)=>(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)(j,{type:e}),n(0,r.jsx)(u.n,{propList:p,title:"ButtonGroup",...e});var m=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.H1,{children:"ButtonGroup"}),(0,r.jsxs)(s.s,{header:"Overview",headerId:"overview",children:[(0,r.jsx)(i.xv,{children:"Allows to save space and reduce visual overload when there are multiple actions available for the same entity."}),(0,r.jsx)(i.xv,{bold:!0,children:"When to use:"}),(0,r.jsx)(o.a,{children:(0,r.jsxs)(o.a.Item,{children:["In ",(0,r.jsx)(a.p,{href:"/table",children:"Tables"})," as a list of bulk actions available for the selected items."]})})]}),(0,r.jsx)(s.s,{header:"Implementation",headerId:"implementation",children:(0,r.jsx)(c.F,{id:"implementation",routes:[{id:"basic",title:"Basic",render:()=>(0,r.jsxs)(l.Fragment,{children:[(0,r.jsxs)(i.xv,{children:["The ",(0,r.jsx)(d.E,{primary:!0,children:"ButtonGroup"})," component is used for grouping actions like"," ",(0,r.jsx)(a.p,{href:"/button",children:"Button"}),". Allows to save space and reduce visual overload when there are multiple actions available for the same entity."]}),(0,r.jsx)(h.G,{children:"\n \n"})]},"basic")},{id:"action-type-destructive",title:"Action type destructive",render:()=>(0,r.jsxs)(l.Fragment,{children:[(0,r.jsxs)(i.xv,{children:["By default action with ",(0,r.jsx)(d.E,{children:"actionsType: 'destructive'"})," hides under the ellipsis."]}),(0,r.jsx)(h.G,{children:""})]},"action-type-destructive")},{id:"icon-property",title:"Icon property",render:()=>(0,r.jsxs)(l.Fragment,{children:[(0,r.jsx)(i.xv,{children:"Icon is available only for actions which is hidden under the ellipsis."}),(0,r.jsx)(h.G,{children:"\n , text: 'Button 1' },\n { text: 'Button 2' },\n { text: 'Button 3' },\n { icon: , text: 'Button 4' },\n { icon: , text: 'Button 5' },\n ]}\n />\n"})]},"icon-property")}]})}),(0,r.jsx)(s.s,{header:"Props",headerId:"props",children:(0,r.jsx)(j,{})}),(0,r.jsx)(s.s,{header:"Do's and Don'ts",headerId:"guidelines",children:(0,r.jsx)(x.t,{discouraged:[(0,r.jsx)(r.Fragment,{children:"Move some controls to the second row."}),(0,r.jsxs)(r.Fragment,{children:["Stylize some of the ",(0,r.jsx)(d.E,{primary:!0,children:"actions"})," in the group differently (disabled, primary, destructive, etc.)."]}),(0,r.jsxs)(r.Fragment,{children:["Use icons or text + icon for ",(0,r.jsx)(d.E,{primary:!0,children:"actions"}),"(except for ellipsis)."]})],recommended:[(0,r.jsxs)(r.Fragment,{children:["Hide ",(0,r.jsx)(d.E,{children:"secondary"})," actions or ",(0,r.jsx)(d.E,{primary:!0,children:"actions"})," that don’t fit the container under ellipsis."]}),(0,r.jsxs)(r.Fragment,{children:["Hide ",(0,r.jsx)(d.E,{children:"destructive"})," actions under ellipsis."]}),(0,r.jsx)(r.Fragment,{children:"Keep all the controls in the same outlined style."}),(0,r.jsxs)(r.Fragment,{children:["Show only ",(0,r.jsx)(d.E,{primary:!0,children:"actions"})," that are available for the entity."]})]})})]})}},function(e){e.O(0,[1814,9905,6417,3599,6295,7971,7270,7830,1391,2888,9774,179],function(){return e(e.s=25780)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/checkbox-2a811c4a279f352b.js b/_next/static/chunks/pages/checkbox-2a811c4a279f352b.js new file mode 100644 index 000000000..0314f0b1e --- /dev/null +++ b/_next/static/chunks/pages/checkbox-2a811c4a279f352b.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2455],{11621:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/checkbox",function(){return r(65082)}])},64947:function(e,n,r){"use strict";r.d(n,{Oq:function(){return d},Pt:function(){return l},uu:function(){return c},vH:function(){return h}});var i=r(97458);r(52983);var t=r(29676),s=r(63692),a=r(5423);let c=[{name:"header",types:"string",description:"Optional header to display in message."},{name:"messages",types:(0,i.jsx)(t.p,{href:{hash:"message-item-prop-table",query:{props:"message-item"}},children:"MessageItem"}),description:(0,i.jsxs)(i.Fragment,{children:["See"," ",(0,i.jsx)(t.p,{href:{hash:"message-item-prop-table",query:{props:"message-item"}},children:"MessageItem"})," ","for usage."]}),required:!0},{name:"type",types:["success","error","warning","info"],description:"Determines the style of message to display.",defaultValue:"success"},{name:"onClose",types:"() => void",description:"Function that will be called on close events."}],o=[{name:"text",types:"string",description:"Message to be displayed.",required:!0},{name:"link",types:(0,i.jsx)(t.p,{href:{hash:"message-link-item-prop-table",query:{props:"message-link-item"}},children:"MessageLinkItem"}),description:(0,i.jsxs)(i.Fragment,{children:["See"," ",(0,i.jsx)(t.p,{href:{hash:"message-link-item-prop-table",query:{props:"message-link-item"}},children:"MessageLinkItem"})," ","for usage."]})}],l=[{name:"external",types:"boolean",description:(0,i.jsxs)(i.Fragment,{children:["Shows an external icon when the ",(0,i.jsx)(s.E,{primary:!0,children:"external"}),' prop is set and target="_blank".']})},{name:"href",types:"string",description:"Same as a HTML anchor href attribute."},{name:"text",types:"string",description:"Link text to display."},{name:"target",types:"string",description:"Same as a HTML anchor target attribute."}],d=e=>(0,i.jsx)(a.n,{propList:o,title:"",...e,id:"message-item-prop-table"}),h=e=>(0,i.jsx)(a.n,{propList:l,title:"",...e,id:"message-link-item-prop-table"})},41957:function(e,n,r){"use strict";r.d(n,{F:function(){return l}});var i=r(97458),t=r(67778),s=r(31321);r(52983);var a=r(53398);let c=(e,n)=>{let{query:r,push:i}=(0,a.useRouter)(),t=e.map(e=>{let{render:n,...r}=e;return r}),s=r[n],c=s&&!Array.isArray(s)?s:e[0].id;return{activeContent:e.find(e=>e.id===c),activePills:c?[c]:[],pills:t,handlePillClick:e=>{i({query:{...r,[n]:e}},void 0,{scroll:!1,shallow:!0})}}},o=e=>{let{routes:n,id:r}=e,{activeContent:a,activePills:o,pills:l,handlePillClick:d}=c(n,r);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.N,{activePills:o,items:l,onPillClick:d}),(0,i.jsx)(s.x,{marginTop:"xSmall",children:null==a?void 0:a.render()})]})},l=e=>0===e.routes.length?null:(0,i.jsx)(o,{...e})},22465:function(e,n,r){"use strict";r.d(n,{t:function(){return d}});var i=r(97458),t=r(76635),s=r(39270),a=r(83273),c=r(31321),o=r(31962),l=r(62831);r(52983);let d=e=>{let{recommended:n,discouraged:r}=e;return(0,i.jsxs)(i.Fragment,{children:[n.length>0&&(0,i.jsx)(t.W,{columns:[{header:"Do",hash:"do",render:e=>{let{recommend:n}=e;return n}}],items:n.map(e=>({recommend:(0,i.jsxs)(s.k,{alignItems:"center",children:[(0,i.jsx)(a.B,{flexGrow:0,marginRight:"large",children:(0,i.jsx)(o.r,{color:"success"})}),(0,i.jsx)(a.B,{children:e})]})}))}),r.length>0&&(0,i.jsx)(c.x,{marginTop:"xLarge",children:(0,i.jsx)(t.W,{columns:[{header:"Don't",hash:"dont",render:e=>{let{discourage:n}=e;return n}}],items:r.map(e=>({discourage:(0,i.jsxs)(s.k,{alignItems:"center",children:[(0,i.jsx)(a.B,{flexGrow:0,marginRight:"large",children:(0,i.jsx)(l.P,{color:"danger"})}),(0,i.jsx)(a.B,{children:e})]})}))})})]})}},29676:function(e,n,r){"use strict";r.d(n,{p:function(){return c}});var i=r(97458),t=r(4857),s=r(75246),a=r.n(s);r(52983);let c=e=>{let{children:n,href:r}=e;return(0,i.jsx)(a(),{href:r,legacyBehavior:!0,passHref:!0,children:(0,i.jsx)(t.r,{children:n})})}},5423:function(e,n,r){"use strict";r.d(n,{n:function(){return m}});var i=r(97458),t=r(2513),s=r(89983),a=r(39270),c=r(4857),o=r(52983),l=r(63692),d=r(30765),h=r(76249);let p=(0,r(57931).ZP)(a.k).withConfig({componentId:"sc-e6496ff5-0"})(["cursor:pointer;display:inline-flex;flex-direction:row;"]),x=e=>{let{children:n,title:r}=e,[t,a]=(0,o.useState)(!0),c=()=>a(!t);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(p,{alignItems:"center",marginBottom:"xSmall",onClick:c,onKeyPress:e=>{("Enter"===e.key||" "===e.key)&&c()},tabIndex:0,children:[t?(0,i.jsx)(d.X,{title:"Expand"}):(0,i.jsx)(h.h,{title:"Collapse"}),(0,i.jsx)(s.xv,{children:r})]}),!t&&n]})},m=e=>{let{collapsible:n,id:r,propList:c,title:o,inheritedProps:d,nativeElement:h}=e,p=()=>c.length>0?(0,i.jsxs)(t.r,{marginBottom:n||d?"xLarge":"none",children:[(0,i.jsx)(t.i,{columns:[{header:"Prop name",hash:"propName",render:e=>{let{name:n,required:r}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.E,{primary:!0,children:n}),r?(0,i.jsx)("b",{children:" *"}):null]})}},{header:"Type",hash:"type",render:e=>{let{types:n}=e;return(0,i.jsx)(g,{types:n})}},{header:"Default",hash:"default",render:e=>{let{defaultValue:n}=e;return(0,i.jsx)(l.E,{highlight:!1,children:n})}},{header:"Description",hash:"description",width:"50%",render:e=>{let{description:n}=e;return(0,i.jsx)(s.xv,{children:n})}}],id:r,items:c}),(0,i.jsx)(s.x4,{marginTop:"xSmall",children:"Props ending with * are required"})]}):null;return n?(0,i.jsx)(x,{title:"".concat(o," Props"),children:p()}):(0,i.jsxs)(i.Fragment,{children:[(()=>{if(h){let[e,n]=h;return(0,i.jsxs)(s.xv,{children:["Supports ",n," native ",(0,i.jsxs)(l.E,{children:["<",e," />"]})," element attributes."]})}return null})(),p(),d?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.H3,{children:"Inherited"}),(0,i.jsx)(a.k,{flexDirection:"column",children:d})]}):null]})},u=e=>{let{type:n}=e;return(0,o.isValidElement)(n)&&n.type===c.r?(0,i.jsx)(l.E,{highlight:!1,children:n}):(0,i.jsx)(l.E,{children:n})},g=e=>{let{types:n}=e;return Array.isArray(n)?n.map((e,r)=>(0,i.jsxs)(o.Fragment,{children:[(0,i.jsx)(u,{type:e}),r