From 43d23dd7347ba35fe69d4ff463bd274dff707d32 Mon Sep 17 00:00:00 2001 From: corbanbrook Date: Fri, 7 Mar 2025 15:38:33 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=200xsequen?= =?UTF-8?q?ce/design-system@d23b8e4578e9e812b2dfef3a24e4a39bd4ed8f82=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../{Badge-cqyPcrKe.js => Badge-WmIl408L.js} | 2 +- ...-BooSLj1u.js => Badge.stories-ZgPefoYS.js} | 2 +- ...ozy.js => Breadcrumbs.stories-OEPXak6E.js} | 2 +- ...{Button-e99vAgb9.js => Button-CJ_2iam3.js} | 2 +- ...CXNuvxnz.js => Button.stories-DJUndfoE.js} | 2 +- assets/{Card-DDkzOCNp.js => Card-BcrLDAIN.js} | 2 +- ...s-CEv0fwTx.js => Card.stories-Cge5bwzo.js} | 2 +- ...ckbox-e7ATDock.js => Checkbox-CmCsx5-l.js} | 2 +- assets/Checkbox.stories-CbNt8TH0.js | 8 ++ assets/Checkbox.stories-Cg4LkUNK.js | 8 -- ...le-CI3jQMMU.js => Collapsible-kswwTpjF.js} | 2 +- ...RjV.js => Collapsible.stories-DEYTP7nD.js} | 2 +- assets/Color-YHDXOIA2-BE_HiG-P.js | 1 - assets/Color-YHDXOIA2-LQ0Hw68V.js | 1 + ...{Colors-BfiO6EGK.js => Colors-BOD-ru-Z.js} | 2 +- ...on-DfJfzaFg.js => Combination-B30zI8Yx.js} | 26 ++-- ...1YM.js => ControlledTextInput-Rh4_ZXKu.js} | 2 +- ...ivider-PXwLU2je.js => Divider-CiKhk90j.js} | 2 +- ...ER_qREG.js => Divider.stories-CKh95xbU.js} | 2 +- ...x.js => DocsRenderer-CFRXHY34-ByjBGumv.js} | 128 +++++++++--------- ...cI.js => DropdownMenu.stories-CINkoAIL.js} | 2 +- .../{Field-Dz_fFMgk.js => Field-BUPg2hwy.js} | 2 +- ...nput-oBomNnLv.js => FileInput-DuLFNLxK.js} | 2 +- ...WunCO.js => FileInput.stories-KM4XbV5y.js} | 2 +- ...s-B92uvuzD.js => Form.stories-4aM0i1ze.js} | 2 +- ....js => GradientAvatar.stories-CFRNfq8H.js} | 2 +- ...s-BN4MVxC-.js => Icon.stories-C0fvkfeJ.js} | 2 +- ...ton-M16ADBdN.js => IconButton-tt72d-YU.js} | 2 +- ...WW6r.js => IconButton.stories-DuhcIAQW.js} | 2 +- ...hy-QyRnV4ha.js => Iconography-UBAOWVH4.js} | 2 +- assets/Image-BYRrYa8a.js | 1 + assets/Image-DPd_KzxQ.js | 1 - ...-BTGlEkL5.js => Image.stories-UExRAIHJ.js} | 2 +- ...n-CHa9Z6aZ.js => Introduction-DHTlWsmw.js} | 2 +- .../{Modal-CAKXAecG.js => Modal-BuzFD6wO.js} | 6 +- ...-C-tj4bbN.js => Modal.stories-DPWONE-H.js} | 2 +- assets/NetworkImage-CSZhsnM7.js | 1 - assets/NetworkImage-SJY1DR57.js | 1 + ...BL.js => NetworkImage.stories-C5Wk1H8_.js} | 2 +- ...nU.js => NumericInput.stories-CudJIOsz.js} | 2 +- ...g1.js => PINCodeInput.stories-XpDk2NpK.js} | 2 +- ...xs2Vj9.js => Progress.stories-LD5FsRz5.js} | 6 +- assets/RadioGroup-Cax5XL0Y.js | 1 + assets/RadioGroup-DXxc1nEu.js | 1 - ...X_Xp.js => RadioGroup.stories-XC7eXECr.js} | 2 +- ...{Scroll-HNtTmBVf.js => Scroll-CD1l9_-j.js} | 2 +- ...CtFNU-MG.js => Scroll.stories-5yb7o_H_.js} | 2 +- ...2jh.js => SearchInput.stories-CBW8-o_E.js} | 2 +- ...{Select-Cu4ORgJB.js => Select-DxvlIVLn.js} | 2 +- ...CcAJtG2s.js => Select.stories-BhGeDZCw.js} | 2 +- assets/Skeleton.stories-DGNUSgEL.js | 10 ++ assets/Skeleton.stories-DHaPRsWj.js | 10 -- ...84Ib-5Y.js => Spinner.stories-Or4N5sW0.js} | 2 +- ... StopClickPropagation.stories-BFWVCPTt.js} | 2 +- ...{Switch-DB8XdH2V.js => Switch-BPf1v6yw.js} | 2 +- ...B_QfWAxo.js => Switch.stories-EK6drmok.js} | 2 +- ...PSTFM.js => TabbedNav.stories-CxRHdned.js} | 2 +- ...s-8dcO1f44.js => Tabs.stories-DdDo8Fjl.js} | 2 +- ...es-DanE-A-e.js => Tag.stories-CXjzyP-8.js} | 2 +- assets/{Text-DiY0ipGE.js => Text-c-Dt_3pd.js} | 2 +- ...s-CPU4kQlD.js => Text.stories-C2qEyU2H.js} | 2 +- ...tArea-eR4gtFpK.js => TextArea-BpNyW7g9.js} | 2 +- ...9Zy2WA.js => TextArea.stories-DOP6JfqR.js} | 2 +- ...nput-yPmOWNKY.js => TextInput-DuktM35c.js} | 2 +- ...Smm4E.js => TextInput.stories-Bt4uSDTF.js} | 2 +- ...-CHaDE3bZ.js => ThemeProvider-BFEsm4Z9.js} | 2 +- ...Q.js => ThemeProvider.stories-BTgDvQyw.js} | 2 +- ...-C-ptQYRa.js => Toast.stories-_MvHTY8i.js} | 2 +- ...GSeC.js => TokenImage.stories-B0deHg6U.js} | 2 +- ...vjH4bl1.js => Tooltip.stories-DB8A5eX6.js} | 2 +- ...phy-C_wtLsut.js => Typography-DTr1gwOv.js} | 2 +- ...on-C-Bue-nz.js => WarningIcon-Z1cZGh4-.js} | 2 +- ...-DVkPYsFL.js => entry-preview-DuHUfRbp.js} | 6 +- ...WOeZ.js => entry-preview-docs-C3pBt8gI.js} | 54 ++++---- ...{iframe-CqSFuqlf.js => iframe-DBaV6xvg.js} | 42 +++--- assets/index-0Y1j60H7.js | 9 -- assets/index-BH4yqkGc.js | 1 + .../{index-BFS5t9Ij.js => index-BKFtrmjf.js} | 2 +- assets/index-BPXglf9v.js | 1 + .../{index-BWPEG51O.js => index-BQhnwxuj.js} | 10 +- assets/index-BWtkTp-R.js | 1 - assets/index-Bac_1hpE.js | 1 - .../{index-DEvaI7vP.js => index-BkTKsPvT.js} | 2 +- .../{index-Brs1icLk.js => index-CXQShRbs.js} | 4 +- .../{index-4RitGr_c.js => index-Cbr3GIiu.js} | 2 +- assets/index-Cbw-VAaK.js | 1 + .../{index-CpZK5cx3.js => index-CfbYICbs.js} | 2 +- assets/index-CuZtKiOG.js | 1 - assets/index-D5x9zqoE.js | 9 ++ .../{index-DCVWRiMv.js => index-DC1_uW73.js} | 2 +- assets/index-DKEAZgBW.js | 1 + assets/index-DKHC-OhD.js | 1 - assets/index-Dcf1nc42.js | 1 - .../{index-DEpc0yGt.js => index-DeHG_5CV.js} | 2 +- assets/index-Dp3B9jqt.js | 1 + assets/index-DrFu-skq.js | 6 + .../{index-D1TSixAU.js => index-DubqEmGm.js} | 2 +- assets/index-Dzx0UDTo.js | 1 - assets/index-EKtyzmkF.js | 1 + .../{index-CdSWItFS.js => index-JD-fg0In.js} | 2 +- .../{index-DogTl_U1.js => index-SbpNQzLY.js} | 2 +- assets/index-VR-_z_Zs.js | 1 - assets/index-e5epXPAg.js | 1 + .../{index-D2m0ySOf.js => index-fNjTmf9T.js} | 12 +- .../{index-BefANkT7.js => index-h6D3frV-.js} | 2 +- assets/index-ogSvIofg.js | 6 - .../{index-CrPz3I2A.js => index-s_7BDCjm.js} | 2 +- .../{index--wnn4zir.js => index-uUNwjQTH.js} | 2 +- .../{index-C9rmetsa.js => index-yBjzXJbu.js} | 2 +- assets/jsx-runtime-Cf8x2fCZ.js | 9 ++ assets/jsx-runtime-z8MfsBtr.js | 9 -- assets/preview-58RC1v3k.js | 2 + assets/preview-B8lJiyuQ.js | 34 +++++ assets/preview-BHiiGPxK.css | 1 - ...review-DY_pW_WS.js => preview-BWzBA1C2.js} | 2 +- ...review-CdJv8pB8.js => preview-CRQIABMF.js} | 2 +- assets/preview-CvbIS5ZJ.js | 1 + ...review-BBaaQ8mG.js => preview-DD_OYowb.js} | 2 +- assets/preview-DhV18CwB.js | 34 ----- assets/preview-Ords21UN.css | 1 + assets/preview-SbQROT_S.js | 1 - assets/preview-shdZu16F.js | 2 - assets/proxy-71i4uxHe.js | 1 + assets/proxy-DndLXkKn.js | 1 - ...ct-18-Bd5J0FWG.js => react-18-DbvqzeU0.js} | 2 +- iframe.html | 4 +- project.json | 2 +- sb-addons/designs-9/register-panel-bundle.js | 2 +- sb-manager/globals-runtime.js | 2 +- 129 files changed, 317 insertions(+), 317 deletions(-) rename assets/{Badge-cqyPcrKe.js => Badge-WmIl408L.js} (88%) rename assets/{Badge.stories-BooSLj1u.js => Badge.stories-ZgPefoYS.js} (74%) rename assets/{Breadcrumbs.stories-CTxa5ozy.js => Breadcrumbs.stories-OEPXak6E.js} (84%) rename assets/{Button-e99vAgb9.js => Button-CJ_2iam3.js} (76%) rename assets/{Button.stories-CXNuvxnz.js => Button.stories-DJUndfoE.js} (91%) rename assets/{Card-DDkzOCNp.js => Card-BcrLDAIN.js} (78%) rename assets/{Card.stories-CEv0fwTx.js => Card.stories-Cge5bwzo.js} (92%) rename assets/{Checkbox-e7ATDock.js => Checkbox-CmCsx5-l.js} (53%) create mode 100644 assets/Checkbox.stories-CbNt8TH0.js delete mode 100644 assets/Checkbox.stories-Cg4LkUNK.js rename assets/{Collapsible-CI3jQMMU.js => Collapsible-kswwTpjF.js} (73%) rename assets/{Collapsible.stories-DVSbuRjV.js => Collapsible.stories-DEYTP7nD.js} (70%) delete mode 100644 assets/Color-YHDXOIA2-BE_HiG-P.js create mode 100644 assets/Color-YHDXOIA2-LQ0Hw68V.js rename assets/{Colors-BfiO6EGK.js => Colors-BOD-ru-Z.js} (69%) rename assets/{Combination-DfJfzaFg.js => Combination-B30zI8Yx.js} (53%) rename assets/{ControlledTextInput-DjDjk1YM.js => ControlledTextInput-Rh4_ZXKu.js} (99%) rename assets/{Divider-PXwLU2je.js => Divider-CiKhk90j.js} (80%) rename assets/{Divider.stories-BER_qREG.js => Divider.stories-CKh95xbU.js} (74%) rename assets/{DocsRenderer-CFRXHY34-jNd1DwDx.js => DocsRenderer-CFRXHY34-ByjBGumv.js} (83%) rename assets/{DropdownMenu.stories-DjQ9VLcI.js => DropdownMenu.stories-CINkoAIL.js} (86%) rename assets/{Field-Dz_fFMgk.js => Field-BUPg2hwy.js} (92%) rename assets/{FileInput-oBomNnLv.js => FileInput-DuLFNLxK.js} (89%) rename assets/{FileInput.stories-Cv7WunCO.js => FileInput.stories-KM4XbV5y.js} (55%) rename assets/{Form.stories-B92uvuzD.js => Form.stories-4aM0i1ze.js} (86%) rename assets/{GradientAvatar.stories-DDVuN9rj.js => GradientAvatar.stories-CFRNfq8H.js} (99%) rename assets/{Icon.stories-BN4MVxC-.js => Icon.stories-C0fvkfeJ.js} (68%) rename assets/{IconButton-M16ADBdN.js => IconButton-tt72d-YU.js} (82%) rename assets/{IconButton.stories-D5ifWW6r.js => IconButton.stories-DuhcIAQW.js} (70%) rename assets/{Iconography-QyRnV4ha.js => Iconography-UBAOWVH4.js} (76%) create mode 100644 assets/Image-BYRrYa8a.js delete mode 100644 assets/Image-DPd_KzxQ.js rename assets/{Image.stories-BTGlEkL5.js => Image.stories-UExRAIHJ.js} (67%) rename assets/{Introduction-CHa9Z6aZ.js => Introduction-DHTlWsmw.js} (85%) rename assets/{Modal-CAKXAecG.js => Modal-BuzFD6wO.js} (52%) rename assets/{Modal.stories-C-tj4bbN.js => Modal.stories-DPWONE-H.js} (85%) delete mode 100644 assets/NetworkImage-CSZhsnM7.js create mode 100644 assets/NetworkImage-SJY1DR57.js rename assets/{NetworkImage.stories-8rlK7kBL.js => NetworkImage.stories-C5Wk1H8_.js} (52%) rename assets/{NumericInput.stories-DIL0-InU.js => NumericInput.stories-CudJIOsz.js} (63%) rename assets/{PINCodeInput.stories-CtueTHg1.js => PINCodeInput.stories-XpDk2NpK.js} (92%) rename assets/{Progress.stories-DExs2Vj9.js => Progress.stories-LD5FsRz5.js} (79%) create mode 100644 assets/RadioGroup-Cax5XL0Y.js delete mode 100644 assets/RadioGroup-DXxc1nEu.js rename assets/{RadioGroup.stories-DmkbX_Xp.js => RadioGroup.stories-XC7eXECr.js} (59%) rename assets/{Scroll-HNtTmBVf.js => Scroll-CD1l9_-j.js} (93%) rename assets/{Scroll.stories-CtFNU-MG.js => Scroll.stories-5yb7o_H_.js} (85%) rename assets/{SearchInput.stories-BbwNL2jh.js => SearchInput.stories-CBW8-o_E.js} (79%) rename assets/{Select-Cu4ORgJB.js => Select-DxvlIVLn.js} (95%) rename assets/{Select.stories-CcAJtG2s.js => Select.stories-BhGeDZCw.js} (78%) create mode 100644 assets/Skeleton.stories-DGNUSgEL.js delete mode 100644 assets/Skeleton.stories-DHaPRsWj.js rename assets/{Spinner.stories-D84Ib-5Y.js => Spinner.stories-Or4N5sW0.js} (92%) rename assets/{StopClickPropagation.stories-DH0HI3zM.js => StopClickPropagation.stories-BFWVCPTt.js} (79%) rename assets/{Switch-DB8XdH2V.js => Switch-BPf1v6yw.js} (57%) rename assets/{Switch.stories-B_QfWAxo.js => Switch.stories-EK6drmok.js} (53%) rename assets/{TabbedNav.stories-CXZPSTFM.js => TabbedNav.stories-CxRHdned.js} (83%) rename assets/{Tabs.stories-8dcO1f44.js => Tabs.stories-DdDo8Fjl.js} (83%) rename assets/{Tag.stories-DanE-A-e.js => Tag.stories-CXjzyP-8.js} (80%) rename assets/{Text-DiY0ipGE.js => Text-c-Dt_3pd.js} (97%) rename assets/{Text.stories-CPU4kQlD.js => Text.stories-C2qEyU2H.js} (94%) rename assets/{TextArea-eR4gtFpK.js => TextArea-BpNyW7g9.js} (87%) rename assets/{TextArea.stories-Ds9Zy2WA.js => TextArea.stories-DOP6JfqR.js} (66%) rename assets/{TextInput-yPmOWNKY.js => TextInput-DuktM35c.js} (89%) rename assets/{TextInput.stories-Cx-Smm4E.js => TextInput.stories-Bt4uSDTF.js} (85%) rename assets/{ThemeProvider-CHaDE3bZ.js => ThemeProvider-BFEsm4Z9.js} (87%) rename assets/{ThemeProvider.stories-DXmThDvQ.js => ThemeProvider.stories-BTgDvQyw.js} (93%) rename assets/{Toast.stories-C-ptQYRa.js => Toast.stories-_MvHTY8i.js} (94%) rename assets/{TokenImage.stories-Xc-OGSeC.js => TokenImage.stories-B0deHg6U.js} (88%) rename assets/{Tooltip.stories-CvjH4bl1.js => Tooltip.stories-DB8A5eX6.js} (92%) rename assets/{Typography-C_wtLsut.js => Typography-DTr1gwOv.js} (73%) rename assets/{WarningIcon-C-Bue-nz.js => WarningIcon-Z1cZGh4-.js} (99%) rename assets/{entry-preview-DVkPYsFL.js => entry-preview-DuHUfRbp.js} (99%) rename assets/{entry-preview-docs-BSO4WOeZ.js => entry-preview-docs-C3pBt8gI.js} (91%) rename assets/{iframe-CqSFuqlf.js => iframe-DBaV6xvg.js} (87%) delete mode 100644 assets/index-0Y1j60H7.js create mode 100644 assets/index-BH4yqkGc.js rename assets/{index-BFS5t9Ij.js => index-BKFtrmjf.js} (84%) create mode 100644 assets/index-BPXglf9v.js rename assets/{index-BWPEG51O.js => index-BQhnwxuj.js} (89%) delete mode 100644 assets/index-BWtkTp-R.js delete mode 100644 assets/index-Bac_1hpE.js rename assets/{index-DEvaI7vP.js => index-BkTKsPvT.js} (92%) rename assets/{index-Brs1icLk.js => index-CXQShRbs.js} (95%) rename assets/{index-4RitGr_c.js => index-Cbr3GIiu.js} (58%) create mode 100644 assets/index-Cbw-VAaK.js rename assets/{index-CpZK5cx3.js => index-CfbYICbs.js} (72%) delete mode 100644 assets/index-CuZtKiOG.js create mode 100644 assets/index-D5x9zqoE.js rename assets/{index-DCVWRiMv.js => index-DC1_uW73.js} (92%) create mode 100644 assets/index-DKEAZgBW.js delete mode 100644 assets/index-DKHC-OhD.js delete mode 100644 assets/index-Dcf1nc42.js rename assets/{index-DEpc0yGt.js => index-DeHG_5CV.js} (54%) create mode 100644 assets/index-Dp3B9jqt.js create mode 100644 assets/index-DrFu-skq.js rename assets/{index-D1TSixAU.js => index-DubqEmGm.js} (88%) delete mode 100644 assets/index-Dzx0UDTo.js create mode 100644 assets/index-EKtyzmkF.js rename assets/{index-CdSWItFS.js => index-JD-fg0In.js} (52%) rename assets/{index-DogTl_U1.js => index-SbpNQzLY.js} (94%) delete mode 100644 assets/index-VR-_z_Zs.js create mode 100644 assets/index-e5epXPAg.js rename assets/{index-D2m0ySOf.js => index-fNjTmf9T.js} (91%) rename assets/{index-BefANkT7.js => index-h6D3frV-.js} (76%) delete mode 100644 assets/index-ogSvIofg.js rename assets/{index-CrPz3I2A.js => index-s_7BDCjm.js} (85%) rename assets/{index--wnn4zir.js => index-uUNwjQTH.js} (68%) rename assets/{index-C9rmetsa.js => index-yBjzXJbu.js} (96%) create mode 100644 assets/jsx-runtime-Cf8x2fCZ.js delete mode 100644 assets/jsx-runtime-z8MfsBtr.js create mode 100644 assets/preview-58RC1v3k.js create mode 100644 assets/preview-B8lJiyuQ.js delete mode 100644 assets/preview-BHiiGPxK.css rename assets/{preview-DY_pW_WS.js => preview-BWzBA1C2.js} (99%) rename assets/{preview-CdJv8pB8.js => preview-CRQIABMF.js} (83%) create mode 100644 assets/preview-CvbIS5ZJ.js rename assets/{preview-BBaaQ8mG.js => preview-DD_OYowb.js} (56%) delete mode 100644 assets/preview-DhV18CwB.js create mode 100644 assets/preview-Ords21UN.css delete mode 100644 assets/preview-SbQROT_S.js delete mode 100644 assets/preview-shdZu16F.js create mode 100644 assets/proxy-71i4uxHe.js delete mode 100644 assets/proxy-DndLXkKn.js rename assets/{react-18-Bd5J0FWG.js => react-18-DbvqzeU0.js} (86%) diff --git a/assets/Badge-cqyPcrKe.js b/assets/Badge-WmIl408L.js similarity index 88% rename from assets/Badge-cqyPcrKe.js rename to assets/Badge-WmIl408L.js index 7644bb5ca..65ac2bee3 100644 --- a/assets/Badge-cqyPcrKe.js +++ b/assets/Badge-WmIl408L.js @@ -1 +1 @@ -import{j as n}from"./jsx-runtime-z8MfsBtr.js";import{c as m}from"./index-DKHC-OhD.js";import{c as u}from"./clsx-B-dksMZM.js";import{T as c,t as a}from"./Text-DiY0ipGE.js";const r=m(["inline-flex","shrink-0","items-center","rounded-full","text-white","whitespace-nowrap","font-normal"],{variants:{variant:{info:"bg-info",warning:"bg-warning",success:"bg-positive",error:"bg-negative"},size:{sm:[a({variant:"small"}),"h-4","min-w-4","px-2"],md:[a({variant:"normal"}),"h-5","min-w-5","px-3"],lg:[a({variant:"medium"}),"h-6","min-w-6","px-4"]}},defaultVariants:{variant:"info",size:"md"}}),i=e=>{const{className:s,value:t,variant:l,size:d,...o}=e;return n.jsx("div",{className:u(r({variant:l,size:d}),s),...o,children:n.jsx(c,{children:t})})};try{r.displayName="badgeVariants",r.__docgenInfo={description:"",displayName:"badgeVariants",props:{variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:'"info" | "warning" | "success" | "error" | null'}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"sm" | "md" | "lg" | null'}},class:{defaultValue:null,description:"",name:"class",required:!1,type:{name:"ClassValue"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"ClassValue"}}}}}catch{}try{i.displayName="Badge",i.__docgenInfo={description:"",displayName:"Badge",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"ReactNode"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:'"info" | "warning" | "success" | "error" | null'}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"sm" | "md" | "lg" | null'}}}}}catch{}export{i as B}; +import{j as n}from"./jsx-runtime-Cf8x2fCZ.js";import{c as m}from"./index-Dp3B9jqt.js";import{c as u}from"./clsx-B-dksMZM.js";import{T as c,t as a}from"./Text-c-Dt_3pd.js";const r=m(["inline-flex","shrink-0","items-center","rounded-full","text-white","whitespace-nowrap","font-normal"],{variants:{variant:{info:"bg-info",warning:"bg-warning",success:"bg-positive",error:"bg-negative"},size:{sm:[a({variant:"small"}),"h-4","min-w-4","px-2"],md:[a({variant:"normal"}),"h-5","min-w-5","px-3"],lg:[a({variant:"medium"}),"h-6","min-w-6","px-4"]}},defaultVariants:{variant:"info",size:"md"}}),i=e=>{const{className:s,value:t,variant:l,size:d,...o}=e;return n.jsx("div",{className:u(r({variant:l,size:d}),s),...o,children:n.jsx(c,{children:t})})};try{r.displayName="badgeVariants",r.__docgenInfo={description:"",displayName:"badgeVariants",props:{variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:'"info" | "warning" | "success" | "error" | null'}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"sm" | "md" | "lg" | null'}},class:{defaultValue:null,description:"",name:"class",required:!1,type:{name:"ClassValue"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"ClassValue"}}}}}catch{}try{i.displayName="Badge",i.__docgenInfo={description:"",displayName:"Badge",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"ReactNode"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:'"info" | "warning" | "success" | "error" | null'}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"sm" | "md" | "lg" | null'}}}}}catch{}export{i as B}; diff --git a/assets/Badge.stories-BooSLj1u.js b/assets/Badge.stories-ZgPefoYS.js similarity index 74% rename from assets/Badge.stories-BooSLj1u.js rename to assets/Badge.stories-ZgPefoYS.js index 22862a834..184ae8c13 100644 --- a/assets/Badge.stories-BooSLj1u.js +++ b/assets/Badge.stories-ZgPefoYS.js @@ -1,4 +1,4 @@ -import{B as i}from"./Badge-cqyPcrKe.js";import"./jsx-runtime-z8MfsBtr.js";import"./index-C9rmetsa.js";import"./index-DKHC-OhD.js";import"./clsx-B-dksMZM.js";import"./Text-DiY0ipGE.js";import"./index-DEvaI7vP.js";import"./index-D1TSixAU.js";import"./classnames-Dx2cly0x.js";const h={title:"Components/Badge",component:i},r={args:{value:"3",variant:"info"}},a={args:{value:"2713",variant:"success"}};var e,t,s;r.parameters={...r.parameters,docs:{...(e=r.parameters)==null?void 0:e.docs,source:{originalSource:`{ +import{B as i}from"./Badge-WmIl408L.js";import"./jsx-runtime-Cf8x2fCZ.js";import"./index-yBjzXJbu.js";import"./index-Dp3B9jqt.js";import"./clsx-B-dksMZM.js";import"./Text-c-Dt_3pd.js";import"./index-BkTKsPvT.js";import"./index-DubqEmGm.js";import"./classnames-Dx2cly0x.js";const h={title:"Components/Badge",component:i},r={args:{value:"3",variant:"info"}},a={args:{value:"2713",variant:"success"}};var e,t,s;r.parameters={...r.parameters,docs:{...(e=r.parameters)==null?void 0:e.docs,source:{originalSource:`{ args: { value: '3', variant: 'info' diff --git a/assets/Breadcrumbs.stories-CTxa5ozy.js b/assets/Breadcrumbs.stories-OEPXak6E.js similarity index 84% rename from assets/Breadcrumbs.stories-CTxa5ozy.js rename to assets/Breadcrumbs.stories-OEPXak6E.js index 4e0278d7c..9439dbc8c 100644 --- a/assets/Breadcrumbs.stories-CTxa5ozy.js +++ b/assets/Breadcrumbs.stories-OEPXak6E.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-z8MfsBtr.js";import"./index-DEpc0yGt.js";import{T as s}from"./Text-DiY0ipGE.js";import{D as f}from"./Divider-PXwLU2je.js";import"./index-C9rmetsa.js";import"./index-DEvaI7vP.js";import"./index-D1TSixAU.js";import"./index-DKHC-OhD.js";import"./clsx-B-dksMZM.js";import"./classnames-Dx2cly0x.js";const o=a=>{const{className:r,paths:t,excludeDivider:l=!1,renderLink:u,...p}=a;return e.jsxs("div",{className:r,...p,children:[e.jsx(s,{variant:"small",fontWeight:"medium",asChild:!0,children:e.jsx("div",{children:t.map((h,i)=>e.jsx(b,{path:h,active:i===t.length-1,renderLink:u},i))})}),!l&&e.jsx(f,{})]})},x=(a,r)=>e.jsx("a",{href:a.url,children:r}),b=a=>{const{path:r,active:t,renderLink:l=x}=a;return t?e.jsx(s,{color:"primary",nowrap:!0,capitalize:!0,children:r.label}):e.jsxs(e.Fragment,{children:[e.jsx(s,{color:"muted",nowrap:!0,capitalize:!0,className:"no-underline outline-hidden focus:ring-2 focus:ring-border-focus hover:opacity-80",asChild:!0,children:l(r,r.label)}),e.jsx(s,{color:"muted",children:" / "})]})};try{o.displayName="Breadcrumbs",o.__docgenInfo={description:"",displayName:"Breadcrumbs",props:{excludeDivider:{defaultValue:null,description:"",name:"excludeDivider",required:!1,type:{name:"boolean"}},paths:{defaultValue:null,description:"",name:"paths",required:!0,type:{name:"Path[]"}},renderLink:{defaultValue:null,description:"",name:"renderLink",required:!1,type:{name:"((path: Path, children: ReactNode) => Element)"}}}}}catch{}const N={title:"Components/Breadcrumbs",component:o},n={args:{excludeDivider:!1,paths:[{label:"Home",url:"/"},{label:"Components",url:"/components"},{label:"Breadcrumbs"}]}};var d,c,m;n.parameters={...n.parameters,docs:{...(d=n.parameters)==null?void 0:d.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-Cf8x2fCZ.js";import"./index-DeHG_5CV.js";import{T as s}from"./Text-c-Dt_3pd.js";import{D as f}from"./Divider-CiKhk90j.js";import"./index-yBjzXJbu.js";import"./index-BkTKsPvT.js";import"./index-DubqEmGm.js";import"./index-Dp3B9jqt.js";import"./clsx-B-dksMZM.js";import"./classnames-Dx2cly0x.js";const o=a=>{const{className:r,paths:t,excludeDivider:l=!1,renderLink:u,...p}=a;return e.jsxs("div",{className:r,...p,children:[e.jsx(s,{variant:"small",fontWeight:"medium",asChild:!0,children:e.jsx("div",{children:t.map((h,i)=>e.jsx(b,{path:h,active:i===t.length-1,renderLink:u},i))})}),!l&&e.jsx(f,{})]})},x=(a,r)=>e.jsx("a",{href:a.url,children:r}),b=a=>{const{path:r,active:t,renderLink:l=x}=a;return t?e.jsx(s,{color:"primary",nowrap:!0,capitalize:!0,children:r.label}):e.jsxs(e.Fragment,{children:[e.jsx(s,{color:"muted",nowrap:!0,capitalize:!0,className:"no-underline outline-hidden focus:ring-2 focus:ring-border-focus hover:opacity-80",asChild:!0,children:l(r,r.label)}),e.jsx(s,{color:"muted",children:" / "})]})};try{o.displayName="Breadcrumbs",o.__docgenInfo={description:"",displayName:"Breadcrumbs",props:{excludeDivider:{defaultValue:null,description:"",name:"excludeDivider",required:!1,type:{name:"boolean"}},paths:{defaultValue:null,description:"",name:"paths",required:!0,type:{name:"Path[]"}},renderLink:{defaultValue:null,description:"",name:"renderLink",required:!1,type:{name:"((path: Path, children: ReactNode) => Element)"}}}}}catch{}const N={title:"Components/Breadcrumbs",component:o},n={args:{excludeDivider:!1,paths:[{label:"Home",url:"/"},{label:"Components",url:"/components"},{label:"Breadcrumbs"}]}};var d,c,m;n.parameters={...n.parameters,docs:{...(d=n.parameters)==null?void 0:d.docs,source:{originalSource:`{ args: { excludeDivider: false, paths: [{ diff --git a/assets/Button-e99vAgb9.js b/assets/Button-CJ_2iam3.js similarity index 76% rename from assets/Button-e99vAgb9.js rename to assets/Button-CJ_2iam3.js index 2e31ab8f3..5cded4814 100644 --- a/assets/Button-e99vAgb9.js +++ b/assets/Button-CJ_2iam3.js @@ -1 +1 @@ -import{j as e}from"./jsx-runtime-z8MfsBtr.js";import{S as _,a as w}from"./index-DEvaI7vP.js";import{c as O}from"./index-DKHC-OhD.js";import{r as j}from"./index-D1TSixAU.js";import{T as R,t as n}from"./Text-DiY0ipGE.js";import{c as d}from"./classnames-Dx2cly0x.js";const u=O(["inline-flex items-center whitespace-nowrap overflow-hidden border-none text-decoration-none","outline-hidden ring-inset focus-visible:ring-2 focus-visible:ring-border-focus"],{variants:{variant:{base:"bg-transparent text-primary",ghost:"bg-transparent hover:bg-button-glass text-primary",feature:["bg-gradient-secondary text-white","ring-inset ring-2 ring-white/10"],primary:"bg-gradient-primary text-white",glass:"bg-button-glass text-primary",emphasis:"bg-button-emphasis text-primary",raised:"bg-background-raised text-primary",danger:"bg-negative text-white",text:["bg-transparent text-muted rounded-xs outline-offset-1",n({variant:"small"}),"font-bold"]},shape:{circle:"rounded-full",square:"rounded-lg"},size:{xs:[n({variant:"xsmall",fontWeight:"bold"}),"h-7 px-3"],sm:[n({variant:"normal",fontWeight:"bold"}),"h-9 px-4"],md:[n({variant:"normal",fontWeight:"bold"}),"h-11 px-5"],lg:[n({variant:"normal",fontWeight:"bold"}),"h-[52px] px-5"]},disabled:{true:"cursor-default opacity-50",false:"cursor-pointer hover:opacity-80"},iconOnly:{true:"p-0 flex shrink-0 items-center justify-center"},hasLeftIcon:{true:""},hasRightIcon:{true:""}},compoundVariants:[{iconOnly:!0,size:"xs",className:"w-7"},{iconOnly:!0,size:"sm",className:"w-9"},{iconOnly:!0,size:"md",className:"w-11"},{iconOnly:!0,size:"lg",className:"w-13"},{iconOnly:!1,hasLeftIcon:!0,size:"xs",className:"pl-2"},{iconOnly:!1,hasLeftIcon:!0,size:"sm",className:"pl-2"},{iconOnly:!1,hasLeftIcon:!0,size:"md",className:"pl-4"},{iconOnly:!1,hasRightIcon:!0,size:"xs",className:"pr-2"},{iconOnly:!1,hasRightIcon:!0,size:"sm",className:"pr-2"},{iconOnly:!1,hasRightIcon:!0,size:"md",className:"pr-4"}],defaultVariants:{variant:"glass"}}),h=j.forwardRef((t,g)=>{const{asChild:y,className:b,disabled:c=!1,pending:p=!1,label:s,leftIcon:a,rightIcon:l,size:i="md",variant:r="glass",shape:x="circle",type:I="button",children:V,...v}=t,q=a!==void 0&&s!==void 0,z=l!==void 0&&s!==void 0,m=a!==void 0&&s===void 0,o=i==="xs"?"xs":"sm",f=i==="xs"?"gap-1":"gap-2",N=y?_:"button";return e.jsxs(N,{ref:g,className:d(u({disabled:c||p,hasLeftIcon:q,hasRightIcon:z,iconOnly:m,size:r==="text"?void 0:i,shape:r==="text"?void 0:x,variant:r}),b),disabled:c||p,type:I,...v,children:[e.jsx(w,{children:V}),m?e.jsx(a,{size:o}):e.jsxs("div",{className:d("w-full h-full flex items-center justify-between",f),children:[e.jsxs("div",{className:d("flex items-center justify-start",f),children:[a&&e.jsx(a,{size:o}),e.jsx(R,{children:s})]}),l&&e.jsx(l,{size:o})]})]})});try{u.displayName="buttonVariants",u.__docgenInfo={description:"",displayName:"buttonVariants",props:{variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:'"text" | "primary" | "base" | "ghost" | "feature" | "glass" | "emphasis" | "raised" | "danger" | null'}},shape:{defaultValue:null,description:"",name:"shape",required:!1,type:{name:'"circle" | "square" | null'}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"sm" | "md" | "lg" | "xs" | null'}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean | null"}},iconOnly:{defaultValue:null,description:"",name:"iconOnly",required:!1,type:{name:"boolean | null"}},hasLeftIcon:{defaultValue:null,description:"",name:"hasLeftIcon",required:!1,type:{name:"boolean | null"}},hasRightIcon:{defaultValue:null,description:"",name:"hasRightIcon",required:!1,type:{name:"boolean | null"}},class:{defaultValue:null,description:"",name:"class",required:!1,type:{name:"ClassValue"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"ClassValue"}}}}}catch{}try{h.displayName="Button",h.__docgenInfo={description:"",displayName:"Button",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},pending:{defaultValue:null,description:"",name:"pending",required:!1,type:{name:"boolean"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},leftIcon:{defaultValue:null,description:"",name:"leftIcon",required:!1,type:{name:"ComponentType"}},rightIcon:{defaultValue:null,description:"",name:"rightIcon",required:!1,type:{name:"ComponentType"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:'"text" | "primary" | "base" | "ghost" | "feature" | "glass" | "emphasis" | "raised" | "danger" | null'}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"sm" | "md" | "lg" | "xs" | null'}},shape:{defaultValue:null,description:"",name:"shape",required:!1,type:{name:'"circle" | "square" | null'}}}}}catch{}export{h as B}; +import{j as e}from"./jsx-runtime-Cf8x2fCZ.js";import{S as _,a as w}from"./index-BkTKsPvT.js";import{c as O}from"./index-Dp3B9jqt.js";import{r as j}from"./index-DubqEmGm.js";import{T as R,t as s}from"./Text-c-Dt_3pd.js";import{c as d}from"./classnames-Dx2cly0x.js";const u=O(["inline-flex items-center whitespace-nowrap overflow-hidden border-none text-decoration-none","outline-hidden ring-inset focus-visible:ring-2 focus-visible:ring-border-focus"],{variants:{variant:{base:"bg-transparent text-primary",ghost:"bg-transparent hover:bg-button-glass text-primary",feature:["bg-gradient-secondary text-white","ring-inset ring-2 ring-white/10"],primary:"bg-gradient-primary text-white",glass:"bg-button-glass text-primary",emphasis:"bg-button-emphasis text-primary",raised:"bg-background-raised text-primary",danger:"bg-negative text-white",text:["bg-transparent text-muted rounded-xs outline-offset-1",s({variant:"small"}),"font-bold"]},shape:{circle:"rounded-full",square:"rounded-lg"},size:{xs:[s({variant:"xsmall",fontWeight:"bold"}),"h-7 px-3"],sm:[s({variant:"normal",fontWeight:"bold"}),"h-9 px-4"],md:[s({variant:"normal",fontWeight:"bold"}),"h-11 px-5"],lg:[s({variant:"normal",fontWeight:"bold"}),"h-[52px] px-5"]},disabled:{true:"cursor-default opacity-50",false:"cursor-pointer hover:opacity-80"},iconOnly:{true:"p-0 flex shrink-0 items-center justify-center"},hasLeftIcon:{true:""},hasRightIcon:{true:""}},compoundVariants:[{iconOnly:!0,size:"xs",className:"w-7"},{iconOnly:!0,size:"sm",className:"w-9"},{iconOnly:!0,size:"md",className:"w-11"},{iconOnly:!0,size:"lg",className:"w-13"},{iconOnly:!1,hasLeftIcon:!0,size:"xs",className:"pl-2"},{iconOnly:!1,hasLeftIcon:!0,size:"sm",className:"pl-2"},{iconOnly:!1,hasLeftIcon:!0,size:"md",className:"pl-4"},{iconOnly:!1,hasRightIcon:!0,size:"xs",className:"pr-2"},{iconOnly:!1,hasRightIcon:!0,size:"sm",className:"pr-2"},{iconOnly:!1,hasRightIcon:!0,size:"md",className:"pr-4"}],defaultVariants:{variant:"glass"}}),h=j.forwardRef((t,g)=>{const{asChild:y,className:b,disabled:c=!1,pending:p=!1,label:n,leftIcon:a,rightIcon:l,size:i="md",variant:r="glass",shape:x="circle",type:v="button",children:I,...V}=t,q=a!==void 0&&n!==void 0,z=l!==void 0&&n!==void 0,m=a!==void 0&&n===void 0,o=i==="xs"?"xs":"sm",f=i==="xs"?"gap-1":"gap-2",N=y?_:"button";return e.jsxs(N,{ref:g,className:d(u({disabled:c||p,hasLeftIcon:q,hasRightIcon:z,iconOnly:m,size:r==="text"?void 0:i,shape:r==="text"?void 0:x,variant:r}),b),disabled:c||p,type:v,...V,children:[e.jsx(w,{children:I}),m?e.jsx(a,{size:o}):e.jsxs("div",{className:d("w-full h-full flex items-center justify-between",f),children:[e.jsxs("div",{className:d("flex items-center justify-start",f),children:[a&&e.jsx(a,{size:o}),e.jsx(R,{children:n})]}),l&&e.jsx(l,{size:o})]})]})});try{u.displayName="buttonVariants",u.__docgenInfo={description:"",displayName:"buttonVariants",props:{variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:'"primary" | "text" | "base" | "ghost" | "feature" | "glass" | "emphasis" | "raised" | "danger" | null'}},shape:{defaultValue:null,description:"",name:"shape",required:!1,type:{name:'"circle" | "square" | null'}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"sm" | "md" | "lg" | "xs" | null'}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean | null"}},iconOnly:{defaultValue:null,description:"",name:"iconOnly",required:!1,type:{name:"boolean | null"}},hasLeftIcon:{defaultValue:null,description:"",name:"hasLeftIcon",required:!1,type:{name:"boolean | null"}},hasRightIcon:{defaultValue:null,description:"",name:"hasRightIcon",required:!1,type:{name:"boolean | null"}},class:{defaultValue:null,description:"",name:"class",required:!1,type:{name:"ClassValue"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"ClassValue"}}}}}catch{}try{h.displayName="Button",h.__docgenInfo={description:"",displayName:"Button",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},pending:{defaultValue:null,description:"",name:"pending",required:!1,type:{name:"boolean"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},leftIcon:{defaultValue:null,description:"",name:"leftIcon",required:!1,type:{name:"ComponentType"}},rightIcon:{defaultValue:null,description:"",name:"rightIcon",required:!1,type:{name:"ComponentType"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:'"primary" | "text" | "base" | "ghost" | "feature" | "glass" | "emphasis" | "raised" | "danger" | null'}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"sm" | "md" | "lg" | "xs" | null'}},shape:{defaultValue:null,description:"",name:"shape",required:!1,type:{name:'"circle" | "square" | null'}}}}}catch{}export{h as B}; diff --git a/assets/Button.stories-CXNuvxnz.js b/assets/Button.stories-DJUndfoE.js similarity index 91% rename from assets/Button.stories-CXNuvxnz.js rename to assets/Button.stories-DJUndfoE.js index 6091d170e..7a32b6ca4 100644 --- a/assets/Button.stories-CXNuvxnz.js +++ b/assets/Button.stories-DJUndfoE.js @@ -1,4 +1,4 @@ -import{j as t}from"./jsx-runtime-z8MfsBtr.js";import{B as j}from"./Badge-cqyPcrKe.js";import{S as c,a as L}from"./WarningIcon-C-Bue-nz.js";import{B as O}from"./Button-e99vAgb9.js";import"./index-C9rmetsa.js";import"./index-DKHC-OhD.js";import"./clsx-B-dksMZM.js";import"./Text-DiY0ipGE.js";import"./index-DEvaI7vP.js";import"./index-D1TSixAU.js";import"./classnames-Dx2cly0x.js";const H={title:"Components/Button",component:O},e={args:{label:"Click me",variant:"primary"},parameters:{design:{type:"figma",url:"https://www.figma.com/design/0OB1JVXSqaxmJDrP7qAMJr/Sequence-Design-System-1.1?node-id=9958-2592&t=JhRreiaffZLZbXKy-4"}}},a={args:{disabled:!1,label:"Click me",size:"md",variant:"glass"}},s={args:{disabled:!0,label:"Click me",size:"md",variant:"glass"}},r={args:{disabled:!1,label:"Click me",onClick:()=>console.log("Clicked!"),leftIcon:c,size:"md",variant:"glass"}},o={args:{disabled:!1,label:"Click me",onClick:()=>console.log("Clicked!"),rightIcon:L,size:"md",variant:"glass"}},n={args:{disabled:!1,label:"Click me",leftIcon:c,onClick:()=>console.log("Clicked!"),rightIcon:L,size:"md",variant:"glass"}},l={args:{disabled:!1,label:t.jsxs("div",{className:"flex items-center gap-1",children:["Click me",t.jsx(j,{value:"3"})]}),onClick:()=>console.log("Clicked!"),leftIcon:c,size:"md",variant:"glass"}},i={args:{label:"Click me",leftIcon:c,size:"md",asChild:!0,children:t.jsx("a",{href:"/wallet"})}};var m,d,g;e.parameters={...e.parameters,docs:{...(m=e.parameters)==null?void 0:m.docs,source:{originalSource:`{ +import{j as t}from"./jsx-runtime-Cf8x2fCZ.js";import{B as j}from"./Badge-WmIl408L.js";import{S as c,a as L}from"./WarningIcon-Z1cZGh4-.js";import{B as O}from"./Button-CJ_2iam3.js";import"./index-yBjzXJbu.js";import"./index-Dp3B9jqt.js";import"./clsx-B-dksMZM.js";import"./Text-c-Dt_3pd.js";import"./index-BkTKsPvT.js";import"./index-DubqEmGm.js";import"./classnames-Dx2cly0x.js";const H={title:"Components/Button",component:O},e={args:{label:"Click me",variant:"primary"},parameters:{design:{type:"figma",url:"https://www.figma.com/design/0OB1JVXSqaxmJDrP7qAMJr/Sequence-Design-System-1.1?node-id=9958-2592&t=JhRreiaffZLZbXKy-4"}}},a={args:{disabled:!1,label:"Click me",size:"md",variant:"glass"}},s={args:{disabled:!0,label:"Click me",size:"md",variant:"glass"}},r={args:{disabled:!1,label:"Click me",onClick:()=>console.log("Clicked!"),leftIcon:c,size:"md",variant:"glass"}},o={args:{disabled:!1,label:"Click me",onClick:()=>console.log("Clicked!"),rightIcon:L,size:"md",variant:"glass"}},n={args:{disabled:!1,label:"Click me",leftIcon:c,onClick:()=>console.log("Clicked!"),rightIcon:L,size:"md",variant:"glass"}},l={args:{disabled:!1,label:t.jsxs("div",{className:"flex items-center gap-1",children:["Click me",t.jsx(j,{value:"3"})]}),onClick:()=>console.log("Clicked!"),leftIcon:c,size:"md",variant:"glass"}},i={args:{label:"Click me",leftIcon:c,size:"md",asChild:!0,children:t.jsx("a",{href:"/wallet"})}};var m,d,g;e.parameters={...e.parameters,docs:{...(m=e.parameters)==null?void 0:m.docs,source:{originalSource:`{ args: { label: 'Click me', variant: 'primary' diff --git a/assets/Card-DDkzOCNp.js b/assets/Card-BcrLDAIN.js similarity index 78% rename from assets/Card-DDkzOCNp.js rename to assets/Card-BcrLDAIN.js index 15d7ac479..5a6a6ce01 100644 --- a/assets/Card-DDkzOCNp.js +++ b/assets/Card-BcrLDAIN.js @@ -1 +1 @@ -import{j as m}from"./jsx-runtime-z8MfsBtr.js";import{S as f}from"./index-DEvaI7vP.js";import{c as b}from"./index-DKHC-OhD.js";import{r as y}from"./index-D1TSixAU.js";import{c as V}from"./classnames-Dx2cly0x.js";const a=b(["overflow-hidden","rounded-xl","p-4","w-full"],{variants:{clickable:{true:"hover:opacity-80 cursor-pointer focus:ring-2 focus:ring-focus focus:outline-hidden"},disabled:{true:"opacity-50 cursor-default pointer-events-none"},outlined:{true:"border border-border-normal bg-transparent",false:"bg-background-secondary"},blur:{true:"backdrop-blur-xs"}},defaultVariants:{outlined:!1}}),l=y.forwardRef((e,r)=>{const{className:n,children:o,clickable:d,outlined:s,disabled:t,blur:i,asChild:u,...c}=e,p=u?f:"div";return m.jsx(p,{ref:r,className:V(a({clickable:d,outlined:s,disabled:t,blur:i}),n),...c,children:o})});try{a.displayName="cardVariants",a.__docgenInfo={description:"",displayName:"cardVariants",props:{clickable:{defaultValue:null,description:"",name:"clickable",required:!1,type:{name:"boolean | null"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean | null"}},outlined:{defaultValue:null,description:"",name:"outlined",required:!1,type:{name:"boolean | null"}},blur:{defaultValue:null,description:"",name:"blur",required:!1,type:{name:"boolean | null"}},class:{defaultValue:null,description:"",name:"class",required:!1,type:{name:"ClassValue"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"ClassValue"}}}}}catch{}try{l.displayName="Card",l.__docgenInfo={description:"",displayName:"Card",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean | null"}},clickable:{defaultValue:null,description:"",name:"clickable",required:!1,type:{name:"boolean | null"}},outlined:{defaultValue:null,description:"",name:"outlined",required:!1,type:{name:"boolean | null"}},blur:{defaultValue:null,description:"",name:"blur",required:!1,type:{name:"boolean | null"}}}}}catch{}export{l as C}; +import{j as m}from"./jsx-runtime-Cf8x2fCZ.js";import{S as f}from"./index-BkTKsPvT.js";import{c as b}from"./index-Dp3B9jqt.js";import{r as y}from"./index-DubqEmGm.js";import{c as V}from"./classnames-Dx2cly0x.js";const a=b(["overflow-hidden","rounded-xl","p-4","w-full"],{variants:{clickable:{true:"hover:opacity-80 cursor-pointer focus:ring-2 focus:ring-focus focus:outline-hidden"},disabled:{true:"opacity-50 cursor-default pointer-events-none"},outlined:{true:"border border-border-normal bg-transparent",false:"bg-background-secondary"},blur:{true:"backdrop-blur-xs"}},defaultVariants:{outlined:!1}}),l=y.forwardRef((e,r)=>{const{className:n,children:o,clickable:d,outlined:s,disabled:t,blur:i,asChild:u,...c}=e,p=u?f:"div";return m.jsx(p,{ref:r,className:V(a({clickable:d,outlined:s,disabled:t,blur:i}),n),...c,children:o})});try{a.displayName="cardVariants",a.__docgenInfo={description:"",displayName:"cardVariants",props:{clickable:{defaultValue:null,description:"",name:"clickable",required:!1,type:{name:"boolean | null"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean | null"}},outlined:{defaultValue:null,description:"",name:"outlined",required:!1,type:{name:"boolean | null"}},blur:{defaultValue:null,description:"",name:"blur",required:!1,type:{name:"boolean | null"}},class:{defaultValue:null,description:"",name:"class",required:!1,type:{name:"ClassValue"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"ClassValue"}}}}}catch{}try{l.displayName="Card",l.__docgenInfo={description:"",displayName:"Card",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}},clickable:{defaultValue:null,description:"",name:"clickable",required:!1,type:{name:"boolean | null"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean | null"}},outlined:{defaultValue:null,description:"",name:"outlined",required:!1,type:{name:"boolean | null"}},blur:{defaultValue:null,description:"",name:"blur",required:!1,type:{name:"boolean | null"}}}}}catch{}export{l as C}; diff --git a/assets/Card.stories-CEv0fwTx.js b/assets/Card.stories-Cge5bwzo.js similarity index 92% rename from assets/Card.stories-CEv0fwTx.js rename to assets/Card.stories-Cge5bwzo.js index 35bd4873f..b6c3ea711 100644 --- a/assets/Card.stories-CEv0fwTx.js +++ b/assets/Card.stories-Cge5bwzo.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-z8MfsBtr.js";import{T as e}from"./Text-DiY0ipGE.js";import{C as h}from"./Card-DDkzOCNp.js";import"./index-C9rmetsa.js";import"./index-DEvaI7vP.js";import"./index-D1TSixAU.js";import"./index-DKHC-OhD.js";import"./clsx-B-dksMZM.js";import"./classnames-Dx2cly0x.js";const S={title:"Components/Card",component:h},a={args:{children:r.jsx(r.Fragment,{children:r.jsxs("div",{className:"flex flex-col",children:[r.jsx(e,{variant:"large",color:"primary",children:"Card"}),r.jsx(e,{variant:"normal",color:"muted",children:"Description"})]})})}},l={args:{clickable:!0,onClick:()=>console.log("Clicked!"),children:r.jsx(r.Fragment,{children:r.jsxs("div",{className:"flex flex-col text-left",children:[r.jsx(e,{variant:"large",color:"primary",children:"Card"}),r.jsx(e,{variant:"normal",color:"muted",children:"Description"})]})})}},n={args:{clickable:!0,disabled:!0,children:r.jsx(r.Fragment,{children:r.jsxs("div",{className:"flex flex-col text-left",children:[r.jsx(e,{variant:"large",color:"primary",children:"Card"}),r.jsx(e,{variant:"normal",color:"muted",children:"Description"})]})})}},o={args:{outlined:!0,children:r.jsx(r.Fragment,{children:r.jsxs("div",{className:"flex flex-col",children:[r.jsx(e,{variant:"large",color:"primary",children:"Card"}),r.jsx(e,{variant:"normal",color:"muted",children:"Description"})]})})}};var t,i,c;a.parameters={...a.parameters,docs:{...(t=a.parameters)==null?void 0:t.docs,source:{originalSource:`{ +import{j as r}from"./jsx-runtime-Cf8x2fCZ.js";import{T as e}from"./Text-c-Dt_3pd.js";import{C as h}from"./Card-BcrLDAIN.js";import"./index-yBjzXJbu.js";import"./index-BkTKsPvT.js";import"./index-DubqEmGm.js";import"./index-Dp3B9jqt.js";import"./clsx-B-dksMZM.js";import"./classnames-Dx2cly0x.js";const S={title:"Components/Card",component:h},a={args:{children:r.jsx(r.Fragment,{children:r.jsxs("div",{className:"flex flex-col",children:[r.jsx(e,{variant:"large",color:"primary",children:"Card"}),r.jsx(e,{variant:"normal",color:"muted",children:"Description"})]})})}},l={args:{clickable:!0,onClick:()=>console.log("Clicked!"),children:r.jsx(r.Fragment,{children:r.jsxs("div",{className:"flex flex-col text-left",children:[r.jsx(e,{variant:"large",color:"primary",children:"Card"}),r.jsx(e,{variant:"normal",color:"muted",children:"Description"})]})})}},n={args:{clickable:!0,disabled:!0,children:r.jsx(r.Fragment,{children:r.jsxs("div",{className:"flex flex-col text-left",children:[r.jsx(e,{variant:"large",color:"primary",children:"Card"}),r.jsx(e,{variant:"normal",color:"muted",children:"Description"})]})})}},o={args:{outlined:!0,children:r.jsx(r.Fragment,{children:r.jsxs("div",{className:"flex flex-col",children:[r.jsx(e,{variant:"large",color:"primary",children:"Card"}),r.jsx(e,{variant:"normal",color:"muted",children:"Description"})]})})}};var t,i,c;a.parameters={...a.parameters,docs:{...(t=a.parameters)==null?void 0:t.docs,source:{originalSource:`{ args: { children: <>
diff --git a/assets/Checkbox-e7ATDock.js b/assets/Checkbox-CmCsx5-l.js similarity index 53% rename from assets/Checkbox-e7ATDock.js rename to assets/Checkbox-CmCsx5-l.js index 79e10c783..923ed123a 100644 --- a/assets/Checkbox-e7ATDock.js +++ b/assets/Checkbox-CmCsx5-l.js @@ -1 +1 @@ -import{j as s}from"./jsx-runtime-z8MfsBtr.js";import{r as o}from"./index-D1TSixAU.js";import{u as S}from"./index-DEvaI7vP.js";import{c as z,P as N}from"./index-CuZtKiOG.js";import{a as L,c as E}from"./index-BWtkTp-R.js";import{u as D}from"./index-CpZK5cx3.js";import{u as M}from"./index-CdSWItFS.js";import{P as O}from"./index-DogTl_U1.js";import{c as A}from"./index-DKHC-OhD.js";import{F as B}from"./Field-Dz_fFMgk.js";import{b as F}from"./WarningIcon-C-Bue-nz.js";import{c as H}from"./classnames-Dx2cly0x.js";var R="Checkbox",[K,le]=z(R),[T,X]=K(R),q=o.forwardRef((e,u)=>{const{__scopeCheckbox:t,name:i,checked:c,defaultChecked:r,required:f,disabled:n,value:p="on",onCheckedChange:b,form:m,...k}=e,[l,C]=o.useState(null),y=S(u,a=>C(a)),v=o.useRef(!1),j=l?m||!!l.closest("form"):!0,[h=!1,g]=L({prop:c,defaultProp:r,onChange:b}),V=o.useRef(h);return o.useEffect(()=>{const a=l==null?void 0:l.form;if(a){const x=()=>g(V.current);return a.addEventListener("reset",x),()=>a.removeEventListener("reset",x)}},[l,g]),s.jsxs(T,{scope:t,state:h,disabled:n,children:[s.jsx(N.button,{type:"button",role:"checkbox","aria-checked":d(h)?"mixed":h,"aria-required":f,"data-state":I(h),"data-disabled":n?"":void 0,disabled:n,value:p,...k,ref:y,onKeyDown:E(e.onKeyDown,a=>{a.key==="Enter"&&a.preventDefault()}),onClick:E(e.onClick,a=>{g(x=>d(x)?!0:!x),j&&(v.current=a.isPropagationStopped(),v.current||a.stopPropagation())})}),j&&s.jsx($,{control:l,bubbles:!v.current,name:i,value:p,checked:h,required:f,disabled:n,form:m,style:{transform:"translateX(-100%)"},defaultChecked:d(r)?!1:r})]})});q.displayName=R;var w="CheckboxIndicator",_=o.forwardRef((e,u)=>{const{__scopeCheckbox:t,forceMount:i,...c}=e,r=X(w,t);return s.jsx(O,{present:i||d(r.state)||r.state===!0,children:s.jsx(N.span,{"data-state":I(r.state),"data-disabled":r.disabled?"":void 0,...c,ref:u,style:{pointerEvents:"none",...e.style}})})});_.displayName=w;var $=e=>{const{control:u,checked:t,bubbles:i=!0,defaultChecked:c,...r}=e,f=o.useRef(null),n=D(t),p=M(u);o.useEffect(()=>{const m=f.current,k=window.HTMLInputElement.prototype,C=Object.getOwnPropertyDescriptor(k,"checked").set;if(n!==t&&C){const y=new Event("click",{bubbles:i});m.indeterminate=d(t),C.call(m,d(t)?!1:t),m.dispatchEvent(y)}},[n,t,i]);const b=o.useRef(d(t)?!1:t);return s.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:c??b.current,...r,tabIndex:-1,ref:f,style:{...e.style,...p,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function d(e){return e==="indeterminate"}function I(e){return d(e)?"indeterminate":e?"checked":"unchecked"}var G=q,J=_;const Q=A(["flex items-center justify-center bg-transparent","rounded-sm cursor-pointer opacity-100 hover:opacity-80 disabled:opacity-50 disabled:cursor-default","outline-hidden ring-inset ring-1 ring-border-focus focus-visible:ring-2 focus-visible:ring-border-focus"],{variants:{size:{sm:"h-5 w-5",lg:"h-7 w-7"}},defaultVariants:{size:"sm"}}),U=({size:e="sm"})=>s.jsx(J,{className:"flex items-center justify-center w-full h-full text-primary",children:s.jsx(F,{size:e==="lg"?"sm":"xs"})}),P=o.forwardRef((e,u)=>{const{disabled:t=!1,id:i,name:c,label:r="",labelLocation:f="left",size:n="sm",className:p,...b}=e;return s.jsx(B,{disabled:t,id:i??c,label:r,labelLocation:f,className:"whitespace-nowrap",children:s.jsx(G,{className:H(Q({size:n}),p),disabled:t,id:i??c,name:c,ref:u,...b,children:s.jsx(U,{size:n})})})});try{P.displayName="Checkbox",P.__docgenInfo={description:"",displayName:"Checkbox",props:{id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"boolean"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:'"hidden" | "top" | "left" | "right" | null'}},size:{defaultValue:{value:"sm"},description:"",name:"size",required:!1,type:{name:'"sm" | "lg" | null'}},asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}}}}}catch{}export{P as C}; +import{j as o}from"./jsx-runtime-Cf8x2fCZ.js";import{r as n}from"./index-DubqEmGm.js";import{u as S}from"./index-BkTKsPvT.js";import{c as z,P as N}from"./index-EKtyzmkF.js";import{a as L,c as E}from"./index-DKEAZgBW.js";import{u as D}from"./index-CfbYICbs.js";import{u as M}from"./index-JD-fg0In.js";import{P as O}from"./index-SbpNQzLY.js";import{c as A}from"./index-Dp3B9jqt.js";import{F as B}from"./Field-BUPg2hwy.js";import{b as F}from"./WarningIcon-Z1cZGh4-.js";import{c as H}from"./classnames-Dx2cly0x.js";var R="Checkbox",[K,le]=z(R),[T,X]=K(R),q=n.forwardRef((e,u)=>{const{__scopeCheckbox:t,name:i,checked:c,defaultChecked:r,required:f,disabled:s,value:p="on",onCheckedChange:b,form:m,...k}=e,[l,C]=n.useState(null),y=S(u,a=>C(a)),v=n.useRef(!1),j=l?m||!!l.closest("form"):!0,[h=!1,g]=L({prop:c,defaultProp:r,onChange:b}),V=n.useRef(h);return n.useEffect(()=>{const a=l==null?void 0:l.form;if(a){const x=()=>g(V.current);return a.addEventListener("reset",x),()=>a.removeEventListener("reset",x)}},[l,g]),o.jsxs(T,{scope:t,state:h,disabled:s,children:[o.jsx(N.button,{type:"button",role:"checkbox","aria-checked":d(h)?"mixed":h,"aria-required":f,"data-state":I(h),"data-disabled":s?"":void 0,disabled:s,value:p,...k,ref:y,onKeyDown:E(e.onKeyDown,a=>{a.key==="Enter"&&a.preventDefault()}),onClick:E(e.onClick,a=>{g(x=>d(x)?!0:!x),j&&(v.current=a.isPropagationStopped(),v.current||a.stopPropagation())})}),j&&o.jsx($,{control:l,bubbles:!v.current,name:i,value:p,checked:h,required:f,disabled:s,form:m,style:{transform:"translateX(-100%)"},defaultChecked:d(r)?!1:r})]})});q.displayName=R;var w="CheckboxIndicator",_=n.forwardRef((e,u)=>{const{__scopeCheckbox:t,forceMount:i,...c}=e,r=X(w,t);return o.jsx(O,{present:i||d(r.state)||r.state===!0,children:o.jsx(N.span,{"data-state":I(r.state),"data-disabled":r.disabled?"":void 0,...c,ref:u,style:{pointerEvents:"none",...e.style}})})});_.displayName=w;var $=e=>{const{control:u,checked:t,bubbles:i=!0,defaultChecked:c,...r}=e,f=n.useRef(null),s=D(t),p=M(u);n.useEffect(()=>{const m=f.current,k=window.HTMLInputElement.prototype,C=Object.getOwnPropertyDescriptor(k,"checked").set;if(s!==t&&C){const y=new Event("click",{bubbles:i});m.indeterminate=d(t),C.call(m,d(t)?!1:t),m.dispatchEvent(y)}},[s,t,i]);const b=n.useRef(d(t)?!1:t);return o.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:c??b.current,...r,tabIndex:-1,ref:f,style:{...e.style,...p,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function d(e){return e==="indeterminate"}function I(e){return d(e)?"indeterminate":e?"checked":"unchecked"}var G=q,J=_;const Q=A(["flex items-center justify-center bg-transparent","rounded-sm cursor-pointer opacity-100 hover:opacity-80 disabled:opacity-50 disabled:cursor-default","outline-hidden ring-inset ring-1 ring-border-focus focus-visible:ring-2 focus-visible:ring-border-focus"],{variants:{size:{sm:"h-5 w-5",lg:"h-7 w-7"}},defaultVariants:{size:"sm"}}),U=({size:e="sm"})=>o.jsx(J,{className:"flex items-center justify-center w-full h-full text-primary",children:o.jsx(F,{size:e==="lg"?"sm":"xs"})}),P=n.forwardRef((e,u)=>{const{disabled:t=!1,id:i,name:c,label:r="",labelLocation:f="left",size:s="sm",className:p,...b}=e;return o.jsx(B,{disabled:t,id:i??c,label:r,labelLocation:f,className:"whitespace-nowrap",children:o.jsx(G,{className:H(Q({size:s}),p),disabled:t,id:i??c,name:c,ref:u,...b,children:o.jsx(U,{size:s})})})});try{P.displayName="Checkbox",P.__docgenInfo={description:"",displayName:"Checkbox",props:{id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"boolean"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:'"hidden" | "top" | "left" | "right" | null'}},size:{defaultValue:{value:"sm"},description:"",name:"size",required:!1,type:{name:'"sm" | "lg" | null'}},asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}}}}}catch{}export{P as C}; diff --git a/assets/Checkbox.stories-CbNt8TH0.js b/assets/Checkbox.stories-CbNt8TH0.js new file mode 100644 index 000000000..a418a8d6e --- /dev/null +++ b/assets/Checkbox.stories-CbNt8TH0.js @@ -0,0 +1,8 @@ +import{C as e}from"./Checkbox-CmCsx5-l.js";import"./jsx-runtime-Cf8x2fCZ.js";import"./index-yBjzXJbu.js";import"./index-DubqEmGm.js";import"./index-BkTKsPvT.js";import"./index-EKtyzmkF.js";import"./index-e5epXPAg.js";import"./index-fNjTmf9T.js";import"./index-DKEAZgBW.js";import"./index-CfbYICbs.js";import"./index-JD-fg0In.js";import"./index-SbpNQzLY.js";import"./index-Dp3B9jqt.js";import"./clsx-B-dksMZM.js";import"./Field-BUPg2hwy.js";import"./Text-c-Dt_3pd.js";import"./classnames-Dx2cly0x.js";import"./WarningIcon-Z1cZGh4-.js";const D={title:"Forms/Checkbox",component:e},o={args:{label:"This is the label (CheckmarkIcon is missing)",labelLocation:"right",size:"sm",disabled:!1}};var r,i,t;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:`{ + args: { + label: 'This is the label (CheckmarkIcon is missing)', + labelLocation: 'right', + size: 'sm', + disabled: false + } +}`,...(t=(i=o.parameters)==null?void 0:i.docs)==null?void 0:t.source}}};const I=["Default"];export{o as Default,I as __namedExportsOrder,D as default}; diff --git a/assets/Checkbox.stories-Cg4LkUNK.js b/assets/Checkbox.stories-Cg4LkUNK.js deleted file mode 100644 index b540dbade..000000000 --- a/assets/Checkbox.stories-Cg4LkUNK.js +++ /dev/null @@ -1,8 +0,0 @@ -import{C as e}from"./Checkbox-e7ATDock.js";import"./jsx-runtime-z8MfsBtr.js";import"./index-C9rmetsa.js";import"./index-D1TSixAU.js";import"./index-DEvaI7vP.js";import"./index-CuZtKiOG.js";import"./index-Dcf1nc42.js";import"./index-D2m0ySOf.js";import"./index-BWtkTp-R.js";import"./index-CpZK5cx3.js";import"./index-CdSWItFS.js";import"./index-DogTl_U1.js";import"./index-DKHC-OhD.js";import"./clsx-B-dksMZM.js";import"./Field-Dz_fFMgk.js";import"./Text-DiY0ipGE.js";import"./classnames-Dx2cly0x.js";import"./WarningIcon-C-Bue-nz.js";const D={title:"Forms/Checkbox",component:e},o={args:{label:"This is the label (CheckmarkIcon is missing)",labelLocation:"right",size:"sm",disabled:!1}};var r,i,t;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:`{ - args: { - label: 'This is the label (CheckmarkIcon is missing)', - labelLocation: 'right', - size: 'sm', - disabled: false - } -}`,...(t=(i=o.parameters)==null?void 0:i.docs)==null?void 0:t.source}}};const I=["Default"];export{o as Default,I as __namedExportsOrder,D as default}; diff --git a/assets/Collapsible-CI3jQMMU.js b/assets/Collapsible-kswwTpjF.js similarity index 73% rename from assets/Collapsible-CI3jQMMU.js rename to assets/Collapsible-kswwTpjF.js index 67de8cb79..e259a8207 100644 --- a/assets/Collapsible-CI3jQMMU.js +++ b/assets/Collapsible-kswwTpjF.js @@ -1 +1 @@ -import{j as e}from"./jsx-runtime-z8MfsBtr.js";import{r as o}from"./index-D1TSixAU.js";import{a as D,c as L,u as M}from"./index-BWtkTp-R.js";import{c as k,P as v}from"./index-CuZtKiOG.js";import{u as q}from"./index-DEvaI7vP.js";import{P as F}from"./index-DogTl_U1.js";import{u as G}from"./index-VR-_z_Zs.js";import{c as H}from"./clsx-B-dksMZM.js";import{T as $}from"./Text-DiY0ipGE.js";import{f as B}from"./WarningIcon-C-Bue-nz.js";import{m as g}from"./proxy-DndLXkKn.js";import{A as V}from"./index-0Y1j60H7.js";var y="Collapsible",[W,ce]=k(y),[z,N]=W(y),A=o.forwardRef((t,l)=>{const{__scopeCollapsible:c,open:a,defaultOpen:n,disabled:s,onOpenChange:d,...m}=t,[f=!1,p]=D({prop:a,defaultProp:n,onChange:d});return e.jsx(z,{scope:c,disabled:s,contentId:G(),open:f,onOpenToggle:o.useCallback(()=>p(r=>!r),[p]),children:e.jsx(v.div,{"data-state":_(f),"data-disabled":s?"":void 0,...m,ref:l})})});A.displayName=y;var I="CollapsibleTrigger",S=o.forwardRef((t,l)=>{const{__scopeCollapsible:c,...a}=t,n=N(I,c);return e.jsx(v.button,{type:"button","aria-controls":n.contentId,"aria-expanded":n.open||!1,"data-state":_(n.open),"data-disabled":n.disabled?"":void 0,disabled:n.disabled,...a,ref:l,onClick:L(t.onClick,n.onOpenToggle)})});S.displayName=I;var R="CollapsibleContent",T=o.forwardRef((t,l)=>{const{forceMount:c,...a}=t,n=N(R,t.__scopeCollapsible);return e.jsx(F,{present:c||n.open,children:({present:s})=>e.jsx(J,{...a,ref:l,present:s})})});T.displayName=R;var J=o.forwardRef((t,l)=>{const{__scopeCollapsible:c,present:a,children:n,...s}=t,d=N(R,c),[m,f]=o.useState(a),p=o.useRef(null),r=q(l,p),h=o.useRef(0),b=h.current,u=o.useRef(0),j=u.current,C=d.open||m,P=o.useRef(C),x=o.useRef(void 0);return o.useEffect(()=>{const i=requestAnimationFrame(()=>P.current=!1);return()=>cancelAnimationFrame(i)},[]),M(()=>{const i=p.current;if(i){x.current=x.current||{transitionDuration:i.style.transitionDuration,animationName:i.style.animationName},i.style.transitionDuration="0s",i.style.animationName="none";const w=i.getBoundingClientRect();h.current=w.height,u.current=w.width,P.current||(i.style.transitionDuration=x.current.transitionDuration,i.style.animationName=x.current.animationName),f(a)}},[d.open,a]),e.jsx(v.div,{"data-state":_(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!C,...s,ref:r,style:{"--radix-collapsible-content-height":b?`${b}px`:void 0,"--radix-collapsible-content-width":j?`${j}px`:void 0,...t.style},children:C&&n})});function _(t){return t?"open":"closed"}var K=A,Q=S,U=T;const E="64px",O=t=>{const{className:l,children:c,defaultOpen:a,open:n,onOpenChange:s,label:d,...m}=t,[f,p]=o.useState(a),r=n??f,h=u=>{n===void 0&&p(u)},b=u=>{h(u),s==null||s(u)};return e.jsx(K,{open:r,defaultOpen:a,onOpenChange:b,asChild:!0,...m,children:e.jsxs(g.div,{className:H("min-h-[64px] rounded-xl bg-background-secondary relative overflow-hidden w-full ring-inset focus-within:[&:has(:focus-visible)]:ring-2 focus-within:ring-border-focus",l),initial:{height:r?"auto":E},animate:{height:r?"auto":E},transition:{ease:"easeOut",duration:.3},children:[e.jsxs(Q,{className:"flex items-center bg-transparent p-4 w-full cursor-pointer select-none rounded-xl border-none appearance-none h-[64px] focus:outline-hidden",children:[e.jsx($,{variant:"normal",fontWeight:"bold",color:"secondary",asChild:!0,children:e.jsx("div",{children:d})}),e.jsx(g.div,{className:"absolute right-0 mr-4",initial:{rotate:r?180:0},animate:{rotate:r?180:0},transition:{ease:"linear",duration:.1},children:e.jsx(B,{className:"h-5 w-5 block text-muted"})})]}),e.jsx(V,{children:r&&e.jsx(U,{className:"pt-0 px-4 pb-4 w-full origin-top",asChild:!0,forceMount:!0,children:e.jsx(g.div,{initial:{opacity:r?1:0},animate:{opacity:1},exit:{opacity:0},transition:{ease:"easeOut",duration:.3},children:c})})})]})})};try{O.displayName="Collapsible",O.__docgenInfo={description:"",displayName:"Collapsible",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"ReactNode"}},asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}}}}}catch{}export{O as C}; +import{j as e}from"./jsx-runtime-Cf8x2fCZ.js";import{r as o}from"./index-DubqEmGm.js";import{a as D,c as L,u as M}from"./index-DKEAZgBW.js";import{c as k,P as v}from"./index-EKtyzmkF.js";import{u as q}from"./index-BkTKsPvT.js";import{P as F}from"./index-SbpNQzLY.js";import{u as G}from"./index-Cbw-VAaK.js";import{c as H}from"./clsx-B-dksMZM.js";import{T as $}from"./Text-c-Dt_3pd.js";import{f as B}from"./WarningIcon-Z1cZGh4-.js";import{m as g}from"./proxy-71i4uxHe.js";import{A as V}from"./index-D5x9zqoE.js";var y="Collapsible",[W,ce]=k(y),[z,N]=W(y),A=o.forwardRef((t,l)=>{const{__scopeCollapsible:c,open:a,defaultOpen:n,disabled:s,onOpenChange:d,...f}=t,[m=!1,p]=D({prop:a,defaultProp:n,onChange:d});return e.jsx(z,{scope:c,disabled:s,contentId:G(),open:m,onOpenToggle:o.useCallback(()=>p(r=>!r),[p]),children:e.jsx(v.div,{"data-state":_(m),"data-disabled":s?"":void 0,...f,ref:l})})});A.displayName=y;var I="CollapsibleTrigger",S=o.forwardRef((t,l)=>{const{__scopeCollapsible:c,...a}=t,n=N(I,c);return e.jsx(v.button,{type:"button","aria-controls":n.contentId,"aria-expanded":n.open||!1,"data-state":_(n.open),"data-disabled":n.disabled?"":void 0,disabled:n.disabled,...a,ref:l,onClick:L(t.onClick,n.onOpenToggle)})});S.displayName=I;var R="CollapsibleContent",T=o.forwardRef((t,l)=>{const{forceMount:c,...a}=t,n=N(R,t.__scopeCollapsible);return e.jsx(F,{present:c||n.open,children:({present:s})=>e.jsx(J,{...a,ref:l,present:s})})});T.displayName=R;var J=o.forwardRef((t,l)=>{const{__scopeCollapsible:c,present:a,children:n,...s}=t,d=N(R,c),[f,m]=o.useState(a),p=o.useRef(null),r=q(l,p),h=o.useRef(0),b=h.current,u=o.useRef(0),j=u.current,C=d.open||f,P=o.useRef(C),x=o.useRef(void 0);return o.useEffect(()=>{const i=requestAnimationFrame(()=>P.current=!1);return()=>cancelAnimationFrame(i)},[]),M(()=>{const i=p.current;if(i){x.current=x.current||{transitionDuration:i.style.transitionDuration,animationName:i.style.animationName},i.style.transitionDuration="0s",i.style.animationName="none";const w=i.getBoundingClientRect();h.current=w.height,u.current=w.width,P.current||(i.style.transitionDuration=x.current.transitionDuration,i.style.animationName=x.current.animationName),m(a)}},[d.open,a]),e.jsx(v.div,{"data-state":_(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!C,...s,ref:r,style:{"--radix-collapsible-content-height":b?`${b}px`:void 0,"--radix-collapsible-content-width":j?`${j}px`:void 0,...t.style},children:C&&n})});function _(t){return t?"open":"closed"}var K=A,Q=S,U=T;const E="64px",O=t=>{const{className:l,children:c,defaultOpen:a,open:n,onOpenChange:s,label:d,...f}=t,[m,p]=o.useState(a),r=n??m,h=u=>{n===void 0&&p(u)},b=u=>{h(u),s==null||s(u)};return e.jsx(K,{open:r,defaultOpen:a,onOpenChange:b,asChild:!0,...f,children:e.jsxs(g.div,{className:H("min-h-[64px] rounded-xl bg-background-secondary relative overflow-hidden w-full ring-inset focus-within:[&:has(:focus-visible)]:ring-2 focus-within:ring-border-focus",l),initial:{height:r?"auto":E},animate:{height:r?"auto":E},transition:{ease:"easeOut",duration:.3},children:[e.jsxs(Q,{className:"flex items-center bg-transparent p-4 w-full cursor-pointer select-none rounded-xl border-none appearance-none h-[64px] focus:outline-hidden",children:[e.jsx($,{variant:"normal",fontWeight:"bold",color:"secondary",asChild:!0,children:e.jsx("div",{children:d})}),e.jsx(g.div,{className:"absolute right-0 mr-4",initial:{rotate:r?180:0},animate:{rotate:r?180:0},transition:{ease:"linear",duration:.1},children:e.jsx(B,{className:"h-5 w-5 block text-muted"})})]}),e.jsx(V,{children:r&&e.jsx(U,{className:"pt-0 px-4 pb-4 w-full origin-top",asChild:!0,forceMount:!0,children:e.jsx(g.div,{initial:{opacity:r?1:0},animate:{opacity:1},exit:{opacity:0},transition:{ease:"easeOut",duration:.3},children:c})})})]})})};try{O.displayName="Collapsible",O.__docgenInfo={description:"",displayName:"Collapsible",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"ReactNode"}},asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}}}}}catch{}export{O as C}; diff --git a/assets/Collapsible.stories-DVSbuRjV.js b/assets/Collapsible.stories-DEYTP7nD.js similarity index 70% rename from assets/Collapsible.stories-DVSbuRjV.js rename to assets/Collapsible.stories-DEYTP7nD.js index be97e0794..98923a2b9 100644 --- a/assets/Collapsible.stories-DVSbuRjV.js +++ b/assets/Collapsible.stories-DEYTP7nD.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-z8MfsBtr.js";import{r as l}from"./index-D1TSixAU.js";import{T as u}from"./Text-DiY0ipGE.js";import{C as x}from"./Collapsible-CI3jQMMU.js";import"./index-C9rmetsa.js";import"./index-DEvaI7vP.js";import"./index-DKHC-OhD.js";import"./clsx-B-dksMZM.js";import"./classnames-Dx2cly0x.js";import"./index-BWtkTp-R.js";import"./index-CuZtKiOG.js";import"./index-Dcf1nc42.js";import"./index-D2m0ySOf.js";import"./index-DogTl_U1.js";import"./index-VR-_z_Zs.js";import"./WarningIcon-C-Bue-nz.js";import"./proxy-DndLXkKn.js";import"./index-0Y1j60H7.js";const q={title:"Components/Collapsible",component:x},C=()=>{const[e,a]=l.useState(!1);return l.useEffect(()=>{a(!0)},[]),r.jsx(x,{open:e,label:"My Heading",onOpenChange:o=>a(o),children:[1,2,3,4,5].map(o=>r.jsx(u,{variant:"normal",color:"secondary",asChild:!0,children:r.jsxs("p",{children:["Item ",o]})},o))})},t={args:{label:"My Heading",children:[1,2,3,4,5].map(e=>r.jsx(u,{variant:"normal",color:"secondary",asChild:!0,children:r.jsxs("p",{children:["Item ",e]})},e))}},s={render:()=>r.jsx(C,{})};var p,i,n;t.parameters={...t.parameters,docs:{...(p=t.parameters)==null?void 0:p.docs,source:{originalSource:`{ +import{j as r}from"./jsx-runtime-Cf8x2fCZ.js";import{r as l}from"./index-DubqEmGm.js";import{T as u}from"./Text-c-Dt_3pd.js";import{C as x}from"./Collapsible-kswwTpjF.js";import"./index-yBjzXJbu.js";import"./index-BkTKsPvT.js";import"./index-Dp3B9jqt.js";import"./clsx-B-dksMZM.js";import"./classnames-Dx2cly0x.js";import"./index-DKEAZgBW.js";import"./index-EKtyzmkF.js";import"./index-e5epXPAg.js";import"./index-fNjTmf9T.js";import"./index-SbpNQzLY.js";import"./index-Cbw-VAaK.js";import"./WarningIcon-Z1cZGh4-.js";import"./proxy-71i4uxHe.js";import"./index-D5x9zqoE.js";const q={title:"Components/Collapsible",component:x},C=()=>{const[e,a]=l.useState(!1);return l.useEffect(()=>{a(!0)},[]),r.jsx(x,{open:e,label:"My Heading",onOpenChange:o=>a(o),children:[1,2,3,4,5].map(o=>r.jsx(u,{variant:"normal",color:"secondary",asChild:!0,children:r.jsxs("p",{children:["Item ",o]})},o))})},t={args:{label:"My Heading",children:[1,2,3,4,5].map(e=>r.jsx(u,{variant:"normal",color:"secondary",asChild:!0,children:r.jsxs("p",{children:["Item ",e]})},e))}},s={render:()=>r.jsx(C,{})};var p,i,n;t.parameters={...t.parameters,docs:{...(p=t.parameters)==null?void 0:p.docs,source:{originalSource:`{ args: { label: 'My Heading', children: [1, 2, 3, 4, 5].map(x => diff --git a/assets/Color-YHDXOIA2-BE_HiG-P.js b/assets/Color-YHDXOIA2-BE_HiG-P.js deleted file mode 100644 index e9f5aa32e..000000000 --- a/assets/Color-YHDXOIA2-BE_HiG-P.js +++ /dev/null @@ -1 +0,0 @@ -import{d as ce,q as J,g as fe,n as he,Y as de,b as ge,_ as be,c as H}from"./DocsRenderer-CFRXHY34-jNd1DwDx.js";import{r as v,e as m}from"./index-D1TSixAU.js";import{v as M}from"./index-BWPEG51O.js";import"./iframe-CqSFuqlf.js";import"./jsx-runtime-z8MfsBtr.js";import"./index-C9rmetsa.js";import"./index-Dcf1nc42.js";import"./index-D2m0ySOf.js";import"./index-Brs1icLk.js";import"./index-ogSvIofg.js";import"./react-18-Bd5J0FWG.js";var me=H({"../../node_modules/color-name/index.js"(n,o){o.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),Q=H({"../../node_modules/color-convert/conversions.js"(n,o){var c=me(),f={};for(let e of Object.keys(c))f[c[e]]=e;var i={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};o.exports=i;for(let e of Object.keys(i)){if(!("channels"in i[e]))throw new Error("missing channels property: "+e);if(!("labels"in i[e]))throw new Error("missing channel labels property: "+e);if(i[e].labels.length!==i[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:r}=i[e];delete i[e].channels,delete i[e].labels,Object.defineProperty(i[e],"channels",{value:t}),Object.defineProperty(i[e],"labels",{value:r})}i.rgb.hsl=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,l=Math.min(t,r,a),u=Math.max(t,r,a),s=u-l,h,g;u===l?h=0:t===u?h=(r-a)/s:r===u?h=2+(a-t)/s:a===u&&(h=4+(t-r)/s),h=Math.min(h*60,360),h<0&&(h+=360);let b=(l+u)/2;return u===l?g=0:b<=.5?g=s/(u+l):g=s/(2-u-l),[h,g*100,b*100]},i.rgb.hsv=function(e){let t,r,a,l,u,s=e[0]/255,h=e[1]/255,g=e[2]/255,b=Math.max(s,h,g),y=b-Math.min(s,h,g),p=function(w){return(b-w)/6/y+1/2};return y===0?(l=0,u=0):(u=y/b,t=p(s),r=p(h),a=p(g),s===b?l=a-r:h===b?l=1/3+t-a:g===b&&(l=2/3+r-t),l<0?l+=1:l>1&&(l-=1)),[l*360,u*100,b*100]},i.rgb.hwb=function(e){let t=e[0],r=e[1],a=e[2],l=i.rgb.hsl(e)[0],u=1/255*Math.min(t,Math.min(r,a));return a=1-1/255*Math.max(t,Math.max(r,a)),[l,u*100,a*100]},i.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,l=Math.min(1-t,1-r,1-a),u=(1-t-l)/(1-l)||0,s=(1-r-l)/(1-l)||0,h=(1-a-l)/(1-l)||0;return[u*100,s*100,h*100,l*100]};function d(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}i.rgb.keyword=function(e){let t=f[e];if(t)return t;let r=1/0,a;for(let l of Object.keys(c)){let u=c[l],s=d(e,u);s.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,a=a>.04045?((a+.055)/1.055)**2.4:a/12.92;let l=t*.4124+r*.3576+a*.1805,u=t*.2126+r*.7152+a*.0722,s=t*.0193+r*.1192+a*.9505;return[l*100,u*100,s*100]},i.rgb.lab=function(e){let t=i.rgb.xyz(e),r=t[0],a=t[1],l=t[2];r/=95.047,a/=100,l/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116,l=l>.008856?l**(1/3):7.787*l+16/116;let u=116*a-16,s=500*(r-a),h=200*(a-l);return[u,s,h]},i.hsl.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,l,u,s;if(r===0)return s=a*255,[s,s,s];a<.5?l=a*(1+r):l=a+r-a*r;let h=2*a-l,g=[0,0,0];for(let b=0;b<3;b++)u=t+1/3*-(b-1),u<0&&u++,u>1&&u--,6*u<1?s=h+(l-h)*6*u:2*u<1?s=l:3*u<2?s=h+(l-h)*(2/3-u)*6:s=h,g[b]=s*255;return g},i.hsl.hsv=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,l=r,u=Math.max(a,.01);a*=2,r*=a<=1?a:2-a,l*=u<=1?u:2-u;let s=(a+r)/2,h=a===0?2*l/(u+l):2*r/(a+r);return[t,h*100,s*100]},i.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,a=e[2]/100,l=Math.floor(t)%6,u=t-Math.floor(t),s=255*a*(1-r),h=255*a*(1-r*u),g=255*a*(1-r*(1-u));switch(a*=255,l){case 0:return[a,g,s];case 1:return[h,a,s];case 2:return[s,a,g];case 3:return[s,h,a];case 4:return[g,s,a];case 5:return[a,s,h]}},i.hsv.hsl=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,l=Math.max(a,.01),u,s;s=(2-r)*a;let h=(2-r)*l;return u=r*l,u/=h<=1?h:2-h,u=u||0,s/=2,[t,u*100,s*100]},i.hwb.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,l=r+a,u;l>1&&(r/=l,a/=l);let s=Math.floor(6*t),h=1-a;u=6*t-s,(s&1)!==0&&(u=1-u);let g=r+u*(h-r),b,y,p;switch(s){default:case 6:case 0:b=h,y=g,p=r;break;case 1:b=g,y=h,p=r;break;case 2:b=r,y=h,p=g;break;case 3:b=r,y=g,p=h;break;case 4:b=g,y=r,p=h;break;case 5:b=h,y=r,p=g;break}return[b*255,y*255,p*255]},i.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,l=e[3]/100,u=1-Math.min(1,t*(1-l)+l),s=1-Math.min(1,r*(1-l)+l),h=1-Math.min(1,a*(1-l)+l);return[u*255,s*255,h*255]},i.xyz.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,l,u,s;return l=t*3.2406+r*-1.5372+a*-.4986,u=t*-.9689+r*1.8758+a*.0415,s=t*.0557+r*-.204+a*1.057,l=l>.0031308?1.055*l**(1/2.4)-.055:l*12.92,u=u>.0031308?1.055*u**(1/2.4)-.055:u*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,l=Math.min(Math.max(0,l),1),u=Math.min(Math.max(0,u),1),s=Math.min(Math.max(0,s),1),[l*255,u*255,s*255]},i.xyz.lab=function(e){let t=e[0],r=e[1],a=e[2];t/=95.047,r/=100,a/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;let l=116*r-16,u=500*(t-r),s=200*(r-a);return[l,u,s]},i.lab.xyz=function(e){let t=e[0],r=e[1],a=e[2],l,u,s;u=(t+16)/116,l=r/500+u,s=u-a/200;let h=u**3,g=l**3,b=s**3;return u=h>.008856?h:(u-16/116)/7.787,l=g>.008856?g:(l-16/116)/7.787,s=b>.008856?b:(s-16/116)/7.787,l*=95.047,u*=100,s*=108.883,[l,u,s]},i.lab.lch=function(e){let t=e[0],r=e[1],a=e[2],l;l=Math.atan2(a,r)*360/2/Math.PI,l<0&&(l+=360);let u=Math.sqrt(r*r+a*a);return[t,u,l]},i.lch.lab=function(e){let t=e[0],r=e[1],a=e[2]/360*2*Math.PI,l=r*Math.cos(a),u=r*Math.sin(a);return[t,l,u]},i.rgb.ansi16=function(e,t=null){let[r,a,l]=e,u=t===null?i.rgb.hsv(e)[2]:t;if(u=Math.round(u/50),u===0)return 30;let s=30+(Math.round(l/255)<<2|Math.round(a/255)<<1|Math.round(r/255));return u===2&&(s+=60),s},i.hsv.ansi16=function(e){return i.rgb.ansi16(i.hsv.rgb(e),e[2])},i.rgb.ansi256=function(e){let t=e[0],r=e[1],a=e[2];return t===r&&r===a?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(a/255*5)},i.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let r=(~~(e>50)+1)*.5,a=(t&1)*r*255,l=(t>>1&1)*r*255,u=(t>>2&1)*r*255;return[a,l,u]},i.ansi256.rgb=function(e){if(e>=232){let u=(e-232)*10+8;return[u,u,u]}e-=16;let t,r=Math.floor(e/36)/5*255,a=Math.floor((t=e%36)/6)/5*255,l=t%6/5*255;return[r,a,l]},i.rgb.hex=function(e){let t=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(t.length)+t},i.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(h=>h+h).join(""));let a=parseInt(r,16),l=a>>16&255,u=a>>8&255,s=a&255;return[l,u,s]},i.rgb.hcg=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,l=Math.max(Math.max(t,r),a),u=Math.min(Math.min(t,r),a),s=l-u,h,g;return s<1?h=u/(1-s):h=0,s<=0?g=0:l===t?g=(r-a)/s%6:l===r?g=2+(a-t)/s:g=4+(t-r)/s,g/=6,g%=1,[g*360,s*100,h*100]},i.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=r<.5?2*t*r:2*t*(1-r),l=0;return a<1&&(l=(r-.5*a)/(1-a)),[e[0],a*100,l*100]},i.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=t*r,l=0;return a<1&&(l=(r-a)/(1-a)),[e[0],a*100,l*100]},i.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100;if(r===0)return[a*255,a*255,a*255];let l=[0,0,0],u=t%1*6,s=u%1,h=1-s,g=0;switch(Math.floor(u)){case 0:l[0]=1,l[1]=s,l[2]=0;break;case 1:l[0]=h,l[1]=1,l[2]=0;break;case 2:l[0]=0,l[1]=1,l[2]=s;break;case 3:l[0]=0,l[1]=h,l[2]=1;break;case 4:l[0]=s,l[1]=0,l[2]=1;break;default:l[0]=1,l[1]=0,l[2]=h}return g=(1-r)*a,[(r*l[0]+g)*255,(r*l[1]+g)*255,(r*l[2]+g)*255]},i.hcg.hsv=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t),l=0;return a>0&&(l=t/a),[e[0],l*100,a*100]},i.hcg.hsl=function(e){let t=e[1]/100,r=e[2]/100*(1-t)+.5*t,a=0;return r>0&&r<.5?a=t/(2*r):r>=.5&&r<1&&(a=t/(2*(1-r))),[e[0],a*100,r*100]},i.hcg.hwb=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t);return[e[0],(a-t)*100,(1-a)*100]},i.hwb.hcg=function(e){let t=e[1]/100,r=1-e[2]/100,a=r-t,l=0;return a<1&&(l=(r-a)/(1-a)),[e[0],a*100,l*100]},i.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},i.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},i.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},i.gray.hsl=function(e){return[0,0,e[0]]},i.gray.hsv=i.gray.hsl,i.gray.hwb=function(e){return[0,100,e[0]]},i.gray.cmyk=function(e){return[0,0,0,e[0]]},i.gray.lab=function(e){return[e[0],0,0]},i.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},i.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}}),pe=H({"../../node_modules/color-convert/route.js"(n,o){var c=Q();function f(){let t={},r=Object.keys(c);for(let a=r.length,l=0;l1&&(l=u),r(l))};return"conversion"in r&&(a.conversion=r.conversion),a}function t(r){let a=function(...l){let u=l[0];if(u==null)return u;u.length>1&&(l=u);let s=r(l);if(typeof s=="object")for(let h=s.length,g=0;g{i[r]={},Object.defineProperty(i[r],"channels",{value:c[r].channels}),Object.defineProperty(i[r],"labels",{value:c[r].labels});let a=f(r);Object.keys(a).forEach(l=>{let u=a[l];i[r][l]=t(u),i[r][l].raw=e(u)})}),o.exports=i}}),_=be(ve());function C(){return(C=Object.assign||function(n){for(var o=1;o=0||(i[c]=n[c]);return i}function L(n){var o=v.useRef(n),c=v.useRef(function(f){o.current&&o.current(f)});return o.current=n,c.current}var O=function(n,o,c){return o===void 0&&(o=0),c===void 0&&(c=1),n>c?c:n0:y.buttons>0)&&i.current?d(F(i.current,y,t.current)):b(!1)},g=function(){return b(!1)};function b(y){var p=r.current,w=B(i.current),E=y?w.addEventListener:w.removeEventListener;E(p?"touchmove":"mousemove",h),E(p?"touchend":"mouseup",g)}return[function(y){var p=y.nativeEvent,w=i.current;if(w&&(W(p),!function(k,P){return P&&!S(k)}(p,r.current)&&w)){if(S(p)){r.current=!0;var E=p.changedTouches||[];E.length&&(t.current=E[0].identifier)}w.focus(),d(F(w,p,t.current)),b(!0)}},function(y){var p=y.which||y.keyCode;p<37||p>40||(y.preventDefault(),e({left:p===39?.05:p===37?-.05:0,top:p===40?.05:p===38?-.05:0}))},b]},[e,d]),l=a[0],u=a[1],s=a[2];return v.useEffect(function(){return s},[s]),m.createElement("div",C({},f,{onTouchStart:l,onMouseDown:l,className:"react-colorful__interactive",ref:i,onKeyDown:u,tabIndex:0,role:"slider"}))}),N=function(n){return n.filter(Boolean).join(" ")},T=function(n){var o=n.color,c=n.left,f=n.top,i=f===void 0?.5:f,d=N(["react-colorful__pointer",n.className]);return m.createElement("div",{className:d,style:{top:100*i+"%",left:100*c+"%"}},m.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:o}}))},x=function(n,o,c){return o===void 0&&(o=0),c===void 0&&(c=Math.pow(10,o)),Math.round(c*n)/c},ye={grad:.9,turn:360,rad:360/(2*Math.PI)},xe=function(n){return re(X(n))},X=function(n){return n[0]==="#"&&(n=n.substring(1)),n.length<6?{r:parseInt(n[0]+n[0],16),g:parseInt(n[1]+n[1],16),b:parseInt(n[2]+n[2],16),a:n.length===4?x(parseInt(n[3]+n[3],16)/255,2):1}:{r:parseInt(n.substring(0,2),16),g:parseInt(n.substring(2,4),16),b:parseInt(n.substring(4,6),16),a:n.length===8?x(parseInt(n.substring(6,8),16)/255,2):1}},we=function(n,o){return o===void 0&&(o="deg"),Number(n)*(ye[o]||1)},ke=function(n){var o=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return o?_e({h:we(o[1],o[2]),s:Number(o[3]),l:Number(o[4]),a:o[5]===void 0?1:Number(o[5])/(o[6]?100:1)}):{h:0,s:0,v:0,a:1}},_e=function(n){var o=n.s,c=n.l;return{h:n.h,s:(o*=(c<50?c:100-c)/100)>0?2*o/(c+o)*100:0,v:c+o,a:n.a}},Ee=function(n){return Ce(ee(n))},Z=function(n){var o=n.s,c=n.v,f=n.a,i=(200-o)*c/100;return{h:x(n.h),s:x(i>0&&i<200?o*c/100/(i<=100?i:200-i)*100:0),l:x(i/2),a:x(f,2)}},K=function(n){var o=Z(n);return"hsl("+o.h+", "+o.s+"%, "+o.l+"%)"},I=function(n){var o=Z(n);return"hsla("+o.h+", "+o.s+"%, "+o.l+"%, "+o.a+")"},ee=function(n){var o=n.h,c=n.s,f=n.v,i=n.a;o=o/360*6,c/=100,f/=100;var d=Math.floor(o),e=f*(1-c),t=f*(1-(o-d)*c),r=f*(1-(1-o+d)*c),a=d%6;return{r:x(255*[f,t,e,e,r,f][a]),g:x(255*[r,f,f,t,e,e][a]),b:x(255*[e,e,r,f,f,t][a]),a:x(i,2)}},Me=function(n){var o=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return o?re({r:Number(o[1])/(o[2]?100/255:1),g:Number(o[3])/(o[4]?100/255:1),b:Number(o[5])/(o[6]?100/255:1),a:o[7]===void 0?1:Number(o[7])/(o[8]?100:1)}):{h:0,s:0,v:0,a:1}},j=function(n){var o=n.toString(16);return o.length<2?"0"+o:o},Ce=function(n){var o=n.r,c=n.g,f=n.b,i=n.a,d=i<1?j(x(255*i)):"";return"#"+j(o)+j(c)+j(f)+d},re=function(n){var o=n.r,c=n.g,f=n.b,i=n.a,d=Math.max(o,c,f),e=d-Math.min(o,c,f),t=e?d===o?(c-f)/e:d===c?2+(f-o)/e:4+(o-c)/e:0;return{h:x(60*(t<0?t+6:t)),s:x(d?e/d*100:0),v:x(d/255*100),a:i}},te=m.memo(function(n){var o=n.hue,c=n.onChange,f=N(["react-colorful__hue",n.className]);return m.createElement("div",{className:f},m.createElement(G,{onMove:function(i){c({h:360*i.left})},onKey:function(i){c({h:O(o+360*i.left,0,360)})},"aria-label":"Hue","aria-valuenow":x(o),"aria-valuemax":"360","aria-valuemin":"0"},m.createElement(T,{className:"react-colorful__hue-pointer",left:o/360,color:K({h:o,s:100,v:100,a:1})})))}),ne=m.memo(function(n){var o=n.hsva,c=n.onChange,f={backgroundColor:K({h:o.h,s:100,v:100,a:1})};return m.createElement("div",{className:"react-colorful__saturation",style:f},m.createElement(G,{onMove:function(i){c({s:100*i.left,v:100-100*i.top})},onKey:function(i){c({s:O(o.s+100*i.left,0,100),v:O(o.v-100*i.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+x(o.s)+"%, Brightness "+x(o.v)+"%"},m.createElement(T,{className:"react-colorful__saturation-pointer",top:1-o.v/100,left:o.s/100,color:K(o)})))}),ae=function(n,o){if(n===o)return!0;for(var c in n)if(n[c]!==o[c])return!1;return!0},le=function(n,o){return n.replace(/\s/g,"")===o.replace(/\s/g,"")},$e=function(n,o){return n.toLowerCase()===o.toLowerCase()||ae(X(n),X(o))};function oe(n,o,c){var f=L(c),i=v.useState(function(){return n.toHsva(o)}),d=i[0],e=i[1],t=v.useRef({color:o,hsva:d});v.useEffect(function(){if(!n.equal(o,t.current.color)){var a=n.toHsva(o);t.current={hsva:a,color:o},e(a)}},[o,n]),v.useEffect(function(){var a;ae(d,t.current.hsva)||n.equal(a=n.fromHsva(d),t.current.color)||(t.current={hsva:d,color:a},f(a))},[d,n,f]);var r=v.useCallback(function(a){e(function(l){return Object.assign({},l,a)})},[]);return[d,r]}var Oe=typeof window<"u"?v.useLayoutEffect:v.useEffect,Se=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},Y=new Map,ue=function(n){Oe(function(){var o=n.current?n.current.ownerDocument:document;if(o!==void 0&&!Y.has(o)){var c=o.createElement("style");c.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,Y.set(o,c);var f=Se();f&&c.setAttribute("nonce",f),o.head.appendChild(c)}},[])},Ne=function(n){var o=n.className,c=n.colorModel,f=n.color,i=f===void 0?c.defaultColor:f,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=v.useRef(null);ue(t);var r=oe(c,i,d),a=r[0],l=r[1],u=N(["react-colorful",o]);return m.createElement("div",C({},e,{ref:t,className:u}),m.createElement(ne,{hsva:a,onChange:l}),m.createElement(te,{hue:a.h,onChange:l,className:"react-colorful__last-control"}))},je={defaultColor:"000",toHsva:xe,fromHsva:function(n){return Ee({h:n.h,s:n.s,v:n.v,a:1})},equal:$e},Re=function(n){return m.createElement(Ne,C({},n,{colorModel:je}))},ze=function(n){var o=n.className,c=n.hsva,f=n.onChange,i={backgroundImage:"linear-gradient(90deg, "+I(Object.assign({},c,{a:0}))+", "+I(Object.assign({},c,{a:1}))+")"},d=N(["react-colorful__alpha",o]),e=x(100*c.a);return m.createElement("div",{className:d},m.createElement("div",{className:"react-colorful__alpha-gradient",style:i}),m.createElement(G,{onMove:function(t){f({a:t.left})},onKey:function(t){f({a:O(c.a+t.left)})},"aria-label":"Alpha","aria-valuetext":e+"%","aria-valuenow":e,"aria-valuemin":"0","aria-valuemax":"100"},m.createElement(T,{className:"react-colorful__alpha-pointer",left:c.a,color:I(c)})))},ie=function(n){var o=n.className,c=n.colorModel,f=n.color,i=f===void 0?c.defaultColor:f,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=v.useRef(null);ue(t);var r=oe(c,i,d),a=r[0],l=r[1],u=N(["react-colorful",o]);return m.createElement("div",C({},e,{ref:t,className:u}),m.createElement(ne,{hsva:a,onChange:l}),m.createElement(te,{hue:a.h,onChange:l}),m.createElement(ze,{hsva:a,onChange:l,className:"react-colorful__last-control"}))},Ie={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:ke,fromHsva:I,equal:le},qe=function(n){return m.createElement(ie,C({},n,{colorModel:Ie}))},He={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Me,fromHsva:function(n){var o=ee(n);return"rgba("+o.r+", "+o.g+", "+o.b+", "+o.a+")"},equal:le},Pe=function(n){return m.createElement(ie,C({},n,{colorModel:He}))},Le=M.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Be=M(J)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),Xe=M.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Ke=M(he)(({theme:n})=>({fontFamily:n.typography.fonts.base})),De=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Ve=M.div(({theme:n,active:o})=>({width:16,height:16,boxShadow:o?`${n.appBorderColor} 0 0 0 1px inset, ${n.textMutedColor}50 0 0 0 4px`:`${n.appBorderColor} 0 0 0 1px inset`,borderRadius:n.appBorderRadius})),Ge=`url('data:image/svg+xml;charset=utf-8,')`,A=({value:n,style:o,...c})=>{let f=`linear-gradient(${n}, ${n}), ${Ge}, linear-gradient(#fff, #fff)`;return m.createElement(Ve,{...c,style:{...o,backgroundImage:f}})},Te=M(de.Input)(({theme:n,readOnly:o})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:n.typography.fonts.base})),Fe=M(ge)(({theme:n})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:n.input.color})),se=(n=>(n.RGB="rgb",n.HSL="hsl",n.HEX="hex",n))(se||{}),R=Object.values(se),We=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Ye=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ae=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,D=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Ue=/^\s*#?([0-9a-f]{3})\s*$/i,Je={hex:Re,rgb:Pe,hsl:qe},z={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},U=n=>{let o=n==null?void 0:n.match(We);if(!o)return[0,0,0,1];let[,c,f,i,d=1]=o;return[c,f,i,d].map(Number)},$=n=>{if(!n)return;let o=!0;if(Ye.test(n)){let[e,t,r,a]=U(n),[l,u,s]=_.default.rgb.hsl([e,t,r])||[0,0,0];return{valid:o,value:n,keyword:_.default.rgb.keyword([e,t,r]),colorSpace:"rgb",rgb:n,hsl:`hsla(${l}, ${u}%, ${s}%, ${a})`,hex:`#${_.default.rgb.hex([e,t,r]).toLowerCase()}`}}if(Ae.test(n)){let[e,t,r,a]=U(n),[l,u,s]=_.default.hsl.rgb([e,t,r])||[0,0,0];return{valid:o,value:n,keyword:_.default.hsl.keyword([e,t,r]),colorSpace:"hsl",rgb:`rgba(${l}, ${u}, ${s}, ${a})`,hsl:n,hex:`#${_.default.hsl.hex([e,t,r]).toLowerCase()}`}}let c=n.replace("#",""),f=_.default.keyword.rgb(c)||_.default.hex.rgb(c),i=_.default.rgb.hsl(f),d=n;if(/[^#a-f0-9]/i.test(n)?d=c:D.test(n)&&(d=`#${c}`),d.startsWith("#"))o=D.test(d);else try{_.default.keyword.hex(d)}catch{o=!1}return{valid:o,value:d,keyword:_.default.rgb.keyword(f),colorSpace:"hex",rgb:`rgba(${f[0]}, ${f[1]}, ${f[2]}, 1)`,hsl:`hsla(${i[0]}, ${i[1]}%, ${i[2]}%, 1)`,hex:d}},Qe=(n,o,c)=>{if(!n||!(o!=null&&o.valid))return z[c];if(c!=="hex")return(o==null?void 0:o[c])||z[c];if(!o.hex.startsWith("#"))try{return`#${_.default.keyword.hex(o.hex)}`}catch{return z.hex}let f=o.hex.match(Ue);if(!f)return D.test(o.hex)?o.hex:z.hex;let[i,d,e]=f[1].split("");return`#${i}${i}${d}${d}${e}${e}`},Ze=(n,o)=>{let[c,f]=v.useState(n||""),[i,d]=v.useState(()=>$(c)),[e,t]=v.useState((i==null?void 0:i.colorSpace)||"hex");v.useEffect(()=>{let u=n||"",s=$(u);f(u),d(s),t((s==null?void 0:s.colorSpace)||"hex")},[n]);let r=v.useMemo(()=>Qe(c,i,e).toLowerCase(),[c,i,e]),a=v.useCallback(u=>{let s=$(u),h=(s==null?void 0:s.value)||u||"";f(h),h===""&&(d(void 0),o(void 0)),s&&(d(s),t(s.colorSpace),o(s.value))},[o]),l=v.useCallback(()=>{let u=R.indexOf(e)+1;u>=R.length&&(u=0),t(R[u]);let s=(i==null?void 0:i[R[u]])||"";f(s),o(s)},[i,e,o]);return{value:c,realValue:r,updateValue:a,color:i,colorSpace:e,cycleColorSpace:l}},q=n=>n.replace(/\s*/,"").toLowerCase(),er=(n,o,c)=>{let[f,i]=v.useState(o!=null&&o.valid?[o]:[]);v.useEffect(()=>{o===void 0&&i([])},[o]);let d=v.useMemo(()=>(n||[]).map(t=>typeof t=="string"?$(t):t.title?{...$(t.color),keyword:t.title}:$(t.color)).concat(f).filter(Boolean).slice(-27),[n,f]),e=v.useCallback(t=>{t!=null&&t.valid&&(d.some(r=>q(r[c])===q(t[c]))||i(r=>r.concat(t)))},[c,d]);return{presets:d,addPreset:e}},rr=({name:n,value:o,onChange:c,onFocus:f,onBlur:i,presetColors:d,startOpen:e=!1,argType:t})=>{var E;let r=v.useCallback(ce(c,200),[c]),{value:a,realValue:l,updateValue:u,color:s,colorSpace:h,cycleColorSpace:g}=Ze(o,r),{presets:b,addPreset:y}=er(d,s,h),p=Je[h],w=!!((E=t==null?void 0:t.table)!=null&&E.readonly);return m.createElement(Le,{"aria-readonly":w},m.createElement(Be,{startOpen:e,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>y(s),tooltip:m.createElement(Xe,null,m.createElement(p,{color:l==="transparent"?"#000000":l,onChange:u,onFocus:f,onBlur:i}),b.length>0&&m.createElement(De,null,b.map((k,P)=>m.createElement(J,{key:`${k.value}-${P}`,hasChrome:!1,tooltip:m.createElement(Ke,{note:k.keyword||k.value})},m.createElement(A,{value:k[h],active:s&&q(k[h])===q(s[h]),onClick:()=>u(k.value)})))))},m.createElement(A,{value:l,style:{margin:4}})),m.createElement(Te,{id:fe(n),value:a,onChange:k=>u(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),a?m.createElement(Fe,{onClick:g}):null)},dr=rr;export{rr as ColorControl,dr as default}; diff --git a/assets/Color-YHDXOIA2-LQ0Hw68V.js b/assets/Color-YHDXOIA2-LQ0Hw68V.js new file mode 100644 index 000000000..6014a47f7 --- /dev/null +++ b/assets/Color-YHDXOIA2-LQ0Hw68V.js @@ -0,0 +1 @@ +import{d as ce,q as J,g as he,n as fe,Y as de,b as ge,_ as be,c as H}from"./DocsRenderer-CFRXHY34-ByjBGumv.js";import{r as p,e as m}from"./index-DubqEmGm.js";import{v as M}from"./index-BQhnwxuj.js";import"./iframe-DBaV6xvg.js";import"./jsx-runtime-Cf8x2fCZ.js";import"./index-yBjzXJbu.js";import"./index-e5epXPAg.js";import"./index-fNjTmf9T.js";import"./index-CXQShRbs.js";import"./index-DrFu-skq.js";import"./react-18-DbvqzeU0.js";var me=H({"../../node_modules/color-name/index.js"(n,l){l.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),Q=H({"../../node_modules/color-convert/conversions.js"(n,l){var c=me(),h={};for(let e of Object.keys(c))h[c[e]]=e;var u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};l.exports=u;for(let e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:r}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:r})}u.rgb.hsl=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(t,r,a),i=Math.max(t,r,a),s=i-o,f,g;i===o?f=0:t===i?f=(r-a)/s:r===i?f=2+(a-t)/s:a===i&&(f=4+(t-r)/s),f=Math.min(f*60,360),f<0&&(f+=360);let b=(o+i)/2;return i===o?g=0:b<=.5?g=s/(i+o):g=s/(2-i-o),[f,g*100,b*100]},u.rgb.hsv=function(e){let t,r,a,o,i,s=e[0]/255,f=e[1]/255,g=e[2]/255,b=Math.max(s,f,g),y=b-Math.min(s,f,g),v=function(w){return(b-w)/6/y+1/2};return y===0?(o=0,i=0):(i=y/b,t=v(s),r=v(f),a=v(g),s===b?o=a-r:f===b?o=1/3+t-a:g===b&&(o=2/3+r-t),o<0?o+=1:o>1&&(o-=1)),[o*360,i*100,b*100]},u.rgb.hwb=function(e){let t=e[0],r=e[1],a=e[2],o=u.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(r,a));return a=1-1/255*Math.max(t,Math.max(r,a)),[o,i*100,a*100]},u.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(1-t,1-r,1-a),i=(1-t-o)/(1-o)||0,s=(1-r-o)/(1-o)||0,f=(1-a-o)/(1-o)||0;return[i*100,s*100,f*100,o*100]};function d(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){let t=h[e];if(t)return t;let r=1/0,a;for(let o of Object.keys(c)){let i=c[o],s=d(e,i);s.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,a=a>.04045?((a+.055)/1.055)**2.4:a/12.92;let o=t*.4124+r*.3576+a*.1805,i=t*.2126+r*.7152+a*.0722,s=t*.0193+r*.1192+a*.9505;return[o*100,i*100,s*100]},u.rgb.lab=function(e){let t=u.rgb.xyz(e),r=t[0],a=t[1],o=t[2];r/=95.047,a/=100,o/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;let i=116*a-16,s=500*(r-a),f=200*(a-o);return[i,s,f]},u.hsl.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o,i,s;if(r===0)return s=a*255,[s,s,s];a<.5?o=a*(1+r):o=a+r-a*r;let f=2*a-o,g=[0,0,0];for(let b=0;b<3;b++)i=t+1/3*-(b-1),i<0&&i++,i>1&&i--,6*i<1?s=f+(o-f)*6*i:2*i<1?s=o:3*i<2?s=f+(o-f)*(2/3-i)*6:s=f,g[b]=s*255;return g},u.hsl.hsv=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=r,i=Math.max(a,.01);a*=2,r*=a<=1?a:2-a,o*=i<=1?i:2-i;let s=(a+r)/2,f=a===0?2*o/(i+o):2*r/(a+r);return[t,f*100,s*100]},u.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,a=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),s=255*a*(1-r),f=255*a*(1-r*i),g=255*a*(1-r*(1-i));switch(a*=255,o){case 0:return[a,g,s];case 1:return[f,a,s];case 2:return[s,a,g];case 3:return[s,f,a];case 4:return[g,s,a];case 5:return[a,s,f]}},u.hsv.hsl=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=Math.max(a,.01),i,s;s=(2-r)*a;let f=(2-r)*o;return i=r*o,i/=f<=1?f:2-f,i=i||0,s/=2,[t,i*100,s*100]},u.hwb.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o=r+a,i;o>1&&(r/=o,a/=o);let s=Math.floor(6*t),f=1-a;i=6*t-s,(s&1)!==0&&(i=1-i);let g=r+i*(f-r),b,y,v;switch(s){default:case 6:case 0:b=f,y=g,v=r;break;case 1:b=g,y=f,v=r;break;case 2:b=r,y=f,v=g;break;case 3:b=r,y=g,v=f;break;case 4:b=g,y=r,v=f;break;case 5:b=f,y=r,v=g;break}return[b*255,y*255,v*255]},u.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o=e[3]/100,i=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,r*(1-o)+o),f=1-Math.min(1,a*(1-o)+o);return[i*255,s*255,f*255]},u.xyz.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o,i,s;return o=t*3.2406+r*-1.5372+a*-.4986,i=t*-.9689+r*1.8758+a*.0415,s=t*.0557+r*-.204+a*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),[o*255,i*255,s*255]},u.xyz.lab=function(e){let t=e[0],r=e[1],a=e[2];t/=95.047,r/=100,a/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;let o=116*r-16,i=500*(t-r),s=200*(r-a);return[o,i,s]},u.lab.xyz=function(e){let t=e[0],r=e[1],a=e[2],o,i,s;i=(t+16)/116,o=r/500+i,s=i-a/200;let f=i**3,g=o**3,b=s**3;return i=f>.008856?f:(i-16/116)/7.787,o=g>.008856?g:(o-16/116)/7.787,s=b>.008856?b:(s-16/116)/7.787,o*=95.047,i*=100,s*=108.883,[o,i,s]},u.lab.lch=function(e){let t=e[0],r=e[1],a=e[2],o;o=Math.atan2(a,r)*360/2/Math.PI,o<0&&(o+=360);let i=Math.sqrt(r*r+a*a);return[t,i,o]},u.lch.lab=function(e){let t=e[0],r=e[1],a=e[2]/360*2*Math.PI,o=r*Math.cos(a),i=r*Math.sin(a);return[t,o,i]},u.rgb.ansi16=function(e,t=null){let[r,a,o]=e,i=t===null?u.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),i===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(a/255)<<1|Math.round(r/255));return i===2&&(s+=60),s},u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])},u.rgb.ansi256=function(e){let t=e[0],r=e[1],a=e[2];return t===r&&r===a?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(a/255*5)},u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let r=(~~(e>50)+1)*.5,a=(t&1)*r*255,o=(t>>1&1)*r*255,i=(t>>2&1)*r*255;return[a,o,i]},u.ansi256.rgb=function(e){if(e>=232){let i=(e-232)*10+8;return[i,i,i]}e-=16;let t,r=Math.floor(e/36)/5*255,a=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[r,a,o]},u.rgb.hex=function(e){let t=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(t.length)+t},u.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(f=>f+f).join(""));let a=parseInt(r,16),o=a>>16&255,i=a>>8&255,s=a&255;return[o,i,s]},u.rgb.hcg=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.max(Math.max(t,r),a),i=Math.min(Math.min(t,r),a),s=o-i,f,g;return s<1?f=i/(1-s):f=0,s<=0?g=0:o===t?g=(r-a)/s%6:o===r?g=2+(a-t)/s:g=4+(t-r)/s,g/=6,g%=1,[g*360,s*100,f*100]},u.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=r<.5?2*t*r:2*t*(1-r),o=0;return a<1&&(o=(r-.5*a)/(1-a)),[e[0],a*100,o*100]},u.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=t*r,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100;if(r===0)return[a*255,a*255,a*255];let o=[0,0,0],i=t%1*6,s=i%1,f=1-s,g=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=f,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=f,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=f}return g=(1-r)*a,[(r*o[0]+g)*255,(r*o[1]+g)*255,(r*o[2]+g)*255]},u.hcg.hsv=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t),o=0;return a>0&&(o=t/a),[e[0],o*100,a*100]},u.hcg.hsl=function(e){let t=e[1]/100,r=e[2]/100*(1-t)+.5*t,a=0;return r>0&&r<.5?a=t/(2*r):r>=.5&&r<1&&(a=t/(2*(1-r))),[e[0],a*100,r*100]},u.hcg.hwb=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t);return[e[0],(a-t)*100,(1-a)*100]},u.hwb.hcg=function(e){let t=e[1]/100,r=1-e[2]/100,a=r-t,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},u.gray.hsl=function(e){return[0,0,e[0]]},u.gray.hsv=u.gray.hsl,u.gray.hwb=function(e){return[0,100,e[0]]},u.gray.cmyk=function(e){return[0,0,0,e[0]]},u.gray.lab=function(e){return[e[0],0,0]},u.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}}),ve=H({"../../node_modules/color-convert/route.js"(n,l){var c=Q();function h(){let t={},r=Object.keys(c);for(let a=r.length,o=0;o1&&(o=i),r(o))};return"conversion"in r&&(a.conversion=r.conversion),a}function t(r){let a=function(...o){let i=o[0];if(i==null)return i;i.length>1&&(o=i);let s=r(o);if(typeof s=="object")for(let f=s.length,g=0;g{u[r]={},Object.defineProperty(u[r],"channels",{value:c[r].channels}),Object.defineProperty(u[r],"labels",{value:c[r].labels});let a=h(r);Object.keys(a).forEach(o=>{let i=a[o];u[r][o]=t(i),u[r][o].raw=e(i)})}),l.exports=u}}),_=be(pe());function C(){return(C=Object.assign||function(n){for(var l=1;l=0||(u[c]=n[c]);return u}function L(n){var l=p.useRef(n),c=p.useRef(function(h){l.current&&l.current(h)});return l.current=n,c.current}var O=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=1),n>c?c:n0:y.buttons>0)&&u.current?d(F(u.current,y,t.current)):b(!1)},g=function(){return b(!1)};function b(y){var v=r.current,w=B(u.current),E=y?w.addEventListener:w.removeEventListener;E(v?"touchmove":"mousemove",f),E(v?"touchend":"mouseup",g)}return[function(y){var v=y.nativeEvent,w=u.current;if(w&&(W(v),!function(k,P){return P&&!S(k)}(v,r.current)&&w)){if(S(v)){r.current=!0;var E=v.changedTouches||[];E.length&&(t.current=E[0].identifier)}w.focus(),d(F(w,v,t.current)),b(!0)}},function(y){var v=y.which||y.keyCode;v<37||v>40||(y.preventDefault(),e({left:v===39?.05:v===37?-.05:0,top:v===40?.05:v===38?-.05:0}))},b]},[e,d]),o=a[0],i=a[1],s=a[2];return p.useEffect(function(){return s},[s]),m.createElement("div",C({},h,{onTouchStart:o,onMouseDown:o,className:"react-colorful__interactive",ref:u,onKeyDown:i,tabIndex:0,role:"slider"}))}),N=function(n){return n.filter(Boolean).join(" ")},T=function(n){var l=n.color,c=n.left,h=n.top,u=h===void 0?.5:h,d=N(["react-colorful__pointer",n.className]);return m.createElement("div",{className:d,style:{top:100*u+"%",left:100*c+"%"}},m.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:l}}))},x=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=Math.pow(10,l)),Math.round(c*n)/c},ye={grad:.9,turn:360,rad:360/(2*Math.PI)},xe=function(n){return re(X(n))},X=function(n){return n[0]==="#"&&(n=n.substring(1)),n.length<6?{r:parseInt(n[0]+n[0],16),g:parseInt(n[1]+n[1],16),b:parseInt(n[2]+n[2],16),a:n.length===4?x(parseInt(n[3]+n[3],16)/255,2):1}:{r:parseInt(n.substring(0,2),16),g:parseInt(n.substring(2,4),16),b:parseInt(n.substring(4,6),16),a:n.length===8?x(parseInt(n.substring(6,8),16)/255,2):1}},we=function(n,l){return l===void 0&&(l="deg"),Number(n)*(ye[l]||1)},ke=function(n){var l=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?_e({h:we(l[1],l[2]),s:Number(l[3]),l:Number(l[4]),a:l[5]===void 0?1:Number(l[5])/(l[6]?100:1)}):{h:0,s:0,v:0,a:1}},_e=function(n){var l=n.s,c=n.l;return{h:n.h,s:(l*=(c<50?c:100-c)/100)>0?2*l/(c+l)*100:0,v:c+l,a:n.a}},Ee=function(n){return Ce(ee(n))},Z=function(n){var l=n.s,c=n.v,h=n.a,u=(200-l)*c/100;return{h:x(n.h),s:x(u>0&&u<200?l*c/100/(u<=100?u:200-u)*100:0),l:x(u/2),a:x(h,2)}},K=function(n){var l=Z(n);return"hsl("+l.h+", "+l.s+"%, "+l.l+"%)"},I=function(n){var l=Z(n);return"hsla("+l.h+", "+l.s+"%, "+l.l+"%, "+l.a+")"},ee=function(n){var l=n.h,c=n.s,h=n.v,u=n.a;l=l/360*6,c/=100,h/=100;var d=Math.floor(l),e=h*(1-c),t=h*(1-(l-d)*c),r=h*(1-(1-l+d)*c),a=d%6;return{r:x(255*[h,t,e,e,r,h][a]),g:x(255*[r,h,h,t,e,e][a]),b:x(255*[e,e,r,h,h,t][a]),a:x(u,2)}},Me=function(n){var l=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?re({r:Number(l[1])/(l[2]?100/255:1),g:Number(l[3])/(l[4]?100/255:1),b:Number(l[5])/(l[6]?100/255:1),a:l[7]===void 0?1:Number(l[7])/(l[8]?100:1)}):{h:0,s:0,v:0,a:1}},j=function(n){var l=n.toString(16);return l.length<2?"0"+l:l},Ce=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=u<1?j(x(255*u)):"";return"#"+j(l)+j(c)+j(h)+d},re=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=Math.max(l,c,h),e=d-Math.min(l,c,h),t=e?d===l?(c-h)/e:d===c?2+(h-l)/e:4+(l-c)/e:0;return{h:x(60*(t<0?t+6:t)),s:x(d?e/d*100:0),v:x(d/255*100),a:u}},te=m.memo(function(n){var l=n.hue,c=n.onChange,h=N(["react-colorful__hue",n.className]);return m.createElement("div",{className:h},m.createElement(G,{onMove:function(u){c({h:360*u.left})},onKey:function(u){c({h:O(l+360*u.left,0,360)})},"aria-label":"Hue","aria-valuenow":x(l),"aria-valuemax":"360","aria-valuemin":"0"},m.createElement(T,{className:"react-colorful__hue-pointer",left:l/360,color:K({h:l,s:100,v:100,a:1})})))}),ne=m.memo(function(n){var l=n.hsva,c=n.onChange,h={backgroundColor:K({h:l.h,s:100,v:100,a:1})};return m.createElement("div",{className:"react-colorful__saturation",style:h},m.createElement(G,{onMove:function(u){c({s:100*u.left,v:100-100*u.top})},onKey:function(u){c({s:O(l.s+100*u.left,0,100),v:O(l.v-100*u.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+x(l.s)+"%, Brightness "+x(l.v)+"%"},m.createElement(T,{className:"react-colorful__saturation-pointer",top:1-l.v/100,left:l.s/100,color:K(l)})))}),ae=function(n,l){if(n===l)return!0;for(var c in n)if(n[c]!==l[c])return!1;return!0},oe=function(n,l){return n.replace(/\s/g,"")===l.replace(/\s/g,"")},$e=function(n,l){return n.toLowerCase()===l.toLowerCase()||ae(X(n),X(l))};function le(n,l,c){var h=L(c),u=p.useState(function(){return n.toHsva(l)}),d=u[0],e=u[1],t=p.useRef({color:l,hsva:d});p.useEffect(function(){if(!n.equal(l,t.current.color)){var a=n.toHsva(l);t.current={hsva:a,color:l},e(a)}},[l,n]),p.useEffect(function(){var a;ae(d,t.current.hsva)||n.equal(a=n.fromHsva(d),t.current.color)||(t.current={hsva:d,color:a},h(a))},[d,n,h]);var r=p.useCallback(function(a){e(function(o){return Object.assign({},o,a)})},[]);return[d,r]}var Oe=typeof window<"u"?p.useLayoutEffect:p.useEffect,Se=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},Y=new Map,ie=function(n){Oe(function(){var l=n.current?n.current.ownerDocument:document;if(l!==void 0&&!Y.has(l)){var c=l.createElement("style");c.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,Y.set(l,c);var h=Se();h&&c.setAttribute("nonce",h),l.head.appendChild(c)}},[])},Ne=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=N(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o,className:"react-colorful__last-control"}))},je={defaultColor:"000",toHsva:xe,fromHsva:function(n){return Ee({h:n.h,s:n.s,v:n.v,a:1})},equal:$e},Re=function(n){return m.createElement(Ne,C({},n,{colorModel:je}))},ze=function(n){var l=n.className,c=n.hsva,h=n.onChange,u={backgroundImage:"linear-gradient(90deg, "+I(Object.assign({},c,{a:0}))+", "+I(Object.assign({},c,{a:1}))+")"},d=N(["react-colorful__alpha",l]),e=x(100*c.a);return m.createElement("div",{className:d},m.createElement("div",{className:"react-colorful__alpha-gradient",style:u}),m.createElement(G,{onMove:function(t){h({a:t.left})},onKey:function(t){h({a:O(c.a+t.left)})},"aria-label":"Alpha","aria-valuetext":e+"%","aria-valuenow":e,"aria-valuemin":"0","aria-valuemax":"100"},m.createElement(T,{className:"react-colorful__alpha-pointer",left:c.a,color:I(c)})))},ue=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=N(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o}),m.createElement(ze,{hsva:a,onChange:o,className:"react-colorful__last-control"}))},Ie={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:ke,fromHsva:I,equal:oe},qe=function(n){return m.createElement(ue,C({},n,{colorModel:Ie}))},He={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Me,fromHsva:function(n){var l=ee(n);return"rgba("+l.r+", "+l.g+", "+l.b+", "+l.a+")"},equal:oe},Pe=function(n){return m.createElement(ue,C({},n,{colorModel:He}))},Le=M.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Be=M(J)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),Xe=M.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Ke=M(fe)(({theme:n})=>({fontFamily:n.typography.fonts.base})),De=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Ve=M.div(({theme:n,active:l})=>({width:16,height:16,boxShadow:l?`${n.appBorderColor} 0 0 0 1px inset, ${n.textMutedColor}50 0 0 0 4px`:`${n.appBorderColor} 0 0 0 1px inset`,borderRadius:n.appBorderRadius})),Ge=`url('data:image/svg+xml;charset=utf-8,')`,A=({value:n,style:l,...c})=>{let h=`linear-gradient(${n}, ${n}), ${Ge}, linear-gradient(#fff, #fff)`;return m.createElement(Ve,{...c,style:{...l,backgroundImage:h}})},Te=M(de.Input)(({theme:n,readOnly:l})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:n.typography.fonts.base})),Fe=M(ge)(({theme:n})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:n.input.color})),se=(n=>(n.RGB="rgb",n.HSL="hsl",n.HEX="hex",n))(se||{}),R=Object.values(se),We=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Ye=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ae=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,D=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Ue=/^\s*#?([0-9a-f]{3})\s*$/i,Je={hex:Re,rgb:Pe,hsl:qe},z={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},U=n=>{let l=n==null?void 0:n.match(We);if(!l)return[0,0,0,1];let[,c,h,u,d=1]=l;return[c,h,u,d].map(Number)},$=n=>{if(!n)return;let l=!0;if(Ye.test(n)){let[e,t,r,a]=U(n),[o,i,s]=_.default.rgb.hsl([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.rgb.keyword([e,t,r]),colorSpace:"rgb",rgb:n,hsl:`hsla(${o}, ${i}%, ${s}%, ${a})`,hex:`#${_.default.rgb.hex([e,t,r]).toLowerCase()}`}}if(Ae.test(n)){let[e,t,r,a]=U(n),[o,i,s]=_.default.hsl.rgb([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.hsl.keyword([e,t,r]),colorSpace:"hsl",rgb:`rgba(${o}, ${i}, ${s}, ${a})`,hsl:n,hex:`#${_.default.hsl.hex([e,t,r]).toLowerCase()}`}}let c=n.replace("#",""),h=_.default.keyword.rgb(c)||_.default.hex.rgb(c),u=_.default.rgb.hsl(h),d=n;if(/[^#a-f0-9]/i.test(n)?d=c:D.test(n)&&(d=`#${c}`),d.startsWith("#"))l=D.test(d);else try{_.default.keyword.hex(d)}catch{l=!1}return{valid:l,value:d,keyword:_.default.rgb.keyword(h),colorSpace:"hex",rgb:`rgba(${h[0]}, ${h[1]}, ${h[2]}, 1)`,hsl:`hsla(${u[0]}, ${u[1]}%, ${u[2]}%, 1)`,hex:d}},Qe=(n,l,c)=>{if(!n||!(l!=null&&l.valid))return z[c];if(c!=="hex")return(l==null?void 0:l[c])||z[c];if(!l.hex.startsWith("#"))try{return`#${_.default.keyword.hex(l.hex)}`}catch{return z.hex}let h=l.hex.match(Ue);if(!h)return D.test(l.hex)?l.hex:z.hex;let[u,d,e]=h[1].split("");return`#${u}${u}${d}${d}${e}${e}`},Ze=(n,l)=>{let[c,h]=p.useState(n||""),[u,d]=p.useState(()=>$(c)),[e,t]=p.useState((u==null?void 0:u.colorSpace)||"hex");p.useEffect(()=>{let i=n||"",s=$(i);h(i),d(s),t((s==null?void 0:s.colorSpace)||"hex")},[n]);let r=p.useMemo(()=>Qe(c,u,e).toLowerCase(),[c,u,e]),a=p.useCallback(i=>{let s=$(i),f=(s==null?void 0:s.value)||i||"";h(f),f===""&&(d(void 0),l(void 0)),s&&(d(s),t(s.colorSpace),l(s.value))},[l]),o=p.useCallback(()=>{let i=R.indexOf(e)+1;i>=R.length&&(i=0),t(R[i]);let s=(u==null?void 0:u[R[i]])||"";h(s),l(s)},[u,e,l]);return{value:c,realValue:r,updateValue:a,color:u,colorSpace:e,cycleColorSpace:o}},q=n=>n.replace(/\s*/,"").toLowerCase(),er=(n,l,c)=>{let[h,u]=p.useState(l!=null&&l.valid?[l]:[]);p.useEffect(()=>{l===void 0&&u([])},[l]);let d=p.useMemo(()=>(n||[]).map(t=>typeof t=="string"?$(t):t.title?{...$(t.color),keyword:t.title}:$(t.color)).concat(h).filter(Boolean).slice(-27),[n,h]),e=p.useCallback(t=>{t!=null&&t.valid&&(d.some(r=>q(r[c])===q(t[c]))||u(r=>r.concat(t)))},[c,d]);return{presets:d,addPreset:e}},rr=({name:n,value:l,onChange:c,onFocus:h,onBlur:u,presetColors:d,startOpen:e=!1,argType:t})=>{var E;let r=p.useCallback(ce(c,200),[c]),{value:a,realValue:o,updateValue:i,color:s,colorSpace:f,cycleColorSpace:g}=Ze(l,r),{presets:b,addPreset:y}=er(d,s,f),v=Je[f],w=!!((E=t==null?void 0:t.table)!=null&&E.readonly);return m.createElement(Le,{"aria-readonly":w},m.createElement(Be,{startOpen:e,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>y(s),tooltip:m.createElement(Xe,null,m.createElement(v,{color:o==="transparent"?"#000000":o,onChange:i,onFocus:h,onBlur:u}),b.length>0&&m.createElement(De,null,b.map((k,P)=>m.createElement(J,{key:`${k.value}-${P}`,hasChrome:!1,tooltip:m.createElement(Ke,{note:k.keyword||k.value})},m.createElement(A,{value:k[f],active:s&&q(k[f])===q(s[f]),onClick:()=>i(k.value)})))))},m.createElement(A,{value:o,style:{margin:4}})),m.createElement(Te,{id:he(n),value:a,onChange:k=>i(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),a?m.createElement(Fe,{onClick:g}):null)},dr=rr;export{rr as ColorControl,dr as default}; diff --git a/assets/Colors-BfiO6EGK.js b/assets/Colors-BOD-ru-Z.js similarity index 69% rename from assets/Colors-BfiO6EGK.js rename to assets/Colors-BOD-ru-Z.js index ee6a63500..45f2bc13f 100644 --- a/assets/Colors-BfiO6EGK.js +++ b/assets/Colors-BOD-ru-Z.js @@ -1,4 +1,4 @@ -import{j as o}from"./jsx-runtime-z8MfsBtr.js";import{useMDXComponents as c}from"./index-CrPz3I2A.js";import"./index-Dzx0UDTo.js";import{a as l}from"./color-CiP8tUik.js";import{M as m,C as s,a as n}from"./DocsRenderer-CFRXHY34-jNd1DwDx.js";import"./index-C9rmetsa.js";import"./index-D1TSixAU.js";import"./preview-shdZu16F.js";import"./iframe-CqSFuqlf.js";import"./index-BWPEG51O.js";import"./index-Dcf1nc42.js";import"./index-D2m0ySOf.js";import"./index-Brs1icLk.js";import"./index-ogSvIofg.js";import"./react-18-Bd5J0FWG.js";function i(e){const t={code:"code",h1:"h1",h3:"h3",p:"p",...c(),...e.components};return o.jsxs(o.Fragment,{children:[o.jsx(m,{title:"Design System/Colors"}),` +import{j as o}from"./jsx-runtime-Cf8x2fCZ.js";import{useMDXComponents as c}from"./index-s_7BDCjm.js";import"./index-BH4yqkGc.js";import{a as l}from"./color-CiP8tUik.js";import{M as m,C as s,a as n}from"./DocsRenderer-CFRXHY34-ByjBGumv.js";import"./index-yBjzXJbu.js";import"./index-DubqEmGm.js";import"./preview-58RC1v3k.js";import"./iframe-DBaV6xvg.js";import"./index-BQhnwxuj.js";import"./index-e5epXPAg.js";import"./index-fNjTmf9T.js";import"./index-CXQShRbs.js";import"./index-DrFu-skq.js";import"./react-18-DbvqzeU0.js";function i(e){const t={code:"code",h1:"h1",h3:"h3",p:"p",...c(),...e.components};return o.jsxs(o.Fragment,{children:[o.jsx(m,{title:"Design System/Colors"}),` `,o.jsx(t.h1,{id:"colors",children:"Colors"}),` `,o.jsx(t.p,{children:"Color schemes, scales, accents, and gradients."}),` `,o.jsx(t.h3,{id:"base-colors",children:"Base Colors"}),` diff --git a/assets/Combination-DfJfzaFg.js b/assets/Combination-B30zI8Yx.js similarity index 53% rename from assets/Combination-DfJfzaFg.js rename to assets/Combination-B30zI8Yx.js index 38530c39d..a8d16119f 100644 --- a/assets/Combination-DfJfzaFg.js +++ b/assets/Combination-B30zI8Yx.js @@ -1,41 +1,41 @@ -import{r as u}from"./index-D1TSixAU.js";import{u as he}from"./index-DEvaI7vP.js";import{P as me}from"./index-CuZtKiOG.js";import{b as G}from"./index-BWtkTp-R.js";import{j as pe}from"./jsx-runtime-z8MfsBtr.js";var _=0;function pt(){u.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Z()),document.body.insertAdjacentElement("beforeend",e[1]??Z()),_++,()=>{_===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),_--}},[])}function Z(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var j="focusScope.autoFocusOnMount",U="focusScope.autoFocusOnUnmount",q={bubbles:!1,cancelable:!0},ge="FocusScope",ye=u.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:c,onUnmountAutoFocus:i,...s}=e,[a,S]=u.useState(null),y=G(c),p=G(i),f=u.useRef(null),v=he(t,o=>S(o)),h=u.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;u.useEffect(()=>{if(r){let o=function(m){if(h.paused||!a)return;const g=m.target;a.contains(g)?f.current=g:k(f.current,{select:!0})},l=function(m){if(h.paused||!a)return;const g=m.relatedTarget;g!==null&&(a.contains(g)||k(f.current,{select:!0}))},d=function(m){if(document.activeElement===document.body)for(const b of m)b.removedNodes.length>0&&k(a)};document.addEventListener("focusin",o),document.addEventListener("focusout",l);const E=new MutationObserver(d);return a&&E.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",o),document.removeEventListener("focusout",l),E.disconnect()}}},[r,a,h.paused]),u.useEffect(()=>{if(a){$.add(h);const o=document.activeElement;if(!a.contains(o)){const d=new CustomEvent(j,q);a.addEventListener(j,y),a.dispatchEvent(d),d.defaultPrevented||(be(ke(oe(a)),{select:!0}),document.activeElement===o&&k(a))}return()=>{a.removeEventListener(j,y),setTimeout(()=>{const d=new CustomEvent(U,q);a.addEventListener(U,p),a.dispatchEvent(d),d.defaultPrevented||k(o??document.body,{select:!0}),a.removeEventListener(U,p),$.remove(h)},0)}}},[a,y,p,h]);const w=u.useCallback(o=>{if(!n&&!r||h.paused)return;const l=o.key==="Tab"&&!o.altKey&&!o.ctrlKey&&!o.metaKey,d=document.activeElement;if(l&&d){const E=o.currentTarget,[m,g]=Ee(E);m&&g?!o.shiftKey&&d===g?(o.preventDefault(),n&&k(m,{select:!0})):o.shiftKey&&d===m&&(o.preventDefault(),n&&k(g,{select:!0})):d===E&&o.preventDefault()}},[n,r,h.paused]);return pe.jsx(me.div,{tabIndex:-1,...s,ref:v,onKeyDown:w})});ye.displayName=ge;function be(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(k(r,{select:t}),document.activeElement!==n)return}function Ee(e){const t=oe(e),n=Q(t,e),r=Q(t.reverse(),e);return[n,r]}function oe(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const c=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||c?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Q(e,t){for(const n of e)if(!Se(n,{upTo:t}))return n}function Se(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function we(e){return e instanceof HTMLInputElement&&"select"in e}function k(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&we(e)&&t&&e.select()}}var $=Ce();function Ce(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=J(e,t),e.unshift(t)},remove(t){var n;e=J(e,t),(n=e[0])==null||n.resume()}}}function J(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function ke(e){return e.filter(t=>t.tagName!=="A")}var Ae=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},R=new WeakMap,O=new WeakMap,L={},K=0,ce=function(e){return e&&(e.host||ce(e.parentNode))},Re=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=ce(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Te=function(e,t,n,r){var c=Re(t,Array.isArray(e)?e:[e]);L[n]||(L[n]=new WeakMap);var i=L[n],s=[],a=new Set,S=new Set(c),y=function(f){!f||a.has(f)||(a.add(f),y(f.parentNode))};c.forEach(y);var p=function(f){!f||S.has(f)||Array.prototype.forEach.call(f.children,function(v){if(a.has(v))p(v);else try{var h=v.getAttribute(r),w=h!==null&&h!=="false",o=(R.get(v)||0)+1,l=(i.get(v)||0)+1;R.set(v,o),i.set(v,l),s.push(v),o===1&&w&&O.set(v,!0),l===1&&v.setAttribute(n,"true"),w||v.setAttribute(r,"true")}catch(d){console.error("aria-hidden: cannot operate on ",v,d)}})};return p(t),a.clear(),K++,function(){s.forEach(function(f){var v=R.get(f)-1,h=i.get(f)-1;R.set(f,v),i.set(f,h),v||(O.has(f)||f.removeAttribute(r),O.delete(f)),h||f.removeAttribute(n)}),K--,K||(R=new WeakMap,R=new WeakMap,O=new WeakMap,L={})}},gt=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),c=Ae(e);return c?(r.push.apply(r,Array.from(c.querySelectorAll("[aria-live]"))),Te(r,c,n,"aria-hidden")):function(){return null}},C=function(){return C=Object.assign||function(t){for(var n,r=1,c=arguments.length;r"u")return Ve;var t=Xe(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},ze=se(),M="data-scroll-locked",Ge=function(e,t,n,r){var c=e.left,i=e.top,s=e.right,a=e.gap;return n===void 0&&(n="margin"),` +import{r as u}from"./index-DubqEmGm.js";import{u as he}from"./index-BkTKsPvT.js";import{P as me}from"./index-EKtyzmkF.js";import{b as G}from"./index-DKEAZgBW.js";import{j as pe}from"./jsx-runtime-Cf8x2fCZ.js";var _=0;function pt(){u.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Z()),document.body.insertAdjacentElement("beforeend",e[1]??Z()),_++,()=>{_===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),_--}},[])}function Z(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var j="focusScope.autoFocusOnMount",U="focusScope.autoFocusOnUnmount",q={bubbles:!1,cancelable:!0},ge="FocusScope",ye=u.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:c,onUnmountAutoFocus:i,...s}=e,[a,S]=u.useState(null),y=G(c),p=G(i),f=u.useRef(null),v=he(t,o=>S(o)),h=u.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;u.useEffect(()=>{if(n){let o=function(m){if(h.paused||!a)return;const g=m.target;a.contains(g)?f.current=g:k(f.current,{select:!0})},l=function(m){if(h.paused||!a)return;const g=m.relatedTarget;g!==null&&(a.contains(g)||k(f.current,{select:!0}))},d=function(m){if(document.activeElement===document.body)for(const b of m)b.removedNodes.length>0&&k(a)};document.addEventListener("focusin",o),document.addEventListener("focusout",l);const E=new MutationObserver(d);return a&&E.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",o),document.removeEventListener("focusout",l),E.disconnect()}}},[n,a,h.paused]),u.useEffect(()=>{if(a){$.add(h);const o=document.activeElement;if(!a.contains(o)){const d=new CustomEvent(j,q);a.addEventListener(j,y),a.dispatchEvent(d),d.defaultPrevented||(be(ke(oe(a)),{select:!0}),document.activeElement===o&&k(a))}return()=>{a.removeEventListener(j,y),setTimeout(()=>{const d=new CustomEvent(U,q);a.addEventListener(U,p),a.dispatchEvent(d),d.defaultPrevented||k(o??document.body,{select:!0}),a.removeEventListener(U,p),$.remove(h)},0)}}},[a,y,p,h]);const w=u.useCallback(o=>{if(!r&&!n||h.paused)return;const l=o.key==="Tab"&&!o.altKey&&!o.ctrlKey&&!o.metaKey,d=document.activeElement;if(l&&d){const E=o.currentTarget,[m,g]=Ee(E);m&&g?!o.shiftKey&&d===g?(o.preventDefault(),r&&k(m,{select:!0})):o.shiftKey&&d===m&&(o.preventDefault(),r&&k(g,{select:!0})):d===E&&o.preventDefault()}},[r,n,h.paused]);return pe.jsx(me.div,{tabIndex:-1,...s,ref:v,onKeyDown:w})});ye.displayName=ge;function be(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(k(n,{select:t}),document.activeElement!==r)return}function Ee(e){const t=oe(e),r=Q(t,e),n=Q(t.reverse(),e);return[r,n]}function oe(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const c=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||c?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Q(e,t){for(const r of e)if(!Se(r,{upTo:t}))return r}function Se(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function we(e){return e instanceof HTMLInputElement&&"select"in e}function k(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&we(e)&&t&&e.select()}}var $=Ce();function Ce(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=J(e,t),e.unshift(t)},remove(t){var r;e=J(e,t),(r=e[0])==null||r.resume()}}}function J(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function ke(e){return e.filter(t=>t.tagName!=="A")}var Ae=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},R=new WeakMap,O=new WeakMap,L={},K=0,ce=function(e){return e&&(e.host||ce(e.parentNode))},Re=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=ce(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},Te=function(e,t,r,n){var c=Re(t,Array.isArray(e)?e:[e]);L[r]||(L[r]=new WeakMap);var i=L[r],s=[],a=new Set,S=new Set(c),y=function(f){!f||a.has(f)||(a.add(f),y(f.parentNode))};c.forEach(y);var p=function(f){!f||S.has(f)||Array.prototype.forEach.call(f.children,function(v){if(a.has(v))p(v);else try{var h=v.getAttribute(n),w=h!==null&&h!=="false",o=(R.get(v)||0)+1,l=(i.get(v)||0)+1;R.set(v,o),i.set(v,l),s.push(v),o===1&&w&&O.set(v,!0),l===1&&v.setAttribute(r,"true"),w||v.setAttribute(n,"true")}catch(d){console.error("aria-hidden: cannot operate on ",v,d)}})};return p(t),a.clear(),K++,function(){s.forEach(function(f){var v=R.get(f)-1,h=i.get(f)-1;R.set(f,v),i.set(f,h),v||(O.has(f)||f.removeAttribute(n),O.delete(f)),h||f.removeAttribute(r)}),K--,K||(R=new WeakMap,R=new WeakMap,O=new WeakMap,L={})}},gt=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),c=Ae(e);return c?(n.push.apply(n,Array.from(c.querySelectorAll("[aria-live]"))),Te(n,c,r,"aria-hidden")):function(){return null}},C=function(){return C=Object.assign||function(t){for(var r,n=1,c=arguments.length;n"u")return Ve;var t=Xe(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},ze=se(),M="data-scroll-locked",Ge=function(e,t,r,n){var c=e.left,i=e.top,s=e.right,a=e.gap;return r===void 0&&(r="margin"),` .`.concat(Me,` { - overflow: hidden `).concat(r,`; - padding-right: `).concat(a,"px ").concat(r,`; + overflow: hidden `).concat(n,`; + padding-right: `).concat(a,"px ").concat(n,`; } body[`).concat(M,`] { - overflow: hidden `).concat(r,`; + overflow: hidden `).concat(n,`; overscroll-behavior: contain; - `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&` + `).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&` padding-left: `.concat(c,`px; padding-top: `).concat(i,`px; padding-right: `).concat(s,`px; margin-left:0; margin-top:0; - margin-right: `).concat(a,"px ").concat(r,`; - `),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),` + margin-right: `).concat(a,"px ").concat(n,`; + `),r==="padding"&&"padding-right: ".concat(a,"px ").concat(n,";")].filter(Boolean).join(""),` } .`).concat(W,` { - right: `).concat(a,"px ").concat(r,`; + right: `).concat(a,"px ").concat(n,`; } .`).concat(B,` { - margin-right: `).concat(a,"px ").concat(r,`; + margin-right: `).concat(a,"px ").concat(n,`; } .`).concat(W," .").concat(W,` { - right: 0 `).concat(r,`; + right: 0 `).concat(n,`; } .`).concat(B," .").concat(B,` { - margin-right: 0 `).concat(r,`; + margin-right: 0 `).concat(n,`; } body[`).concat(M,`] { `).concat(Ne,": ").concat(a,`px; } -`)},te=function(){var e=parseInt(document.body.getAttribute(M)||"0",10);return isFinite(e)?e:0},Ze=function(){u.useEffect(function(){return document.body.setAttribute(M,(te()+1).toString()),function(){var e=te()-1;e<=0?document.body.removeAttribute(M):document.body.setAttribute(M,e.toString())}},[])},qe=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,c=r===void 0?"margin":r;Ze();var i=u.useMemo(function(){return Ye(c)},[c]);return u.createElement(ze,{styles:Ge(i,!t,c,n?"":"!important")})},Y=!1;if(typeof window<"u")try{var x=Object.defineProperty({},"passive",{get:function(){return Y=!0,!0}});window.addEventListener("test",x,x),window.removeEventListener("test",x,x)}catch{Y=!1}var T=Y?{passive:!1}:!1,Qe=function(e){return e.tagName==="TEXTAREA"},fe=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Qe(e)&&n[t]==="visible")},$e=function(e){return fe(e,"overflowY")},Je=function(e){return fe(e,"overflowX")},ne=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var c=de(e,r);if(c){var i=ve(e,r),s=i[1],a=i[2];if(s>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},et=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},tt=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},de=function(e,t){return e==="v"?$e(t):Je(t)},ve=function(e,t){return e==="v"?et(t):tt(t)},nt=function(e,t){return e==="h"&&t==="rtl"?-1:1},rt=function(e,t,n,r,c){var i=nt(e,window.getComputedStyle(t).direction),s=i*r,a=n.target,S=t.contains(a),y=!1,p=s>0,f=0,v=0;do{var h=ve(e,a),w=h[0],o=h[1],l=h[2],d=o-l-i*w;(w||d)&&de(e,a)&&(f+=d,v+=w),a instanceof ShadowRoot?a=a.host:a=a.parentNode}while(!S&&a!==document.body||S&&(t.contains(a)||t===a));return(p&&Math.abs(f)<1||!p&&Math.abs(v)<1)&&(y=!0),y},I=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},re=function(e){return[e.deltaX,e.deltaY]},ae=function(e){return e&&"current"in e?e.current:e},at=function(e,t){return e[0]===t[0]&&e[1]===t[1]},ot=function(e){return` +`)},te=function(){var e=parseInt(document.body.getAttribute(M)||"0",10);return isFinite(e)?e:0},Ze=function(){u.useEffect(function(){return document.body.setAttribute(M,(te()+1).toString()),function(){var e=te()-1;e<=0?document.body.removeAttribute(M):document.body.setAttribute(M,e.toString())}},[])},qe=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,c=n===void 0?"margin":n;Ze();var i=u.useMemo(function(){return Ye(c)},[c]);return u.createElement(ze,{styles:Ge(i,!t,c,r?"":"!important")})},Y=!1;if(typeof window<"u")try{var x=Object.defineProperty({},"passive",{get:function(){return Y=!0,!0}});window.addEventListener("test",x,x),window.removeEventListener("test",x,x)}catch{Y=!1}var T=Y?{passive:!1}:!1,Qe=function(e){return e.tagName==="TEXTAREA"},fe=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!Qe(e)&&r[t]==="visible")},$e=function(e){return fe(e,"overflowY")},Je=function(e){return fe(e,"overflowX")},re=function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var c=de(e,n);if(c){var i=ve(e,n),s=i[1],a=i[2];if(s>a)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},et=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},tt=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},de=function(e,t){return e==="v"?$e(t):Je(t)},ve=function(e,t){return e==="v"?et(t):tt(t)},rt=function(e,t){return e==="h"&&t==="rtl"?-1:1},nt=function(e,t,r,n,c){var i=rt(e,window.getComputedStyle(t).direction),s=i*n,a=r.target,S=t.contains(a),y=!1,p=s>0,f=0,v=0;do{var h=ve(e,a),w=h[0],o=h[1],l=h[2],d=o-l-i*w;(w||d)&&de(e,a)&&(f+=d,v+=w),a instanceof ShadowRoot?a=a.host:a=a.parentNode}while(!S&&a!==document.body||S&&(t.contains(a)||t===a));return(p&&Math.abs(f)<1||!p&&Math.abs(v)<1)&&(y=!0),y},I=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},ne=function(e){return[e.deltaX,e.deltaY]},ae=function(e){return e&&"current"in e?e.current:e},at=function(e,t){return e[0]===t[0]&&e[1]===t[1]},ot=function(e){return` .block-interactivity-`.concat(e,` {pointer-events: none;} .allow-interactivity-`).concat(e,` {pointer-events: all;} -`)},ct=0,P=[];function ut(e){var t=u.useRef([]),n=u.useRef([0,0]),r=u.useRef(),c=u.useState(ct++)[0],i=u.useState(se)[0],s=u.useRef(e);u.useEffect(function(){s.current=e},[e]),u.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(c));var o=Pe([e.lockRef.current],(e.shards||[]).map(ae),!0).filter(Boolean);return o.forEach(function(l){return l.classList.add("allow-interactivity-".concat(c))}),function(){document.body.classList.remove("block-interactivity-".concat(c)),o.forEach(function(l){return l.classList.remove("allow-interactivity-".concat(c))})}}},[e.inert,e.lockRef.current,e.shards]);var a=u.useCallback(function(o,l){if("touches"in o&&o.touches.length===2||o.type==="wheel"&&o.ctrlKey)return!s.current.allowPinchZoom;var d=I(o),E=n.current,m="deltaX"in o?o.deltaX:E[0]-d[0],g="deltaY"in o?o.deltaY:E[1]-d[1],b,A=o.target,N=Math.abs(m)>Math.abs(g)?"h":"v";if("touches"in o&&N==="h"&&A.type==="range")return!1;var F=ne(N,A);if(!F)return!0;if(F?b=N:(b=N==="v"?"h":"v",F=ne(N,A)),!F)return!1;if(!r.current&&"changedTouches"in o&&(m||g)&&(r.current=b),!b)return!0;var z=r.current||b;return rt(z,l,o,z==="h"?m:g)},[]),S=u.useCallback(function(o){var l=o;if(!(!P.length||P[P.length-1]!==i)){var d="deltaY"in l?re(l):I(l),E=t.current.filter(function(b){return b.name===l.type&&(b.target===l.target||l.target===b.shadowParent)&&at(b.delta,d)})[0];if(E&&E.should){l.cancelable&&l.preventDefault();return}if(!E){var m=(s.current.shards||[]).map(ae).filter(Boolean).filter(function(b){return b.contains(l.target)}),g=m.length>0?a(l,m[0]):!s.current.noIsolation;g&&l.cancelable&&l.preventDefault()}}},[]),y=u.useCallback(function(o,l,d,E){var m={name:o,delta:l,target:d,should:E,shadowParent:it(d)};t.current.push(m),setTimeout(function(){t.current=t.current.filter(function(g){return g!==m})},1)},[]),p=u.useCallback(function(o){n.current=I(o),r.current=void 0},[]),f=u.useCallback(function(o){y(o.type,re(o),o.target,a(o,e.lockRef.current))},[]),v=u.useCallback(function(o){y(o.type,I(o),o.target,a(o,e.lockRef.current))},[]);u.useEffect(function(){return P.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:v}),document.addEventListener("wheel",S,T),document.addEventListener("touchmove",S,T),document.addEventListener("touchstart",p,T),function(){P=P.filter(function(o){return o!==i}),document.removeEventListener("wheel",S,T),document.removeEventListener("touchmove",S,T),document.removeEventListener("touchstart",p,T)}},[]);var h=e.removeScrollBar,w=e.inert;return u.createElement(u.Fragment,null,w?u.createElement(i,{styles:ot(c)}):null,h?u.createElement(qe,{gapMode:e.gapMode}):null)}function it(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const lt=Be(le,ut);var st=u.forwardRef(function(e,t){return u.createElement(D,C({},e,{ref:t,sideCar:lt}))});st.classNames=D.classNames;export{ye as F,st as R,gt as h,pt as u}; +`)},ct=0,P=[];function ut(e){var t=u.useRef([]),r=u.useRef([0,0]),n=u.useRef(),c=u.useState(ct++)[0],i=u.useState(se)[0],s=u.useRef(e);u.useEffect(function(){s.current=e},[e]),u.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(c));var o=Pe([e.lockRef.current],(e.shards||[]).map(ae),!0).filter(Boolean);return o.forEach(function(l){return l.classList.add("allow-interactivity-".concat(c))}),function(){document.body.classList.remove("block-interactivity-".concat(c)),o.forEach(function(l){return l.classList.remove("allow-interactivity-".concat(c))})}}},[e.inert,e.lockRef.current,e.shards]);var a=u.useCallback(function(o,l){if("touches"in o&&o.touches.length===2||o.type==="wheel"&&o.ctrlKey)return!s.current.allowPinchZoom;var d=I(o),E=r.current,m="deltaX"in o?o.deltaX:E[0]-d[0],g="deltaY"in o?o.deltaY:E[1]-d[1],b,A=o.target,N=Math.abs(m)>Math.abs(g)?"h":"v";if("touches"in o&&N==="h"&&A.type==="range")return!1;var F=re(N,A);if(!F)return!0;if(F?b=N:(b=N==="v"?"h":"v",F=re(N,A)),!F)return!1;if(!n.current&&"changedTouches"in o&&(m||g)&&(n.current=b),!b)return!0;var z=n.current||b;return nt(z,l,o,z==="h"?m:g)},[]),S=u.useCallback(function(o){var l=o;if(!(!P.length||P[P.length-1]!==i)){var d="deltaY"in l?ne(l):I(l),E=t.current.filter(function(b){return b.name===l.type&&(b.target===l.target||l.target===b.shadowParent)&&at(b.delta,d)})[0];if(E&&E.should){l.cancelable&&l.preventDefault();return}if(!E){var m=(s.current.shards||[]).map(ae).filter(Boolean).filter(function(b){return b.contains(l.target)}),g=m.length>0?a(l,m[0]):!s.current.noIsolation;g&&l.cancelable&&l.preventDefault()}}},[]),y=u.useCallback(function(o,l,d,E){var m={name:o,delta:l,target:d,should:E,shadowParent:it(d)};t.current.push(m),setTimeout(function(){t.current=t.current.filter(function(g){return g!==m})},1)},[]),p=u.useCallback(function(o){r.current=I(o),n.current=void 0},[]),f=u.useCallback(function(o){y(o.type,ne(o),o.target,a(o,e.lockRef.current))},[]),v=u.useCallback(function(o){y(o.type,I(o),o.target,a(o,e.lockRef.current))},[]);u.useEffect(function(){return P.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:v}),document.addEventListener("wheel",S,T),document.addEventListener("touchmove",S,T),document.addEventListener("touchstart",p,T),function(){P=P.filter(function(o){return o!==i}),document.removeEventListener("wheel",S,T),document.removeEventListener("touchmove",S,T),document.removeEventListener("touchstart",p,T)}},[]);var h=e.removeScrollBar,w=e.inert;return u.createElement(u.Fragment,null,w?u.createElement(i,{styles:ot(c)}):null,h?u.createElement(qe,{gapMode:e.gapMode}):null)}function it(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const lt=Be(le,ut);var st=u.forwardRef(function(e,t){return u.createElement(D,C({},e,{ref:t,sideCar:lt}))});st.classNames=D.classNames;export{ye as F,st as R,gt as h,pt as u}; diff --git a/assets/ControlledTextInput-DjDjk1YM.js b/assets/ControlledTextInput-Rh4_ZXKu.js similarity index 99% rename from assets/ControlledTextInput-DjDjk1YM.js rename to assets/ControlledTextInput-Rh4_ZXKu.js index 82eb379e3..78087992a 100644 --- a/assets/ControlledTextInput-DjDjk1YM.js +++ b/assets/ControlledTextInput-Rh4_ZXKu.js @@ -1 +1 @@ -import{j as Ke}from"./jsx-runtime-z8MfsBtr.js";import{e as A}from"./index-D1TSixAU.js";import{T as pt}from"./TextInput-yPmOWNKY.js";var ye=e=>e.type==="checkbox",re=e=>e instanceof Date,M=e=>e==null;const st=e=>typeof e=="object";var D=e=>!M(e)&&!Array.isArray(e)&&st(e)&&!re(e),it=e=>D(e)&&e.target?ye(e.target)?e.target.checked:e.target.value:e,wt=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,nt=(e,s)=>e.has(wt(s)),Dt=e=>{const s=e.constructor&&e.constructor.prototype;return D(s)&&s.hasOwnProperty("isPrototypeOf")},Ce=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function N(e){let s;const t=Array.isArray(e),n=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)s=new Date(e);else if(e instanceof Set)s=new Set(e);else if(!(Ce&&(e instanceof Blob||n))&&(t||D(e)))if(s=t?[]:{},!t&&!Dt(e))s=e;else for(const a in e)e.hasOwnProperty(a)&&(s[a]=N(e[a]));else return e;return s}var Fe=e=>Array.isArray(e)?e.filter(Boolean):[],w=e=>e===void 0,f=(e,s,t)=>{if(!s||!D(e))return t;const n=Fe(s.split(/[,[\].]+?/)).reduce((a,u)=>M(a)?a:a[u],e);return w(n)||n===e?w(e[s])?t:e[s]:n},W=e=>typeof e=="boolean",Te=e=>/^\w*$/.test(e),at=e=>Fe(e.replace(/["|']|\]/g,"").split(/\.|\[/)),p=(e,s,t)=>{let n=-1;const a=Te(s)?[s]:at(s),u=a.length,c=u-1;for(;++nA.useContext(St);var lt=(e,s,t,n=!0)=>{const a={defaultValues:s._defaultValues};for(const u in e)Object.defineProperty(a,u,{get:()=>{const c=u;return s._proxyFormState[c]!==$.all&&(s._proxyFormState[c]=!n||$.all),t&&(t[c]=!0),e[c]}});return a},B=e=>D(e)&&!Object.keys(e).length,ut=(e,s,t,n)=>{t(e);const{name:a,...u}=e;return B(u)||Object.keys(u).length>=Object.keys(s).length||Object.keys(u).find(c=>s[c]===(!n||$.all))},fe=e=>Array.isArray(e)?e:[e],ot=(e,s,t)=>!e||!s||e===s||fe(e).some(n=>n&&(t?n===s:n.startsWith(s)||s.startsWith(n)));function Oe(e){const s=A.useRef(e);s.current=e,A.useEffect(()=>{const t=!e.disabled&&s.current.subject&&s.current.subject.subscribe({next:s.current.next});return()=>{t&&t.unsubscribe()}},[e.disabled])}function Et(e){const s=Le(),{control:t=s.control,disabled:n,name:a,exact:u}=e||{},[c,g]=A.useState(t._formState),m=A.useRef(!0),S=A.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),V=A.useRef(a);return V.current=a,Oe({disabled:n,next:v=>m.current&&ot(V.current,v.name,u)&&ut(v,S.current,t._updateFormState)&&g({...t._formState,...v}),subject:t._subjects.state}),A.useEffect(()=>(m.current=!0,S.current.isValid&&t._updateValid(!0),()=>{m.current=!1}),[t]),A.useMemo(()=>lt(c,t,S.current,!1),[c,t])}var G=e=>typeof e=="string",dt=(e,s,t,n,a)=>G(e)?(n&&s.watch.add(e),f(t,e,a)):Array.isArray(e)?e.map(u=>(n&&s.watch.add(u),f(t,u))):(n&&(s.watchAll=!0),t);function kt(e){const s=Le(),{control:t=s.control,name:n,defaultValue:a,disabled:u,exact:c}=e||{},g=A.useRef(n);g.current=n,Oe({disabled:u,subject:t._subjects.values,next:V=>{ot(g.current,V.name,c)&&S(N(dt(g.current,t._names,V.values||t._formValues,!1,a)))}});const[m,S]=A.useState(t._getWatch(n,a));return A.useEffect(()=>t._removeUnmounted()),m}function Ct(e){const s=Le(),{name:t,disabled:n,control:a=s.control,shouldUnregister:u}=e,c=nt(a._names.array,t),g=kt({control:a,name:t,defaultValue:f(a._formValues,t,f(a._defaultValues,t,e.defaultValue)),exact:!0}),m=Et({control:a,name:t,exact:!0}),S=A.useRef(a.register(t,{...e.rules,value:g,...W(e.disabled)?{disabled:e.disabled}:{}})),V=A.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!f(m.errors,t)},isDirty:{enumerable:!0,get:()=>!!f(m.dirtyFields,t)},isTouched:{enumerable:!0,get:()=>!!f(m.touchedFields,t)},isValidating:{enumerable:!0,get:()=>!!f(m.validatingFields,t)},error:{enumerable:!0,get:()=>f(m.errors,t)}}),[m,t]),v=A.useMemo(()=>({name:t,value:g,...W(n)||m.disabled?{disabled:m.disabled||n}:{},onChange:O=>S.current.onChange({target:{value:it(O),name:t},type:_e.CHANGE}),onBlur:()=>S.current.onBlur({target:{value:f(a._formValues,t),name:t},type:_e.BLUR}),ref:O=>{const K=f(a._fields,t);K&&O&&(K._f.ref={focus:()=>O.focus(),select:()=>O.select(),setCustomValidity:R=>O.setCustomValidity(R),reportValidity:()=>O.reportValidity()})}}),[t,a._formValues,n,m.disabled,g,a._fields]);return A.useEffect(()=>{const O=a._options.shouldUnregister||u,K=(R,I)=>{const P=f(a._fields,R);P&&P._f&&(P._f.mount=I)};if(K(t,!0),O){const R=N(f(a._options.defaultValues,t));p(a._defaultValues,t,R),w(f(a._formValues,t))&&p(a._formValues,t,R)}return!c&&a.register(t),()=>{(c?O&&!a._state.action:O)?a.unregister(t):K(t,!1)}},[t,a,c,u]),A.useEffect(()=>{a._updateDisabledField({disabled:n,fields:a._fields,name:t})},[n,t,a]),A.useMemo(()=>({field:v,formState:m,fieldState:V}),[v,m,V])}const Tt=e=>e.render(Ct(e));var Lt=(e,s,t,n,a)=>s?{...t[e],types:{...t[e]&&t[e].types?t[e].types:{},[n]:a||!0}}:{},ze=e=>({isOnSubmit:!e||e===$.onSubmit,isOnBlur:e===$.onBlur,isOnChange:e===$.onChange,isOnAll:e===$.all,isOnTouch:e===$.onTouched}),Ge=(e,s,t)=>!t&&(s.watchAll||s.watch.has(e)||[...s.watch].some(n=>e.startsWith(n)&&/^\.\w+/.test(e.slice(n.length))));const ce=(e,s,t,n)=>{for(const a of t||Object.keys(e)){const u=f(e,a);if(u){const{_f:c,...g}=u;if(c){if(c.refs&&c.refs[0]&&s(c.refs[0],a)&&!n)return!0;if(c.ref&&s(c.ref,c.name)&&!n)return!0;if(ce(g,s))break}else if(D(g)&&ce(g,s))break}}};var Ot=(e,s,t)=>{const n=fe(f(e,t));return p(n,"root",s[t]),p(e,t,n),e},Re=e=>e.type==="file",z=e=>typeof e=="function",be=e=>{if(!Ce)return!1;const s=e?e.ownerDocument:0;return e instanceof(s&&s.defaultView?s.defaultView.HTMLElement:HTMLElement)},ve=e=>G(e),Ue=e=>e.type==="radio",me=e=>e instanceof RegExp;const Ye={value:!1,isValid:!1},Je={value:!0,isValid:!0};var ft=e=>{if(Array.isArray(e)){if(e.length>1){const s=e.filter(t=>t&&t.checked&&!t.disabled).map(t=>t.value);return{value:s,isValid:!!s.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!w(e[0].attributes.value)?w(e[0].value)||e[0].value===""?Je:{value:e[0].value,isValid:!0}:Je:Ye}return Ye};const Qe={isValid:!1,value:null};var ct=e=>Array.isArray(e)?e.reduce((s,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:s,Qe):Qe;function Xe(e,s,t="validate"){if(ve(e)||Array.isArray(e)&&e.every(ve)||W(e)&&!e)return{type:t,message:ve(e)?e:"",ref:s}}var ne=e=>D(e)&&!me(e)?e:{value:e,message:""},Ze=async(e,s,t,n,a,u)=>{const{ref:c,refs:g,required:m,maxLength:S,minLength:V,min:v,max:O,pattern:K,validate:R,name:I,valueAsNumber:P,mount:X}=e._f,F=f(t,I);if(!X||s.has(I))return{};const Y=g?g[0]:c,J=b=>{a&&Y.reportValidity&&(Y.setCustomValidity(W(b)?"":b||""),Y.reportValidity())},E={},se=Ue(c),ge=ye(c),te=se||ge,ie=(P||Re(c))&&w(c.value)&&w(F)||be(c)&&c.value===""||F===""||Array.isArray(F)&&!F.length,q=Lt.bind(null,I,n,E),he=(b,x,k,U=Q.maxLength,H=Q.minLength)=>{const j=b?x:k;E[I]={type:b?U:H,message:j,ref:c,...q(b?U:H,j)}};if(u?!Array.isArray(F)||!F.length:m&&(!te&&(ie||M(F))||W(F)&&!F||ge&&!ft(g).isValid||se&&!ct(g).isValid)){const{value:b,message:x}=ve(m)?{value:!!m,message:m}:ne(m);if(b&&(E[I]={type:Q.required,message:x,ref:Y,...q(Q.required,x)},!n))return J(x),E}if(!ie&&(!M(v)||!M(O))){let b,x;const k=ne(O),U=ne(v);if(!M(F)&&!isNaN(F)){const H=c.valueAsNumber||F&&+F;M(k.value)||(b=H>k.value),M(U.value)||(x=Hnew Date(new Date().toDateString()+" "+ue),ae=c.type=="time",le=c.type=="week";G(k.value)&&F&&(b=ae?j(F)>j(k.value):le?F>k.value:H>new Date(k.value)),G(U.value)&&F&&(x=ae?j(F)+b.value,U=!M(x.value)&&F.length<+x.value;if((k||U)&&(he(k,b.message,x.message),!n))return J(E[I].message),E}if(K&&!ie&&G(F)){const{value:b,message:x}=ne(K);if(me(b)&&!F.match(b)&&(E[I]={type:Q.pattern,message:x,ref:c,...q(Q.pattern,x)},!n))return J(x),E}if(R){if(z(R)){const b=await R(F,t),x=Xe(b,Y);if(x&&(E[I]={...x,...q(Q.validate,x.message)},!n))return J(x.message),E}else if(D(R)){let b={};for(const x in R){if(!B(b)&&!n)break;const k=Xe(await R[x](F,t),Y,x);k&&(b={...k,...q(x,k.message)},J(k.message),n&&(E[I]=b))}if(!B(b)&&(E[I]={ref:Y,...b},!n))return E}}return J(!0),E};function Rt(e,s){const t=s.slice(0,-1).length;let n=0;for(;n{let e=[];return{get observers(){return e},next:a=>{for(const u of e)u.next&&u.next(a)},subscribe:a=>(e.push(a),{unsubscribe:()=>{e=e.filter(u=>u!==a)}}),unsubscribe:()=>{e=[]}}},ke=e=>M(e)||!st(e);function ee(e,s){if(ke(e)||ke(s))return e===s;if(re(e)&&re(s))return e.getTime()===s.getTime();const t=Object.keys(e),n=Object.keys(s);if(t.length!==n.length)return!1;for(const a of t){const u=e[a];if(!n.includes(a))return!1;if(a!=="ref"){const c=s[a];if(re(u)&&re(c)||D(u)&&D(c)||Array.isArray(u)&&Array.isArray(c)?!ee(u,c):u!==c)return!1}}return!0}var yt=e=>e.type==="select-multiple",It=e=>Ue(e)||ye(e),Se=e=>be(e)&&e.isConnected,gt=e=>{for(const s in e)if(z(e[s]))return!0;return!1};function Ve(e,s={}){const t=Array.isArray(e);if(D(e)||t)for(const n in e)Array.isArray(e[n])||D(e[n])&&!gt(e[n])?(s[n]=Array.isArray(e[n])?[]:{},Ve(e[n],s[n])):M(e[n])||(s[n]=!0);return s}function ht(e,s,t){const n=Array.isArray(e);if(D(e)||n)for(const a in e)Array.isArray(e[a])||D(e[a])&&!gt(e[a])?w(s)||ke(t[a])?t[a]=Array.isArray(e[a])?Ve(e[a],[]):{...Ve(e[a])}:ht(e[a],M(s)?{}:s[a],t[a]):t[a]=!ee(e[a],s[a]);return t}var oe=(e,s)=>ht(e,s,Ve(s)),vt=(e,{valueAsNumber:s,valueAsDate:t,setValueAs:n})=>w(e)?e:s?e===""?NaN:e&&+e:t&&G(e)?new Date(e):n?n(e):e;function Ee(e){const s=e.ref;return Re(s)?s.files:Ue(s)?ct(e.refs).value:yt(s)?[...s.selectedOptions].map(({value:t})=>t):ye(s)?ft(e.refs).value:vt(w(s.value)?e.ref.value:s.value,e)}var Mt=(e,s,t,n)=>{const a={};for(const u of e){const c=f(s,u);c&&p(a,u,c._f)}return{criteriaMode:t,names:[...e],fields:a,shouldUseNativeValidation:n}},de=e=>w(e)?e:me(e)?e.source:D(e)?me(e.value)?e.value.source:e.value:e;const et="AsyncFunction";var Nt=e=>!!e&&!!e.validate&&!!(z(e.validate)&&e.validate.constructor.name===et||D(e.validate)&&Object.values(e.validate).find(s=>s.constructor.name===et)),Bt=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function tt(e,s,t){const n=f(e,t);if(n||Te(t))return{error:n,name:t};const a=t.split(".");for(;a.length;){const u=a.join("."),c=f(s,u),g=f(e,u);if(c&&!Array.isArray(c)&&t!==u)return{name:t};if(g&&g.type)return{name:u,error:g};a.pop()}return{name:t}}var Pt=(e,s,t,n,a)=>a.isOnAll?!1:!t&&a.isOnTouch?!(s||e):(t?n.isOnBlur:a.isOnBlur)?!e:(t?n.isOnChange:a.isOnChange)?e:!0,qt=(e,s)=>!Fe(f(e,s)).length&&C(e,s);const jt={mode:$.onSubmit,reValidateMode:$.onChange,shouldFocusError:!0};function Wt(e={}){let s={...jt,...e},t={submitCount:0,isDirty:!1,isLoading:z(s.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:s.errors||{},disabled:s.disabled||!1},n={},a=D(s.defaultValues)||D(s.values)?N(s.defaultValues||s.values)||{}:{},u=s.shouldUnregister?{}:N(a),c={action:!1,mount:!1,watch:!1},g={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},m,S=0;const V={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},v={values:De(),array:De(),state:De()},O=ze(s.mode),K=ze(s.reValidateMode),R=s.criteriaMode===$.all,I=r=>i=>{clearTimeout(S),S=setTimeout(r,i)},P=async r=>{if(!s.disabled&&(V.isValid||r)){const i=s.resolver?B((await te()).errors):await q(n,!0);i!==t.isValid&&v.state.next({isValid:i})}},X=(r,i)=>{!s.disabled&&(V.isValidating||V.validatingFields)&&((r||Array.from(g.mount)).forEach(l=>{l&&(i?p(t.validatingFields,l,i):C(t.validatingFields,l))}),v.state.next({validatingFields:t.validatingFields,isValidating:!B(t.validatingFields)}))},F=(r,i=[],l,y,d=!0,o=!0)=>{if(y&&l&&!s.disabled){if(c.action=!0,o&&Array.isArray(f(n,r))){const h=l(f(n,r),y.argA,y.argB);d&&p(n,r,h)}if(o&&Array.isArray(f(t.errors,r))){const h=l(f(t.errors,r),y.argA,y.argB);d&&p(t.errors,r,h),qt(t.errors,r)}if(V.touchedFields&&o&&Array.isArray(f(t.touchedFields,r))){const h=l(f(t.touchedFields,r),y.argA,y.argB);d&&p(t.touchedFields,r,h)}V.dirtyFields&&(t.dirtyFields=oe(a,u)),v.state.next({name:r,isDirty:b(r,i),dirtyFields:t.dirtyFields,errors:t.errors,isValid:t.isValid})}else p(u,r,i)},Y=(r,i)=>{p(t.errors,r,i),v.state.next({errors:t.errors})},J=r=>{t.errors=r,v.state.next({errors:t.errors,isValid:!1})},E=(r,i,l,y)=>{const d=f(n,r);if(d){const o=f(u,r,w(l)?f(a,r):l);w(o)||y&&y.defaultChecked||i?p(u,r,i?o:Ee(d._f)):U(r,o),c.mount&&P()}},se=(r,i,l,y,d)=>{let o=!1,h=!1;const _={name:r};if(!s.disabled){const T=!!(f(n,r)&&f(n,r)._f&&f(n,r)._f.disabled);if(!l||y){V.isDirty&&(h=t.isDirty,t.isDirty=_.isDirty=b(),o=h!==_.isDirty);const L=T||ee(f(a,r),i);h=!!(!T&&f(t.dirtyFields,r)),L||T?C(t.dirtyFields,r):p(t.dirtyFields,r,!0),_.dirtyFields=t.dirtyFields,o=o||V.dirtyFields&&h!==!L}if(l){const L=f(t.touchedFields,r);L||(p(t.touchedFields,r,l),_.touchedFields=t.touchedFields,o=o||V.touchedFields&&L!==l)}o&&d&&v.state.next(_)}return o?_:{}},ge=(r,i,l,y)=>{const d=f(t.errors,r),o=V.isValid&&W(i)&&t.isValid!==i;if(s.delayError&&l?(m=I(()=>Y(r,l)),m(s.delayError)):(clearTimeout(S),m=null,l?p(t.errors,r,l):C(t.errors,r)),(l?!ee(d,l):d)||!B(y)||o){const h={...y,...o&&W(i)?{isValid:i}:{},errors:t.errors,name:r};t={...t,...h},v.state.next(h)}},te=async r=>{X(r,!0);const i=await s.resolver(u,s.context,Mt(r||g.mount,n,s.criteriaMode,s.shouldUseNativeValidation));return X(r),i},ie=async r=>{const{errors:i}=await te(r);if(r)for(const l of r){const y=f(i,l);y?p(t.errors,l,y):C(t.errors,l)}else t.errors=i;return i},q=async(r,i,l={valid:!0})=>{for(const y in r){const d=r[y];if(d){const{_f:o,...h}=d;if(o){const _=g.array.has(o.name),T=d._f&&Nt(d._f);T&&V.validatingFields&&X([y],!0);const L=await Ze(d,g.disabled,u,R,s.shouldUseNativeValidation&&!i,_);if(T&&V.validatingFields&&X([y]),L[o.name]&&(l.valid=!1,i))break;!i&&(f(L,o.name)?_?Ot(t.errors,L,o.name):p(t.errors,o.name,L[o.name]):C(t.errors,o.name))}!B(h)&&await q(h,i,l)}}return l.valid},he=()=>{for(const r of g.unMount){const i=f(n,r);i&&(i._f.refs?i._f.refs.every(l=>!Se(l)):!Se(i._f.ref))&&xe(r)}g.unMount=new Set},b=(r,i)=>!s.disabled&&(r&&i&&p(u,r,i),!ee(Ie(),a)),x=(r,i,l)=>dt(r,g,{...c.mount?u:w(i)?a:G(r)?{[r]:i}:i},l,i),k=r=>Fe(f(c.mount?u:a,r,s.shouldUnregister?f(a,r,[]):[])),U=(r,i,l={})=>{const y=f(n,r);let d=i;if(y){const o=y._f;o&&(!o.disabled&&p(u,r,vt(i,o)),d=be(o.ref)&&M(i)?"":i,yt(o.ref)?[...o.ref.options].forEach(h=>h.selected=d.includes(h.value)):o.refs?ye(o.ref)?o.refs.length>1?o.refs.forEach(h=>(!h.defaultChecked||!h.disabled)&&(h.checked=Array.isArray(d)?!!d.find(_=>_===h.value):d===h.value)):o.refs[0]&&(o.refs[0].checked=!!d):o.refs.forEach(h=>h.checked=h.value===d):Re(o.ref)?o.ref.value="":(o.ref.value=d,o.ref.type||v.values.next({name:r,values:{...u}})))}(l.shouldDirty||l.shouldTouch)&&se(r,d,l.shouldTouch,l.shouldDirty,!0),l.shouldValidate&&ue(r)},H=(r,i,l)=>{for(const y in i){const d=i[y],o=`${r}.${y}`,h=f(n,o);(g.array.has(r)||D(d)||h&&!h._f)&&!re(d)?H(o,d,l):U(o,d,l)}},j=(r,i,l={})=>{const y=f(n,r),d=g.array.has(r),o=N(i);p(u,r,o),d?(v.array.next({name:r,values:{...u}}),(V.isDirty||V.dirtyFields)&&l.shouldDirty&&v.state.next({name:r,dirtyFields:oe(a,u),isDirty:b(r,o)})):y&&!y._f&&!M(o)?H(r,o,l):U(r,o,l),Ge(r,g)&&v.state.next({...t}),v.values.next({name:c.mount?r:void 0,values:{...u}})},ae=async r=>{c.mount=!0;const i=r.target;let l=i.name,y=!0;const d=f(n,l),o=()=>i.type?Ee(d._f):it(r),h=_=>{y=Number.isNaN(_)||re(_)&&isNaN(_.getTime())||ee(_,f(u,l,_))};if(d){let _,T;const L=o(),Z=r.type===_e.BLUR||r.type===_e.FOCUS_OUT,Ft=!Bt(d._f)&&!s.resolver&&!f(t.errors,l)&&!d._f.deps||Pt(Z,f(t.touchedFields,l),t.isSubmitted,K,O),pe=Ge(l,g,Z);p(u,l,L),Z?(d._f.onBlur&&d._f.onBlur(r),m&&m(0)):d._f.onChange&&d._f.onChange(r);const we=se(l,L,Z,!1),xt=!B(we)||pe;if(!Z&&v.values.next({name:l,type:r.type,values:{...u}}),Ft)return V.isValid&&(s.mode==="onBlur"&&Z?P():Z||P()),xt&&v.state.next({name:l,...pe?{}:we});if(!Z&&pe&&v.state.next({...t}),s.resolver){const{errors:He}=await te([l]);if(h(L),y){const At=tt(t.errors,n,l),$e=tt(He,n,At.name||l);_=$e.error,l=$e.name,T=B(He)}}else X([l],!0),_=(await Ze(d,g.disabled,u,R,s.shouldUseNativeValidation))[l],X([l]),h(L),y&&(_?T=!1:V.isValid&&(T=await q(n,!0)));y&&(d._f.deps&&ue(d._f.deps),ge(l,T,_,we))}},le=(r,i)=>{if(f(t.errors,i)&&r.focus)return r.focus(),1},ue=async(r,i={})=>{let l,y;const d=fe(r);if(s.resolver){const o=await ie(w(r)?r:d);l=B(o),y=r?!d.some(h=>f(o,h)):l}else r?(y=(await Promise.all(d.map(async o=>{const h=f(n,o);return await q(h&&h._f?{[o]:h}:h)}))).every(Boolean),!(!y&&!t.isValid)&&P()):y=l=await q(n);return v.state.next({...!G(r)||V.isValid&&l!==t.isValid?{}:{name:r},...s.resolver||!r?{isValid:l}:{},errors:t.errors}),i.shouldFocus&&!y&&ce(n,le,r?d:g.mount),y},Ie=r=>{const i={...c.mount?u:a};return w(r)?i:G(r)?f(i,r):r.map(l=>f(i,l))},Me=(r,i)=>({invalid:!!f((i||t).errors,r),isDirty:!!f((i||t).dirtyFields,r),error:f((i||t).errors,r),isValidating:!!f(t.validatingFields,r),isTouched:!!f((i||t).touchedFields,r)}),_t=r=>{r&&fe(r).forEach(i=>C(t.errors,i)),v.state.next({errors:r?t.errors:{}})},Ne=(r,i,l)=>{const y=(f(n,r,{_f:{}})._f||{}).ref,d=f(t.errors,r)||{},{ref:o,message:h,type:_,...T}=d;p(t.errors,r,{...T,...i,ref:y}),v.state.next({name:r,errors:t.errors,isValid:!1}),l&&l.shouldFocus&&y&&y.focus&&y.focus()},bt=(r,i)=>z(r)?v.values.subscribe({next:l=>r(x(void 0,i),l)}):x(r,i,!0),xe=(r,i={})=>{for(const l of r?fe(r):g.mount)g.mount.delete(l),g.array.delete(l),i.keepValue||(C(n,l),C(u,l)),!i.keepError&&C(t.errors,l),!i.keepDirty&&C(t.dirtyFields,l),!i.keepTouched&&C(t.touchedFields,l),!i.keepIsValidating&&C(t.validatingFields,l),!s.shouldUnregister&&!i.keepDefaultValue&&C(a,l);v.values.next({values:{...u}}),v.state.next({...t,...i.keepDirty?{isDirty:b()}:{}}),!i.keepIsValid&&P()},Be=({disabled:r,name:i,field:l,fields:y})=>{(W(r)&&c.mount||r||g.disabled.has(i))&&(r?g.disabled.add(i):g.disabled.delete(i),se(i,Ee(l?l._f:f(y,i)._f),!1,!1,!0))},Ae=(r,i={})=>{let l=f(n,r);const y=W(i.disabled)||W(s.disabled);return p(n,r,{...l||{},_f:{...l&&l._f?l._f:{ref:{name:r}},name:r,mount:!0,...i}}),g.mount.add(r),l?Be({field:l,disabled:W(i.disabled)?i.disabled:s.disabled,name:r}):E(r,!0,i.value),{...y?{disabled:i.disabled||s.disabled}:{},...s.progressive?{required:!!i.required,min:de(i.min),max:de(i.max),minLength:de(i.minLength),maxLength:de(i.maxLength),pattern:de(i.pattern)}:{},name:r,onChange:ae,onBlur:ae,ref:d=>{if(d){Ae(r,i),l=f(n,r);const o=w(d.value)&&d.querySelectorAll&&d.querySelectorAll("input,select,textarea")[0]||d,h=It(o),_=l._f.refs||[];if(h?_.find(T=>T===o):o===l._f.ref)return;p(n,r,{_f:{...l._f,...h?{refs:[..._.filter(Se),o,...Array.isArray(f(a,r))?[{}]:[]],ref:{type:o.type,name:r}}:{ref:o}}}),E(r,!1,void 0,o)}else l=f(n,r,{}),l._f&&(l._f.mount=!1),(s.shouldUnregister||i.shouldUnregister)&&!(nt(g.array,r)&&c.action)&&g.unMount.add(r)}}},Pe=()=>s.shouldFocusError&&ce(n,le,g.mount),mt=r=>{W(r)&&(v.state.next({disabled:r}),ce(n,(i,l)=>{const y=f(n,l);y&&(i.disabled=y._f.disabled||r,Array.isArray(y._f.refs)&&y._f.refs.forEach(d=>{d.disabled=y._f.disabled||r}))},0,!1))},qe=(r,i)=>async l=>{let y;l&&(l.preventDefault&&l.preventDefault(),l.persist&&l.persist());let d=N(u);if(g.disabled.size)for(const o of g.disabled)p(d,o,void 0);if(v.state.next({isSubmitting:!0}),s.resolver){const{errors:o,values:h}=await te();t.errors=o,d=h}else await q(n);if(C(t.errors,"root"),B(t.errors)){v.state.next({errors:{}});try{await r(d,l)}catch(o){y=o}}else i&&await i({...t.errors},l),Pe(),setTimeout(Pe);if(v.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:B(t.errors)&&!y,submitCount:t.submitCount+1,errors:t.errors}),y)throw y},Vt=(r,i={})=>{f(n,r)&&(w(i.defaultValue)?j(r,N(f(a,r))):(j(r,i.defaultValue),p(a,r,N(i.defaultValue))),i.keepTouched||C(t.touchedFields,r),i.keepDirty||(C(t.dirtyFields,r),t.isDirty=i.defaultValue?b(r,N(f(a,r))):b()),i.keepError||(C(t.errors,r),V.isValid&&P()),v.state.next({...t}))},je=(r,i={})=>{const l=r?N(r):a,y=N(l),d=B(r),o=d?a:y;if(i.keepDefaultValues||(a=l),!i.keepValues){if(i.keepDirtyValues){const h=new Set([...g.mount,...Object.keys(oe(a,u))]);for(const _ of Array.from(h))f(t.dirtyFields,_)?p(o,_,f(u,_)):j(_,f(o,_))}else{if(Ce&&w(r))for(const h of g.mount){const _=f(n,h);if(_&&_._f){const T=Array.isArray(_._f.refs)?_._f.refs[0]:_._f.ref;if(be(T)){const L=T.closest("form");if(L){L.reset();break}}}}n={}}u=s.shouldUnregister?i.keepDefaultValues?N(a):{}:N(o),v.array.next({values:{...o}}),v.values.next({values:{...o}})}g={mount:i.keepDirtyValues?g.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},c.mount=!V.isValid||!!i.keepIsValid||!!i.keepDirtyValues,c.watch=!!s.shouldUnregister,v.state.next({submitCount:i.keepSubmitCount?t.submitCount:0,isDirty:d?!1:i.keepDirty?t.isDirty:!!(i.keepDefaultValues&&!ee(r,a)),isSubmitted:i.keepIsSubmitted?t.isSubmitted:!1,dirtyFields:d?{}:i.keepDirtyValues?i.keepDefaultValues&&u?oe(a,u):t.dirtyFields:i.keepDefaultValues&&r?oe(a,r):i.keepDirty?t.dirtyFields:{},touchedFields:i.keepTouched?t.touchedFields:{},errors:i.keepErrors?t.errors:{},isSubmitSuccessful:i.keepIsSubmitSuccessful?t.isSubmitSuccessful:!1,isSubmitting:!1})},We=(r,i)=>je(z(r)?r(u):r,i);return{control:{register:Ae,unregister:xe,getFieldState:Me,handleSubmit:qe,setError:Ne,_executeSchema:te,_getWatch:x,_getDirty:b,_updateValid:P,_removeUnmounted:he,_updateFieldArray:F,_updateDisabledField:Be,_getFieldArray:k,_reset:je,_resetDefaultValues:()=>z(s.defaultValues)&&s.defaultValues().then(r=>{We(r,s.resetOptions),v.state.next({isLoading:!1})}),_updateFormState:r=>{t={...t,...r}},_disableForm:mt,_subjects:v,_proxyFormState:V,_setErrors:J,get _fields(){return n},get _formValues(){return u},get _state(){return c},set _state(r){c=r},get _defaultValues(){return a},get _names(){return g},set _names(r){g=r},get _formState(){return t},set _formState(r){t=r},get _options(){return s},set _options(r){s={...s,...r}}},trigger:ue,register:Ae,handleSubmit:qe,watch:bt,setValue:j,getValues:Ie,reset:We,resetField:Vt,clearErrors:_t,unregister:xe,setError:Ne,setFocus:(r,i={})=>{const l=f(n,r),y=l&&l._f;if(y){const d=y.refs?y.refs[0]:y.ref;d.focus&&(d.focus(),i.shouldSelect&&z(d.select)&&d.select())}},getFieldState:Me}}function Jt(e={}){const s=A.useRef(void 0),t=A.useRef(void 0),[n,a]=A.useState({isDirty:!1,isValidating:!1,isLoading:z(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:z(e.defaultValues)?void 0:e.defaultValues});s.current||(s.current={...Wt(e),formState:n});const u=s.current.control;return u._options=e,Oe({subject:u._subjects.state,next:c=>{ut(c,u._proxyFormState,u._updateFormState,!0)&&a({...u._formState})}}),A.useEffect(()=>u._disableForm(e.disabled),[u,e.disabled]),A.useEffect(()=>{if(u._proxyFormState.isDirty){const c=u._getDirty();c!==n.isDirty&&u._subjects.state.next({isDirty:c})}},[u,n.isDirty]),A.useEffect(()=>{e.values&&!ee(e.values,t.current)?(u._reset(e.values,u._options.resetOptions),t.current=e.values,a(c=>({...c}))):u._resetDefaultValues()},[e.values,u]),A.useEffect(()=>{e.errors&&u._setErrors(e.errors)},[e.errors,u]),A.useEffect(()=>{u._state.mount||(u._updateValid(),u._state.mount=!0),u._state.watch&&(u._state.watch=!1,u._subjects.state.next({...u._formState})),u._removeUnmounted()}),A.useEffect(()=>{e.shouldUnregister&&u._subjects.values.next({values:u._getWatch()})},[e.shouldUnregister,u]),s.current.formState=lt(n,u),s.current}const rt=({defaultValue:e,name:s,control:t,rules:n,...a})=>Ke.jsx(Tt,{defaultValue:e,name:s,control:t,rules:n,render:({field:u})=>Ke.jsx(pt,{...u,...a})});try{rt.displayName="ControlledTextInput",rt.__docgenInfo={description:"",displayName:"ControlledTextInput",props:{leftIcon:{defaultValue:null,description:"",name:"leftIcon",required:!1,type:{name:"ComponentType"}},rightIcon:{defaultValue:null,description:"",name:"rightIcon",required:!1,type:{name:"ComponentType"}},name:{defaultValue:null,description:"",name:"name",required:!0,type:{name:"string"}},numeric:{defaultValue:null,description:"",name:"numeric",required:!1,type:{name:"boolean"}},controls:{defaultValue:null,description:"",name:"controls",required:!1,type:{name:"ReactNode"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:'"hidden" | "top" | "left" | "right" | null'}},control:{defaultValue:null,description:"",name:"control",required:!0,type:{name:"Control"}},rules:{defaultValue:null,description:"",name:"rules",required:!1,type:{name:"{}"}}}}}catch{}export{Tt as C,rt as a,Jt as u}; +import{j as Ke}from"./jsx-runtime-Cf8x2fCZ.js";import{e as A}from"./index-DubqEmGm.js";import{T as pt}from"./TextInput-DuktM35c.js";var ye=e=>e.type==="checkbox",re=e=>e instanceof Date,M=e=>e==null;const st=e=>typeof e=="object";var D=e=>!M(e)&&!Array.isArray(e)&&st(e)&&!re(e),it=e=>D(e)&&e.target?ye(e.target)?e.target.checked:e.target.value:e,wt=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,nt=(e,s)=>e.has(wt(s)),Dt=e=>{const s=e.constructor&&e.constructor.prototype;return D(s)&&s.hasOwnProperty("isPrototypeOf")},Ce=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function N(e){let s;const t=Array.isArray(e),n=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)s=new Date(e);else if(e instanceof Set)s=new Set(e);else if(!(Ce&&(e instanceof Blob||n))&&(t||D(e)))if(s=t?[]:{},!t&&!Dt(e))s=e;else for(const a in e)e.hasOwnProperty(a)&&(s[a]=N(e[a]));else return e;return s}var Fe=e=>Array.isArray(e)?e.filter(Boolean):[],w=e=>e===void 0,f=(e,s,t)=>{if(!s||!D(e))return t;const n=Fe(s.split(/[,[\].]+?/)).reduce((a,u)=>M(a)?a:a[u],e);return w(n)||n===e?w(e[s])?t:e[s]:n},W=e=>typeof e=="boolean",Te=e=>/^\w*$/.test(e),at=e=>Fe(e.replace(/["|']|\]/g,"").split(/\.|\[/)),p=(e,s,t)=>{let n=-1;const a=Te(s)?[s]:at(s),u=a.length,c=u-1;for(;++nA.useContext(St);var lt=(e,s,t,n=!0)=>{const a={defaultValues:s._defaultValues};for(const u in e)Object.defineProperty(a,u,{get:()=>{const c=u;return s._proxyFormState[c]!==$.all&&(s._proxyFormState[c]=!n||$.all),t&&(t[c]=!0),e[c]}});return a},B=e=>D(e)&&!Object.keys(e).length,ut=(e,s,t,n)=>{t(e);const{name:a,...u}=e;return B(u)||Object.keys(u).length>=Object.keys(s).length||Object.keys(u).find(c=>s[c]===(!n||$.all))},fe=e=>Array.isArray(e)?e:[e],ot=(e,s,t)=>!e||!s||e===s||fe(e).some(n=>n&&(t?n===s:n.startsWith(s)||s.startsWith(n)));function Oe(e){const s=A.useRef(e);s.current=e,A.useEffect(()=>{const t=!e.disabled&&s.current.subject&&s.current.subject.subscribe({next:s.current.next});return()=>{t&&t.unsubscribe()}},[e.disabled])}function Et(e){const s=Le(),{control:t=s.control,disabled:n,name:a,exact:u}=e||{},[c,g]=A.useState(t._formState),m=A.useRef(!0),S=A.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),V=A.useRef(a);return V.current=a,Oe({disabled:n,next:v=>m.current&&ot(V.current,v.name,u)&&ut(v,S.current,t._updateFormState)&&g({...t._formState,...v}),subject:t._subjects.state}),A.useEffect(()=>(m.current=!0,S.current.isValid&&t._updateValid(!0),()=>{m.current=!1}),[t]),A.useMemo(()=>lt(c,t,S.current,!1),[c,t])}var G=e=>typeof e=="string",dt=(e,s,t,n,a)=>G(e)?(n&&s.watch.add(e),f(t,e,a)):Array.isArray(e)?e.map(u=>(n&&s.watch.add(u),f(t,u))):(n&&(s.watchAll=!0),t);function kt(e){const s=Le(),{control:t=s.control,name:n,defaultValue:a,disabled:u,exact:c}=e||{},g=A.useRef(n);g.current=n,Oe({disabled:u,subject:t._subjects.values,next:V=>{ot(g.current,V.name,c)&&S(N(dt(g.current,t._names,V.values||t._formValues,!1,a)))}});const[m,S]=A.useState(t._getWatch(n,a));return A.useEffect(()=>t._removeUnmounted()),m}function Ct(e){const s=Le(),{name:t,disabled:n,control:a=s.control,shouldUnregister:u}=e,c=nt(a._names.array,t),g=kt({control:a,name:t,defaultValue:f(a._formValues,t,f(a._defaultValues,t,e.defaultValue)),exact:!0}),m=Et({control:a,name:t,exact:!0}),S=A.useRef(a.register(t,{...e.rules,value:g,...W(e.disabled)?{disabled:e.disabled}:{}})),V=A.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!f(m.errors,t)},isDirty:{enumerable:!0,get:()=>!!f(m.dirtyFields,t)},isTouched:{enumerable:!0,get:()=>!!f(m.touchedFields,t)},isValidating:{enumerable:!0,get:()=>!!f(m.validatingFields,t)},error:{enumerable:!0,get:()=>f(m.errors,t)}}),[m,t]),v=A.useMemo(()=>({name:t,value:g,...W(n)||m.disabled?{disabled:m.disabled||n}:{},onChange:O=>S.current.onChange({target:{value:it(O),name:t},type:_e.CHANGE}),onBlur:()=>S.current.onBlur({target:{value:f(a._formValues,t),name:t},type:_e.BLUR}),ref:O=>{const K=f(a._fields,t);K&&O&&(K._f.ref={focus:()=>O.focus(),select:()=>O.select(),setCustomValidity:R=>O.setCustomValidity(R),reportValidity:()=>O.reportValidity()})}}),[t,a._formValues,n,m.disabled,g,a._fields]);return A.useEffect(()=>{const O=a._options.shouldUnregister||u,K=(R,I)=>{const P=f(a._fields,R);P&&P._f&&(P._f.mount=I)};if(K(t,!0),O){const R=N(f(a._options.defaultValues,t));p(a._defaultValues,t,R),w(f(a._formValues,t))&&p(a._formValues,t,R)}return!c&&a.register(t),()=>{(c?O&&!a._state.action:O)?a.unregister(t):K(t,!1)}},[t,a,c,u]),A.useEffect(()=>{a._updateDisabledField({disabled:n,fields:a._fields,name:t})},[n,t,a]),A.useMemo(()=>({field:v,formState:m,fieldState:V}),[v,m,V])}const Tt=e=>e.render(Ct(e));var Lt=(e,s,t,n,a)=>s?{...t[e],types:{...t[e]&&t[e].types?t[e].types:{},[n]:a||!0}}:{},ze=e=>({isOnSubmit:!e||e===$.onSubmit,isOnBlur:e===$.onBlur,isOnChange:e===$.onChange,isOnAll:e===$.all,isOnTouch:e===$.onTouched}),Ge=(e,s,t)=>!t&&(s.watchAll||s.watch.has(e)||[...s.watch].some(n=>e.startsWith(n)&&/^\.\w+/.test(e.slice(n.length))));const ce=(e,s,t,n)=>{for(const a of t||Object.keys(e)){const u=f(e,a);if(u){const{_f:c,...g}=u;if(c){if(c.refs&&c.refs[0]&&s(c.refs[0],a)&&!n)return!0;if(c.ref&&s(c.ref,c.name)&&!n)return!0;if(ce(g,s))break}else if(D(g)&&ce(g,s))break}}};var Ot=(e,s,t)=>{const n=fe(f(e,t));return p(n,"root",s[t]),p(e,t,n),e},Re=e=>e.type==="file",z=e=>typeof e=="function",be=e=>{if(!Ce)return!1;const s=e?e.ownerDocument:0;return e instanceof(s&&s.defaultView?s.defaultView.HTMLElement:HTMLElement)},ve=e=>G(e),Ue=e=>e.type==="radio",me=e=>e instanceof RegExp;const Ye={value:!1,isValid:!1},Je={value:!0,isValid:!0};var ft=e=>{if(Array.isArray(e)){if(e.length>1){const s=e.filter(t=>t&&t.checked&&!t.disabled).map(t=>t.value);return{value:s,isValid:!!s.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!w(e[0].attributes.value)?w(e[0].value)||e[0].value===""?Je:{value:e[0].value,isValid:!0}:Je:Ye}return Ye};const Qe={isValid:!1,value:null};var ct=e=>Array.isArray(e)?e.reduce((s,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:s,Qe):Qe;function Xe(e,s,t="validate"){if(ve(e)||Array.isArray(e)&&e.every(ve)||W(e)&&!e)return{type:t,message:ve(e)?e:"",ref:s}}var ne=e=>D(e)&&!me(e)?e:{value:e,message:""},Ze=async(e,s,t,n,a,u)=>{const{ref:c,refs:g,required:m,maxLength:S,minLength:V,min:v,max:O,pattern:K,validate:R,name:I,valueAsNumber:P,mount:X}=e._f,F=f(t,I);if(!X||s.has(I))return{};const Y=g?g[0]:c,J=b=>{a&&Y.reportValidity&&(Y.setCustomValidity(W(b)?"":b||""),Y.reportValidity())},E={},se=Ue(c),ge=ye(c),te=se||ge,ie=(P||Re(c))&&w(c.value)&&w(F)||be(c)&&c.value===""||F===""||Array.isArray(F)&&!F.length,q=Lt.bind(null,I,n,E),he=(b,x,k,U=Q.maxLength,H=Q.minLength)=>{const j=b?x:k;E[I]={type:b?U:H,message:j,ref:c,...q(b?U:H,j)}};if(u?!Array.isArray(F)||!F.length:m&&(!te&&(ie||M(F))||W(F)&&!F||ge&&!ft(g).isValid||se&&!ct(g).isValid)){const{value:b,message:x}=ve(m)?{value:!!m,message:m}:ne(m);if(b&&(E[I]={type:Q.required,message:x,ref:Y,...q(Q.required,x)},!n))return J(x),E}if(!ie&&(!M(v)||!M(O))){let b,x;const k=ne(O),U=ne(v);if(!M(F)&&!isNaN(F)){const H=c.valueAsNumber||F&&+F;M(k.value)||(b=H>k.value),M(U.value)||(x=Hnew Date(new Date().toDateString()+" "+ue),ae=c.type=="time",le=c.type=="week";G(k.value)&&F&&(b=ae?j(F)>j(k.value):le?F>k.value:H>new Date(k.value)),G(U.value)&&F&&(x=ae?j(F)+b.value,U=!M(x.value)&&F.length<+x.value;if((k||U)&&(he(k,b.message,x.message),!n))return J(E[I].message),E}if(K&&!ie&&G(F)){const{value:b,message:x}=ne(K);if(me(b)&&!F.match(b)&&(E[I]={type:Q.pattern,message:x,ref:c,...q(Q.pattern,x)},!n))return J(x),E}if(R){if(z(R)){const b=await R(F,t),x=Xe(b,Y);if(x&&(E[I]={...x,...q(Q.validate,x.message)},!n))return J(x.message),E}else if(D(R)){let b={};for(const x in R){if(!B(b)&&!n)break;const k=Xe(await R[x](F,t),Y,x);k&&(b={...k,...q(x,k.message)},J(k.message),n&&(E[I]=b))}if(!B(b)&&(E[I]={ref:Y,...b},!n))return E}}return J(!0),E};function Rt(e,s){const t=s.slice(0,-1).length;let n=0;for(;n{let e=[];return{get observers(){return e},next:a=>{for(const u of e)u.next&&u.next(a)},subscribe:a=>(e.push(a),{unsubscribe:()=>{e=e.filter(u=>u!==a)}}),unsubscribe:()=>{e=[]}}},ke=e=>M(e)||!st(e);function ee(e,s){if(ke(e)||ke(s))return e===s;if(re(e)&&re(s))return e.getTime()===s.getTime();const t=Object.keys(e),n=Object.keys(s);if(t.length!==n.length)return!1;for(const a of t){const u=e[a];if(!n.includes(a))return!1;if(a!=="ref"){const c=s[a];if(re(u)&&re(c)||D(u)&&D(c)||Array.isArray(u)&&Array.isArray(c)?!ee(u,c):u!==c)return!1}}return!0}var yt=e=>e.type==="select-multiple",It=e=>Ue(e)||ye(e),Se=e=>be(e)&&e.isConnected,gt=e=>{for(const s in e)if(z(e[s]))return!0;return!1};function Ve(e,s={}){const t=Array.isArray(e);if(D(e)||t)for(const n in e)Array.isArray(e[n])||D(e[n])&&!gt(e[n])?(s[n]=Array.isArray(e[n])?[]:{},Ve(e[n],s[n])):M(e[n])||(s[n]=!0);return s}function ht(e,s,t){const n=Array.isArray(e);if(D(e)||n)for(const a in e)Array.isArray(e[a])||D(e[a])&&!gt(e[a])?w(s)||ke(t[a])?t[a]=Array.isArray(e[a])?Ve(e[a],[]):{...Ve(e[a])}:ht(e[a],M(s)?{}:s[a],t[a]):t[a]=!ee(e[a],s[a]);return t}var oe=(e,s)=>ht(e,s,Ve(s)),vt=(e,{valueAsNumber:s,valueAsDate:t,setValueAs:n})=>w(e)?e:s?e===""?NaN:e&&+e:t&&G(e)?new Date(e):n?n(e):e;function Ee(e){const s=e.ref;return Re(s)?s.files:Ue(s)?ct(e.refs).value:yt(s)?[...s.selectedOptions].map(({value:t})=>t):ye(s)?ft(e.refs).value:vt(w(s.value)?e.ref.value:s.value,e)}var Mt=(e,s,t,n)=>{const a={};for(const u of e){const c=f(s,u);c&&p(a,u,c._f)}return{criteriaMode:t,names:[...e],fields:a,shouldUseNativeValidation:n}},de=e=>w(e)?e:me(e)?e.source:D(e)?me(e.value)?e.value.source:e.value:e;const et="AsyncFunction";var Nt=e=>!!e&&!!e.validate&&!!(z(e.validate)&&e.validate.constructor.name===et||D(e.validate)&&Object.values(e.validate).find(s=>s.constructor.name===et)),Bt=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function tt(e,s,t){const n=f(e,t);if(n||Te(t))return{error:n,name:t};const a=t.split(".");for(;a.length;){const u=a.join("."),c=f(s,u),g=f(e,u);if(c&&!Array.isArray(c)&&t!==u)return{name:t};if(g&&g.type)return{name:u,error:g};a.pop()}return{name:t}}var Pt=(e,s,t,n,a)=>a.isOnAll?!1:!t&&a.isOnTouch?!(s||e):(t?n.isOnBlur:a.isOnBlur)?!e:(t?n.isOnChange:a.isOnChange)?e:!0,qt=(e,s)=>!Fe(f(e,s)).length&&C(e,s);const jt={mode:$.onSubmit,reValidateMode:$.onChange,shouldFocusError:!0};function Wt(e={}){let s={...jt,...e},t={submitCount:0,isDirty:!1,isLoading:z(s.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:s.errors||{},disabled:s.disabled||!1},n={},a=D(s.defaultValues)||D(s.values)?N(s.defaultValues||s.values)||{}:{},u=s.shouldUnregister?{}:N(a),c={action:!1,mount:!1,watch:!1},g={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},m,S=0;const V={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},v={values:De(),array:De(),state:De()},O=ze(s.mode),K=ze(s.reValidateMode),R=s.criteriaMode===$.all,I=r=>i=>{clearTimeout(S),S=setTimeout(r,i)},P=async r=>{if(!s.disabled&&(V.isValid||r)){const i=s.resolver?B((await te()).errors):await q(n,!0);i!==t.isValid&&v.state.next({isValid:i})}},X=(r,i)=>{!s.disabled&&(V.isValidating||V.validatingFields)&&((r||Array.from(g.mount)).forEach(l=>{l&&(i?p(t.validatingFields,l,i):C(t.validatingFields,l))}),v.state.next({validatingFields:t.validatingFields,isValidating:!B(t.validatingFields)}))},F=(r,i=[],l,y,d=!0,o=!0)=>{if(y&&l&&!s.disabled){if(c.action=!0,o&&Array.isArray(f(n,r))){const h=l(f(n,r),y.argA,y.argB);d&&p(n,r,h)}if(o&&Array.isArray(f(t.errors,r))){const h=l(f(t.errors,r),y.argA,y.argB);d&&p(t.errors,r,h),qt(t.errors,r)}if(V.touchedFields&&o&&Array.isArray(f(t.touchedFields,r))){const h=l(f(t.touchedFields,r),y.argA,y.argB);d&&p(t.touchedFields,r,h)}V.dirtyFields&&(t.dirtyFields=oe(a,u)),v.state.next({name:r,isDirty:b(r,i),dirtyFields:t.dirtyFields,errors:t.errors,isValid:t.isValid})}else p(u,r,i)},Y=(r,i)=>{p(t.errors,r,i),v.state.next({errors:t.errors})},J=r=>{t.errors=r,v.state.next({errors:t.errors,isValid:!1})},E=(r,i,l,y)=>{const d=f(n,r);if(d){const o=f(u,r,w(l)?f(a,r):l);w(o)||y&&y.defaultChecked||i?p(u,r,i?o:Ee(d._f)):U(r,o),c.mount&&P()}},se=(r,i,l,y,d)=>{let o=!1,h=!1;const _={name:r};if(!s.disabled){const T=!!(f(n,r)&&f(n,r)._f&&f(n,r)._f.disabled);if(!l||y){V.isDirty&&(h=t.isDirty,t.isDirty=_.isDirty=b(),o=h!==_.isDirty);const L=T||ee(f(a,r),i);h=!!(!T&&f(t.dirtyFields,r)),L||T?C(t.dirtyFields,r):p(t.dirtyFields,r,!0),_.dirtyFields=t.dirtyFields,o=o||V.dirtyFields&&h!==!L}if(l){const L=f(t.touchedFields,r);L||(p(t.touchedFields,r,l),_.touchedFields=t.touchedFields,o=o||V.touchedFields&&L!==l)}o&&d&&v.state.next(_)}return o?_:{}},ge=(r,i,l,y)=>{const d=f(t.errors,r),o=V.isValid&&W(i)&&t.isValid!==i;if(s.delayError&&l?(m=I(()=>Y(r,l)),m(s.delayError)):(clearTimeout(S),m=null,l?p(t.errors,r,l):C(t.errors,r)),(l?!ee(d,l):d)||!B(y)||o){const h={...y,...o&&W(i)?{isValid:i}:{},errors:t.errors,name:r};t={...t,...h},v.state.next(h)}},te=async r=>{X(r,!0);const i=await s.resolver(u,s.context,Mt(r||g.mount,n,s.criteriaMode,s.shouldUseNativeValidation));return X(r),i},ie=async r=>{const{errors:i}=await te(r);if(r)for(const l of r){const y=f(i,l);y?p(t.errors,l,y):C(t.errors,l)}else t.errors=i;return i},q=async(r,i,l={valid:!0})=>{for(const y in r){const d=r[y];if(d){const{_f:o,...h}=d;if(o){const _=g.array.has(o.name),T=d._f&&Nt(d._f);T&&V.validatingFields&&X([y],!0);const L=await Ze(d,g.disabled,u,R,s.shouldUseNativeValidation&&!i,_);if(T&&V.validatingFields&&X([y]),L[o.name]&&(l.valid=!1,i))break;!i&&(f(L,o.name)?_?Ot(t.errors,L,o.name):p(t.errors,o.name,L[o.name]):C(t.errors,o.name))}!B(h)&&await q(h,i,l)}}return l.valid},he=()=>{for(const r of g.unMount){const i=f(n,r);i&&(i._f.refs?i._f.refs.every(l=>!Se(l)):!Se(i._f.ref))&&xe(r)}g.unMount=new Set},b=(r,i)=>!s.disabled&&(r&&i&&p(u,r,i),!ee(Ie(),a)),x=(r,i,l)=>dt(r,g,{...c.mount?u:w(i)?a:G(r)?{[r]:i}:i},l,i),k=r=>Fe(f(c.mount?u:a,r,s.shouldUnregister?f(a,r,[]):[])),U=(r,i,l={})=>{const y=f(n,r);let d=i;if(y){const o=y._f;o&&(!o.disabled&&p(u,r,vt(i,o)),d=be(o.ref)&&M(i)?"":i,yt(o.ref)?[...o.ref.options].forEach(h=>h.selected=d.includes(h.value)):o.refs?ye(o.ref)?o.refs.length>1?o.refs.forEach(h=>(!h.defaultChecked||!h.disabled)&&(h.checked=Array.isArray(d)?!!d.find(_=>_===h.value):d===h.value)):o.refs[0]&&(o.refs[0].checked=!!d):o.refs.forEach(h=>h.checked=h.value===d):Re(o.ref)?o.ref.value="":(o.ref.value=d,o.ref.type||v.values.next({name:r,values:{...u}})))}(l.shouldDirty||l.shouldTouch)&&se(r,d,l.shouldTouch,l.shouldDirty,!0),l.shouldValidate&&ue(r)},H=(r,i,l)=>{for(const y in i){const d=i[y],o=`${r}.${y}`,h=f(n,o);(g.array.has(r)||D(d)||h&&!h._f)&&!re(d)?H(o,d,l):U(o,d,l)}},j=(r,i,l={})=>{const y=f(n,r),d=g.array.has(r),o=N(i);p(u,r,o),d?(v.array.next({name:r,values:{...u}}),(V.isDirty||V.dirtyFields)&&l.shouldDirty&&v.state.next({name:r,dirtyFields:oe(a,u),isDirty:b(r,o)})):y&&!y._f&&!M(o)?H(r,o,l):U(r,o,l),Ge(r,g)&&v.state.next({...t}),v.values.next({name:c.mount?r:void 0,values:{...u}})},ae=async r=>{c.mount=!0;const i=r.target;let l=i.name,y=!0;const d=f(n,l),o=()=>i.type?Ee(d._f):it(r),h=_=>{y=Number.isNaN(_)||re(_)&&isNaN(_.getTime())||ee(_,f(u,l,_))};if(d){let _,T;const L=o(),Z=r.type===_e.BLUR||r.type===_e.FOCUS_OUT,Ft=!Bt(d._f)&&!s.resolver&&!f(t.errors,l)&&!d._f.deps||Pt(Z,f(t.touchedFields,l),t.isSubmitted,K,O),pe=Ge(l,g,Z);p(u,l,L),Z?(d._f.onBlur&&d._f.onBlur(r),m&&m(0)):d._f.onChange&&d._f.onChange(r);const we=se(l,L,Z,!1),xt=!B(we)||pe;if(!Z&&v.values.next({name:l,type:r.type,values:{...u}}),Ft)return V.isValid&&(s.mode==="onBlur"&&Z?P():Z||P()),xt&&v.state.next({name:l,...pe?{}:we});if(!Z&&pe&&v.state.next({...t}),s.resolver){const{errors:He}=await te([l]);if(h(L),y){const At=tt(t.errors,n,l),$e=tt(He,n,At.name||l);_=$e.error,l=$e.name,T=B(He)}}else X([l],!0),_=(await Ze(d,g.disabled,u,R,s.shouldUseNativeValidation))[l],X([l]),h(L),y&&(_?T=!1:V.isValid&&(T=await q(n,!0)));y&&(d._f.deps&&ue(d._f.deps),ge(l,T,_,we))}},le=(r,i)=>{if(f(t.errors,i)&&r.focus)return r.focus(),1},ue=async(r,i={})=>{let l,y;const d=fe(r);if(s.resolver){const o=await ie(w(r)?r:d);l=B(o),y=r?!d.some(h=>f(o,h)):l}else r?(y=(await Promise.all(d.map(async o=>{const h=f(n,o);return await q(h&&h._f?{[o]:h}:h)}))).every(Boolean),!(!y&&!t.isValid)&&P()):y=l=await q(n);return v.state.next({...!G(r)||V.isValid&&l!==t.isValid?{}:{name:r},...s.resolver||!r?{isValid:l}:{},errors:t.errors}),i.shouldFocus&&!y&&ce(n,le,r?d:g.mount),y},Ie=r=>{const i={...c.mount?u:a};return w(r)?i:G(r)?f(i,r):r.map(l=>f(i,l))},Me=(r,i)=>({invalid:!!f((i||t).errors,r),isDirty:!!f((i||t).dirtyFields,r),error:f((i||t).errors,r),isValidating:!!f(t.validatingFields,r),isTouched:!!f((i||t).touchedFields,r)}),_t=r=>{r&&fe(r).forEach(i=>C(t.errors,i)),v.state.next({errors:r?t.errors:{}})},Ne=(r,i,l)=>{const y=(f(n,r,{_f:{}})._f||{}).ref,d=f(t.errors,r)||{},{ref:o,message:h,type:_,...T}=d;p(t.errors,r,{...T,...i,ref:y}),v.state.next({name:r,errors:t.errors,isValid:!1}),l&&l.shouldFocus&&y&&y.focus&&y.focus()},bt=(r,i)=>z(r)?v.values.subscribe({next:l=>r(x(void 0,i),l)}):x(r,i,!0),xe=(r,i={})=>{for(const l of r?fe(r):g.mount)g.mount.delete(l),g.array.delete(l),i.keepValue||(C(n,l),C(u,l)),!i.keepError&&C(t.errors,l),!i.keepDirty&&C(t.dirtyFields,l),!i.keepTouched&&C(t.touchedFields,l),!i.keepIsValidating&&C(t.validatingFields,l),!s.shouldUnregister&&!i.keepDefaultValue&&C(a,l);v.values.next({values:{...u}}),v.state.next({...t,...i.keepDirty?{isDirty:b()}:{}}),!i.keepIsValid&&P()},Be=({disabled:r,name:i,field:l,fields:y})=>{(W(r)&&c.mount||r||g.disabled.has(i))&&(r?g.disabled.add(i):g.disabled.delete(i),se(i,Ee(l?l._f:f(y,i)._f),!1,!1,!0))},Ae=(r,i={})=>{let l=f(n,r);const y=W(i.disabled)||W(s.disabled);return p(n,r,{...l||{},_f:{...l&&l._f?l._f:{ref:{name:r}},name:r,mount:!0,...i}}),g.mount.add(r),l?Be({field:l,disabled:W(i.disabled)?i.disabled:s.disabled,name:r}):E(r,!0,i.value),{...y?{disabled:i.disabled||s.disabled}:{},...s.progressive?{required:!!i.required,min:de(i.min),max:de(i.max),minLength:de(i.minLength),maxLength:de(i.maxLength),pattern:de(i.pattern)}:{},name:r,onChange:ae,onBlur:ae,ref:d=>{if(d){Ae(r,i),l=f(n,r);const o=w(d.value)&&d.querySelectorAll&&d.querySelectorAll("input,select,textarea")[0]||d,h=It(o),_=l._f.refs||[];if(h?_.find(T=>T===o):o===l._f.ref)return;p(n,r,{_f:{...l._f,...h?{refs:[..._.filter(Se),o,...Array.isArray(f(a,r))?[{}]:[]],ref:{type:o.type,name:r}}:{ref:o}}}),E(r,!1,void 0,o)}else l=f(n,r,{}),l._f&&(l._f.mount=!1),(s.shouldUnregister||i.shouldUnregister)&&!(nt(g.array,r)&&c.action)&&g.unMount.add(r)}}},Pe=()=>s.shouldFocusError&&ce(n,le,g.mount),mt=r=>{W(r)&&(v.state.next({disabled:r}),ce(n,(i,l)=>{const y=f(n,l);y&&(i.disabled=y._f.disabled||r,Array.isArray(y._f.refs)&&y._f.refs.forEach(d=>{d.disabled=y._f.disabled||r}))},0,!1))},qe=(r,i)=>async l=>{let y;l&&(l.preventDefault&&l.preventDefault(),l.persist&&l.persist());let d=N(u);if(g.disabled.size)for(const o of g.disabled)p(d,o,void 0);if(v.state.next({isSubmitting:!0}),s.resolver){const{errors:o,values:h}=await te();t.errors=o,d=h}else await q(n);if(C(t.errors,"root"),B(t.errors)){v.state.next({errors:{}});try{await r(d,l)}catch(o){y=o}}else i&&await i({...t.errors},l),Pe(),setTimeout(Pe);if(v.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:B(t.errors)&&!y,submitCount:t.submitCount+1,errors:t.errors}),y)throw y},Vt=(r,i={})=>{f(n,r)&&(w(i.defaultValue)?j(r,N(f(a,r))):(j(r,i.defaultValue),p(a,r,N(i.defaultValue))),i.keepTouched||C(t.touchedFields,r),i.keepDirty||(C(t.dirtyFields,r),t.isDirty=i.defaultValue?b(r,N(f(a,r))):b()),i.keepError||(C(t.errors,r),V.isValid&&P()),v.state.next({...t}))},je=(r,i={})=>{const l=r?N(r):a,y=N(l),d=B(r),o=d?a:y;if(i.keepDefaultValues||(a=l),!i.keepValues){if(i.keepDirtyValues){const h=new Set([...g.mount,...Object.keys(oe(a,u))]);for(const _ of Array.from(h))f(t.dirtyFields,_)?p(o,_,f(u,_)):j(_,f(o,_))}else{if(Ce&&w(r))for(const h of g.mount){const _=f(n,h);if(_&&_._f){const T=Array.isArray(_._f.refs)?_._f.refs[0]:_._f.ref;if(be(T)){const L=T.closest("form");if(L){L.reset();break}}}}n={}}u=s.shouldUnregister?i.keepDefaultValues?N(a):{}:N(o),v.array.next({values:{...o}}),v.values.next({values:{...o}})}g={mount:i.keepDirtyValues?g.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},c.mount=!V.isValid||!!i.keepIsValid||!!i.keepDirtyValues,c.watch=!!s.shouldUnregister,v.state.next({submitCount:i.keepSubmitCount?t.submitCount:0,isDirty:d?!1:i.keepDirty?t.isDirty:!!(i.keepDefaultValues&&!ee(r,a)),isSubmitted:i.keepIsSubmitted?t.isSubmitted:!1,dirtyFields:d?{}:i.keepDirtyValues?i.keepDefaultValues&&u?oe(a,u):t.dirtyFields:i.keepDefaultValues&&r?oe(a,r):i.keepDirty?t.dirtyFields:{},touchedFields:i.keepTouched?t.touchedFields:{},errors:i.keepErrors?t.errors:{},isSubmitSuccessful:i.keepIsSubmitSuccessful?t.isSubmitSuccessful:!1,isSubmitting:!1})},We=(r,i)=>je(z(r)?r(u):r,i);return{control:{register:Ae,unregister:xe,getFieldState:Me,handleSubmit:qe,setError:Ne,_executeSchema:te,_getWatch:x,_getDirty:b,_updateValid:P,_removeUnmounted:he,_updateFieldArray:F,_updateDisabledField:Be,_getFieldArray:k,_reset:je,_resetDefaultValues:()=>z(s.defaultValues)&&s.defaultValues().then(r=>{We(r,s.resetOptions),v.state.next({isLoading:!1})}),_updateFormState:r=>{t={...t,...r}},_disableForm:mt,_subjects:v,_proxyFormState:V,_setErrors:J,get _fields(){return n},get _formValues(){return u},get _state(){return c},set _state(r){c=r},get _defaultValues(){return a},get _names(){return g},set _names(r){g=r},get _formState(){return t},set _formState(r){t=r},get _options(){return s},set _options(r){s={...s,...r}}},trigger:ue,register:Ae,handleSubmit:qe,watch:bt,setValue:j,getValues:Ie,reset:We,resetField:Vt,clearErrors:_t,unregister:xe,setError:Ne,setFocus:(r,i={})=>{const l=f(n,r),y=l&&l._f;if(y){const d=y.refs?y.refs[0]:y.ref;d.focus&&(d.focus(),i.shouldSelect&&z(d.select)&&d.select())}},getFieldState:Me}}function Jt(e={}){const s=A.useRef(void 0),t=A.useRef(void 0),[n,a]=A.useState({isDirty:!1,isValidating:!1,isLoading:z(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:z(e.defaultValues)?void 0:e.defaultValues});s.current||(s.current={...Wt(e),formState:n});const u=s.current.control;return u._options=e,Oe({subject:u._subjects.state,next:c=>{ut(c,u._proxyFormState,u._updateFormState,!0)&&a({...u._formState})}}),A.useEffect(()=>u._disableForm(e.disabled),[u,e.disabled]),A.useEffect(()=>{if(u._proxyFormState.isDirty){const c=u._getDirty();c!==n.isDirty&&u._subjects.state.next({isDirty:c})}},[u,n.isDirty]),A.useEffect(()=>{e.values&&!ee(e.values,t.current)?(u._reset(e.values,u._options.resetOptions),t.current=e.values,a(c=>({...c}))):u._resetDefaultValues()},[e.values,u]),A.useEffect(()=>{e.errors&&u._setErrors(e.errors)},[e.errors,u]),A.useEffect(()=>{u._state.mount||(u._updateValid(),u._state.mount=!0),u._state.watch&&(u._state.watch=!1,u._subjects.state.next({...u._formState})),u._removeUnmounted()}),A.useEffect(()=>{e.shouldUnregister&&u._subjects.values.next({values:u._getWatch()})},[e.shouldUnregister,u]),s.current.formState=lt(n,u),s.current}const rt=({defaultValue:e,name:s,control:t,rules:n,...a})=>Ke.jsx(Tt,{defaultValue:e,name:s,control:t,rules:n,render:({field:u})=>Ke.jsx(pt,{...u,...a})});try{rt.displayName="ControlledTextInput",rt.__docgenInfo={description:"",displayName:"ControlledTextInput",props:{leftIcon:{defaultValue:null,description:"",name:"leftIcon",required:!1,type:{name:"ComponentType"}},rightIcon:{defaultValue:null,description:"",name:"rightIcon",required:!1,type:{name:"ComponentType"}},name:{defaultValue:null,description:"",name:"name",required:!0,type:{name:"string"}},numeric:{defaultValue:null,description:"",name:"numeric",required:!1,type:{name:"boolean"}},controls:{defaultValue:null,description:"",name:"controls",required:!1,type:{name:"ReactNode"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:'"hidden" | "top" | "left" | "right" | null'}},control:{defaultValue:null,description:"",name:"control",required:!0,type:{name:"Control"}},rules:{defaultValue:null,description:"",name:"rules",required:!1,type:{name:"{}"}}}}}catch{}export{Tt as C,rt as a,Jt as u}; diff --git a/assets/Divider-PXwLU2je.js b/assets/Divider-CiKhk90j.js similarity index 80% rename from assets/Divider-PXwLU2je.js rename to assets/Divider-CiKhk90j.js index d20eacefb..27394356a 100644 --- a/assets/Divider-PXwLU2je.js +++ b/assets/Divider-CiKhk90j.js @@ -1 +1 @@ -import{j as a}from"./jsx-runtime-z8MfsBtr.js";import{c as t}from"./classnames-Dx2cly0x.js";const e=r=>{const{className:o,...s}=r;return a.jsx("hr",{className:t("my-4 h-px bg-border-normal border-none",o),...s})};try{e.displayName="Divider",e.__docgenInfo={description:"",displayName:"Divider",props:{}}}catch{}export{e as D}; +import{j as a}from"./jsx-runtime-Cf8x2fCZ.js";import{c as t}from"./classnames-Dx2cly0x.js";const e=r=>{const{className:o,...s}=r;return a.jsx("hr",{className:t("my-4 h-px bg-border-normal border-none",o),...s})};try{e.displayName="Divider",e.__docgenInfo={description:"",displayName:"Divider",props:{}}}catch{}export{e as D}; diff --git a/assets/Divider.stories-BER_qREG.js b/assets/Divider.stories-CKh95xbU.js similarity index 74% rename from assets/Divider.stories-BER_qREG.js rename to assets/Divider.stories-CKh95xbU.js index f2b4baa94..5a048bbc5 100644 --- a/assets/Divider.stories-BER_qREG.js +++ b/assets/Divider.stories-CKh95xbU.js @@ -1,3 +1,3 @@ -import{D as s}from"./Divider-PXwLU2je.js";import"./jsx-runtime-z8MfsBtr.js";import"./index-C9rmetsa.js";import"./classnames-Dx2cly0x.js";import"./clsx-B-dksMZM.js";const c={title:"Components/Divider",component:s},r={args:{}};var e,o,t;r.parameters={...r.parameters,docs:{...(e=r.parameters)==null?void 0:e.docs,source:{originalSource:`{ +import{D as s}from"./Divider-CiKhk90j.js";import"./jsx-runtime-Cf8x2fCZ.js";import"./index-yBjzXJbu.js";import"./classnames-Dx2cly0x.js";import"./clsx-B-dksMZM.js";const c={title:"Components/Divider",component:s},r={args:{}};var e,o,t;r.parameters={...r.parameters,docs:{...(e=r.parameters)==null?void 0:e.docs,source:{originalSource:`{ args: {} }`,...(t=(o=r.parameters)==null?void 0:o.docs)==null?void 0:t.source}}};const d=["Default"];export{r as Default,d as __namedExportsOrder,c as default}; diff --git a/assets/DocsRenderer-CFRXHY34-jNd1DwDx.js b/assets/DocsRenderer-CFRXHY34-ByjBGumv.js similarity index 83% rename from assets/DocsRenderer-CFRXHY34-jNd1DwDx.js rename to assets/DocsRenderer-CFRXHY34-ByjBGumv.js index 64edda8f3..8862552b0 100644 --- a/assets/DocsRenderer-CFRXHY34-jNd1DwDx.js +++ b/assets/DocsRenderer-CFRXHY34-ByjBGumv.js @@ -1,10 +1,10 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Color-YHDXOIA2-BE_HiG-P.js","./index-D1TSixAU.js","./index-C9rmetsa.js","./index-BWPEG51O.js","./iframe-CqSFuqlf.js","./jsx-runtime-z8MfsBtr.js","./index-Dcf1nc42.js","./index-D2m0ySOf.js","./index-Brs1icLk.js","./index-ogSvIofg.js","./react-18-Bd5J0FWG.js","./index-CrPz3I2A.js"])))=>i.map(i=>d[i]); -var S8=Object.defineProperty;var A8=(e,t,r)=>t in e?S8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var un=(e,t,r)=>A8(e,typeof t!="symbol"?t+"":t,r);import{D as h4,_ as Ad,z as k8}from"./iframe-CqSFuqlf.js";import{r as i,e as m}from"./index-D1TSixAU.js";import{v as k,b as m4,a as Gn,Y as sa,W as $c,h as B8,j as Gp,w as g4,E as v4,F as _8,_ as Kp,$ as I8}from"./index-BWPEG51O.js";import{j as P}from"./jsx-runtime-z8MfsBtr.js";import{G as y4,r as kd}from"./index-Dcf1nc42.js";import{y as Yp,g as wu}from"./index-Brs1icLk.js";import{d as R8}from"./index-ogSvIofg.js";import{renderElement as z8,unmountElement as T8}from"./react-18-Bd5J0FWG.js";var L8=Object.create,w4=Object.defineProperty,M8=Object.getOwnPropertyDescriptor,b4=Object.getOwnPropertyNames,O8=Object.getPrototypeOf,P8=Object.prototype.hasOwnProperty,jo=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),Wr=(e,t)=>function(){return t||(0,e[b4(e)[0]])((t={exports:{}}).exports,t),t.exports},N8=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of b4(t))!P8.call(e,a)&&a!==r&&w4(e,a,{get:()=>t[a],enumerable:!(n=M8(t,a))||n.enumerable});return e},Bd=(e,t,r)=>(r=e!=null?L8(O8(e)):{},N8(t||!e||!e.__esModule?w4(r,"default",{value:e,enumerable:!0}):r,e));function H8(e,t,{signal:r,edges:n}={}){let a,o=null,l=n!=null&&n.includes("leading"),s=n==null||n.includes("trailing"),c=()=>{o!==null&&(e.apply(a,o),a=void 0,o=null)},d=()=>{s&&c(),h()},f=null,g=()=>{f!=null&&clearTimeout(f),f=setTimeout(()=>{f=null,d()},t)},p=()=>{f!==null&&(clearTimeout(f),f=null)},h=()=>{p(),a=void 0,o=null},v=()=>{p(),c()},y=function(...b){if(r!=null&&r.aborted)return;a=this,o=b;let C=f==null;g(),l&&C&&c()};return y.schedule=g,y.cancel=h,y.flush=v,r==null||r.addEventListener("abort",h,{once:!0}),y}function IP(e,t=0,r={}){typeof r!="object"&&(r={});let{signal:n,leading:a=!1,trailing:o=!0,maxWait:l}=r,s=Array(2);a&&(s[0]="leading"),o&&(s[1]="trailing");let c,d=null,f=H8(function(...h){c=e.apply(this,h),d=null},t,{signal:n,edges:s}),g=function(...h){if(l!=null){if(d===null)d=Date.now();else if(Date.now()-d>=l)return c=e.apply(this,h),d=Date.now(),f.cancel(),f.schedule(),c}return f.apply(this,h),c},p=()=>(f.flush(),c);return g.cancel=f.cancel,g.flush=p,g}function j8(e){return Array.from(new Set(e))}function $8(e,t){let r={},n=Object.entries(e);for(let a=0;a`control-${e.replace(/\s+/g,"-")}`,wi=e=>`set-${e.replace(/\s+/g,"-")}`,Z8=Object.create,bi=Object.defineProperty,J8=Object.getOwnPropertyDescriptor,X8=Object.getOwnPropertyNames,Q8=Object.getPrototypeOf,eE=Object.prototype.hasOwnProperty,u=(e,t)=>bi(e,"name",{value:t,configurable:!0}),$o=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),R=(e,t)=>()=>(e&&(t=e(e=0)),t),$=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Kn=(e,t)=>{for(var r in t)bi(e,r,{get:t[r],enumerable:!0})},tE=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of X8(t))!eE.call(e,a)&&a!==r&&bi(e,a,{get:()=>t[a],enumerable:!(n=J8(t,a))||n.enumerable});return e},me=(e,t,r)=>(r=e!=null?Z8(Q8(e)):{},tE(t||!e||!e.__esModule?bi(r,"default",{value:e,enumerable:!0}):r,e));function Fe(){return Fe=Object.assign?Object.assign.bind():function(e){for(var t=1;t{u(Fe,"_extends")});function D4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var rE=R(()=>{u(D4,"_assertThisInitialized")});function Mn(e,t){return Mn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},Mn(e,t)}var _d=R(()=>{u(Mn,"_setPrototypeOf")});function Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Pl(e)}var nE=R(()=>{u(Pl,"_getPrototypeOf")}),Ei,Id=R(()=>{Ei=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})()}),Ci=$((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return u(function r(n,a,o){function l(d,f){if(!a[d]){if(!n[d]){var g=typeof $o=="function"&&$o;if(!f&&g)return g(d,!0);if(s)return s(d,!0);var p=new Error("Cannot find module '"+d+"'");throw p.code="MODULE_NOT_FOUND",p}var h=a[d]={exports:{}};n[d][0].call(h.exports,function(v){var y=n[d][1][v];return l(y||v)},h,h.exports,r,n,a,o)}return a[d].exports}u(l,"s");for(var s=typeof $o=="function"&&$o,c=0;c=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(l,s){var c;return this.lastItem&&this.isEqual(this.lastItem.key,l)?(this.lastItem.val=s,this):(c=this.indexOf(l),c>=0?(this.lastItem=this.list[c],this.list[c].val=s,this):(this.lastItem={key:l,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(l){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,l)&&(this.lastItem=void 0),s=this.indexOf(l),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(l){var s;return this.lastItem&&this.isEqual(this.lastItem.key,l)?!0:(s=this.indexOf(l),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(l,s){var c;for(c=0;c0&&(D[C]={cacheItem:v,arg:arguments[C]},E?l(g,D):g.push(D),g.length>d&&s(g.shift())),h.wasMemoized=E,h.numArgs=C+1,b},"memoizerific");return h.limit=d,h.wasMemoized=!1,h.cache=f,h.lru=g,h}};function l(d,f){var g=d.length,p=f.length,h,v,y;for(v=0;v=0&&(g=d[h],p=g.cacheItem.get(g.arg),!p||!p.size);h--)g.cacheItem.delete(g.arg)}u(s,"removeCachedResult");function c(d,f){return d===f||d!==d&&f!==f}u(c,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function xi(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var Rd=R(()=>{u(xi,"_objectWithoutPropertiesLoose")});function E4(e,t){if(e==null)return{};var r,n,a=xi(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||{}.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var aE=R(()=>{Rd(),u(E4,"_objectWithoutProperties")});function Nl(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{u(Nl,"_arrayLikeToArray")});function x4(e){if(Array.isArray(e))return Nl(e)}var oE=R(()=>{C4(),u(x4,"_arrayWithoutHoles")});function F4(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}var lE=R(()=>{u(F4,"_iterableToArray")});function S4(e,t){if(e){if(typeof e=="string")return Nl(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Nl(e,t):void 0}}var iE=R(()=>{C4(),u(S4,"_unsupportedIterableToArray")});function A4(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var uE=R(()=>{u(A4,"_nonIterableSpread")});function k4(e){return x4(e)||F4(e)||S4(e)||A4()}var sE=R(()=>{oE(),lE(),iE(),uE(),u(k4,"_toConsumableArray")});function On(e){"@babel/helpers - typeof";return On=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},On(e)}var B4=R(()=>{u(On,"_typeof")});function _4(e,t){if(On(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(On(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var cE=R(()=>{B4(),u(_4,"toPrimitive")});function I4(e){var t=_4(e,"string");return On(t)=="symbol"?t:t+""}var dE=R(()=>{B4(),cE(),u(I4,"toPropertyKey")});function zd(e,t,r){return(t=I4(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var R4=R(()=>{dE(),u(zd,"_defineProperty")});function Vc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Ir(e){for(var t=1;t=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}function T4(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return yl[t]||(yl[t]=z4(e)),yl[t]}function L4(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=e.filter(function(o){return o!=="token"}),a=T4(n);return a.reduce(function(o,l){return Ir(Ir({},o),r[l])},t)}function Uc(e){return e.join(" ")}function M4(e,t){var r=0;return function(n){return r+=1,n.map(function(a,o){return Fi({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(r,"-").concat(o)})})}}function Fi(e){var t=e.node,r=e.stylesheet,n=e.style,a=n===void 0?{}:n,o=e.useInlineStyles,l=e.key,s=t.properties,c=t.type,d=t.tagName,f=t.value;if(c==="text")return f;if(d){var g=M4(r,o),p;if(!o)p=Ir(Ir({},s),{},{className:Uc(s.className)});else{var h=Object.keys(r).reduce(function(C,D){return D.split(".").forEach(function(E){C.includes(E)||C.push(E)}),C},[]),v=s.className&&s.className.includes("token")?["token"]:[],y=s.className&&v.concat(s.className.filter(function(C){return!h.includes(C)}));p=Ir(Ir({},s),{},{className:Uc(y)||void 0,style:L4(s.className,Object.assign({},s.style,a),r)})}var b=g(t.children);return m.createElement(d,Fe({key:l},p),b)}}var yl,O4=R(()=>{Di(),R4(),u(Vc,"ownKeys"),u(Ir,"_objectSpread"),u(z4,"powerSetPermutations"),yl={},u(T4,"getClassNameCombinations"),u(L4,"createStyleObject"),u(Uc,"createClassNameString"),u(M4,"createChildren"),u(Fi,"createElement")}),P4,pE=R(()=>{P4=u(function(e,t){var r=e.listLanguages();return r.indexOf(t)!==-1},"default")});function qc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Xe(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],n=0;n2&&arguments[2]!==void 0?arguments[2]:[];return Ha({children:x,lineNumber:F,lineNumberStyle:s,largestLineNumber:l,showInlineLineNumbers:a,lineProps:r,className:S,showLineNumbers:n,wrapLongLines:c})}u(v,"createWrappedLine");function y(x,F){if(n&&F&&a){var S=Ld(s,F,l);x.unshift(Td(F,S))}return x}u(y,"createUnwrappedLine");function b(x,F){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||S.length>0?v(x,F,S):y(x,F)}u(b,"createLine");for(var C=u(function(){var x=f[h],F=x.children[0].value,S=N4(F);if(S){var A=F.split(` +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Color-YHDXOIA2-LQ0Hw68V.js","./index-DubqEmGm.js","./index-yBjzXJbu.js","./index-BQhnwxuj.js","./iframe-DBaV6xvg.js","./jsx-runtime-Cf8x2fCZ.js","./index-e5epXPAg.js","./index-fNjTmf9T.js","./index-CXQShRbs.js","./index-DrFu-skq.js","./react-18-DbvqzeU0.js","./index-s_7BDCjm.js"])))=>i.map(i=>d[i]); +var S8=Object.defineProperty;var A8=(e,t,r)=>t in e?S8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var sn=(e,t,r)=>A8(e,typeof t!="symbol"?t+"":t,r);import{D as hv,_ as Ad,z as k8}from"./iframe-DBaV6xvg.js";import{r as i,e as m}from"./index-DubqEmGm.js";import{v as k,b as mv,a as Gn,Y as ua,W as $c,h as B8,j as Gp,w as gv,E as vv,F as _8,_ as Kp,$ as I8}from"./index-BQhnwxuj.js";import{j as P}from"./jsx-runtime-Cf8x2fCZ.js";import{G as yv,r as kd}from"./index-e5epXPAg.js";import{y as Yp,g as ws}from"./index-CXQShRbs.js";import{d as R8}from"./index-DrFu-skq.js";import{renderElement as z8,unmountElement as T8}from"./react-18-DbvqzeU0.js";var L8=Object.create,wv=Object.defineProperty,M8=Object.getOwnPropertyDescriptor,bv=Object.getOwnPropertyNames,O8=Object.getPrototypeOf,P8=Object.prototype.hasOwnProperty,jo=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),Wr=(e,t)=>function(){return t||(0,e[bv(e)[0]])((t={exports:{}}).exports,t),t.exports},N8=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of bv(t))!P8.call(e,a)&&a!==r&&wv(e,a,{get:()=>t[a],enumerable:!(n=M8(t,a))||n.enumerable});return e},Bd=(e,t,r)=>(r=e!=null?L8(O8(e)):{},N8(t||!e||!e.__esModule?wv(r,"default",{value:e,enumerable:!0}):r,e));function H8(e,t,{signal:r,edges:n}={}){let a,o=null,l=n!=null&&n.includes("leading"),u=n==null||n.includes("trailing"),c=()=>{o!==null&&(e.apply(a,o),a=void 0,o=null)},d=()=>{u&&c(),h()},f=null,g=()=>{f!=null&&clearTimeout(f),f=setTimeout(()=>{f=null,d()},t)},p=()=>{f!==null&&(clearTimeout(f),f=null)},h=()=>{p(),a=void 0,o=null},v=()=>{p(),c()},y=function(...b){if(r!=null&&r.aborted)return;a=this,o=b;let C=f==null;g(),l&&C&&c()};return y.schedule=g,y.cancel=h,y.flush=v,r==null||r.addEventListener("abort",h,{once:!0}),y}function IP(e,t=0,r={}){typeof r!="object"&&(r={});let{signal:n,leading:a=!1,trailing:o=!0,maxWait:l}=r,u=Array(2);a&&(u[0]="leading"),o&&(u[1]="trailing");let c,d=null,f=H8(function(...h){c=e.apply(this,h),d=null},t,{signal:n,edges:u}),g=function(...h){if(l!=null){if(d===null)d=Date.now();else if(Date.now()-d>=l)return c=e.apply(this,h),d=Date.now(),f.cancel(),f.schedule(),c}return f.apply(this,h),c},p=()=>(f.flush(),c);return g.cancel=f.cancel,g.flush=p,g}function j8(e){return Array.from(new Set(e))}function $8(e,t){let r={},n=Object.entries(e);for(let a=0;a`control-${e.replace(/\s+/g,"-")}`,wi=e=>`set-${e.replace(/\s+/g,"-")}`,Z8=Object.create,bi=Object.defineProperty,J8=Object.getOwnPropertyDescriptor,X8=Object.getOwnPropertyNames,Q8=Object.getPrototypeOf,eE=Object.prototype.hasOwnProperty,s=(e,t)=>bi(e,"name",{value:t,configurable:!0}),$o=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),R=(e,t)=>()=>(e&&(t=e(e=0)),t),$=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Kn=(e,t)=>{for(var r in t)bi(e,r,{get:t[r],enumerable:!0})},tE=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of X8(t))!eE.call(e,a)&&a!==r&&bi(e,a,{get:()=>t[a],enumerable:!(n=J8(t,a))||n.enumerable});return e},me=(e,t,r)=>(r=e!=null?Z8(Q8(e)):{},tE(t||!e||!e.__esModule?bi(r,"default",{value:e,enumerable:!0}):r,e));function Fe(){return Fe=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s(Fe,"_extends")});function Dv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var rE=R(()=>{s(Dv,"_assertThisInitialized")});function Mn(e,t){return Mn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},Mn(e,t)}var _d=R(()=>{s(Mn,"_setPrototypeOf")});function Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Pl(e)}var nE=R(()=>{s(Pl,"_getPrototypeOf")}),Ei,Id=R(()=>{Ei=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})()}),Ci=$((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return s(function r(n,a,o){function l(d,f){if(!a[d]){if(!n[d]){var g=typeof $o=="function"&&$o;if(!f&&g)return g(d,!0);if(u)return u(d,!0);var p=new Error("Cannot find module '"+d+"'");throw p.code="MODULE_NOT_FOUND",p}var h=a[d]={exports:{}};n[d][0].call(h.exports,function(v){var y=n[d][1][v];return l(y||v)},h,h.exports,r,n,a,o)}return a[d].exports}s(l,"s");for(var u=typeof $o=="function"&&$o,c=0;c=0)return this.lastItem=this.list[u],this.list[u].val},o.prototype.set=function(l,u){var c;return this.lastItem&&this.isEqual(this.lastItem.key,l)?(this.lastItem.val=u,this):(c=this.indexOf(l),c>=0?(this.lastItem=this.list[c],this.list[c].val=u,this):(this.lastItem={key:l,val:u},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(l){var u;if(this.lastItem&&this.isEqual(this.lastItem.key,l)&&(this.lastItem=void 0),u=this.indexOf(l),u>=0)return this.size--,this.list.splice(u,1)[0]},o.prototype.has=function(l){var u;return this.lastItem&&this.isEqual(this.lastItem.key,l)?!0:(u=this.indexOf(l),u>=0?(this.lastItem=this.list[u],!0):!1)},o.prototype.forEach=function(l,u){var c;for(c=0;c0&&(D[C]={cacheItem:v,arg:arguments[C]},E?l(g,D):g.push(D),g.length>d&&u(g.shift())),h.wasMemoized=E,h.numArgs=C+1,b},"memoizerific");return h.limit=d,h.wasMemoized=!1,h.cache=f,h.lru=g,h}};function l(d,f){var g=d.length,p=f.length,h,v,y;for(v=0;v=0&&(g=d[h],p=g.cacheItem.get(g.arg),!p||!p.size);h--)g.cacheItem.delete(g.arg)}s(u,"removeCachedResult");function c(d,f){return d===f||d!==d&&f!==f}s(c,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function xi(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var Rd=R(()=>{s(xi,"_objectWithoutPropertiesLoose")});function Ev(e,t){if(e==null)return{};var r,n,a=xi(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||{}.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var aE=R(()=>{Rd(),s(Ev,"_objectWithoutProperties")});function Nl(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{s(Nl,"_arrayLikeToArray")});function xv(e){if(Array.isArray(e))return Nl(e)}var oE=R(()=>{Cv(),s(xv,"_arrayWithoutHoles")});function Fv(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}var lE=R(()=>{s(Fv,"_iterableToArray")});function Sv(e,t){if(e){if(typeof e=="string")return Nl(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Nl(e,t):void 0}}var iE=R(()=>{Cv(),s(Sv,"_unsupportedIterableToArray")});function Av(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var sE=R(()=>{s(Av,"_nonIterableSpread")});function kv(e){return xv(e)||Fv(e)||Sv(e)||Av()}var uE=R(()=>{oE(),lE(),iE(),sE(),s(kv,"_toConsumableArray")});function On(e){"@babel/helpers - typeof";return On=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},On(e)}var Bv=R(()=>{s(On,"_typeof")});function _v(e,t){if(On(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(On(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var cE=R(()=>{Bv(),s(_v,"toPrimitive")});function Iv(e){var t=_v(e,"string");return On(t)=="symbol"?t:t+""}var dE=R(()=>{Bv(),cE(),s(Iv,"toPropertyKey")});function zd(e,t,r){return(t=Iv(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Rv=R(()=>{dE(),s(zd,"_defineProperty")});function Vc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Ir(e){for(var t=1;t=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}function Tv(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return yl[t]||(yl[t]=zv(e)),yl[t]}function Lv(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=e.filter(function(o){return o!=="token"}),a=Tv(n);return a.reduce(function(o,l){return Ir(Ir({},o),r[l])},t)}function Uc(e){return e.join(" ")}function Mv(e,t){var r=0;return function(n){return r+=1,n.map(function(a,o){return Fi({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(r,"-").concat(o)})})}}function Fi(e){var t=e.node,r=e.stylesheet,n=e.style,a=n===void 0?{}:n,o=e.useInlineStyles,l=e.key,u=t.properties,c=t.type,d=t.tagName,f=t.value;if(c==="text")return f;if(d){var g=Mv(r,o),p;if(!o)p=Ir(Ir({},u),{},{className:Uc(u.className)});else{var h=Object.keys(r).reduce(function(C,D){return D.split(".").forEach(function(E){C.includes(E)||C.push(E)}),C},[]),v=u.className&&u.className.includes("token")?["token"]:[],y=u.className&&v.concat(u.className.filter(function(C){return!h.includes(C)}));p=Ir(Ir({},u),{},{className:Uc(y)||void 0,style:Lv(u.className,Object.assign({},u.style,a),r)})}var b=g(t.children);return m.createElement(d,Fe({key:l},p),b)}}var yl,Ov=R(()=>{Di(),Rv(),s(Vc,"ownKeys"),s(Ir,"_objectSpread"),s(zv,"powerSetPermutations"),yl={},s(Tv,"getClassNameCombinations"),s(Lv,"createStyleObject"),s(Uc,"createClassNameString"),s(Mv,"createChildren"),s(Fi,"createElement")}),Pv,pE=R(()=>{Pv=s(function(e,t){var r=e.listLanguages();return r.indexOf(t)!==-1},"default")});function qc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Xe(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],n=0;n2&&arguments[2]!==void 0?arguments[2]:[];return Ha({children:x,lineNumber:F,lineNumberStyle:u,largestLineNumber:l,showInlineLineNumbers:a,lineProps:r,className:S,showLineNumbers:n,wrapLongLines:c})}s(v,"createWrappedLine");function y(x,F){if(n&&F&&a){var S=Ld(u,F,l);x.unshift(Td(F,S))}return x}s(y,"createUnwrappedLine");function b(x,F){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||S.length>0?v(x,F,S):y(x,F)}s(b,"createLine");for(var C=s(function(){var x=f[h],F=x.children[0].value,S=Nv(F);if(S){var A=F.split(` `);A.forEach(function(B,_){var I=n&&g.length+o,z={type:"text",value:"".concat(B,` -`)};if(_===0){var T=f.slice(p+1,h).concat(Ha({children:[z],className:x.properties.className})),M=b(T,I);g.push(M)}else if(_===A.length-1){var L=f[h+1]&&f[h+1].children&&f[h+1].children[0],O={type:"text",value:"".concat(B)};if(L){var j=Ha({children:[O],className:x.properties.className});f.splice(h+1,0,j)}else{var V=[O],U=b(V,I,x.properties.className);g.push(U)}}else{var G=[z],Z=b(G,I,x.properties.className);g.push(Z)}}),p=h}h++},"_loop");h{aE(),sE(),R4(),O4(),pE(),G4=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"],u(qc,"ownKeys"),u(Xe,"_objectSpread"),K4=/\n/g,u(N4,"getNewLines"),u(H4,"getAllLineNumbers"),u(j4,"AllLineNumbers"),u($4,"getEmWidthOfNumber"),u(Td,"getInlineLineNumber"),u(Ld,"assembleLineNumberStyles"),u(Ha,"createLineElement"),u(Md,"flattenCodeTree"),u(V4,"processLines"),u(U4,"defaultRenderer"),u(Od,"isHighlightJs"),u(q4,"getCodeTree"),u(W4,"default")}),hE=$((e,t)=>{t.exports=n;var r=Object.prototype.hasOwnProperty;function n(){for(var a={},o=0;o{t.exports=n;var r=n.prototype;r.space=null,r.normal={},r.property={};function n(a,o,l){this.property=a,this.normal=o,l&&(this.space=l)}u(n,"Schema")}),mE=$((e,t)=>{var r=hE(),n=Y4();t.exports=a;function a(o){for(var l=o.length,s=[],c=[],d=-1,f,g;++d{t.exports=r;function r(n){return n.toLowerCase()}u(r,"normalize")}),Z4=$((e,t)=>{t.exports=n;var r=n.prototype;r.space=null,r.attribute=null,r.property=null,r.boolean=!1,r.booleanish=!1,r.overloadedBoolean=!1,r.number=!1,r.commaSeparated=!1,r.spaceSeparated=!1,r.commaOrSpaceSeparated=!1,r.mustUseProperty=!1,r.defined=!1;function n(a,o){this.property=a,this.attribute=o}u(n,"Info")}),Nd=$(e=>{var t=0;e.boolean=r(),e.booleanish=r(),e.overloadedBoolean=r(),e.number=r(),e.spaceSeparated=r(),e.commaSeparated=r(),e.commaOrSpaceSeparated=r();function r(){return Math.pow(2,++t)}u(r,"increment")}),J4=$((e,t)=>{var r=Z4(),n=Nd();t.exports=l,l.prototype=new r,l.prototype.defined=!0;var a=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=a.length;function l(c,d,f,g){var p=-1,h;for(s(this,"space",g),r.call(this,c,d);++p{var r=Pd(),n=Y4(),a=J4();t.exports=o;function o(l){var s=l.space,c=l.mustUseProperty||[],d=l.attributes||{},f=l.properties,g=l.transform,p={},h={},v,y;for(v in f)y=new a(v,g(d,v),f[v],s),c.indexOf(v)!==-1&&(y.mustUseProperty=!0),p[v]=y,h[r(v)]=v,h[r(y.attribute)]=v;return new n(p,h,s)}u(o,"create")}),gE=$((e,t)=>{var r=ho();t.exports=r({space:"xlink",transform:n,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function n(a,o){return"xlink:"+o.slice(5).toLowerCase()}u(n,"xlinkTransform")}),vE=$((e,t)=>{var r=ho();t.exports=r({space:"xml",transform:n,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function n(a,o){return"xml:"+o.slice(3).toLowerCase()}u(n,"xmlTransform")}),yE=$((e,t)=>{t.exports=r;function r(n,a){return a in n?n[a]:a}u(r,"caseSensitiveTransform")}),X4=$((e,t)=>{var r=yE();t.exports=n;function n(a,o){return r(a,o.toLowerCase())}u(n,"caseInsensitiveTransform")}),wE=$((e,t)=>{var r=ho(),n=X4();t.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:n,properties:{xmlns:null,xmlnsXLink:null}})}),bE=$((e,t)=>{var r=Nd(),n=ho(),a=r.booleanish,o=r.number,l=r.spaceSeparated;t.exports=n({transform:s,properties:{ariaActiveDescendant:null,ariaAtomic:a,ariaAutoComplete:null,ariaBusy:a,ariaChecked:a,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:l,ariaCurrent:null,ariaDescribedBy:l,ariaDetails:null,ariaDisabled:a,ariaDropEffect:l,ariaErrorMessage:null,ariaExpanded:a,ariaFlowTo:l,ariaGrabbed:a,ariaHasPopup:null,ariaHidden:a,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:l,ariaLevel:o,ariaLive:null,ariaModal:a,ariaMultiLine:a,ariaMultiSelectable:a,ariaOrientation:null,ariaOwns:l,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:a,ariaReadOnly:a,ariaRelevant:null,ariaRequired:a,ariaRoleDescription:l,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:a,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}});function s(c,d){return d==="role"?d:"aria-"+d.slice(4).toLowerCase()}u(s,"ariaTransform")}),DE=$((e,t)=>{var r=Nd(),n=ho(),a=X4(),o=r.boolean,l=r.overloadedBoolean,s=r.booleanish,c=r.number,d=r.spaceSeparated,f=r.commaSeparated;t.exports=n({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:a,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:f,acceptCharset:d,accessKey:d,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:d,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:d,cols:c,colSpan:null,content:null,contentEditable:s,controls:o,controlsList:d,coords:c|f,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:l,draggable:s,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:d,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:d,httpEquiv:d,id:null,imageSizes:null,imageSrcSet:f,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:d,itemRef:d,itemScope:o,itemType:d,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:o,low:c,manifest:null,max:null,maxLength:c,media:null,method:null,min:null,minLength:c,multiple:o,muted:o,name:null,nonce:null,noModule:o,noValidate:o,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:o,optimum:c,pattern:null,ping:d,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:d,required:o,reversed:o,rows:c,rowSpan:c,sandbox:d,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:s,src:null,srcDoc:null,srcLang:null,srcSet:f,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:s,width:c,wrap:null,align:null,aLink:null,archive:d,axis:null,background:null,bgColor:null,border:c,borderColor:null,bottomMargin:c,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:o,declare:o,event:null,face:null,frame:null,frameBorder:null,hSpace:c,leftMargin:c,link:null,longDesc:null,lowSrc:null,marginHeight:c,marginWidth:c,noResize:o,noHref:o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:c,rules:null,scheme:null,scrolling:s,standby:null,summary:null,text:null,topMargin:c,valueType:null,version:null,vAlign:null,vLink:null,vSpace:c,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:c,security:null,unselectable:null}})}),EE=$((e,t)=>{var r=mE(),n=gE(),a=vE(),o=wE(),l=bE(),s=DE();t.exports=r([a,n,o,l,s])}),CE=$((e,t)=>{var r=Pd(),n=J4(),a=Z4(),o="data";t.exports=d;var l=/^data[-\w.:]+$/i,s=/-[a-z]/g,c=/[A-Z]/g;function d(v,y){var b=r(y),C=y,D=a;return b in v.normal?v.property[v.normal[b]]:(b.length>4&&b.slice(0,4)===o&&l.test(y)&&(y.charAt(4)==="-"?C=f(y):y=g(y),D=n),new D(C,y))}u(d,"find");function f(v){var y=v.slice(5).replace(s,h);return o+y.charAt(0).toUpperCase()+y.slice(1)}u(f,"datasetToProperty");function g(v){var y=v.slice(4);return s.test(y)?v:(y=y.replace(c,p),y.charAt(0)!=="-"&&(y="-"+y),o+y)}u(g,"datasetToAttribute");function p(v){return"-"+v.toLowerCase()}u(p,"kebab");function h(v){return v.charAt(1).toUpperCase()}u(h,"camelcase")}),xE=$((e,t)=>{t.exports=n;var r=/[#.]/g;function n(a,o){for(var l=a||"",s=o||"div",c={},d=0,f,g,p;d{e.parse=a,e.stringify=o;var t="",r=" ",n=/[ \t\n\r\f]+/g;function a(l){var s=String(l||t).trim();return s===t?[]:s.split(n)}u(a,"parse");function o(l){return l.join(r).trim()}u(o,"stringify")}),SE=$(e=>{e.parse=a,e.stringify=o;var t=",",r=" ",n="";function a(l){for(var s=[],c=String(l||n),d=c.indexOf(t),f=0,g=!1,p;!g;)d===-1&&(d=c.length,g=!0),p=c.slice(f,d).trim(),(p||!g)&&s.push(p),f=d+1,d=c.indexOf(t,f);return s}u(a,"parse");function o(l,s){var c=s||{},d=c.padLeft===!1?n:r,f=c.padRight?r:n;return l[l.length-1]===n&&(l=l.concat(n)),l.join(f+t+d).trim()}u(o,"stringify")}),AE=$((e,t)=>{var r=CE(),n=Pd(),a=xE(),o=FE().parse,l=SE().parse;t.exports=c;var s={}.hasOwnProperty;function c(b,C,D){var E=D?y(D):null;return w;function w(F,S){var A=a(F,C),B=Array.prototype.slice.call(arguments,2),_=A.tagName.toLowerCase(),I;if(A.tagName=E&&s.call(E,_)?E[_]:_,S&&d(S,A)&&(B.unshift(S),S=null),S)for(I in S)x(A.properties,I,S[I]);return g(A.children,B),A.tagName==="template"&&(A.content={type:"root",children:A.children},A.children=[]),A}function x(F,S,A){var B,_,I;A==null||A!==A||(B=r(b,S),_=B.property,I=A,typeof I=="string"&&(B.spaceSeparated?I=o(I):B.commaSeparated?I=l(I):B.commaOrSpaceSeparated&&(I=o(l(I).join(" ")))),_==="style"&&typeof A!="string"&&(I=v(I)),_==="className"&&F.className&&(I=F.className.concat(I)),F[_]=p(B,_,I))}}u(c,"factory");function d(b,C){return typeof b=="string"||"length"in b||f(C.tagName,b)}u(d,"isChildren");function f(b,C){var D=C.type;return b==="input"||!D||typeof D!="string"?!1:typeof C.children=="object"&&"length"in C.children?!0:(D=D.toLowerCase(),b==="button"?D!=="menu"&&D!=="submit"&&D!=="reset"&&D!=="button":"value"in C)}u(f,"isNode");function g(b,C){var D,E;if(typeof C=="string"||typeof C=="number"){b.push({type:"text",value:String(C)});return}if(typeof C=="object"&&"length"in C){for(D=-1,E=C.length;++D{var r=EE(),n=AE(),a=n(r,"div");a.displayName="html",t.exports=a}),BE=$((e,t)=>{t.exports=kE()}),_E=$((e,t)=>{t.exports={AElig:"Æ",AMP:"&",Aacute:"Á",Acirc:"Â",Agrave:"À",Aring:"Å",Atilde:"Ã",Auml:"Ä",COPY:"©",Ccedil:"Ç",ETH:"Ð",Eacute:"É",Ecirc:"Ê",Egrave:"È",Euml:"Ë",GT:">",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"}}),IE=$((e,t)=>{t.exports={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"}}),Q4=$((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=48&&a<=57}u(r,"decimal")}),RE=$((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=97&&a<=102||a>=65&&a<=70||a>=48&&a<=57}u(r,"hexadecimal")}),zE=$((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=97&&a<=122||a>=65&&a<=90}u(r,"alphabetical")}),TE=$((e,t)=>{var r=zE(),n=Q4();t.exports=a;function a(o){return r(o)||n(o)}u(a,"alphanumerical")}),LE=$((e,t)=>{var r,n=59;t.exports=a;function a(o){var l="&"+o+";",s;return r=r||document.createElement("i"),r.innerHTML=l,s=r.textContent,s.charCodeAt(s.length-1)===n&&o!=="semi"||s===l?!1:s}u(a,"decodeEntity")}),ME=$((e,t)=>{var r=_E(),n=IE(),a=Q4(),o=RE(),l=TE(),s=LE();t.exports=Z;var c={}.hasOwnProperty,d=String.fromCharCode,f=Function.prototype,g={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p=9,h=10,v=12,y=32,b=38,C=59,D=60,E=61,w=35,x=88,F=120,S=65533,A="named",B="hexadecimal",_="decimal",I={};I[B]=16,I[_]=10;var z={};z[A]=l,z[_]=a,z[B]=o;var T=1,M=2,L=3,O=4,j=5,V=6,U=7,G={};G[T]="Named character references must be terminated by a semicolon",G[M]="Numeric character references must be terminated by a semicolon",G[L]="Named character references cannot be empty",G[O]="Numeric character references cannot be empty",G[j]="Named character references must be known",G[V]="Numeric character references cannot be disallowed",G[U]="Numeric character references cannot be outside the permissible Unicode range";function Z(N,K){var J={},ge,Le;K||(K={});for(Le in g)ge=K[Le],J[Le]=ge??g[Le];return(J.position.indent||J.position.start)&&(J.indent=J.position.indent||[],J.position=J.position.start),re(N,J)}u(Z,"parseEntities");function re(N,K){var J=K.additional,ge=K.nonTerminated,Le=K.text,mr=K.reference,dt=K.warning,Gt=K.textContext,nn=K.referenceContext,gr=K.warningContext,oa=K.position,Oo=K.indent||[],an=N.length,pt=0,Po=-1,Ee=oa.column||1,vr=oa.line||1,ft="",on=[],ht,ln,mt,ve,Ke,de,oe,gt,No,vu,yr,la,wr,zt,Vp,ia,Ho,vt,pe;for(typeof J=="string"&&(J=J.charCodeAt(0)),ia=ua(),gt=dt?F8:f,pt--,an++;++pt65535&&(de-=65536,vu+=d(de>>>10|55296),de=56320|de&1023),de=vu+d(de))):zt!==A&>(O,vt)),de?(Up(),ia=ua(),pt=pe-1,Ee+=pe-wr+1,on.push(de),Ho=ua(),Ho.offset++,mr&&mr.call(nn,de,{start:ia,end:Ho},N.slice(wr-1,pe)),ia=Ho):(ve=N.slice(wr-1,pe),ft+=ve,Ee+=ve.length,pt=pe-1)}else Ke===10&&(vr++,Po++,Ee=0),Ke===Ke?(ft+=d(Ke),Ee++):Up();return on.join("");function ua(){return{line:vr,column:Ee,offset:pt+(oa.offset||0)}}function F8(qp,Wp){var yu=ua();yu.column+=Wp,yu.offset+=Wp,dt.call(gr,G[qp],yu,qp)}function Up(){ft&&(on.push(ft),Le&&Le.call(Gt,ft,{start:ia,end:ua()}),ft="")}}u(re,"parse");function Y(N){return N>=55296&&N<=57343||N>1114111}u(Y,"prohibited");function ae(N){return N>=1&&N<=8||N===11||N>=13&&N<=31||N>=127&&N<=159||N>=64976&&N<=65007||(N&65535)===65535||(N&65535)===65534}u(ae,"disallowed")}),OE=$((e,t)=>{var r=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},n=function(a){var o=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,l=0,s={},c={manual:a.Prism&&a.Prism.manual,disableWorkerMessageHandler:a.Prism&&a.Prism.disableWorkerMessageHandler,util:{encode:u(function E(w){return w instanceof d?new d(w.type,E(w.content),w.alias):Array.isArray(w)?w.map(E):w.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(F){var E=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(F.stack)||[])[1];if(E){var w=document.getElementsByTagName("script");for(var x in w)if(w[x].src==E)return w[x]}return null}},"currentScript"),isActive:u(function(E,w,x){for(var F="no-"+w;E;){var S=E.classList;if(S.contains(w))return!0;if(S.contains(F))return!1;E=E.parentElement}return!!x},"isActive")},languages:{plain:s,plaintext:s,text:s,txt:s,extend:u(function(E,w){var x=c.util.clone(c.languages[E]);for(var F in w)x[F]=w[F];return x},"extend"),insertBefore:u(function(E,w,x,F){F=F||c.languages;var S=F[E],A={};for(var B in S)if(S.hasOwnProperty(B)){if(B==w)for(var _ in x)x.hasOwnProperty(_)&&(A[_]=x[_]);x.hasOwnProperty(B)||(A[B]=S[B])}var I=F[E];return F[E]=A,c.languages.DFS(c.languages,function(z,T){T===I&&z!=E&&(this[z]=A)}),A},"insertBefore"),DFS:u(function E(w,x,F,S){S=S||{};var A=c.util.objId;for(var B in w)if(w.hasOwnProperty(B)){x.call(w,B,w[B],F||B);var _=w[B],I=c.util.type(_);I==="Object"&&!S[A(_)]?(S[A(_)]=!0,E(_,x,null,S)):I==="Array"&&!S[A(_)]&&(S[A(_)]=!0,E(_,x,B,S))}},"DFS")},plugins:{},highlightAll:u(function(E,w){c.highlightAllUnder(document,E,w)},"highlightAll"),highlightAllUnder:u(function(E,w,x){var F={callback:x,container:E,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};c.hooks.run("before-highlightall",F),F.elements=Array.prototype.slice.apply(F.container.querySelectorAll(F.selector)),c.hooks.run("before-all-elements-highlight",F);for(var S=0,A;A=F.elements[S++];)c.highlightElement(A,w===!0,F.callback)},"highlightAllUnder"),highlightElement:u(function(E,w,x){var F=c.util.getLanguage(E),S=c.languages[F];c.util.setLanguage(E,F);var A=E.parentElement;A&&A.nodeName.toLowerCase()==="pre"&&c.util.setLanguage(A,F);var B=E.textContent,_={element:E,language:F,grammar:S,code:B};function I(T){_.highlightedCode=T,c.hooks.run("before-insert",_),_.element.innerHTML=_.highlightedCode,c.hooks.run("after-highlight",_),c.hooks.run("complete",_),x&&x.call(_.element)}if(u(I,"insertHighlightedCode"),c.hooks.run("before-sanity-check",_),A=_.element.parentElement,A&&A.nodeName.toLowerCase()==="pre"&&!A.hasAttribute("tabindex")&&A.setAttribute("tabindex","0"),!_.code){c.hooks.run("complete",_),x&&x.call(_.element);return}if(c.hooks.run("before-highlight",_),!_.grammar){I(c.util.encode(_.code));return}if(w&&a.Worker){var z=new Worker(c.filename);z.onmessage=function(T){I(T.data)},z.postMessage(JSON.stringify({language:_.language,code:_.code,immediateClose:!0}))}else I(c.highlight(_.code,_.grammar,_.language))},"highlightElement"),highlight:u(function(E,w,x){var F={code:E,grammar:w,language:x};if(c.hooks.run("before-tokenize",F),!F.grammar)throw new Error('The language "'+F.language+'" has no grammar.');return F.tokens=c.tokenize(F.code,F.grammar),c.hooks.run("after-tokenize",F),d.stringify(c.util.encode(F.tokens),F.language)},"highlight"),tokenize:u(function(E,w){var x=w.rest;if(x){for(var F in x)w[F]=x[F];delete w.rest}var S=new p;return h(S,S.head,E),g(E,S,w,S.head,0),y(S)},"tokenize"),hooks:{all:{},add:u(function(E,w){var x=c.hooks.all;x[E]=x[E]||[],x[E].push(w)},"add"),run:u(function(E,w){var x=c.hooks.all[E];if(!(!x||!x.length))for(var F=0,S;S=x[F++];)S(w)},"run")},Token:d};a.Prism=c;function d(E,w,x,F){this.type=E,this.content=w,this.alias=x,this.length=(F||"").length|0}u(d,"Token"),d.stringify=u(function E(w,x){if(typeof w=="string")return w;if(Array.isArray(w)){var F="";return w.forEach(function(I){F+=E(I,x)}),F}var S={type:w.type,content:E(w.content,x),tag:"span",classes:["token",w.type],attributes:{},language:x},A=w.alias;A&&(Array.isArray(A)?Array.prototype.push.apply(S.classes,A):S.classes.push(A)),c.hooks.run("wrap",S);var B="";for(var _ in S.attributes)B+=" "+_+'="'+(S.attributes[_]||"").replace(/"/g,""")+'"';return"<"+S.tag+' class="'+S.classes.join(" ")+'"'+B+">"+S.content+""},"stringify");function f(E,w,x,F){E.lastIndex=w;var S=E.exec(x);if(S&&F&&S[1]){var A=S[1].length;S.index+=A,S[0]=S[0].slice(A)}return S}u(f,"matchPattern");function g(E,w,x,F,S,A){for(var B in x)if(!(!x.hasOwnProperty(B)||!x[B])){var _=x[B];_=Array.isArray(_)?_:[_];for(var I=0;I<_.length;++I){if(A&&A.cause==B+","+I)return;var z=_[I],T=z.inside,M=!!z.lookbehind,L=!!z.greedy,O=z.alias;if(L&&!z.pattern.global){var j=z.pattern.toString().match(/[imsuy]*$/)[0];z.pattern=RegExp(z.pattern.source,j+"g")}for(var V=z.pattern||z,U=F.next,G=S;U!==w.tail&&!(A&&G>=A.reach);G+=U.value.length,U=U.next){var Z=U.value;if(w.length>E.length)return;if(!(Z instanceof d)){var re=1,Y;if(L){if(Y=f(V,G,E,M),!Y||Y.index>=E.length)break;var J=Y.index,ae=Y.index+Y[0].length,N=G;for(N+=U.value.length;J>=N;)U=U.next,N+=U.value.length;if(N-=U.value.length,G=N,U.value instanceof d)continue;for(var K=U;K!==w.tail&&(NA.reach&&(A.reach=dt);var Gt=U.prev;Le&&(Gt=h(w,Gt,Le),G+=Le.length),v(w,Gt,re);var nn=new d(B,T?c.tokenize(ge,T):ge,O,ge);if(U=h(w,Gt,nn),mr&&h(w,U,mr),re>1){var gr={cause:B+","+I,reach:dt};g(E,w,x,U.prev,G,gr),A&&gr.reach>A.reach&&(A.reach=gr.reach)}}}}}}u(g,"matchGrammar");function p(){var E={value:null,prev:null,next:null},w={value:null,prev:E,next:null};E.next=w,this.head=E,this.tail=w,this.length=0}u(p,"LinkedList");function h(E,w,x){var F=w.next,S={value:x,prev:w,next:F};return w.next=S,F.prev=S,E.length++,S}u(h,"addAfter");function v(E,w,x){for(var F=w.next,S=0;S{t.exports=r,r.displayName="markup",r.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function r(n){n.languages.markup={comment:{pattern://,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"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(a){a.type==="entity"&&(a.attributes.title=a.content.value.replace(/&/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:u(function(a,o){var l={};l["language-"+o]={pattern:/(^$)/i,lookbehind:!0,inside:n.languages[o]},l.cdata=/^$/i;var s={"included-cdata":{pattern://i,inside:l}};s["language-"+o]={pattern:/[\s\S]+/,inside:n.languages[o]};var c={};c[a]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return a}),"i"),lookbehind:!0,greedy:!0,inside:s},n.languages.insertBefore("markup","cdata",c)},"addInlined")}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:u(function(a,o){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+a+")"+/\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:[o,"language-"+o],inside:n.languages[o]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})},"value")}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml}u(r,"markup")}),tv=$((e,t)=>{t.exports=r,r.displayName="css",r.aliases=[];function r(n){(function(a){var o=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;a.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+o.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+o.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+o.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:o,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},a.languages.css.atrule.inside.rest=a.languages.css;var l=a.languages.markup;l&&(l.tag.addInlined("style","css"),l.tag.addAttribute("style","css"))})(n)}u(r,"css")}),PE=$((e,t)=>{t.exports=r,r.displayName="clike",r.aliases=[];function r(n){n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}u(r,"clike")}),NE=$((e,t)=>{t.exports=r,r.displayName="javascript",r.aliases=["js"];function r(n){n.languages.javascript=n.languages.extend("clike",{"class-name":[n.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}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.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:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.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:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.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:n.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"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.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")),n.languages.js=n.languages.javascript}u(r,"javascript")}),HE=$((e,t)=>{var r=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},n=S();r.Prism={manual:!0,disableWorkerMessageHandler:!0};var a=BE(),o=ME(),l=OE(),s=ev(),c=tv(),d=PE(),f=NE();n();var g={}.hasOwnProperty;function p(){}u(p,"Refractor"),p.prototype=l;var h=new p;t.exports=h,h.highlight=b,h.register=v,h.alias=y,h.registered=C,h.listLanguages=D,v(s),v(c),v(d),v(f),h.util.encode=x,h.Token.stringify=E;function v(A){if(typeof A!="function"||!A.displayName)throw new Error("Expected `function` for `grammar`, got `"+A+"`");h.languages[A.displayName]===void 0&&A(h)}u(v,"register");function y(A,B){var _=h.languages,I=A,z,T,M,L;B&&(I={},I[A]=B);for(z in I)for(T=I[z],T=typeof T=="string"?[T]:T,M=T.length,L=-1;++L{fE(),Vo=me(HE()),Uo=W4(Vo.default,{}),Uo.registerLanguage=function(e,t){return Vo.default.register(t)},Uo.alias=function(e,t){return Vo.default.alias(e,t)},wl=Uo}),$E=R(()=>{O4()}),VE=$((e,t)=>{t.exports=r,r.displayName="bash",r.aliases=["shell"];function r(n){(function(a){var o="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",l={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},s={bash:l,environment:{pattern:RegExp("\\$"+o),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+o),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};a.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+o),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:s},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:l}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:s},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:s.entity}}],environment:{pattern:RegExp("\\$?"+o),alias:"constant"},variable:s.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},l.inside=a.languages.bash;for(var c=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],d=s.variable[1].inside,f=0;f{Jp=me(VE()),rv=Jp.default}),Xp,nv,qE=R(()=>{Xp=me(tv()),nv=Xp.default}),WE=$((e,t)=>{t.exports=r,r.displayName="graphql",r.aliases=[];function r(n){n.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:n.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+/},n.hooks.add("after-tokenize",u(function(a){if(a.language!=="graphql")return;var o=a.tokens.filter(function(D){return typeof D!="string"&&D.type!=="comment"&&D.type!=="scalar"}),l=0;function s(D){return o[l+D]}u(s,"getToken");function c(D,E){E=E||0;for(var w=0;w0)){var y=d(/^\{$/,/^\}$/);if(y===-1)continue;for(var b=l;b=0&&f(C,"variable-input")}}}}},"afterTokenizeGraphql"))}u(r,"graphql")}),Qp,av,GE=R(()=>{Qp=me(WE()),av=Qp.default}),KE=$((e,t)=>{t.exports=r,r.displayName="jsExtras",r.aliases=[];function r(n){(function(a){a.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+a.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),a.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+a.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),a.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"}]});function o(g,p){return RegExp(g.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),p)}u(o,"withId"),a.languages.insertBefore("javascript","keyword",{imports:{pattern:o(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:a.languages.javascript},exports:{pattern:o(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:a.languages.javascript}}),a.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"}),a.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),a.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:o(/(\.\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 l=["function","function-variable","method","method-variable","property-access"],s=0;s{ef=me(KE()),ov=ef.default}),ZE=$((e,t)=>{t.exports=r,r.displayName="json",r.aliases=["webmanifest"];function r(n){n.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},n.languages.webmanifest=n.languages.json}u(r,"json")}),tf,lv,JE=R(()=>{tf=me(ZE()),lv=tf.default}),iv=$((e,t)=>{t.exports=r,r.displayName="jsx",r.aliases=[];function r(n){(function(a){var o=a.util.clone(a.languages.javascript),l=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,s=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,c=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function d(p,h){return p=p.replace(//g,function(){return l}).replace(//g,function(){return s}).replace(//g,function(){return c}),RegExp(p,h)}u(d,"re"),c=d(c).source,a.languages.jsx=a.languages.extend("markup",o),a.languages.jsx.tag.pattern=d(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),a.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,a.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,a.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,a.languages.jsx.tag.inside.comment=o.comment,a.languages.insertBefore("inside","attr-name",{spread:{pattern:d(//.source),inside:a.languages.jsx}},a.languages.jsx.tag),a.languages.insertBefore("inside","special-attr",{script:{pattern:d(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:a.languages.jsx}}},a.languages.jsx.tag);var f=u(function(p){return p?typeof p=="string"?p:typeof p.content=="string"?p.content:p.content.map(f).join(""):""},"stringifyToken"),g=u(function(p){for(var h=[],v=0;v0&&h[h.length-1].tagName===f(y.content[0].content[1])&&h.pop():y.content[y.content.length-1].content==="/>"||h.push({tagName:f(y.content[0].content[1]),openedBraces:0}):h.length>0&&y.type==="punctuation"&&y.content==="{"?h[h.length-1].openedBraces++:h.length>0&&h[h.length-1].openedBraces>0&&y.type==="punctuation"&&y.content==="}"?h[h.length-1].openedBraces--:b=!0),(b||typeof y=="string")&&h.length>0&&h[h.length-1].openedBraces===0){var C=f(y);v0&&(typeof p[v-1]=="string"||p[v-1].type==="plain-text")&&(C=f(p[v-1])+C,p.splice(v-1,1),v--),p[v]=new a.Token("plain-text",C,null,C)}y.content&&typeof y.content!="string"&&g(y.content)}},"walkTokens");a.hooks.add("after-tokenize",function(p){p.language!=="jsx"&&p.language!=="tsx"||g(p.tokens)})})(n)}u(r,"jsx")}),rf,uv,XE=R(()=>{rf=me(iv()),uv=rf.default}),QE=$((e,t)=>{t.exports=r,r.displayName="markdown",r.aliases=["md"];function r(n){(function(a){var o=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function l(v){return v=v.replace(//g,function(){return o}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+v+")")}u(l,"createInline");var s=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,c=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return s}),d=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;a.languages.markdown=a.languages.extend("markup",{}),a.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:a.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+c+d+"(?:"+c+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+c+d+")(?:"+c+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(s),inside:a.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+c+")"+d+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+c+"$"),inside:{"table-header":{pattern:RegExp(s),alias:"important",inside:a.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:l(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:l(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:l(/(~~?)(?:(?!~))+\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:l(/!?\[(?:(?!\]))+\](?:\([^\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(v){["url","bold","italic","strike","code-snippet"].forEach(function(y){v!==y&&(a.languages.markdown[v].inside.content.inside[y]=a.languages.markdown[y])})}),a.hooks.add("after-tokenize",function(v){if(v.language!=="markdown"&&v.language!=="md")return;function y(b){if(!(!b||typeof b=="string"))for(var C=0,D=b.length;C",quot:'"'},p=String.fromCodePoint||String.fromCharCode;function h(v){var y=v.replace(f,"");return y=y.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(b,C){if(C=C.toLowerCase(),C[0]==="#"){var D;return C[1]==="x"?D=parseInt(C.slice(2),16):D=Number(C.slice(1)),p(D)}else{var E=g[C];return E||b}}),y}u(h,"textContent"),a.languages.md=a.languages.markdown})(n)}u(r,"markdown")}),nf,sv,eC=R(()=>{nf=me(QE()),sv=nf.default}),af,cv,tC=R(()=>{af=me(ev()),cv=af.default}),dv=$((e,t)=>{t.exports=r,r.displayName="typescript",r.aliases=["ts"];function r(n){(function(a){a.languages.typescript=a.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/}),a.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 a.languages.typescript.parameter,delete a.languages.typescript["literal-property"];var o=a.languages.extend("typescript",{});delete o["class-name"],a.languages.typescript["class-name"].inside=o,a.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:o}}}}),a.languages.ts=a.languages.typescript})(n)}u(r,"typescript")}),rC=$((e,t)=>{var r=iv(),n=dv();t.exports=a,a.displayName="tsx",a.aliases=[];function a(o){o.register(r),o.register(n),function(l){var s=l.util.clone(l.languages.typescript);l.languages.tsx=l.languages.extend("jsx",s),delete l.languages.tsx.parameter,delete l.languages.tsx["literal-property"];var c=l.languages.tsx.tag;c.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+c.pattern.source+")",c.pattern.flags),c.lookbehind=!0}(o)}u(a,"tsx")}),of,pv,nC=R(()=>{of=me(rC()),pv=of.default}),lf,fv,aC=R(()=>{lf=me(dv()),fv=lf.default}),oC=$((e,t)=>{t.exports=r,r.displayName="yaml",r.aliases=["yml"];function r(n){(function(a){var o=/[*&][^\s[\]{},]+/,l=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,s="(?:"+l.source+"(?:[ ]+"+o.source+")?|"+o.source+"(?:[ ]+"+l.source+")?)",c=/(?:[^\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}),d=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function f(g,p){p=(p||"").replace(/m/g,"")+"m";var h=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return s}).replace(/<>/g,function(){return g});return RegExp(h,p)}u(f,"createValuePattern"),a.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return s})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return s}).replace(/<>/g,function(){return"(?:"+c+"|"+d+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:f(/\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:f(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:f(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:f(d),lookbehind:!0,greedy:!0},number:{pattern:f(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:l,important:o,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},a.languages.yml=a.languages.yaml})(n)}u(r,"yaml")}),uf,hv,lC=R(()=>{uf=me(oC()),hv=uf.default}),sf,bu,Si,mv=R(()=>{sf=k.div(({theme:e})=>({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:e.background.content,zIndex:1})),bu=k.button(({theme:e})=>({margin:0,border:"0 none",padding:"4px 10px",cursor:"pointer",display:"flex",alignItems:"center",color:e.color.defaultText,background:e.background.content,fontSize:12,lineHeight:"16px",fontFamily:e.typography.fonts.base,fontWeight:e.typography.weight.bold,borderTop:`1px solid ${e.appBorderColor}`,borderLeft:`1px solid ${e.appBorderColor}`,marginLeft:-1,borderRadius:"4px 0 0 0","&:not(:last-child)":{borderRight:`1px solid ${e.appBorderColor}`},"& + *":{borderLeft:`1px solid ${e.appBorderColor}`,borderRadius:0},"&:focus":{boxShadow:`${e.color.secondary} 0 -3px 0 0 inset`,outline:"0 none"}}),({disabled:e})=>e&&{cursor:"not-allowed",opacity:.5}),bu.displayName="ActionButton",Si=u(({actionItems:e,...t})=>m.createElement(sf,{...t},e.map(({title:r,className:n,onClick:a,disabled:o},l)=>m.createElement(bu,{key:l,className:n,onClick:a,disabled:!!o},r))),"ActionBar")});function gv(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Hd(...e){return t=>e.forEach(r=>gv(r,t))}function Se(...e){return i.useCallback(Hd(...e),e)}var Gr=R(()=>{u(gv,"setRef"),u(Hd,"composeRefs"),u(Se,"useComposedRefs")});function cf(e){return i.isValidElement(e)&&e.type===vv}function df(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...l)=>{o(...l),a(...l)}:a&&(r[n]=a):n==="style"?r[n]={...a,...o}:n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}function pf(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Za,qo,vv,jd=R(()=>{Gr(),Za=i.forwardRef((e,t)=>{let{children:r,...n}=e,a=i.Children.toArray(r),o=a.find(cf);if(o){let l=o.props.children,s=a.map(c=>c===o?i.Children.count(l)>1?i.Children.only(null):i.isValidElement(l)?l.props.children:null:c);return P.jsx(qo,{...n,ref:t,children:i.isValidElement(l)?i.cloneElement(l,void 0,s):null})}return P.jsx(qo,{...n,ref:t,children:r})}),Za.displayName="Slot",qo=i.forwardRef((e,t)=>{let{children:r,...n}=e;if(i.isValidElement(r)){let a=pf(r);return i.cloneElement(r,{...df(n,r.props),ref:t?Hd(t,a):a})}return i.Children.count(r)>1?i.Children.only(null):null}),qo.displayName="SlotClone",vv=u(({children:e})=>P.jsx(P.Fragment,{children:e}),"Slottable"),u(cf,"isSlottable"),u(df,"mergeProps"),u(pf,"getElementRef")});function yv(e,t){e&&kd.flushSync(()=>e.dispatchEvent(t))}var ff,Ae,mo=R(()=>{jd(),ff=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Ae=ff.reduce((e,t)=>{let r=i.forwardRef((n,a)=>{let{asChild:o,...l}=n,s=o?Za:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),P.jsx(s,{...l,ref:a})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),u(yv,"dispatchDiscreteCustomEvent")}),ar,go=R(()=>{ar=globalThis!=null&&globalThis.document?i.useLayoutEffect:()=>{}});function wv(e,t){return i.useReducer((r,n)=>t[r][n]??r,e)}function hf(e){let[t,r]=i.useState(),n=i.useRef({}),a=i.useRef(e),o=i.useRef("none"),l=e?"mounted":"unmounted",[s,c]=wv(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{let d=ka(n.current);o.current=s==="mounted"?d:"none"},[s]),ar(()=>{let d=n.current,f=a.current;if(f!==e){let g=o.current,p=ka(d);e?c("MOUNT"):p==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(f&&g!==p?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,c]),ar(()=>{if(t){let d=u(g=>{let p=ka(n.current).includes(g.animationName);g.target===t&&p&&kd.flushSync(()=>c("ANIMATION_END"))},"handleAnimationEnd"),f=u(g=>{g.target===t&&(o.current=ka(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:i.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}function ka(e){return(e==null?void 0:e.animationName)||"none"}function mf(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var En,iC=R(()=>{"use client";Gr(),go(),u(wv,"useStateMachine"),En=u(e=>{let{present:t,children:r}=e,n=hf(t),a=typeof r=="function"?r({present:n.isPresent}):i.Children.only(r),o=Se(n.ref,mf(a));return typeof r=="function"||n.isPresent?i.cloneElement(a,{ref:o}):null},"Presence"),En.displayName="Presence",u(hf,"usePresence"),u(ka,"getAnimationName"),u(mf,"getElementRef")});function bv(e,t=[]){let r=[];function n(o,l){let s=i.createContext(l),c=r.length;r=[...r,l];function d(g){let{scope:p,children:h,...v}=g,y=(p==null?void 0:p[e][c])||s,b=i.useMemo(()=>v,Object.values(v));return P.jsx(y.Provider,{value:b,children:h})}u(d,"Provider");function f(g,p){let h=(p==null?void 0:p[e][c])||s,v=i.useContext(h);if(v)return v;if(l!==void 0)return l;throw new Error(`\`${g}\` must be used within \`${o}\``)}return u(f,"useContext2"),d.displayName=o+"Provider",[d,f]}u(n,"createContext3");let a=u(()=>{let o=r.map(l=>i.createContext(l));return u(function(l){let s=(l==null?void 0:l[e])||o;return i.useMemo(()=>({[`__scope${e}`]:{...l,[e]:s}}),[l,s])},"useScope")},"createScope");return a.scopeName=e,[n,Dv(a,...t)]}function Dv(...e){let t=e[0];if(e.length===1)return t;let r=u(()=>{let n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return u(function(a){let o=n.reduce((l,{useScope:s,scopeName:c})=>{let d=s(a)[`__scope${c}`];return{...l,...d}},{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope");return r.scopeName=t.scopeName,r}var uC=R(()=>{u(bv,"createContextScope"),u(Dv,"composeContextScopes")});function ke(e){let t=i.useRef(e);return i.useEffect(()=>{t.current=e}),i.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}var vo=R(()=>{u(ke,"useCallbackRef")});function Ev(e){let t=i.useContext(Cv);return e||t||"ltr"}var Cv,sC=R(()=>{Cv=i.createContext(void 0),u(Ev,"useDirection")});function xv(e,[t,r]){return Math.min(r,Math.max(t,e))}var cC=R(()=>{u(xv,"clamp")});function De(e,t,{checkForDefaultPrevented:r=!0}={}){return u(function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)},"handleEvent")}var $d=R(()=>{u(De,"composeEventHandlers")});function gf(e,t){return i.useReducer((r,n)=>t[r][n]??r,e)}function ca(e){return e?parseInt(e,10):0}function Wc(e,t){let r=e/t;return isNaN(r)?0:r}function ja(e){let t=Wc(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function vf(e,t,r,n="ltr"){let a=ja(r),o=a/2,l=t||o,s=a-l,c=r.scrollbar.paddingStart+l,d=r.scrollbar.size-r.scrollbar.paddingEnd-s,f=r.content-r.viewport,g=n==="ltr"?[0,f]:[f*-1,0];return Vd([c,d],g)(e)}function Du(e,t,r="ltr"){let n=ja(t),a=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,o=t.scrollbar.size-a,l=t.content-t.viewport,s=o-n,c=r==="ltr"?[0,l]:[l*-1,0],d=xv(e,c);return Vd([0,l],[0,s])(d)}function Vd(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function Eu(e,t){return e>0&&e()=>window.clearTimeout(n.current),[]),i.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function br(e,t){let r=ke(t);ar(()=>{let n=0;if(e){let a=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return a.observe(e),()=>{window.cancelAnimationFrame(n),a.unobserve(e)}}},[e,r])}function yf(e,t){let{asChild:r,children:n}=e;if(!r)return typeof t=="function"?t(n):t;let a=i.Children.only(n);return i.cloneElement(a,{children:typeof t=="function"?t(a.props.children):t})}var Wo,Cu,dC,wf,Me,xu,Fu,Su,Ye,Au,bf,Df,ku,Go,Ef,Cf,xf,Bu,_u,pa,Iu,Ff,Ko,Ru,Sf,Af,Fv,Sv,Av,kv,Bv,pC=R(()=>{"use client";mo(),iC(),uC(),Gr(),vo(),sC(),go(),cC(),$d(),u(gf,"useStateMachine"),Wo="ScrollArea",[Cu,dC]=bv(Wo),[wf,Me]=Cu(Wo),xu=i.forwardRef((e,t)=>{let{__scopeScrollArea:r,type:n="hover",dir:a,scrollHideDelay:o=600,...l}=e,[s,c]=i.useState(null),[d,f]=i.useState(null),[g,p]=i.useState(null),[h,v]=i.useState(null),[y,b]=i.useState(null),[C,D]=i.useState(0),[E,w]=i.useState(0),[x,F]=i.useState(!1),[S,A]=i.useState(!1),B=Se(t,I=>c(I)),_=Ev(a);return P.jsx(wf,{scope:r,type:n,dir:_,scrollHideDelay:o,scrollArea:s,viewport:d,onViewportChange:f,content:g,onContentChange:p,scrollbarX:h,onScrollbarXChange:v,scrollbarXEnabled:x,onScrollbarXEnabledChange:F,scrollbarY:y,onScrollbarYChange:b,scrollbarYEnabled:S,onScrollbarYEnabledChange:A,onCornerWidthChange:D,onCornerHeightChange:w,children:P.jsx(Ae.div,{dir:_,...l,ref:B,style:{position:"relative","--radix-scroll-area-corner-width":C+"px","--radix-scroll-area-corner-height":E+"px",...e.style}})})}),xu.displayName=Wo,Fu="ScrollAreaViewport",Su=i.forwardRef((e,t)=>{let{__scopeScrollArea:r,children:n,asChild:a,nonce:o,...l}=e,s=Me(Fu,r),c=i.useRef(null),d=Se(t,c,s.onViewportChange);return P.jsxs(P.Fragment,{children:[P.jsx("style",{dangerouslySetInnerHTML:{__html:` +`)};if(_===0){var T=f.slice(p+1,h).concat(Ha({children:[z],className:x.properties.className})),M=b(T,I);g.push(M)}else if(_===A.length-1){var L=f[h+1]&&f[h+1].children&&f[h+1].children[0],O={type:"text",value:"".concat(B)};if(L){var j=Ha({children:[O],className:x.properties.className});f.splice(h+1,0,j)}else{var V=[O],U=b(V,I,x.properties.className);g.push(U)}}else{var G=[z],Z=b(G,I,x.properties.className);g.push(Z)}}),p=h}h++},"_loop");h{aE(),uE(),Rv(),Ov(),pE(),Gv=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"],s(qc,"ownKeys"),s(Xe,"_objectSpread"),Kv=/\n/g,s(Nv,"getNewLines"),s(Hv,"getAllLineNumbers"),s(jv,"AllLineNumbers"),s($v,"getEmWidthOfNumber"),s(Td,"getInlineLineNumber"),s(Ld,"assembleLineNumberStyles"),s(Ha,"createLineElement"),s(Md,"flattenCodeTree"),s(Vv,"processLines"),s(Uv,"defaultRenderer"),s(Od,"isHighlightJs"),s(qv,"getCodeTree"),s(Wv,"default")}),hE=$((e,t)=>{t.exports=n;var r=Object.prototype.hasOwnProperty;function n(){for(var a={},o=0;o{t.exports=n;var r=n.prototype;r.space=null,r.normal={},r.property={};function n(a,o,l){this.property=a,this.normal=o,l&&(this.space=l)}s(n,"Schema")}),mE=$((e,t)=>{var r=hE(),n=Yv();t.exports=a;function a(o){for(var l=o.length,u=[],c=[],d=-1,f,g;++d{t.exports=r;function r(n){return n.toLowerCase()}s(r,"normalize")}),Zv=$((e,t)=>{t.exports=n;var r=n.prototype;r.space=null,r.attribute=null,r.property=null,r.boolean=!1,r.booleanish=!1,r.overloadedBoolean=!1,r.number=!1,r.commaSeparated=!1,r.spaceSeparated=!1,r.commaOrSpaceSeparated=!1,r.mustUseProperty=!1,r.defined=!1;function n(a,o){this.property=a,this.attribute=o}s(n,"Info")}),Nd=$(e=>{var t=0;e.boolean=r(),e.booleanish=r(),e.overloadedBoolean=r(),e.number=r(),e.spaceSeparated=r(),e.commaSeparated=r(),e.commaOrSpaceSeparated=r();function r(){return Math.pow(2,++t)}s(r,"increment")}),Jv=$((e,t)=>{var r=Zv(),n=Nd();t.exports=l,l.prototype=new r,l.prototype.defined=!0;var a=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=a.length;function l(c,d,f,g){var p=-1,h;for(u(this,"space",g),r.call(this,c,d);++p{var r=Pd(),n=Yv(),a=Jv();t.exports=o;function o(l){var u=l.space,c=l.mustUseProperty||[],d=l.attributes||{},f=l.properties,g=l.transform,p={},h={},v,y;for(v in f)y=new a(v,g(d,v),f[v],u),c.indexOf(v)!==-1&&(y.mustUseProperty=!0),p[v]=y,h[r(v)]=v,h[r(y.attribute)]=v;return new n(p,h,u)}s(o,"create")}),gE=$((e,t)=>{var r=ho();t.exports=r({space:"xlink",transform:n,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function n(a,o){return"xlink:"+o.slice(5).toLowerCase()}s(n,"xlinkTransform")}),vE=$((e,t)=>{var r=ho();t.exports=r({space:"xml",transform:n,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function n(a,o){return"xml:"+o.slice(3).toLowerCase()}s(n,"xmlTransform")}),yE=$((e,t)=>{t.exports=r;function r(n,a){return a in n?n[a]:a}s(r,"caseSensitiveTransform")}),Xv=$((e,t)=>{var r=yE();t.exports=n;function n(a,o){return r(a,o.toLowerCase())}s(n,"caseInsensitiveTransform")}),wE=$((e,t)=>{var r=ho(),n=Xv();t.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:n,properties:{xmlns:null,xmlnsXLink:null}})}),bE=$((e,t)=>{var r=Nd(),n=ho(),a=r.booleanish,o=r.number,l=r.spaceSeparated;t.exports=n({transform:u,properties:{ariaActiveDescendant:null,ariaAtomic:a,ariaAutoComplete:null,ariaBusy:a,ariaChecked:a,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:l,ariaCurrent:null,ariaDescribedBy:l,ariaDetails:null,ariaDisabled:a,ariaDropEffect:l,ariaErrorMessage:null,ariaExpanded:a,ariaFlowTo:l,ariaGrabbed:a,ariaHasPopup:null,ariaHidden:a,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:l,ariaLevel:o,ariaLive:null,ariaModal:a,ariaMultiLine:a,ariaMultiSelectable:a,ariaOrientation:null,ariaOwns:l,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:a,ariaReadOnly:a,ariaRelevant:null,ariaRequired:a,ariaRoleDescription:l,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:a,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}});function u(c,d){return d==="role"?d:"aria-"+d.slice(4).toLowerCase()}s(u,"ariaTransform")}),DE=$((e,t)=>{var r=Nd(),n=ho(),a=Xv(),o=r.boolean,l=r.overloadedBoolean,u=r.booleanish,c=r.number,d=r.spaceSeparated,f=r.commaSeparated;t.exports=n({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:a,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:f,acceptCharset:d,accessKey:d,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:d,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:d,cols:c,colSpan:null,content:null,contentEditable:u,controls:o,controlsList:d,coords:c|f,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:l,draggable:u,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:d,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:d,httpEquiv:d,id:null,imageSizes:null,imageSrcSet:f,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:d,itemRef:d,itemScope:o,itemType:d,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:o,low:c,manifest:null,max:null,maxLength:c,media:null,method:null,min:null,minLength:c,multiple:o,muted:o,name:null,nonce:null,noModule:o,noValidate:o,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:o,optimum:c,pattern:null,ping:d,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:d,required:o,reversed:o,rows:c,rowSpan:c,sandbox:d,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:f,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:u,width:c,wrap:null,align:null,aLink:null,archive:d,axis:null,background:null,bgColor:null,border:c,borderColor:null,bottomMargin:c,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:o,declare:o,event:null,face:null,frame:null,frameBorder:null,hSpace:c,leftMargin:c,link:null,longDesc:null,lowSrc:null,marginHeight:c,marginWidth:c,noResize:o,noHref:o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:c,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:c,valueType:null,version:null,vAlign:null,vLink:null,vSpace:c,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:c,security:null,unselectable:null}})}),EE=$((e,t)=>{var r=mE(),n=gE(),a=vE(),o=wE(),l=bE(),u=DE();t.exports=r([a,n,o,l,u])}),CE=$((e,t)=>{var r=Pd(),n=Jv(),a=Zv(),o="data";t.exports=d;var l=/^data[-\w.:]+$/i,u=/-[a-z]/g,c=/[A-Z]/g;function d(v,y){var b=r(y),C=y,D=a;return b in v.normal?v.property[v.normal[b]]:(b.length>4&&b.slice(0,4)===o&&l.test(y)&&(y.charAt(4)==="-"?C=f(y):y=g(y),D=n),new D(C,y))}s(d,"find");function f(v){var y=v.slice(5).replace(u,h);return o+y.charAt(0).toUpperCase()+y.slice(1)}s(f,"datasetToProperty");function g(v){var y=v.slice(4);return u.test(y)?v:(y=y.replace(c,p),y.charAt(0)!=="-"&&(y="-"+y),o+y)}s(g,"datasetToAttribute");function p(v){return"-"+v.toLowerCase()}s(p,"kebab");function h(v){return v.charAt(1).toUpperCase()}s(h,"camelcase")}),xE=$((e,t)=>{t.exports=n;var r=/[#.]/g;function n(a,o){for(var l=a||"",u=o||"div",c={},d=0,f,g,p;d{e.parse=a,e.stringify=o;var t="",r=" ",n=/[ \t\n\r\f]+/g;function a(l){var u=String(l||t).trim();return u===t?[]:u.split(n)}s(a,"parse");function o(l){return l.join(r).trim()}s(o,"stringify")}),SE=$(e=>{e.parse=a,e.stringify=o;var t=",",r=" ",n="";function a(l){for(var u=[],c=String(l||n),d=c.indexOf(t),f=0,g=!1,p;!g;)d===-1&&(d=c.length,g=!0),p=c.slice(f,d).trim(),(p||!g)&&u.push(p),f=d+1,d=c.indexOf(t,f);return u}s(a,"parse");function o(l,u){var c=u||{},d=c.padLeft===!1?n:r,f=c.padRight?r:n;return l[l.length-1]===n&&(l=l.concat(n)),l.join(f+t+d).trim()}s(o,"stringify")}),AE=$((e,t)=>{var r=CE(),n=Pd(),a=xE(),o=FE().parse,l=SE().parse;t.exports=c;var u={}.hasOwnProperty;function c(b,C,D){var E=D?y(D):null;return w;function w(F,S){var A=a(F,C),B=Array.prototype.slice.call(arguments,2),_=A.tagName.toLowerCase(),I;if(A.tagName=E&&u.call(E,_)?E[_]:_,S&&d(S,A)&&(B.unshift(S),S=null),S)for(I in S)x(A.properties,I,S[I]);return g(A.children,B),A.tagName==="template"&&(A.content={type:"root",children:A.children},A.children=[]),A}function x(F,S,A){var B,_,I;A==null||A!==A||(B=r(b,S),_=B.property,I=A,typeof I=="string"&&(B.spaceSeparated?I=o(I):B.commaSeparated?I=l(I):B.commaOrSpaceSeparated&&(I=o(l(I).join(" ")))),_==="style"&&typeof A!="string"&&(I=v(I)),_==="className"&&F.className&&(I=F.className.concat(I)),F[_]=p(B,_,I))}}s(c,"factory");function d(b,C){return typeof b=="string"||"length"in b||f(C.tagName,b)}s(d,"isChildren");function f(b,C){var D=C.type;return b==="input"||!D||typeof D!="string"?!1:typeof C.children=="object"&&"length"in C.children?!0:(D=D.toLowerCase(),b==="button"?D!=="menu"&&D!=="submit"&&D!=="reset"&&D!=="button":"value"in C)}s(f,"isNode");function g(b,C){var D,E;if(typeof C=="string"||typeof C=="number"){b.push({type:"text",value:String(C)});return}if(typeof C=="object"&&"length"in C){for(D=-1,E=C.length;++D{var r=EE(),n=AE(),a=n(r,"div");a.displayName="html",t.exports=a}),BE=$((e,t)=>{t.exports=kE()}),_E=$((e,t)=>{t.exports={AElig:"Æ",AMP:"&",Aacute:"Á",Acirc:"Â",Agrave:"À",Aring:"Å",Atilde:"Ã",Auml:"Ä",COPY:"©",Ccedil:"Ç",ETH:"Ð",Eacute:"É",Ecirc:"Ê",Egrave:"È",Euml:"Ë",GT:">",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"}}),IE=$((e,t)=>{t.exports={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"}}),Qv=$((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=48&&a<=57}s(r,"decimal")}),RE=$((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=97&&a<=102||a>=65&&a<=70||a>=48&&a<=57}s(r,"hexadecimal")}),zE=$((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=97&&a<=122||a>=65&&a<=90}s(r,"alphabetical")}),TE=$((e,t)=>{var r=zE(),n=Qv();t.exports=a;function a(o){return r(o)||n(o)}s(a,"alphanumerical")}),LE=$((e,t)=>{var r,n=59;t.exports=a;function a(o){var l="&"+o+";",u;return r=r||document.createElement("i"),r.innerHTML=l,u=r.textContent,u.charCodeAt(u.length-1)===n&&o!=="semi"||u===l?!1:u}s(a,"decodeEntity")}),ME=$((e,t)=>{var r=_E(),n=IE(),a=Qv(),o=RE(),l=TE(),u=LE();t.exports=Z;var c={}.hasOwnProperty,d=String.fromCharCode,f=Function.prototype,g={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p=9,h=10,v=12,y=32,b=38,C=59,D=60,E=61,w=35,x=88,F=120,S=65533,A="named",B="hexadecimal",_="decimal",I={};I[B]=16,I[_]=10;var z={};z[A]=l,z[_]=a,z[B]=o;var T=1,M=2,L=3,O=4,j=5,V=6,U=7,G={};G[T]="Named character references must be terminated by a semicolon",G[M]="Numeric character references must be terminated by a semicolon",G[L]="Named character references cannot be empty",G[O]="Numeric character references cannot be empty",G[j]="Named character references must be known",G[V]="Numeric character references cannot be disallowed",G[U]="Numeric character references cannot be outside the permissible Unicode range";function Z(N,K){var J={},ge,Le;K||(K={});for(Le in g)ge=K[Le],J[Le]=ge??g[Le];return(J.position.indent||J.position.start)&&(J.indent=J.position.indent||[],J.position=J.position.start),re(N,J)}s(Z,"parseEntities");function re(N,K){var J=K.additional,ge=K.nonTerminated,Le=K.text,mr=K.reference,dt=K.warning,Gt=K.textContext,nn=K.referenceContext,gr=K.warningContext,oa=K.position,Oo=K.indent||[],an=N.length,pt=0,Po=-1,Ee=oa.column||1,vr=oa.line||1,ft="",on=[],ht,ln,mt,ve,Ke,de,oe,gt,No,vs,yr,la,wr,zt,Vp,ia,Ho,vt,pe;for(typeof J=="string"&&(J=J.charCodeAt(0)),ia=sa(),gt=dt?F8:f,pt--,an++;++pt65535&&(de-=65536,vs+=d(de>>>10|55296),de=56320|de&1023),de=vs+d(de))):zt!==A&>(O,vt)),de?(Up(),ia=sa(),pt=pe-1,Ee+=pe-wr+1,on.push(de),Ho=sa(),Ho.offset++,mr&&mr.call(nn,de,{start:ia,end:Ho},N.slice(wr-1,pe)),ia=Ho):(ve=N.slice(wr-1,pe),ft+=ve,Ee+=ve.length,pt=pe-1)}else Ke===10&&(vr++,Po++,Ee=0),Ke===Ke?(ft+=d(Ke),Ee++):Up();return on.join("");function sa(){return{line:vr,column:Ee,offset:pt+(oa.offset||0)}}function F8(qp,Wp){var ys=sa();ys.column+=Wp,ys.offset+=Wp,dt.call(gr,G[qp],ys,qp)}function Up(){ft&&(on.push(ft),Le&&Le.call(Gt,ft,{start:ia,end:sa()}),ft="")}}s(re,"parse");function Y(N){return N>=55296&&N<=57343||N>1114111}s(Y,"prohibited");function ae(N){return N>=1&&N<=8||N===11||N>=13&&N<=31||N>=127&&N<=159||N>=64976&&N<=65007||(N&65535)===65535||(N&65535)===65534}s(ae,"disallowed")}),OE=$((e,t)=>{var r=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},n=function(a){var o=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,l=0,u={},c={manual:a.Prism&&a.Prism.manual,disableWorkerMessageHandler:a.Prism&&a.Prism.disableWorkerMessageHandler,util:{encode:s(function E(w){return w instanceof d?new d(w.type,E(w.content),w.alias):Array.isArray(w)?w.map(E):w.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(F){var E=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(F.stack)||[])[1];if(E){var w=document.getElementsByTagName("script");for(var x in w)if(w[x].src==E)return w[x]}return null}},"currentScript"),isActive:s(function(E,w,x){for(var F="no-"+w;E;){var S=E.classList;if(S.contains(w))return!0;if(S.contains(F))return!1;E=E.parentElement}return!!x},"isActive")},languages:{plain:u,plaintext:u,text:u,txt:u,extend:s(function(E,w){var x=c.util.clone(c.languages[E]);for(var F in w)x[F]=w[F];return x},"extend"),insertBefore:s(function(E,w,x,F){F=F||c.languages;var S=F[E],A={};for(var B in S)if(S.hasOwnProperty(B)){if(B==w)for(var _ in x)x.hasOwnProperty(_)&&(A[_]=x[_]);x.hasOwnProperty(B)||(A[B]=S[B])}var I=F[E];return F[E]=A,c.languages.DFS(c.languages,function(z,T){T===I&&z!=E&&(this[z]=A)}),A},"insertBefore"),DFS:s(function E(w,x,F,S){S=S||{};var A=c.util.objId;for(var B in w)if(w.hasOwnProperty(B)){x.call(w,B,w[B],F||B);var _=w[B],I=c.util.type(_);I==="Object"&&!S[A(_)]?(S[A(_)]=!0,E(_,x,null,S)):I==="Array"&&!S[A(_)]&&(S[A(_)]=!0,E(_,x,B,S))}},"DFS")},plugins:{},highlightAll:s(function(E,w){c.highlightAllUnder(document,E,w)},"highlightAll"),highlightAllUnder:s(function(E,w,x){var F={callback:x,container:E,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};c.hooks.run("before-highlightall",F),F.elements=Array.prototype.slice.apply(F.container.querySelectorAll(F.selector)),c.hooks.run("before-all-elements-highlight",F);for(var S=0,A;A=F.elements[S++];)c.highlightElement(A,w===!0,F.callback)},"highlightAllUnder"),highlightElement:s(function(E,w,x){var F=c.util.getLanguage(E),S=c.languages[F];c.util.setLanguage(E,F);var A=E.parentElement;A&&A.nodeName.toLowerCase()==="pre"&&c.util.setLanguage(A,F);var B=E.textContent,_={element:E,language:F,grammar:S,code:B};function I(T){_.highlightedCode=T,c.hooks.run("before-insert",_),_.element.innerHTML=_.highlightedCode,c.hooks.run("after-highlight",_),c.hooks.run("complete",_),x&&x.call(_.element)}if(s(I,"insertHighlightedCode"),c.hooks.run("before-sanity-check",_),A=_.element.parentElement,A&&A.nodeName.toLowerCase()==="pre"&&!A.hasAttribute("tabindex")&&A.setAttribute("tabindex","0"),!_.code){c.hooks.run("complete",_),x&&x.call(_.element);return}if(c.hooks.run("before-highlight",_),!_.grammar){I(c.util.encode(_.code));return}if(w&&a.Worker){var z=new Worker(c.filename);z.onmessage=function(T){I(T.data)},z.postMessage(JSON.stringify({language:_.language,code:_.code,immediateClose:!0}))}else I(c.highlight(_.code,_.grammar,_.language))},"highlightElement"),highlight:s(function(E,w,x){var F={code:E,grammar:w,language:x};if(c.hooks.run("before-tokenize",F),!F.grammar)throw new Error('The language "'+F.language+'" has no grammar.');return F.tokens=c.tokenize(F.code,F.grammar),c.hooks.run("after-tokenize",F),d.stringify(c.util.encode(F.tokens),F.language)},"highlight"),tokenize:s(function(E,w){var x=w.rest;if(x){for(var F in x)w[F]=x[F];delete w.rest}var S=new p;return h(S,S.head,E),g(E,S,w,S.head,0),y(S)},"tokenize"),hooks:{all:{},add:s(function(E,w){var x=c.hooks.all;x[E]=x[E]||[],x[E].push(w)},"add"),run:s(function(E,w){var x=c.hooks.all[E];if(!(!x||!x.length))for(var F=0,S;S=x[F++];)S(w)},"run")},Token:d};a.Prism=c;function d(E,w,x,F){this.type=E,this.content=w,this.alias=x,this.length=(F||"").length|0}s(d,"Token"),d.stringify=s(function E(w,x){if(typeof w=="string")return w;if(Array.isArray(w)){var F="";return w.forEach(function(I){F+=E(I,x)}),F}var S={type:w.type,content:E(w.content,x),tag:"span",classes:["token",w.type],attributes:{},language:x},A=w.alias;A&&(Array.isArray(A)?Array.prototype.push.apply(S.classes,A):S.classes.push(A)),c.hooks.run("wrap",S);var B="";for(var _ in S.attributes)B+=" "+_+'="'+(S.attributes[_]||"").replace(/"/g,""")+'"';return"<"+S.tag+' class="'+S.classes.join(" ")+'"'+B+">"+S.content+""},"stringify");function f(E,w,x,F){E.lastIndex=w;var S=E.exec(x);if(S&&F&&S[1]){var A=S[1].length;S.index+=A,S[0]=S[0].slice(A)}return S}s(f,"matchPattern");function g(E,w,x,F,S,A){for(var B in x)if(!(!x.hasOwnProperty(B)||!x[B])){var _=x[B];_=Array.isArray(_)?_:[_];for(var I=0;I<_.length;++I){if(A&&A.cause==B+","+I)return;var z=_[I],T=z.inside,M=!!z.lookbehind,L=!!z.greedy,O=z.alias;if(L&&!z.pattern.global){var j=z.pattern.toString().match(/[imsuy]*$/)[0];z.pattern=RegExp(z.pattern.source,j+"g")}for(var V=z.pattern||z,U=F.next,G=S;U!==w.tail&&!(A&&G>=A.reach);G+=U.value.length,U=U.next){var Z=U.value;if(w.length>E.length)return;if(!(Z instanceof d)){var re=1,Y;if(L){if(Y=f(V,G,E,M),!Y||Y.index>=E.length)break;var J=Y.index,ae=Y.index+Y[0].length,N=G;for(N+=U.value.length;J>=N;)U=U.next,N+=U.value.length;if(N-=U.value.length,G=N,U.value instanceof d)continue;for(var K=U;K!==w.tail&&(NA.reach&&(A.reach=dt);var Gt=U.prev;Le&&(Gt=h(w,Gt,Le),G+=Le.length),v(w,Gt,re);var nn=new d(B,T?c.tokenize(ge,T):ge,O,ge);if(U=h(w,Gt,nn),mr&&h(w,U,mr),re>1){var gr={cause:B+","+I,reach:dt};g(E,w,x,U.prev,G,gr),A&&gr.reach>A.reach&&(A.reach=gr.reach)}}}}}}s(g,"matchGrammar");function p(){var E={value:null,prev:null,next:null},w={value:null,prev:E,next:null};E.next=w,this.head=E,this.tail=w,this.length=0}s(p,"LinkedList");function h(E,w,x){var F=w.next,S={value:x,prev:w,next:F};return w.next=S,F.prev=S,E.length++,S}s(h,"addAfter");function v(E,w,x){for(var F=w.next,S=0;S{t.exports=r,r.displayName="markup",r.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function r(n){n.languages.markup={comment:{pattern://,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"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(a){a.type==="entity"&&(a.attributes.title=a.content.value.replace(/&/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:s(function(a,o){var l={};l["language-"+o]={pattern:/(^$)/i,lookbehind:!0,inside:n.languages[o]},l.cdata=/^$/i;var u={"included-cdata":{pattern://i,inside:l}};u["language-"+o]={pattern:/[\s\S]+/,inside:n.languages[o]};var c={};c[a]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return a}),"i"),lookbehind:!0,greedy:!0,inside:u},n.languages.insertBefore("markup","cdata",c)},"addInlined")}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:s(function(a,o){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+a+")"+/\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:[o,"language-"+o],inside:n.languages[o]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})},"value")}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml}s(r,"markup")}),t4=$((e,t)=>{t.exports=r,r.displayName="css",r.aliases=[];function r(n){(function(a){var o=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;a.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+o.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+o.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+o.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:o,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},a.languages.css.atrule.inside.rest=a.languages.css;var l=a.languages.markup;l&&(l.tag.addInlined("style","css"),l.tag.addAttribute("style","css"))})(n)}s(r,"css")}),PE=$((e,t)=>{t.exports=r,r.displayName="clike",r.aliases=[];function r(n){n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}s(r,"clike")}),NE=$((e,t)=>{t.exports=r,r.displayName="javascript",r.aliases=["js"];function r(n){n.languages.javascript=n.languages.extend("clike",{"class-name":[n.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}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.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:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.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:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.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:n.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"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.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")),n.languages.js=n.languages.javascript}s(r,"javascript")}),HE=$((e,t)=>{var r=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},n=S();r.Prism={manual:!0,disableWorkerMessageHandler:!0};var a=BE(),o=ME(),l=OE(),u=e4(),c=t4(),d=PE(),f=NE();n();var g={}.hasOwnProperty;function p(){}s(p,"Refractor"),p.prototype=l;var h=new p;t.exports=h,h.highlight=b,h.register=v,h.alias=y,h.registered=C,h.listLanguages=D,v(u),v(c),v(d),v(f),h.util.encode=x,h.Token.stringify=E;function v(A){if(typeof A!="function"||!A.displayName)throw new Error("Expected `function` for `grammar`, got `"+A+"`");h.languages[A.displayName]===void 0&&A(h)}s(v,"register");function y(A,B){var _=h.languages,I=A,z,T,M,L;B&&(I={},I[A]=B);for(z in I)for(T=I[z],T=typeof T=="string"?[T]:T,M=T.length,L=-1;++L{fE(),Vo=me(HE()),Uo=Wv(Vo.default,{}),Uo.registerLanguage=function(e,t){return Vo.default.register(t)},Uo.alias=function(e,t){return Vo.default.alias(e,t)},wl=Uo}),$E=R(()=>{Ov()}),VE=$((e,t)=>{t.exports=r,r.displayName="bash",r.aliases=["shell"];function r(n){(function(a){var o="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",l={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},u={bash:l,environment:{pattern:RegExp("\\$"+o),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+o),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};a.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+o),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:u},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:l}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:u},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:u.entity}}],environment:{pattern:RegExp("\\$?"+o),alias:"constant"},variable:u.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},l.inside=a.languages.bash;for(var c=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],d=u.variable[1].inside,f=0;f{Jp=me(VE()),r4=Jp.default}),Xp,n4,qE=R(()=>{Xp=me(t4()),n4=Xp.default}),WE=$((e,t)=>{t.exports=r,r.displayName="graphql",r.aliases=[];function r(n){n.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:n.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+/},n.hooks.add("after-tokenize",s(function(a){if(a.language!=="graphql")return;var o=a.tokens.filter(function(D){return typeof D!="string"&&D.type!=="comment"&&D.type!=="scalar"}),l=0;function u(D){return o[l+D]}s(u,"getToken");function c(D,E){E=E||0;for(var w=0;w0)){var y=d(/^\{$/,/^\}$/);if(y===-1)continue;for(var b=l;b=0&&f(C,"variable-input")}}}}},"afterTokenizeGraphql"))}s(r,"graphql")}),Qp,a4,GE=R(()=>{Qp=me(WE()),a4=Qp.default}),KE=$((e,t)=>{t.exports=r,r.displayName="jsExtras",r.aliases=[];function r(n){(function(a){a.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+a.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),a.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+a.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),a.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"}]});function o(g,p){return RegExp(g.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),p)}s(o,"withId"),a.languages.insertBefore("javascript","keyword",{imports:{pattern:o(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:a.languages.javascript},exports:{pattern:o(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:a.languages.javascript}}),a.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"}),a.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),a.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:o(/(\.\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 l=["function","function-variable","method","method-variable","property-access"],u=0;u{ef=me(KE()),o4=ef.default}),ZE=$((e,t)=>{t.exports=r,r.displayName="json",r.aliases=["webmanifest"];function r(n){n.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},n.languages.webmanifest=n.languages.json}s(r,"json")}),tf,l4,JE=R(()=>{tf=me(ZE()),l4=tf.default}),i4=$((e,t)=>{t.exports=r,r.displayName="jsx",r.aliases=[];function r(n){(function(a){var o=a.util.clone(a.languages.javascript),l=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,u=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,c=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function d(p,h){return p=p.replace(//g,function(){return l}).replace(//g,function(){return u}).replace(//g,function(){return c}),RegExp(p,h)}s(d,"re"),c=d(c).source,a.languages.jsx=a.languages.extend("markup",o),a.languages.jsx.tag.pattern=d(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),a.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,a.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,a.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,a.languages.jsx.tag.inside.comment=o.comment,a.languages.insertBefore("inside","attr-name",{spread:{pattern:d(//.source),inside:a.languages.jsx}},a.languages.jsx.tag),a.languages.insertBefore("inside","special-attr",{script:{pattern:d(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:a.languages.jsx}}},a.languages.jsx.tag);var f=s(function(p){return p?typeof p=="string"?p:typeof p.content=="string"?p.content:p.content.map(f).join(""):""},"stringifyToken"),g=s(function(p){for(var h=[],v=0;v0&&h[h.length-1].tagName===f(y.content[0].content[1])&&h.pop():y.content[y.content.length-1].content==="/>"||h.push({tagName:f(y.content[0].content[1]),openedBraces:0}):h.length>0&&y.type==="punctuation"&&y.content==="{"?h[h.length-1].openedBraces++:h.length>0&&h[h.length-1].openedBraces>0&&y.type==="punctuation"&&y.content==="}"?h[h.length-1].openedBraces--:b=!0),(b||typeof y=="string")&&h.length>0&&h[h.length-1].openedBraces===0){var C=f(y);v0&&(typeof p[v-1]=="string"||p[v-1].type==="plain-text")&&(C=f(p[v-1])+C,p.splice(v-1,1),v--),p[v]=new a.Token("plain-text",C,null,C)}y.content&&typeof y.content!="string"&&g(y.content)}},"walkTokens");a.hooks.add("after-tokenize",function(p){p.language!=="jsx"&&p.language!=="tsx"||g(p.tokens)})})(n)}s(r,"jsx")}),rf,s4,XE=R(()=>{rf=me(i4()),s4=rf.default}),QE=$((e,t)=>{t.exports=r,r.displayName="markdown",r.aliases=["md"];function r(n){(function(a){var o=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function l(v){return v=v.replace(//g,function(){return o}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+v+")")}s(l,"createInline");var u=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,c=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return u}),d=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;a.languages.markdown=a.languages.extend("markup",{}),a.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:a.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+c+d+"(?:"+c+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+c+d+")(?:"+c+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(u),inside:a.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+c+")"+d+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+c+"$"),inside:{"table-header":{pattern:RegExp(u),alias:"important",inside:a.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:l(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:l(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:l(/(~~?)(?:(?!~))+\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:l(/!?\[(?:(?!\]))+\](?:\([^\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(v){["url","bold","italic","strike","code-snippet"].forEach(function(y){v!==y&&(a.languages.markdown[v].inside.content.inside[y]=a.languages.markdown[y])})}),a.hooks.add("after-tokenize",function(v){if(v.language!=="markdown"&&v.language!=="md")return;function y(b){if(!(!b||typeof b=="string"))for(var C=0,D=b.length;C",quot:'"'},p=String.fromCodePoint||String.fromCharCode;function h(v){var y=v.replace(f,"");return y=y.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(b,C){if(C=C.toLowerCase(),C[0]==="#"){var D;return C[1]==="x"?D=parseInt(C.slice(2),16):D=Number(C.slice(1)),p(D)}else{var E=g[C];return E||b}}),y}s(h,"textContent"),a.languages.md=a.languages.markdown})(n)}s(r,"markdown")}),nf,u4,eC=R(()=>{nf=me(QE()),u4=nf.default}),af,c4,tC=R(()=>{af=me(e4()),c4=af.default}),d4=$((e,t)=>{t.exports=r,r.displayName="typescript",r.aliases=["ts"];function r(n){(function(a){a.languages.typescript=a.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/}),a.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 a.languages.typescript.parameter,delete a.languages.typescript["literal-property"];var o=a.languages.extend("typescript",{});delete o["class-name"],a.languages.typescript["class-name"].inside=o,a.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:o}}}}),a.languages.ts=a.languages.typescript})(n)}s(r,"typescript")}),rC=$((e,t)=>{var r=i4(),n=d4();t.exports=a,a.displayName="tsx",a.aliases=[];function a(o){o.register(r),o.register(n),function(l){var u=l.util.clone(l.languages.typescript);l.languages.tsx=l.languages.extend("jsx",u),delete l.languages.tsx.parameter,delete l.languages.tsx["literal-property"];var c=l.languages.tsx.tag;c.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+c.pattern.source+")",c.pattern.flags),c.lookbehind=!0}(o)}s(a,"tsx")}),of,p4,nC=R(()=>{of=me(rC()),p4=of.default}),lf,f4,aC=R(()=>{lf=me(d4()),f4=lf.default}),oC=$((e,t)=>{t.exports=r,r.displayName="yaml",r.aliases=["yml"];function r(n){(function(a){var o=/[*&][^\s[\]{},]+/,l=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,u="(?:"+l.source+"(?:[ ]+"+o.source+")?|"+o.source+"(?:[ ]+"+l.source+")?)",c=/(?:[^\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}),d=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function f(g,p){p=(p||"").replace(/m/g,"")+"m";var h=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return u}).replace(/<>/g,function(){return g});return RegExp(h,p)}s(f,"createValuePattern"),a.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return u})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return u}).replace(/<>/g,function(){return"(?:"+c+"|"+d+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:f(/\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:f(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:f(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:f(d),lookbehind:!0,greedy:!0},number:{pattern:f(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:l,important:o,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},a.languages.yml=a.languages.yaml})(n)}s(r,"yaml")}),sf,h4,lC=R(()=>{sf=me(oC()),h4=sf.default}),uf,bs,Si,m4=R(()=>{uf=k.div(({theme:e})=>({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:e.background.content,zIndex:1})),bs=k.button(({theme:e})=>({margin:0,border:"0 none",padding:"4px 10px",cursor:"pointer",display:"flex",alignItems:"center",color:e.color.defaultText,background:e.background.content,fontSize:12,lineHeight:"16px",fontFamily:e.typography.fonts.base,fontWeight:e.typography.weight.bold,borderTop:`1px solid ${e.appBorderColor}`,borderLeft:`1px solid ${e.appBorderColor}`,marginLeft:-1,borderRadius:"4px 0 0 0","&:not(:last-child)":{borderRight:`1px solid ${e.appBorderColor}`},"& + *":{borderLeft:`1px solid ${e.appBorderColor}`,borderRadius:0},"&:focus":{boxShadow:`${e.color.secondary} 0 -3px 0 0 inset`,outline:"0 none"}}),({disabled:e})=>e&&{cursor:"not-allowed",opacity:.5}),bs.displayName="ActionButton",Si=s(({actionItems:e,...t})=>m.createElement(uf,{...t},e.map(({title:r,className:n,onClick:a,disabled:o},l)=>m.createElement(bs,{key:l,className:n,onClick:a,disabled:!!o},r))),"ActionBar")});function g4(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Hd(...e){return t=>e.forEach(r=>g4(r,t))}function Se(...e){return i.useCallback(Hd(...e),e)}var Gr=R(()=>{s(g4,"setRef"),s(Hd,"composeRefs"),s(Se,"useComposedRefs")});function cf(e){return i.isValidElement(e)&&e.type===v4}function df(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...l)=>{o(...l),a(...l)}:a&&(r[n]=a):n==="style"?r[n]={...a,...o}:n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}function pf(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Za,qo,v4,jd=R(()=>{Gr(),Za=i.forwardRef((e,t)=>{let{children:r,...n}=e,a=i.Children.toArray(r),o=a.find(cf);if(o){let l=o.props.children,u=a.map(c=>c===o?i.Children.count(l)>1?i.Children.only(null):i.isValidElement(l)?l.props.children:null:c);return P.jsx(qo,{...n,ref:t,children:i.isValidElement(l)?i.cloneElement(l,void 0,u):null})}return P.jsx(qo,{...n,ref:t,children:r})}),Za.displayName="Slot",qo=i.forwardRef((e,t)=>{let{children:r,...n}=e;if(i.isValidElement(r)){let a=pf(r);return i.cloneElement(r,{...df(n,r.props),ref:t?Hd(t,a):a})}return i.Children.count(r)>1?i.Children.only(null):null}),qo.displayName="SlotClone",v4=s(({children:e})=>P.jsx(P.Fragment,{children:e}),"Slottable"),s(cf,"isSlottable"),s(df,"mergeProps"),s(pf,"getElementRef")});function y4(e,t){e&&kd.flushSync(()=>e.dispatchEvent(t))}var ff,Ae,mo=R(()=>{jd(),ff=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Ae=ff.reduce((e,t)=>{let r=i.forwardRef((n,a)=>{let{asChild:o,...l}=n,u=o?Za:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),P.jsx(u,{...l,ref:a})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),s(y4,"dispatchDiscreteCustomEvent")}),ar,go=R(()=>{ar=globalThis!=null&&globalThis.document?i.useLayoutEffect:()=>{}});function w4(e,t){return i.useReducer((r,n)=>t[r][n]??r,e)}function hf(e){let[t,r]=i.useState(),n=i.useRef({}),a=i.useRef(e),o=i.useRef("none"),l=e?"mounted":"unmounted",[u,c]=w4(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{let d=ka(n.current);o.current=u==="mounted"?d:"none"},[u]),ar(()=>{let d=n.current,f=a.current;if(f!==e){let g=o.current,p=ka(d);e?c("MOUNT"):p==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(f&&g!==p?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,c]),ar(()=>{if(t){let d=s(g=>{let p=ka(n.current).includes(g.animationName);g.target===t&&p&&kd.flushSync(()=>c("ANIMATION_END"))},"handleAnimationEnd"),f=s(g=>{g.target===t&&(o.current=ka(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:i.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}function ka(e){return(e==null?void 0:e.animationName)||"none"}function mf(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var En,iC=R(()=>{"use client";Gr(),go(),s(w4,"useStateMachine"),En=s(e=>{let{present:t,children:r}=e,n=hf(t),a=typeof r=="function"?r({present:n.isPresent}):i.Children.only(r),o=Se(n.ref,mf(a));return typeof r=="function"||n.isPresent?i.cloneElement(a,{ref:o}):null},"Presence"),En.displayName="Presence",s(hf,"usePresence"),s(ka,"getAnimationName"),s(mf,"getElementRef")});function b4(e,t=[]){let r=[];function n(o,l){let u=i.createContext(l),c=r.length;r=[...r,l];function d(g){let{scope:p,children:h,...v}=g,y=(p==null?void 0:p[e][c])||u,b=i.useMemo(()=>v,Object.values(v));return P.jsx(y.Provider,{value:b,children:h})}s(d,"Provider");function f(g,p){let h=(p==null?void 0:p[e][c])||u,v=i.useContext(h);if(v)return v;if(l!==void 0)return l;throw new Error(`\`${g}\` must be used within \`${o}\``)}return s(f,"useContext2"),d.displayName=o+"Provider",[d,f]}s(n,"createContext3");let a=s(()=>{let o=r.map(l=>i.createContext(l));return s(function(l){let u=(l==null?void 0:l[e])||o;return i.useMemo(()=>({[`__scope${e}`]:{...l,[e]:u}}),[l,u])},"useScope")},"createScope");return a.scopeName=e,[n,D4(a,...t)]}function D4(...e){let t=e[0];if(e.length===1)return t;let r=s(()=>{let n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return s(function(a){let o=n.reduce((l,{useScope:u,scopeName:c})=>{let d=u(a)[`__scope${c}`];return{...l,...d}},{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope");return r.scopeName=t.scopeName,r}var sC=R(()=>{s(b4,"createContextScope"),s(D4,"composeContextScopes")});function ke(e){let t=i.useRef(e);return i.useEffect(()=>{t.current=e}),i.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}var vo=R(()=>{s(ke,"useCallbackRef")});function E4(e){let t=i.useContext(C4);return e||t||"ltr"}var C4,uC=R(()=>{C4=i.createContext(void 0),s(E4,"useDirection")});function x4(e,[t,r]){return Math.min(r,Math.max(t,e))}var cC=R(()=>{s(x4,"clamp")});function De(e,t,{checkForDefaultPrevented:r=!0}={}){return s(function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)},"handleEvent")}var $d=R(()=>{s(De,"composeEventHandlers")});function gf(e,t){return i.useReducer((r,n)=>t[r][n]??r,e)}function ca(e){return e?parseInt(e,10):0}function Wc(e,t){let r=e/t;return isNaN(r)?0:r}function ja(e){let t=Wc(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function vf(e,t,r,n="ltr"){let a=ja(r),o=a/2,l=t||o,u=a-l,c=r.scrollbar.paddingStart+l,d=r.scrollbar.size-r.scrollbar.paddingEnd-u,f=r.content-r.viewport,g=n==="ltr"?[0,f]:[f*-1,0];return Vd([c,d],g)(e)}function Ds(e,t,r="ltr"){let n=ja(t),a=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,o=t.scrollbar.size-a,l=t.content-t.viewport,u=o-n,c=r==="ltr"?[0,l]:[l*-1,0],d=x4(e,c);return Vd([0,l],[0,u])(d)}function Vd(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function Es(e,t){return e>0&&e()=>window.clearTimeout(n.current),[]),i.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function br(e,t){let r=ke(t);ar(()=>{let n=0;if(e){let a=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return a.observe(e),()=>{window.cancelAnimationFrame(n),a.unobserve(e)}}},[e,r])}function yf(e,t){let{asChild:r,children:n}=e;if(!r)return typeof t=="function"?t(n):t;let a=i.Children.only(n);return i.cloneElement(a,{children:typeof t=="function"?t(a.props.children):t})}var Wo,Cs,dC,wf,Me,xs,Fs,Ss,Ye,As,bf,Df,ks,Go,Ef,Cf,xf,Bs,_s,pa,Is,Ff,Ko,Rs,Sf,Af,F4,S4,A4,k4,B4,pC=R(()=>{"use client";mo(),iC(),sC(),Gr(),vo(),uC(),go(),cC(),$d(),s(gf,"useStateMachine"),Wo="ScrollArea",[Cs,dC]=b4(Wo),[wf,Me]=Cs(Wo),xs=i.forwardRef((e,t)=>{let{__scopeScrollArea:r,type:n="hover",dir:a,scrollHideDelay:o=600,...l}=e,[u,c]=i.useState(null),[d,f]=i.useState(null),[g,p]=i.useState(null),[h,v]=i.useState(null),[y,b]=i.useState(null),[C,D]=i.useState(0),[E,w]=i.useState(0),[x,F]=i.useState(!1),[S,A]=i.useState(!1),B=Se(t,I=>c(I)),_=E4(a);return P.jsx(wf,{scope:r,type:n,dir:_,scrollHideDelay:o,scrollArea:u,viewport:d,onViewportChange:f,content:g,onContentChange:p,scrollbarX:h,onScrollbarXChange:v,scrollbarXEnabled:x,onScrollbarXEnabledChange:F,scrollbarY:y,onScrollbarYChange:b,scrollbarYEnabled:S,onScrollbarYEnabledChange:A,onCornerWidthChange:D,onCornerHeightChange:w,children:P.jsx(Ae.div,{dir:_,...l,ref:B,style:{position:"relative","--radix-scroll-area-corner-width":C+"px","--radix-scroll-area-corner-height":E+"px",...e.style}})})}),xs.displayName=Wo,Fs="ScrollAreaViewport",Ss=i.forwardRef((e,t)=>{let{__scopeScrollArea:r,children:n,asChild:a,nonce:o,...l}=e,u=Me(Fs,r),c=i.useRef(null),d=Se(t,c,u.onViewportChange);return P.jsxs(P.Fragment,{children:[P.jsx("style",{dangerouslySetInnerHTML:{__html:` [data-radix-scroll-area-viewport] { scrollbar-width: none; -ms-overflow-style: none; @@ -21,29 +21,29 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho :where([data-radix-scroll-area-content]) { flex-grow: 1; } -`},nonce:o}),P.jsx(Ae.div,{"data-radix-scroll-area-viewport":"",...l,asChild:a,ref:d,style:{overflowX:s.scrollbarXEnabled?"scroll":"hidden",overflowY:s.scrollbarYEnabled?"scroll":"hidden",...e.style},children:yf({asChild:a,children:n},f=>P.jsx("div",{"data-radix-scroll-area-content":"",ref:s.onContentChange,style:{minWidth:s.scrollbarXEnabled?"fit-content":void 0},children:f}))})]})}),Su.displayName=Fu,Ye="ScrollAreaScrollbar",Au=i.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Me(Ye,e.__scopeScrollArea),{onScrollbarXEnabledChange:o,onScrollbarYEnabledChange:l}=a,s=e.orientation==="horizontal";return i.useEffect(()=>(s?o(!0):l(!0),()=>{s?o(!1):l(!1)}),[s,o,l]),a.type==="hover"?P.jsx(bf,{...n,ref:t,forceMount:r}):a.type==="scroll"?P.jsx(Df,{...n,ref:t,forceMount:r}):a.type==="auto"?P.jsx(ku,{...n,ref:t,forceMount:r}):a.type==="always"?P.jsx(Go,{...n,ref:t}):null}),Au.displayName=Ye,bf=i.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Me(Ye,e.__scopeScrollArea),[o,l]=i.useState(!1);return i.useEffect(()=>{let s=a.scrollArea,c=0;if(s){let d=u(()=>{window.clearTimeout(c),l(!0)},"handlePointerEnter"),f=u(()=>{c=window.setTimeout(()=>l(!1),a.scrollHideDelay)},"handlePointerLeave");return s.addEventListener("pointerenter",d),s.addEventListener("pointerleave",f),()=>{window.clearTimeout(c),s.removeEventListener("pointerenter",d),s.removeEventListener("pointerleave",f)}}},[a.scrollArea,a.scrollHideDelay]),P.jsx(En,{present:r||o,children:P.jsx(ku,{"data-state":o?"visible":"hidden",...n,ref:t})})}),Df=i.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Me(Ye,e.__scopeScrollArea),o=e.orientation==="horizontal",l=da(()=>c("SCROLL_END"),100),[s,c]=gf("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return i.useEffect(()=>{if(s==="idle"){let d=window.setTimeout(()=>c("HIDE"),a.scrollHideDelay);return()=>window.clearTimeout(d)}},[s,a.scrollHideDelay,c]),i.useEffect(()=>{let d=a.viewport,f=o?"scrollLeft":"scrollTop";if(d){let g=d[f],p=u(()=>{let h=d[f];g!==h&&(c("SCROLL"),l()),g=h},"handleScroll");return d.addEventListener("scroll",p),()=>d.removeEventListener("scroll",p)}},[a.viewport,o,c,l]),P.jsx(En,{present:r||s!=="hidden",children:P.jsx(Go,{"data-state":s==="hidden"?"hidden":"visible",...n,ref:t,onPointerEnter:De(e.onPointerEnter,()=>c("POINTER_ENTER")),onPointerLeave:De(e.onPointerLeave,()=>c("POINTER_LEAVE"))})})}),ku=i.forwardRef((e,t)=>{let r=Me(Ye,e.__scopeScrollArea),{forceMount:n,...a}=e,[o,l]=i.useState(!1),s=e.orientation==="horizontal",c=da(()=>{if(r.viewport){let d=r.viewport.offsetWidth{let{orientation:r="vertical",...n}=e,a=Me(Ye,e.__scopeScrollArea),o=i.useRef(null),l=i.useRef(0),[s,c]=i.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=Wc(s.viewport,s.content),f={...n,sizes:s,onSizesChange:c,hasThumb:d>0&&d<1,onThumbChange:u(p=>o.current=p,"onThumbChange"),onThumbPointerUp:u(()=>l.current=0,"onThumbPointerUp"),onThumbPointerDown:u(p=>l.current=p,"onThumbPointerDown")};function g(p,h){return vf(p,l.current,s,h)}return u(g,"getScrollPosition"),r==="horizontal"?P.jsx(Ef,{...f,ref:t,onThumbPositionChange:u(()=>{if(a.viewport&&o.current){let p=a.viewport.scrollLeft,h=Du(p,s,a.dir);o.current.style.transform=`translate3d(${h}px, 0, 0)`}},"onThumbPositionChange"),onWheelScroll:u(p=>{a.viewport&&(a.viewport.scrollLeft=p)},"onWheelScroll"),onDragScroll:u(p=>{a.viewport&&(a.viewport.scrollLeft=g(p,a.dir))},"onDragScroll")}):r==="vertical"?P.jsx(Cf,{...f,ref:t,onThumbPositionChange:u(()=>{if(a.viewport&&o.current){let p=a.viewport.scrollTop,h=Du(p,s);o.current.style.transform=`translate3d(0, ${h}px, 0)`}},"onThumbPositionChange"),onWheelScroll:u(p=>{a.viewport&&(a.viewport.scrollTop=p)},"onWheelScroll"),onDragScroll:u(p=>{a.viewport&&(a.viewport.scrollTop=g(p))},"onDragScroll")}):null}),Ef=i.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...a}=e,o=Me(Ye,e.__scopeScrollArea),[l,s]=i.useState(),c=i.useRef(null),d=Se(t,c,o.onScrollbarXChange);return i.useEffect(()=>{c.current&&s(getComputedStyle(c.current))},[c]),P.jsx(_u,{"data-orientation":"horizontal",...a,ref:d,sizes:r,style:{bottom:0,left:o.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:o.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":ja(r)+"px",...e.style},onThumbPointerDown:u(f=>e.onThumbPointerDown(f.x),"onThumbPointerDown"),onDragScroll:u(f=>e.onDragScroll(f.x),"onDragScroll"),onWheelScroll:u((f,g)=>{if(o.viewport){let p=o.viewport.scrollLeft+f.deltaX;e.onWheelScroll(p),Eu(p,g)&&f.preventDefault()}},"onWheelScroll"),onResize:u(()=>{c.current&&o.viewport&&l&&n({content:o.viewport.scrollWidth,viewport:o.viewport.offsetWidth,scrollbar:{size:c.current.clientWidth,paddingStart:ca(l.paddingLeft),paddingEnd:ca(l.paddingRight)}})},"onResize")})}),Cf=i.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...a}=e,o=Me(Ye,e.__scopeScrollArea),[l,s]=i.useState(),c=i.useRef(null),d=Se(t,c,o.onScrollbarYChange);return i.useEffect(()=>{c.current&&s(getComputedStyle(c.current))},[c]),P.jsx(_u,{"data-orientation":"vertical",...a,ref:d,sizes:r,style:{top:0,right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":ja(r)+"px",...e.style},onThumbPointerDown:u(f=>e.onThumbPointerDown(f.y),"onThumbPointerDown"),onDragScroll:u(f=>e.onDragScroll(f.y),"onDragScroll"),onWheelScroll:u((f,g)=>{if(o.viewport){let p=o.viewport.scrollTop+f.deltaY;e.onWheelScroll(p),Eu(p,g)&&f.preventDefault()}},"onWheelScroll"),onResize:u(()=>{c.current&&o.viewport&&l&&n({content:o.viewport.scrollHeight,viewport:o.viewport.offsetHeight,scrollbar:{size:c.current.clientHeight,paddingStart:ca(l.paddingTop),paddingEnd:ca(l.paddingBottom)}})},"onResize")})}),[xf,Bu]=Cu(Ye),_u=i.forwardRef((e,t)=>{let{__scopeScrollArea:r,sizes:n,hasThumb:a,onThumbChange:o,onThumbPointerUp:l,onThumbPointerDown:s,onThumbPositionChange:c,onDragScroll:d,onWheelScroll:f,onResize:g,...p}=e,h=Me(Ye,r),[v,y]=i.useState(null),b=Se(t,B=>y(B)),C=i.useRef(null),D=i.useRef(""),E=h.viewport,w=n.content-n.viewport,x=ke(f),F=ke(c),S=da(g,10);function A(B){if(C.current){let _=B.clientX-C.current.left,I=B.clientY-C.current.top;d({x:_,y:I})}}return u(A,"handleDragScroll"),i.useEffect(()=>{let B=u(_=>{let I=_.target;v!=null&&v.contains(I)&&x(_,w)},"handleWheel");return document.addEventListener("wheel",B,{passive:!1}),()=>document.removeEventListener("wheel",B,{passive:!1})},[E,v,w,x]),i.useEffect(F,[n,F]),br(v,S),br(h.content,S),P.jsx(xf,{scope:r,scrollbar:v,hasThumb:a,onThumbChange:ke(o),onThumbPointerUp:ke(l),onThumbPositionChange:F,onThumbPointerDown:ke(s),children:P.jsx(Ae.div,{...p,ref:b,style:{position:"absolute",...p.style},onPointerDown:De(e.onPointerDown,B=>{B.button===0&&(B.target.setPointerCapture(B.pointerId),C.current=v.getBoundingClientRect(),D.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",h.viewport&&(h.viewport.style.scrollBehavior="auto"),A(B))}),onPointerMove:De(e.onPointerMove,A),onPointerUp:De(e.onPointerUp,B=>{let _=B.target;_.hasPointerCapture(B.pointerId)&&_.releasePointerCapture(B.pointerId),document.body.style.webkitUserSelect=D.current,h.viewport&&(h.viewport.style.scrollBehavior=""),C.current=null})})})}),pa="ScrollAreaThumb",Iu=i.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Bu(pa,e.__scopeScrollArea);return P.jsx(En,{present:r||a.hasThumb,children:P.jsx(Ff,{ref:t,...n})})}),Ff=i.forwardRef((e,t)=>{let{__scopeScrollArea:r,style:n,...a}=e,o=Me(pa,r),l=Bu(pa,r),{onThumbPositionChange:s}=l,c=Se(t,g=>l.onThumbChange(g)),d=i.useRef(),f=da(()=>{d.current&&(d.current(),d.current=void 0)},100);return i.useEffect(()=>{let g=o.viewport;if(g){let p=u(()=>{if(f(),!d.current){let h=Af(g,s);d.current=h,s()}},"handleScroll");return s(),g.addEventListener("scroll",p),()=>g.removeEventListener("scroll",p)}},[o.viewport,f,s]),P.jsx(Ae.div,{"data-state":l.hasThumb?"visible":"hidden",...a,ref:c,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:De(e.onPointerDownCapture,g=>{let p=g.target.getBoundingClientRect(),h=g.clientX-p.left,v=g.clientY-p.top;l.onThumbPointerDown({x:h,y:v})}),onPointerUp:De(e.onPointerUp,l.onThumbPointerUp)})}),Iu.displayName=pa,Ko="ScrollAreaCorner",Ru=i.forwardRef((e,t)=>{let r=Me(Ko,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?P.jsx(Sf,{...e,ref:t}):null}),Ru.displayName=Ko,Sf=i.forwardRef((e,t)=>{let{__scopeScrollArea:r,...n}=e,a=Me(Ko,r),[o,l]=i.useState(0),[s,c]=i.useState(0),d=!!(o&&s);return br(a.scrollbarX,()=>{var g;let f=((g=a.scrollbarX)==null?void 0:g.offsetHeight)||0;a.onCornerHeightChange(f),c(f)}),br(a.scrollbarY,()=>{var g;let f=((g=a.scrollbarY)==null?void 0:g.offsetWidth)||0;a.onCornerWidthChange(f),l(f)}),d?P.jsx(Ae.div,{...n,ref:t,style:{width:o,height:s,position:"absolute",right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null}),u(ca,"toInt"),u(Wc,"getThumbRatio"),u(ja,"getThumbSize"),u(vf,"getScrollPositionFromPointer"),u(Du,"getThumbOffsetFromScroll"),u(Vd,"linearScale"),u(Eu,"isScrollingWithinScrollbarBounds"),Af=u((e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return u(function a(){let o={left:e.scrollLeft,top:e.scrollTop},l=r.left!==o.left,s=r.top!==o.top;(l||s)&&t(),r=o,n=window.requestAnimationFrame(a)},"loop")(),()=>window.cancelAnimationFrame(n)},"addUnlinkedScrollListener"),u(da,"useDebounceCallback"),u(br,"useResizeObserver"),u(yf,"getSubtree"),Fv=xu,Sv=Su,Av=Au,kv=Iu,Bv=Ru}),kf,Bf,zu,Tu,Ja,Ud=R(()=>{pC(),kf=k(Fv)(({scrollbarsize:e,offset:t})=>({width:"100%",height:"100%",overflow:"hidden","--scrollbar-size":`${e+t}px`,"--radix-scroll-area-thumb-width":`${e}px`})),Bf=k(Sv)({width:"100%",height:"100%"}),zu=k(Av)(({offset:e,horizontal:t,vertical:r})=>({display:"flex",userSelect:"none",touchAction:"none",background:"transparent",transition:"all 0.2s ease-out",borderRadius:"var(--scrollbar-size)",zIndex:1,'&[data-orientation="vertical"]':{width:"var(--scrollbar-size)",paddingRight:e,marginTop:e,marginBottom:t==="true"&&r==="true"?0:e},'&[data-orientation="horizontal"]':{flexDirection:"column",height:"var(--scrollbar-size)",paddingBottom:e,marginLeft:e,marginRight:t==="true"&&r==="true"?0:e}})),Tu=k(kv)(({theme:e})=>({flex:1,background:e.textMutedColor,opacity:.5,borderRadius:"var(--scrollbar-size)",position:"relative",transition:"opacity 0.2s ease-out","&:hover":{opacity:.8},"::before":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,-50%)",width:"100%",height:"100%"}})),Ja=i.forwardRef(({children:e,horizontal:t=!1,vertical:r=!1,offset:n=2,scrollbarSize:a=6,className:o},l)=>m.createElement(kf,{scrollbarsize:a,offset:n,className:o},m.createElement(Bf,{ref:l},e),t&&m.createElement(zu,{orientation:"horizontal",offset:n,horizontal:t.toString(),vertical:r.toString()},m.createElement(Tu,null)),r&&m.createElement(zu,{orientation:"vertical",offset:n,horizontal:t.toString(),vertical:r.toString()},m.createElement(Tu,null)),t&&r&&m.createElement(Bv,null))),Ja.displayName="ScrollArea"}),qd={};Kn(qd,{SyntaxHighlighter:()=>$a,createCopyToClipboardFunction:()=>Hl,default:()=>_v,supportedLanguages:()=>Gc});const{logger:fC}=__STORYBOOK_MODULE_CLIENT_LOGGER__;function Hl(){return Ba!=null&&Ba.clipboard?e=>Ba.clipboard.writeText(e):async e=>{let t=gn.createElement("TEXTAREA"),r=gn.activeElement;t.value=e,gn.body.appendChild(t),t.select(),gn.execCommand("copy"),gn.body.removeChild(t),r.focus()}}var _f,Ba,gn,If,Gc,Rf,zf,Tf,Lf,Mf,Of,Pf,Lu,Nf,Hf,$a,_v,Ai=R(()=>{Id(),_f=me(Ci(),1),$E(),UE(),qE(),GE(),YE(),JE(),XE(),eC(),tC(),nC(),aC(),lC(),jE(),mv(),Ud(),{navigator:Ba,document:gn,window:If}=Ei,Gc={jsextra:ov,jsx:uv,json:lv,yml:hv,md:sv,bash:rv,css:nv,html:cv,tsx:pv,typescript:fv,graphql:av},Object.entries(Gc).forEach(([e,t])=>{wl.registerLanguage(e,t)}),Rf=(0,_f.default)(2)(e=>Object.entries(e.code||{}).reduce((t,[r,n])=>({...t,[`* .${r}`]:n}),{})),zf=Hl(),u(Hl,"createCopyToClipboardFunction"),Tf=k.div(({theme:e})=>({position:"relative",overflow:"hidden",color:e.color.defaultText}),({theme:e,bordered:t})=>t?{border:`1px solid ${e.appBorderColor}`,borderRadius:e.borderRadius,background:e.background.content}:{},({showLineNumbers:e})=>e?{".react-syntax-highlighter-line-number::before":{content:"attr(data-line-number)"}}:{}),Lf=u(({children:e,className:t})=>m.createElement(Ja,{horizontal:!0,vertical:!0,className:t},e),"UnstyledScroller"),Mf=k(Lf)({position:"relative"},({theme:e})=>Rf(e)),Of=k.pre(({theme:e,padded:t})=>({display:"flex",justifyContent:"flex-start",margin:0,padding:t?e.layoutMargin:0})),Pf=k.div(({theme:e})=>({flex:1,paddingLeft:2,paddingRight:e.layoutMargin,opacity:1,fontFamily:e.typography.fonts.mono})),Lu=u(e=>{let t=[...e.children],r=t[0],n=r.children[0].value,a={...r,children:[],properties:{...r.properties,"data-line-number":n,style:{...r.properties.style,userSelect:"auto"}}};return t[0]=a,{...e,children:t}},"processLineNumber"),Nf=u(({rows:e,stylesheet:t,useInlineStyles:r})=>e.map((n,a)=>Fi({node:Lu(n),stylesheet:t,useInlineStyles:r,key:`code-segement${a}`})),"defaultRenderer"),Hf=u((e,t)=>t?e?({rows:r,...n})=>e({rows:r.map(a=>Lu(a)),...n}):Nf:e,"wrapRenderer"),$a=u(({children:e,language:t="jsx",copyable:r=!1,bordered:n=!1,padded:a=!1,format:o=!0,formatter:l=void 0,className:s=void 0,showLineNumbers:c=!1,...d})=>{if(typeof e!="string"||!e.trim())return null;let[f,g]=i.useState("");i.useEffect(()=>{l?l(o,e).then(g):g(e.trim())},[e,o,l]);let[p,h]=i.useState(!1),v=i.useCallback(b=>{b.preventDefault(),zf(f).then(()=>{h(!0),If.setTimeout(()=>h(!1),1500)}).catch(fC.error)},[f]),y=Hf(d.renderer,c);return m.createElement(Tf,{bordered:n,padded:a,showLineNumbers:c,className:s},m.createElement(Mf,null,m.createElement(wl,{padded:a||n,language:t,showLineNumbers:c,showInlineLineNumbers:c,useInlineStyles:!1,PreTag:Of,CodeTag:Pf,lineNumberContainerStyle:{},...d,renderer:y},f)),r?m.createElement(Si,{actionItems:[{title:p?"Copied":"Copy",onClick:v}]}):null)},"SyntaxHighlighter"),$a.registerLanguage=(...e)=>wl.registerLanguage(...e),_v=$a});function jf(e){if(typeof e=="string")return Li;if(Array.isArray(e))return Mi;if(!e)return;let{type:t}=e;if(f1.has(t))return t}function $f(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', +`},nonce:o}),P.jsx(Ae.div,{"data-radix-scroll-area-viewport":"",...l,asChild:a,ref:d,style:{overflowX:u.scrollbarXEnabled?"scroll":"hidden",overflowY:u.scrollbarYEnabled?"scroll":"hidden",...e.style},children:yf({asChild:a,children:n},f=>P.jsx("div",{"data-radix-scroll-area-content":"",ref:u.onContentChange,style:{minWidth:u.scrollbarXEnabled?"fit-content":void 0},children:f}))})]})}),Ss.displayName=Fs,Ye="ScrollAreaScrollbar",As=i.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Me(Ye,e.__scopeScrollArea),{onScrollbarXEnabledChange:o,onScrollbarYEnabledChange:l}=a,u=e.orientation==="horizontal";return i.useEffect(()=>(u?o(!0):l(!0),()=>{u?o(!1):l(!1)}),[u,o,l]),a.type==="hover"?P.jsx(bf,{...n,ref:t,forceMount:r}):a.type==="scroll"?P.jsx(Df,{...n,ref:t,forceMount:r}):a.type==="auto"?P.jsx(ks,{...n,ref:t,forceMount:r}):a.type==="always"?P.jsx(Go,{...n,ref:t}):null}),As.displayName=Ye,bf=i.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Me(Ye,e.__scopeScrollArea),[o,l]=i.useState(!1);return i.useEffect(()=>{let u=a.scrollArea,c=0;if(u){let d=s(()=>{window.clearTimeout(c),l(!0)},"handlePointerEnter"),f=s(()=>{c=window.setTimeout(()=>l(!1),a.scrollHideDelay)},"handlePointerLeave");return u.addEventListener("pointerenter",d),u.addEventListener("pointerleave",f),()=>{window.clearTimeout(c),u.removeEventListener("pointerenter",d),u.removeEventListener("pointerleave",f)}}},[a.scrollArea,a.scrollHideDelay]),P.jsx(En,{present:r||o,children:P.jsx(ks,{"data-state":o?"visible":"hidden",...n,ref:t})})}),Df=i.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Me(Ye,e.__scopeScrollArea),o=e.orientation==="horizontal",l=da(()=>c("SCROLL_END"),100),[u,c]=gf("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return i.useEffect(()=>{if(u==="idle"){let d=window.setTimeout(()=>c("HIDE"),a.scrollHideDelay);return()=>window.clearTimeout(d)}},[u,a.scrollHideDelay,c]),i.useEffect(()=>{let d=a.viewport,f=o?"scrollLeft":"scrollTop";if(d){let g=d[f],p=s(()=>{let h=d[f];g!==h&&(c("SCROLL"),l()),g=h},"handleScroll");return d.addEventListener("scroll",p),()=>d.removeEventListener("scroll",p)}},[a.viewport,o,c,l]),P.jsx(En,{present:r||u!=="hidden",children:P.jsx(Go,{"data-state":u==="hidden"?"hidden":"visible",...n,ref:t,onPointerEnter:De(e.onPointerEnter,()=>c("POINTER_ENTER")),onPointerLeave:De(e.onPointerLeave,()=>c("POINTER_LEAVE"))})})}),ks=i.forwardRef((e,t)=>{let r=Me(Ye,e.__scopeScrollArea),{forceMount:n,...a}=e,[o,l]=i.useState(!1),u=e.orientation==="horizontal",c=da(()=>{if(r.viewport){let d=r.viewport.offsetWidth{let{orientation:r="vertical",...n}=e,a=Me(Ye,e.__scopeScrollArea),o=i.useRef(null),l=i.useRef(0),[u,c]=i.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=Wc(u.viewport,u.content),f={...n,sizes:u,onSizesChange:c,hasThumb:d>0&&d<1,onThumbChange:s(p=>o.current=p,"onThumbChange"),onThumbPointerUp:s(()=>l.current=0,"onThumbPointerUp"),onThumbPointerDown:s(p=>l.current=p,"onThumbPointerDown")};function g(p,h){return vf(p,l.current,u,h)}return s(g,"getScrollPosition"),r==="horizontal"?P.jsx(Ef,{...f,ref:t,onThumbPositionChange:s(()=>{if(a.viewport&&o.current){let p=a.viewport.scrollLeft,h=Ds(p,u,a.dir);o.current.style.transform=`translate3d(${h}px, 0, 0)`}},"onThumbPositionChange"),onWheelScroll:s(p=>{a.viewport&&(a.viewport.scrollLeft=p)},"onWheelScroll"),onDragScroll:s(p=>{a.viewport&&(a.viewport.scrollLeft=g(p,a.dir))},"onDragScroll")}):r==="vertical"?P.jsx(Cf,{...f,ref:t,onThumbPositionChange:s(()=>{if(a.viewport&&o.current){let p=a.viewport.scrollTop,h=Ds(p,u);o.current.style.transform=`translate3d(0, ${h}px, 0)`}},"onThumbPositionChange"),onWheelScroll:s(p=>{a.viewport&&(a.viewport.scrollTop=p)},"onWheelScroll"),onDragScroll:s(p=>{a.viewport&&(a.viewport.scrollTop=g(p))},"onDragScroll")}):null}),Ef=i.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...a}=e,o=Me(Ye,e.__scopeScrollArea),[l,u]=i.useState(),c=i.useRef(null),d=Se(t,c,o.onScrollbarXChange);return i.useEffect(()=>{c.current&&u(getComputedStyle(c.current))},[c]),P.jsx(_s,{"data-orientation":"horizontal",...a,ref:d,sizes:r,style:{bottom:0,left:o.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:o.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":ja(r)+"px",...e.style},onThumbPointerDown:s(f=>e.onThumbPointerDown(f.x),"onThumbPointerDown"),onDragScroll:s(f=>e.onDragScroll(f.x),"onDragScroll"),onWheelScroll:s((f,g)=>{if(o.viewport){let p=o.viewport.scrollLeft+f.deltaX;e.onWheelScroll(p),Es(p,g)&&f.preventDefault()}},"onWheelScroll"),onResize:s(()=>{c.current&&o.viewport&&l&&n({content:o.viewport.scrollWidth,viewport:o.viewport.offsetWidth,scrollbar:{size:c.current.clientWidth,paddingStart:ca(l.paddingLeft),paddingEnd:ca(l.paddingRight)}})},"onResize")})}),Cf=i.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...a}=e,o=Me(Ye,e.__scopeScrollArea),[l,u]=i.useState(),c=i.useRef(null),d=Se(t,c,o.onScrollbarYChange);return i.useEffect(()=>{c.current&&u(getComputedStyle(c.current))},[c]),P.jsx(_s,{"data-orientation":"vertical",...a,ref:d,sizes:r,style:{top:0,right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":ja(r)+"px",...e.style},onThumbPointerDown:s(f=>e.onThumbPointerDown(f.y),"onThumbPointerDown"),onDragScroll:s(f=>e.onDragScroll(f.y),"onDragScroll"),onWheelScroll:s((f,g)=>{if(o.viewport){let p=o.viewport.scrollTop+f.deltaY;e.onWheelScroll(p),Es(p,g)&&f.preventDefault()}},"onWheelScroll"),onResize:s(()=>{c.current&&o.viewport&&l&&n({content:o.viewport.scrollHeight,viewport:o.viewport.offsetHeight,scrollbar:{size:c.current.clientHeight,paddingStart:ca(l.paddingTop),paddingEnd:ca(l.paddingBottom)}})},"onResize")})}),[xf,Bs]=Cs(Ye),_s=i.forwardRef((e,t)=>{let{__scopeScrollArea:r,sizes:n,hasThumb:a,onThumbChange:o,onThumbPointerUp:l,onThumbPointerDown:u,onThumbPositionChange:c,onDragScroll:d,onWheelScroll:f,onResize:g,...p}=e,h=Me(Ye,r),[v,y]=i.useState(null),b=Se(t,B=>y(B)),C=i.useRef(null),D=i.useRef(""),E=h.viewport,w=n.content-n.viewport,x=ke(f),F=ke(c),S=da(g,10);function A(B){if(C.current){let _=B.clientX-C.current.left,I=B.clientY-C.current.top;d({x:_,y:I})}}return s(A,"handleDragScroll"),i.useEffect(()=>{let B=s(_=>{let I=_.target;v!=null&&v.contains(I)&&x(_,w)},"handleWheel");return document.addEventListener("wheel",B,{passive:!1}),()=>document.removeEventListener("wheel",B,{passive:!1})},[E,v,w,x]),i.useEffect(F,[n,F]),br(v,S),br(h.content,S),P.jsx(xf,{scope:r,scrollbar:v,hasThumb:a,onThumbChange:ke(o),onThumbPointerUp:ke(l),onThumbPositionChange:F,onThumbPointerDown:ke(u),children:P.jsx(Ae.div,{...p,ref:b,style:{position:"absolute",...p.style},onPointerDown:De(e.onPointerDown,B=>{B.button===0&&(B.target.setPointerCapture(B.pointerId),C.current=v.getBoundingClientRect(),D.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",h.viewport&&(h.viewport.style.scrollBehavior="auto"),A(B))}),onPointerMove:De(e.onPointerMove,A),onPointerUp:De(e.onPointerUp,B=>{let _=B.target;_.hasPointerCapture(B.pointerId)&&_.releasePointerCapture(B.pointerId),document.body.style.webkitUserSelect=D.current,h.viewport&&(h.viewport.style.scrollBehavior=""),C.current=null})})})}),pa="ScrollAreaThumb",Is=i.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Bs(pa,e.__scopeScrollArea);return P.jsx(En,{present:r||a.hasThumb,children:P.jsx(Ff,{ref:t,...n})})}),Ff=i.forwardRef((e,t)=>{let{__scopeScrollArea:r,style:n,...a}=e,o=Me(pa,r),l=Bs(pa,r),{onThumbPositionChange:u}=l,c=Se(t,g=>l.onThumbChange(g)),d=i.useRef(),f=da(()=>{d.current&&(d.current(),d.current=void 0)},100);return i.useEffect(()=>{let g=o.viewport;if(g){let p=s(()=>{if(f(),!d.current){let h=Af(g,u);d.current=h,u()}},"handleScroll");return u(),g.addEventListener("scroll",p),()=>g.removeEventListener("scroll",p)}},[o.viewport,f,u]),P.jsx(Ae.div,{"data-state":l.hasThumb?"visible":"hidden",...a,ref:c,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:De(e.onPointerDownCapture,g=>{let p=g.target.getBoundingClientRect(),h=g.clientX-p.left,v=g.clientY-p.top;l.onThumbPointerDown({x:h,y:v})}),onPointerUp:De(e.onPointerUp,l.onThumbPointerUp)})}),Is.displayName=pa,Ko="ScrollAreaCorner",Rs=i.forwardRef((e,t)=>{let r=Me(Ko,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?P.jsx(Sf,{...e,ref:t}):null}),Rs.displayName=Ko,Sf=i.forwardRef((e,t)=>{let{__scopeScrollArea:r,...n}=e,a=Me(Ko,r),[o,l]=i.useState(0),[u,c]=i.useState(0),d=!!(o&&u);return br(a.scrollbarX,()=>{var g;let f=((g=a.scrollbarX)==null?void 0:g.offsetHeight)||0;a.onCornerHeightChange(f),c(f)}),br(a.scrollbarY,()=>{var g;let f=((g=a.scrollbarY)==null?void 0:g.offsetWidth)||0;a.onCornerWidthChange(f),l(f)}),d?P.jsx(Ae.div,{...n,ref:t,style:{width:o,height:u,position:"absolute",right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null}),s(ca,"toInt"),s(Wc,"getThumbRatio"),s(ja,"getThumbSize"),s(vf,"getScrollPositionFromPointer"),s(Ds,"getThumbOffsetFromScroll"),s(Vd,"linearScale"),s(Es,"isScrollingWithinScrollbarBounds"),Af=s((e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return s(function a(){let o={left:e.scrollLeft,top:e.scrollTop},l=r.left!==o.left,u=r.top!==o.top;(l||u)&&t(),r=o,n=window.requestAnimationFrame(a)},"loop")(),()=>window.cancelAnimationFrame(n)},"addUnlinkedScrollListener"),s(da,"useDebounceCallback"),s(br,"useResizeObserver"),s(yf,"getSubtree"),F4=xs,S4=Ss,A4=As,k4=Is,B4=Rs}),kf,Bf,zs,Ts,Ja,Ud=R(()=>{pC(),kf=k(F4)(({scrollbarsize:e,offset:t})=>({width:"100%",height:"100%",overflow:"hidden","--scrollbar-size":`${e+t}px`,"--radix-scroll-area-thumb-width":`${e}px`})),Bf=k(S4)({width:"100%",height:"100%"}),zs=k(A4)(({offset:e,horizontal:t,vertical:r})=>({display:"flex",userSelect:"none",touchAction:"none",background:"transparent",transition:"all 0.2s ease-out",borderRadius:"var(--scrollbar-size)",zIndex:1,'&[data-orientation="vertical"]':{width:"var(--scrollbar-size)",paddingRight:e,marginTop:e,marginBottom:t==="true"&&r==="true"?0:e},'&[data-orientation="horizontal"]':{flexDirection:"column",height:"var(--scrollbar-size)",paddingBottom:e,marginLeft:e,marginRight:t==="true"&&r==="true"?0:e}})),Ts=k(k4)(({theme:e})=>({flex:1,background:e.textMutedColor,opacity:.5,borderRadius:"var(--scrollbar-size)",position:"relative",transition:"opacity 0.2s ease-out","&:hover":{opacity:.8},"::before":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,-50%)",width:"100%",height:"100%"}})),Ja=i.forwardRef(({children:e,horizontal:t=!1,vertical:r=!1,offset:n=2,scrollbarSize:a=6,className:o},l)=>m.createElement(kf,{scrollbarsize:a,offset:n,className:o},m.createElement(Bf,{ref:l},e),t&&m.createElement(zs,{orientation:"horizontal",offset:n,horizontal:t.toString(),vertical:r.toString()},m.createElement(Ts,null)),r&&m.createElement(zs,{orientation:"vertical",offset:n,horizontal:t.toString(),vertical:r.toString()},m.createElement(Ts,null)),t&&r&&m.createElement(B4,null))),Ja.displayName="ScrollArea"}),qd={};Kn(qd,{SyntaxHighlighter:()=>$a,createCopyToClipboardFunction:()=>Hl,default:()=>_4,supportedLanguages:()=>Gc});const{logger:fC}=__STORYBOOK_MODULE_CLIENT_LOGGER__;function Hl(){return Ba!=null&&Ba.clipboard?e=>Ba.clipboard.writeText(e):async e=>{let t=gn.createElement("TEXTAREA"),r=gn.activeElement;t.value=e,gn.body.appendChild(t),t.select(),gn.execCommand("copy"),gn.body.removeChild(t),r.focus()}}var _f,Ba,gn,If,Gc,Rf,zf,Tf,Lf,Mf,Of,Pf,Ls,Nf,Hf,$a,_4,Ai=R(()=>{Id(),_f=me(Ci(),1),$E(),UE(),qE(),GE(),YE(),JE(),XE(),eC(),tC(),nC(),aC(),lC(),jE(),m4(),Ud(),{navigator:Ba,document:gn,window:If}=Ei,Gc={jsextra:o4,jsx:s4,json:l4,yml:h4,md:u4,bash:r4,css:n4,html:c4,tsx:p4,typescript:f4,graphql:a4},Object.entries(Gc).forEach(([e,t])=>{wl.registerLanguage(e,t)}),Rf=(0,_f.default)(2)(e=>Object.entries(e.code||{}).reduce((t,[r,n])=>({...t,[`* .${r}`]:n}),{})),zf=Hl(),s(Hl,"createCopyToClipboardFunction"),Tf=k.div(({theme:e})=>({position:"relative",overflow:"hidden",color:e.color.defaultText}),({theme:e,bordered:t})=>t?{border:`1px solid ${e.appBorderColor}`,borderRadius:e.borderRadius,background:e.background.content}:{},({showLineNumbers:e})=>e?{".react-syntax-highlighter-line-number::before":{content:"attr(data-line-number)"}}:{}),Lf=s(({children:e,className:t})=>m.createElement(Ja,{horizontal:!0,vertical:!0,className:t},e),"UnstyledScroller"),Mf=k(Lf)({position:"relative"},({theme:e})=>Rf(e)),Of=k.pre(({theme:e,padded:t})=>({display:"flex",justifyContent:"flex-start",margin:0,padding:t?e.layoutMargin:0})),Pf=k.div(({theme:e})=>({flex:1,paddingLeft:2,paddingRight:e.layoutMargin,opacity:1,fontFamily:e.typography.fonts.mono})),Ls=s(e=>{let t=[...e.children],r=t[0],n=r.children[0].value,a={...r,children:[],properties:{...r.properties,"data-line-number":n,style:{...r.properties.style,userSelect:"auto"}}};return t[0]=a,{...e,children:t}},"processLineNumber"),Nf=s(({rows:e,stylesheet:t,useInlineStyles:r})=>e.map((n,a)=>Fi({node:Ls(n),stylesheet:t,useInlineStyles:r,key:`code-segement${a}`})),"defaultRenderer"),Hf=s((e,t)=>t?e?({rows:r,...n})=>e({rows:r.map(a=>Ls(a)),...n}):Nf:e,"wrapRenderer"),$a=s(({children:e,language:t="jsx",copyable:r=!1,bordered:n=!1,padded:a=!1,format:o=!0,formatter:l=void 0,className:u=void 0,showLineNumbers:c=!1,...d})=>{if(typeof e!="string"||!e.trim())return null;let[f,g]=i.useState("");i.useEffect(()=>{l?l(o,e).then(g):g(e.trim())},[e,o,l]);let[p,h]=i.useState(!1),v=i.useCallback(b=>{b.preventDefault(),zf(f).then(()=>{h(!0),If.setTimeout(()=>h(!1),1500)}).catch(fC.error)},[f]),y=Hf(d.renderer,c);return m.createElement(Tf,{bordered:n,padded:a,showLineNumbers:c,className:u},m.createElement(Mf,null,m.createElement(wl,{padded:a||n,language:t,showLineNumbers:c,showInlineLineNumbers:c,useInlineStyles:!1,PreTag:Of,CodeTag:Pf,lineNumberContainerStyle:{},...d,renderer:y},f)),r?m.createElement(Si,{actionItems:[{title:p?"Copied":"Copy",onClick:v}]}):null)},"SyntaxHighlighter"),$a.registerLanguage=(...e)=>wl.registerLanguage(...e),_4=$a});function jf(e){if(typeof e=="string")return Li;if(Array.isArray(e))return Mi;if(!e)return;let{type:t}=e;if(f1.has(t))return t}function $f(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', Expected it to be 'string' or 'object'.`;if(Oi(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=P3([...f1].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'. -Expected it to be ${n}.`}function ut(e){return ur(e),{type:eo,contents:e}}function Wd(e,t){return ur(t),{type:to,contents:t,n:e}}function le(e,t={}){return ur(e),Pi(t.expandedStates,!0),{type:Nn,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function Iv(e){return Wd(Number.NEGATIVE_INFINITY,e)}function Rv(e){return Wd({type:"root"},e)}function Gd(e){return Pi(e),{type:ro,parts:e}}function Xa(e,t="",r={}){return ur(e),t!==""&&ur(t),{type:no,breakContents:e,flatContents:t,groupId:r.groupId}}function zv(e,t){return ur(e),{type:ao,contents:e,groupId:t.groupId,negate:t.negate}}function Kr(e,t){ur(e),Pi(t);let r=[];for(let n=0;nt===""))return"";break;case Nn:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===Nn&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case to:case eo:case ao:case Gl:if(!e.contents)return"";break;case no:if(!e.flatContents&&!e.breakContents)return"";break;case Mi:{let t=[];for(let r of e){if(!r)continue;let[n,...a]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof Hn(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...a)}return t.length===0?"":t.length===1?t[0]:t}case Li:case ql:case Wl:case Kl:case Xt:case Yl:case qa:break;default:throw new h1(e)}return e}function Lv(e){return ki(e,t=>Tv(t))}function Ve(e,t=N3){return ki(e,r=>typeof r=="string"?Kr(t,r.split(` -`)):r)}function Vf(e,t){let r=t===!0||t===Ta?Ta:t0,n=r===Ta?t0:Ta,a=0,o=0;for(let l of e)l===r?a++:l===n&&o++;return a>o?n:r}function Uf(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function qf(e){return(e==null?void 0:e.type)==="front-matter"}function Mu(e,t){var r;if(e.type==="text"||e.type==="comment"||Fo(e)||e.type==="yaml"||e.type==="toml")return null;if(e.type==="attribute"&&delete t.value,e.type==="docType"&&delete t.value,e.type==="angularControlFlowBlock"&&(r=e.parameters)!=null&&r.children)for(let n of t.parameters.children)$3.has(e.name)?delete n.expression:n.expression=n.expression.trim();e.type==="angularIcuExpression"&&(t.switchValue=e.switchValue.trim()),e.type==="angularLetDeclarationInitializer"&&delete t.value}async function Wf(e,t){if(e.language==="yaml"){let r=e.value.trim(),n=r?await t(r,{parser:"yaml"}):"";return Rv([e.startDelimiter,e.explicitLanguage,X,n,n?X:"",e.endDelimiter])}}function yo(e,t=!0){return[ut([he,e]),t?he:""]}function Yr(e,t){let r=e.type==="NGRoot"?e.node.type==="NGMicrosyntax"&&e.node.body.length===1&&e.node.body[0].type==="NGMicrosyntaxExpression"?e.node.body[0].expression:e.node:e.type==="JsExpressionRoot"?e.node:e;return r&&(r.type==="ObjectExpression"||r.type==="ArrayExpression"||(t.parser==="__vue_expression"||t.parser==="__vue_ts_expression")&&(r.type==="TemplateLiteral"||r.type==="StringLiteral"))}async function Ue(e,t,r,n){r={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...r};let a=!0;n&&(r.__onHtmlBindingRoot=(l,s)=>{a=n(l,s)});let o=await t(e,r,t);return a?le(o):yo(o)}function Gf(e,t,r,n){let{node:a}=r,o=n.originalText.slice(a.sourceSpan.start.offset,a.sourceSpan.end.offset);return/^\s*$/u.test(o)?"":Ue(o,e,{parser:"__ng_directive",__isInHtmlAttribute:!1},Yr)}function Kc(e,t){if(!t)return;let r=q3(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(a=>a.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(a=>r.endsWith(a)))}function Mv(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function Kf(e,t){let r=e.plugins.flatMap(a=>a.languages??[]),n=Mv(r,t.language)??Kc(r,t.physicalFile)??Kc(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function Yf(e){return e.type==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function Kd(e,t){return!!(e.type==="ieConditionalComment"&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.type==="ieConditionalComment"&&!e.complete||Nr(e)&&e.children.some(r=>r.type!=="text"&&r.type!=="interpolation")||_i(e,t)&&!Ft(e)&&e.type!=="interpolation")}function wo(e){return e.type==="attribute"||!e.parent||!e.prev?!1:Ov(e.prev)}function Ov(e){return e.type==="comment"&&e.value.trim()==="prettier-ignore"}function Pe(e){return e.type==="text"||e.type==="comment"}function Ft(e){return e.type==="element"&&(e.fullName==="script"||e.fullName==="style"||e.fullName==="svg:style"||e.fullName==="svg:script"||jn(e)&&(e.name==="script"||e.name==="style"))}function Pv(e){return e.children&&!Ft(e)}function Nv(e){return Ft(e)||e.type==="interpolation"||Yd(e)}function Yd(e){return r1(e).startsWith("pre")}function Hv(e,t){var r,n;let a=o();if(a&&!e.prev&&(n=(r=e.parent)==null?void 0:r.tagDefinition)!=null&&n.ignoreFirstLf)return e.type==="interpolation";return a;function o(){return Fo(e)||e.type==="angularControlFlowBlock"?!1:(e.type==="text"||e.type==="interpolation")&&e.prev&&(e.prev.type==="text"||e.prev.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:Nr(e.parent)?!0:!(!e.prev&&(e.parent.type==="root"||Nr(e)&&e.parent||Ft(e.parent)||bo(e.parent,t)||!Yv(e.parent.cssDisplay))||e.prev&&!Xv(e.prev.cssDisplay))}}function jv(e,t){return Fo(e)||e.type==="angularControlFlowBlock"?!1:(e.type==="text"||e.type==="interpolation")&&e.next&&(e.next.type==="text"||e.next.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:Nr(e.parent)?!0:!(!e.next&&(e.parent.type==="root"||Nr(e)&&e.parent||Ft(e.parent)||bo(e.parent,t)||!Zv(e.parent.cssDisplay))||e.next&&!Jv(e.next.cssDisplay))}function $v(e){return Qv(e.cssDisplay)&&!Ft(e)}function _a(e){return Fo(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+10&&(["body","script","style"].includes(e.name)||e.children.some(t=>qv(t)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.type!=="text"&&Xd(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Qd(e.lastChild))}function Zd(e){return e.type==="element"&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&e.cssDisplay!=="table-cell")}function bl(e){return e1(e)||e.prev&&Uv(e.prev)||Jd(e)}function Uv(e){return e1(e)||e.type==="element"&&e.fullName==="br"||Jd(e)}function Jd(e){return Xd(e)&&Qd(e)}function Xd(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:e.parent.type==="root"||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function e1(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function Bi(e){return e.lastChild?Bi(e.lastChild):e}function qv(e){var t;return(t=e.children)==null?void 0:t.some(r=>r.type!=="text")}function t1(e){if(e)switch(e){case"module":case"text/javascript":case"text/babel":case"application/javascript":return"babel";case"application/x-typescript":return"typescript";case"text/markdown":return"markdown";case"text/html":return"html";case"text/x-handlebars-template":return"glimmer";default:if(e.endsWith("json")||e.endsWith("importmap")||e==="speculationrules")return"json"}}function Wv(e,t){let{name:r,attrMap:n}=e;if(r!=="script"||Object.prototype.hasOwnProperty.call(n,"src"))return;let{type:a,lang:o}=e.attrMap;return!o&&!a?"babel":So(t,{language:o})??t1(a)}function Gv(e,t){if(!_i(e,t))return;let{attrMap:r}=e;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:a}=r;return So(t,{language:a})??t1(n)}function Kv(e,t){if(e.name!=="style")return;let{lang:r}=e.attrMap;return r?So(t,{language:r}):"css"}function Yc(e,t){return Wv(e,t)??Kv(e,t)??Gv(e,t)}function Yn(e){return e==="block"||e==="list-item"||e.startsWith("table")}function Yv(e){return!Yn(e)&&e!=="inline-block"}function Zv(e){return!Yn(e)&&e!=="inline-block"}function Jv(e){return!Yn(e)}function Xv(e){return!Yn(e)}function Qv(e){return!Yn(e)&&e!=="inline-block"}function Nr(e){return r1(e).startsWith("pre")}function e3(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function t3(e,t){var r;if(Zr(e,t))return"block";if(((r=e.prev)==null?void 0:r.type)==="comment"){let a=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);if(a)return a[1]}let n=!1;if(e.type==="element"&&e.namespace==="svg")if(e3(e,a=>a.fullName==="svg:foreignObject"))n=!0;else return e.name==="svg"?"inline-block":"block";switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return e.type==="element"&&(!e.namespace||n||jn(e))&&G3[e.name]||W3}}function r1(e){return e.type==="element"&&(!e.namespace||jn(e))&&Y3[e.name]||K3}function r3(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split(` +Expected it to be ${n}.`}function st(e){return sr(e),{type:eo,contents:e}}function Wd(e,t){return sr(t),{type:to,contents:t,n:e}}function le(e,t={}){return sr(e),Pi(t.expandedStates,!0),{type:Nn,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function I4(e){return Wd(Number.NEGATIVE_INFINITY,e)}function R4(e){return Wd({type:"root"},e)}function Gd(e){return Pi(e),{type:ro,parts:e}}function Xa(e,t="",r={}){return sr(e),t!==""&&sr(t),{type:no,breakContents:e,flatContents:t,groupId:r.groupId}}function z4(e,t){return sr(e),{type:ao,contents:e,groupId:t.groupId,negate:t.negate}}function Kr(e,t){sr(e),Pi(t);let r=[];for(let n=0;nt===""))return"";break;case Nn:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===Nn&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case to:case eo:case ao:case Gl:if(!e.contents)return"";break;case no:if(!e.flatContents&&!e.breakContents)return"";break;case Mi:{let t=[];for(let r of e){if(!r)continue;let[n,...a]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof Hn(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...a)}return t.length===0?"":t.length===1?t[0]:t}case Li:case ql:case Wl:case Kl:case Xt:case Yl:case qa:break;default:throw new h1(e)}return e}function L4(e){return ki(e,t=>T4(t))}function Ve(e,t=N3){return ki(e,r=>typeof r=="string"?Kr(t,r.split(` +`)):r)}function Vf(e,t){let r=t===!0||t===Ta?Ta:t0,n=r===Ta?t0:Ta,a=0,o=0;for(let l of e)l===r?a++:l===n&&o++;return a>o?n:r}function Uf(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function qf(e){return(e==null?void 0:e.type)==="front-matter"}function Ms(e,t){var r;if(e.type==="text"||e.type==="comment"||Fo(e)||e.type==="yaml"||e.type==="toml")return null;if(e.type==="attribute"&&delete t.value,e.type==="docType"&&delete t.value,e.type==="angularControlFlowBlock"&&(r=e.parameters)!=null&&r.children)for(let n of t.parameters.children)$3.has(e.name)?delete n.expression:n.expression=n.expression.trim();e.type==="angularIcuExpression"&&(t.switchValue=e.switchValue.trim()),e.type==="angularLetDeclarationInitializer"&&delete t.value}async function Wf(e,t){if(e.language==="yaml"){let r=e.value.trim(),n=r?await t(r,{parser:"yaml"}):"";return R4([e.startDelimiter,e.explicitLanguage,X,n,n?X:"",e.endDelimiter])}}function yo(e,t=!0){return[st([he,e]),t?he:""]}function Yr(e,t){let r=e.type==="NGRoot"?e.node.type==="NGMicrosyntax"&&e.node.body.length===1&&e.node.body[0].type==="NGMicrosyntaxExpression"?e.node.body[0].expression:e.node:e.type==="JsExpressionRoot"?e.node:e;return r&&(r.type==="ObjectExpression"||r.type==="ArrayExpression"||(t.parser==="__vue_expression"||t.parser==="__vue_ts_expression")&&(r.type==="TemplateLiteral"||r.type==="StringLiteral"))}async function Ue(e,t,r,n){r={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...r};let a=!0;n&&(r.__onHtmlBindingRoot=(l,u)=>{a=n(l,u)});let o=await t(e,r,t);return a?le(o):yo(o)}function Gf(e,t,r,n){let{node:a}=r,o=n.originalText.slice(a.sourceSpan.start.offset,a.sourceSpan.end.offset);return/^\s*$/u.test(o)?"":Ue(o,e,{parser:"__ng_directive",__isInHtmlAttribute:!1},Yr)}function Kc(e,t){if(!t)return;let r=q3(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(a=>a.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(a=>r.endsWith(a)))}function M4(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function Kf(e,t){let r=e.plugins.flatMap(a=>a.languages??[]),n=M4(r,t.language)??Kc(r,t.physicalFile)??Kc(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function Yf(e){return e.type==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function Kd(e,t){return!!(e.type==="ieConditionalComment"&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.type==="ieConditionalComment"&&!e.complete||Nr(e)&&e.children.some(r=>r.type!=="text"&&r.type!=="interpolation")||_i(e,t)&&!Ft(e)&&e.type!=="interpolation")}function wo(e){return e.type==="attribute"||!e.parent||!e.prev?!1:O4(e.prev)}function O4(e){return e.type==="comment"&&e.value.trim()==="prettier-ignore"}function Pe(e){return e.type==="text"||e.type==="comment"}function Ft(e){return e.type==="element"&&(e.fullName==="script"||e.fullName==="style"||e.fullName==="svg:style"||e.fullName==="svg:script"||jn(e)&&(e.name==="script"||e.name==="style"))}function P4(e){return e.children&&!Ft(e)}function N4(e){return Ft(e)||e.type==="interpolation"||Yd(e)}function Yd(e){return r1(e).startsWith("pre")}function H4(e,t){var r,n;let a=o();if(a&&!e.prev&&(n=(r=e.parent)==null?void 0:r.tagDefinition)!=null&&n.ignoreFirstLf)return e.type==="interpolation";return a;function o(){return Fo(e)||e.type==="angularControlFlowBlock"?!1:(e.type==="text"||e.type==="interpolation")&&e.prev&&(e.prev.type==="text"||e.prev.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:Nr(e.parent)?!0:!(!e.prev&&(e.parent.type==="root"||Nr(e)&&e.parent||Ft(e.parent)||bo(e.parent,t)||!Y4(e.parent.cssDisplay))||e.prev&&!X4(e.prev.cssDisplay))}}function j4(e,t){return Fo(e)||e.type==="angularControlFlowBlock"?!1:(e.type==="text"||e.type==="interpolation")&&e.next&&(e.next.type==="text"||e.next.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:Nr(e.parent)?!0:!(!e.next&&(e.parent.type==="root"||Nr(e)&&e.parent||Ft(e.parent)||bo(e.parent,t)||!Z4(e.parent.cssDisplay))||e.next&&!J4(e.next.cssDisplay))}function $4(e){return Q4(e.cssDisplay)&&!Ft(e)}function _a(e){return Fo(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+10&&(["body","script","style"].includes(e.name)||e.children.some(t=>q4(t)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.type!=="text"&&Xd(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Qd(e.lastChild))}function Zd(e){return e.type==="element"&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&e.cssDisplay!=="table-cell")}function bl(e){return e1(e)||e.prev&&U4(e.prev)||Jd(e)}function U4(e){return e1(e)||e.type==="element"&&e.fullName==="br"||Jd(e)}function Jd(e){return Xd(e)&&Qd(e)}function Xd(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:e.parent.type==="root"||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function e1(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function Bi(e){return e.lastChild?Bi(e.lastChild):e}function q4(e){var t;return(t=e.children)==null?void 0:t.some(r=>r.type!=="text")}function t1(e){if(e)switch(e){case"module":case"text/javascript":case"text/babel":case"application/javascript":return"babel";case"application/x-typescript":return"typescript";case"text/markdown":return"markdown";case"text/html":return"html";case"text/x-handlebars-template":return"glimmer";default:if(e.endsWith("json")||e.endsWith("importmap")||e==="speculationrules")return"json"}}function W4(e,t){let{name:r,attrMap:n}=e;if(r!=="script"||Object.prototype.hasOwnProperty.call(n,"src"))return;let{type:a,lang:o}=e.attrMap;return!o&&!a?"babel":So(t,{language:o})??t1(a)}function G4(e,t){if(!_i(e,t))return;let{attrMap:r}=e;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:a}=r;return So(t,{language:a})??t1(n)}function K4(e,t){if(e.name!=="style")return;let{lang:r}=e.attrMap;return r?So(t,{language:r}):"css"}function Yc(e,t){return W4(e,t)??K4(e,t)??G4(e,t)}function Yn(e){return e==="block"||e==="list-item"||e.startsWith("table")}function Y4(e){return!Yn(e)&&e!=="inline-block"}function Z4(e){return!Yn(e)&&e!=="inline-block"}function J4(e){return!Yn(e)}function X4(e){return!Yn(e)}function Q4(e){return!Yn(e)&&e!=="inline-block"}function Nr(e){return r1(e).startsWith("pre")}function e3(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function t3(e,t){var r;if(Zr(e,t))return"block";if(((r=e.prev)==null?void 0:r.type)==="comment"){let a=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);if(a)return a[1]}let n=!1;if(e.type==="element"&&e.namespace==="svg")if(e3(e,a=>a.fullName==="svg:foreignObject"))n=!0;else return e.name==="svg"?"inline-block":"block";switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return e.type==="element"&&(!e.namespace||n||jn(e))&&G3[e.name]||W3}}function r1(e){return e.type==="element"&&(!e.namespace||jn(e))&&Y3[e.name]||K3}function r3(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split(` `)){if(r.length===0)continue;let n=et.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&nr.slice(t)).join(` -`)}function a1(e){return Re(!1,Re(!1,e,"'","'"),""",'"')}function Ut(e){return a1(e.value)}function bo(e,t){return Zr(e,t)&&!J3.has(e.fullName)}function Zr(e,t){return t.parser==="vue"&&e.type==="element"&&e.parent.type==="root"&&e.fullName.toLowerCase()!=="html"}function _i(e,t){return Zr(e,t)&&(bo(e,t)||e.attrMap.lang&&e.attrMap.lang!=="html")}function n3(e){let t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")}function a3(e,t){let r=e.parent;if(!Zr(r,t))return!1;let n=r.fullName,a=e.fullName;return n==="script"&&a==="setup"||n==="style"&&a==="vars"}function o1(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?Ve(t):Ve(n1(m1(t)),X):Kr(ce,et.split(t))}function l1(e,t){return Zr(e,t)&&e.name==="script"}async function o3(e,t){let r=[];for(let[n,a]of e.split(g1).entries())if(n%2===0)r.push(Ve(a));else try{r.push(le(["{{",ut([ce,await Ue(a,t,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),ce,"}}"]))}catch{r.push("{{",Ve(a),"}}")}return r}function Yo({parser:e}){return(t,r,n)=>Ue(Ut(n.node),t,{parser:e},Yr)}function Zf(e,t){if(t.parser!=="angular")return;let{node:r}=e,n=r.fullName;if(n.startsWith("(")&&n.endsWith(")")||n.startsWith("on-"))return X3;if(n.startsWith("[")&&n.endsWith("]")||/^bind(?:on)?-/u.test(n)||/^ng-(?:if|show|hide|class|style)$/u.test(n))return Q3;if(n.startsWith("*"))return ey;let a=Ut(r);if(/^i18n(?:-.+)?$/u.test(n))return()=>yo(Gd(o1(r,a.trim())),!a.includes("@@"));if(g1.test(a))return o=>o3(a,o)}function Jf(e,t){let{node:r}=e,n=Ut(r);if(r.fullName==="class"&&!t.parentParser&&!n.includes("{{"))return()=>n.trim().split(/\s+/u).join(" ")}function Zc(e){return e===" "||e===` -`||e==="\f"||e==="\r"||e===" "}function Xf(e){let t=e.length,r,n,a,o,l,s=0,c;function d(h){let v,y=h.exec(e.substring(s));if(y)return[v]=y,s+=v.length,v}u(d,"p");let f=[];for(;;){if(d(ay),s>=t){if(f.length===0)throw new Error("Must contain one or more image candidate strings.");return f}c=s,r=d(oy),n=[],r.slice(-1)===","?(r=r.replace(ly,""),p()):g()}function g(){for(d(ny),a="",o="in descriptor";;){if(l=e.charAt(s),o==="in descriptor")if(Zc(l))a&&(n.push(a),a="",o="after descriptor");else if(l===","){s+=1,a&&n.push(a),p();return}else if(l==="(")a+=l,o="in parens";else if(l===""){a&&n.push(a),p();return}else a+=l;else if(o==="in parens")if(l===")")a+=l,o="in descriptor";else if(l===""){n.push(a),p();return}else a+=l;else if(o==="after descriptor"&&!Zc(l))if(l===""){p();return}else o="in descriptor",s-=1;s+=1}}u(g,"f");function p(){let h=!1,v,y,b,C,D={},E,w,x,F,S;for(C=0;Cl3(Ut(e.node))}function l3(e){let t=uy(e),r=sy.filter(f=>t.some(g=>Object.prototype.hasOwnProperty.call(g,f)));if(r.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[n]=r,a=n0[n],o=t.map(f=>f.source.value),l=Math.max(...o.map(f=>f.length)),s=t.map(f=>f[n]?String(f[n].value):""),c=s.map(f=>{let g=f.indexOf(".");return g===-1?f.length:g}),d=Math.max(...c);return yo(Kr([",",ce],o.map((f,g)=>{let p=[f],h=s[g];if(h){let v=l-f.length+1,y=d-c[g],b=" ".repeat(v+y);p.push(Xa(b," "),h+a)}return p})))}function i3(e,t){let{node:r}=e,n=Ut(e.node).trim();if(r.fullName==="style"&&!t.parentParser&&!n.includes("{{"))return async a=>yo(await a(n,{parser:"css",__isHTMLStyleAttribute:!0}))}function eh(e,t){let{root:r}=e;return Dl.has(r)||Dl.set(r,r.children.some(n=>l1(n,t)&&["ts","typescript"].includes(n.attrMap.lang))),Dl.get(r)}function u3(e,t,r){let{node:n}=r,a=Ut(n);return Ue(`type T<${a}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},Yr)}function s3(e,t,{parseWithTs:r}){return Ue(`function _(${e}) {}`,t,{parser:r?"babel-ts":"babel",__isVueBindings:!0})}function c3(e){let t=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/u,r=/^[$_a-z][\w$]*(?:\.[$_a-z][\w$]*|\['[^']*'\]|\["[^"]*"\]|\[\d+\]|\[[$_a-z][\w$]*\])*$/iu,n=e.trim();return t.test(n)||r.test(n)}async function d3(e,t,r,n){let a=Ut(r.node),{left:o,operator:l,right:s}=p3(a),c=Ni(r,n);return[le(await Ue(`function _(${o}) {}`,e,{parser:c?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",l," ",await Ue(s,e,{parser:c?"__ts_expression":"__js_expression"})]}function p3(e){let t=/(.*?)\s+(in|of)\s+(.*)/su,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/u,n=/^\(|\)$/gu,a=e.match(t);if(!a)return;let o={};if(o.for=a[3].trim(),!o.for)return;let l=Re(!1,a[1].trim(),n,""),s=l.match(r);s?(o.alias=l.replace(r,""),o.iterator1=s[1].trim(),s[2]&&(o.iterator2=s[2].trim())):o.alias=l;let c=[o.alias,o.iterator1,o.iterator2];if(!c.some((d,f)=>!d&&(f===0||c.slice(f+1).some(Boolean))))return{left:c.filter(Boolean).join(","),operator:a[2],right:o.for}}function th(e,t){if(t.parser!=="vue")return;let{node:r}=e,n=r.fullName;if(n==="v-for")return d3;if(n==="generic"&&l1(r.parent,t))return u3;let a=Ut(r),o=Ni(e,t);if(n3(r)||a3(r,t))return l=>s3(a,l,{parseWithTs:o});if(n.startsWith("@")||n.startsWith("v-on:"))return l=>f3(a,l,{parseWithTs:o});if(n.startsWith(":")||n.startsWith("v-bind:"))return l=>h3(a,l,{parseWithTs:o});if(n.startsWith("v-"))return l=>i1(a,l,{parseWithTs:o})}function f3(e,t,{parseWithTs:r}){return c3(e)?i1(e,t,{parseWithTs:r}):Ue(e,t,{parser:r?"__vue_ts_event_binding":"__vue_event_binding"},Yr)}function h3(e,t,{parseWithTs:r}){return Ue(e,t,{parser:r?"__vue_ts_expression":"__vue_expression"},Yr)}function i1(e,t,{parseWithTs:r}){return Ue(e,t,{parser:r?"__ts_expression":"__js_expression"},Yr)}function rh(e,t){let{node:r}=e;if(r.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(t.originalText.slice(r.valueSpan.start.offset,r.valueSpan.end.offset))||t.parser==="lwc"&&r.value.startsWith("{")&&r.value.endsWith("}"))return[r.rawName,"=",r.value];for(let n of[cy,i3,ry,dy,ty]){let a=n(e,t);if(a)return m3(a)}}}function m3(e){return async(t,r,n,a)=>{let o=await e(t,r,n,a);if(o)return o=ki(o,l=>typeof l=="string"?Re(!1,l,'"',"""):l),[n.node.rawName,'="',le(o),'"']}}function nh(e){return Array.isArray(e)&&e.length>0}function Do(e){return e.sourceSpan.start.offset}function Eo(e){return e.sourceSpan.end.offset}function jl(e,t){return[e.isSelfClosing?"":g3(e,t),xn(e,t)]}function g3(e,t){return e.lastChild&&Pn(e.lastChild)?"":[v3(e,t),Ii(e,t)]}function xn(e,t){return(e.next?lr(e.next):Jn(e.parent))?"":[Zn(e,t),or(e,t)]}function v3(e,t){return Jn(e)?Zn(e.lastChild,t):""}function or(e,t){return Pn(e)?Ii(e.parent,t):Co(e)?Ri(e.next):""}function Ii(e,t){if(v1(!e.isSelfClosing),u1(e,t))return"";switch(e.type){case"ieConditionalComment":return"";case"ieConditionalStartComment":return"]>";case"interpolation":return"}}";case"angularIcuExpression":return"}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function u1(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(wo(e)||Kd(e.parent,t))}function lr(e){return e.prev&&e.prev.type!=="docType"&&e.type!=="angularControlFlowBlock"&&!Pe(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Jn(e){var t;return((t=e.lastChild)==null?void 0:t.isTrailingSpaceSensitive)&&!e.lastChild.hasTrailingSpaces&&!Pe(Bi(e.lastChild))&&!Nr(e)}function Pn(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&Pe(Bi(e))}function Co(e){return e.next&&!Pe(e.next)&&Pe(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function y3(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);return t?t[1]?t[1].split(/\s+/u):!0:!1}function xo(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function w3(e,t,r){var n;let{node:a}=e;if(!Hi(a.attrs))return a.isSelfClosing?" ":"";let o=((n=a.prev)==null?void 0:n.type)==="comment"&&y3(a.prev.value),l=typeof o=="boolean"?()=>o:Array.isArray(o)?g=>o.includes(g.rawName):()=>!1,s=e.map(({node:g})=>l(g)?Ve(t.originalText.slice(Do(g),Eo(g))):r(),"attrs"),c=a.type==="element"&&a.fullName==="script"&&a.attrs.length===1&&a.attrs[0].fullName==="src"&&a.children.length===0,d=t.singleAttributePerLine&&a.attrs.length>1&&!Zr(a,t)?X:ce,f=[ut([c?" ":ce,Kr(d,s)])];return a.firstChild&&xo(a.firstChild)||a.isSelfClosing&&Jn(a.parent)||c?f.push(a.isSelfClosing?" ":""):f.push(t.bracketSameLine?a.isSelfClosing?" ":"":a.isSelfClosing?ce:he),f}function b3(e){return e.firstChild&&xo(e.firstChild)?"":zi(e)}function $l(e,t,r){let{node:n}=e;return[Fn(n,t),w3(e,t,r),n.isSelfClosing?"":b3(n)]}function Fn(e,t){return e.prev&&Co(e.prev)?"":[ir(e,t),Ri(e)]}function ir(e,t){return xo(e)?zi(e.parent):lr(e)?Zn(e.prev,t):""}function Ri(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<${e.rawName}`;default:return`<${e.rawName}`}}function zi(e){switch(v1(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">";default:return">"}}function ah(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&xo(e.firstChild)&&(r-=zi(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&Pn(e.lastChild)?n+=Ii(e,t).length:Jn(e)&&(n-=Zn(e.lastChild,t).length),t.originalText.slice(r,n)}function oh(e,t){let{node:r}=e;switch(r.type){case"element":if(Ft(r)||r.type==="interpolation")return;if(!r.isSelfClosing&&_i(r,t)){let n=Yc(r,t);return n?async(a,o)=>{let l=y1(r,t),s=/^\s*$/u.test(l),c="";return s||(c=await a(m1(l),{parser:n,__embeddedInHtml:!0}),s=c===""),[ir(r,t),le($l(e,t,o)),s?"":X,c,s?"":X,jl(r,t),or(r,t)]}:void 0}break;case"text":if(Ft(r.parent)){let n=Yc(r.parent,t);if(n)return async a=>{let o=n==="markdown"?n1(r.value.replace(/^[^\S\n]*\n/u,"")):r.value,l={parser:n,__embeddedInHtml:!0};if(t.parser==="html"&&n==="babel"){let s="script",{attrMap:c}=r.parent;c&&(c.type==="module"||c.type==="text/babel"&&c["data-type"]==="module")&&(s="module"),l.__babelSourceType=s}return[An,ir(r,t),await a(o,l),or(r,t)]}}else if(r.parent.type==="interpolation")return async n=>{let a={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return t.parser==="angular"?a.parser="__ng_interpolation":t.parser==="vue"?a.parser=Ni(e,t)?"__vue_ts_expression":"__vue_expression":a.parser="__js_expression",[ut([ce,await n(r.value,a)]),r.parent.next&&lr(r.parent.next)?" ":ce]};break;case"attribute":return py(e,t);case"front-matter":return n=>V3(r,n);case"angularControlFlowBlockParameters":return fy.has(e.parent.name)?U3:void 0;case"angularLetDeclarationInitializer":return n=>Ue(r.value,n,{parser:"__ng_binding",__isInHtmlAttribute:!1})}}function Sn(e){if(yn!==null&&typeof yn.property){let t=yn;return yn=Sn.prototype=null,t}return yn=Sn.prototype=e??Object.create(null),new Sn}function D3(e){return Sn(e)}function lh(e,t="type"){D3(e);function r(n){let a=n[t],o=e[a];if(!Array.isArray(o))throw Object.assign(new Error(`Missing visitor keys for '${a}'.`),{node:n});return o}return u(r,"r"),r}function E3(e){return/^\s*/u.test(e)}function ih(e){return` +`)}function a1(e){return Re(!1,Re(!1,e,"'","'"),""",'"')}function Ut(e){return a1(e.value)}function bo(e,t){return Zr(e,t)&&!J3.has(e.fullName)}function Zr(e,t){return t.parser==="vue"&&e.type==="element"&&e.parent.type==="root"&&e.fullName.toLowerCase()!=="html"}function _i(e,t){return Zr(e,t)&&(bo(e,t)||e.attrMap.lang&&e.attrMap.lang!=="html")}function n3(e){let t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")}function a3(e,t){let r=e.parent;if(!Zr(r,t))return!1;let n=r.fullName,a=e.fullName;return n==="script"&&a==="setup"||n==="style"&&a==="vars"}function o1(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?Ve(t):Ve(n1(m1(t)),X):Kr(ce,et.split(t))}function l1(e,t){return Zr(e,t)&&e.name==="script"}async function o3(e,t){let r=[];for(let[n,a]of e.split(g1).entries())if(n%2===0)r.push(Ve(a));else try{r.push(le(["{{",st([ce,await Ue(a,t,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),ce,"}}"]))}catch{r.push("{{",Ve(a),"}}")}return r}function Yo({parser:e}){return(t,r,n)=>Ue(Ut(n.node),t,{parser:e},Yr)}function Zf(e,t){if(t.parser!=="angular")return;let{node:r}=e,n=r.fullName;if(n.startsWith("(")&&n.endsWith(")")||n.startsWith("on-"))return X3;if(n.startsWith("[")&&n.endsWith("]")||/^bind(?:on)?-/u.test(n)||/^ng-(?:if|show|hide|class|style)$/u.test(n))return Q3;if(n.startsWith("*"))return ey;let a=Ut(r);if(/^i18n(?:-.+)?$/u.test(n))return()=>yo(Gd(o1(r,a.trim())),!a.includes("@@"));if(g1.test(a))return o=>o3(a,o)}function Jf(e,t){let{node:r}=e,n=Ut(r);if(r.fullName==="class"&&!t.parentParser&&!n.includes("{{"))return()=>n.trim().split(/\s+/u).join(" ")}function Zc(e){return e===" "||e===` +`||e==="\f"||e==="\r"||e===" "}function Xf(e){let t=e.length,r,n,a,o,l,u=0,c;function d(h){let v,y=h.exec(e.substring(u));if(y)return[v]=y,u+=v.length,v}s(d,"p");let f=[];for(;;){if(d(ay),u>=t){if(f.length===0)throw new Error("Must contain one or more image candidate strings.");return f}c=u,r=d(oy),n=[],r.slice(-1)===","?(r=r.replace(ly,""),p()):g()}function g(){for(d(ny),a="",o="in descriptor";;){if(l=e.charAt(u),o==="in descriptor")if(Zc(l))a&&(n.push(a),a="",o="after descriptor");else if(l===","){u+=1,a&&n.push(a),p();return}else if(l==="(")a+=l,o="in parens";else if(l===""){a&&n.push(a),p();return}else a+=l;else if(o==="in parens")if(l===")")a+=l,o="in descriptor";else if(l===""){n.push(a),p();return}else a+=l;else if(o==="after descriptor"&&!Zc(l))if(l===""){p();return}else o="in descriptor",u-=1;u+=1}}s(g,"f");function p(){let h=!1,v,y,b,C,D={},E,w,x,F,S;for(C=0;Cl3(Ut(e.node))}function l3(e){let t=sy(e),r=uy.filter(f=>t.some(g=>Object.prototype.hasOwnProperty.call(g,f)));if(r.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[n]=r,a=n0[n],o=t.map(f=>f.source.value),l=Math.max(...o.map(f=>f.length)),u=t.map(f=>f[n]?String(f[n].value):""),c=u.map(f=>{let g=f.indexOf(".");return g===-1?f.length:g}),d=Math.max(...c);return yo(Kr([",",ce],o.map((f,g)=>{let p=[f],h=u[g];if(h){let v=l-f.length+1,y=d-c[g],b=" ".repeat(v+y);p.push(Xa(b," "),h+a)}return p})))}function i3(e,t){let{node:r}=e,n=Ut(e.node).trim();if(r.fullName==="style"&&!t.parentParser&&!n.includes("{{"))return async a=>yo(await a(n,{parser:"css",__isHTMLStyleAttribute:!0}))}function eh(e,t){let{root:r}=e;return Dl.has(r)||Dl.set(r,r.children.some(n=>l1(n,t)&&["ts","typescript"].includes(n.attrMap.lang))),Dl.get(r)}function s3(e,t,r){let{node:n}=r,a=Ut(n);return Ue(`type T<${a}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},Yr)}function u3(e,t,{parseWithTs:r}){return Ue(`function _(${e}) {}`,t,{parser:r?"babel-ts":"babel",__isVueBindings:!0})}function c3(e){let t=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/u,r=/^[$_a-z][\w$]*(?:\.[$_a-z][\w$]*|\['[^']*'\]|\["[^"]*"\]|\[\d+\]|\[[$_a-z][\w$]*\])*$/iu,n=e.trim();return t.test(n)||r.test(n)}async function d3(e,t,r,n){let a=Ut(r.node),{left:o,operator:l,right:u}=p3(a),c=Ni(r,n);return[le(await Ue(`function _(${o}) {}`,e,{parser:c?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",l," ",await Ue(u,e,{parser:c?"__ts_expression":"__js_expression"})]}function p3(e){let t=/(.*?)\s+(in|of)\s+(.*)/su,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/u,n=/^\(|\)$/gu,a=e.match(t);if(!a)return;let o={};if(o.for=a[3].trim(),!o.for)return;let l=Re(!1,a[1].trim(),n,""),u=l.match(r);u?(o.alias=l.replace(r,""),o.iterator1=u[1].trim(),u[2]&&(o.iterator2=u[2].trim())):o.alias=l;let c=[o.alias,o.iterator1,o.iterator2];if(!c.some((d,f)=>!d&&(f===0||c.slice(f+1).some(Boolean))))return{left:c.filter(Boolean).join(","),operator:a[2],right:o.for}}function th(e,t){if(t.parser!=="vue")return;let{node:r}=e,n=r.fullName;if(n==="v-for")return d3;if(n==="generic"&&l1(r.parent,t))return s3;let a=Ut(r),o=Ni(e,t);if(n3(r)||a3(r,t))return l=>u3(a,l,{parseWithTs:o});if(n.startsWith("@")||n.startsWith("v-on:"))return l=>f3(a,l,{parseWithTs:o});if(n.startsWith(":")||n.startsWith("v-bind:"))return l=>h3(a,l,{parseWithTs:o});if(n.startsWith("v-"))return l=>i1(a,l,{parseWithTs:o})}function f3(e,t,{parseWithTs:r}){return c3(e)?i1(e,t,{parseWithTs:r}):Ue(e,t,{parser:r?"__vue_ts_event_binding":"__vue_event_binding"},Yr)}function h3(e,t,{parseWithTs:r}){return Ue(e,t,{parser:r?"__vue_ts_expression":"__vue_expression"},Yr)}function i1(e,t,{parseWithTs:r}){return Ue(e,t,{parser:r?"__ts_expression":"__js_expression"},Yr)}function rh(e,t){let{node:r}=e;if(r.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(t.originalText.slice(r.valueSpan.start.offset,r.valueSpan.end.offset))||t.parser==="lwc"&&r.value.startsWith("{")&&r.value.endsWith("}"))return[r.rawName,"=",r.value];for(let n of[cy,i3,ry,dy,ty]){let a=n(e,t);if(a)return m3(a)}}}function m3(e){return async(t,r,n,a)=>{let o=await e(t,r,n,a);if(o)return o=ki(o,l=>typeof l=="string"?Re(!1,l,'"',"""):l),[n.node.rawName,'="',le(o),'"']}}function nh(e){return Array.isArray(e)&&e.length>0}function Do(e){return e.sourceSpan.start.offset}function Eo(e){return e.sourceSpan.end.offset}function jl(e,t){return[e.isSelfClosing?"":g3(e,t),xn(e,t)]}function g3(e,t){return e.lastChild&&Pn(e.lastChild)?"":[v3(e,t),Ii(e,t)]}function xn(e,t){return(e.next?lr(e.next):Jn(e.parent))?"":[Zn(e,t),or(e,t)]}function v3(e,t){return Jn(e)?Zn(e.lastChild,t):""}function or(e,t){return Pn(e)?Ii(e.parent,t):Co(e)?Ri(e.next):""}function Ii(e,t){if(v1(!e.isSelfClosing),s1(e,t))return"";switch(e.type){case"ieConditionalComment":return"";case"ieConditionalStartComment":return"]>";case"interpolation":return"}}";case"angularIcuExpression":return"}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function s1(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(wo(e)||Kd(e.parent,t))}function lr(e){return e.prev&&e.prev.type!=="docType"&&e.type!=="angularControlFlowBlock"&&!Pe(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Jn(e){var t;return((t=e.lastChild)==null?void 0:t.isTrailingSpaceSensitive)&&!e.lastChild.hasTrailingSpaces&&!Pe(Bi(e.lastChild))&&!Nr(e)}function Pn(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&Pe(Bi(e))}function Co(e){return e.next&&!Pe(e.next)&&Pe(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function y3(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);return t?t[1]?t[1].split(/\s+/u):!0:!1}function xo(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function w3(e,t,r){var n;let{node:a}=e;if(!Hi(a.attrs))return a.isSelfClosing?" ":"";let o=((n=a.prev)==null?void 0:n.type)==="comment"&&y3(a.prev.value),l=typeof o=="boolean"?()=>o:Array.isArray(o)?g=>o.includes(g.rawName):()=>!1,u=e.map(({node:g})=>l(g)?Ve(t.originalText.slice(Do(g),Eo(g))):r(),"attrs"),c=a.type==="element"&&a.fullName==="script"&&a.attrs.length===1&&a.attrs[0].fullName==="src"&&a.children.length===0,d=t.singleAttributePerLine&&a.attrs.length>1&&!Zr(a,t)?X:ce,f=[st([c?" ":ce,Kr(d,u)])];return a.firstChild&&xo(a.firstChild)||a.isSelfClosing&&Jn(a.parent)||c?f.push(a.isSelfClosing?" ":""):f.push(t.bracketSameLine?a.isSelfClosing?" ":"":a.isSelfClosing?ce:he),f}function b3(e){return e.firstChild&&xo(e.firstChild)?"":zi(e)}function $l(e,t,r){let{node:n}=e;return[Fn(n,t),w3(e,t,r),n.isSelfClosing?"":b3(n)]}function Fn(e,t){return e.prev&&Co(e.prev)?"":[ir(e,t),Ri(e)]}function ir(e,t){return xo(e)?zi(e.parent):lr(e)?Zn(e.prev,t):""}function Ri(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<${e.rawName}`;default:return`<${e.rawName}`}}function zi(e){switch(v1(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">";default:return">"}}function ah(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&xo(e.firstChild)&&(r-=zi(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&Pn(e.lastChild)?n+=Ii(e,t).length:Jn(e)&&(n-=Zn(e.lastChild,t).length),t.originalText.slice(r,n)}function oh(e,t){let{node:r}=e;switch(r.type){case"element":if(Ft(r)||r.type==="interpolation")return;if(!r.isSelfClosing&&_i(r,t)){let n=Yc(r,t);return n?async(a,o)=>{let l=y1(r,t),u=/^\s*$/u.test(l),c="";return u||(c=await a(m1(l),{parser:n,__embeddedInHtml:!0}),u=c===""),[ir(r,t),le($l(e,t,o)),u?"":X,c,u?"":X,jl(r,t),or(r,t)]}:void 0}break;case"text":if(Ft(r.parent)){let n=Yc(r.parent,t);if(n)return async a=>{let o=n==="markdown"?n1(r.value.replace(/^[^\S\n]*\n/u,"")):r.value,l={parser:n,__embeddedInHtml:!0};if(t.parser==="html"&&n==="babel"){let u="script",{attrMap:c}=r.parent;c&&(c.type==="module"||c.type==="text/babel"&&c["data-type"]==="module")&&(u="module"),l.__babelSourceType=u}return[An,ir(r,t),await a(o,l),or(r,t)]}}else if(r.parent.type==="interpolation")return async n=>{let a={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return t.parser==="angular"?a.parser="__ng_interpolation":t.parser==="vue"?a.parser=Ni(e,t)?"__vue_ts_expression":"__vue_expression":a.parser="__js_expression",[st([ce,await n(r.value,a)]),r.parent.next&&lr(r.parent.next)?" ":ce]};break;case"attribute":return py(e,t);case"front-matter":return n=>V3(r,n);case"angularControlFlowBlockParameters":return fy.has(e.parent.name)?U3:void 0;case"angularLetDeclarationInitializer":return n=>Ue(r.value,n,{parser:"__ng_binding",__isInHtmlAttribute:!1})}}function Sn(e){if(yn!==null&&typeof yn.property){let t=yn;return yn=Sn.prototype=null,t}return yn=Sn.prototype=e??Object.create(null),new Sn}function D3(e){return Sn(e)}function lh(e,t="type"){D3(e);function r(n){let a=n[t],o=e[a];if(!Array.isArray(o))throw Object.assign(new Error(`Missing visitor keys for '${a}'.`),{node:n});return o}return s(r,"r"),r}function E3(e){return/^\s*/u.test(e)}function ih(e){return` -`+e}function s1(e){let t=Eo(e);return e.type==="element"&&!e.endSourceSpan&&Hi(e.children)?Math.max(t,s1(Hn(!1,e.children,-1))):t}function vn(e,t,r){let n=e.node;if(wo(n)){let a=s1(n);return[ir(n,t),Ve(et.trimEnd(t.originalText.slice(Do(n)+(n.prev&&Co(n.prev)?Ri(n).length:0),a-(n.next&&lr(n.next)?Zn(n,t).length:0)))),or(n,t)]}return r()}function Ia(e,t){return Pe(e)&&Pe(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?bl(t)?X:ce:"":bl(t)?X:he:Co(e)&&(wo(t)||t.firstChild||t.isSelfClosing||t.type==="element"&&t.attrs.length>0)||e.type==="element"&&e.isSelfClosing&&lr(t)?"":!t.isLeadingSpaceSensitive||bl(t)||lr(t)&&e.lastChild&&Pn(e.lastChild)&&e.lastChild.lastChild&&Pn(e.lastChild.lastChild)?X:t.hasLeadingSpaces?ce:he}function Ti(e,t,r){let{node:n}=e;if(Zd(n))return[An,...e.map(o=>{let l=o.node,s=l.prev?Ia(l.prev,l):"";return[s?[s,_a(l.prev)?X:""]:"",vn(o,t,r)]},"children")];let a=n.children.map(()=>Symbol(""));return e.map((o,l)=>{let s=o.node;if(Pe(s)){if(s.prev&&Pe(s.prev)){let v=Ia(s.prev,s);if(v)return _a(s.prev)?[X,X,vn(o,t,r)]:[v,vn(o,t,r)]}return vn(o,t,r)}let c=[],d=[],f=[],g=[],p=s.prev?Ia(s.prev,s):"",h=s.next?Ia(s,s.next):"";return p&&(_a(s.prev)?c.push(X,X):p===X?c.push(X):Pe(s.prev)?d.push(p):d.push(Xa("",he,{groupId:a[l-1]}))),h&&(_a(s)?Pe(s.next)&&g.push(X,X):h===X?Pe(s.next)&&g.push(X):f.push(h)),[...c,le([...d,le([vn(o,t,r),...f],{id:a[l]})]),...g]},"children")}function C3(e,t,r){let{node:n}=e,a=[];x3(e)&&a.push("} "),a.push("@",n.name),n.parameters&&a.push(" (",le(r("parameters")),")"),a.push(" {");let o=c1(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,a.push(ut([X,Ti(e,t,r)])),o&&a.push(X,"}")):o&&a.push("}"),le(a,{shouldBreak:!0})}function c1(e){var t,r;return!(((t=e.next)==null?void 0:t.type)==="angularControlFlowBlock"&&(r=hy.get(e.name))!=null&&r.has(e.next.name))}function x3(e){let{previous:t}=e;return(t==null?void 0:t.type)==="angularControlFlowBlock"&&!wo(t)&&!c1(t)}function F3(e,t,r){return[ut([he,Kr([";",ce],e.map(r,"children"))]),he]}function S3(e,t,r){let{node:n}=e;return[Fn(n,t),le([n.switchValue.trim(),", ",n.clause,n.cases.length>0?[",",ut([ce,Kr(ce,e.map(r,"cases"))])]:"",he]),xn(n,t)]}function A3(e,t,r){let{node:n}=e;return[n.value," {",le([ut([he,e.map(({node:a})=>a.type==="text"&&!et.trim(a.value)?"":r(),"expression")]),he]),"}"]}function k3(e,t,r){let{node:n}=e;if(Kd(n,t))return[ir(n,t),le($l(e,t,r)),Ve(y1(n,t)),...jl(n,t),or(n,t)];let a=n.children.length===1&&(n.firstChild.type==="interpolation"||n.firstChild.type==="angularIcuExpression")&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,o=Symbol("element-attr-group-id"),l=u(f=>le([le($l(e,t,r),{id:o}),f,jl(n,t)]),"a"),s=u(f=>a?zv(f,{groupId:o}):(Ft(n)||bo(n,t))&&n.parent.type==="root"&&t.parser==="vue"&&!t.vueIndentScriptAndStyle?f:ut(f),"o"),c=u(()=>a?Xa(he,"",{groupId:o}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?ce:n.firstChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?Iv(he):he,"u"),d=u(()=>(n.next?lr(n.next):Jn(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":a?Xa(he,"",{groupId:o}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?ce:(n.lastChild.type==="comment"||n.lastChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`,"u").test(n.lastChild.value)?"":he,"p");return n.children.length===0?l(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?ce:""):l([Vv(n)?An:"",s([c(),Ti(e,t,r)]),d()])}function Va(e){return e>=9&&e<=32||e==160}function Vl(e){return 48<=e&&e<=57}function Ua(e){return e>=97&&e<=122||e>=65&&e<=90}function B3(e){return e>=97&&e<=102||e>=65&&e<=70||Vl(e)}function Zo(e){return e===10||e===13}function Ou(e){return 48<=e&&e<=55}function Jo(e){return e===39||e===34||e===96}function uh(e){return e.replace(my,(...t)=>t[1].toUpperCase())}function sh(e,t){for(let r of gy)r(e,t);return e}function ch(e){e.walk(t=>{if(t.type==="element"&&t.tagDefinition.ignoreFirstLf&&t.children.length>0&&t.children[0].type==="text"&&t.children[0].value[0]===` -`){let r=t.children[0];r.value.length===1?t.removeChild(r):r.value=r.value.slice(1)}})}function dh(e){let t=u(r=>{var n,a;return r.type==="element"&&((n=r.prev)==null?void 0:n.type)==="ieConditionalStartComment"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&((a=r.firstChild)==null?void 0:a.type)==="ieConditionalEndComment"&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset},"e");e.walk(r=>{if(r.children)for(let n=0;n{if(n.children)for(let a=0;at.type==="cdata",t=>``)}function fh(e){let t=u(r=>{var n,a;return r.type==="element"&&r.attrs.length===0&&r.children.length===1&&r.firstChild.type==="text"&&!et.hasWhitespaceCharacter(r.children[0].value)&&!r.firstChild.hasLeadingSpaces&&!r.firstChild.hasTrailingSpaces&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces&&((n=r.prev)==null?void 0:n.type)==="text"&&((a=r.next)==null?void 0:a.type)==="text"},"e");e.walk(r=>{if(r.children)for(let n=0;n`+a.firstChild.value+``+l.value,o.sourceSpan=new W(o.sourceSpan.start,l.sourceSpan.end),o.isTrailingSpaceSensitive=l.isTrailingSpaceSensitive,o.hasTrailingSpaces=l.hasTrailingSpaces,r.removeChild(a),n--,r.removeChild(l)}})}function hh(e,t){if(t.parser==="html")return;let r=/\{\{(.+?)\}\}/su;e.walk(n=>{if(Pv(n))for(let a of n.children){if(a.type!=="text")continue;let o=a.sourceSpan.start,l=null,s=a.value.split(r);for(let c=0;c0&&n.insertChildBefore(a,{type:"text",value:d,sourceSpan:new W(o,l)});continue}l=o.moveBy(d.length+4),n.insertChildBefore(a,{type:"interpolation",sourceSpan:new W(o,l),children:d.length===0?[]:[{type:"text",value:d,sourceSpan:new W(o.moveBy(2),l.moveBy(-2))}]})}n.removeChild(a)}})}function mh(e){e.walk(t=>{if(!t.children)return;if(t.children.length===0||t.children.length===1&&t.children[0].type==="text"&&et.trim(t.children[0].value).length===0){t.hasDanglingSpaces=t.children.length>0,t.children=[];return}let r=Nv(t),n=Yd(t);if(!r)for(let a=0;a{t.isSelfClosing=!t.children||t.type==="element"&&(t.tagDefinition.isVoid||t.endSourceSpan&&t.startSourceSpan.start===t.endSourceSpan.start&&t.startSourceSpan.end===t.endSourceSpan.end)})}function vh(e,t){e.walk(r=>{r.type==="element"&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/u.test(t.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))})}function yh(e,t){e.walk(r=>{r.cssDisplay=t3(r,t)})}function wh(e,t){e.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=$v(r);return}for(let a of n)a.isLeadingSpaceSensitive=Hv(a,t),a.isTrailingSpaceSensitive=jv(a,t);for(let a=0;a{!ma[t]&&Ra(t)===null&&(ma[t]=new q({canSelfClose:!1}))})),ma[e]??Em}function Jc(e,t,r=null){let n=[],a=e.visit?o=>e.visit(o,r)||o.visit(e,r):o=>o.visit(e,r);return t.forEach(o=>{let l=a(o);l&&n.push(l)}),n}function Eh(e,t){if(t!=null&&!(Array.isArray(t)&&t.length==2))throw new Error(`Expected '${e}' to be an array, [start, end].`);if(t!=null){let r=t[0],n=t[1];wy.forEach(a=>{if(a.test(r)||a.test(n))throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`)})}}function Ch(e,t,r,n={}){let a=new Dy(new w1(e,t),r,n);return a.tokenize(),new by(I3(a.tokens),a.errors,a.nonNormalizedIcuExpressions)}function Dr(e){return`Unexpected character "${e===0?"EOF":String.fromCharCode(e)}"`}function ju(e){return`Unknown entity "${e}" - use the "&#;" or "&#x;" syntax`}function xh(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}function ne(e){return!Va(e)||e===0}function $u(e){return Va(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function Fh(e){return(e<97||12257)}function Sh(e){return e===59||e===0||!B3(e)}function Ah(e){return e===59||e===0||!Ua(e)}function kh(e){return e!==125}function Bh(e,t){return Xc(e)===Xc(t)}function Xc(e){return e>=97&&e<=122?e-97+65:e}function Vu(e){return Ua(e)||Vl(e)||e===95}function Uu(e){return e!==59&&ne(e)}function I3(e){let t=[],r;for(let n=0;n0&&e[e.length-1]===t}function Wu(e,t){return Wa[t]!==void 0?Wa[t]||e:/^#x[a-f0-9]+$/i.test(t)?String.fromCodePoint(parseInt(t.slice(2),16)):/^#\d+$/.test(t)?String.fromCodePoint(parseInt(t.slice(1),10)):e}function Qc(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:a=!1,getTagContentType:o,tokenizeAngularBlocks:l=!1,tokenizeAngularLetDeclaration:s=!1}=t;return Ey().parse(e,"angular-html-parser",{tokenizeExpansionForms:l,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:l,tokenizeLet:s},a,o)}function _h(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}function R3(e){let t=e.slice(0,wn);if(t!=="---"&&t!=="+++")return;let r=e.indexOf(` +`+e}function u1(e){let t=Eo(e);return e.type==="element"&&!e.endSourceSpan&&Hi(e.children)?Math.max(t,u1(Hn(!1,e.children,-1))):t}function vn(e,t,r){let n=e.node;if(wo(n)){let a=u1(n);return[ir(n,t),Ve(et.trimEnd(t.originalText.slice(Do(n)+(n.prev&&Co(n.prev)?Ri(n).length:0),a-(n.next&&lr(n.next)?Zn(n,t).length:0)))),or(n,t)]}return r()}function Ia(e,t){return Pe(e)&&Pe(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?bl(t)?X:ce:"":bl(t)?X:he:Co(e)&&(wo(t)||t.firstChild||t.isSelfClosing||t.type==="element"&&t.attrs.length>0)||e.type==="element"&&e.isSelfClosing&&lr(t)?"":!t.isLeadingSpaceSensitive||bl(t)||lr(t)&&e.lastChild&&Pn(e.lastChild)&&e.lastChild.lastChild&&Pn(e.lastChild.lastChild)?X:t.hasLeadingSpaces?ce:he}function Ti(e,t,r){let{node:n}=e;if(Zd(n))return[An,...e.map(o=>{let l=o.node,u=l.prev?Ia(l.prev,l):"";return[u?[u,_a(l.prev)?X:""]:"",vn(o,t,r)]},"children")];let a=n.children.map(()=>Symbol(""));return e.map((o,l)=>{let u=o.node;if(Pe(u)){if(u.prev&&Pe(u.prev)){let v=Ia(u.prev,u);if(v)return _a(u.prev)?[X,X,vn(o,t,r)]:[v,vn(o,t,r)]}return vn(o,t,r)}let c=[],d=[],f=[],g=[],p=u.prev?Ia(u.prev,u):"",h=u.next?Ia(u,u.next):"";return p&&(_a(u.prev)?c.push(X,X):p===X?c.push(X):Pe(u.prev)?d.push(p):d.push(Xa("",he,{groupId:a[l-1]}))),h&&(_a(u)?Pe(u.next)&&g.push(X,X):h===X?Pe(u.next)&&g.push(X):f.push(h)),[...c,le([...d,le([vn(o,t,r),...f],{id:a[l]})]),...g]},"children")}function C3(e,t,r){let{node:n}=e,a=[];x3(e)&&a.push("} "),a.push("@",n.name),n.parameters&&a.push(" (",le(r("parameters")),")"),a.push(" {");let o=c1(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,a.push(st([X,Ti(e,t,r)])),o&&a.push(X,"}")):o&&a.push("}"),le(a,{shouldBreak:!0})}function c1(e){var t,r;return!(((t=e.next)==null?void 0:t.type)==="angularControlFlowBlock"&&(r=hy.get(e.name))!=null&&r.has(e.next.name))}function x3(e){let{previous:t}=e;return(t==null?void 0:t.type)==="angularControlFlowBlock"&&!wo(t)&&!c1(t)}function F3(e,t,r){return[st([he,Kr([";",ce],e.map(r,"children"))]),he]}function S3(e,t,r){let{node:n}=e;return[Fn(n,t),le([n.switchValue.trim(),", ",n.clause,n.cases.length>0?[",",st([ce,Kr(ce,e.map(r,"cases"))])]:"",he]),xn(n,t)]}function A3(e,t,r){let{node:n}=e;return[n.value," {",le([st([he,e.map(({node:a})=>a.type==="text"&&!et.trim(a.value)?"":r(),"expression")]),he]),"}"]}function k3(e,t,r){let{node:n}=e;if(Kd(n,t))return[ir(n,t),le($l(e,t,r)),Ve(y1(n,t)),...jl(n,t),or(n,t)];let a=n.children.length===1&&(n.firstChild.type==="interpolation"||n.firstChild.type==="angularIcuExpression")&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,o=Symbol("element-attr-group-id"),l=s(f=>le([le($l(e,t,r),{id:o}),f,jl(n,t)]),"a"),u=s(f=>a?z4(f,{groupId:o}):(Ft(n)||bo(n,t))&&n.parent.type==="root"&&t.parser==="vue"&&!t.vueIndentScriptAndStyle?f:st(f),"o"),c=s(()=>a?Xa(he,"",{groupId:o}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?ce:n.firstChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?I4(he):he,"u"),d=s(()=>(n.next?lr(n.next):Jn(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":a?Xa(he,"",{groupId:o}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?ce:(n.lastChild.type==="comment"||n.lastChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`,"u").test(n.lastChild.value)?"":he,"p");return n.children.length===0?l(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?ce:""):l([V4(n)?An:"",u([c(),Ti(e,t,r)]),d()])}function Va(e){return e>=9&&e<=32||e==160}function Vl(e){return 48<=e&&e<=57}function Ua(e){return e>=97&&e<=122||e>=65&&e<=90}function B3(e){return e>=97&&e<=102||e>=65&&e<=70||Vl(e)}function Zo(e){return e===10||e===13}function Os(e){return 48<=e&&e<=55}function Jo(e){return e===39||e===34||e===96}function sh(e){return e.replace(my,(...t)=>t[1].toUpperCase())}function uh(e,t){for(let r of gy)r(e,t);return e}function ch(e){e.walk(t=>{if(t.type==="element"&&t.tagDefinition.ignoreFirstLf&&t.children.length>0&&t.children[0].type==="text"&&t.children[0].value[0]===` +`){let r=t.children[0];r.value.length===1?t.removeChild(r):r.value=r.value.slice(1)}})}function dh(e){let t=s(r=>{var n,a;return r.type==="element"&&((n=r.prev)==null?void 0:n.type)==="ieConditionalStartComment"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&((a=r.firstChild)==null?void 0:a.type)==="ieConditionalEndComment"&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset},"e");e.walk(r=>{if(r.children)for(let n=0;n{if(n.children)for(let a=0;at.type==="cdata",t=>``)}function fh(e){let t=s(r=>{var n,a;return r.type==="element"&&r.attrs.length===0&&r.children.length===1&&r.firstChild.type==="text"&&!et.hasWhitespaceCharacter(r.children[0].value)&&!r.firstChild.hasLeadingSpaces&&!r.firstChild.hasTrailingSpaces&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces&&((n=r.prev)==null?void 0:n.type)==="text"&&((a=r.next)==null?void 0:a.type)==="text"},"e");e.walk(r=>{if(r.children)for(let n=0;n`+a.firstChild.value+``+l.value,o.sourceSpan=new W(o.sourceSpan.start,l.sourceSpan.end),o.isTrailingSpaceSensitive=l.isTrailingSpaceSensitive,o.hasTrailingSpaces=l.hasTrailingSpaces,r.removeChild(a),n--,r.removeChild(l)}})}function hh(e,t){if(t.parser==="html")return;let r=/\{\{(.+?)\}\}/su;e.walk(n=>{if(P4(n))for(let a of n.children){if(a.type!=="text")continue;let o=a.sourceSpan.start,l=null,u=a.value.split(r);for(let c=0;c0&&n.insertChildBefore(a,{type:"text",value:d,sourceSpan:new W(o,l)});continue}l=o.moveBy(d.length+4),n.insertChildBefore(a,{type:"interpolation",sourceSpan:new W(o,l),children:d.length===0?[]:[{type:"text",value:d,sourceSpan:new W(o.moveBy(2),l.moveBy(-2))}]})}n.removeChild(a)}})}function mh(e){e.walk(t=>{if(!t.children)return;if(t.children.length===0||t.children.length===1&&t.children[0].type==="text"&&et.trim(t.children[0].value).length===0){t.hasDanglingSpaces=t.children.length>0,t.children=[];return}let r=N4(t),n=Yd(t);if(!r)for(let a=0;a{t.isSelfClosing=!t.children||t.type==="element"&&(t.tagDefinition.isVoid||t.endSourceSpan&&t.startSourceSpan.start===t.endSourceSpan.start&&t.startSourceSpan.end===t.endSourceSpan.end)})}function vh(e,t){e.walk(r=>{r.type==="element"&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/u.test(t.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))})}function yh(e,t){e.walk(r=>{r.cssDisplay=t3(r,t)})}function wh(e,t){e.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=$4(r);return}for(let a of n)a.isLeadingSpaceSensitive=H4(a,t),a.isTrailingSpaceSensitive=j4(a,t);for(let a=0;a{!ma[t]&&Ra(t)===null&&(ma[t]=new q({canSelfClose:!1}))})),ma[e]??Em}function Jc(e,t,r=null){let n=[],a=e.visit?o=>e.visit(o,r)||o.visit(e,r):o=>o.visit(e,r);return t.forEach(o=>{let l=a(o);l&&n.push(l)}),n}function Eh(e,t){if(t!=null&&!(Array.isArray(t)&&t.length==2))throw new Error(`Expected '${e}' to be an array, [start, end].`);if(t!=null){let r=t[0],n=t[1];wy.forEach(a=>{if(a.test(r)||a.test(n))throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`)})}}function Ch(e,t,r,n={}){let a=new Dy(new w1(e,t),r,n);return a.tokenize(),new by(I3(a.tokens),a.errors,a.nonNormalizedIcuExpressions)}function Dr(e){return`Unexpected character "${e===0?"EOF":String.fromCharCode(e)}"`}function js(e){return`Unknown entity "${e}" - use the "&#;" or "&#x;" syntax`}function xh(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}function ne(e){return!Va(e)||e===0}function $s(e){return Va(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function Fh(e){return(e<97||12257)}function Sh(e){return e===59||e===0||!B3(e)}function Ah(e){return e===59||e===0||!Ua(e)}function kh(e){return e!==125}function Bh(e,t){return Xc(e)===Xc(t)}function Xc(e){return e>=97&&e<=122?e-97+65:e}function Vs(e){return Ua(e)||Vl(e)||e===95}function Us(e){return e!==59&&ne(e)}function I3(e){let t=[],r;for(let n=0;n0&&e[e.length-1]===t}function Ws(e,t){return Wa[t]!==void 0?Wa[t]||e:/^#x[a-f0-9]+$/i.test(t)?String.fromCodePoint(parseInt(t.slice(2),16)):/^#\d+$/.test(t)?String.fromCodePoint(parseInt(t.slice(1),10)):e}function Qc(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:a=!1,getTagContentType:o,tokenizeAngularBlocks:l=!1,tokenizeAngularLetDeclaration:u=!1}=t;return Ey().parse(e,"angular-html-parser",{tokenizeExpansionForms:l,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:l,tokenizeLet:u},a,o)}function _h(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}function R3(e){let t=e.slice(0,wn);if(t!=="---"&&t!=="+++")return;let r=e.indexOf(` `,wn);if(r===-1)return;let n=e.slice(wn,r).trim(),a=e.indexOf(` ${t}`,r),o=n;if(o||(o=t==="+++"?"toml":"yaml"),a===-1&&t==="---"&&o==="yaml"&&(a=e.indexOf(` -...`,r)),a===-1)return;let l=a+1+wn,s=e.charAt(l+1);if(!/\s?/u.test(s))return;let c=e.slice(0,l);return{type:"front-matter",language:o,explicitLanguage:n,value:e.slice(r+1,a),startDelimiter:t,endDelimiter:c.slice(-wn),raw:c}}function Ih(e){let t=R3(e);if(!t)return{content:e};let{raw:r}=t;return{frontMatter:t,content:Re(!1,r,/[^\n]/gu," ")+e.slice(r.length)}}function Rh(e,t){let r=e.map(t);return r.some((n,a)=>n!==e[a])?r:e}function z3(e,t){if(e.value)for(let{regex:r,parse:n}of Sy){let a=e.value.match(r);if(a)return n(e,t,a)}return null}function zh(e,t,r){let[,n,a,o]=r,l=4+n.length,s=e.sourceSpan.start.moveBy(l),c=s.moveBy(o.length),[d,f]=(()=>{try{return[!0,t(o,s).children]}catch{return[!1,[{type:"text",value:o,sourceSpan:new W(s,c)}]]}})();return{type:"ieConditionalComment",complete:d,children:f,condition:Re(!1,a.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan,startSourceSpan:new W(e.sourceSpan.start,s),endSourceSpan:new W(c,e.sourceSpan.end)}}function Th(e,t,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:Re(!1,n.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan}}function Lh(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}function T3(e){if(e.type==="block"){if(e.name=Re(!1,e.name.toLowerCase(),/\s+/gu," ").trim(),e.type="angularControlFlowBlock",!Hi(e.parameters)){delete e.parameters;return}for(let t of e.parameters)t.type="angularControlFlowBlockParameter";e.parameters={type:"angularControlFlowBlockParameters",children:e.parameters,sourceSpan:new W(e.parameters[0].sourceSpan.start,Hn(!1,e.parameters,-1).sourceSpan.end)}}}function L3(e){e.type==="letDeclaration"&&(e.type="angularLetDeclaration",e.id=e.name,e.init={type:"angularLetDeclarationInitializer",sourceSpan:new W(e.valueSpan.start,e.valueSpan.end),value:e.value},delete e.name,delete e.value)}function M3(e){(e.type==="plural"||e.type==="select")&&(e.clause=e.type,e.type="angularIcuExpression"),e.type==="expansionCase"&&(e.type="angularIcuCase")}function d1(e,t,r){let{name:n,canSelfClose:a=!0,normalizeTagName:o=!1,normalizeAttributeName:l=!1,allowHtmComponentClosingTags:s=!1,isTagNameCaseSensitive:c=!1,shouldParseAsRawText:d}=t,{rootNodes:f,errors:g}=Qc(e,{canSelfClose:a,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:c,getTagContentType:d?(...D)=>d(...D)?Qe.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:n==="angular"?!0:void 0,tokenizeAngularLetDeclaration:n==="angular"?!0:void 0});if(n==="vue"){if(f.some(x=>x.type==="docType"&&x.value==="html"||x.type==="element"&&x.name.toLowerCase()==="html"))return d1(e,a0,r);let D,E=u(()=>D??(D=Qc(e,{canSelfClose:a,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:c})),"y"),w=u(x=>E().rootNodes.find(({startSourceSpan:F})=>F&&F.start.offset===x.startSourceSpan.start.offset)??x,"M");for(let[x,F]of f.entries()){let{endSourceSpan:S,startSourceSpan:A}=F;if(S===null)g=E().errors,f[x]=w(F);else if(O3(F,r)){let B=E().errors.find(_=>_.span.start.offset>A.start.offset&&_.span.start.offset0&&e0(g[0]);let p=u(D=>{let E=D.name.startsWith(":")?D.name.slice(1).split(":")[0]:null,w=D.nameSpan.toString(),x=E!==null&&w.startsWith(`${E}:`),F=x?w.slice(E.length+1):w;D.name=F,D.namespace=E,D.hasExplicitNamespace=x},"d"),h=u(D=>{switch(D.type){case"element":p(D);for(let E of D.attrs)p(E),E.valueSpan?(E.value=E.valueSpan.toString(),/["']/u.test(E.value[0])&&(E.value=E.value.slice(1,-1))):E.value=null;break;case"comment":D.value=D.sourceSpan.toString().slice(4,-3);break;case"text":D.value=D.sourceSpan.toString();break}},"C"),v=u((D,E)=>{let w=D.toLowerCase();return E(w)?w:D},"A"),y=u(D=>{if(D.type==="element"&&(o&&(!D.namespace||D.namespace===D.tagDefinition.implicitNamespacePrefix||jn(D))&&(D.name=v(D.name,E=>Ay.has(E))),l))for(let E of D.attrs)E.namespace||(E.name=v(E.name,w=>Cl.has(D.name)&&(Cl.get("*").has(w)||Cl.get(D.name).has(w))))},"D"),b=u(D=>{D.sourceSpan&&D.endSourceSpan&&(D.sourceSpan=new W(D.sourceSpan.start,D.endSourceSpan.end))},"R"),C=u(D=>{if(D.type==="element"){let E=Ul(c?D.name:D.name.toLowerCase());!D.namespace||D.namespace===E.implicitNamespacePrefix||jn(D)?D.tagDefinition=E:D.tagDefinition=Ul("")}},"F");return Jc(new class extends yy{visitExpansionCase(D,E){n==="angular"&&this.visitChildren(E,w=>{w(D.expression)})}visit(D){h(D),C(D),y(D),b(D)}},f),f}function O3(e,t){var r;if(e.type!=="element"||e.name!=="template")return!1;let n=(r=e.attrs.find(a=>a.name==="lang"))==null?void 0:r.value;return!n||So(t,{language:n})==="html"}function e0(e){let{msg:t,span:{start:r,end:n}}=e;throw Cy(t,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:e})}function p1(e,t,r={},n=!0){let{frontMatter:a,content:o}=n?xy(e):{frontMatter:null,content:e},l=new w1(e,r.filepath),s=new Zl(l,0,0,0),c=s.moveBy(e.length),d={type:"root",sourceSpan:new W(s,c),children:d1(o,t,r)};if(a){let p=new Zl(l,0,0,0),h=p.moveBy(a.raw.length);a.sourceSpan=new W(p,h),d.children.unshift(a)}let f=new Fy(d),g=u((p,h)=>{let{offset:v}=h,y=Re(!1,e.slice(0,v),/[^\n\r]/gu," "),b=p1(y+p,t,r,!1);b.sourceSpan=new W(h,Hn(!1,b.children,-1).sourceSpan.end);let C=b.children[0];return C.length===v?b.children.shift():(C.sourceSpan=new W(C.sourceSpan.start.moveBy(v),C.sourceSpan.end),C.value=C.value.slice(v)),b},"f");return f.walk(p=>{if(p.type==="comment"){let h=z3(p,g);h&&p.parent.replaceChild(p,h)}T3(p),L3(p),M3(p)}),f}function ha(e){return{parse:u((t,r)=>p1(t,e,r),"parse"),hasPragma:E3,astFormat:"html",locStart:Do,locEnd:Eo}}var Mh,Gu,Ku,Yu,Tt,Oh,Ph,Zu,Nh,Re,Li,Mi,ql,eo,to,Wl,Nn,ro,no,ao,Gl,Kl,Xt,Yl,qa,f1,Oi,P3,Ju,Hh,h1,Xu,ur,Pi,An,jh,$h,ce,he,X,N3,Vh,Hn,Ta,t0,H3,Ze,Qu,Uh,qh,Wh,Gh,et,es,Kh,j3,Fo,Yh,$3,Zh,V3,U3,q3,So,W3,G3,K3,Y3,jn,Jh,m1,Z3,J3,g1,X3,Q3,ey,ty,ry,ny,ay,oy,ly,r0,iy,uy,n0,sy,cy,Dl,Ni,dy,py,ts,v1,Hi,y1,fy,Xh,yn,Qh,em,tm,rm,nm,am,hy,my,Xo,Zl,rs,w1,ns,W,Qo,as,os,gy,om,lm,im,um,ls,is,sm,cm,us,dm,pm,fm,ss,cs,Rr,hm,Qe,El,ds,mm,gm,vm,ym,wm,bm,ps,Dm,fs,vy,hs,q,Em,ma,ms,Er,gs,Cm,vs,xm,ys,Fm,ws,Sm,bs,Am,Ds,Lt,Es,km,Cs,Bm,xs,Cr,Fs,Ss,As,ks,Bs,yy,Wa,_m,wy,el,Im,_s,Is,tl,Rs,by,Rm,rl,zs,nl,Ts,Dy,ga,Ls,va,zm,Ms,al,ol,ye,Os,Tm,Ps,Lm,ll,Mm,Ns,Om,il,Ey,Cy,wn,xy,ya,Hs,xr,Fy,Sy,Cl,Ay,a0,Pm,Nm,Hm,jm,$m,ky,hC=R(()=>{Mh=Object.defineProperty,Gu=u(e=>{throw TypeError(e)},"Xr"),Ku=u((e,t)=>{for(var r in t)Mh(e,r,{get:t[r],enumerable:!0})},"Jr"),Yu=u((e,t,r)=>t.has(e)||Gu("Cannot "+r),"Zr"),Tt=u((e,t,r)=>(Yu(e,t,"read from private field"),r?r.call(e):t.get(e)),"Q"),Oh=u((e,t,r)=>t.has(e)?Gu("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),"en"),Ph=u((e,t,r,n)=>(Yu(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),"tn"),Zu={},Ku(Zu,{languages:u(()=>um,"languages"),options:u(()=>cm,"options"),parsers:u(()=>us,"parsers"),printers:u(()=>$m,"printers")}),Nh=u((e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},"si"),Re=Nh,Li="string",Mi="array",ql="cursor",eo="indent",to="align",Wl="trim",Nn="group",ro="fill",no="if-break",ao="indent-if-break",Gl="line-suffix",Kl="line-suffix-boundary",Xt="line",Yl="label",qa="break-parent",f1=new Set([ql,eo,to,Wl,Nn,ro,no,ao,Gl,Kl,Xt,Yl,qa]),u(jf,"ii"),Oi=jf,P3=u(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"ai"),u($f,"oi"),Hh=(Ju=class extends Error{constructor(t){super($f(t));un(this,"name","InvalidDocError");this.doc=t}},u(Ju,"lr"),Ju),h1=Hh,Xu=u(()=>{},"rn"),ur=Xu,Pi=Xu,u(ut,"k"),u(Wd,"nn"),u(le,"_"),u(Iv,"sn"),u(Rv,"an"),u(Gd,"At"),u(Xa,"ge"),u(zv,"on"),An={type:qa},jh={type:Xt,hard:!0},$h={type:Xt,hard:!0,literal:!0},ce={type:Xt},he={type:Xt,soft:!0},X=[jh,An],N3=[$h,An],u(Kr,"q"),Vh=u((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"ci"),Hn=Vh,u(ki,"Dt"),u(Tv,"pi"),u(Lv,"ln"),u(Ve,"B"),Ta="'",t0='"',u(Vf,"hi"),H3=Vf,u(Uf,"cr"),Uh=(Qu=class{constructor(e){Oh(this,Ze),Ph(this,Ze,new Set(e))}getLeadingWhitespaceCount(e){let t=Tt(this,Ze),r=0;for(let n=0;n=0&&t.has(e.charAt(n));n--)r++;return r}getLeadingWhitespace(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(0,t)}getTrailingWhitespace(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(e.length-t)}hasLeadingWhitespace(e){return Tt(this,Ze).has(e.charAt(0))}hasTrailingWhitespace(e){return Tt(this,Ze).has(Hn(!1,e,-1))}trimStart(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(t)}trimEnd(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-t)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,t=!1){let r=`[${Uf([...Tt(this,Ze)].join(""))}]+`,n=new RegExp(t?`(${r})`:r,"u");return e.split(n)}hasWhitespaceCharacter(e){let t=Tt(this,Ze);return Array.prototype.some.call(e,r=>t.has(r))}hasNonWhitespaceCharacter(e){let t=Tt(this,Ze);return Array.prototype.some.call(e,r=>!t.has(r))}isWhitespaceOnly(e){let t=Tt(this,Ze);return Array.prototype.every.call(e,r=>t.has(r))}},u(Qu,"pr"),Qu),Ze=new WeakMap,qh=Uh,Wh=[" ",` -`,"\f","\r"," "],Gh=new qh(Wh),et=Gh,Kh=(es=class extends Error{constructor(t,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`);un(this,"name","UnexpectedNodeError");this.node=t}},u(es,"hr"),es),j3=Kh,u(qf,"di"),Fo=qf,Yh=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),$3=new Set(["if","else if","for","switch","case"]),u(Mu,"fn"),Mu.ignoredProperties=Yh,Zh=Mu,u(Wf,"Si"),V3=Wf,u(yo,"Ce"),u(Yr,"j"),u(Ue,"T"),u(Gf,"_i"),U3=Gf,q3=u(e=>String(e).split(/[/\\]/u).pop(),"Ei"),u(Kc,"Sn"),u(Mv,"Ai"),u(Kf,"Di"),So=Kf,W3="inline",G3={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",style:"none",template:"inline",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",dialog:"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",search:"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",menu:"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",input:"inline-block",button:"inline-block",fieldset:"block",marquee:"inline-block",source:"block",track:"block",details:"block",summary:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},K3="normal",Y3={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},u(Yf,"vi"),jn=Yf,Jh=u(e=>Re(!1,e,/^[\t\f\r ]*\n/gu,""),"yi"),m1=u(e=>Jh(et.trimEnd(e)),"mr"),Z3=u(e=>{let t=e,r=et.getLeadingWhitespace(t);r&&(t=t.slice(r.length));let n=et.getTrailingWhitespace(t);return n&&(t=t.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:t}},"vn"),u(Kd,"yt"),u(wo,"Ee"),u(Ov,"wi"),u(Pe,"$"),u(Ft,"U"),u(Pv,"yn"),u(Nv,"wn"),u(Yd,"fr"),u(Hv,"bn"),u(jv,"Tn"),u($v,"xn"),u(_a,"Qe"),u(Vv,"kn"),u(Zd,"dr"),u(bl,"wt"),u(Uv,"bi"),u(Jd,"Bn"),u(Xd,"Ln"),u(Qd,"Fn"),u(e1,"Nn"),u(Bi,"bt"),u(qv,"Ti"),u(t1,"Pn"),u(Wv,"xi"),u(Gv,"ki"),u(Kv,"Bi"),u(Yc,"gr"),u(Yn,"Xe"),u(Yv,"Li"),u(Zv,"Fi"),u(Jv,"Ni"),u(Xv,"Pi"),u(Qv,"Ii"),u(Nr,"_e"),u(e3,"Ri"),u(t3,"In"),u(r1,"Rn"),u(r3,"$i"),u(n1,"Cr"),u(a1,"Sr"),u(Ut,"P"),J3=new Set(["template","style","script"]),u(bo,"Je"),u(Zr,"Ae"),u(_i,"Tt"),u(n3,"$n"),u(a3,"On"),u(o1,"xt"),u(l1,"kt"),g1=/\{\{(.+?)\}\}/su,u(o3,"Mn"),u(Yo,"Er"),X3=Yo({parser:"__ng_action"}),Q3=Yo({parser:"__ng_binding"}),ey=Yo({parser:"__ng_directive"}),u(Zf,"Vi"),ty=Zf,u(Jf,"Ui"),ry=Jf,u(Zc,"Vn"),ny=/^[ \t\n\r\u000c]+/,ay=/^[, \t\n\r\u000c]+/,oy=/^[^ \t\n\r\u000c]+/,ly=/[,]+$/,r0=/^\d+$/,iy=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,u(Xf,"Ki"),uy=Xf,u(Qf,"Qi"),n0={width:"w",height:"h",density:"x"},sy=Object.keys(n0),u(l3,"Ji"),cy=Qf,u(i3,"Yn"),Dl=new WeakMap,u(eh,"Zi"),Ni=eh,u(u3,"jn"),u(s3,"Kn"),u(c3,"Qn"),u(d3,"Xn"),u(p3,"ea"),u(th,"ta"),u(f3,"ra"),u(h3,"na"),u(i1,"Jn"),dy=th,u(rh,"sa"),u(m3,"ia"),py=rh,ts=new Proxy(()=>{},{get:u(()=>ts,"get")}),v1=ts,u(nh,"aa"),Hi=nh,u(Do,"se"),u(Eo,"ie"),u(jl,"Ze"),u(g3,"oa"),u(xn,"De"),u(v3,"ua"),u(or,"W"),u(Ii,"Bt"),u(Zn,"ve"),u(u1,"rs"),u(lr,"K"),u(Jn,"ye"),u(Pn,"we"),u(Co,"et"),u(y3,"la"),u(xo,"tt"),u(w3,"ca"),u(b3,"pa"),u($l,"rt"),u(Fn,"be"),u(ir,"z"),u(Ri,"Lt"),u(zi,"Ft"),u(ah,"ha"),y1=ah,fy=new Set(["if","else if","for","switch","case"]),u(oh,"fa"),Xh=oh,yn=null,u(Sn,"st"),Qh=10;for(let e=0;e<=Qh;e++)Sn();u(D3,"vr"),u(lh,"ga"),em=lh,tm={"front-matter":[],root:["children"],element:["attrs","children"],ieConditionalComment:["children"],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:["children"],text:["children"],docType:[],comment:[],attribute:[],cdata:[],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:["children"],angularControlFlowBlockParameter:[],angularLetDeclaration:["init"],angularLetDeclarationInitializer:[],angularIcuExpression:["cases"],angularIcuCase:["expression"]},rm=tm,nm=em(rm),am=nm,u(E3,"os"),u(ih,"us"),hy=new Map([["if",new Set(["else if","else"])],["else if",new Set(["else if","else"])],["for",new Set(["empty"])],["defer",new Set(["placeholder","error","loading"])],["placeholder",new Set(["placeholder","error","loading"])],["error",new Set(["placeholder","error","loading"])],["loading",new Set(["placeholder","error","loading"])]]),u(s1,"cs"),u(vn,"it"),u(Ia,"Pt"),u(Ti,"He"),u(C3,"ps"),u(c1,"hs"),u(x3,"_a"),u(F3,"ms"),u(S3,"fs"),u(A3,"ds"),u(k3,"gs"),u(Va,"at"),u(Vl,"It"),u(Ua,"ot"),u(B3,"Cs"),u(Zo,"Rt"),u(Ou,"yr"),u(Jo,"$t"),my=/-+([a-z0-9])/g,u(uh,"_s"),Zl=(Xo=class{constructor(e,t,r,n){this.file=e,this.offset=t,this.line=r,this.col=n}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let t=this.file.content,r=t.length,n=this.offset,a=this.line,o=this.col;for(;n>0&&e<0;)if(n--,e++,t.charCodeAt(n)==10){a--;let l=t.substring(0,n-1).lastIndexOf(` +...`,r)),a===-1)return;let l=a+1+wn,u=e.charAt(l+1);if(!/\s?/u.test(u))return;let c=e.slice(0,l);return{type:"front-matter",language:o,explicitLanguage:n,value:e.slice(r+1,a),startDelimiter:t,endDelimiter:c.slice(-wn),raw:c}}function Ih(e){let t=R3(e);if(!t)return{content:e};let{raw:r}=t;return{frontMatter:t,content:Re(!1,r,/[^\n]/gu," ")+e.slice(r.length)}}function Rh(e,t){let r=e.map(t);return r.some((n,a)=>n!==e[a])?r:e}function z3(e,t){if(e.value)for(let{regex:r,parse:n}of Sy){let a=e.value.match(r);if(a)return n(e,t,a)}return null}function zh(e,t,r){let[,n,a,o]=r,l=4+n.length,u=e.sourceSpan.start.moveBy(l),c=u.moveBy(o.length),[d,f]=(()=>{try{return[!0,t(o,u).children]}catch{return[!1,[{type:"text",value:o,sourceSpan:new W(u,c)}]]}})();return{type:"ieConditionalComment",complete:d,children:f,condition:Re(!1,a.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan,startSourceSpan:new W(e.sourceSpan.start,u),endSourceSpan:new W(c,e.sourceSpan.end)}}function Th(e,t,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:Re(!1,n.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan}}function Lh(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}function T3(e){if(e.type==="block"){if(e.name=Re(!1,e.name.toLowerCase(),/\s+/gu," ").trim(),e.type="angularControlFlowBlock",!Hi(e.parameters)){delete e.parameters;return}for(let t of e.parameters)t.type="angularControlFlowBlockParameter";e.parameters={type:"angularControlFlowBlockParameters",children:e.parameters,sourceSpan:new W(e.parameters[0].sourceSpan.start,Hn(!1,e.parameters,-1).sourceSpan.end)}}}function L3(e){e.type==="letDeclaration"&&(e.type="angularLetDeclaration",e.id=e.name,e.init={type:"angularLetDeclarationInitializer",sourceSpan:new W(e.valueSpan.start,e.valueSpan.end),value:e.value},delete e.name,delete e.value)}function M3(e){(e.type==="plural"||e.type==="select")&&(e.clause=e.type,e.type="angularIcuExpression"),e.type==="expansionCase"&&(e.type="angularIcuCase")}function d1(e,t,r){let{name:n,canSelfClose:a=!0,normalizeTagName:o=!1,normalizeAttributeName:l=!1,allowHtmComponentClosingTags:u=!1,isTagNameCaseSensitive:c=!1,shouldParseAsRawText:d}=t,{rootNodes:f,errors:g}=Qc(e,{canSelfClose:a,allowHtmComponentClosingTags:u,isTagNameCaseSensitive:c,getTagContentType:d?(...D)=>d(...D)?Qe.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:n==="angular"?!0:void 0,tokenizeAngularLetDeclaration:n==="angular"?!0:void 0});if(n==="vue"){if(f.some(x=>x.type==="docType"&&x.value==="html"||x.type==="element"&&x.name.toLowerCase()==="html"))return d1(e,a0,r);let D,E=s(()=>D??(D=Qc(e,{canSelfClose:a,allowHtmComponentClosingTags:u,isTagNameCaseSensitive:c})),"y"),w=s(x=>E().rootNodes.find(({startSourceSpan:F})=>F&&F.start.offset===x.startSourceSpan.start.offset)??x,"M");for(let[x,F]of f.entries()){let{endSourceSpan:S,startSourceSpan:A}=F;if(S===null)g=E().errors,f[x]=w(F);else if(O3(F,r)){let B=E().errors.find(_=>_.span.start.offset>A.start.offset&&_.span.start.offset0&&e0(g[0]);let p=s(D=>{let E=D.name.startsWith(":")?D.name.slice(1).split(":")[0]:null,w=D.nameSpan.toString(),x=E!==null&&w.startsWith(`${E}:`),F=x?w.slice(E.length+1):w;D.name=F,D.namespace=E,D.hasExplicitNamespace=x},"d"),h=s(D=>{switch(D.type){case"element":p(D);for(let E of D.attrs)p(E),E.valueSpan?(E.value=E.valueSpan.toString(),/["']/u.test(E.value[0])&&(E.value=E.value.slice(1,-1))):E.value=null;break;case"comment":D.value=D.sourceSpan.toString().slice(4,-3);break;case"text":D.value=D.sourceSpan.toString();break}},"C"),v=s((D,E)=>{let w=D.toLowerCase();return E(w)?w:D},"A"),y=s(D=>{if(D.type==="element"&&(o&&(!D.namespace||D.namespace===D.tagDefinition.implicitNamespacePrefix||jn(D))&&(D.name=v(D.name,E=>Ay.has(E))),l))for(let E of D.attrs)E.namespace||(E.name=v(E.name,w=>Cl.has(D.name)&&(Cl.get("*").has(w)||Cl.get(D.name).has(w))))},"D"),b=s(D=>{D.sourceSpan&&D.endSourceSpan&&(D.sourceSpan=new W(D.sourceSpan.start,D.endSourceSpan.end))},"R"),C=s(D=>{if(D.type==="element"){let E=Ul(c?D.name:D.name.toLowerCase());!D.namespace||D.namespace===E.implicitNamespacePrefix||jn(D)?D.tagDefinition=E:D.tagDefinition=Ul("")}},"F");return Jc(new class extends yy{visitExpansionCase(D,E){n==="angular"&&this.visitChildren(E,w=>{w(D.expression)})}visit(D){h(D),C(D),y(D),b(D)}},f),f}function O3(e,t){var r;if(e.type!=="element"||e.name!=="template")return!1;let n=(r=e.attrs.find(a=>a.name==="lang"))==null?void 0:r.value;return!n||So(t,{language:n})==="html"}function e0(e){let{msg:t,span:{start:r,end:n}}=e;throw Cy(t,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:e})}function p1(e,t,r={},n=!0){let{frontMatter:a,content:o}=n?xy(e):{frontMatter:null,content:e},l=new w1(e,r.filepath),u=new Zl(l,0,0,0),c=u.moveBy(e.length),d={type:"root",sourceSpan:new W(u,c),children:d1(o,t,r)};if(a){let p=new Zl(l,0,0,0),h=p.moveBy(a.raw.length);a.sourceSpan=new W(p,h),d.children.unshift(a)}let f=new Fy(d),g=s((p,h)=>{let{offset:v}=h,y=Re(!1,e.slice(0,v),/[^\n\r]/gu," "),b=p1(y+p,t,r,!1);b.sourceSpan=new W(h,Hn(!1,b.children,-1).sourceSpan.end);let C=b.children[0];return C.length===v?b.children.shift():(C.sourceSpan=new W(C.sourceSpan.start.moveBy(v),C.sourceSpan.end),C.value=C.value.slice(v)),b},"f");return f.walk(p=>{if(p.type==="comment"){let h=z3(p,g);h&&p.parent.replaceChild(p,h)}T3(p),L3(p),M3(p)}),f}function ha(e){return{parse:s((t,r)=>p1(t,e,r),"parse"),hasPragma:E3,astFormat:"html",locStart:Do,locEnd:Eo}}var Mh,Gs,Ks,Ys,Tt,Oh,Ph,Zs,Nh,Re,Li,Mi,ql,eo,to,Wl,Nn,ro,no,ao,Gl,Kl,Xt,Yl,qa,f1,Oi,P3,Js,Hh,h1,Xs,sr,Pi,An,jh,$h,ce,he,X,N3,Vh,Hn,Ta,t0,H3,Ze,Qs,Uh,qh,Wh,Gh,et,eu,Kh,j3,Fo,Yh,$3,Zh,V3,U3,q3,So,W3,G3,K3,Y3,jn,Jh,m1,Z3,J3,g1,X3,Q3,ey,ty,ry,ny,ay,oy,ly,r0,iy,sy,n0,uy,cy,Dl,Ni,dy,py,tu,v1,Hi,y1,fy,Xh,yn,Qh,em,tm,rm,nm,am,hy,my,Xo,Zl,ru,w1,nu,W,Qo,au,ou,gy,om,lm,im,sm,lu,iu,um,cm,su,dm,pm,fm,uu,cu,Rr,hm,Qe,El,du,mm,gm,vm,ym,wm,bm,pu,Dm,fu,vy,hu,q,Em,ma,mu,Er,gu,Cm,vu,xm,yu,Fm,wu,Sm,bu,Am,Du,Lt,Eu,km,Cu,Bm,xu,Cr,Fu,Su,Au,ku,Bu,yy,Wa,_m,wy,el,Im,_u,Iu,tl,Ru,by,Rm,rl,zu,nl,Tu,Dy,ga,Lu,va,zm,Mu,al,ol,ye,Ou,Tm,Pu,Lm,ll,Mm,Nu,Om,il,Ey,Cy,wn,xy,ya,Hu,xr,Fy,Sy,Cl,Ay,a0,Pm,Nm,Hm,jm,$m,ky,hC=R(()=>{Mh=Object.defineProperty,Gs=s(e=>{throw TypeError(e)},"Xr"),Ks=s((e,t)=>{for(var r in t)Mh(e,r,{get:t[r],enumerable:!0})},"Jr"),Ys=s((e,t,r)=>t.has(e)||Gs("Cannot "+r),"Zr"),Tt=s((e,t,r)=>(Ys(e,t,"read from private field"),r?r.call(e):t.get(e)),"Q"),Oh=s((e,t,r)=>t.has(e)?Gs("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),"en"),Ph=s((e,t,r,n)=>(Ys(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),"tn"),Zs={},Ks(Zs,{languages:s(()=>sm,"languages"),options:s(()=>cm,"options"),parsers:s(()=>su,"parsers"),printers:s(()=>$m,"printers")}),Nh=s((e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},"si"),Re=Nh,Li="string",Mi="array",ql="cursor",eo="indent",to="align",Wl="trim",Nn="group",ro="fill",no="if-break",ao="indent-if-break",Gl="line-suffix",Kl="line-suffix-boundary",Xt="line",Yl="label",qa="break-parent",f1=new Set([ql,eo,to,Wl,Nn,ro,no,ao,Gl,Kl,Xt,Yl,qa]),s(jf,"ii"),Oi=jf,P3=s(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"ai"),s($f,"oi"),Hh=(Js=class extends Error{constructor(t){super($f(t));sn(this,"name","InvalidDocError");this.doc=t}},s(Js,"lr"),Js),h1=Hh,Xs=s(()=>{},"rn"),sr=Xs,Pi=Xs,s(st,"k"),s(Wd,"nn"),s(le,"_"),s(I4,"sn"),s(R4,"an"),s(Gd,"At"),s(Xa,"ge"),s(z4,"on"),An={type:qa},jh={type:Xt,hard:!0},$h={type:Xt,hard:!0,literal:!0},ce={type:Xt},he={type:Xt,soft:!0},X=[jh,An],N3=[$h,An],s(Kr,"q"),Vh=s((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"ci"),Hn=Vh,s(ki,"Dt"),s(T4,"pi"),s(L4,"ln"),s(Ve,"B"),Ta="'",t0='"',s(Vf,"hi"),H3=Vf,s(Uf,"cr"),Uh=(Qs=class{constructor(e){Oh(this,Ze),Ph(this,Ze,new Set(e))}getLeadingWhitespaceCount(e){let t=Tt(this,Ze),r=0;for(let n=0;n=0&&t.has(e.charAt(n));n--)r++;return r}getLeadingWhitespace(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(0,t)}getTrailingWhitespace(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(e.length-t)}hasLeadingWhitespace(e){return Tt(this,Ze).has(e.charAt(0))}hasTrailingWhitespace(e){return Tt(this,Ze).has(Hn(!1,e,-1))}trimStart(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(t)}trimEnd(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-t)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,t=!1){let r=`[${Uf([...Tt(this,Ze)].join(""))}]+`,n=new RegExp(t?`(${r})`:r,"u");return e.split(n)}hasWhitespaceCharacter(e){let t=Tt(this,Ze);return Array.prototype.some.call(e,r=>t.has(r))}hasNonWhitespaceCharacter(e){let t=Tt(this,Ze);return Array.prototype.some.call(e,r=>!t.has(r))}isWhitespaceOnly(e){let t=Tt(this,Ze);return Array.prototype.every.call(e,r=>t.has(r))}},s(Qs,"pr"),Qs),Ze=new WeakMap,qh=Uh,Wh=[" ",` +`,"\f","\r"," "],Gh=new qh(Wh),et=Gh,Kh=(eu=class extends Error{constructor(t,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`);sn(this,"name","UnexpectedNodeError");this.node=t}},s(eu,"hr"),eu),j3=Kh,s(qf,"di"),Fo=qf,Yh=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),$3=new Set(["if","else if","for","switch","case"]),s(Ms,"fn"),Ms.ignoredProperties=Yh,Zh=Ms,s(Wf,"Si"),V3=Wf,s(yo,"Ce"),s(Yr,"j"),s(Ue,"T"),s(Gf,"_i"),U3=Gf,q3=s(e=>String(e).split(/[/\\]/u).pop(),"Ei"),s(Kc,"Sn"),s(M4,"Ai"),s(Kf,"Di"),So=Kf,W3="inline",G3={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",style:"none",template:"inline",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",dialog:"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",search:"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",menu:"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",input:"inline-block",button:"inline-block",fieldset:"block",marquee:"inline-block",source:"block",track:"block",details:"block",summary:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},K3="normal",Y3={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},s(Yf,"vi"),jn=Yf,Jh=s(e=>Re(!1,e,/^[\t\f\r ]*\n/gu,""),"yi"),m1=s(e=>Jh(et.trimEnd(e)),"mr"),Z3=s(e=>{let t=e,r=et.getLeadingWhitespace(t);r&&(t=t.slice(r.length));let n=et.getTrailingWhitespace(t);return n&&(t=t.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:t}},"vn"),s(Kd,"yt"),s(wo,"Ee"),s(O4,"wi"),s(Pe,"$"),s(Ft,"U"),s(P4,"yn"),s(N4,"wn"),s(Yd,"fr"),s(H4,"bn"),s(j4,"Tn"),s($4,"xn"),s(_a,"Qe"),s(V4,"kn"),s(Zd,"dr"),s(bl,"wt"),s(U4,"bi"),s(Jd,"Bn"),s(Xd,"Ln"),s(Qd,"Fn"),s(e1,"Nn"),s(Bi,"bt"),s(q4,"Ti"),s(t1,"Pn"),s(W4,"xi"),s(G4,"ki"),s(K4,"Bi"),s(Yc,"gr"),s(Yn,"Xe"),s(Y4,"Li"),s(Z4,"Fi"),s(J4,"Ni"),s(X4,"Pi"),s(Q4,"Ii"),s(Nr,"_e"),s(e3,"Ri"),s(t3,"In"),s(r1,"Rn"),s(r3,"$i"),s(n1,"Cr"),s(a1,"Sr"),s(Ut,"P"),J3=new Set(["template","style","script"]),s(bo,"Je"),s(Zr,"Ae"),s(_i,"Tt"),s(n3,"$n"),s(a3,"On"),s(o1,"xt"),s(l1,"kt"),g1=/\{\{(.+?)\}\}/su,s(o3,"Mn"),s(Yo,"Er"),X3=Yo({parser:"__ng_action"}),Q3=Yo({parser:"__ng_binding"}),ey=Yo({parser:"__ng_directive"}),s(Zf,"Vi"),ty=Zf,s(Jf,"Ui"),ry=Jf,s(Zc,"Vn"),ny=/^[ \t\n\r\u000c]+/,ay=/^[, \t\n\r\u000c]+/,oy=/^[^ \t\n\r\u000c]+/,ly=/[,]+$/,r0=/^\d+$/,iy=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,s(Xf,"Ki"),sy=Xf,s(Qf,"Qi"),n0={width:"w",height:"h",density:"x"},uy=Object.keys(n0),s(l3,"Ji"),cy=Qf,s(i3,"Yn"),Dl=new WeakMap,s(eh,"Zi"),Ni=eh,s(s3,"jn"),s(u3,"Kn"),s(c3,"Qn"),s(d3,"Xn"),s(p3,"ea"),s(th,"ta"),s(f3,"ra"),s(h3,"na"),s(i1,"Jn"),dy=th,s(rh,"sa"),s(m3,"ia"),py=rh,tu=new Proxy(()=>{},{get:s(()=>tu,"get")}),v1=tu,s(nh,"aa"),Hi=nh,s(Do,"se"),s(Eo,"ie"),s(jl,"Ze"),s(g3,"oa"),s(xn,"De"),s(v3,"ua"),s(or,"W"),s(Ii,"Bt"),s(Zn,"ve"),s(s1,"rs"),s(lr,"K"),s(Jn,"ye"),s(Pn,"we"),s(Co,"et"),s(y3,"la"),s(xo,"tt"),s(w3,"ca"),s(b3,"pa"),s($l,"rt"),s(Fn,"be"),s(ir,"z"),s(Ri,"Lt"),s(zi,"Ft"),s(ah,"ha"),y1=ah,fy=new Set(["if","else if","for","switch","case"]),s(oh,"fa"),Xh=oh,yn=null,s(Sn,"st"),Qh=10;for(let e=0;e<=Qh;e++)Sn();s(D3,"vr"),s(lh,"ga"),em=lh,tm={"front-matter":[],root:["children"],element:["attrs","children"],ieConditionalComment:["children"],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:["children"],text:["children"],docType:[],comment:[],attribute:[],cdata:[],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:["children"],angularControlFlowBlockParameter:[],angularLetDeclaration:["init"],angularLetDeclarationInitializer:[],angularIcuExpression:["cases"],angularIcuCase:["expression"]},rm=tm,nm=em(rm),am=nm,s(E3,"os"),s(ih,"us"),hy=new Map([["if",new Set(["else if","else"])],["else if",new Set(["else if","else"])],["for",new Set(["empty"])],["defer",new Set(["placeholder","error","loading"])],["placeholder",new Set(["placeholder","error","loading"])],["error",new Set(["placeholder","error","loading"])],["loading",new Set(["placeholder","error","loading"])]]),s(u1,"cs"),s(vn,"it"),s(Ia,"Pt"),s(Ti,"He"),s(C3,"ps"),s(c1,"hs"),s(x3,"_a"),s(F3,"ms"),s(S3,"fs"),s(A3,"ds"),s(k3,"gs"),s(Va,"at"),s(Vl,"It"),s(Ua,"ot"),s(B3,"Cs"),s(Zo,"Rt"),s(Os,"yr"),s(Jo,"$t"),my=/-+([a-z0-9])/g,s(sh,"_s"),Zl=(Xo=class{constructor(e,t,r,n){this.file=e,this.offset=t,this.line=r,this.col=n}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let t=this.file.content,r=t.length,n=this.offset,a=this.line,o=this.col;for(;n>0&&e<0;)if(n--,e++,t.charCodeAt(n)==10){a--;let l=t.substring(0,n-1).lastIndexOf(` `);o=l>0?n-l:n}else o--;for(;n0;){let l=t.charCodeAt(n);n++,e--,l==10?(a++,o=0):o++}return new Xo(this.file,n,a,o)}getContext(e,t){let r=this.file.content,n=this.offset;if(n!=null){n>r.length-1&&(n=r.length-1);let a=n,o=0,l=0;for(;o0&&(n--,o++,!(r[n]==` `&&++l==t)););for(o=0,l=0;o]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},u(as,"Ue"),as),gy=[ch,dh,ph,hh,mh,yh,gh,vh,wh,fh],u(sh,"Da"),u(ch,"va"),u(dh,"ya"),u(_3,"wa"),u(ph,"ba"),u(fh,"Ta"),u(hh,"xa"),u(mh,"ka"),u(gh,"Ba"),u(vh,"La"),u(yh,"Fa"),u(wh,"Na"),om=sh,u(bh,"Pa"),lm={preprocess:om,print:bh,insertPragma:ih,massageAstNode:Zh,embed:Xh,getVisitorKeys:am},im=lm,um=[{linguistLanguageId:146,name:"Angular",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".component.html"],parsers:["angular"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:146,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml",".mjml"],parsers:["html"],vscodeLanguageIds:["html"]},{linguistLanguageId:146,name:"Lightning Web Components",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[],parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:391,name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",parsers:["vue"],vscodeLanguageIds:["vue"]}],ls={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},is="HTML",sm={bracketSameLine:ls.bracketSameLine,htmlWhitespaceSensitivity:{category:is,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:ls.singleAttributePerLine,vueIndentScriptAndStyle:{category:is,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},cm=sm,us={},Ku(us,{angular:u(()=>Nm,"angular"),html:u(()=>Pm,"html"),lwc:u(()=>jm,"lwc"),vue:u(()=>Hm,"vue")}),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(dm||(dm={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(pm||(pm={})),function(e){e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"}(fm||(fm={})),ss={name:"custom-elements"},cs={name:"no-errors-schema"},function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(Rr||(Rr={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(hm||(hm={})),function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"}(Qe||(Qe={})),u(Qa,"ut"),u(Pu,"xr"),u(Nu,"kr"),u(Ra,"We"),u(fa,"ze"),u(Hu,"Br"),u(za,"Mt"),mm=(ds=class{},u(ds,"Ht"),ds),gm="boolean",vm="number",ym="string",wm="object",bm=["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|",":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":math:math^:math:|",":math:maction^:math:|",":math:menclose^:math:|",":math:merror^:math:|",":math:mfenced^:math:|",":math:mfrac^:math:|",":math:mi^:math:|",":math:mmultiscripts^:math:|",":math:mn^:math:|",":math:mo^:math:|",":math:mover^:math:|",":math:mpadded^:math:|",":math:mphantom^:math:|",":math:mroot^:math:|",":math:mrow^:math:|",":math:ms^:math:|",":math:mspace^:math:|",":math:msqrt^:math:|",":math:mstyle^:math:|",":math:msub^:math:|",":math:msubsup^:math:|",":math:msup^:math:|",":math:mtable^:math:|",":math:mtd^:math:|",":math:mtext^:math:|",":math:mtr^:math:|",":math:munder^:math:|",":math:munderover^:math:|",":math:semantics^:math:|"],ps=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),Dm=Array.from(ps).reduce((e,[t,r])=>(e.set(t,r),e),new Map),vy=(fs=class extends mm{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,bm.forEach(e=>{let t=new Map,r=new Set,[n,a]=e.split("|"),o=a.split(","),[l,s]=n.split("^");l.split(",").forEach(d=>{this._schema.set(d.toLowerCase(),t),this._eventSchema.set(d.toLowerCase(),r)});let c=s&&this._schema.get(s.toLowerCase());if(c){for(let[d,f]of c)t.set(d,f);for(let d of this._eventSchema.get(s.toLowerCase()))r.add(d)}o.forEach(d=>{if(d.length>0)switch(d[0]){case"*":r.add(d.substring(1));break;case"!":t.set(d.substring(1),gm);break;case"#":t.set(d.substring(1),vm);break;case"%":t.set(d.substring(1),wm);break;default:t.set(d,ym)}})})}hasProperty(e,t,r){if(r.some(n=>n.name===cs.name))return!0;if(e.indexOf("-")>-1){if(Pu(e)||Nu(e))return!1;if(r.some(n=>n.name===ss.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(t)}hasElement(e,t){return t.some(r=>r.name===cs.name)||e.indexOf("-")>-1&&(Pu(e)||Nu(e)||t.some(r=>r.name===ss.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,t,r){r&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let n=Hu()[e+"|"+t];return n||(n=Hu()["*|"+t],n||Rr.NONE)}getMappedPropName(e){return ps.get(e)??e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=... -If '${e}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){let t=this._schema.get(e.toLowerCase())||this._schema.get("unknown");return Array.from(t.keys()).map(r=>Dm.get(r)??r)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return uh(e)}normalizeAnimationStyleValue(e,t,r){let n="",a=r.toString().trim(),o=null;if(Dh(e)&&r!==0&&r!=="0")if(typeof r=="number")n="px";else{let l=r.match(/^[+-]?[\d\.]+([a-z]*)$/);l&&l[1].length==0&&(o=`Please provide a CSS unit value for ${t}:${r}`)}return{error:o,value:a+n}}},u(fs,"Vt"),fs),u(Dh,"Ua"),q=(hs=class{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=Qe.PARSABLE_DATA,closedByParent:n=!1,isVoid:a=!1,ignoreFirstLf:o=!1,preventNamespaceInheritance:l=!1,canSelfClose:s=!1}={}){this.closedByChildren={},this.closedByParent=!1,e&&e.length>0&&e.forEach(c=>this.closedByChildren[c]=!0),this.isVoid=a,this.closedByParent=n||a,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=o,this.preventNamespaceInheritance=l,this.canSelfClose=s??a}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return typeof this.contentType=="object"?(e===void 0?void 0:this.contentType[e])??this.contentType.default:this.contentType}},u(hs,"m"),hs),u(Ul,"Ge"),Er=(ms=class{constructor(e,t){this.sourceSpan=e,this.i18n=t}},u(ms,"oe"),ms),Cm=(gs=class extends Er{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="text"}visit(e,t){return e.visitText(this,t)}},u(gs,"Ut"),gs),xm=(vs=class extends Er{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="cdata"}visit(e,t){return e.visitCdata(this,t)}},u(vs,"Wt"),vs),Fm=(ys=class extends Er{constructor(e,t,r,n,a,o){super(n,o),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=a}visit(e,t){return e.visitExpansion(this,t)}},u(ys,"zt"),ys),Sm=(ws=class{constructor(e,t,r,n,a){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=a,this.type="expansionCase"}visit(e,t){return e.visitExpansionCase(this,t)}},u(ws,"Gt"),ws),Am=(bs=class extends Er{constructor(e,t,r,n,a,o,l){super(r,l),this.name=e,this.value=t,this.keySpan=n,this.valueSpan=a,this.valueTokens=o,this.type="attribute"}visit(e,t){return e.visitAttribute(this,t)}get nameSpan(){return this.keySpan}},u(bs,"Yt"),bs),Lt=(Ds=class extends Er{constructor(e,t,r,n,a,o=null,l=null,s){super(n,s),this.name=e,this.attrs=t,this.children=r,this.startSourceSpan=a,this.endSourceSpan=o,this.nameSpan=l,this.type="element"}visit(e,t){return e.visitElement(this,t)}},u(Ds,"G"),Ds),km=(Es=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}},u(Es,"jt"),Es),Bm=(Cs=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}},u(Cs,"Kt"),Cs),Cr=(xs=class extends Er{constructor(e,t,r,n,a,o,l=null,s){super(n,s),this.name=e,this.parameters=t,this.children=r,this.nameSpan=a,this.startSourceSpan=o,this.endSourceSpan=l,this.type="block"}visit(e,t){return e.visitBlock(this,t)}},u(xs,"Z"),xs),Ss=(Fs=class{constructor(e,t){this.expression=e,this.sourceSpan=t,this.type="blockParameter",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitBlockParameter(this,t)}},u(Fs,"ct"),Fs),ks=(As=class{constructor(e,t,r,n,a){this.name=e,this.value=t,this.sourceSpan=r,this.nameSpan=n,this.valueSpan=a,this.type="letDeclaration",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitLetDeclaration(this,t)}},u(As,"pt"),As),u(Jc,"Qt"),yy=(Bs=class{constructor(){}visitElement(e,t){this.visitChildren(t,r=>{r(e.attrs),r(e.children)})}visitAttribute(e,t){}visitText(e,t){}visitCdata(e,t){}visitComment(e,t){}visitDocType(e,t){}visitExpansion(e,t){return this.visitChildren(t,r=>{r(e.cases)})}visitExpansionCase(e,t){}visitBlock(e,t){this.visitChildren(t,r=>{r(e.parameters),r(e.children)})}visitBlockParameter(e,t){}visitLetDeclaration(e,t){}visitChildren(e,t){let r=[],n=this;function a(o){o&&r.push(Jc(n,o,e))}return u(a,"i"),t(a),Array.prototype.concat.apply([],r)}},u(Bs,"ht"),Bs),Wa={AElig:"Æ",AMP:"&",amp:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",af:"⁡",Aring:"Å",angst:"Å",Ascr:"𝒜",Assign:"≔",colone:"≔",coloneq:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",setminus:"∖",setmn:"∖",smallsetminus:"∖",ssetmn:"∖",Barv:"⫧",Barwed:"⌆",doublebarwedge:"⌆",Bcy:"Б",Because:"∵",becaus:"∵",because:"∵",Bernoullis:"ℬ",Bscr:"ℬ",bernou:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",breve:"˘",Bumpeq:"≎",HumpDownHump:"≎",bump:"≎",CHcy:"Ч",COPY:"©",copy:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",DD:"ⅅ",Cayleys:"ℭ",Cfr:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",cedil:"¸",CenterDot:"·",centerdot:"·",middot:"·",Chi:"Χ",CircleDot:"⊙",odot:"⊙",CircleMinus:"⊖",ominus:"⊖",CirclePlus:"⊕",oplus:"⊕",CircleTimes:"⊗",otimes:"⊗",ClockwiseContourIntegral:"∲",cwconint:"∲",CloseCurlyDoubleQuote:"”",rdquo:"”",rdquor:"”",CloseCurlyQuote:"’",rsquo:"’",rsquor:"’",Colon:"∷",Proportion:"∷",Colone:"⩴",Congruent:"≡",equiv:"≡",Conint:"∯",DoubleContourIntegral:"∯",ContourIntegral:"∮",conint:"∮",oint:"∮",Copf:"ℂ",complexes:"ℂ",Coproduct:"∐",coprod:"∐",CounterClockwiseContourIntegral:"∳",awconint:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",asympeq:"≍",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",ddagger:"‡",Darr:"↡",Dashv:"⫤",DoubleLeftTee:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",nabla:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",acute:"´",DiacriticalDot:"˙",dot:"˙",DiacriticalDoubleAcute:"˝",dblac:"˝",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"˜",tilde:"˜",Diamond:"⋄",diam:"⋄",diamond:"⋄",DifferentialD:"ⅆ",dd:"ⅆ",Dopf:"𝔻",Dot:"¨",DoubleDot:"¨",die:"¨",uml:"¨",DotDot:"⃜",DotEqual:"≐",doteq:"≐",esdot:"≐",DoubleDownArrow:"⇓",Downarrow:"⇓",dArr:"⇓",DoubleLeftArrow:"⇐",Leftarrow:"⇐",lArr:"⇐",DoubleLeftRightArrow:"⇔",Leftrightarrow:"⇔",hArr:"⇔",iff:"⇔",DoubleLongLeftArrow:"⟸",Longleftarrow:"⟸",xlArr:"⟸",DoubleLongLeftRightArrow:"⟺",Longleftrightarrow:"⟺",xhArr:"⟺",DoubleLongRightArrow:"⟹",Longrightarrow:"⟹",xrArr:"⟹",DoubleRightArrow:"⇒",Implies:"⇒",Rightarrow:"⇒",rArr:"⇒",DoubleRightTee:"⊨",vDash:"⊨",DoubleUpArrow:"⇑",Uparrow:"⇑",uArr:"⇑",DoubleUpDownArrow:"⇕",Updownarrow:"⇕",vArr:"⇕",DoubleVerticalBar:"∥",par:"∥",parallel:"∥",shortparallel:"∥",spar:"∥",DownArrow:"↓",ShortDownArrow:"↓",darr:"↓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",duarr:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",leftharpoondown:"↽",lhard:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",rhard:"⇁",rightharpoondown:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",top:"⊤",DownTeeArrow:"↧",mapstodown:"↧",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",in:"∈",isin:"∈",isinv:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",eqsim:"≂",esim:"≂",Equilibrium:"⇌",rightleftharpoons:"⇌",rlhar:"⇌",Escr:"ℰ",expectation:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",exist:"∃",ExponentialE:"ⅇ",ee:"ⅇ",exponentiale:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",blacksquare:"▪",squarf:"▪",squf:"▪",Fopf:"𝔽",ForAll:"∀",forall:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",gt:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",ggg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",ge:"≥",geq:"≥",GreaterEqualLess:"⋛",gel:"⋛",gtreqless:"⋛",GreaterFullEqual:"≧",gE:"≧",geqq:"≧",GreaterGreater:"⪢",GreaterLess:"≷",gl:"≷",gtrless:"≷",GreaterSlantEqual:"⩾",geqslant:"⩾",ges:"⩾",GreaterTilde:"≳",gsim:"≳",gtrsim:"≳",Gscr:"𝒢",Gt:"≫",NestedGreaterGreater:"≫",gg:"≫",HARDcy:"Ъ",Hacek:"ˇ",caron:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",Poincareplane:"ℌ",HilbertSpace:"ℋ",Hscr:"ℋ",hamilt:"ℋ",Hopf:"ℍ",quaternions:"ℍ",HorizontalLine:"─",boxh:"─",Hstrok:"Ħ",HumpEqual:"≏",bumpe:"≏",bumpeq:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Im:"ℑ",image:"ℑ",imagpart:"ℑ",Igrave:"Ì",Imacr:"Ī",ImaginaryI:"ⅈ",ii:"ⅈ",Int:"∬",Integral:"∫",int:"∫",Intersection:"⋂",bigcap:"⋂",xcap:"⋂",InvisibleComma:"⁣",ic:"⁣",InvisibleTimes:"⁢",it:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",imagline:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",lt:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Lscr:"ℒ",lagran:"ℒ",Larr:"↞",twoheadleftarrow:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",lang:"⟨",langle:"⟨",LeftArrow:"←",ShortLeftArrow:"←",larr:"←",leftarrow:"←",slarr:"←",LeftArrowBar:"⇤",larrb:"⇤",LeftArrowRightArrow:"⇆",leftrightarrows:"⇆",lrarr:"⇆",LeftCeiling:"⌈",lceil:"⌈",LeftDoubleBracket:"⟦",lobrk:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",dharl:"⇃",downharpoonleft:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",lfloor:"⌊",LeftRightArrow:"↔",harr:"↔",leftrightarrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",dashv:"⊣",LeftTeeArrow:"↤",mapstoleft:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",vartriangleleft:"⊲",vltri:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",ltrie:"⊴",trianglelefteq:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",uharl:"↿",upharpoonleft:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",leftharpoonup:"↼",lharu:"↼",LeftVectorBar:"⥒",LessEqualGreater:"⋚",leg:"⋚",lesseqgtr:"⋚",LessFullEqual:"≦",lE:"≦",leqq:"≦",LessGreater:"≶",lessgtr:"≶",lg:"≶",LessLess:"⪡",LessSlantEqual:"⩽",leqslant:"⩽",les:"⩽",LessTilde:"≲",lesssim:"≲",lsim:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",lAarr:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",longleftarrow:"⟵",xlarr:"⟵",LongLeftRightArrow:"⟷",longleftrightarrow:"⟷",xharr:"⟷",LongRightArrow:"⟶",longrightarrow:"⟶",xrarr:"⟶",Lopf:"𝕃",LowerLeftArrow:"↙",swarr:"↙",swarrow:"↙",LowerRightArrow:"↘",searr:"↘",searrow:"↘",Lsh:"↰",lsh:"↰",Lstrok:"Ł",Lt:"≪",NestedLessLess:"≪",ll:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mscr:"ℳ",phmmat:"ℳ",Mfr:"𝔐",MinusPlus:"∓",mnplus:"∓",mp:"∓",Mopf:"𝕄",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",ZeroWidthSpace:"​",NewLine:` -`,Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",nbsp:" ",Nopf:"ℕ",naturals:"ℕ",Not:"⫬",NotCongruent:"≢",nequiv:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",npar:"∦",nparallel:"∦",nshortparallel:"∦",nspar:"∦",NotElement:"∉",notin:"∉",notinva:"∉",NotEqual:"≠",ne:"≠",NotEqualTilde:"≂̸",nesim:"≂̸",NotExists:"∄",nexist:"∄",nexists:"∄",NotGreater:"≯",ngt:"≯",ngtr:"≯",NotGreaterEqual:"≱",nge:"≱",ngeq:"≱",NotGreaterFullEqual:"≧̸",ngE:"≧̸",ngeqq:"≧̸",NotGreaterGreater:"≫̸",nGtv:"≫̸",NotGreaterLess:"≹",ntgl:"≹",NotGreaterSlantEqual:"⩾̸",ngeqslant:"⩾̸",nges:"⩾̸",NotGreaterTilde:"≵",ngsim:"≵",NotHumpDownHump:"≎̸",nbump:"≎̸",NotHumpEqual:"≏̸",nbumpe:"≏̸",NotLeftTriangle:"⋪",nltri:"⋪",ntriangleleft:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",nltrie:"⋬",ntrianglelefteq:"⋬",NotLess:"≮",nless:"≮",nlt:"≮",NotLessEqual:"≰",nle:"≰",nleq:"≰",NotLessGreater:"≸",ntlg:"≸",NotLessLess:"≪̸",nLtv:"≪̸",NotLessSlantEqual:"⩽̸",nleqslant:"⩽̸",nles:"⩽̸",NotLessTilde:"≴",nlsim:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",npr:"⊀",nprec:"⊀",NotPrecedesEqual:"⪯̸",npre:"⪯̸",npreceq:"⪯̸",NotPrecedesSlantEqual:"⋠",nprcue:"⋠",NotReverseElement:"∌",notni:"∌",notniva:"∌",NotRightTriangle:"⋫",nrtri:"⋫",ntriangleright:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",nrtrie:"⋭",ntrianglerighteq:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",nsqsube:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",nsqsupe:"⋣",NotSubset:"⊂⃒",nsubset:"⊂⃒",vnsub:"⊂⃒",NotSubsetEqual:"⊈",nsube:"⊈",nsubseteq:"⊈",NotSucceeds:"⊁",nsc:"⊁",nsucc:"⊁",NotSucceedsEqual:"⪰̸",nsce:"⪰̸",nsucceq:"⪰̸",NotSucceedsSlantEqual:"⋡",nsccue:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",nsupset:"⊃⃒",vnsup:"⊃⃒",NotSupersetEqual:"⊉",nsupe:"⊉",nsupseteq:"⊉",NotTilde:"≁",nsim:"≁",NotTildeEqual:"≄",nsime:"≄",nsimeq:"≄",NotTildeFullEqual:"≇",ncong:"≇",NotTildeTilde:"≉",nap:"≉",napprox:"≉",NotVerticalBar:"∤",nmid:"∤",nshortmid:"∤",nsmid:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",ohm:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",ldquo:"“",OpenCurlyQuote:"‘",lsquo:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",oline:"‾",OverBrace:"⏞",OverBracket:"⎴",tbrk:"⎴",OverParenthesis:"⏜",PartialD:"∂",part:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",plusmn:"±",pm:"±",Popf:"ℙ",primes:"ℙ",Pr:"⪻",Precedes:"≺",pr:"≺",prec:"≺",PrecedesEqual:"⪯",pre:"⪯",preceq:"⪯",PrecedesSlantEqual:"≼",prcue:"≼",preccurlyeq:"≼",PrecedesTilde:"≾",precsim:"≾",prsim:"≾",Prime:"″",Product:"∏",prod:"∏",Proportional:"∝",prop:"∝",propto:"∝",varpropto:"∝",vprop:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',quot:'"',Qfr:"𝔔",Qopf:"ℚ",rationals:"ℚ",Qscr:"𝒬",RBarr:"⤐",drbkarow:"⤐",REG:"®",circledR:"®",reg:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",twoheadrightarrow:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",Rfr:"ℜ",real:"ℜ",realpart:"ℜ",ReverseElement:"∋",SuchThat:"∋",ni:"∋",niv:"∋",ReverseEquilibrium:"⇋",leftrightharpoons:"⇋",lrhar:"⇋",ReverseUpEquilibrium:"⥯",duhar:"⥯",Rho:"Ρ",RightAngleBracket:"⟩",rang:"⟩",rangle:"⟩",RightArrow:"→",ShortRightArrow:"→",rarr:"→",rightarrow:"→",srarr:"→",RightArrowBar:"⇥",rarrb:"⇥",RightArrowLeftArrow:"⇄",rightleftarrows:"⇄",rlarr:"⇄",RightCeiling:"⌉",rceil:"⌉",RightDoubleBracket:"⟧",robrk:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",dharr:"⇂",downharpoonright:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rfloor:"⌋",RightTee:"⊢",vdash:"⊢",RightTeeArrow:"↦",map:"↦",mapsto:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",vartriangleright:"⊳",vrtri:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",rtrie:"⊵",trianglerighteq:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",uharr:"↾",upharpoonright:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",rharu:"⇀",rightharpoonup:"⇀",RightVectorBar:"⥓",Ropf:"ℝ",reals:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",rAarr:"⇛",Rscr:"ℛ",realine:"ℛ",Rsh:"↱",rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortUpArrow:"↑",UpArrow:"↑",uarr:"↑",uparrow:"↑",Sigma:"Σ",SmallCircle:"∘",compfn:"∘",Sopf:"𝕊",Sqrt:"√",radic:"√",Square:"□",squ:"□",square:"□",SquareIntersection:"⊓",sqcap:"⊓",SquareSubset:"⊏",sqsub:"⊏",sqsubset:"⊏",SquareSubsetEqual:"⊑",sqsube:"⊑",sqsubseteq:"⊑",SquareSuperset:"⊐",sqsup:"⊐",sqsupset:"⊐",SquareSupersetEqual:"⊒",sqsupe:"⊒",sqsupseteq:"⊒",SquareUnion:"⊔",sqcup:"⊔",Sscr:"𝒮",Star:"⋆",sstarf:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",sube:"⊆",subseteq:"⊆",Succeeds:"≻",sc:"≻",succ:"≻",SucceedsEqual:"⪰",sce:"⪰",succeq:"⪰",SucceedsSlantEqual:"≽",sccue:"≽",succcurlyeq:"≽",SucceedsTilde:"≿",scsim:"≿",succsim:"≿",Sum:"∑",sum:"∑",Sup:"⋑",Supset:"⋑",Superset:"⊃",sup:"⊃",supset:"⊃",SupersetEqual:"⊇",supe:"⊇",supseteq:"⊇",THORN:"Þ",TRADE:"™",trade:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",there4:"∴",therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",Tilde:"∼",sim:"∼",thicksim:"∼",thksim:"∼",TildeEqual:"≃",sime:"≃",simeq:"≃",TildeFullEqual:"≅",cong:"≅",TildeTilde:"≈",ap:"≈",approx:"≈",asymp:"≈",thickapprox:"≈",thkap:"≈",Topf:"𝕋",TripleDot:"⃛",tdot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",lowbar:"_",UnderBrace:"⏟",UnderBracket:"⎵",bbrk:"⎵",UnderParenthesis:"⏝",Union:"⋃",bigcup:"⋃",xcup:"⋃",UnionPlus:"⊎",uplus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",udarr:"⇅",UpDownArrow:"↕",updownarrow:"↕",varr:"↕",UpEquilibrium:"⥮",udhar:"⥮",UpTee:"⊥",bot:"⊥",bottom:"⊥",perp:"⊥",UpTeeArrow:"↥",mapstoup:"↥",UpperLeftArrow:"↖",nwarr:"↖",nwarrow:"↖",UpperRightArrow:"↗",nearr:"↗",nearrow:"↗",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",bigvee:"⋁",xvee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",mid:"∣",shortmid:"∣",smid:"∣",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"❘",VerticalTilde:"≀",wr:"≀",wreath:"≀",VeryThinSpace:" ",hairsp:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",bigwedge:"⋀",xwedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",Zeta:"Ζ",Zfr:"ℨ",zeetrf:"ℨ",Zopf:"ℤ",integers:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",mstpos:"∾",acE:"∾̳",acd:"∿",acirc:"â",acy:"а",aelig:"æ",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",and:"∧",wedge:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",angle:"∠",ange:"⦤",angmsd:"∡",measuredangle:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angzarr:"⍼",aogon:"ą",aopf:"𝕒",apE:"⩰",apacir:"⩯",ape:"≊",approxeq:"≊",apid:"≋",apos:"'",aring:"å",ascr:"𝒶",ast:"*",midast:"*",atilde:"ã",auml:"ä",awint:"⨑",bNot:"⫭",backcong:"≌",bcong:"≌",backepsilon:"϶",bepsi:"϶",backprime:"‵",bprime:"‵",backsim:"∽",bsim:"∽",backsimeq:"⋍",bsime:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrktbrk:"⎶",bcy:"б",bdquo:"„",ldquor:"„",bemptyv:"⦰",beta:"β",beth:"ℶ",between:"≬",twixt:"≬",bfr:"𝔟",bigcirc:"◯",xcirc:"◯",bigodot:"⨀",xodot:"⨀",bigoplus:"⨁",xoplus:"⨁",bigotimes:"⨂",xotime:"⨂",bigsqcup:"⨆",xsqcup:"⨆",bigstar:"★",starf:"★",bigtriangledown:"▽",xdtri:"▽",bigtriangleup:"△",xutri:"△",biguplus:"⨄",xuplus:"⨄",bkarow:"⤍",rbarr:"⤍",blacklozenge:"⧫",lozf:"⧫",blacktriangle:"▴",utrif:"▴",blacktriangledown:"▾",dtrif:"▾",blacktriangleleft:"◂",ltrif:"◂",blacktriangleright:"▸",rtrif:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",minusb:"⊟",boxplus:"⊞",plusb:"⊞",boxtimes:"⊠",timesb:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bumpE:"⪮",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cemptyv:"⦲",cent:"¢",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",cire:"≗",circlearrowleft:"↺",olarr:"↺",circlearrowright:"↻",orarr:"↻",circledS:"Ⓢ",oS:"Ⓢ",circledast:"⊛",oast:"⊛",circledcirc:"⊚",ocir:"⊚",circleddash:"⊝",odash:"⊝",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",comma:",",commat:"@",comp:"∁",complement:"∁",congdot:"⩭",copf:"𝕔",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",curlyeqprec:"⋞",cuesc:"⋟",curlyeqsucc:"⋟",cularr:"↶",curvearrowleft:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curvearrowright:"↷",curarrm:"⤼",curlyvee:"⋎",cuvee:"⋎",curlywedge:"⋏",cuwed:"⋏",curren:"¤",cwint:"∱",cylcty:"⌭",dHar:"⥥",dagger:"†",daleth:"ℸ",dash:"‐",hyphen:"‐",dbkarow:"⤏",rBarr:"⤏",dcaron:"ď",dcy:"д",ddarr:"⇊",downdownarrows:"⇊",ddotseq:"⩷",eDDot:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",diamondsuit:"♦",diams:"♦",digamma:"ϝ",gammad:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",llcorner:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",doteqdot:"≑",eDot:"≑",dotminus:"∸",minusd:"∸",dotplus:"∔",plusdo:"∔",dotsquare:"⊡",sdotb:"⊡",drcorn:"⌟",lrcorner:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",triangledown:"▿",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",eqcirc:"≖",ecirc:"ê",ecolon:"≕",eqcolon:"≕",ecy:"э",edot:"ė",efDot:"≒",fallingdotseq:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",eqslantgtr:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",eqslantless:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",varnothing:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",straightepsilon:"ϵ",varepsilon:"ϵ",equals:"=",equest:"≟",questeq:"≟",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",risingdotseq:"≓",erarr:"⥱",escr:"ℯ",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",fork:"⋔",pitchfork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",half:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",sfrown:"⌢",fscr:"𝒻",gEl:"⪌",gtreqqless:"⪌",gacute:"ǵ",gamma:"γ",gap:"⪆",gtrapprox:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gimel:"ℷ",gjcy:"ѓ",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gneqq:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gnsim:"⋧",gopf:"𝕘",gscr:"ℊ",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtrdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrarr:"⥸",gvertneqq:"≩︀",gvnE:"≩︀",hardcy:"ъ",harrcir:"⥈",harrw:"↭",leftrightsquigarrow:"↭",hbar:"ℏ",hslash:"ℏ",planck:"ℏ",plankv:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",mldr:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",searhk:"⤥",hkswarow:"⤦",swarhk:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",larrhk:"↩",hookrightarrow:"↪",rarrhk:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hstrok:"ħ",hybull:"⁃",iacute:"í",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",ifr:"𝔦",igrave:"ì",iiiint:"⨌",qint:"⨌",iiint:"∭",tint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",imath:"ı",inodot:"ı",imof:"⊷",imped:"Ƶ",incare:"℅",infin:"∞",infintie:"⧝",intcal:"⊺",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iquest:"¿",iscr:"𝒾",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",varkappa:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAtail:"⤛",lBarr:"⤎",lEg:"⪋",lesseqqgtr:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lambda:"λ",langd:"⦑",lap:"⪅",lessapprox:"⪅",laquo:"«",larrbfs:"⤟",larrfs:"⤝",larrlp:"↫",looparrowleft:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",leftarrowtail:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lcy:"л",ldca:"⤶",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leq:"≤",leftleftarrows:"⇇",llarr:"⇇",leftthreetimes:"⋋",lthree:"⋋",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessdot:"⋖",ltdot:"⋖",lfisht:"⥼",lfr:"𝔩",lgE:"⪑",lharul:"⥪",lhblk:"▄",ljcy:"љ",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lneqq:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lnsim:"⋦",loang:"⟬",loarr:"⇽",longmapsto:"⟼",xmap:"⟼",looparrowright:"↬",rarrlp:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",loz:"◊",lozenge:"◊",lpar:"(",lparlt:"⦓",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsime:"⪍",lsimg:"⪏",lsquor:"‚",sbquo:"‚",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",triangleleft:"◃",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",strns:"¯",male:"♂",malt:"✠",maltese:"✠",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",mfr:"𝔪",mho:"℧",micro:"µ",midcir:"⫰",minus:"−",minusdu:"⨪",mlcp:"⫛",models:"⊧",mopf:"𝕞",mscr:"𝓂",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nLeftarrow:"⇍",nlArr:"⇍",nLeftrightarrow:"⇎",nhArr:"⇎",nLl:"⋘̸",nLt:"≪⃒",nRightarrow:"⇏",nrArr:"⇏",nVDash:"⊯",nVdash:"⊮",nacute:"ń",nang:"∠⃒",napE:"⩰̸",napid:"≋̸",napos:"ʼn",natur:"♮",natural:"♮",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",neArr:"⇗",nearhk:"⤤",nedot:"≐̸",nesear:"⤨",toea:"⤨",nfr:"𝔫",nharr:"↮",nleftrightarrow:"↮",nhpar:"⫲",nis:"⋼",nisd:"⋺",njcy:"њ",nlE:"≦̸",nleqq:"≦̸",nlarr:"↚",nleftarrow:"↚",nldr:"‥",nopf:"𝕟",not:"¬",notinE:"⋹̸",notindot:"⋵̸",notinvb:"⋷",notinvc:"⋶",notnivb:"⋾",notnivc:"⋽",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",nrarr:"↛",nrightarrow:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nscr:"𝓃",nsub:"⊄",nsubE:"⫅̸",nsubseteqq:"⫅̸",nsup:"⊅",nsupE:"⫆̸",nsupseteqq:"⫆̸",ntilde:"ñ",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwnear:"⤧",oacute:"ó",ocirc:"ô",ocy:"о",odblac:"ő",odiv:"⨸",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",olcir:"⦾",olcross:"⦻",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",oopf:"𝕠",opar:"⦷",operp:"⦹",or:"∨",vee:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",oscr:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oslash:"ø",osol:"⊘",otilde:"õ",otimesas:"⨶",ouml:"ö",ovbar:"⌽",para:"¶",parsim:"⫳",parsl:"⫽",pcy:"п",percnt:"%",period:".",permil:"‰",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",straightphi:"ϕ",varphi:"ϕ",phone:"☎",pi:"π",piv:"ϖ",varpi:"ϖ",planckh:"ℎ",plus:"+",plusacir:"⨣",pluscir:"⨢",plusdu:"⨥",pluse:"⩲",plussim:"⨦",plustwo:"⨧",pointint:"⨕",popf:"𝕡",pound:"£",prE:"⪳",prap:"⪷",precapprox:"⪷",precnapprox:"⪹",prnap:"⪹",precneqq:"⪵",prnE:"⪵",precnsim:"⋨",prnsim:"⋨",prime:"′",profalar:"⌮",profline:"⌒",profsurf:"⌓",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quatint:"⨖",quest:"?",rAtail:"⤜",rHar:"⥤",race:"∽̱",racute:"ŕ",raemptyv:"⦳",rangd:"⦒",range:"⦥",raquo:"»",rarrap:"⥵",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rightarrowtail:"↣",rarrw:"↝",rightsquigarrow:"↝",ratail:"⤚",ratio:"∶",rbbrk:"❳",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdsh:"↳",rect:"▭",rfisht:"⥽",rfr:"𝔯",rharul:"⥬",rho:"ρ",rhov:"ϱ",varrho:"ϱ",rightrightarrows:"⇉",rrarr:"⇉",rightthreetimes:"⋌",rthree:"⋌",ring:"˚",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rsaquo:"›",rscr:"𝓇",rtimes:"⋊",rtri:"▹",triangleright:"▹",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",scE:"⪴",scap:"⪸",succapprox:"⪸",scaron:"š",scedil:"ş",scirc:"ŝ",scnE:"⪶",succneqq:"⪶",scnap:"⪺",succnapprox:"⪺",scnsim:"⋩",succnsim:"⋩",scpolint:"⨓",scy:"с",sdot:"⋅",sdote:"⩦",seArr:"⇘",sect:"§",semi:";",seswar:"⤩",tosa:"⤩",sext:"✶",sfr:"𝔰",sharp:"♯",shchcy:"щ",shcy:"ш",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",varsigma:"ς",simdot:"⩪",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",smashp:"⨳",smeparsl:"⧤",smile:"⌣",ssmile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",sqcaps:"⊓︀",sqcups:"⊔︀",sscr:"𝓈",star:"☆",sub:"⊂",subset:"⊂",subE:"⫅",subseteqq:"⫅",subdot:"⪽",subedot:"⫃",submult:"⫁",subnE:"⫋",subsetneqq:"⫋",subne:"⊊",subsetneq:"⊊",subplus:"⪿",subrarr:"⥹",subsim:"⫇",subsub:"⫕",subsup:"⫓",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supseteqq:"⫆",supdot:"⪾",supdsub:"⫘",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supsetneqq:"⫌",supne:"⊋",supsetneq:"⊋",supplus:"⫀",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tcaron:"ť",tcedil:"ţ",tcy:"т",telrec:"⌕",tfr:"𝔱",theta:"θ",thetasym:"ϑ",thetav:"ϑ",vartheta:"ϑ",thorn:"þ",times:"×",timesbar:"⨱",timesd:"⨰",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tprime:"‴",triangle:"▵",utri:"▵",triangleq:"≜",trie:"≜",tridot:"◬",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",uHar:"⥣",uacute:"ú",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udblac:"ű",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uogon:"ų",uopf:"𝕦",upsi:"υ",upsilon:"υ",upuparrows:"⇈",uuarr:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",uuml:"ü",uwangle:"⦧",vBar:"⫨",vBarv:"⫩",vangrt:"⦜",varsubsetneq:"⊊︀",vsubne:"⊊︀",varsubsetneqq:"⫋︀",vsubnE:"⫋︀",varsupsetneq:"⊋︀",vsupne:"⊋︀",varsupsetneqq:"⫌︀",vsupnE:"⫌︀",vcy:"в",veebar:"⊻",veeeq:"≚",vellip:"⋮",vfr:"𝔳",vopf:"𝕧",vscr:"𝓋",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedgeq:"≙",weierp:"℘",wp:"℘",wfr:"𝔴",wopf:"𝕨",wscr:"𝓌",xfr:"𝔵",xi:"ξ",xnis:"⋻",xopf:"𝕩",xscr:"𝓍",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},_m="",Wa.ngsp=_m,wy=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//],u(Eh,"Ls"),Im=(el=class{static fromArray(e){return e?(Eh("interpolation",e),new el(e[0],e[1])):_s}constructor(e,t){this.start=e,this.end=t}},u(el,"t"),el),_s=new Im("{{","}}"),tl=(Is=class extends os{constructor(e,t,r){super(r,e),this.tokenType=t}},u(Is,"ft"),Is),by=(Rs=class{constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}},u(Rs,"$r"),Rs),u(Ch,"Ws"),Rm=/\r\n?/g,u(Dr,"je"),u(ju,"Rs"),u(xh,"ho"),function(e){e.HEX="hexadecimal",e.DEC="decimal"}(rl||(rl={})),nl=(zs=class{constructor(e){this.error=e}},u(zs,"dt"),zs),Dy=(Ts=class{constructor(e,t,r){this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._interpolationConfig=r.interpolationConfig||_s,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map(a=>a.codePointAt(0)||0),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1;let n=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new zm(e,n):new Ls(e,n),this._preserveLineEndings=r.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=r.tokenizeBlocks??!0,this._tokenizeLet=r.tokenizeLet??!0;try{this._cursor.init()}catch(a){this.handleError(a)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(Rm,` -`)}tokenize(){for(;this._cursor.peek()!==0;){let e=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(47))this._consumeTagClose(e);else{let t=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeLet&&this._cursor.peek()===64&&!this._inInterpolation&&this._attemptStr("@let")?this._consumeLetDeclaration(e):this._tokenizeBlocks&&this._attemptCharCode(64)?this._consumeBlockStart(e):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(125)?this._consumeBlockEnd(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(t){this.handleError(t)}}this._beginToken(34),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();return this._attemptCharCodeUntilFn(r=>Va(r)?!e:Vu(r)?(e=!0,!1):!0),this._cursor.getChars(t).trim()}_consumeBlockStart(e){this._beginToken(25,e);let t=this._endToken([this._getBlockName()]);if(this._cursor.peek()===40)if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(ne),this._attemptCharCode(41))this._attemptCharCodeUntilFn(ne);else{t.type=29;return}this._attemptCharCode(123)?(this._beginToken(26),this._endToken([])):t.type=29}_consumeBlockEnd(e){this._beginToken(27,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(Uu);this._cursor.peek()!==41&&this._cursor.peek()!==0;){this._beginToken(28);let e=this._cursor.clone(),t=null,r=0;for(;this._cursor.peek()!==59&&this._cursor.peek()!==0||t!==null;){let n=this._cursor.peek();if(n===92)this._cursor.advance();else if(n===t)t=null;else if(t===null&&Jo(n))t=n;else if(n===40&&t===null)r++;else if(n===41&&t===null){if(r===0)break;r>0&&r--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(Uu)}}_consumeLetDeclaration(e){if(this._beginToken(30,e),Va(this._cursor.peek()))this._attemptCharCodeUntilFn(ne);else{let r=this._endToken([this._cursor.getChars(e)]);r.type=33;return}let t=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(ne),!this._attemptCharCode(61)){t.type=33;return}this._attemptCharCodeUntilFn(r=>ne(r)&&!Zo(r)),this._consumeLetDeclarationValue(),this._cursor.peek()===59?(this._beginToken(32),this._endToken([]),this._cursor.advance()):(t.type=33,t.sourceSpan=this._cursor.getSpan(e))}_getLetDeclarationName(){let e=this._cursor.clone(),t=!1;return this._attemptCharCodeUntilFn(r=>Ua(r)||r==36||r===95||t&&Vl(r)?(t=!0,!1):!0),this._cursor.getChars(e).trim()}_consumeLetDeclarationValue(){let e=this._cursor.clone();for(this._beginToken(31,e);this._cursor.peek()!==0;){let t=this._cursor.peek();if(t===59)break;Jo(t)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(r=>r===92?(this._cursor.advance(),!1):r===t)),this._cursor.advance()}this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(kh(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===125){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(this._currentTokenStart===null)throw new tl("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(this._currentTokenType===null)throw new tl("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let r={type:this._currentTokenType,parts:e,sourceSpan:(t??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r}_createError(e,t){this._isInExpansionForm()&&(e+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let r=new tl(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new nl(r)}handleError(e){if(e instanceof al&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof nl)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return Bh(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(Dr(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()this._attemptStr("-->")),this._beginToken(11),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(11),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(12,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(18,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(19),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let e=this._cursor.clone(),t="";for(;this._cursor.peek()!==58&&!Fh(this._cursor.peek());)this._cursor.advance();let r;this._cursor.peek()===58?(t=this._cursor.getChars(e),this._cursor.advance(),r=this._cursor.clone()):r=e,this._requireCharCodeUntilFn($u,t===""?0:1);let n=this._cursor.getChars(r);return[t,n]}_consumeTagOpen(e){let t,r,n,a=[];try{if(!Ua(this._cursor.peek()))throw this._createError(Dr(this._cursor.peek()),this._cursor.getSpan(e));for(n=this._consumeTagOpenStart(e),r=n.parts[0],t=n.parts[1],this._attemptCharCodeUntilFn(ne);this._cursor.peek()!==47&&this._cursor.peek()!==62&&this._cursor.peek()!==60&&this._cursor.peek()!==0;){let[l,s]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(ne),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(ne);let c=this._consumeAttributeValue();a.push({prefix:l,name:s,value:c})}else a.push({prefix:l,name:s});this._attemptCharCodeUntilFn(ne)}this._consumeTagOpenEnd()}catch(l){if(l instanceof nl){n?n.type=4:(this._beginToken(5,e),this._endToken(["<"]));return}throw l}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let o=this._getTagContentType(t,r,this._fullNameStack.length>0,a);this._handleFullNameStackForTagOpen(r,t),o===Qe.RAW_TEXT?this._consumeRawTextWithTagClose(r,t,!1):o===Qe.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,t,!0)}_consumeRawTextWithTagClose(e,t,r){this._consumeRawText(r,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(ne),!this._attemptStrCaseInsensitive(e?`${e}:${t}`:t))?!1:(this._attemptCharCodeUntilFn(ne),this._attemptCharCode(62))),this._beginToken(3),this._requireCharCodeUntilFn(n=>n===62,3),this._cursor.advance(),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}_consumeTagOpenStart(e){this._beginToken(0,e);let t=this._consumePrefixAndName();return this._endToken(t)}_consumeAttributeName(){let e=this._cursor.peek();if(e===39||e===34)throw this._createError(Dr(e),this._cursor.getSpan());this._beginToken(14);let t=this._consumePrefixAndName();return this._endToken(t),t}_consumeAttributeValue(){let e;if(this._cursor.peek()===39||this._cursor.peek()===34){let t=this._cursor.peek();this._consumeQuote(t);let r=u(()=>this._cursor.peek()===t,"n");e=this._consumeWithInterpolation(16,17,r,r),this._consumeQuote(t)}else{let t=u(()=>$u(this._cursor.peek()),"r");e=this._consumeWithInterpolation(16,17,t,t)}return e}_consumeQuote(e){this._beginToken(15),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?2:1;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._beginToken(3,e),this._attemptCharCodeUntilFn(ne),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(ne),this._requireCharCode(62),this._endToken([]);else{let[t,r]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(ne),this._requireCharCode(62),this._endToken([t,r]),this._handleFullNameStackForTagClose(t,r)}}_consumeExpansionFormStart(){this._beginToken(20),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(20),this._beginToken(7);let e=this._readUntil(44),t=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{let n=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(n)}this._requireCharCode(44),this._attemptCharCodeUntilFn(ne),this._beginToken(7);let r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(ne)}_consumeExpansionCaseStart(){this._beginToken(21);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(ne),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(ne),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(ne),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,r,n){this._beginToken(e);let a=[];for(;!r();){let l=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(a.join(""))],l),a.length=0,this._consumeInterpolation(t,l,n),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(a.join(""))]),a.length=0,this._consumeEntity(e),this._beginToken(e)):a.push(this._readChar())}this._inInterpolation=!1;let o=this._processCarriageReturns(a.join(""));return this._endToken([o]),o}_consumeInterpolation(e,t,r){let n=[];this._beginToken(e,t),n.push(this._interpolationConfig.start);let a=this._cursor.clone(),o=null,l=!1;for(;this._cursor.peek()!==0&&(r===null||!r());){let s=this._cursor.clone();if(this._isTagStart()){this._cursor=s,n.push(this._getProcessedChars(a,s)),this._endToken(n);return}if(o===null)if(this._attemptStr(this._interpolationConfig.end)){n.push(this._getProcessedChars(a,s)),n.push(this._interpolationConfig.end),this._endToken(n);return}else this._attemptStr("//")&&(l=!0);let c=this._cursor.peek();this._cursor.advance(),c===92?this._cursor.advance():c===o?o=null:!l&&o===null&&Jo(c)&&(o=c)}n.push(this._getProcessedChars(a,this._cursor)),this._endToken(n)}_getProcessedChars(e,t){return this._processCarriageReturns(t.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||this._cursor.peek()===0||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===125&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||this._cursor.peek()===64||this._cursor.peek()===125))}_isTagStart(){if(this._cursor.peek()===60){let e=this._cursor.clone();e.advance();let t=e.peek();if(97<=t&&t<=122||65<=t&&t<=90||t===47||t===33)return!0}return!1}_isBlockStart(){if(this._tokenizeBlocks&&this._cursor.peek()===64){let e=this._cursor.clone();if(e.advance(),Vu(e.peek()))return!0}return!1}_readUntil(e){let t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===22}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===20}isExpansionFormStart(){if(this._cursor.peek()!==123)return!1;if(this._interpolationConfig){let e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}_handleFullNameStackForTagOpen(e,t){let r=fa(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=fa(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}},u(Ts,"Or"),Ts),u(ne,"b"),u($u,"$s"),u(Fh,"mo"),u(Sh,"fo"),u(Ah,"go"),u(kh,"Co"),u(Bh,"So"),u(Xc,"Os"),u(Vu,"Ms"),u(Uu,"qs"),u(I3,"_o"),Ls=(ga=class{constructor(e,t){if(e instanceof ga){this.file=e.file,this.input=e.input,this.end=e.end;let r=e.state;this.state={peek:r.peek,offset:r.offset,line:r.line,column:r.column}}else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new ga(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){e=e||this;let r=e;if(t)for(;this.diff(e)>0&&t.indexOf(e.peek())!==-1;)r===e&&(e=e.clone()),e.advance();let n=this.locationFromCursor(e),a=this.locationFromCursor(this),o=r!==e?this.locationFromCursor(r):n;return new W(n,a,o)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new al('Unexpected character "EOF"',this);let t=this.charAt(e.offset);t===10?(e.line++,e.column=0):Zo(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new Zl(e.file,e.state.offset,e.state.line,e.state.column)}},u(ga,"t"),ga),zm=(va=class extends Ls{constructor(e,t){e instanceof va?(super(e),this.internalState={...e.internalState}):(super(e,t),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new va(this)}getChars(e){let t=e.clone(),r="";for(;t.internalState.offsetthis.internalState.peek,"e");if(e()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),e()===110)this.state.peek=10;else if(e()===114)this.state.peek=13;else if(e()===118)this.state.peek=11;else if(e()===116)this.state.peek=9;else if(e()===98)this.state.peek=8;else if(e()===102)this.state.peek=12;else if(e()===117)if(this.advanceState(this.internalState),e()===123){this.advanceState(this.internalState);let t=this.clone(),r=0;for(;e()!==125;)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(t,r)}else{let t=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,4)}else if(e()===120){this.advanceState(this.internalState);let t=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,2)}else if(Ou(e())){let t="",r=0,n=this.clone();for(;Ou(e())&&r<3;)n=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),r++;this.state.peek=parseInt(t,8),this.internalState=n.internalState}else Zo(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){let r=this.input.slice(e.internalState.offset,e.internalState.offset+t),n=parseInt(r,16);if(isNaN(n))throw e.state=e.internalState,new al("Invalid hexadecimal escape sequence",e);return n}},u(va,"t"),va),al=(Ms=class{constructor(e,t){this.msg=e,this.cursor=t}},u(Ms,"gt"),Ms),ye=(ol=class extends os{static create(e,t,r){return new ol(e,t,r)}constructor(e,t,r){super(t,r),this.elementName=e}},u(ol,"t"),ol),Tm=(Os=class{constructor(e,t){this.rootNodes=e,this.errors=t}},u(Os,"Vr"),Os),Lm=(Ps=class{constructor(e){this.getTagDefinition=e}parse(e,t,r,n=!1,a){let o=u(h=>(v,...y)=>h(v.toLowerCase(),...y),"a"),l=n?this.getTagDefinition:o(this.getTagDefinition),s=u(h=>l(h).getContentType(),"u"),c=n?a:o(a),d=Ch(e,t,a?(h,v,y,b)=>{let C=c(h,v,y,b);return C!==void 0?C:s(h)}:s,r),f=r&&r.canSelfClose||!1,g=r&&r.allowHtmComponentClosingTags||!1,p=new Mm(d.tokens,l,f,g,n);return p.build(),new Tm(p.rootNodes,d.errors.concat(p.errors))}},u(Ps,"nr"),Ps),Mm=(ll=class{constructor(e,t,r,n,a){this.tokens=e,this.getTagDefinition=t,this.canSelfClose=r,this.allowHtmComponentClosingTags=n,this.isTagNameCaseSensitive=a,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==34;)this._peek.type===0||this._peek.type===4?this._consumeStartTag(this._advance()):this._peek.type===3?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===12?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===10?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===5||this._peek.type===7||this._peek.type===6?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===20?this._consumeExpansion(this._advance()):this._peek.type===25?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===27?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===29?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===30?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===18?this._consumeDocType(this._advance()):this._peek.type===33?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._advance();for(let e of this._containerStack)e instanceof Cr&&this.errors.push(ye.create(e.name,e.sourceSpan,`Unclosed block "${e.name}"`))}_advance(){let e=this._peek;return this._index0)return this.errors=this.errors.concat(a.errors),null;let o=new W(e.sourceSpan.start,n.sourceSpan.end,e.sourceSpan.fullStart),l=new W(t.sourceSpan.start,n.sourceSpan.end,t.sourceSpan.fullStart);return new Sm(e.parts[0],a.rootNodes,o,e.sourceSpan,l)}_collectExpansionExpTokens(e){let t=[],r=[22];for(;;){if((this._peek.type===20||this._peek.type===22)&&r.push(this._peek.type),this._peek.type===23)if(qu(r,22)){if(r.pop(),r.length===0)return t}else return this.errors.push(ye.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===24)if(qu(r,20))r.pop();else return this.errors.push(ye.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===34)return this.errors.push(ye.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_getText(e){let t=e.parts[0];if(t.length>0&&t[0]==` +`&&++l==t)););return{before:r.substring(n,this.offset),after:r.substring(this.offset,a+1)}}return null}},s(Xo,"t"),Xo),w1=(ru=class{constructor(e,t){this.content=e,this.url=t}},s(ru,"Te"),ru),W=(nu=class{constructor(e,t,r=e,n=null){this.start=e,this.end=t,this.fullStart=r,this.details=n}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}},s(nu,"h"),nu),function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR"}(Qo||(Qo={})),ou=(au=class{constructor(e,t,r=Qo.ERROR){this.span=e,this.msg=t,this.level=r}contextualMessage(){let e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${Qo[this.level]} ->]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},s(au,"Ue"),au),gy=[ch,dh,ph,hh,mh,yh,gh,vh,wh,fh],s(uh,"Da"),s(ch,"va"),s(dh,"ya"),s(_3,"wa"),s(ph,"ba"),s(fh,"Ta"),s(hh,"xa"),s(mh,"ka"),s(gh,"Ba"),s(vh,"La"),s(yh,"Fa"),s(wh,"Na"),om=uh,s(bh,"Pa"),lm={preprocess:om,print:bh,insertPragma:ih,massageAstNode:Zh,embed:Xh,getVisitorKeys:am},im=lm,sm=[{linguistLanguageId:146,name:"Angular",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".component.html"],parsers:["angular"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:146,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml",".mjml"],parsers:["html"],vscodeLanguageIds:["html"]},{linguistLanguageId:146,name:"Lightning Web Components",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[],parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:391,name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",parsers:["vue"],vscodeLanguageIds:["vue"]}],lu={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},iu="HTML",um={bracketSameLine:lu.bracketSameLine,htmlWhitespaceSensitivity:{category:iu,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:lu.singleAttributePerLine,vueIndentScriptAndStyle:{category:iu,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},cm=um,su={},Ks(su,{angular:s(()=>Nm,"angular"),html:s(()=>Pm,"html"),lwc:s(()=>jm,"lwc"),vue:s(()=>Hm,"vue")}),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(dm||(dm={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(pm||(pm={})),function(e){e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"}(fm||(fm={})),uu={name:"custom-elements"},cu={name:"no-errors-schema"},function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(Rr||(Rr={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(hm||(hm={})),function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"}(Qe||(Qe={})),s(Qa,"ut"),s(Ps,"xr"),s(Ns,"kr"),s(Ra,"We"),s(fa,"ze"),s(Hs,"Br"),s(za,"Mt"),mm=(du=class{},s(du,"Ht"),du),gm="boolean",vm="number",ym="string",wm="object",bm=["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|",":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":math:math^:math:|",":math:maction^:math:|",":math:menclose^:math:|",":math:merror^:math:|",":math:mfenced^:math:|",":math:mfrac^:math:|",":math:mi^:math:|",":math:mmultiscripts^:math:|",":math:mn^:math:|",":math:mo^:math:|",":math:mover^:math:|",":math:mpadded^:math:|",":math:mphantom^:math:|",":math:mroot^:math:|",":math:mrow^:math:|",":math:ms^:math:|",":math:mspace^:math:|",":math:msqrt^:math:|",":math:mstyle^:math:|",":math:msub^:math:|",":math:msubsup^:math:|",":math:msup^:math:|",":math:mtable^:math:|",":math:mtd^:math:|",":math:mtext^:math:|",":math:mtr^:math:|",":math:munder^:math:|",":math:munderover^:math:|",":math:semantics^:math:|"],pu=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),Dm=Array.from(pu).reduce((e,[t,r])=>(e.set(t,r),e),new Map),vy=(fu=class extends mm{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,bm.forEach(e=>{let t=new Map,r=new Set,[n,a]=e.split("|"),o=a.split(","),[l,u]=n.split("^");l.split(",").forEach(d=>{this._schema.set(d.toLowerCase(),t),this._eventSchema.set(d.toLowerCase(),r)});let c=u&&this._schema.get(u.toLowerCase());if(c){for(let[d,f]of c)t.set(d,f);for(let d of this._eventSchema.get(u.toLowerCase()))r.add(d)}o.forEach(d=>{if(d.length>0)switch(d[0]){case"*":r.add(d.substring(1));break;case"!":t.set(d.substring(1),gm);break;case"#":t.set(d.substring(1),vm);break;case"%":t.set(d.substring(1),wm);break;default:t.set(d,ym)}})})}hasProperty(e,t,r){if(r.some(n=>n.name===cu.name))return!0;if(e.indexOf("-")>-1){if(Ps(e)||Ns(e))return!1;if(r.some(n=>n.name===uu.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(t)}hasElement(e,t){return t.some(r=>r.name===cu.name)||e.indexOf("-")>-1&&(Ps(e)||Ns(e)||t.some(r=>r.name===uu.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,t,r){r&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let n=Hs()[e+"|"+t];return n||(n=Hs()["*|"+t],n||Rr.NONE)}getMappedPropName(e){return pu.get(e)??e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=... +If '${e}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){let t=this._schema.get(e.toLowerCase())||this._schema.get("unknown");return Array.from(t.keys()).map(r=>Dm.get(r)??r)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return sh(e)}normalizeAnimationStyleValue(e,t,r){let n="",a=r.toString().trim(),o=null;if(Dh(e)&&r!==0&&r!=="0")if(typeof r=="number")n="px";else{let l=r.match(/^[+-]?[\d\.]+([a-z]*)$/);l&&l[1].length==0&&(o=`Please provide a CSS unit value for ${t}:${r}`)}return{error:o,value:a+n}}},s(fu,"Vt"),fu),s(Dh,"Ua"),q=(hu=class{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=Qe.PARSABLE_DATA,closedByParent:n=!1,isVoid:a=!1,ignoreFirstLf:o=!1,preventNamespaceInheritance:l=!1,canSelfClose:u=!1}={}){this.closedByChildren={},this.closedByParent=!1,e&&e.length>0&&e.forEach(c=>this.closedByChildren[c]=!0),this.isVoid=a,this.closedByParent=n||a,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=o,this.preventNamespaceInheritance=l,this.canSelfClose=u??a}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return typeof this.contentType=="object"?(e===void 0?void 0:this.contentType[e])??this.contentType.default:this.contentType}},s(hu,"m"),hu),s(Ul,"Ge"),Er=(mu=class{constructor(e,t){this.sourceSpan=e,this.i18n=t}},s(mu,"oe"),mu),Cm=(gu=class extends Er{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="text"}visit(e,t){return e.visitText(this,t)}},s(gu,"Ut"),gu),xm=(vu=class extends Er{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="cdata"}visit(e,t){return e.visitCdata(this,t)}},s(vu,"Wt"),vu),Fm=(yu=class extends Er{constructor(e,t,r,n,a,o){super(n,o),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=a}visit(e,t){return e.visitExpansion(this,t)}},s(yu,"zt"),yu),Sm=(wu=class{constructor(e,t,r,n,a){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=a,this.type="expansionCase"}visit(e,t){return e.visitExpansionCase(this,t)}},s(wu,"Gt"),wu),Am=(bu=class extends Er{constructor(e,t,r,n,a,o,l){super(r,l),this.name=e,this.value=t,this.keySpan=n,this.valueSpan=a,this.valueTokens=o,this.type="attribute"}visit(e,t){return e.visitAttribute(this,t)}get nameSpan(){return this.keySpan}},s(bu,"Yt"),bu),Lt=(Du=class extends Er{constructor(e,t,r,n,a,o=null,l=null,u){super(n,u),this.name=e,this.attrs=t,this.children=r,this.startSourceSpan=a,this.endSourceSpan=o,this.nameSpan=l,this.type="element"}visit(e,t){return e.visitElement(this,t)}},s(Du,"G"),Du),km=(Eu=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}},s(Eu,"jt"),Eu),Bm=(Cu=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}},s(Cu,"Kt"),Cu),Cr=(xu=class extends Er{constructor(e,t,r,n,a,o,l=null,u){super(n,u),this.name=e,this.parameters=t,this.children=r,this.nameSpan=a,this.startSourceSpan=o,this.endSourceSpan=l,this.type="block"}visit(e,t){return e.visitBlock(this,t)}},s(xu,"Z"),xu),Su=(Fu=class{constructor(e,t){this.expression=e,this.sourceSpan=t,this.type="blockParameter",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitBlockParameter(this,t)}},s(Fu,"ct"),Fu),ku=(Au=class{constructor(e,t,r,n,a){this.name=e,this.value=t,this.sourceSpan=r,this.nameSpan=n,this.valueSpan=a,this.type="letDeclaration",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitLetDeclaration(this,t)}},s(Au,"pt"),Au),s(Jc,"Qt"),yy=(Bu=class{constructor(){}visitElement(e,t){this.visitChildren(t,r=>{r(e.attrs),r(e.children)})}visitAttribute(e,t){}visitText(e,t){}visitCdata(e,t){}visitComment(e,t){}visitDocType(e,t){}visitExpansion(e,t){return this.visitChildren(t,r=>{r(e.cases)})}visitExpansionCase(e,t){}visitBlock(e,t){this.visitChildren(t,r=>{r(e.parameters),r(e.children)})}visitBlockParameter(e,t){}visitLetDeclaration(e,t){}visitChildren(e,t){let r=[],n=this;function a(o){o&&r.push(Jc(n,o,e))}return s(a,"i"),t(a),Array.prototype.concat.apply([],r)}},s(Bu,"ht"),Bu),Wa={AElig:"Æ",AMP:"&",amp:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",af:"⁡",Aring:"Å",angst:"Å",Ascr:"𝒜",Assign:"≔",colone:"≔",coloneq:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",setminus:"∖",setmn:"∖",smallsetminus:"∖",ssetmn:"∖",Barv:"⫧",Barwed:"⌆",doublebarwedge:"⌆",Bcy:"Б",Because:"∵",becaus:"∵",because:"∵",Bernoullis:"ℬ",Bscr:"ℬ",bernou:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",breve:"˘",Bumpeq:"≎",HumpDownHump:"≎",bump:"≎",CHcy:"Ч",COPY:"©",copy:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",DD:"ⅅ",Cayleys:"ℭ",Cfr:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",cedil:"¸",CenterDot:"·",centerdot:"·",middot:"·",Chi:"Χ",CircleDot:"⊙",odot:"⊙",CircleMinus:"⊖",ominus:"⊖",CirclePlus:"⊕",oplus:"⊕",CircleTimes:"⊗",otimes:"⊗",ClockwiseContourIntegral:"∲",cwconint:"∲",CloseCurlyDoubleQuote:"”",rdquo:"”",rdquor:"”",CloseCurlyQuote:"’",rsquo:"’",rsquor:"’",Colon:"∷",Proportion:"∷",Colone:"⩴",Congruent:"≡",equiv:"≡",Conint:"∯",DoubleContourIntegral:"∯",ContourIntegral:"∮",conint:"∮",oint:"∮",Copf:"ℂ",complexes:"ℂ",Coproduct:"∐",coprod:"∐",CounterClockwiseContourIntegral:"∳",awconint:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",asympeq:"≍",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",ddagger:"‡",Darr:"↡",Dashv:"⫤",DoubleLeftTee:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",nabla:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",acute:"´",DiacriticalDot:"˙",dot:"˙",DiacriticalDoubleAcute:"˝",dblac:"˝",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"˜",tilde:"˜",Diamond:"⋄",diam:"⋄",diamond:"⋄",DifferentialD:"ⅆ",dd:"ⅆ",Dopf:"𝔻",Dot:"¨",DoubleDot:"¨",die:"¨",uml:"¨",DotDot:"⃜",DotEqual:"≐",doteq:"≐",esdot:"≐",DoubleDownArrow:"⇓",Downarrow:"⇓",dArr:"⇓",DoubleLeftArrow:"⇐",Leftarrow:"⇐",lArr:"⇐",DoubleLeftRightArrow:"⇔",Leftrightarrow:"⇔",hArr:"⇔",iff:"⇔",DoubleLongLeftArrow:"⟸",Longleftarrow:"⟸",xlArr:"⟸",DoubleLongLeftRightArrow:"⟺",Longleftrightarrow:"⟺",xhArr:"⟺",DoubleLongRightArrow:"⟹",Longrightarrow:"⟹",xrArr:"⟹",DoubleRightArrow:"⇒",Implies:"⇒",Rightarrow:"⇒",rArr:"⇒",DoubleRightTee:"⊨",vDash:"⊨",DoubleUpArrow:"⇑",Uparrow:"⇑",uArr:"⇑",DoubleUpDownArrow:"⇕",Updownarrow:"⇕",vArr:"⇕",DoubleVerticalBar:"∥",par:"∥",parallel:"∥",shortparallel:"∥",spar:"∥",DownArrow:"↓",ShortDownArrow:"↓",darr:"↓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",duarr:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",leftharpoondown:"↽",lhard:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",rhard:"⇁",rightharpoondown:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",top:"⊤",DownTeeArrow:"↧",mapstodown:"↧",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",in:"∈",isin:"∈",isinv:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",eqsim:"≂",esim:"≂",Equilibrium:"⇌",rightleftharpoons:"⇌",rlhar:"⇌",Escr:"ℰ",expectation:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",exist:"∃",ExponentialE:"ⅇ",ee:"ⅇ",exponentiale:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",blacksquare:"▪",squarf:"▪",squf:"▪",Fopf:"𝔽",ForAll:"∀",forall:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",gt:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",ggg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",ge:"≥",geq:"≥",GreaterEqualLess:"⋛",gel:"⋛",gtreqless:"⋛",GreaterFullEqual:"≧",gE:"≧",geqq:"≧",GreaterGreater:"⪢",GreaterLess:"≷",gl:"≷",gtrless:"≷",GreaterSlantEqual:"⩾",geqslant:"⩾",ges:"⩾",GreaterTilde:"≳",gsim:"≳",gtrsim:"≳",Gscr:"𝒢",Gt:"≫",NestedGreaterGreater:"≫",gg:"≫",HARDcy:"Ъ",Hacek:"ˇ",caron:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",Poincareplane:"ℌ",HilbertSpace:"ℋ",Hscr:"ℋ",hamilt:"ℋ",Hopf:"ℍ",quaternions:"ℍ",HorizontalLine:"─",boxh:"─",Hstrok:"Ħ",HumpEqual:"≏",bumpe:"≏",bumpeq:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Im:"ℑ",image:"ℑ",imagpart:"ℑ",Igrave:"Ì",Imacr:"Ī",ImaginaryI:"ⅈ",ii:"ⅈ",Int:"∬",Integral:"∫",int:"∫",Intersection:"⋂",bigcap:"⋂",xcap:"⋂",InvisibleComma:"⁣",ic:"⁣",InvisibleTimes:"⁢",it:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",imagline:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",lt:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Lscr:"ℒ",lagran:"ℒ",Larr:"↞",twoheadleftarrow:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",lang:"⟨",langle:"⟨",LeftArrow:"←",ShortLeftArrow:"←",larr:"←",leftarrow:"←",slarr:"←",LeftArrowBar:"⇤",larrb:"⇤",LeftArrowRightArrow:"⇆",leftrightarrows:"⇆",lrarr:"⇆",LeftCeiling:"⌈",lceil:"⌈",LeftDoubleBracket:"⟦",lobrk:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",dharl:"⇃",downharpoonleft:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",lfloor:"⌊",LeftRightArrow:"↔",harr:"↔",leftrightarrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",dashv:"⊣",LeftTeeArrow:"↤",mapstoleft:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",vartriangleleft:"⊲",vltri:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",ltrie:"⊴",trianglelefteq:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",uharl:"↿",upharpoonleft:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",leftharpoonup:"↼",lharu:"↼",LeftVectorBar:"⥒",LessEqualGreater:"⋚",leg:"⋚",lesseqgtr:"⋚",LessFullEqual:"≦",lE:"≦",leqq:"≦",LessGreater:"≶",lessgtr:"≶",lg:"≶",LessLess:"⪡",LessSlantEqual:"⩽",leqslant:"⩽",les:"⩽",LessTilde:"≲",lesssim:"≲",lsim:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",lAarr:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",longleftarrow:"⟵",xlarr:"⟵",LongLeftRightArrow:"⟷",longleftrightarrow:"⟷",xharr:"⟷",LongRightArrow:"⟶",longrightarrow:"⟶",xrarr:"⟶",Lopf:"𝕃",LowerLeftArrow:"↙",swarr:"↙",swarrow:"↙",LowerRightArrow:"↘",searr:"↘",searrow:"↘",Lsh:"↰",lsh:"↰",Lstrok:"Ł",Lt:"≪",NestedLessLess:"≪",ll:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mscr:"ℳ",phmmat:"ℳ",Mfr:"𝔐",MinusPlus:"∓",mnplus:"∓",mp:"∓",Mopf:"𝕄",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",ZeroWidthSpace:"​",NewLine:` +`,Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",nbsp:" ",Nopf:"ℕ",naturals:"ℕ",Not:"⫬",NotCongruent:"≢",nequiv:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",npar:"∦",nparallel:"∦",nshortparallel:"∦",nspar:"∦",NotElement:"∉",notin:"∉",notinva:"∉",NotEqual:"≠",ne:"≠",NotEqualTilde:"≂̸",nesim:"≂̸",NotExists:"∄",nexist:"∄",nexists:"∄",NotGreater:"≯",ngt:"≯",ngtr:"≯",NotGreaterEqual:"≱",nge:"≱",ngeq:"≱",NotGreaterFullEqual:"≧̸",ngE:"≧̸",ngeqq:"≧̸",NotGreaterGreater:"≫̸",nGtv:"≫̸",NotGreaterLess:"≹",ntgl:"≹",NotGreaterSlantEqual:"⩾̸",ngeqslant:"⩾̸",nges:"⩾̸",NotGreaterTilde:"≵",ngsim:"≵",NotHumpDownHump:"≎̸",nbump:"≎̸",NotHumpEqual:"≏̸",nbumpe:"≏̸",NotLeftTriangle:"⋪",nltri:"⋪",ntriangleleft:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",nltrie:"⋬",ntrianglelefteq:"⋬",NotLess:"≮",nless:"≮",nlt:"≮",NotLessEqual:"≰",nle:"≰",nleq:"≰",NotLessGreater:"≸",ntlg:"≸",NotLessLess:"≪̸",nLtv:"≪̸",NotLessSlantEqual:"⩽̸",nleqslant:"⩽̸",nles:"⩽̸",NotLessTilde:"≴",nlsim:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",npr:"⊀",nprec:"⊀",NotPrecedesEqual:"⪯̸",npre:"⪯̸",npreceq:"⪯̸",NotPrecedesSlantEqual:"⋠",nprcue:"⋠",NotReverseElement:"∌",notni:"∌",notniva:"∌",NotRightTriangle:"⋫",nrtri:"⋫",ntriangleright:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",nrtrie:"⋭",ntrianglerighteq:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",nsqsube:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",nsqsupe:"⋣",NotSubset:"⊂⃒",nsubset:"⊂⃒",vnsub:"⊂⃒",NotSubsetEqual:"⊈",nsube:"⊈",nsubseteq:"⊈",NotSucceeds:"⊁",nsc:"⊁",nsucc:"⊁",NotSucceedsEqual:"⪰̸",nsce:"⪰̸",nsucceq:"⪰̸",NotSucceedsSlantEqual:"⋡",nsccue:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",nsupset:"⊃⃒",vnsup:"⊃⃒",NotSupersetEqual:"⊉",nsupe:"⊉",nsupseteq:"⊉",NotTilde:"≁",nsim:"≁",NotTildeEqual:"≄",nsime:"≄",nsimeq:"≄",NotTildeFullEqual:"≇",ncong:"≇",NotTildeTilde:"≉",nap:"≉",napprox:"≉",NotVerticalBar:"∤",nmid:"∤",nshortmid:"∤",nsmid:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",ohm:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",ldquo:"“",OpenCurlyQuote:"‘",lsquo:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",oline:"‾",OverBrace:"⏞",OverBracket:"⎴",tbrk:"⎴",OverParenthesis:"⏜",PartialD:"∂",part:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",plusmn:"±",pm:"±",Popf:"ℙ",primes:"ℙ",Pr:"⪻",Precedes:"≺",pr:"≺",prec:"≺",PrecedesEqual:"⪯",pre:"⪯",preceq:"⪯",PrecedesSlantEqual:"≼",prcue:"≼",preccurlyeq:"≼",PrecedesTilde:"≾",precsim:"≾",prsim:"≾",Prime:"″",Product:"∏",prod:"∏",Proportional:"∝",prop:"∝",propto:"∝",varpropto:"∝",vprop:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',quot:'"',Qfr:"𝔔",Qopf:"ℚ",rationals:"ℚ",Qscr:"𝒬",RBarr:"⤐",drbkarow:"⤐",REG:"®",circledR:"®",reg:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",twoheadrightarrow:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",Rfr:"ℜ",real:"ℜ",realpart:"ℜ",ReverseElement:"∋",SuchThat:"∋",ni:"∋",niv:"∋",ReverseEquilibrium:"⇋",leftrightharpoons:"⇋",lrhar:"⇋",ReverseUpEquilibrium:"⥯",duhar:"⥯",Rho:"Ρ",RightAngleBracket:"⟩",rang:"⟩",rangle:"⟩",RightArrow:"→",ShortRightArrow:"→",rarr:"→",rightarrow:"→",srarr:"→",RightArrowBar:"⇥",rarrb:"⇥",RightArrowLeftArrow:"⇄",rightleftarrows:"⇄",rlarr:"⇄",RightCeiling:"⌉",rceil:"⌉",RightDoubleBracket:"⟧",robrk:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",dharr:"⇂",downharpoonright:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rfloor:"⌋",RightTee:"⊢",vdash:"⊢",RightTeeArrow:"↦",map:"↦",mapsto:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",vartriangleright:"⊳",vrtri:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",rtrie:"⊵",trianglerighteq:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",uharr:"↾",upharpoonright:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",rharu:"⇀",rightharpoonup:"⇀",RightVectorBar:"⥓",Ropf:"ℝ",reals:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",rAarr:"⇛",Rscr:"ℛ",realine:"ℛ",Rsh:"↱",rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortUpArrow:"↑",UpArrow:"↑",uarr:"↑",uparrow:"↑",Sigma:"Σ",SmallCircle:"∘",compfn:"∘",Sopf:"𝕊",Sqrt:"√",radic:"√",Square:"□",squ:"□",square:"□",SquareIntersection:"⊓",sqcap:"⊓",SquareSubset:"⊏",sqsub:"⊏",sqsubset:"⊏",SquareSubsetEqual:"⊑",sqsube:"⊑",sqsubseteq:"⊑",SquareSuperset:"⊐",sqsup:"⊐",sqsupset:"⊐",SquareSupersetEqual:"⊒",sqsupe:"⊒",sqsupseteq:"⊒",SquareUnion:"⊔",sqcup:"⊔",Sscr:"𝒮",Star:"⋆",sstarf:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",sube:"⊆",subseteq:"⊆",Succeeds:"≻",sc:"≻",succ:"≻",SucceedsEqual:"⪰",sce:"⪰",succeq:"⪰",SucceedsSlantEqual:"≽",sccue:"≽",succcurlyeq:"≽",SucceedsTilde:"≿",scsim:"≿",succsim:"≿",Sum:"∑",sum:"∑",Sup:"⋑",Supset:"⋑",Superset:"⊃",sup:"⊃",supset:"⊃",SupersetEqual:"⊇",supe:"⊇",supseteq:"⊇",THORN:"Þ",TRADE:"™",trade:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",there4:"∴",therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",Tilde:"∼",sim:"∼",thicksim:"∼",thksim:"∼",TildeEqual:"≃",sime:"≃",simeq:"≃",TildeFullEqual:"≅",cong:"≅",TildeTilde:"≈",ap:"≈",approx:"≈",asymp:"≈",thickapprox:"≈",thkap:"≈",Topf:"𝕋",TripleDot:"⃛",tdot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",lowbar:"_",UnderBrace:"⏟",UnderBracket:"⎵",bbrk:"⎵",UnderParenthesis:"⏝",Union:"⋃",bigcup:"⋃",xcup:"⋃",UnionPlus:"⊎",uplus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",udarr:"⇅",UpDownArrow:"↕",updownarrow:"↕",varr:"↕",UpEquilibrium:"⥮",udhar:"⥮",UpTee:"⊥",bot:"⊥",bottom:"⊥",perp:"⊥",UpTeeArrow:"↥",mapstoup:"↥",UpperLeftArrow:"↖",nwarr:"↖",nwarrow:"↖",UpperRightArrow:"↗",nearr:"↗",nearrow:"↗",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",bigvee:"⋁",xvee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",mid:"∣",shortmid:"∣",smid:"∣",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"❘",VerticalTilde:"≀",wr:"≀",wreath:"≀",VeryThinSpace:" ",hairsp:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",bigwedge:"⋀",xwedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",Zeta:"Ζ",Zfr:"ℨ",zeetrf:"ℨ",Zopf:"ℤ",integers:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",mstpos:"∾",acE:"∾̳",acd:"∿",acirc:"â",acy:"а",aelig:"æ",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",and:"∧",wedge:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",angle:"∠",ange:"⦤",angmsd:"∡",measuredangle:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angzarr:"⍼",aogon:"ą",aopf:"𝕒",apE:"⩰",apacir:"⩯",ape:"≊",approxeq:"≊",apid:"≋",apos:"'",aring:"å",ascr:"𝒶",ast:"*",midast:"*",atilde:"ã",auml:"ä",awint:"⨑",bNot:"⫭",backcong:"≌",bcong:"≌",backepsilon:"϶",bepsi:"϶",backprime:"‵",bprime:"‵",backsim:"∽",bsim:"∽",backsimeq:"⋍",bsime:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrktbrk:"⎶",bcy:"б",bdquo:"„",ldquor:"„",bemptyv:"⦰",beta:"β",beth:"ℶ",between:"≬",twixt:"≬",bfr:"𝔟",bigcirc:"◯",xcirc:"◯",bigodot:"⨀",xodot:"⨀",bigoplus:"⨁",xoplus:"⨁",bigotimes:"⨂",xotime:"⨂",bigsqcup:"⨆",xsqcup:"⨆",bigstar:"★",starf:"★",bigtriangledown:"▽",xdtri:"▽",bigtriangleup:"△",xutri:"△",biguplus:"⨄",xuplus:"⨄",bkarow:"⤍",rbarr:"⤍",blacklozenge:"⧫",lozf:"⧫",blacktriangle:"▴",utrif:"▴",blacktriangledown:"▾",dtrif:"▾",blacktriangleleft:"◂",ltrif:"◂",blacktriangleright:"▸",rtrif:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",minusb:"⊟",boxplus:"⊞",plusb:"⊞",boxtimes:"⊠",timesb:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bumpE:"⪮",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cemptyv:"⦲",cent:"¢",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",cire:"≗",circlearrowleft:"↺",olarr:"↺",circlearrowright:"↻",orarr:"↻",circledS:"Ⓢ",oS:"Ⓢ",circledast:"⊛",oast:"⊛",circledcirc:"⊚",ocir:"⊚",circleddash:"⊝",odash:"⊝",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",comma:",",commat:"@",comp:"∁",complement:"∁",congdot:"⩭",copf:"𝕔",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",curlyeqprec:"⋞",cuesc:"⋟",curlyeqsucc:"⋟",cularr:"↶",curvearrowleft:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curvearrowright:"↷",curarrm:"⤼",curlyvee:"⋎",cuvee:"⋎",curlywedge:"⋏",cuwed:"⋏",curren:"¤",cwint:"∱",cylcty:"⌭",dHar:"⥥",dagger:"†",daleth:"ℸ",dash:"‐",hyphen:"‐",dbkarow:"⤏",rBarr:"⤏",dcaron:"ď",dcy:"д",ddarr:"⇊",downdownarrows:"⇊",ddotseq:"⩷",eDDot:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",diamondsuit:"♦",diams:"♦",digamma:"ϝ",gammad:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",llcorner:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",doteqdot:"≑",eDot:"≑",dotminus:"∸",minusd:"∸",dotplus:"∔",plusdo:"∔",dotsquare:"⊡",sdotb:"⊡",drcorn:"⌟",lrcorner:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",triangledown:"▿",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",eqcirc:"≖",ecirc:"ê",ecolon:"≕",eqcolon:"≕",ecy:"э",edot:"ė",efDot:"≒",fallingdotseq:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",eqslantgtr:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",eqslantless:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",varnothing:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",straightepsilon:"ϵ",varepsilon:"ϵ",equals:"=",equest:"≟",questeq:"≟",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",risingdotseq:"≓",erarr:"⥱",escr:"ℯ",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",fork:"⋔",pitchfork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",half:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",sfrown:"⌢",fscr:"𝒻",gEl:"⪌",gtreqqless:"⪌",gacute:"ǵ",gamma:"γ",gap:"⪆",gtrapprox:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gimel:"ℷ",gjcy:"ѓ",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gneqq:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gnsim:"⋧",gopf:"𝕘",gscr:"ℊ",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtrdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrarr:"⥸",gvertneqq:"≩︀",gvnE:"≩︀",hardcy:"ъ",harrcir:"⥈",harrw:"↭",leftrightsquigarrow:"↭",hbar:"ℏ",hslash:"ℏ",planck:"ℏ",plankv:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",mldr:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",searhk:"⤥",hkswarow:"⤦",swarhk:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",larrhk:"↩",hookrightarrow:"↪",rarrhk:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hstrok:"ħ",hybull:"⁃",iacute:"í",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",ifr:"𝔦",igrave:"ì",iiiint:"⨌",qint:"⨌",iiint:"∭",tint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",imath:"ı",inodot:"ı",imof:"⊷",imped:"Ƶ",incare:"℅",infin:"∞",infintie:"⧝",intcal:"⊺",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iquest:"¿",iscr:"𝒾",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",varkappa:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAtail:"⤛",lBarr:"⤎",lEg:"⪋",lesseqqgtr:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lambda:"λ",langd:"⦑",lap:"⪅",lessapprox:"⪅",laquo:"«",larrbfs:"⤟",larrfs:"⤝",larrlp:"↫",looparrowleft:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",leftarrowtail:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lcy:"л",ldca:"⤶",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leq:"≤",leftleftarrows:"⇇",llarr:"⇇",leftthreetimes:"⋋",lthree:"⋋",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessdot:"⋖",ltdot:"⋖",lfisht:"⥼",lfr:"𝔩",lgE:"⪑",lharul:"⥪",lhblk:"▄",ljcy:"љ",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lneqq:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lnsim:"⋦",loang:"⟬",loarr:"⇽",longmapsto:"⟼",xmap:"⟼",looparrowright:"↬",rarrlp:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",loz:"◊",lozenge:"◊",lpar:"(",lparlt:"⦓",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsime:"⪍",lsimg:"⪏",lsquor:"‚",sbquo:"‚",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",triangleleft:"◃",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",strns:"¯",male:"♂",malt:"✠",maltese:"✠",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",mfr:"𝔪",mho:"℧",micro:"µ",midcir:"⫰",minus:"−",minusdu:"⨪",mlcp:"⫛",models:"⊧",mopf:"𝕞",mscr:"𝓂",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nLeftarrow:"⇍",nlArr:"⇍",nLeftrightarrow:"⇎",nhArr:"⇎",nLl:"⋘̸",nLt:"≪⃒",nRightarrow:"⇏",nrArr:"⇏",nVDash:"⊯",nVdash:"⊮",nacute:"ń",nang:"∠⃒",napE:"⩰̸",napid:"≋̸",napos:"ʼn",natur:"♮",natural:"♮",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",neArr:"⇗",nearhk:"⤤",nedot:"≐̸",nesear:"⤨",toea:"⤨",nfr:"𝔫",nharr:"↮",nleftrightarrow:"↮",nhpar:"⫲",nis:"⋼",nisd:"⋺",njcy:"њ",nlE:"≦̸",nleqq:"≦̸",nlarr:"↚",nleftarrow:"↚",nldr:"‥",nopf:"𝕟",not:"¬",notinE:"⋹̸",notindot:"⋵̸",notinvb:"⋷",notinvc:"⋶",notnivb:"⋾",notnivc:"⋽",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",nrarr:"↛",nrightarrow:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nscr:"𝓃",nsub:"⊄",nsubE:"⫅̸",nsubseteqq:"⫅̸",nsup:"⊅",nsupE:"⫆̸",nsupseteqq:"⫆̸",ntilde:"ñ",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwnear:"⤧",oacute:"ó",ocirc:"ô",ocy:"о",odblac:"ő",odiv:"⨸",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",olcir:"⦾",olcross:"⦻",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",oopf:"𝕠",opar:"⦷",operp:"⦹",or:"∨",vee:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",oscr:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oslash:"ø",osol:"⊘",otilde:"õ",otimesas:"⨶",ouml:"ö",ovbar:"⌽",para:"¶",parsim:"⫳",parsl:"⫽",pcy:"п",percnt:"%",period:".",permil:"‰",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",straightphi:"ϕ",varphi:"ϕ",phone:"☎",pi:"π",piv:"ϖ",varpi:"ϖ",planckh:"ℎ",plus:"+",plusacir:"⨣",pluscir:"⨢",plusdu:"⨥",pluse:"⩲",plussim:"⨦",plustwo:"⨧",pointint:"⨕",popf:"𝕡",pound:"£",prE:"⪳",prap:"⪷",precapprox:"⪷",precnapprox:"⪹",prnap:"⪹",precneqq:"⪵",prnE:"⪵",precnsim:"⋨",prnsim:"⋨",prime:"′",profalar:"⌮",profline:"⌒",profsurf:"⌓",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quatint:"⨖",quest:"?",rAtail:"⤜",rHar:"⥤",race:"∽̱",racute:"ŕ",raemptyv:"⦳",rangd:"⦒",range:"⦥",raquo:"»",rarrap:"⥵",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rightarrowtail:"↣",rarrw:"↝",rightsquigarrow:"↝",ratail:"⤚",ratio:"∶",rbbrk:"❳",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdsh:"↳",rect:"▭",rfisht:"⥽",rfr:"𝔯",rharul:"⥬",rho:"ρ",rhov:"ϱ",varrho:"ϱ",rightrightarrows:"⇉",rrarr:"⇉",rightthreetimes:"⋌",rthree:"⋌",ring:"˚",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rsaquo:"›",rscr:"𝓇",rtimes:"⋊",rtri:"▹",triangleright:"▹",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",scE:"⪴",scap:"⪸",succapprox:"⪸",scaron:"š",scedil:"ş",scirc:"ŝ",scnE:"⪶",succneqq:"⪶",scnap:"⪺",succnapprox:"⪺",scnsim:"⋩",succnsim:"⋩",scpolint:"⨓",scy:"с",sdot:"⋅",sdote:"⩦",seArr:"⇘",sect:"§",semi:";",seswar:"⤩",tosa:"⤩",sext:"✶",sfr:"𝔰",sharp:"♯",shchcy:"щ",shcy:"ш",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",varsigma:"ς",simdot:"⩪",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",smashp:"⨳",smeparsl:"⧤",smile:"⌣",ssmile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",sqcaps:"⊓︀",sqcups:"⊔︀",sscr:"𝓈",star:"☆",sub:"⊂",subset:"⊂",subE:"⫅",subseteqq:"⫅",subdot:"⪽",subedot:"⫃",submult:"⫁",subnE:"⫋",subsetneqq:"⫋",subne:"⊊",subsetneq:"⊊",subplus:"⪿",subrarr:"⥹",subsim:"⫇",subsub:"⫕",subsup:"⫓",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supseteqq:"⫆",supdot:"⪾",supdsub:"⫘",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supsetneqq:"⫌",supne:"⊋",supsetneq:"⊋",supplus:"⫀",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tcaron:"ť",tcedil:"ţ",tcy:"т",telrec:"⌕",tfr:"𝔱",theta:"θ",thetasym:"ϑ",thetav:"ϑ",vartheta:"ϑ",thorn:"þ",times:"×",timesbar:"⨱",timesd:"⨰",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tprime:"‴",triangle:"▵",utri:"▵",triangleq:"≜",trie:"≜",tridot:"◬",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",uHar:"⥣",uacute:"ú",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udblac:"ű",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uogon:"ų",uopf:"𝕦",upsi:"υ",upsilon:"υ",upuparrows:"⇈",uuarr:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",uuml:"ü",uwangle:"⦧",vBar:"⫨",vBarv:"⫩",vangrt:"⦜",varsubsetneq:"⊊︀",vsubne:"⊊︀",varsubsetneqq:"⫋︀",vsubnE:"⫋︀",varsupsetneq:"⊋︀",vsupne:"⊋︀",varsupsetneqq:"⫌︀",vsupnE:"⫌︀",vcy:"в",veebar:"⊻",veeeq:"≚",vellip:"⋮",vfr:"𝔳",vopf:"𝕧",vscr:"𝓋",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedgeq:"≙",weierp:"℘",wp:"℘",wfr:"𝔴",wopf:"𝕨",wscr:"𝓌",xfr:"𝔵",xi:"ξ",xnis:"⋻",xopf:"𝕩",xscr:"𝓍",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},_m="",Wa.ngsp=_m,wy=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//],s(Eh,"Ls"),Im=(el=class{static fromArray(e){return e?(Eh("interpolation",e),new el(e[0],e[1])):_u}constructor(e,t){this.start=e,this.end=t}},s(el,"t"),el),_u=new Im("{{","}}"),tl=(Iu=class extends ou{constructor(e,t,r){super(r,e),this.tokenType=t}},s(Iu,"ft"),Iu),by=(Ru=class{constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}},s(Ru,"$r"),Ru),s(Ch,"Ws"),Rm=/\r\n?/g,s(Dr,"je"),s(js,"Rs"),s(xh,"ho"),function(e){e.HEX="hexadecimal",e.DEC="decimal"}(rl||(rl={})),nl=(zu=class{constructor(e){this.error=e}},s(zu,"dt"),zu),Dy=(Tu=class{constructor(e,t,r){this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._interpolationConfig=r.interpolationConfig||_u,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map(a=>a.codePointAt(0)||0),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1;let n=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new zm(e,n):new Lu(e,n),this._preserveLineEndings=r.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=r.tokenizeBlocks??!0,this._tokenizeLet=r.tokenizeLet??!0;try{this._cursor.init()}catch(a){this.handleError(a)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(Rm,` +`)}tokenize(){for(;this._cursor.peek()!==0;){let e=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(47))this._consumeTagClose(e);else{let t=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeLet&&this._cursor.peek()===64&&!this._inInterpolation&&this._attemptStr("@let")?this._consumeLetDeclaration(e):this._tokenizeBlocks&&this._attemptCharCode(64)?this._consumeBlockStart(e):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(125)?this._consumeBlockEnd(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(t){this.handleError(t)}}this._beginToken(34),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();return this._attemptCharCodeUntilFn(r=>Va(r)?!e:Vs(r)?(e=!0,!1):!0),this._cursor.getChars(t).trim()}_consumeBlockStart(e){this._beginToken(25,e);let t=this._endToken([this._getBlockName()]);if(this._cursor.peek()===40)if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(ne),this._attemptCharCode(41))this._attemptCharCodeUntilFn(ne);else{t.type=29;return}this._attemptCharCode(123)?(this._beginToken(26),this._endToken([])):t.type=29}_consumeBlockEnd(e){this._beginToken(27,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(Us);this._cursor.peek()!==41&&this._cursor.peek()!==0;){this._beginToken(28);let e=this._cursor.clone(),t=null,r=0;for(;this._cursor.peek()!==59&&this._cursor.peek()!==0||t!==null;){let n=this._cursor.peek();if(n===92)this._cursor.advance();else if(n===t)t=null;else if(t===null&&Jo(n))t=n;else if(n===40&&t===null)r++;else if(n===41&&t===null){if(r===0)break;r>0&&r--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(Us)}}_consumeLetDeclaration(e){if(this._beginToken(30,e),Va(this._cursor.peek()))this._attemptCharCodeUntilFn(ne);else{let r=this._endToken([this._cursor.getChars(e)]);r.type=33;return}let t=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(ne),!this._attemptCharCode(61)){t.type=33;return}this._attemptCharCodeUntilFn(r=>ne(r)&&!Zo(r)),this._consumeLetDeclarationValue(),this._cursor.peek()===59?(this._beginToken(32),this._endToken([]),this._cursor.advance()):(t.type=33,t.sourceSpan=this._cursor.getSpan(e))}_getLetDeclarationName(){let e=this._cursor.clone(),t=!1;return this._attemptCharCodeUntilFn(r=>Ua(r)||r==36||r===95||t&&Vl(r)?(t=!0,!1):!0),this._cursor.getChars(e).trim()}_consumeLetDeclarationValue(){let e=this._cursor.clone();for(this._beginToken(31,e);this._cursor.peek()!==0;){let t=this._cursor.peek();if(t===59)break;Jo(t)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(r=>r===92?(this._cursor.advance(),!1):r===t)),this._cursor.advance()}this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(kh(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===125){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(this._currentTokenStart===null)throw new tl("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(this._currentTokenType===null)throw new tl("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let r={type:this._currentTokenType,parts:e,sourceSpan:(t??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r}_createError(e,t){this._isInExpansionForm()&&(e+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let r=new tl(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new nl(r)}handleError(e){if(e instanceof al&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof nl)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return Bh(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(Dr(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()this._attemptStr("-->")),this._beginToken(11),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(11),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(12,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(18,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(19),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let e=this._cursor.clone(),t="";for(;this._cursor.peek()!==58&&!Fh(this._cursor.peek());)this._cursor.advance();let r;this._cursor.peek()===58?(t=this._cursor.getChars(e),this._cursor.advance(),r=this._cursor.clone()):r=e,this._requireCharCodeUntilFn($s,t===""?0:1);let n=this._cursor.getChars(r);return[t,n]}_consumeTagOpen(e){let t,r,n,a=[];try{if(!Ua(this._cursor.peek()))throw this._createError(Dr(this._cursor.peek()),this._cursor.getSpan(e));for(n=this._consumeTagOpenStart(e),r=n.parts[0],t=n.parts[1],this._attemptCharCodeUntilFn(ne);this._cursor.peek()!==47&&this._cursor.peek()!==62&&this._cursor.peek()!==60&&this._cursor.peek()!==0;){let[l,u]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(ne),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(ne);let c=this._consumeAttributeValue();a.push({prefix:l,name:u,value:c})}else a.push({prefix:l,name:u});this._attemptCharCodeUntilFn(ne)}this._consumeTagOpenEnd()}catch(l){if(l instanceof nl){n?n.type=4:(this._beginToken(5,e),this._endToken(["<"]));return}throw l}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let o=this._getTagContentType(t,r,this._fullNameStack.length>0,a);this._handleFullNameStackForTagOpen(r,t),o===Qe.RAW_TEXT?this._consumeRawTextWithTagClose(r,t,!1):o===Qe.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,t,!0)}_consumeRawTextWithTagClose(e,t,r){this._consumeRawText(r,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(ne),!this._attemptStrCaseInsensitive(e?`${e}:${t}`:t))?!1:(this._attemptCharCodeUntilFn(ne),this._attemptCharCode(62))),this._beginToken(3),this._requireCharCodeUntilFn(n=>n===62,3),this._cursor.advance(),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}_consumeTagOpenStart(e){this._beginToken(0,e);let t=this._consumePrefixAndName();return this._endToken(t)}_consumeAttributeName(){let e=this._cursor.peek();if(e===39||e===34)throw this._createError(Dr(e),this._cursor.getSpan());this._beginToken(14);let t=this._consumePrefixAndName();return this._endToken(t),t}_consumeAttributeValue(){let e;if(this._cursor.peek()===39||this._cursor.peek()===34){let t=this._cursor.peek();this._consumeQuote(t);let r=s(()=>this._cursor.peek()===t,"n");e=this._consumeWithInterpolation(16,17,r,r),this._consumeQuote(t)}else{let t=s(()=>$s(this._cursor.peek()),"r");e=this._consumeWithInterpolation(16,17,t,t)}return e}_consumeQuote(e){this._beginToken(15),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?2:1;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._beginToken(3,e),this._attemptCharCodeUntilFn(ne),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(ne),this._requireCharCode(62),this._endToken([]);else{let[t,r]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(ne),this._requireCharCode(62),this._endToken([t,r]),this._handleFullNameStackForTagClose(t,r)}}_consumeExpansionFormStart(){this._beginToken(20),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(20),this._beginToken(7);let e=this._readUntil(44),t=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{let n=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(n)}this._requireCharCode(44),this._attemptCharCodeUntilFn(ne),this._beginToken(7);let r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(ne)}_consumeExpansionCaseStart(){this._beginToken(21);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(ne),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(ne),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(ne),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,r,n){this._beginToken(e);let a=[];for(;!r();){let l=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(a.join(""))],l),a.length=0,this._consumeInterpolation(t,l,n),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(a.join(""))]),a.length=0,this._consumeEntity(e),this._beginToken(e)):a.push(this._readChar())}this._inInterpolation=!1;let o=this._processCarriageReturns(a.join(""));return this._endToken([o]),o}_consumeInterpolation(e,t,r){let n=[];this._beginToken(e,t),n.push(this._interpolationConfig.start);let a=this._cursor.clone(),o=null,l=!1;for(;this._cursor.peek()!==0&&(r===null||!r());){let u=this._cursor.clone();if(this._isTagStart()){this._cursor=u,n.push(this._getProcessedChars(a,u)),this._endToken(n);return}if(o===null)if(this._attemptStr(this._interpolationConfig.end)){n.push(this._getProcessedChars(a,u)),n.push(this._interpolationConfig.end),this._endToken(n);return}else this._attemptStr("//")&&(l=!0);let c=this._cursor.peek();this._cursor.advance(),c===92?this._cursor.advance():c===o?o=null:!l&&o===null&&Jo(c)&&(o=c)}n.push(this._getProcessedChars(a,this._cursor)),this._endToken(n)}_getProcessedChars(e,t){return this._processCarriageReturns(t.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||this._cursor.peek()===0||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===125&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||this._cursor.peek()===64||this._cursor.peek()===125))}_isTagStart(){if(this._cursor.peek()===60){let e=this._cursor.clone();e.advance();let t=e.peek();if(97<=t&&t<=122||65<=t&&t<=90||t===47||t===33)return!0}return!1}_isBlockStart(){if(this._tokenizeBlocks&&this._cursor.peek()===64){let e=this._cursor.clone();if(e.advance(),Vs(e.peek()))return!0}return!1}_readUntil(e){let t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===22}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===20}isExpansionFormStart(){if(this._cursor.peek()!==123)return!1;if(this._interpolationConfig){let e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}_handleFullNameStackForTagOpen(e,t){let r=fa(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=fa(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}},s(Tu,"Or"),Tu),s(ne,"b"),s($s,"$s"),s(Fh,"mo"),s(Sh,"fo"),s(Ah,"go"),s(kh,"Co"),s(Bh,"So"),s(Xc,"Os"),s(Vs,"Ms"),s(Us,"qs"),s(I3,"_o"),Lu=(ga=class{constructor(e,t){if(e instanceof ga){this.file=e.file,this.input=e.input,this.end=e.end;let r=e.state;this.state={peek:r.peek,offset:r.offset,line:r.line,column:r.column}}else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new ga(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){e=e||this;let r=e;if(t)for(;this.diff(e)>0&&t.indexOf(e.peek())!==-1;)r===e&&(e=e.clone()),e.advance();let n=this.locationFromCursor(e),a=this.locationFromCursor(this),o=r!==e?this.locationFromCursor(r):n;return new W(n,a,o)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new al('Unexpected character "EOF"',this);let t=this.charAt(e.offset);t===10?(e.line++,e.column=0):Zo(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new Zl(e.file,e.state.offset,e.state.line,e.state.column)}},s(ga,"t"),ga),zm=(va=class extends Lu{constructor(e,t){e instanceof va?(super(e),this.internalState={...e.internalState}):(super(e,t),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new va(this)}getChars(e){let t=e.clone(),r="";for(;t.internalState.offsetthis.internalState.peek,"e");if(e()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),e()===110)this.state.peek=10;else if(e()===114)this.state.peek=13;else if(e()===118)this.state.peek=11;else if(e()===116)this.state.peek=9;else if(e()===98)this.state.peek=8;else if(e()===102)this.state.peek=12;else if(e()===117)if(this.advanceState(this.internalState),e()===123){this.advanceState(this.internalState);let t=this.clone(),r=0;for(;e()!==125;)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(t,r)}else{let t=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,4)}else if(e()===120){this.advanceState(this.internalState);let t=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,2)}else if(Os(e())){let t="",r=0,n=this.clone();for(;Os(e())&&r<3;)n=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),r++;this.state.peek=parseInt(t,8),this.internalState=n.internalState}else Zo(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){let r=this.input.slice(e.internalState.offset,e.internalState.offset+t),n=parseInt(r,16);if(isNaN(n))throw e.state=e.internalState,new al("Invalid hexadecimal escape sequence",e);return n}},s(va,"t"),va),al=(Mu=class{constructor(e,t){this.msg=e,this.cursor=t}},s(Mu,"gt"),Mu),ye=(ol=class extends ou{static create(e,t,r){return new ol(e,t,r)}constructor(e,t,r){super(t,r),this.elementName=e}},s(ol,"t"),ol),Tm=(Ou=class{constructor(e,t){this.rootNodes=e,this.errors=t}},s(Ou,"Vr"),Ou),Lm=(Pu=class{constructor(e){this.getTagDefinition=e}parse(e,t,r,n=!1,a){let o=s(h=>(v,...y)=>h(v.toLowerCase(),...y),"a"),l=n?this.getTagDefinition:o(this.getTagDefinition),u=s(h=>l(h).getContentType(),"u"),c=n?a:o(a),d=Ch(e,t,a?(h,v,y,b)=>{let C=c(h,v,y,b);return C!==void 0?C:u(h)}:u,r),f=r&&r.canSelfClose||!1,g=r&&r.allowHtmComponentClosingTags||!1,p=new Mm(d.tokens,l,f,g,n);return p.build(),new Tm(p.rootNodes,d.errors.concat(p.errors))}},s(Pu,"nr"),Pu),Mm=(ll=class{constructor(e,t,r,n,a){this.tokens=e,this.getTagDefinition=t,this.canSelfClose=r,this.allowHtmComponentClosingTags=n,this.isTagNameCaseSensitive=a,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==34;)this._peek.type===0||this._peek.type===4?this._consumeStartTag(this._advance()):this._peek.type===3?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===12?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===10?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===5||this._peek.type===7||this._peek.type===6?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===20?this._consumeExpansion(this._advance()):this._peek.type===25?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===27?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===29?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===30?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===18?this._consumeDocType(this._advance()):this._peek.type===33?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._advance();for(let e of this._containerStack)e instanceof Cr&&this.errors.push(ye.create(e.name,e.sourceSpan,`Unclosed block "${e.name}"`))}_advance(){let e=this._peek;return this._index0)return this.errors=this.errors.concat(a.errors),null;let o=new W(e.sourceSpan.start,n.sourceSpan.end,e.sourceSpan.fullStart),l=new W(t.sourceSpan.start,n.sourceSpan.end,t.sourceSpan.fullStart);return new Sm(e.parts[0],a.rootNodes,o,e.sourceSpan,l)}_collectExpansionExpTokens(e){let t=[],r=[22];for(;;){if((this._peek.type===20||this._peek.type===22)&&r.push(this._peek.type),this._peek.type===23)if(qs(r,22)){if(r.pop(),r.length===0)return t}else return this.errors.push(ye.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===24)if(qs(r,20))r.pop();else return this.errors.push(ye.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===34)return this.errors.push(ye.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_getText(e){let t=e.parts[0];if(t.length>0&&t[0]==` `){let r=this._getClosestParentElement();r!=null&&r.children.length==0&&this.getTagDefinition(r.name).ignoreFirstLf&&(t=t.substring(1))}return t}_consumeText(e){let t=[e],r=e.sourceSpan,n=e.parts[0];if(n.length>0&&n[0]===` -`){let a=this._getContainer();a!=null&&a.children.length===0&&this.getTagDefinition(a.name).ignoreFirstLf&&(n=n.substring(1),t[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[n]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)e=this._advance(),t.push(e),e.type===8?n+=e.parts.join("").replace(/&([^;]+);/g,Wu):e.type===9?n+=e.parts[0]:n+=e.parts.join("");if(n.length>0){let a=e.sourceSpan;this._addToParent(new Cm(n,new W(r.start,a.end,r.fullStart,r.details),t))}}_closeVoidElement(){let e=this._getContainer();e instanceof Lt&&this.getTagDefinition(e.name).isVoid&&this._containerStack.pop()}_consumeStartTag(e){let[t,r]=e.parts,n=[];for(;this._peek.type===14;)n.push(this._consumeAttr(this._advance()));let a=this._getElementFullName(t,r,this._getClosestParentElement()),o=!1;if(this._peek.type===2){this._advance(),o=!0;let p=this.getTagDefinition(a);this.canSelfClose||p.canSelfClose||Ra(a)!==null||p.isVoid||this.errors.push(ye.create(a,e.sourceSpan,`Only void, custom and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===1&&(this._advance(),o=!1);let l=this._peek.sourceSpan.fullStart,s=new W(e.sourceSpan.start,l,e.sourceSpan.fullStart),c=new W(e.sourceSpan.start,l,e.sourceSpan.fullStart),d=new W(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),f=new Lt(a,n,[],s,c,void 0,d),g=this._getContainer();this._pushContainer(f,g instanceof Lt&&this.getTagDefinition(g.name).isClosedByChild(f.name)),o?this._popContainer(a,Lt,s):e.type===4&&(this._popContainer(a,Lt,null),this.errors.push(ye.create(a,s,`Opening tag "${a}" not terminated.`)))}_pushContainer(e,t){t&&this._containerStack.pop(),this._addToParent(e),this._containerStack.push(e)}_consumeEndTag(e){let t=this.allowHtmComponentClosingTags&&e.parts.length===0?null:this._getElementFullName(e.parts[0],e.parts[1],this._getClosestParentElement());if(t&&this.getTagDefinition(t).isVoid)this.errors.push(ye.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popContainer(t,Lt,e.sourceSpan)){let r=`Unexpected closing tag "${t}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(ye.create(t,e.sourceSpan,r))}}_popContainer(e,t,r){let n=!1;for(let a=this._containerStack.length-1;a>=0;a--){let o=this._containerStack[a];if(Ra(o.name)?o.name===e:(e==null||o.name.toLowerCase()===e.toLowerCase())&&o instanceof t)return o.endSourceSpan=r,o.sourceSpan.end=r!==null?r.end:o.sourceSpan.end,this._containerStack.splice(a,this._containerStack.length-a),!n;(o instanceof Cr||o instanceof Lt&&!this.getTagDefinition(o.name).closedByParent)&&(n=!0)}return!1}_consumeAttr(e){let t=fa(e.parts[0],e.parts[1]),r=e.sourceSpan.end,n;this._peek.type===15&&(n=this._advance());let a="",o=[],l,s;if(this._peek.type===16)for(l=this._peek.sourceSpan,s=this._peek.sourceSpan.end;this._peek.type===16||this._peek.type===17||this._peek.type===9;){let d=this._advance();o.push(d),d.type===17?a+=d.parts.join("").replace(/&([^;]+);/g,Wu):d.type===9?a+=d.parts[0]:a+=d.parts.join(""),s=r=d.sourceSpan.end}this._peek.type===15&&(s=r=this._advance().sourceSpan.end);let c=l&&s&&new W((n==null?void 0:n.sourceSpan.start)??l.start,s,(n==null?void 0:n.sourceSpan.fullStart)??l.fullStart);return new Am(t,a,new W(e.sourceSpan.start,r,e.sourceSpan.fullStart),e.sourceSpan,c,o.length>0?o:void 0,void 0)}_consumeBlockOpen(e){let t=[];for(;this._peek.type===28;){let l=this._advance();t.push(new Ss(l.parts[0],l.sourceSpan))}this._peek.type===26&&this._advance();let r=this._peek.sourceSpan.fullStart,n=new W(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new W(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new Cr(e.parts[0],t,[],n,e.sourceSpan,a);this._pushContainer(o,!1)}_consumeBlockClose(e){this._popContainer(null,Cr,e.sourceSpan)||this.errors.push(ye.create(null,e.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "}" HTML entity instead.'))}_consumeIncompleteBlock(e){let t=[];for(;this._peek.type===28;){let l=this._advance();t.push(new Ss(l.parts[0],l.sourceSpan))}let r=this._peek.sourceSpan.fullStart,n=new W(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new W(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new Cr(e.parts[0],t,[],n,e.sourceSpan,a);this._pushContainer(o,!1),this._popContainer(null,Cr,null),this.errors.push(ye.create(e.parts[0],n,`Incomplete block "${e.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_consumeLet(e){let t=e.parts[0],r,n;if(this._peek.type!==31){this.errors.push(ye.create(e.parts[0],e.sourceSpan,`Invalid @let declaration "${t}". Declaration must have a value.`));return}else r=this._advance();if(this._peek.type!==32){this.errors.push(ye.create(e.parts[0],e.sourceSpan,`Unterminated @let declaration "${t}". Declaration must be terminated with a semicolon.`));return}else n=this._advance();let a=n.sourceSpan.fullStart,o=new W(e.sourceSpan.start,a,e.sourceSpan.fullStart),l=e.sourceSpan.toString().lastIndexOf(t),s=e.sourceSpan.start.moveBy(l),c=new W(s,e.sourceSpan.end),d=new ks(t,r.parts[0],o,c,r.sourceSpan);this._addToParent(d)}_consumeIncompleteLet(e){let t=e.parts[0]??"",r=t?` "${t}"`:"";if(t.length>0){let n=e.sourceSpan.toString().lastIndexOf(t),a=e.sourceSpan.start.moveBy(n),o=new W(a,e.sourceSpan.end),l=new W(e.sourceSpan.start,e.sourceSpan.start.moveBy(0)),s=new ks(t,"",e.sourceSpan,o,l);this._addToParent(s)}this.errors.push(ye.create(e.parts[0],e.sourceSpan,`Incomplete @let declaration${r}. @let declarations must be written as \`@let = ;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestParentElement(){for(let e=this._containerStack.length-1;e>-1;e--)if(this._containerStack[e]instanceof Lt)return this._containerStack[e];return null}_addToParent(e){let t=this._getContainer();t===null?this.rootNodes.push(e):t.children.push(e)}_getElementFullName(e,t,r){if(e===""&&(e=this.getTagDefinition(t).implicitNamespacePrefix||"",e===""&&r!=null)){let n=Qa(r.name)[1];this.getTagDefinition(n).preventNamespaceInheritance||(e=Ra(r.name))}return fa(e,t)}},u(ll,"t"),ll),u(qu,"zs"),u(Wu,"Gs"),Om=(Ns=class extends Lm{constructor(){super(Ul)}parse(e,t,r,n=!1,a){return super.parse(e,t,r,n,a)}},u(Ns,"sr"),Ns),il=null,Ey=u(()=>(il||(il=new Om),il),"Eo"),u(Qc,"zr"),u(_h,"Ao"),Cy=_h,wn=3,u(R3,"Do"),u(Ih,"vo"),xy=Ih,ya={attrs:!0,children:!0,cases:!0,expression:!0},Hs=new Set(["parent"]),Fy=(xr=class{constructor(e={}){for(let t of new Set([...Hs,...Object.keys(e)]))this.setProperty(t,e[t])}setProperty(e,t){if(this[e]!==t){if(e in ya&&(t=t.map(r=>this.createChild(r))),!Hs.has(e)){this[e]=t;return}Object.defineProperty(this,e,{value:t,enumerable:!1,configurable:!0})}}map(e){let t;for(let r in ya){let n=this[r];if(n){let a=Rh(n,o=>o.map(e));t!==n&&(t||(t=new xr({parent:this.parent})),t.setProperty(r,a))}}if(t)for(let r in this)r in ya||(t[r]=this[r]);return e(t||this)}walk(e){for(let t in ya){let r=this[t];if(r)for(let n=0;n[e.fullName,e.value]))}},u(xr,"t"),xr),u(Rh,"yo"),Sy=[{regex:/^(\[if([^\]]*)\]>)(.*?)a==="lang"&&o!=="html"&&o!==""&&o!==void 0))}}),jm=ha({name:"lwc",canSelfClose:!1}),$m={html:im},ky=Zu});function Mt(){}function Vm(e,t,r,n,a){for(var o=[],l;t;)o.push(t),l=t.previousComponent,delete t.previousComponent,t=l;o.reverse();for(var s=0,c=o.length,d=0,f=0;sy.length?C:y}),g.value=e.join(h)}else g.value=e.join(r.slice(d,d+g.count));d+=g.count,g.added||(f+=g.count)}}var v=o[c-1];return c>1&&typeof v.value=="string"&&(v.added||v.removed)&&e.equals("",v.value)&&(o[c-2].value+=v.value,o.pop()),o}function Ga(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ga=u(function(t){return typeof t},"$e"):Ga=u(function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},"$e"),Ga(e)}function Jl(e,t,r,n,a){t=t||[],r=r||[],n&&(e=n(a,e));var o;for(o=0;o=0?e.charAt(t+1)===` +`){let a=this._getContainer();a!=null&&a.children.length===0&&this.getTagDefinition(a.name).ignoreFirstLf&&(n=n.substring(1),t[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[n]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)e=this._advance(),t.push(e),e.type===8?n+=e.parts.join("").replace(/&([^;]+);/g,Ws):e.type===9?n+=e.parts[0]:n+=e.parts.join("");if(n.length>0){let a=e.sourceSpan;this._addToParent(new Cm(n,new W(r.start,a.end,r.fullStart,r.details),t))}}_closeVoidElement(){let e=this._getContainer();e instanceof Lt&&this.getTagDefinition(e.name).isVoid&&this._containerStack.pop()}_consumeStartTag(e){let[t,r]=e.parts,n=[];for(;this._peek.type===14;)n.push(this._consumeAttr(this._advance()));let a=this._getElementFullName(t,r,this._getClosestParentElement()),o=!1;if(this._peek.type===2){this._advance(),o=!0;let p=this.getTagDefinition(a);this.canSelfClose||p.canSelfClose||Ra(a)!==null||p.isVoid||this.errors.push(ye.create(a,e.sourceSpan,`Only void, custom and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===1&&(this._advance(),o=!1);let l=this._peek.sourceSpan.fullStart,u=new W(e.sourceSpan.start,l,e.sourceSpan.fullStart),c=new W(e.sourceSpan.start,l,e.sourceSpan.fullStart),d=new W(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),f=new Lt(a,n,[],u,c,void 0,d),g=this._getContainer();this._pushContainer(f,g instanceof Lt&&this.getTagDefinition(g.name).isClosedByChild(f.name)),o?this._popContainer(a,Lt,u):e.type===4&&(this._popContainer(a,Lt,null),this.errors.push(ye.create(a,u,`Opening tag "${a}" not terminated.`)))}_pushContainer(e,t){t&&this._containerStack.pop(),this._addToParent(e),this._containerStack.push(e)}_consumeEndTag(e){let t=this.allowHtmComponentClosingTags&&e.parts.length===0?null:this._getElementFullName(e.parts[0],e.parts[1],this._getClosestParentElement());if(t&&this.getTagDefinition(t).isVoid)this.errors.push(ye.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popContainer(t,Lt,e.sourceSpan)){let r=`Unexpected closing tag "${t}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(ye.create(t,e.sourceSpan,r))}}_popContainer(e,t,r){let n=!1;for(let a=this._containerStack.length-1;a>=0;a--){let o=this._containerStack[a];if(Ra(o.name)?o.name===e:(e==null||o.name.toLowerCase()===e.toLowerCase())&&o instanceof t)return o.endSourceSpan=r,o.sourceSpan.end=r!==null?r.end:o.sourceSpan.end,this._containerStack.splice(a,this._containerStack.length-a),!n;(o instanceof Cr||o instanceof Lt&&!this.getTagDefinition(o.name).closedByParent)&&(n=!0)}return!1}_consumeAttr(e){let t=fa(e.parts[0],e.parts[1]),r=e.sourceSpan.end,n;this._peek.type===15&&(n=this._advance());let a="",o=[],l,u;if(this._peek.type===16)for(l=this._peek.sourceSpan,u=this._peek.sourceSpan.end;this._peek.type===16||this._peek.type===17||this._peek.type===9;){let d=this._advance();o.push(d),d.type===17?a+=d.parts.join("").replace(/&([^;]+);/g,Ws):d.type===9?a+=d.parts[0]:a+=d.parts.join(""),u=r=d.sourceSpan.end}this._peek.type===15&&(u=r=this._advance().sourceSpan.end);let c=l&&u&&new W((n==null?void 0:n.sourceSpan.start)??l.start,u,(n==null?void 0:n.sourceSpan.fullStart)??l.fullStart);return new Am(t,a,new W(e.sourceSpan.start,r,e.sourceSpan.fullStart),e.sourceSpan,c,o.length>0?o:void 0,void 0)}_consumeBlockOpen(e){let t=[];for(;this._peek.type===28;){let l=this._advance();t.push(new Su(l.parts[0],l.sourceSpan))}this._peek.type===26&&this._advance();let r=this._peek.sourceSpan.fullStart,n=new W(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new W(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new Cr(e.parts[0],t,[],n,e.sourceSpan,a);this._pushContainer(o,!1)}_consumeBlockClose(e){this._popContainer(null,Cr,e.sourceSpan)||this.errors.push(ye.create(null,e.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "}" HTML entity instead.'))}_consumeIncompleteBlock(e){let t=[];for(;this._peek.type===28;){let l=this._advance();t.push(new Su(l.parts[0],l.sourceSpan))}let r=this._peek.sourceSpan.fullStart,n=new W(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new W(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new Cr(e.parts[0],t,[],n,e.sourceSpan,a);this._pushContainer(o,!1),this._popContainer(null,Cr,null),this.errors.push(ye.create(e.parts[0],n,`Incomplete block "${e.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_consumeLet(e){let t=e.parts[0],r,n;if(this._peek.type!==31){this.errors.push(ye.create(e.parts[0],e.sourceSpan,`Invalid @let declaration "${t}". Declaration must have a value.`));return}else r=this._advance();if(this._peek.type!==32){this.errors.push(ye.create(e.parts[0],e.sourceSpan,`Unterminated @let declaration "${t}". Declaration must be terminated with a semicolon.`));return}else n=this._advance();let a=n.sourceSpan.fullStart,o=new W(e.sourceSpan.start,a,e.sourceSpan.fullStart),l=e.sourceSpan.toString().lastIndexOf(t),u=e.sourceSpan.start.moveBy(l),c=new W(u,e.sourceSpan.end),d=new ku(t,r.parts[0],o,c,r.sourceSpan);this._addToParent(d)}_consumeIncompleteLet(e){let t=e.parts[0]??"",r=t?` "${t}"`:"";if(t.length>0){let n=e.sourceSpan.toString().lastIndexOf(t),a=e.sourceSpan.start.moveBy(n),o=new W(a,e.sourceSpan.end),l=new W(e.sourceSpan.start,e.sourceSpan.start.moveBy(0)),u=new ku(t,"",e.sourceSpan,o,l);this._addToParent(u)}this.errors.push(ye.create(e.parts[0],e.sourceSpan,`Incomplete @let declaration${r}. @let declarations must be written as \`@let = ;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestParentElement(){for(let e=this._containerStack.length-1;e>-1;e--)if(this._containerStack[e]instanceof Lt)return this._containerStack[e];return null}_addToParent(e){let t=this._getContainer();t===null?this.rootNodes.push(e):t.children.push(e)}_getElementFullName(e,t,r){if(e===""&&(e=this.getTagDefinition(t).implicitNamespacePrefix||"",e===""&&r!=null)){let n=Qa(r.name)[1];this.getTagDefinition(n).preventNamespaceInheritance||(e=Ra(r.name))}return fa(e,t)}},s(ll,"t"),ll),s(qs,"zs"),s(Ws,"Gs"),Om=(Nu=class extends Lm{constructor(){super(Ul)}parse(e,t,r,n=!1,a){return super.parse(e,t,r,n,a)}},s(Nu,"sr"),Nu),il=null,Ey=s(()=>(il||(il=new Om),il),"Eo"),s(Qc,"zr"),s(_h,"Ao"),Cy=_h,wn=3,s(R3,"Do"),s(Ih,"vo"),xy=Ih,ya={attrs:!0,children:!0,cases:!0,expression:!0},Hu=new Set(["parent"]),Fy=(xr=class{constructor(e={}){for(let t of new Set([...Hu,...Object.keys(e)]))this.setProperty(t,e[t])}setProperty(e,t){if(this[e]!==t){if(e in ya&&(t=t.map(r=>this.createChild(r))),!Hu.has(e)){this[e]=t;return}Object.defineProperty(this,e,{value:t,enumerable:!1,configurable:!0})}}map(e){let t;for(let r in ya){let n=this[r];if(n){let a=Rh(n,o=>o.map(e));t!==n&&(t||(t=new xr({parent:this.parent})),t.setProperty(r,a))}}if(t)for(let r in this)r in ya||(t[r]=this[r]);return e(t||this)}walk(e){for(let t in ya){let r=this[t];if(r)for(let n=0;n[e.fullName,e.value]))}},s(xr,"t"),xr),s(Rh,"yo"),Sy=[{regex:/^(\[if([^\]]*)\]>)(.*?)a==="lang"&&o!=="html"&&o!==""&&o!==void 0))}}),jm=ha({name:"lwc",canSelfClose:!1}),$m={html:im},ky=Zs});function Mt(){}function Vm(e,t,r,n,a){for(var o=[],l;t;)o.push(t),l=t.previousComponent,delete t.previousComponent,t=l;o.reverse();for(var u=0,c=o.length,d=0,f=0;uy.length?C:y}),g.value=e.join(h)}else g.value=e.join(r.slice(d,d+g.count));d+=g.count,g.added||(f+=g.count)}}var v=o[c-1];return c>1&&typeof v.value=="string"&&(v.added||v.removed)&&e.equals("",v.value)&&(o[c-2].value+=v.value,o.pop()),o}function Ga(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ga=s(function(t){return typeof t},"$e"):Ga=s(function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},"$e"),Ga(e)}function Jl(e,t,r,n,a){t=t||[],r=r||[],n&&(e=n(a,e));var o;for(o=0;o=0?e.charAt(t+1)===` `?"crlf":"cr":"lf"}function ji(e){switch(e){case"cr":return"\r";case"crlf":return`\r `;default:return` `}}function b1(e,t){let r;switch(t){case` @@ -51,46 +51,46 @@ If '${e}' is a directive input, make sure the directive is imported by the curre `:r=/\r\n/gu;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let n=e.match(r);return n?n.length:0}function Iy(e){return ko(!1,e,/\r\n?/gu,` `)}function Um(e){if(typeof e=="string")return dr;if(Array.isArray(e))return St;if(!e)return;let{type:t}=e;if(R1.has(t))return t}function qm(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', Expected it to be 'string' or 'object'.`;if(pr(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=w7([...R1].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'. -Expected it to be ${n}.`}function Wm(e,t,r,n){let a=[e];for(;a.length>0;){let o=a.pop();if(o===S0){r(a.pop());continue}r&&a.push(o,S0);let l=pr(o);if(!l)throw new jr(o);if((t==null?void 0:t(o))!==!1)switch(l){case St:case nt:{let s=l===St?o:o.parts;for(let c=s.length,d=c-1;d>=0;--d)a.push(s[d]);break}case ze:a.push(o.flatContents,o.breakContents);break;case Ie:if(n&&o.expandedStates)for(let s=o.expandedStates.length,c=s-1;c>=0;--c)a.push(o.expandedStates[c]);else a.push(o.contents);break;case kt:case At:case Bt:case at:case _t:a.push(o.contents);break;case dr:case er:case Ct:case xt:case fe:case Ne:break;default:throw new jr(o)}}}function oo(e){return ot(e),{type:At,contents:e}}function Hr(e,t){return ot(t),{type:kt,contents:t,n:e}}function o0(e,t={}){return ot(e),Ui(t.expandedStates,!0),{type:Ie,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function Gm(e){return Hr(Number.NEGATIVE_INFINITY,e)}function Km(e){return Hr({type:"root"},e)}function Ym(e){return Hr(-1,e)}function Zm(e,t){return o0(e[0],{...t,expandedStates:e})}function l0(e){return Ui(e),{type:nt,parts:e}}function Jm(e,t="",r={}){return ot(e),t!==""&&ot(t),{type:ze,breakContents:e,flatContents:t,groupId:r.groupId}}function Xm(e,t){return ot(e),{type:Bt,contents:e,groupId:t.groupId,negate:t.negate}}function Xl(e){return ot(e),{type:_t,contents:e}}function i0(e,t){ot(e),Ui(t);let r=[];for(let n=0;n0){for(let a=0;a0?`, { ${f.join(", ")} }`:"";return`indentIfBreak(${n(o.contents)}${g})`}if(o.type===Ie){let f=[];o.break&&o.break!=="propagated"&&f.push("shouldBreak: true"),o.id&&f.push(`id: ${a(o.id)}`);let g=f.length>0?`, { ${f.join(", ")} }`:"";return o.expandedStates?`conditionalGroup([${o.expandedStates.map(p=>n(p)).join(",")}]${g})`:`group(${n(o.contents)}${g})`}if(o.type===nt)return`fill([${o.parts.map(f=>n(f)).join(", ")}])`;if(o.type===_t)return"lineSuffix("+n(o.contents)+")";if(o.type===xt)return"lineSuffixBoundary";if(o.type===at)return`label(${JSON.stringify(o.label)}, ${n(o.contents)})`;throw new Error("Unknown doc type "+o.type)}function a(o){if(typeof o!="symbol")return JSON.stringify(String(o));if(o in t)return t[o];let l=o.description||"symbol";for(let s=0;;s++){let c=l+(s>0?` #${s}`:"");if(!r.has(c))return r.add(c),t[o]=`Symbol.for(${JSON.stringify(c)})`}}}function e5(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function t5(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9800&&e<=9811||e===9855||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}function r5(e){if(!e)return 0;if(!E7.test(e))return e.length;e=e.replace(b7()," ");let t=0;for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||(t+=D7(n)?1:2)}return t}function lo(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(o){if(r.has(o))return r.get(o);let l=a(o);return r.set(o,l),l}function a(o){switch(pr(o)){case St:return t(o.map(n));case nt:return t({...o,parts:o.parts.map(n)});case ze:return t({...o,breakContents:n(o.breakContents),flatContents:n(o.flatContents)});case Ie:{let{expandedStates:l,contents:s}=o;return l?(l=l.map(n),s=l[0]):s=n(s),t({...o,contents:s,expandedStates:l})}case kt:case At:case Bt:case at:case _t:return t({...o,contents:n(o.contents)});case dr:case er:case Ct:case xt:case fe:case Ne:return t(o);default:throw new jr(o)}}}function Ql(e,t,r){let n=r,a=!1;function o(l){if(a)return!1;let s=t(l);s!==void 0&&(a=!0,n=s)}return u(o,"u"),ni(e,o),n}function zy(e){if(e.type===Ie&&e.break||e.type===fe&&e.hard||e.type===Ne)return!0}function n5(e){return Ql(e,zy,!1)}function s0(e){if(e.length>0){let t=se(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function Ty(e){let t=new Set,r=[];function n(o){if(o.type===Ne&&s0(r),o.type===Ie){if(r.push(o),t.has(o))return!1;t.add(o)}}u(n,"n");function a(o){o.type===Ie&&r.pop().break&&s0(r)}u(a,"o"),ni(e,n,a,!0)}function Ly(e){return e.type===fe&&!e.hard?e.soft?"":" ":e.type===ze?e.flatContents:e}function a5(e){return lo(e,Ly)}function c0(e){for(e=[...e];e.length>=2&&se(!1,e,-2).type===fe&&se(!1,e,-1).type===Ne;)e.length-=2;if(e.length>0){let t=kn(se(!1,e,-1));e[e.length-1]=t}return e}function kn(e){switch(pr(e)){case At:case Bt:case Ie:case _t:case at:{let t=kn(e.contents);return{...e,contents:t}}case ze:return{...e,breakContents:kn(e.breakContents),flatContents:kn(e.flatContents)};case nt:return{...e,parts:c0(e.parts)};case St:return c0(e);case dr:return e.replace(/[\n\r]*$/u,"");case kt:case er:case Ct:case xt:case fe:case Ne:break;default:throw new jr(e)}return e}function d0(e){return kn(Oy(e))}function My(e){switch(pr(e)){case nt:if(e.parts.every(t=>t===""))return"";break;case Ie:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===Ie&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case kt:case At:case Bt:case _t:if(!e.contents)return"";break;case ze:if(!e.flatContents&&!e.breakContents)return"";break;case St:{let t=[];for(let r of e){if(!r)continue;let[n,...a]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof se(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...a)}return t.length===0?"":t.length===1?t[0]:t}case dr:case er:case Ct:case xt:case fe:case at:case Ne:break;default:throw new jr(e)}return e}function Oy(e){return lo(e,t=>My(t))}function o5(e,t=k0){return lo(e,r=>typeof r=="string"?i0(t,r.split(` -`)):r)}function Py(e){if(e.type===fe)return!0}function l5(e){return Ql(e,Py,!1)}function D1(e,t){return e.type===at?{...e,contents:t(e.contents)}:t(e)}function E1(){return{value:"",length:0,queue:[]}}function Ny(e,t){return ei(e,{type:"indent"},t)}function Hy(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||E1():t<0?ei(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:ei(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function ei(e,t,r){let n=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],a="",o=0,l=0,s=0;for(let v of n)switch(v.type){case"indent":f(),r.useTabs?c(1):d(r.tabWidth);break;case"stringAlign":f(),a+=v.n,o+=v.n.length;break;case"numberAlign":l+=1,s+=v.n;break;default:throw new Error(`Unexpected type '${v.type}'`)}return p(),{...e,value:a,length:o,queue:n};function c(v){a+=" ".repeat(v),o+=r.tabWidth*v}function d(v){a+=" ".repeat(v),o+=v}function f(){r.useTabs?g():p()}function g(){l>0&&c(l),h()}function p(){s>0&&d(s),h()}function h(){l=0,s=0}}function ti(e){let t=0,r=0,n=e.length;e:for(;n--;){let a=e[n];if(a===Bn){r++;continue}for(let o=a.length-1;o>=0;o--){let l=a[o];if(l===" "||l===" ")t++;else{e[n]=a.slice(0,o+1);break e}}}if(t>0||r>0)for(e.length=n+1;r-- >0;)e.push(Bn);return t}function La(e,t,r,n,a,o){if(r===Number.POSITIVE_INFINITY)return!0;let l=t.length,s=[e],c=[];for(;r>=0;){if(s.length===0){if(l===0)return!0;s.push(t[--l]);continue}let{mode:d,doc:f}=s.pop(),g=pr(f);switch(g){case dr:c.push(f),r-=oi(f);break;case St:case nt:{let p=g===St?f:f.parts;for(let h=p.length-1;h>=0;h--)s.push({mode:d,doc:p[h]});break}case At:case kt:case Bt:case at:s.push({mode:d,doc:f.contents});break;case Ct:r+=ti(c);break;case Ie:{if(o&&f.break)return!1;let p=f.break?xe:d,h=f.expandedStates&&p===xe?se(!1,f.expandedStates,-1):f.contents;s.push({mode:p,doc:h});break}case ze:{let p=(f.groupId?a[f.groupId]||Je:d)===xe?f.breakContents:f.flatContents;p&&s.push({mode:d,doc:p});break}case fe:if(d===xe||f.hard)return!0;f.soft||(c.push(" "),r--);break;case _t:n=!0;break;case xt:if(n)return!1;break}}return!1}function io(e,t){let r={},n=t.printWidth,a=ji(t.endOfLine),o=0,l=[{ind:E1(),mode:xe,doc:e}],s=[],c=!1,d=[],f=0;for(Ty(e);l.length>0;){let{ind:p,mode:h,doc:v}=l.pop();switch(pr(v)){case dr:{let y=a!==` +Expected it to be ${n}.`}function Wm(e,t,r,n){let a=[e];for(;a.length>0;){let o=a.pop();if(o===S0){r(a.pop());continue}r&&a.push(o,S0);let l=pr(o);if(!l)throw new jr(o);if((t==null?void 0:t(o))!==!1)switch(l){case St:case nt:{let u=l===St?o:o.parts;for(let c=u.length,d=c-1;d>=0;--d)a.push(u[d]);break}case ze:a.push(o.flatContents,o.breakContents);break;case Ie:if(n&&o.expandedStates)for(let u=o.expandedStates.length,c=u-1;c>=0;--c)a.push(o.expandedStates[c]);else a.push(o.contents);break;case kt:case At:case Bt:case at:case _t:a.push(o.contents);break;case dr:case er:case Ct:case xt:case fe:case Ne:break;default:throw new jr(o)}}}function oo(e){return ot(e),{type:At,contents:e}}function Hr(e,t){return ot(t),{type:kt,contents:t,n:e}}function o0(e,t={}){return ot(e),Ui(t.expandedStates,!0),{type:Ie,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function Gm(e){return Hr(Number.NEGATIVE_INFINITY,e)}function Km(e){return Hr({type:"root"},e)}function Ym(e){return Hr(-1,e)}function Zm(e,t){return o0(e[0],{...t,expandedStates:e})}function l0(e){return Ui(e),{type:nt,parts:e}}function Jm(e,t="",r={}){return ot(e),t!==""&&ot(t),{type:ze,breakContents:e,flatContents:t,groupId:r.groupId}}function Xm(e,t){return ot(e),{type:Bt,contents:e,groupId:t.groupId,negate:t.negate}}function Xl(e){return ot(e),{type:_t,contents:e}}function i0(e,t){ot(e),Ui(t);let r=[];for(let n=0;n0){for(let a=0;a0?`, { ${f.join(", ")} }`:"";return`indentIfBreak(${n(o.contents)}${g})`}if(o.type===Ie){let f=[];o.break&&o.break!=="propagated"&&f.push("shouldBreak: true"),o.id&&f.push(`id: ${a(o.id)}`);let g=f.length>0?`, { ${f.join(", ")} }`:"";return o.expandedStates?`conditionalGroup([${o.expandedStates.map(p=>n(p)).join(",")}]${g})`:`group(${n(o.contents)}${g})`}if(o.type===nt)return`fill([${o.parts.map(f=>n(f)).join(", ")}])`;if(o.type===_t)return"lineSuffix("+n(o.contents)+")";if(o.type===xt)return"lineSuffixBoundary";if(o.type===at)return`label(${JSON.stringify(o.label)}, ${n(o.contents)})`;throw new Error("Unknown doc type "+o.type)}function a(o){if(typeof o!="symbol")return JSON.stringify(String(o));if(o in t)return t[o];let l=o.description||"symbol";for(let u=0;;u++){let c=l+(u>0?` #${u}`:"");if(!r.has(c))return r.add(c),t[o]=`Symbol.for(${JSON.stringify(c)})`}}}function e5(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function t5(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9800&&e<=9811||e===9855||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}function r5(e){if(!e)return 0;if(!E7.test(e))return e.length;e=e.replace(b7()," ");let t=0;for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||(t+=D7(n)?1:2)}return t}function lo(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(o){if(r.has(o))return r.get(o);let l=a(o);return r.set(o,l),l}function a(o){switch(pr(o)){case St:return t(o.map(n));case nt:return t({...o,parts:o.parts.map(n)});case ze:return t({...o,breakContents:n(o.breakContents),flatContents:n(o.flatContents)});case Ie:{let{expandedStates:l,contents:u}=o;return l?(l=l.map(n),u=l[0]):u=n(u),t({...o,contents:u,expandedStates:l})}case kt:case At:case Bt:case at:case _t:return t({...o,contents:n(o.contents)});case dr:case er:case Ct:case xt:case fe:case Ne:return t(o);default:throw new jr(o)}}}function Ql(e,t,r){let n=r,a=!1;function o(l){if(a)return!1;let u=t(l);u!==void 0&&(a=!0,n=u)}return s(o,"u"),ni(e,o),n}function zy(e){if(e.type===Ie&&e.break||e.type===fe&&e.hard||e.type===Ne)return!0}function n5(e){return Ql(e,zy,!1)}function u0(e){if(e.length>0){let t=ue(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function Ty(e){let t=new Set,r=[];function n(o){if(o.type===Ne&&u0(r),o.type===Ie){if(r.push(o),t.has(o))return!1;t.add(o)}}s(n,"n");function a(o){o.type===Ie&&r.pop().break&&u0(r)}s(a,"o"),ni(e,n,a,!0)}function Ly(e){return e.type===fe&&!e.hard?e.soft?"":" ":e.type===ze?e.flatContents:e}function a5(e){return lo(e,Ly)}function c0(e){for(e=[...e];e.length>=2&&ue(!1,e,-2).type===fe&&ue(!1,e,-1).type===Ne;)e.length-=2;if(e.length>0){let t=kn(ue(!1,e,-1));e[e.length-1]=t}return e}function kn(e){switch(pr(e)){case At:case Bt:case Ie:case _t:case at:{let t=kn(e.contents);return{...e,contents:t}}case ze:return{...e,breakContents:kn(e.breakContents),flatContents:kn(e.flatContents)};case nt:return{...e,parts:c0(e.parts)};case St:return c0(e);case dr:return e.replace(/[\n\r]*$/u,"");case kt:case er:case Ct:case xt:case fe:case Ne:break;default:throw new jr(e)}return e}function d0(e){return kn(Oy(e))}function My(e){switch(pr(e)){case nt:if(e.parts.every(t=>t===""))return"";break;case Ie:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===Ie&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case kt:case At:case Bt:case _t:if(!e.contents)return"";break;case ze:if(!e.flatContents&&!e.breakContents)return"";break;case St:{let t=[];for(let r of e){if(!r)continue;let[n,...a]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof ue(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...a)}return t.length===0?"":t.length===1?t[0]:t}case dr:case er:case Ct:case xt:case fe:case at:case Ne:break;default:throw new jr(e)}return e}function Oy(e){return lo(e,t=>My(t))}function o5(e,t=k0){return lo(e,r=>typeof r=="string"?i0(t,r.split(` +`)):r)}function Py(e){if(e.type===fe)return!0}function l5(e){return Ql(e,Py,!1)}function D1(e,t){return e.type===at?{...e,contents:t(e.contents)}:t(e)}function E1(){return{value:"",length:0,queue:[]}}function Ny(e,t){return ei(e,{type:"indent"},t)}function Hy(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||E1():t<0?ei(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:ei(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function ei(e,t,r){let n=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],a="",o=0,l=0,u=0;for(let v of n)switch(v.type){case"indent":f(),r.useTabs?c(1):d(r.tabWidth);break;case"stringAlign":f(),a+=v.n,o+=v.n.length;break;case"numberAlign":l+=1,u+=v.n;break;default:throw new Error(`Unexpected type '${v.type}'`)}return p(),{...e,value:a,length:o,queue:n};function c(v){a+=" ".repeat(v),o+=r.tabWidth*v}function d(v){a+=" ".repeat(v),o+=v}function f(){r.useTabs?g():p()}function g(){l>0&&c(l),h()}function p(){u>0&&d(u),h()}function h(){l=0,u=0}}function ti(e){let t=0,r=0,n=e.length;e:for(;n--;){let a=e[n];if(a===Bn){r++;continue}for(let o=a.length-1;o>=0;o--){let l=a[o];if(l===" "||l===" ")t++;else{e[n]=a.slice(0,o+1);break e}}}if(t>0||r>0)for(e.length=n+1;r-- >0;)e.push(Bn);return t}function La(e,t,r,n,a,o){if(r===Number.POSITIVE_INFINITY)return!0;let l=t.length,u=[e],c=[];for(;r>=0;){if(u.length===0){if(l===0)return!0;u.push(t[--l]);continue}let{mode:d,doc:f}=u.pop(),g=pr(f);switch(g){case dr:c.push(f),r-=oi(f);break;case St:case nt:{let p=g===St?f:f.parts;for(let h=p.length-1;h>=0;h--)u.push({mode:d,doc:p[h]});break}case At:case kt:case Bt:case at:u.push({mode:d,doc:f.contents});break;case Ct:r+=ti(c);break;case Ie:{if(o&&f.break)return!1;let p=f.break?xe:d,h=f.expandedStates&&p===xe?ue(!1,f.expandedStates,-1):f.contents;u.push({mode:p,doc:h});break}case ze:{let p=(f.groupId?a[f.groupId]||Je:d)===xe?f.breakContents:f.flatContents;p&&u.push({mode:d,doc:p});break}case fe:if(d===xe||f.hard)return!0;f.soft||(c.push(" "),r--);break;case _t:n=!0;break;case xt:if(n)return!1;break}}return!1}function io(e,t){let r={},n=t.printWidth,a=ji(t.endOfLine),o=0,l=[{ind:E1(),mode:xe,doc:e}],u=[],c=!1,d=[],f=0;for(Ty(e);l.length>0;){let{ind:p,mode:h,doc:v}=l.pop();switch(pr(v)){case dr:{let y=a!==` `?ko(!1,v,` -`,a):v;s.push(y),l.length>0&&(o+=oi(y));break}case St:for(let y=v.length-1;y>=0;y--)l.push({ind:p,mode:h,doc:v[y]});break;case er:if(f>=2)throw new Error("There are too many 'cursor' in doc.");s.push(Bn),f++;break;case At:l.push({ind:Ny(p,t),mode:h,doc:v.contents});break;case kt:l.push({ind:Hy(p,v.n,t),mode:h,doc:v.contents});break;case Ct:o-=ti(s);break;case Ie:switch(h){case Je:if(!c){l.push({ind:p,mode:v.break?xe:Je,doc:v.contents});break}case xe:{c=!1;let y={ind:p,mode:Je,doc:v.contents},b=n-o,C=d.length>0;if(!v.break&&La(y,l,b,C,r))l.push(y);else if(v.expandedStates){let D=se(!1,v.expandedStates,-1);if(v.break){l.push({ind:p,mode:xe,doc:D});break}else for(let E=1;E=v.expandedStates.length){l.push({ind:p,mode:xe,doc:D});break}else{let w=v.expandedStates[E],x={ind:p,mode:Je,doc:w};if(La(x,l,b,C,r)){l.push(x);break}}}else l.push({ind:p,mode:xe,doc:v.contents});break}}v.id&&(r[v.id]=se(!1,l,-1).mode);break;case nt:{let y=n-o,{parts:b}=v;if(b.length===0)break;let[C,D]=b,E={ind:p,mode:Je,doc:C},w={ind:p,mode:xe,doc:C},x=La(E,[],y,d.length>0,r,!0);if(b.length===1){x?l.push(E):l.push(w);break}let F={ind:p,mode:Je,doc:D},S={ind:p,mode:xe,doc:D};if(b.length===2){x?l.push(F,E):l.push(S,w);break}b.splice(0,2);let A={ind:p,mode:h,doc:l0(b)},B=b[0];La({ind:p,mode:Je,doc:[C,D,B]},[],y,d.length>0,r,!0)?l.push(A,F,E):x?l.push(A,S,E):l.push(A,S,w);break}case ze:case Bt:{let y=v.groupId?r[v.groupId]:h;if(y===xe){let b=v.type===ze?v.breakContents:v.negate?v.contents:oo(v.contents);b&&l.push({ind:p,mode:h,doc:b})}if(y===Je){let b=v.type===ze?v.flatContents:v.negate?oo(v.contents):v.contents;b&&l.push({ind:p,mode:h,doc:b})}break}case _t:d.push({ind:p,mode:h,doc:v.contents});break;case xt:d.length>0&&l.push({ind:p,mode:h,doc:Al});break;case fe:switch(h){case Je:if(v.hard)c=!0;else{v.soft||(s.push(" "),o+=1);break}case xe:if(d.length>0){l.push({ind:p,mode:h,doc:v},...d.reverse()),d.length=0;break}v.literal?p.root?(s.push(a,p.root.value),o=p.root.length):(s.push(a),o=0):(o-=ti(s),s.push(a+p.value),o=p.length);break}break;case at:l.push({ind:p,mode:h,doc:v.contents});break;case Ne:break;default:throw new jr(v)}l.length===0&&d.length>0&&(l.push(...d.reverse()),d.length=0)}let g=s.indexOf(Bn);if(g!==-1){let p=s.indexOf(Bn,g+1),h=s.slice(0,g).join(""),v=s.slice(g+1,p).join(""),y=s.slice(p+1).join("");return{formatted:h+v+y,cursorNodeStart:h.length,cursorNodeText:v}}return{formatted:s.join("")}}function i5(e,t,r=0){let n=0;for(let a=r;a!0,"n")}=t,a=u(o=>x7(o)&&n(o),"o");for(let o of r(e)){let l=e[o];if(Array.isArray(l))for(let s of l)a(s)&&(yield s);else a(l)&&(yield l)}}function*jy(e,t){let r=[e];for(let n=0;n{let a=!!(n!=null&&n.backwards);if(r===!1)return!1;let{length:o}=t,l=r;for(;l>=0&&l0&&(o+=oi(y));break}case St:for(let y=v.length-1;y>=0;y--)l.push({ind:p,mode:h,doc:v[y]});break;case er:if(f>=2)throw new Error("There are too many 'cursor' in doc.");u.push(Bn),f++;break;case At:l.push({ind:Ny(p,t),mode:h,doc:v.contents});break;case kt:l.push({ind:Hy(p,v.n,t),mode:h,doc:v.contents});break;case Ct:o-=ti(u);break;case Ie:switch(h){case Je:if(!c){l.push({ind:p,mode:v.break?xe:Je,doc:v.contents});break}case xe:{c=!1;let y={ind:p,mode:Je,doc:v.contents},b=n-o,C=d.length>0;if(!v.break&&La(y,l,b,C,r))l.push(y);else if(v.expandedStates){let D=ue(!1,v.expandedStates,-1);if(v.break){l.push({ind:p,mode:xe,doc:D});break}else for(let E=1;E=v.expandedStates.length){l.push({ind:p,mode:xe,doc:D});break}else{let w=v.expandedStates[E],x={ind:p,mode:Je,doc:w};if(La(x,l,b,C,r)){l.push(x);break}}}else l.push({ind:p,mode:xe,doc:v.contents});break}}v.id&&(r[v.id]=ue(!1,l,-1).mode);break;case nt:{let y=n-o,{parts:b}=v;if(b.length===0)break;let[C,D]=b,E={ind:p,mode:Je,doc:C},w={ind:p,mode:xe,doc:C},x=La(E,[],y,d.length>0,r,!0);if(b.length===1){x?l.push(E):l.push(w);break}let F={ind:p,mode:Je,doc:D},S={ind:p,mode:xe,doc:D};if(b.length===2){x?l.push(F,E):l.push(S,w);break}b.splice(0,2);let A={ind:p,mode:h,doc:l0(b)},B=b[0];La({ind:p,mode:Je,doc:[C,D,B]},[],y,d.length>0,r,!0)?l.push(A,F,E):x?l.push(A,S,E):l.push(A,S,w);break}case ze:case Bt:{let y=v.groupId?r[v.groupId]:h;if(y===xe){let b=v.type===ze?v.breakContents:v.negate?v.contents:oo(v.contents);b&&l.push({ind:p,mode:h,doc:b})}if(y===Je){let b=v.type===ze?v.flatContents:v.negate?oo(v.contents):v.contents;b&&l.push({ind:p,mode:h,doc:b})}break}case _t:d.push({ind:p,mode:h,doc:v.contents});break;case xt:d.length>0&&l.push({ind:p,mode:h,doc:Al});break;case fe:switch(h){case Je:if(v.hard)c=!0;else{v.soft||(u.push(" "),o+=1);break}case xe:if(d.length>0){l.push({ind:p,mode:h,doc:v},...d.reverse()),d.length=0;break}v.literal?p.root?(u.push(a,p.root.value),o=p.root.length):(u.push(a),o=0):(o-=ti(u),u.push(a+p.value),o=p.length);break}break;case at:l.push({ind:p,mode:h,doc:v.contents});break;case Ne:break;default:throw new jr(v)}l.length===0&&d.length>0&&(l.push(...d.reverse()),d.length=0)}let g=u.indexOf(Bn);if(g!==-1){let p=u.indexOf(Bn,g+1),h=u.slice(0,g).join(""),v=u.slice(g+1,p).join(""),y=u.slice(p+1).join("");return{formatted:h+v+y,cursorNodeStart:h.length,cursorNodeText:v}}return{formatted:u.join("")}}function i5(e,t,r=0){let n=0;for(let a=r;a!0,"n")}=t,a=s(o=>x7(o)&&n(o),"o");for(let o of r(e)){let l=e[o];if(Array.isArray(l))for(let u of l)a(u)&&(yield u);else a(l)&&(yield l)}}function*jy(e,t){let r=[e];for(let n=0;n{let a=!!(n!=null&&n.backwards);if(r===!1)return!1;let{length:o}=t,l=r;for(;l>=0&&l0}function p5(e){return e?t=>e(t,I0):S7}function $y(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&(typeof e.id=="object"?e.id.name:e.id)||e.key&&(typeof e.key=="object"?e.key.name:e.key)||e.value&&(typeof e.value=="object"?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"…"),t+(r?" "+r:"")}function $i(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=$y(e)}function zr(e,t){t.leading=!0,t.trailing=!1,$i(e,t)}function Ka(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),$i(e,t)}function Tr(e,t){t.leading=!1,t.trailing=!0,$i(e,t)}function Vi(e,t){if(kl.has(e))return kl.get(e);let{printer:{getCommentChildNodes:r,canAttachComment:n,getVisitorKeys:a},locStart:o,locEnd:l}=t;if(!n)return[];let s=((r==null?void 0:r(e,t))??[...C1(e,{getVisitorKeys:Bo(a)})]).flatMap(c=>n(c)?[c]:Vi(c,t));return s.sort((c,d)=>o(c)-o(d)||l(c)-l(d)),kl.set(e,s),s}function x1(e,t,r,n){let{locStart:a,locEnd:o}=r,l=a(t),s=o(t),c=Vi(e,r),d,f,g=0,p=c.length;for(;g>1,v=c[h],y=a(v),b=o(v);if(y<=l&&s<=b)return x1(v,t,r,v);if(b<=l){d=v,g=h+1;continue}if(s<=y){f=v,p=h;continue}throw new Error("Comment location overlaps with node location")}if((n==null?void 0:n.type)==="TemplateLiteral"){let{quasis:h}=n,v=xl(h,t,r);d&&xl(h,d,r)!==v&&(d=null),f&&xl(h,f,r)!==v&&(f=null)}return{enclosingNode:n,precedingNode:d,followingNode:f}}function Vy(e,t){let{comments:r}=e;if(delete e.comments,!F7(r)||!t.printer.canAttachComment)return;let n=[],{locStart:a,locEnd:o,printer:{experimentalFeatures:{avoidAstMutation:l=!1}={},handleComments:s={}},originalText:c}=t,{ownLine:d=Bl,endOfLine:f=Bl,remaining:g=Bl}=s,p=r.map((h,v)=>({...x1(e,h,t),comment:h,text:c,options:t,ast:e,isLastComment:r.length-1===v}));for(let[h,v]of p.entries()){let{comment:y,precedingNode:b,enclosingNode:C,followingNode:D,text:E,options:w,ast:x,isLastComment:F}=v;if(w.parser==="json"||w.parser==="json5"||w.parser==="jsonc"||w.parser==="__js_expression"||w.parser==="__ts_expression"||w.parser==="__vue_expression"||w.parser==="__vue_ts_expression"){if(a(y)-a(x)<=0){zr(x,y);continue}if(o(y)-o(x)>=0){Tr(x,y);continue}}let S;if(l?S=[v]:(y.enclosingNode=C,y.precedingNode=b,y.followingNode=D,S=[y,E,w,x,F]),Uy(E,w,p,h))y.placement="ownLine",d(...S)||(D?zr(D,y):b?Tr(b,y):Ka(C||x,y));else if(qy(E,w,p,h))y.placement="endOfLine",f(...S)||(b?Tr(b,y):D?zr(D,y):Ka(C||x,y));else if(y.placement="remaining",!g(...S))if(b&&D){let A=n.length;A>0&&n[A-1].followingNode!==D&&p0(n,w),n.push(v)}else b?Tr(b,y):D?zr(D,y):Ka(C||x,y)}if(p0(n,t),!l)for(let h of r)delete h.precedingNode,delete h.enclosingNode,delete h.followingNode}function Uy(e,t,r,n){let{comment:a,precedingNode:o}=r[n],{locStart:l,locEnd:s}=t,c=l(a);if(o)for(let d=n-1;d>=0;d--){let{comment:f,precedingNode:g}=r[d];if(g!==o||!z1(e.slice(s(f),c)))break;c=l(f)}return $t(e,c,{backwards:!0})}function qy(e,t,r,n){let{comment:a,followingNode:o}=r[n],{locStart:l,locEnd:s}=t,c=s(a);if(o)for(let d=n+1;d0;--c){let{comment:d,precedingNode:f,followingNode:g}=e[c-1];ii.strictEqual(f,o),ii.strictEqual(g,l);let p=t.originalText.slice(t.locEnd(d),s);if(((n=(r=t.printer).isGap)==null?void 0:n.call(r,p,t))??/^[\s(]*$/u.test(p))s=t.locStart(d);else break}for(let[d,{comment:f}]of e.entries())d1&&d.comments.sort((f,g)=>t.locStart(f)-t.locStart(g));e.length=0}function xl(e,t,r){let n=r.locStart(t)-1;for(let a=1;a!n.has(s)).length===0)return{leading:"",trailing:""};let a=[],o=[],l;return e.each(()=>{let s=e.node;if(n!=null&&n.has(s))return;let{leading:c,trailing:d}=s;c?a.push(Wy(e,t)):d&&(l=Gy(e,t,l),o.push(l.doc))},"comments"),{leading:a,trailing:o}}function Yy(e,t,r){let{leading:n,trailing:a}=Ky(e,r);return!n&&!a?t:D1(t,o=>[n,o,a])}function Zy(e){let{[Symbol.for("comments")]:t,[Symbol.for("printedComments")]:r}=e;for(let n of t){if(!n.printed&&!r.has(n))throw new Error('Comment "'+n.value.trim()+'" was not printed. Please report this error!');delete n.printed}}function h5(e){return()=>{}}function f0({plugins:e=[],showDeprecated:t=!1}={}){let r=e.flatMap(a=>a.languages??[]),n=[];for(let a of Xy(Object.assign({},...e.map(({options:o})=>o),k7)))!t&&a.deprecated||(Array.isArray(a.choices)&&(t||(a.choices=a.choices.filter(o=>!o.deprecated)),a.name==="parser"&&(a.choices=[...a.choices,...Jy(a.choices,r,e)])),a.pluginDefaults=Object.fromEntries(e.filter(o=>{var l;return((l=o.defaultOptions)==null?void 0:l[a.name])!==void 0}).map(o=>[o.name,o.defaultOptions[a.name]])),n.push(a));return{languages:r,options:n}}function*Jy(e,t,r){let n=new Set(e.map(a=>a.value));for(let a of t)if(a.parsers){for(let o of a.parsers)if(!n.has(o)){n.add(o);let l=r.find(c=>c.parsers&&Object.prototype.hasOwnProperty.call(c.parsers,o)),s=a.name;l!=null&&l.name&&(s+=` (plugin: ${l.name})`),yield{value:o,description:s}}}}function Xy(e){let t=[];for(let[r,n]of Object.entries(e)){let a={name:r,...n};Array.isArray(a.default)&&(a.default=se(!1,a.default,-1).value),t.push(a)}return t}function h0(e,t){if(!t)return;let r=B7(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(a=>a.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(a=>r.endsWith(a)))}function Qy(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function m5(e,t){let r=e.plugins.flatMap(a=>a.languages??[]),n=Qy(r,t.language)??h0(r,t.physicalFile)??h0(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function js(e,t,r,n){return[`Invalid ${Lr.default.red(n.key(e))} value.`,`Expected ${Lr.default.blue(r)},`,`but received ${t===z0?Lr.default.gray("nothing"):Lr.default.red(n.value(t))}.`].join(" ")}function m0({text:e,list:t},r){let n=[];return e&&n.push(`- ${Lr.default.blue(e)}`),t&&n.push([`- ${Lr.default.blue(t.title)}:`].concat(t.values.map(a=>m0(a,r-T0.length).replace(/^|\n/g,`$&${T0}`))).join(` +`||a==="\r"||a==="\u2028"||a==="\u2029")return t+1}return t}function c5(e,t,r={}){let n=Vt(e,r.backwards?t-1:t,r),a=ur(e,n,r);return n!==a}function d5(e){return Array.isArray(e)&&e.length>0}function p5(e){return e?t=>e(t,I0):S7}function $y(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&(typeof e.id=="object"?e.id.name:e.id)||e.key&&(typeof e.key=="object"?e.key.name:e.key)||e.value&&(typeof e.value=="object"?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"…"),t+(r?" "+r:"")}function $i(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=$y(e)}function zr(e,t){t.leading=!0,t.trailing=!1,$i(e,t)}function Ka(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),$i(e,t)}function Tr(e,t){t.leading=!1,t.trailing=!0,$i(e,t)}function Vi(e,t){if(kl.has(e))return kl.get(e);let{printer:{getCommentChildNodes:r,canAttachComment:n,getVisitorKeys:a},locStart:o,locEnd:l}=t;if(!n)return[];let u=((r==null?void 0:r(e,t))??[...C1(e,{getVisitorKeys:Bo(a)})]).flatMap(c=>n(c)?[c]:Vi(c,t));return u.sort((c,d)=>o(c)-o(d)||l(c)-l(d)),kl.set(e,u),u}function x1(e,t,r,n){let{locStart:a,locEnd:o}=r,l=a(t),u=o(t),c=Vi(e,r),d,f,g=0,p=c.length;for(;g>1,v=c[h],y=a(v),b=o(v);if(y<=l&&u<=b)return x1(v,t,r,v);if(b<=l){d=v,g=h+1;continue}if(u<=y){f=v,p=h;continue}throw new Error("Comment location overlaps with node location")}if((n==null?void 0:n.type)==="TemplateLiteral"){let{quasis:h}=n,v=xl(h,t,r);d&&xl(h,d,r)!==v&&(d=null),f&&xl(h,f,r)!==v&&(f=null)}return{enclosingNode:n,precedingNode:d,followingNode:f}}function Vy(e,t){let{comments:r}=e;if(delete e.comments,!F7(r)||!t.printer.canAttachComment)return;let n=[],{locStart:a,locEnd:o,printer:{experimentalFeatures:{avoidAstMutation:l=!1}={},handleComments:u={}},originalText:c}=t,{ownLine:d=Bl,endOfLine:f=Bl,remaining:g=Bl}=u,p=r.map((h,v)=>({...x1(e,h,t),comment:h,text:c,options:t,ast:e,isLastComment:r.length-1===v}));for(let[h,v]of p.entries()){let{comment:y,precedingNode:b,enclosingNode:C,followingNode:D,text:E,options:w,ast:x,isLastComment:F}=v;if(w.parser==="json"||w.parser==="json5"||w.parser==="jsonc"||w.parser==="__js_expression"||w.parser==="__ts_expression"||w.parser==="__vue_expression"||w.parser==="__vue_ts_expression"){if(a(y)-a(x)<=0){zr(x,y);continue}if(o(y)-o(x)>=0){Tr(x,y);continue}}let S;if(l?S=[v]:(y.enclosingNode=C,y.precedingNode=b,y.followingNode=D,S=[y,E,w,x,F]),Uy(E,w,p,h))y.placement="ownLine",d(...S)||(D?zr(D,y):b?Tr(b,y):Ka(C||x,y));else if(qy(E,w,p,h))y.placement="endOfLine",f(...S)||(b?Tr(b,y):D?zr(D,y):Ka(C||x,y));else if(y.placement="remaining",!g(...S))if(b&&D){let A=n.length;A>0&&n[A-1].followingNode!==D&&p0(n,w),n.push(v)}else b?Tr(b,y):D?zr(D,y):Ka(C||x,y)}if(p0(n,t),!l)for(let h of r)delete h.precedingNode,delete h.enclosingNode,delete h.followingNode}function Uy(e,t,r,n){let{comment:a,precedingNode:o}=r[n],{locStart:l,locEnd:u}=t,c=l(a);if(o)for(let d=n-1;d>=0;d--){let{comment:f,precedingNode:g}=r[d];if(g!==o||!z1(e.slice(u(f),c)))break;c=l(f)}return $t(e,c,{backwards:!0})}function qy(e,t,r,n){let{comment:a,followingNode:o}=r[n],{locStart:l,locEnd:u}=t,c=u(a);if(o)for(let d=n+1;d0;--c){let{comment:d,precedingNode:f,followingNode:g}=e[c-1];ii.strictEqual(f,o),ii.strictEqual(g,l);let p=t.originalText.slice(t.locEnd(d),u);if(((n=(r=t.printer).isGap)==null?void 0:n.call(r,p,t))??/^[\s(]*$/u.test(p))u=t.locStart(d);else break}for(let[d,{comment:f}]of e.entries())d1&&d.comments.sort((f,g)=>t.locStart(f)-t.locStart(g));e.length=0}function xl(e,t,r){let n=r.locStart(t)-1;for(let a=1;a!n.has(u)).length===0)return{leading:"",trailing:""};let a=[],o=[],l;return e.each(()=>{let u=e.node;if(n!=null&&n.has(u))return;let{leading:c,trailing:d}=u;c?a.push(Wy(e,t)):d&&(l=Gy(e,t,l),o.push(l.doc))},"comments"),{leading:a,trailing:o}}function Yy(e,t,r){let{leading:n,trailing:a}=Ky(e,r);return!n&&!a?t:D1(t,o=>[n,o,a])}function Zy(e){let{[Symbol.for("comments")]:t,[Symbol.for("printedComments")]:r}=e;for(let n of t){if(!n.printed&&!r.has(n))throw new Error('Comment "'+n.value.trim()+'" was not printed. Please report this error!');delete n.printed}}function h5(e){return()=>{}}function f0({plugins:e=[],showDeprecated:t=!1}={}){let r=e.flatMap(a=>a.languages??[]),n=[];for(let a of Xy(Object.assign({},...e.map(({options:o})=>o),k7)))!t&&a.deprecated||(Array.isArray(a.choices)&&(t||(a.choices=a.choices.filter(o=>!o.deprecated)),a.name==="parser"&&(a.choices=[...a.choices,...Jy(a.choices,r,e)])),a.pluginDefaults=Object.fromEntries(e.filter(o=>{var l;return((l=o.defaultOptions)==null?void 0:l[a.name])!==void 0}).map(o=>[o.name,o.defaultOptions[a.name]])),n.push(a));return{languages:r,options:n}}function*Jy(e,t,r){let n=new Set(e.map(a=>a.value));for(let a of t)if(a.parsers){for(let o of a.parsers)if(!n.has(o)){n.add(o);let l=r.find(c=>c.parsers&&Object.prototype.hasOwnProperty.call(c.parsers,o)),u=a.name;l!=null&&l.name&&(u+=` (plugin: ${l.name})`),yield{value:o,description:u}}}}function Xy(e){let t=[];for(let[r,n]of Object.entries(e)){let a={name:r,...n};Array.isArray(a.default)&&(a.default=ue(!1,a.default,-1).value),t.push(a)}return t}function h0(e,t){if(!t)return;let r=B7(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(a=>a.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(a=>r.endsWith(a)))}function Qy(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function m5(e,t){let r=e.plugins.flatMap(a=>a.languages??[]),n=Qy(r,t.language)??h0(r,t.physicalFile)??h0(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function ju(e,t,r,n){return[`Invalid ${Lr.default.red(n.key(e))} value.`,`Expected ${Lr.default.blue(r)},`,`but received ${t===z0?Lr.default.gray("nothing"):Lr.default.red(n.value(t))}.`].join(" ")}function m0({text:e,list:t},r){let n=[];return e&&n.push(`- ${Lr.default.blue(e)}`),t&&n.push([`- ${Lr.default.blue(t.title)}:`].concat(t.values.map(a=>m0(a,r-T0.length).replace(/^|\n/g,`$&${T0}`))).join(` `)),g0(n,r)}function g0(e,t){if(e.length===1)return e[0];let[r,n]=e,[a,o]=e.map(l=>l.split(` -`,1)[0].length);return a>t&&a>o?n:r}function g5(e,t){if(e===t)return 0;let r=e;e.length>t.length&&(e=t,t=r);let n=e.length,a=t.length;for(;n>0&&e.charCodeAt(~-n)===t.charCodeAt(~-a);)n--,a--;let o=0;for(;os?d>s?s+1:d:d>c?c+1:d;return s}function v5(e,t){let r=new e(t),n=Object.create(r);for(let a of I7)a in t&&(n[a]=e7(t[a],r,Nt.prototype[a].length));return n}function e7(e,t,r){return typeof e=="function"?(...n)=>e(...n.slice(0,r-1),t,...n.slice(r-1)):()=>e}function $s({from:e,to:t}){return{from:[e],to:t}}function y5(e,t){let r=Object.create(null);for(let n of e){let a=n[t];if(r[a])throw new Error(`Duplicate ${t} ${JSON.stringify(a)}`);r[a]=n}return r}function w5(e,t){let r=new Map;for(let n of e){let a=n[t];if(r.has(a))throw new Error(`Duplicate ${t} ${JSON.stringify(a)}`);r.set(a,n)}return r}function b5(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}function D5(e,t){let r=[],n=[];for(let a of e)t(a)?r.push(a):n.push(a);return[r,n]}function E5(e){return e===Math.floor(e)}function C5(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,a=["undefined","object","boolean","number","string"];return r!==n?a.indexOf(r)-a.indexOf(n):r!=="string"?Number(e)-Number(t):e.localeCompare(t)}function x5(e){return(...t)=>{let r=e(...t);return typeof r=="string"?new Error(r):r}}function Vs(e){return e===void 0?{}:e}function v0(e){if(typeof e=="string")return{text:e};let{text:t,list:r}=e;return t7((t||r)!==void 0,"Unexpected `expected` result, there should be at least one field."),r?{text:t,list:{title:r.title,values:r.values.map(v0)}}:{text:t}}function Us(e,t){return e===!0?!0:e===!1?{value:t}:e}function qs(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function y0(e,t){return typeof e=="string"||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function Fl(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>y0(r,t)):[y0(e,t)]}function Ws(e,t){let r=Fl(typeof e=="object"&&"redirect"in e?e.redirect:e,t);return r.length===0?{remain:t,redirect:r}:typeof e=="object"&&"remain"in e?{remain:e.remain,redirect:r}:{redirect:r}}function t7(e,t){if(!e)throw new Error(t)}function F5(e,t,{logger:r=!1,isCLI:n=!1,passThrough:a=!1,FlagSchema:o,descriptor:l}={}){if(n){if(!o)throw new Error("'FlagSchema' option is required.");if(!l)throw new Error("'descriptor' option is required.")}else l=Sr;let s=a?Array.isArray(a)?(p,h)=>a.includes(p)?{[p]:h}:void 0:(p,h)=>({[p]:h}):(p,h,v)=>{let{_:y,...b}=v.schemas;return M0(p,h,{...v,schemas:b})},c=r7(t,{isCLI:n,FlagSchema:o}),d=new P7(c,{logger:r,unknown:s,descriptor:l}),f=r!==!1;f&&Dc&&(d._hasDeprecationWarned=Dc);let g=d.normalize(e);return f&&(Dc=d._hasDeprecationWarned),g}function r7(e,{isCLI:t,FlagSchema:r}){let n=[];t&&n.push(z7.create({name:"_"}));for(let a of e)n.push(n7(a,{isCLI:t,optionInfos:e,FlagSchema:r})),a.alias&&t&&n.push(R7.create({name:a.alias,sourceName:a.name}));return n}function n7(e,{isCLI:t,optionInfos:r,FlagSchema:n}){let{name:a}=e,o={name:a},l,s={};switch(e.type){case"int":l=O7,t&&(o.preprocess=Number);break;case"string":l=O0;break;case"choice":l=M7,o.choices=e.choices.map(c=>c!=null&&c.redirect?{...c,redirect:{to:{key:e.name,value:c.redirect}}}:c);break;case"boolean":l=L7;break;case"flag":l=n,o.flags=r.flatMap(c=>[c.alias,c.description&&c.name,c.oppositeDescription&&`no-${c.name}`].filter(Boolean));break;case"path":l=O0;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?o.validate=(c,d,f)=>e.exception(c)||d.validate(c,f):o.validate=(c,d,f)=>c===void 0||d.validate(c,f),e.redirect&&(s.redirect=c=>c?{to:typeof e.redirect=="string"?e.redirect:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(s.deprecated=!0),t&&!e.array){let c=o.preprocess||(d=>d);o.preprocess=(d,f,g)=>f.preprocess(c(Array.isArray(d)?se(!1,d,-1):d),g)}return e.array?T7.create({...t?{preprocess:u(c=>Array.isArray(c)?c:[c],"preprocess")}:{},...s,valueSchema:l.create(o)}):l.create({...o,...s})}function S1(e,t){if(!t)throw new Error("parserName is required.");let r=L1(!1,e,a=>a.parsers&&Object.prototype.hasOwnProperty.call(a.parsers,t));if(r)return r;let n=`Couldn't resolve parser "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new T1(n)}function a7(e,t){if(!t)throw new Error("astFormat is required.");let r=L1(!1,e,a=>a.printers&&Object.prototype.hasOwnProperty.call(a.printers,t));if(r)return r;let n=`Couldn't find plugin for AST format "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new T1(n)}function A1({plugins:e,parser:t}){let r=S1(e,t);return k1(r,t)}function k1(e,t){let r=e.parsers[t];return typeof r=="function"?r():r}function o7(e,t){let r=e.printers[t];return typeof r=="function"?r():r}async function S5(e,t={}){var r;let n={...e};if(!n.parser)if(n.filepath){if(n.parser=_7(n,{physicalFile:n.filepath}),!n.parser)throw new R0(`No parser could be inferred for file "${n.filepath}".`)}else throw new R0("No parser and no file path given, couldn't infer a parser.");let a=f0({plugins:e.plugins,showDeprecated:!0}).options,o={...P0,...Object.fromEntries(a.filter(p=>p.default!==void 0).map(p=>[p.name,p.default]))},l=S1(n.plugins,n.parser),s=await k1(l,n.parser);n.astFormat=s.astFormat,n.locEnd=s.locEnd,n.locStart=s.locStart;let c=(r=l.printers)!=null&&r[s.astFormat]?l:a7(n.plugins,s.astFormat),d=await o7(c,s.astFormat);n.printer=d;let f=c.defaultOptions?Object.fromEntries(Object.entries(c.defaultOptions).filter(([,p])=>p!==void 0)):{},g={...o,...f};for(let[p,h]of Object.entries(g))(n[p]===null||n[p]===void 0)&&(n[p]=h);return n.parser==="json"&&(n.trailingComma="none"),N7(n,a,{passThrough:Object.keys(P0),...t})}async function A5(e,t){let r=await A1(t),n=r.preprocess?r.preprocess(e,t):e;t.originalText=n;let a;try{a=await r.parse(n,t,t)}catch(o){l7(o,e)}return{text:n,ast:a}}function l7(e,t){let{loc:r}=e;if(r){let n=(0,H7.codeFrameColumns)(t,r,{highlightCode:!0});throw e.message+=` -`+n,e.codeFrame=n,e}throw e}async function i7(e,t,r,n,a){let{embeddedLanguageFormatting:o,printer:{embed:l,hasPrettierIgnore:s=u(()=>!1,"s"),getVisitorKeys:c}}=r;if(!l||o!=="auto")return;if(l.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let d=Bo(l.getVisitorKeys??c),f=[];h();let g=e.stack;for(let{print:v,node:y,pathStack:b}of f)try{e.stack=b;let C=await v(p,t,e,r);C&&a.set(y,C)}catch(C){if(globalThis.PRETTIER_DEBUG)throw C}e.stack=g;function p(v,y){return u7(v,y,r,n)}u(p,"f");function h(){let{node:v}=e;if(v===null||typeof v!="object"||s(e))return;for(let b of d(v))Array.isArray(v[b])?e.each(h,b):e.call(h,b);let y=l(e,r);if(y){if(typeof y=="function"){f.push({print:y,node:v,pathStack:[...e.stack]});return}a.set(v,y)}}u(h,"p")}async function u7(e,t,r,n){let a=await Jr({...r,...t,parentParser:r.parser,originalText:e},{passThrough:!0}),{ast:o}=await Xn(e,a),l=await n(o,a);return d0(l)}function k5(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:a,locEnd:o,[Symbol.for("printedComments")]:l}=t,{node:s}=e,c=a(s),d=o(s);for(let f of n)a(f)>=c&&o(f)<=d&&l.add(f);return r.slice(c,d)}async function Ao(e,t){({ast:e}=await B1(e,t));let r=new Map,n=new C7(e),a=A7(t),o=new Map;await i7(n,s,t,Ao,o);let l=await w0(n,t,s,void 0,o);return Zy(t),l;function s(d,f){return d===void 0||d===n?c(f):Array.isArray(d)?n.call(()=>c(f),...d):n.call(()=>c(f),d)}function c(d){a(n);let f=n.node;if(f==null)return"";let g=f&&typeof f=="object"&&d===void 0;if(g&&r.has(f))return r.get(f);let p=w0(n,t,s,d,o);return g&&r.set(f,p),p}}function w0(e,t,r,n,a){var o;let{node:l}=e,{printer:s}=t,c;return(o=s.hasPrettierIgnore)!=null&&o.call(s,e)?c=j7(e,t):a.has(l)?c=a.get(l):c=s.print(e,t,r,n),l===t.cursorNode&&(c=D1(c,d=>[ai,d,ai])),s.printComment&&(!s.willPrintOwnComments||!s.willPrintOwnComments(e,t))&&(c=Yy(e,c,t)),c}async function B1(e,t){let r=e.comments??[];t[Symbol.for("comments")]=r,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,Vy(e,t);let{printer:{preprocess:n}}=t;return e=n?await n(e,t):e,{ast:e,comments:r}}function B5(e,t){let{cursorOffset:r,locStart:n,locEnd:a}=t,o=Bo(t.printer.getVisitorKeys),l=u(c=>n(c)<=r&&a(c)>=r,"i"),s=e;for(let c of jy(e,{getVisitorKeys:o,filter:l}))s=c;return s}function _5(e,t){let{printer:{massageAstNode:r,getVisitorKeys:n}}=t;if(!r)return e;let a=Bo(n),o=r.ignoredProperties??new Set;return l(e);function l(s,c){if(!(s!==null&&typeof s=="object"))return s;if(Array.isArray(s))return s.map(p=>l(p,c)).filter(Boolean);let d={},f=new Set(a(s));for(let p in s)!Object.prototype.hasOwnProperty.call(s,p)||o.has(p)||(f.has(p)?d[p]=l(s[p],s):d[p]=s[p]);let g=r(s,d,c);if(g!==null)return g??d}}function s7(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find(a=>M1.has(a.type)&&n.has(a))}function b0(e){let t=U7(!1,e,r=>r.type!=="Program"&&r.type!=="File");return t===-1?e:e.slice(0,t+1)}function c7(e,t,{locStart:r,locEnd:n}){let a=e.node,o=t.node;if(a===o)return{startNode:a,endNode:o};let l=r(e.node);for(let c of b0(t.parentNodes))if(r(c)>=l)o=c;else break;let s=n(t.node);for(let c of b0(e.parentNodes)){if(n(c)<=s)a=c;else break;if(a===o)break}return{startNode:a,endNode:o}}function ri(e,t,r,n,a=[],o){let{locStart:l,locEnd:s}=r,c=l(e),d=s(e);if(!(t>d||tn);let s=e.slice(n,a).search(/\S/u),c=s===-1;if(!c)for(n+=s;a>n&&!/\S/u.test(e[a-1]);--a);let d=ri(r,n,t,(h,v)=>D0(t,h,v),[],"rangeStart"),f=c?d:ri(r,a,t,h=>D0(t,h),[],"rangeEnd");if(!d||!f)return{rangeStart:0,rangeEnd:0};let g,p;if(q7(t)){let h=s7(d,f);g=h,p=h}else({startNode:g,endNode:p}=c7(d,f,t));return{rangeStart:Math.min(o(g),o(p)),rangeEnd:Math.max(l(g),l(p))}}async function _1(e,t,r=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:n,text:a}=await Xn(e,t);t.cursorOffset>=0&&(t.cursorNode=$7(n,t));let o=await Ao(n,t);r>0&&(o=u0([tr,o],r,t.tabWidth));let l=io(o,t);if(r>0){let c=l.formatted.trim();l.cursorNodeStart!==void 0&&(l.cursorNodeStart-=l.formatted.indexOf(c)),l.formatted=c+ji(t.endOfLine)}let s=t[Symbol.for("comments")];if(t.cursorOffset>=0){let c,d,f,g,p;if(t.cursorNode&&l.cursorNodeText?(c=t.locStart(t.cursorNode),d=a.slice(c,t.locEnd(t.cursorNode)),f=t.cursorOffset-c,g=l.cursorNodeStart,p=l.cursorNodeText):(c=0,d=a,f=t.cursorOffset,g=0,p=l.formatted),d===p)return{formatted:l.formatted,cursorOffset:g+f,comments:s};let h=d.split("");h.splice(f,0,N0);let v=p.split(""),y=By(h,v),b=g;for(let C of y)if(C.removed){if(C.value.includes(N0))break}else b+=C.count;return{formatted:l.formatted,cursorOffset:b,comments:s}}return{formatted:l.formatted,cursorOffset:-1,comments:s}}async function f7(e,t){let{ast:r,text:n}=await Xn(e,t),{rangeStart:a,rangeEnd:o}=p7(n,t,r),l=n.slice(a,o),s=Math.min(a,n.lastIndexOf(` -`,a)+1),c=n.slice(s,a).match(/^\s*/u)[0],d=li(c,t.tabWidth),f=await _1(l,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>a&&t.cursorOffset<=o?t.cursorOffset-a:-1,endOfLine:"lf"},d),g=f.formatted.trimEnd(),{cursorOffset:p}=t;p>o?p+=g.length-l.length:f.cursorOffset>=0&&(p=f.cursorOffset+a);let h=n.slice(0,a)+g+n.slice(o);if(t.endOfLine!=="lf"){let v=ji(t.endOfLine);p>=0&&v===`\r +`,1)[0].length);return a>t&&a>o?n:r}function g5(e,t){if(e===t)return 0;let r=e;e.length>t.length&&(e=t,t=r);let n=e.length,a=t.length;for(;n>0&&e.charCodeAt(~-n)===t.charCodeAt(~-a);)n--,a--;let o=0;for(;ou?d>u?u+1:d:d>c?c+1:d;return u}function v5(e,t){let r=new e(t),n=Object.create(r);for(let a of I7)a in t&&(n[a]=e7(t[a],r,Nt.prototype[a].length));return n}function e7(e,t,r){return typeof e=="function"?(...n)=>e(...n.slice(0,r-1),t,...n.slice(r-1)):()=>e}function $u({from:e,to:t}){return{from:[e],to:t}}function y5(e,t){let r=Object.create(null);for(let n of e){let a=n[t];if(r[a])throw new Error(`Duplicate ${t} ${JSON.stringify(a)}`);r[a]=n}return r}function w5(e,t){let r=new Map;for(let n of e){let a=n[t];if(r.has(a))throw new Error(`Duplicate ${t} ${JSON.stringify(a)}`);r.set(a,n)}return r}function b5(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}function D5(e,t){let r=[],n=[];for(let a of e)t(a)?r.push(a):n.push(a);return[r,n]}function E5(e){return e===Math.floor(e)}function C5(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,a=["undefined","object","boolean","number","string"];return r!==n?a.indexOf(r)-a.indexOf(n):r!=="string"?Number(e)-Number(t):e.localeCompare(t)}function x5(e){return(...t)=>{let r=e(...t);return typeof r=="string"?new Error(r):r}}function Vu(e){return e===void 0?{}:e}function v0(e){if(typeof e=="string")return{text:e};let{text:t,list:r}=e;return t7((t||r)!==void 0,"Unexpected `expected` result, there should be at least one field."),r?{text:t,list:{title:r.title,values:r.values.map(v0)}}:{text:t}}function Uu(e,t){return e===!0?!0:e===!1?{value:t}:e}function qu(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function y0(e,t){return typeof e=="string"||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function Fl(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>y0(r,t)):[y0(e,t)]}function Wu(e,t){let r=Fl(typeof e=="object"&&"redirect"in e?e.redirect:e,t);return r.length===0?{remain:t,redirect:r}:typeof e=="object"&&"remain"in e?{remain:e.remain,redirect:r}:{redirect:r}}function t7(e,t){if(!e)throw new Error(t)}function F5(e,t,{logger:r=!1,isCLI:n=!1,passThrough:a=!1,FlagSchema:o,descriptor:l}={}){if(n){if(!o)throw new Error("'FlagSchema' option is required.");if(!l)throw new Error("'descriptor' option is required.")}else l=Sr;let u=a?Array.isArray(a)?(p,h)=>a.includes(p)?{[p]:h}:void 0:(p,h)=>({[p]:h}):(p,h,v)=>{let{_:y,...b}=v.schemas;return M0(p,h,{...v,schemas:b})},c=r7(t,{isCLI:n,FlagSchema:o}),d=new P7(c,{logger:r,unknown:u,descriptor:l}),f=r!==!1;f&&Dc&&(d._hasDeprecationWarned=Dc);let g=d.normalize(e);return f&&(Dc=d._hasDeprecationWarned),g}function r7(e,{isCLI:t,FlagSchema:r}){let n=[];t&&n.push(z7.create({name:"_"}));for(let a of e)n.push(n7(a,{isCLI:t,optionInfos:e,FlagSchema:r})),a.alias&&t&&n.push(R7.create({name:a.alias,sourceName:a.name}));return n}function n7(e,{isCLI:t,optionInfos:r,FlagSchema:n}){let{name:a}=e,o={name:a},l,u={};switch(e.type){case"int":l=O7,t&&(o.preprocess=Number);break;case"string":l=O0;break;case"choice":l=M7,o.choices=e.choices.map(c=>c!=null&&c.redirect?{...c,redirect:{to:{key:e.name,value:c.redirect}}}:c);break;case"boolean":l=L7;break;case"flag":l=n,o.flags=r.flatMap(c=>[c.alias,c.description&&c.name,c.oppositeDescription&&`no-${c.name}`].filter(Boolean));break;case"path":l=O0;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?o.validate=(c,d,f)=>e.exception(c)||d.validate(c,f):o.validate=(c,d,f)=>c===void 0||d.validate(c,f),e.redirect&&(u.redirect=c=>c?{to:typeof e.redirect=="string"?e.redirect:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(u.deprecated=!0),t&&!e.array){let c=o.preprocess||(d=>d);o.preprocess=(d,f,g)=>f.preprocess(c(Array.isArray(d)?ue(!1,d,-1):d),g)}return e.array?T7.create({...t?{preprocess:s(c=>Array.isArray(c)?c:[c],"preprocess")}:{},...u,valueSchema:l.create(o)}):l.create({...o,...u})}function S1(e,t){if(!t)throw new Error("parserName is required.");let r=L1(!1,e,a=>a.parsers&&Object.prototype.hasOwnProperty.call(a.parsers,t));if(r)return r;let n=`Couldn't resolve parser "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new T1(n)}function a7(e,t){if(!t)throw new Error("astFormat is required.");let r=L1(!1,e,a=>a.printers&&Object.prototype.hasOwnProperty.call(a.printers,t));if(r)return r;let n=`Couldn't find plugin for AST format "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new T1(n)}function A1({plugins:e,parser:t}){let r=S1(e,t);return k1(r,t)}function k1(e,t){let r=e.parsers[t];return typeof r=="function"?r():r}function o7(e,t){let r=e.printers[t];return typeof r=="function"?r():r}async function S5(e,t={}){var r;let n={...e};if(!n.parser)if(n.filepath){if(n.parser=_7(n,{physicalFile:n.filepath}),!n.parser)throw new R0(`No parser could be inferred for file "${n.filepath}".`)}else throw new R0("No parser and no file path given, couldn't infer a parser.");let a=f0({plugins:e.plugins,showDeprecated:!0}).options,o={...P0,...Object.fromEntries(a.filter(p=>p.default!==void 0).map(p=>[p.name,p.default]))},l=S1(n.plugins,n.parser),u=await k1(l,n.parser);n.astFormat=u.astFormat,n.locEnd=u.locEnd,n.locStart=u.locStart;let c=(r=l.printers)!=null&&r[u.astFormat]?l:a7(n.plugins,u.astFormat),d=await o7(c,u.astFormat);n.printer=d;let f=c.defaultOptions?Object.fromEntries(Object.entries(c.defaultOptions).filter(([,p])=>p!==void 0)):{},g={...o,...f};for(let[p,h]of Object.entries(g))(n[p]===null||n[p]===void 0)&&(n[p]=h);return n.parser==="json"&&(n.trailingComma="none"),N7(n,a,{passThrough:Object.keys(P0),...t})}async function A5(e,t){let r=await A1(t),n=r.preprocess?r.preprocess(e,t):e;t.originalText=n;let a;try{a=await r.parse(n,t,t)}catch(o){l7(o,e)}return{text:n,ast:a}}function l7(e,t){let{loc:r}=e;if(r){let n=(0,H7.codeFrameColumns)(t,r,{highlightCode:!0});throw e.message+=` +`+n,e.codeFrame=n,e}throw e}async function i7(e,t,r,n,a){let{embeddedLanguageFormatting:o,printer:{embed:l,hasPrettierIgnore:u=s(()=>!1,"s"),getVisitorKeys:c}}=r;if(!l||o!=="auto")return;if(l.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let d=Bo(l.getVisitorKeys??c),f=[];h();let g=e.stack;for(let{print:v,node:y,pathStack:b}of f)try{e.stack=b;let C=await v(p,t,e,r);C&&a.set(y,C)}catch(C){if(globalThis.PRETTIER_DEBUG)throw C}e.stack=g;function p(v,y){return s7(v,y,r,n)}s(p,"f");function h(){let{node:v}=e;if(v===null||typeof v!="object"||u(e))return;for(let b of d(v))Array.isArray(v[b])?e.each(h,b):e.call(h,b);let y=l(e,r);if(y){if(typeof y=="function"){f.push({print:y,node:v,pathStack:[...e.stack]});return}a.set(v,y)}}s(h,"p")}async function s7(e,t,r,n){let a=await Jr({...r,...t,parentParser:r.parser,originalText:e},{passThrough:!0}),{ast:o}=await Xn(e,a),l=await n(o,a);return d0(l)}function k5(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:a,locEnd:o,[Symbol.for("printedComments")]:l}=t,{node:u}=e,c=a(u),d=o(u);for(let f of n)a(f)>=c&&o(f)<=d&&l.add(f);return r.slice(c,d)}async function Ao(e,t){({ast:e}=await B1(e,t));let r=new Map,n=new C7(e),a=A7(t),o=new Map;await i7(n,u,t,Ao,o);let l=await w0(n,t,u,void 0,o);return Zy(t),l;function u(d,f){return d===void 0||d===n?c(f):Array.isArray(d)?n.call(()=>c(f),...d):n.call(()=>c(f),d)}function c(d){a(n);let f=n.node;if(f==null)return"";let g=f&&typeof f=="object"&&d===void 0;if(g&&r.has(f))return r.get(f);let p=w0(n,t,u,d,o);return g&&r.set(f,p),p}}function w0(e,t,r,n,a){var o;let{node:l}=e,{printer:u}=t,c;return(o=u.hasPrettierIgnore)!=null&&o.call(u,e)?c=j7(e,t):a.has(l)?c=a.get(l):c=u.print(e,t,r,n),l===t.cursorNode&&(c=D1(c,d=>[ai,d,ai])),u.printComment&&(!u.willPrintOwnComments||!u.willPrintOwnComments(e,t))&&(c=Yy(e,c,t)),c}async function B1(e,t){let r=e.comments??[];t[Symbol.for("comments")]=r,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,Vy(e,t);let{printer:{preprocess:n}}=t;return e=n?await n(e,t):e,{ast:e,comments:r}}function B5(e,t){let{cursorOffset:r,locStart:n,locEnd:a}=t,o=Bo(t.printer.getVisitorKeys),l=s(c=>n(c)<=r&&a(c)>=r,"i"),u=e;for(let c of jy(e,{getVisitorKeys:o,filter:l}))u=c;return u}function _5(e,t){let{printer:{massageAstNode:r,getVisitorKeys:n}}=t;if(!r)return e;let a=Bo(n),o=r.ignoredProperties??new Set;return l(e);function l(u,c){if(!(u!==null&&typeof u=="object"))return u;if(Array.isArray(u))return u.map(p=>l(p,c)).filter(Boolean);let d={},f=new Set(a(u));for(let p in u)!Object.prototype.hasOwnProperty.call(u,p)||o.has(p)||(f.has(p)?d[p]=l(u[p],u):d[p]=u[p]);let g=r(u,d,c);if(g!==null)return g??d}}function u7(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find(a=>M1.has(a.type)&&n.has(a))}function b0(e){let t=U7(!1,e,r=>r.type!=="Program"&&r.type!=="File");return t===-1?e:e.slice(0,t+1)}function c7(e,t,{locStart:r,locEnd:n}){let a=e.node,o=t.node;if(a===o)return{startNode:a,endNode:o};let l=r(e.node);for(let c of b0(t.parentNodes))if(r(c)>=l)o=c;else break;let u=n(t.node);for(let c of b0(e.parentNodes)){if(n(c)<=u)a=c;else break;if(a===o)break}return{startNode:a,endNode:o}}function ri(e,t,r,n,a=[],o){let{locStart:l,locEnd:u}=r,c=l(e),d=u(e);if(!(t>d||tn);let u=e.slice(n,a).search(/\S/u),c=u===-1;if(!c)for(n+=u;a>n&&!/\S/u.test(e[a-1]);--a);let d=ri(r,n,t,(h,v)=>D0(t,h,v),[],"rangeStart"),f=c?d:ri(r,a,t,h=>D0(t,h),[],"rangeEnd");if(!d||!f)return{rangeStart:0,rangeEnd:0};let g,p;if(q7(t)){let h=u7(d,f);g=h,p=h}else({startNode:g,endNode:p}=c7(d,f,t));return{rangeStart:Math.min(o(g),o(p)),rangeEnd:Math.max(l(g),l(p))}}async function _1(e,t,r=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:n,text:a}=await Xn(e,t);t.cursorOffset>=0&&(t.cursorNode=$7(n,t));let o=await Ao(n,t);r>0&&(o=s0([tr,o],r,t.tabWidth));let l=io(o,t);if(r>0){let c=l.formatted.trim();l.cursorNodeStart!==void 0&&(l.cursorNodeStart-=l.formatted.indexOf(c)),l.formatted=c+ji(t.endOfLine)}let u=t[Symbol.for("comments")];if(t.cursorOffset>=0){let c,d,f,g,p;if(t.cursorNode&&l.cursorNodeText?(c=t.locStart(t.cursorNode),d=a.slice(c,t.locEnd(t.cursorNode)),f=t.cursorOffset-c,g=l.cursorNodeStart,p=l.cursorNodeText):(c=0,d=a,f=t.cursorOffset,g=0,p=l.formatted),d===p)return{formatted:l.formatted,cursorOffset:g+f,comments:u};let h=d.split("");h.splice(f,0,N0);let v=p.split(""),y=By(h,v),b=g;for(let C of y)if(C.removed){if(C.value.includes(N0))break}else b+=C.count;return{formatted:l.formatted,cursorOffset:b,comments:u}}return{formatted:l.formatted,cursorOffset:-1,comments:u}}async function f7(e,t){let{ast:r,text:n}=await Xn(e,t),{rangeStart:a,rangeEnd:o}=p7(n,t,r),l=n.slice(a,o),u=Math.min(a,n.lastIndexOf(` +`,a)+1),c=n.slice(u,a).match(/^\s*/u)[0],d=li(c,t.tabWidth),f=await _1(l,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>a&&t.cursorOffset<=o?t.cursorOffset-a:-1,endOfLine:"lf"},d),g=f.formatted.trimEnd(),{cursorOffset:p}=t;p>o?p+=g.length-l.length:f.cursorOffset>=0&&(p=f.cursorOffset+a);let h=n.slice(0,a)+g+n.slice(o);if(t.endOfLine!=="lf"){let v=ji(t.endOfLine);p>=0&&v===`\r `&&(p+=b1(h.slice(0,p),` `)),h=ko(!1,h,` -`,v)}return{formatted:h,cursorOffset:p,comments:f.comments}}function Sl(e,t,r){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?r:t}function E0(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a}=t;return r=Sl(e,r,-1),n=Sl(e,n,0),a=Sl(e,a,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:a}}function I1(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o}=E0(e,t),l=e.charAt(0)===O1;if(l&&(e=e.slice(1),r--,n--,a--),o==="auto"&&(o=_y(e)),e.includes("\r")){let s=u(c=>b1(e.slice(0,Math.max(c,0)),`\r -`),"s");r-=s(r),n-=s(n),a-=s(a),e=Iy(e)}return{hasBOM:l,text:e,options:E0(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o})}}async function C0(e,t){let r=await A1(t);return!r.hasPragma||r.hasPragma(e)}async function x0(e,t){let{hasBOM:r,text:n,options:a}=I1(e,await Jr(t));if(a.rangeStart>=a.rangeEnd&&n!==""||a.requirePragma&&!await C0(n,a))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let o;return a.rangeStart>0||a.rangeEnd=0&&o.cursorOffset++),o}async function I5(e,t,r){let{text:n,options:a}=I1(e,await Jr(t)),o=await Xn(n,a);return r&&(r.preprocessForPrint&&(o.ast=await B1(o.ast,a)),r.massage&&(o.ast=V7(o.ast,a))),o}async function R5(e,t){t=await Jr(t);let r=await Ao(e,t);return io(r,t)}async function z5(e,t){let r=Ry(e),{formatted:n}=await x0(r,{...t,parser:"__js_expression"});return n}async function T5(e,t){t=await Jr(t);let{ast:r}=await Xn(e,t);return Ao(r,t)}async function L5(e,t){return io(e,await Jr(t))}function M5(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;re.length?r:t}function E0(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a}=t;return r=Sl(e,r,-1),n=Sl(e,n,0),a=Sl(e,a,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:a}}function I1(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o}=E0(e,t),l=e.charAt(0)===O1;if(l&&(e=e.slice(1),r--,n--,a--),o==="auto"&&(o=_y(e)),e.includes("\r")){let u=s(c=>b1(e.slice(0,Math.max(c,0)),`\r +`),"s");r-=u(r),n-=u(n),a-=u(a),e=Iy(e)}return{hasBOM:l,text:e,options:E0(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o})}}async function C0(e,t){let r=await A1(t);return!r.hasPragma||r.hasPragma(e)}async function x0(e,t){let{hasBOM:r,text:n,options:a}=I1(e,await Jr(t));if(a.rangeStart>=a.rangeEnd&&n!==""||a.requirePragma&&!await C0(n,a))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let o;return a.rangeStart>0||a.rangeEnd=0&&o.cursorOffset++),o}async function I5(e,t,r){let{text:n,options:a}=I1(e,await Jr(t)),o=await Xn(n,a);return r&&(r.preprocessForPrint&&(o.ast=await B1(o.ast,a)),r.massage&&(o.ast=V7(o.ast,a))),o}async function R5(e,t){t=await Jr(t);let r=await Ao(e,t);return io(r,t)}async function z5(e,t){let r=Ry(e),{formatted:n}=await x0(r,{...t,parser:"__js_expression"});return n}async function T5(e,t){t=await Jr(t);let{ast:r}=await Xn(e,t);return Ao(r,t)}async function L5(e,t){return io(e,await Jr(t))}function M5(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;rMath.max(n,a.length/t.length),0)}function $5(e,t){let r=Wi(e,t);return r===!1?"":e.charAt(r)}function V5(e,t,r){for(let n=t;nl===n?l:s===t?"\\"+s:s||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(l)?l:"\\"+l));return t+a+t}function m7(e,t,r){return Wi(e,r(t))}function W5(e,t){return arguments.length===2||typeof t=="number"?Wi(e,t):m7(...arguments)}function g7(e,t,r){return qi(e,r(t))}function G5(e,t){return arguments.length===2||typeof t=="number"?qi(e,t):g7(...arguments)}function v7(e,t,r){return ci(e,r(t))}function K5(e,t){return arguments.length===2||typeof t=="number"?ci(e,t):v7(...arguments)}function Kt(e,t=1){return async(...r)=>{let n=r[t]??{},a=n.plugins??[];return r[t]={...n,plugins:Array.isArray(a)?a:Object.values(a)},e(...r)}}async function F0(e,t){let{formatted:r}=await H0(e,{...t,cursorOffset:-1});return r}async function Y5(e,t){return await F0(e,t)===e}var Z5,wa,J5,X5,Q5,eg,Gs,tg,ul,ba,Ks,Da,rg,ng,ag,cn,sl,Ys,og,lg,ig,ug,sg,Zs,cg,ko,Js,Xs,Qs,ec,dg,pg,y7,dn,Ma,dr,St,er,At,kt,Ct,Ie,nt,ze,Bt,_t,xt,fe,at,Ne,R1,pr,w7,tc,fg,jr,S0,ni,rc,ot,Ui,hg,Oa,mg,Al,nc,A0,gg,tr,k0,ai,vg,se,b7,D7,E7,oi,xe,Je,Bn,li,Fr,ac,cl,oc,yg,C7,lc,ii,x7,wg,Vt,B0,_0,sr,$t,F7,I0,S7,Bo,kl,Bl,z1,qi,A7,ic,T1,uc,R0,k7,B7,_7,Sr,sc,bg,Lr,z0,Ea,T0,Dg,cc,_l,L0,M0,I7,dc,Nt,pc,R7,fc,z7,hc,T7,mc,L7,gc,M7,vc,Eg,yc,O7,wc,O0,Cg,xg,Fg,Sg,bc,P7,Dc,N7,Ag,L1,P0,Jr,H7,Xn,j7,$7,V7,kg,U7,q7,M1,W7,O1,N0,Ec,Bg,_g,Ig,Rg,Cc,ui,si,Wi,ci,zg,Tg,Lg,Mg,Og,Pg,H0,Ng,Hg,G7,mC=R(()=>{Z5=Object.create,wa=Object.defineProperty,J5=Object.getOwnPropertyDescriptor,X5=Object.getOwnPropertyNames,Q5=Object.getPrototypeOf,eg=Object.prototype.hasOwnProperty,Gs=u(e=>{throw TypeError(e)},"sr"),tg=u((e,t)=>()=>(e&&(t=e(e=0)),t),"_u"),ul=u((e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),"At"),ba=u((e,t)=>{for(var r in t)wa(e,r,{get:t[r],enumerable:!0})},"We"),Ks=u((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of X5(t))!eg.call(e,a)&&a!==r&&wa(e,a,{get:u(()=>t[a],"get"),enumerable:!(n=J5(t,a))||n.enumerable});return e},"ar"),Da=u((e,t,r)=>(r=e!=null?Z5(Q5(e)):{},Ks(t||!e||!e.__esModule?wa(r,"default",{value:e,enumerable:!0}):r,e)),"Me"),rg=u(e=>Ks(wa({},"__esModule",{value:!0}),e),"vu"),ng=u((e,t,r)=>t.has(e)||Gs("Cannot "+r),"bu"),ag=u((e,t,r)=>t.has(e)?Gs("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),"Dr"),cn=u((e,t,r)=>(ng(e,t,"access private method"),r),"pe"),sl=ul((e,t)=>{var r=new Proxy(String,{get:u(()=>r,"get")});t.exports=r}),Ys={},ba(Ys,{default:u(()=>lg,"default"),shouldHighlight:u(()=>og,"shouldHighlight")}),ig=tg(()=>{og=u(()=>!1,"xo"),lg=String}),ug=ul((e,t)=>{var r=String,n=u(function(){return{isColorSupported:!1,reset:r,bold:r,dim:r,italic:r,underline:r,inverse:r,hidden:r,strikethrough:r,black:r,red:r,green:r,yellow:r,blue:r,magenta:r,cyan:r,white:r,gray:r,bgBlack:r,bgRed:r,bgGreen:r,bgYellow:r,bgBlue:r,bgMagenta:r,bgCyan:r,bgWhite:r}},"Ln");t.exports=n(),t.exports.createColors=n}),sg=ul(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=h,e.default=v;var t=(ig(),rg(Ys)),r=a(ug(),!0);function n(y){if(typeof WeakMap!="function")return null;var b=new WeakMap,C=new WeakMap;return(n=u(function(D){return D?C:b},"Wn"))(y)}u(n,"Wn");function a(y,b){if(!b&&y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var C=n(b);if(C&&C.has(y))return C.get(y);var D={__proto__:null},E=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in y)if(w!=="default"&&{}.hasOwnProperty.call(y,w)){var x=E?Object.getOwnPropertyDescriptor(y,w):null;x&&(x.get||x.set)?Object.defineProperty(D,w,x):D[w]=y[w]}return D.default=y,C&&C.set(y,D),D}u(a,"vo");var o=r.default,l=u((y,b)=>C=>y(b(C)),"Rn"),s;function c(y){return y?(s!=null||(s=(0,r.createColors)(!0)),s):o}u(c,"Oo");var d=!1;function f(y){return{gutter:y.gray,marker:l(y.red,y.bold),message:l(y.red,y.bold)}}u(f,"So");var g=/\r\n|[\n\r\u2028\u2029]/;function p(y,b,C){let D=Object.assign({column:0,line:-1},y.start),E=Object.assign({},D,y.end),{linesAbove:w=2,linesBelow:x=3}=C||{},F=D.line,S=D.column,A=E.line,B=E.column,_=Math.max(F-(w+1),0),I=Math.min(b.length,A+x);F===-1&&(_=0),A===-1&&(I=b.length);let z=A-F,T={};if(z)for(let M=0;M<=z;M++){let L=M+F;if(!S)T[L]=!0;else if(M===0){let O=b[L-1].length;T[L]=[S,O-S+1]}else if(M===z)T[L]=[0,B];else{let O=b[L-M].length;T[L]=[0,O]}}else S===B?S?T[F]=[S,0]:T[F]=!0:T[F]=[S,B-S];return{start:_,end:I,markerLines:T}}u(p,"No");function h(y,b,C={}){let D=(C.highlightCode||C.forceColor)&&(0,t.shouldHighlight)(C),E=c(C.forceColor),w=f(E),x=u((T,M)=>D?T(M):M,"i"),F=y.split(g),{start:S,end:A,markerLines:B}=p(b,F,C),_=b.start&&typeof b.start.column=="number",I=String(A).length,z=(D?(0,t.default)(y,C):y).split(g,A).slice(S,A).map((T,M)=>{let L=S+1+M,O=` ${` ${L}`.slice(-I)} |`,j=B[L],V=!B[L+1];if(j){let U="";if(Array.isArray(j)){let G=T.slice(0,Math.max(j[0]-1,0)).replace(/[^\t]/g," "),Z=j[1]||1;U=[` +`)return!0;return!1}function U5(e,t,r={}){return Vt(e,r.backwards?t-1:t,r)!==t}function q5(e,t,r){let n=t==='"'?"'":'"',a=ko(!1,e,/\\(.)|(["'])/gsu,(o,l,u)=>l===n?l:u===t?"\\"+u:u||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(l)?l:"\\"+l));return t+a+t}function m7(e,t,r){return Wi(e,r(t))}function W5(e,t){return arguments.length===2||typeof t=="number"?Wi(e,t):m7(...arguments)}function g7(e,t,r){return qi(e,r(t))}function G5(e,t){return arguments.length===2||typeof t=="number"?qi(e,t):g7(...arguments)}function v7(e,t,r){return ci(e,r(t))}function K5(e,t){return arguments.length===2||typeof t=="number"?ci(e,t):v7(...arguments)}function Kt(e,t=1){return async(...r)=>{let n=r[t]??{},a=n.plugins??[];return r[t]={...n,plugins:Array.isArray(a)?a:Object.values(a)},e(...r)}}async function F0(e,t){let{formatted:r}=await H0(e,{...t,cursorOffset:-1});return r}async function Y5(e,t){return await F0(e,t)===e}var Z5,wa,J5,X5,Q5,eg,Gu,tg,sl,ba,Ku,Da,rg,ng,ag,cn,ul,Yu,og,lg,ig,sg,ug,Zu,cg,ko,Ju,Xu,Qu,ec,dg,pg,y7,dn,Ma,dr,St,er,At,kt,Ct,Ie,nt,ze,Bt,_t,xt,fe,at,Ne,R1,pr,w7,tc,fg,jr,S0,ni,rc,ot,Ui,hg,Oa,mg,Al,nc,A0,gg,tr,k0,ai,vg,ue,b7,D7,E7,oi,xe,Je,Bn,li,Fr,ac,cl,oc,yg,C7,lc,ii,x7,wg,Vt,B0,_0,ur,$t,F7,I0,S7,Bo,kl,Bl,z1,qi,A7,ic,T1,sc,R0,k7,B7,_7,Sr,uc,bg,Lr,z0,Ea,T0,Dg,cc,_l,L0,M0,I7,dc,Nt,pc,R7,fc,z7,hc,T7,mc,L7,gc,M7,vc,Eg,yc,O7,wc,O0,Cg,xg,Fg,Sg,bc,P7,Dc,N7,Ag,L1,P0,Jr,H7,Xn,j7,$7,V7,kg,U7,q7,M1,W7,O1,N0,Ec,Bg,_g,Ig,Rg,Cc,si,ui,Wi,ci,zg,Tg,Lg,Mg,Og,Pg,H0,Ng,Hg,G7,mC=R(()=>{Z5=Object.create,wa=Object.defineProperty,J5=Object.getOwnPropertyDescriptor,X5=Object.getOwnPropertyNames,Q5=Object.getPrototypeOf,eg=Object.prototype.hasOwnProperty,Gu=s(e=>{throw TypeError(e)},"sr"),tg=s((e,t)=>()=>(e&&(t=e(e=0)),t),"_u"),sl=s((e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),"At"),ba=s((e,t)=>{for(var r in t)wa(e,r,{get:t[r],enumerable:!0})},"We"),Ku=s((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of X5(t))!eg.call(e,a)&&a!==r&&wa(e,a,{get:s(()=>t[a],"get"),enumerable:!(n=J5(t,a))||n.enumerable});return e},"ar"),Da=s((e,t,r)=>(r=e!=null?Z5(Q5(e)):{},Ku(t||!e||!e.__esModule?wa(r,"default",{value:e,enumerable:!0}):r,e)),"Me"),rg=s(e=>Ku(wa({},"__esModule",{value:!0}),e),"vu"),ng=s((e,t,r)=>t.has(e)||Gu("Cannot "+r),"bu"),ag=s((e,t,r)=>t.has(e)?Gu("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),"Dr"),cn=s((e,t,r)=>(ng(e,t,"access private method"),r),"pe"),ul=sl((e,t)=>{var r=new Proxy(String,{get:s(()=>r,"get")});t.exports=r}),Yu={},ba(Yu,{default:s(()=>lg,"default"),shouldHighlight:s(()=>og,"shouldHighlight")}),ig=tg(()=>{og=s(()=>!1,"xo"),lg=String}),sg=sl((e,t)=>{var r=String,n=s(function(){return{isColorSupported:!1,reset:r,bold:r,dim:r,italic:r,underline:r,inverse:r,hidden:r,strikethrough:r,black:r,red:r,green:r,yellow:r,blue:r,magenta:r,cyan:r,white:r,gray:r,bgBlack:r,bgRed:r,bgGreen:r,bgYellow:r,bgBlue:r,bgMagenta:r,bgCyan:r,bgWhite:r}},"Ln");t.exports=n(),t.exports.createColors=n}),ug=sl(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=h,e.default=v;var t=(ig(),rg(Yu)),r=a(sg(),!0);function n(y){if(typeof WeakMap!="function")return null;var b=new WeakMap,C=new WeakMap;return(n=s(function(D){return D?C:b},"Wn"))(y)}s(n,"Wn");function a(y,b){if(!b&&y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var C=n(b);if(C&&C.has(y))return C.get(y);var D={__proto__:null},E=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in y)if(w!=="default"&&{}.hasOwnProperty.call(y,w)){var x=E?Object.getOwnPropertyDescriptor(y,w):null;x&&(x.get||x.set)?Object.defineProperty(D,w,x):D[w]=y[w]}return D.default=y,C&&C.set(y,D),D}s(a,"vo");var o=r.default,l=s((y,b)=>C=>y(b(C)),"Rn"),u;function c(y){return y?(u!=null||(u=(0,r.createColors)(!0)),u):o}s(c,"Oo");var d=!1;function f(y){return{gutter:y.gray,marker:l(y.red,y.bold),message:l(y.red,y.bold)}}s(f,"So");var g=/\r\n|[\n\r\u2028\u2029]/;function p(y,b,C){let D=Object.assign({column:0,line:-1},y.start),E=Object.assign({},D,y.end),{linesAbove:w=2,linesBelow:x=3}=C||{},F=D.line,S=D.column,A=E.line,B=E.column,_=Math.max(F-(w+1),0),I=Math.min(b.length,A+x);F===-1&&(_=0),A===-1&&(I=b.length);let z=A-F,T={};if(z)for(let M=0;M<=z;M++){let L=M+F;if(!S)T[L]=!0;else if(M===0){let O=b[L-1].length;T[L]=[S,O-S+1]}else if(M===z)T[L]=[0,B];else{let O=b[L-M].length;T[L]=[0,O]}}else S===B?S?T[F]=[S,0]:T[F]=!0:T[F]=[S,B-S];return{start:_,end:I,markerLines:T}}s(p,"No");function h(y,b,C={}){let D=(C.highlightCode||C.forceColor)&&(0,t.shouldHighlight)(C),E=c(C.forceColor),w=f(E),x=s((T,M)=>D?T(M):M,"i"),F=y.split(g),{start:S,end:A,markerLines:B}=p(b,F,C),_=b.start&&typeof b.start.column=="number",I=String(A).length,z=(D?(0,t.default)(y,C):y).split(g,A).slice(S,A).map((T,M)=>{let L=S+1+M,O=` ${` ${L}`.slice(-I)} |`,j=B[L],V=!B[L+1];if(j){let U="";if(Array.isArray(j)){let G=T.slice(0,Math.max(j[0]-1,0)).replace(/[^\t]/g," "),Z=j[1]||1;U=[` `,x(w.gutter,O.replace(/\d/g," "))," ",G,x(w.marker,"^").repeat(Z)].join(""),V&&C.message&&(U+=" "+x(w.message,C.message))}return[x(w.marker,">"),x(w.gutter,O),T.length>0?` ${T}`:"",U].join("")}else return` ${x(w.gutter,O)}${T.length>0?` ${T}`:""}`}).join(` `);return C.message&&!_&&(z=`${" ".repeat(I+1)}${C.message} -${z}`),D?E.reset(z):z}u(h,"Mn");function v(y,b,C,D={}){if(!d){d=!0;let E="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let w=new Error(E);w.name="DeprecationWarning",console.warn(new Error(E))}}return C=Math.max(C,0),h(y,{start:{column:C,line:b}},D)}u(v,"To")}),Zs={},ba(Zs,{__debug:u(()=>Hg,"__debug"),check:u(()=>Y5,"check"),doc:u(()=>Ec,"doc"),format:u(()=>F0,"format"),formatWithCursor:u(()=>H0,"formatWithCursor"),getSupportInfo:u(()=>Ng,"getSupportInfo"),util:u(()=>Cc,"util"),version:u(()=>Rg,"version")}),cg=u((e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},"Ou"),ko=cg,u(Mt,"Z"),Mt.prototype={diff:u(function(e,t){var r,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=n.callback;typeof n=="function"&&(a=n,n={}),this.options=n;var o=this;function l(E){return a?(setTimeout(function(){a(void 0,E)},0),!0):E}u(l,"s"),e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e)),t=this.removeEmpty(this.tokenize(t));var s=t.length,c=e.length,d=1,f=s+c;n.maxEditLength&&(f=Math.min(f,n.maxEditLength));var g=(r=n.timeout)!==null&&r!==void 0?r:1/0,p=Date.now()+g,h=[{oldPos:-1,lastComponent:void 0}],v=this.extractCommon(h[0],t,e,0);if(h[0].oldPos+1>=c&&v+1>=s)return l([{value:this.join(t),count:t.length}]);var y=-1/0,b=1/0;function C(){for(var E=Math.max(y,-d);E<=Math.min(b,d);E+=2){var w=void 0,x=h[E-1],F=h[E+1];x&&(h[E-1]=void 0);var S=!1;if(F){var A=F.oldPos-E;S=F&&0<=A&&A=c&&v+1>=s)return l(Vm(o,w.lastComponent,t,e,o.useLongestToken));h[E]=w,w.oldPos+1>=c&&(b=Math.min(b,E-1)),v+1>=s&&(y=Math.max(y,E+1))}d++}if(u(C,"A"),a)u(function E(){setTimeout(function(){if(d>f||Date.now()>p)return a();C()||E()},0)},"h")();else for(;d<=f&&Date.now()<=p;){var D=C();if(D)return D}},"diff"),addToPath:u(function(e,t,r,n){var a=e.lastComponent;return a&&a.added===t&&a.removed===r?{oldPos:e.oldPos+n,lastComponent:{count:a.count+1,added:t,removed:r,previousComponent:a.previousComponent}}:{oldPos:e.oldPos+n,lastComponent:{count:1,added:t,removed:r,previousComponent:a}}},"addToPath"),extractCommon:u(function(e,t,r,n){for(var a=t.length,o=r.length,l=e.oldPos,s=l-n,c=0;s+1"u"?r:l}:n;return typeof e=="string"?e:JSON.stringify(Jl(e,null,null,a),a," ")},dn.equals=function(e,t){return Mt.prototype.equals.call(dn,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))},u(Jl,"Bt"),Ma=new Mt,Ma.tokenize=function(e){return e.slice()},Ma.join=Ma.removeEmpty=function(e){return e},u(By,"dr"),u(_y,"Fr"),u(ji,"Be"),u(b1,"wt"),u(Iy,"mr"),dr="string",St="array",er="cursor",At="indent",kt="align",Ct="trim",Ie="group",nt="fill",ze="if-break",Bt="indent-if-break",_t="line-suffix",xt="line-suffix-boundary",fe="line",at="label",Ne="break-parent",R1=new Set([er,At,kt,Ct,Ie,nt,ze,Bt,_t,xt,fe,at,Ne]),u(Um,"Lu"),pr=Um,w7=u(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"Pu"),u(qm,"Iu"),fg=(tc=class extends Error{constructor(t){super(qm(t));un(this,"name","InvalidDocError");this.doc=t}},u(tc,"xt"),tc),jr=fg,S0={},u(Wm,"Ru"),ni=Wm,rc=u(()=>{},"hr"),ot=rc,Ui=rc,u(oo,"De"),u(Hr,"ae"),u(o0,"_t"),u(Gm,"Cr"),u(Km,"gr"),u(Ym,"yr"),u(Zm,"Ar"),u(l0,"Ge"),u(Jm,"Br"),u(Xm,"wr"),u(Xl,"xe"),hg={type:xt},Oa={type:Ne},mg={type:Ct},Al={type:fe,hard:!0},nc={type:fe,hard:!0,literal:!0},A0={type:fe},gg={type:fe,soft:!0},tr=[Al,Oa],k0=[nc,Oa],ai={type:er},u(i0,"be"),u(u0,"Je"),u(Qm,"br"),u(yt,"ee"),u(Ry,"Or"),vg=u((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"Yu"),se=vg,b7=u(()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\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?|[\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](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\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-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,"Sr"),u(e5,"Nr"),u(t5,"Tr"),D7=u(e=>!(e5(e)||t5(e)),"kr"),E7=/[^\x20-\x7F]/u,u(r5,"Hu"),oi=r5,u(lo,"Ne"),u(Ql,"Xe"),u(zy,"Wu"),u(n5,"Ir"),u(s0,"Lr"),u(Ty,"Rr"),u(Ly,"Mu"),u(a5,"Yr"),u(c0,"Pr"),u(kn,"Se"),u(d0,"Ze"),u(My,"$u"),u(Oy,"Vu"),u(o5,"jr"),u(Py,"Uu"),u(l5,"Hr"),u(D1,"Qe"),xe=Symbol("MODE_BREAK"),Je=Symbol("MODE_FLAT"),Bn=Symbol("cursor"),u(E1,"Wr"),u(Ny,"zu"),u(Hy,"Gu"),u(ei,"bt"),u(ti,"Ot"),u(La,"et"),u(io,"Fe"),u(i5,"Ku"),li=i5,yg=(oc=class{constructor(e){ag(this,Fr),this.stack=[e]}get key(){let{stack:e,siblings:t}=this;return se(!1,e,t===null?-2:-4)??null}get index(){return this.siblings===null?null:se(!1,this.stack,-2)}get node(){return se(!1,this.stack,-1)}get parent(){return this.getNode(1)}get grandparent(){return this.getNode(2)}get isInArray(){return this.siblings!==null}get siblings(){let{stack:e}=this,t=se(!1,e,-3);return Array.isArray(t)?t:null}get next(){let{siblings:e}=this;return e===null?null:e[this.index+1]}get previous(){let{siblings:e}=this;return e===null?null:e[this.index-1]}get isFirst(){return this.index===0}get isLast(){let{siblings:e,index:t}=this;return e!==null&&t===e.length-1}get isRoot(){return this.stack.length===1}get root(){return this.stack[0]}get ancestors(){return[...cn(this,Fr,cl).call(this)]}getName(){let{stack:e}=this,{length:t}=e;return t>1?se(!1,e,-2):null}getValue(){return se(!1,this.stack,-1)}getNode(e=0){let t=cn(this,Fr,ac).call(this,e);return t===-1?null:this.stack[t]}getParentNode(e=0){return this.getNode(e+1)}call(e,...t){let{stack:r}=this,{length:n}=r,a=se(!1,r,-1);for(let o of t)a=a[o],r.push(o,a);try{return e(this)}finally{r.length=n}}callParent(e,t=0){let r=cn(this,Fr,ac).call(this,t+1),n=this.stack.splice(r+1);try{return e(this)}finally{this.stack.push(...n)}}each(e,...t){let{stack:r}=this,{length:n}=r,a=se(!1,r,-1);for(let o of t)a=a[o],r.push(o,a);try{for(let o=0;o{r[a]=e(n,a,o)},...t),r}match(...e){let t=this.stack.length-1,r=null,n=this.stack[t--];for(let a of e){if(n===void 0)return!1;let o=null;if(typeof r=="number"&&(o=r,r=this.stack[t--],n=this.stack[t--]),a&&!a(n,r,o))return!1;r=this.stack[t--],n=this.stack[t--]}return!0}findAncestor(e){for(let t of cn(this,Fr,cl).call(this))if(e(t))return t}hasAncestor(e){for(let t of cn(this,Fr,cl).call(this))if(e(t))return!0;return!1}},u(oc,"St"),oc),Fr=new WeakSet,ac=u(function(e){let{stack:t}=this;for(let r=t.length-1;r>=0;r-=2)if(!Array.isArray(t[r])&&--e<0)return r;return-1},"Nt"),cl=u(function*(){let{stack:e}=this;for(let t=e.length-3;t>=0;t-=2){let r=e[t];Array.isArray(r)||(yield r)}},"tt"),C7=yg,lc=new Proxy(()=>{},{get:u(()=>lc,"get")}),ii=lc,u(u5,"qu"),x7=u5,u(C1,"Tt"),u(jy,"Ur"),u(sn,"Ee"),wg=sn(/\s/u),Vt=sn(" "),B0=sn(",; "),_0=sn(/[^\n\r]/u),u(s5,"Ju"),sr=s5,u(c5,"Xu"),$t=c5,u(d5,"Zu"),F7=d5,I0=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),S7=u(e=>Object.keys(e).filter(t=>!I0.has(t)),"Qu"),u(p5,"eo"),Bo=p5,u($y,"to"),u($i,"Lt"),u(zr,"ue"),u(Ka,"re"),u(Tr,"oe"),kl=new WeakMap,u(Vi,"ut"),u(x1,"qr"),Bl=u(()=>!1,"It"),u(Vy,"Jr"),z1=u(e=>!/[\S\n\u2028\u2029]/u.test(e),"Xr"),u(Uy,"ro"),u(qy,"no"),u(p0,"Kr"),u(xl,"Rt"),u(f5,"uo"),qi=f5,u(F1,"Zr"),u(Wy,"oo"),u(Gy,"io"),u(Ky,"so"),u(Yy,"Qr"),u(Zy,"en"),u(h5,"ao"),A7=h5,T1=(ic=class extends Error{constructor(){super(...arguments);un(this,"name","ConfigError")}},u(ic,"Pe"),ic),R0=(uc=class extends Error{constructor(){super(...arguments);un(this,"name","UndefinedParserError")}},u(uc,"Ie"),uc),k7={cursorOffset:{category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:"Print (to stderr) where a cursor at the given position would move to after formatting.",cliCategory:"Editor"},endOfLine:{category:"Global",type:"choice",default:"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:`Maintain existing -(mixed values within one file are normalised by looking at what's used after the first line)`}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:u(e=>typeof e=="string"||typeof e=="function","exception"),choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"jsonc",description:"JSON with Comments"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:u(e=>typeof e=="string"||typeof e=="object","exception"),cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive). +${z}`),D?E.reset(z):z}s(h,"Mn");function v(y,b,C,D={}){if(!d){d=!0;let E="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let w=new Error(E);w.name="DeprecationWarning",console.warn(new Error(E))}}return C=Math.max(C,0),h(y,{start:{column:C,line:b}},D)}s(v,"To")}),Zu={},ba(Zu,{__debug:s(()=>Hg,"__debug"),check:s(()=>Y5,"check"),doc:s(()=>Ec,"doc"),format:s(()=>F0,"format"),formatWithCursor:s(()=>H0,"formatWithCursor"),getSupportInfo:s(()=>Ng,"getSupportInfo"),util:s(()=>Cc,"util"),version:s(()=>Rg,"version")}),cg=s((e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},"Ou"),ko=cg,s(Mt,"Z"),Mt.prototype={diff:s(function(e,t){var r,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=n.callback;typeof n=="function"&&(a=n,n={}),this.options=n;var o=this;function l(E){return a?(setTimeout(function(){a(void 0,E)},0),!0):E}s(l,"s"),e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e)),t=this.removeEmpty(this.tokenize(t));var u=t.length,c=e.length,d=1,f=u+c;n.maxEditLength&&(f=Math.min(f,n.maxEditLength));var g=(r=n.timeout)!==null&&r!==void 0?r:1/0,p=Date.now()+g,h=[{oldPos:-1,lastComponent:void 0}],v=this.extractCommon(h[0],t,e,0);if(h[0].oldPos+1>=c&&v+1>=u)return l([{value:this.join(t),count:t.length}]);var y=-1/0,b=1/0;function C(){for(var E=Math.max(y,-d);E<=Math.min(b,d);E+=2){var w=void 0,x=h[E-1],F=h[E+1];x&&(h[E-1]=void 0);var S=!1;if(F){var A=F.oldPos-E;S=F&&0<=A&&A=c&&v+1>=u)return l(Vm(o,w.lastComponent,t,e,o.useLongestToken));h[E]=w,w.oldPos+1>=c&&(b=Math.min(b,E-1)),v+1>=u&&(y=Math.max(y,E+1))}d++}if(s(C,"A"),a)s(function E(){setTimeout(function(){if(d>f||Date.now()>p)return a();C()||E()},0)},"h")();else for(;d<=f&&Date.now()<=p;){var D=C();if(D)return D}},"diff"),addToPath:s(function(e,t,r,n){var a=e.lastComponent;return a&&a.added===t&&a.removed===r?{oldPos:e.oldPos+n,lastComponent:{count:a.count+1,added:t,removed:r,previousComponent:a.previousComponent}}:{oldPos:e.oldPos+n,lastComponent:{count:1,added:t,removed:r,previousComponent:a}}},"addToPath"),extractCommon:s(function(e,t,r,n){for(var a=t.length,o=r.length,l=e.oldPos,u=l-n,c=0;u+1"u"?r:l}:n;return typeof e=="string"?e:JSON.stringify(Jl(e,null,null,a),a," ")},dn.equals=function(e,t){return Mt.prototype.equals.call(dn,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))},s(Jl,"Bt"),Ma=new Mt,Ma.tokenize=function(e){return e.slice()},Ma.join=Ma.removeEmpty=function(e){return e},s(By,"dr"),s(_y,"Fr"),s(ji,"Be"),s(b1,"wt"),s(Iy,"mr"),dr="string",St="array",er="cursor",At="indent",kt="align",Ct="trim",Ie="group",nt="fill",ze="if-break",Bt="indent-if-break",_t="line-suffix",xt="line-suffix-boundary",fe="line",at="label",Ne="break-parent",R1=new Set([er,At,kt,Ct,Ie,nt,ze,Bt,_t,xt,fe,at,Ne]),s(Um,"Lu"),pr=Um,w7=s(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"Pu"),s(qm,"Iu"),fg=(tc=class extends Error{constructor(t){super(qm(t));sn(this,"name","InvalidDocError");this.doc=t}},s(tc,"xt"),tc),jr=fg,S0={},s(Wm,"Ru"),ni=Wm,rc=s(()=>{},"hr"),ot=rc,Ui=rc,s(oo,"De"),s(Hr,"ae"),s(o0,"_t"),s(Gm,"Cr"),s(Km,"gr"),s(Ym,"yr"),s(Zm,"Ar"),s(l0,"Ge"),s(Jm,"Br"),s(Xm,"wr"),s(Xl,"xe"),hg={type:xt},Oa={type:Ne},mg={type:Ct},Al={type:fe,hard:!0},nc={type:fe,hard:!0,literal:!0},A0={type:fe},gg={type:fe,soft:!0},tr=[Al,Oa],k0=[nc,Oa],ai={type:er},s(i0,"be"),s(s0,"Je"),s(Qm,"br"),s(yt,"ee"),s(Ry,"Or"),vg=s((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"Yu"),ue=vg,b7=s(()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\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?|[\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](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\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-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,"Sr"),s(e5,"Nr"),s(t5,"Tr"),D7=s(e=>!(e5(e)||t5(e)),"kr"),E7=/[^\x20-\x7F]/u,s(r5,"Hu"),oi=r5,s(lo,"Ne"),s(Ql,"Xe"),s(zy,"Wu"),s(n5,"Ir"),s(u0,"Lr"),s(Ty,"Rr"),s(Ly,"Mu"),s(a5,"Yr"),s(c0,"Pr"),s(kn,"Se"),s(d0,"Ze"),s(My,"$u"),s(Oy,"Vu"),s(o5,"jr"),s(Py,"Uu"),s(l5,"Hr"),s(D1,"Qe"),xe=Symbol("MODE_BREAK"),Je=Symbol("MODE_FLAT"),Bn=Symbol("cursor"),s(E1,"Wr"),s(Ny,"zu"),s(Hy,"Gu"),s(ei,"bt"),s(ti,"Ot"),s(La,"et"),s(io,"Fe"),s(i5,"Ku"),li=i5,yg=(oc=class{constructor(e){ag(this,Fr),this.stack=[e]}get key(){let{stack:e,siblings:t}=this;return ue(!1,e,t===null?-2:-4)??null}get index(){return this.siblings===null?null:ue(!1,this.stack,-2)}get node(){return ue(!1,this.stack,-1)}get parent(){return this.getNode(1)}get grandparent(){return this.getNode(2)}get isInArray(){return this.siblings!==null}get siblings(){let{stack:e}=this,t=ue(!1,e,-3);return Array.isArray(t)?t:null}get next(){let{siblings:e}=this;return e===null?null:e[this.index+1]}get previous(){let{siblings:e}=this;return e===null?null:e[this.index-1]}get isFirst(){return this.index===0}get isLast(){let{siblings:e,index:t}=this;return e!==null&&t===e.length-1}get isRoot(){return this.stack.length===1}get root(){return this.stack[0]}get ancestors(){return[...cn(this,Fr,cl).call(this)]}getName(){let{stack:e}=this,{length:t}=e;return t>1?ue(!1,e,-2):null}getValue(){return ue(!1,this.stack,-1)}getNode(e=0){let t=cn(this,Fr,ac).call(this,e);return t===-1?null:this.stack[t]}getParentNode(e=0){return this.getNode(e+1)}call(e,...t){let{stack:r}=this,{length:n}=r,a=ue(!1,r,-1);for(let o of t)a=a[o],r.push(o,a);try{return e(this)}finally{r.length=n}}callParent(e,t=0){let r=cn(this,Fr,ac).call(this,t+1),n=this.stack.splice(r+1);try{return e(this)}finally{this.stack.push(...n)}}each(e,...t){let{stack:r}=this,{length:n}=r,a=ue(!1,r,-1);for(let o of t)a=a[o],r.push(o,a);try{for(let o=0;o{r[a]=e(n,a,o)},...t),r}match(...e){let t=this.stack.length-1,r=null,n=this.stack[t--];for(let a of e){if(n===void 0)return!1;let o=null;if(typeof r=="number"&&(o=r,r=this.stack[t--],n=this.stack[t--]),a&&!a(n,r,o))return!1;r=this.stack[t--],n=this.stack[t--]}return!0}findAncestor(e){for(let t of cn(this,Fr,cl).call(this))if(e(t))return t}hasAncestor(e){for(let t of cn(this,Fr,cl).call(this))if(e(t))return!0;return!1}},s(oc,"St"),oc),Fr=new WeakSet,ac=s(function(e){let{stack:t}=this;for(let r=t.length-1;r>=0;r-=2)if(!Array.isArray(t[r])&&--e<0)return r;return-1},"Nt"),cl=s(function*(){let{stack:e}=this;for(let t=e.length-3;t>=0;t-=2){let r=e[t];Array.isArray(r)||(yield r)}},"tt"),C7=yg,lc=new Proxy(()=>{},{get:s(()=>lc,"get")}),ii=lc,s(s5,"qu"),x7=s5,s(C1,"Tt"),s(jy,"Ur"),s(un,"Ee"),wg=un(/\s/u),Vt=un(" "),B0=un(",; "),_0=un(/[^\n\r]/u),s(u5,"Ju"),ur=u5,s(c5,"Xu"),$t=c5,s(d5,"Zu"),F7=d5,I0=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),S7=s(e=>Object.keys(e).filter(t=>!I0.has(t)),"Qu"),s(p5,"eo"),Bo=p5,s($y,"to"),s($i,"Lt"),s(zr,"ue"),s(Ka,"re"),s(Tr,"oe"),kl=new WeakMap,s(Vi,"ut"),s(x1,"qr"),Bl=s(()=>!1,"It"),s(Vy,"Jr"),z1=s(e=>!/[\S\n\u2028\u2029]/u.test(e),"Xr"),s(Uy,"ro"),s(qy,"no"),s(p0,"Kr"),s(xl,"Rt"),s(f5,"uo"),qi=f5,s(F1,"Zr"),s(Wy,"oo"),s(Gy,"io"),s(Ky,"so"),s(Yy,"Qr"),s(Zy,"en"),s(h5,"ao"),A7=h5,T1=(ic=class extends Error{constructor(){super(...arguments);sn(this,"name","ConfigError")}},s(ic,"Pe"),ic),R0=(sc=class extends Error{constructor(){super(...arguments);sn(this,"name","UndefinedParserError")}},s(sc,"Ie"),sc),k7={cursorOffset:{category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:"Print (to stderr) where a cursor at the given position would move to after formatting.",cliCategory:"Editor"},endOfLine:{category:"Global",type:"choice",default:"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:`Maintain existing +(mixed values within one file are normalised by looking at what's used after the first line)`}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:s(e=>typeof e=="string"||typeof e=="function","exception"),choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"jsonc",description:"JSON with Comments"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:s(e=>typeof e=="string"||typeof e=="object","exception"),cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive). The range will extend forwards to the end of the selected statement.`,cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:`Format code starting at a given character offset. The range will extend backwards to the start of the first line containing the selected statement.`,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:`Require either '@prettier' or '@format' to be present in the file's first docblock comment -in order for it to be formatted.`,cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"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."}]}},u(f0,"ot"),u(Jy,"Do"),u(Xy,"lo"),B7=u(e=>String(e).split(/[/\\]/u).pop(),"co"),u(h0,"nn"),u(Qy,"fo"),u(m5,"po"),_7=m5,Sr={key:u(e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),"key"),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(r=>Sr.value(r)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(r=>`${Sr.key(r)}: ${Sr.value(e[r])}`).join(", ")} }`},pair:u(({key:e,value:t})=>Sr.value({[e]:t}),"pair")},sc=Da(sl(),1),bg=u((e,t,{descriptor:r})=>{let n=[`${sc.default.yellow(typeof e=="string"?r.key(e):r.pair(e))} is deprecated`];return t&&n.push(`we now treat it as ${sc.default.blue(typeof t=="string"?r.key(t):r.pair(t))}`),n.join("; ")+"."},"an"),Lr=Da(sl(),1),z0=Symbol.for("vnopts.VALUE_NOT_EXIST"),Ea=Symbol.for("vnopts.VALUE_UNCHANGED"),T0=" ".repeat(2),Dg=u((e,t,r)=>{let{text:n,list:a}=r.normalizeExpectedResult(r.schemas[e].expected(r)),o=[];return n&&o.push(js(e,t,n,r.descriptor)),a&&o.push([js(e,t,a.title,r.descriptor)].concat(a.values.map(l=>m0(l,r.loggerPrintWidth))).join(` -`)),g0(o,r.loggerPrintWidth)},"cn"),u(js,"ln"),u(m0,"fn"),u(g0,"pn"),cc=Da(sl(),1),_l=[],L0=[],u(g5,"Ht"),M0=u((e,t,{descriptor:r,logger:n,schemas:a})=>{let o=[`Ignored unknown option ${cc.default.yellow(r.pair({key:e,value:t}))}.`],l=Object.keys(a).sort().find(s=>g5(e,s)<3);l&&o.push(`Did you mean ${cc.default.blue(r.key(l))}?`),n.warn(o.join(" "))},"at"),I7=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"],u(v5,"mo"),Nt=(dc=class{static create(e){return v5(this,e)}constructor(e){this.name=e.name}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 Ea}},u(dc,"O"),dc),u(e7,"Eo"),R7=(pc=class extends Nt{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}},u(pc,"Dt"),pc),z7=(fc=class extends Nt{expected(){return"anything"}validate(){return!0}},u(fc,"lt"),fc),T7=(hc=class extends Nt{constructor({valueSchema:e,name:t=e.name,...r}){super({...r,name:t}),this._valueSchema=e}expected(e){let{text:t,list:r}=e.normalizeExpectedResult(this._valueSchema.expected(e));return{text:t&&`an array of ${t}`,list:r&&{title:"an array of the following values",values:[{list:r}]}}}validate(e,t){if(!Array.isArray(e))return!1;let r=[];for(let n of e){let a=t.normalizeValidateResult(this._valueSchema.validate(n,t),n);a!==!0&&r.push(a.value)}return r.length===0?!0:{value:r}}deprecated(e,t){let r=[];for(let n of e){let a=t.normalizeDeprecatedResult(this._valueSchema.deprecated(n,t),n);a!==!1&&r.push(...a.map(({value:o})=>({value:[o]})))}return r}forward(e,t){let r=[];for(let n of e){let a=t.normalizeForwardResult(this._valueSchema.forward(n,t),n);r.push(...a.map($s))}return r}redirect(e,t){let r=[],n=[];for(let a of e){let o=t.normalizeRedirectResult(this._valueSchema.redirect(a,t),a);"remain"in o&&r.push(o.remain),n.push(...o.redirect.map($s))}return r.length===0?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}},u(hc,"ct"),hc),u($s,"Fn"),L7=(mc=class extends Nt{expected(){return"true or false"}validate(e){return typeof e=="boolean"}},u(mc,"ft"),mc),u(y5,"En"),u(w5,"hn"),u(b5,"Cn"),u(D5,"gn"),u(E5,"yn"),u(C5,"An"),u(x5,"Bn"),u(Vs,"Mt"),u(v0,"$t"),u(Us,"Vt"),u(qs,"Ut"),u(y0,"mn"),u(Fl,"pt"),u(Ws,"zt"),u(t7,"ho"),M7=(gc=class extends Nt{constructor(e){super(e),this._choices=w5(e.choices.map(t=>t&&typeof t=="object"?t:{value:t}),"value")}expected({descriptor:e}){let t=Array.from(this._choices.keys()).map(a=>this._choices.get(a)).filter(({hidden:a})=>!a).map(a=>a.value).sort(C5).map(e.value),r=t.slice(0,-2),n=t.slice(-2);return{text:r.concat(n.join(" or ")).join(", "),list:{title:"one of the following values",values:t}}}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return t&&t.deprecated?{value:e}:!1}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}},u(gc,"dt"),gc),Eg=(vc=class extends Nt{expected(){return"a number"}validate(e,t){return typeof e=="number"}},u(vc,"Ft"),vc),O7=(yc=class extends Eg{expected(){return"an integer"}validate(e,t){return t.normalizeValidateResult(super.validate(e,t),e)===!0&&E5(e)}},u(yc,"mt"),yc),O0=(wc=class extends Nt{expected(){return"a string"}validate(e){return typeof e=="string"}},u(wc,"Re"),wc),Cg=Sr,xg=M0,Fg=Dg,Sg=bg,P7=(bc=class{constructor(e,t){let{logger:r=console,loggerPrintWidth:n=80,descriptor:a=Cg,unknown:o=xg,invalid:l=Fg,deprecated:s=Sg,missing:c=u(()=>!1,"D"),required:d=u(()=>!1,"l"),preprocess:f=u(p=>p,"d"),postprocess:g=u(()=>Ea,"f")}=t||{};this._utils={descriptor:a,logger:r||{warn:u(()=>{},"warn")},loggerPrintWidth:n,schemas:y5(e,"name"),normalizeDefaultResult:Vs,normalizeExpectedResult:v0,normalizeDeprecatedResult:qs,normalizeForwardResult:Fl,normalizeRedirectResult:Ws,normalizeValidateResult:Us},this._unknownHandler=o,this._invalidHandler=x5(l),this._deprecatedHandler=s,this._identifyMissing=(p,h)=>!(p in h)||c(p,h),this._identifyRequired=d,this._preprocess=f,this._postprocess=g,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=b5()}normalize(e){let t={},r=[this._preprocess(e,this._utils)],n=u(()=>{for(;r.length!==0;){let a=r.shift(),o=this._applyNormalization(a,t);r.push(...o)}},"u");n();for(let a of Object.keys(this._utils.schemas)){let o=this._utils.schemas[a];if(!(a in t)){let l=Vs(o.default(this._utils));"value"in l&&r.push({[a]:l.value})}}n();for(let a of Object.keys(this._utils.schemas)){if(!(a in t))continue;let o=this._utils.schemas[a],l=t[a],s=o.postprocess(l,this._utils);s!==Ea&&(this._applyValidation(s,a,o),t[a]=s)}return this._applyPostprocess(t),this._applyRequiredCheck(t),t}_applyNormalization(e,t){let r=[],{knownKeys:n,unknownKeys:a}=this._partitionOptionKeys(e);for(let o of n){let l=this._utils.schemas[o],s=l.preprocess(e[o],this._utils);this._applyValidation(s,o,l);let c=u(({from:g,to:p})=>{r.push(typeof p=="string"?{[p]:g}:{[p.key]:p.value})},"D"),d=u(({value:g,redirectTo:p})=>{let h=qs(l.deprecated(g,this._utils),s,!0);if(h!==!1)if(h===!0)this._hasDeprecationWarned(o)||this._utils.logger.warn(this._deprecatedHandler(o,p,this._utils));else for(let{value:v}of h){let y={key:o,value:v};if(!this._hasDeprecationWarned(y)){let b=typeof p=="string"?{key:p,value:v}:p;this._utils.logger.warn(this._deprecatedHandler(y,b,this._utils))}}},"l");Fl(l.forward(s,this._utils),s).forEach(c);let f=Ws(l.redirect(s,this._utils),s);if(f.redirect.forEach(c),"remain"in f){let g=f.remain;t[o]=o in t?l.overlap(t[o],g,this._utils):g,d({value:g})}for(let{from:g,to:p}of f.redirect)d({value:g,redirectTo:p})}for(let o of a){let l=e[o];this._applyUnknownHandler(o,l,t,(s,c)=>{r.push({[s]:c})})}return r}_applyRequiredCheck(e){for(let t of Object.keys(this._utils.schemas))if(this._identifyMissing(t,e)&&this._identifyRequired(t))throw this._invalidHandler(t,z0,this._utils)}_partitionOptionKeys(e){let[t,r]=D5(Object.keys(e).filter(n=>!this._identifyMissing(n,e)),n=>n in this._utils.schemas);return{knownKeys:t,unknownKeys:r}}_applyValidation(e,t,r){let n=Us(r.validate(e,this._utils),e);if(n!==!0)throw this._invalidHandler(t,n.value,this._utils)}_applyUnknownHandler(e,t,r,n){let a=this._unknownHandler(e,t,this._utils);if(a)for(let o of Object.keys(a)){if(this._identifyMissing(o,a))continue;let l=a[o];o in this._utils.schemas?n(o,l):r[o]=l}}_applyPostprocess(e){let t=this._postprocess(e,this._utils);if(t!==Ea){if(t.delete)for(let r of t.delete)delete e[r];if(t.override){let{knownKeys:r,unknownKeys:n}=this._partitionOptionKeys(t.override);for(let a of r){let o=t.override[a];this._applyValidation(o,a,this._utils.schemas[a]),e[a]=o}for(let a of n){let o=t.override[a];this._applyUnknownHandler(a,o,e,(l,s)=>{let c=this._utils.schemas[l];this._applyValidation(s,l,c),e[l]=s})}}}}},u(bc,"Et"),bc),u(F5,"go"),u(r7,"yo"),u(n7,"Ao"),N7=F5,Ag=u((e,t,r)=>{if(!(e&&t==null)){if(t.findLast)return t.findLast(r);for(let n=t.length-1;n>=0;n--){let a=t[n];if(r(a,n,t))return a}}},"Bo"),L1=Ag,u(S1,"qt"),u(a7,"On"),u(A1,"ht"),u(k1,"Jt"),u(o7,"Sn"),P0={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null},u(S5,"wo"),Jr=S5,H7=Da(sg(),1),u(A5,"ko"),u(l7,"Lo"),Xn=A5,u(i7,"Un"),u(u7,"Po"),u(k5,"Io"),j7=k5,u(Ao,"Ye"),u(w0,"Gn"),u(B1,"Qt"),u(B5,"Ro"),$7=B5,u(_5,"Yo"),V7=_5,kg=u((e,t,r)=>{if(!(e&&t==null)){if(t.findLastIndex)return t.findLastIndex(r);for(let n=t.length-1;n>=0;n--){let a=t[n];if(r(a,n,t))return n}return-1}},"jo"),U7=kg,q7=u(({parser:e})=>e==="json"||e==="json5"||e==="jsonc"||e==="json-stringify","Ho"),u(s7,"Wo"),u(b0,"Xn"),u(c7,"Mo"),u(ri,"er"),u(d7,"$o"),M1=new Set(["JsonRoot","ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),W7=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]),u(D0,"Zn"),u(p7,"eu"),O1="\uFEFF",N0=Symbol("cursor"),u(_1,"ou"),u(f7,"Uo"),u(Sl,"tr"),u(E0,"ru"),u(I1,"iu"),u(C0,"nu"),u(x0,"rr"),u(I5,"su"),u(R5,"au"),u(z5,"Du"),u(T5,"lu"),u(L5,"cu"),Ec={},ba(Ec,{builders:u(()=>Bg,"builders"),printer:u(()=>_g,"printer"),utils:u(()=>Ig,"utils")}),Bg={join:i0,line:A0,softline:gg,hardline:tr,literalline:k0,group:o0,conditionalGroup:Zm,fill:l0,lineSuffix:Xl,lineSuffixBoundary:hg,cursor:ai,breakParent:Oa,ifBreak:Jm,trim:mg,indent:oo,indentIfBreak:Xm,align:Hr,addAlignmentToDoc:u0,markAsRoot:Km,dedentToRoot:Gm,dedent:Ym,hardlineWithoutBreakParent:Al,literallineWithoutBreakParent:nc,label:Qm,concat:u(e=>e,"concat")},_g={printDocToString:io},Ig={willBreak:n5,traverseDoc:ni,findInDoc:Ql,mapDoc:lo,removeLines:a5,stripTrailingHardline:d0,replaceEndOfLine:o5,canBreak:l5},Rg="3.3.3",Cc={},ba(Cc,{addDanglingComment:u(()=>Ka,"addDanglingComment"),addLeadingComment:u(()=>zr,"addLeadingComment"),addTrailingComment:u(()=>Tr,"addTrailingComment"),getAlignmentSize:u(()=>li,"getAlignmentSize"),getIndentSize:u(()=>zg,"getIndentSize"),getMaxContinuousCount:u(()=>Tg,"getMaxContinuousCount"),getNextNonSpaceNonCommentCharacter:u(()=>Lg,"getNextNonSpaceNonCommentCharacter"),getNextNonSpaceNonCommentCharacterIndex:u(()=>W5,"getNextNonSpaceNonCommentCharacterIndex"),getStringWidth:u(()=>oi,"getStringWidth"),hasNewline:u(()=>$t,"hasNewline"),hasNewlineInRange:u(()=>Mg,"hasNewlineInRange"),hasSpaces:u(()=>Og,"hasSpaces"),isNextLineEmpty:u(()=>K5,"isNextLineEmpty"),isNextLineEmptyAfterIndex:u(()=>ci,"isNextLineEmptyAfterIndex"),isPreviousLineEmpty:u(()=>G5,"isPreviousLineEmpty"),makeString:u(()=>Pg,"makeString"),skip:u(()=>sn,"skip"),skipEverythingButNewLine:u(()=>_0,"skipEverythingButNewLine"),skipInlineComment:u(()=>ui,"skipInlineComment"),skipNewline:u(()=>sr,"skipNewline"),skipSpaces:u(()=>Vt,"skipSpaces"),skipToLineEnd:u(()=>B0,"skipToLineEnd"),skipTrailingComment:u(()=>si,"skipTrailingComment"),skipWhitespace:u(()=>wg,"skipWhitespace")}),u(M5,"Jo"),ui=M5,u(O5,"Xo"),si=O5,u(P5,"Zo"),Wi=P5,u(N5,"Qo"),ci=N5,u(H5,"ei"),zg=H5,u(h7,"ur"),u(j5,"ti"),Tg=j5,u($5,"ri"),Lg=$5,u(V5,"ni"),Mg=V5,u(U5,"ui"),Og=U5,u(q5,"oi"),Pg=q5,u(m7,"ii"),u(W5,"si"),u(g7,"ai"),u(G5,"Di"),u(v7,"li"),u(K5,"ci"),u(Kt,"fe"),H0=Kt(x0),u(F0,"gu"),u(Y5,"fi"),Ng=Kt(f0,0),Hg={parse:Kt(I5),formatAST:Kt(R5),formatDoc:Kt(z5),printToDoc:Kt(T5),printDocToString:Kt(L5)},G7=Zs});function K7(e){for(var t=[],r=1;rString(e).split(/[/\\]/u).pop(),"co"),s(h0,"nn"),s(Qy,"fo"),s(m5,"po"),_7=m5,Sr={key:s(e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),"key"),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(r=>Sr.value(r)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(r=>`${Sr.key(r)}: ${Sr.value(e[r])}`).join(", ")} }`},pair:s(({key:e,value:t})=>Sr.value({[e]:t}),"pair")},uc=Da(ul(),1),bg=s((e,t,{descriptor:r})=>{let n=[`${uc.default.yellow(typeof e=="string"?r.key(e):r.pair(e))} is deprecated`];return t&&n.push(`we now treat it as ${uc.default.blue(typeof t=="string"?r.key(t):r.pair(t))}`),n.join("; ")+"."},"an"),Lr=Da(ul(),1),z0=Symbol.for("vnopts.VALUE_NOT_EXIST"),Ea=Symbol.for("vnopts.VALUE_UNCHANGED"),T0=" ".repeat(2),Dg=s((e,t,r)=>{let{text:n,list:a}=r.normalizeExpectedResult(r.schemas[e].expected(r)),o=[];return n&&o.push(ju(e,t,n,r.descriptor)),a&&o.push([ju(e,t,a.title,r.descriptor)].concat(a.values.map(l=>m0(l,r.loggerPrintWidth))).join(` +`)),g0(o,r.loggerPrintWidth)},"cn"),s(ju,"ln"),s(m0,"fn"),s(g0,"pn"),cc=Da(ul(),1),_l=[],L0=[],s(g5,"Ht"),M0=s((e,t,{descriptor:r,logger:n,schemas:a})=>{let o=[`Ignored unknown option ${cc.default.yellow(r.pair({key:e,value:t}))}.`],l=Object.keys(a).sort().find(u=>g5(e,u)<3);l&&o.push(`Did you mean ${cc.default.blue(r.key(l))}?`),n.warn(o.join(" "))},"at"),I7=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"],s(v5,"mo"),Nt=(dc=class{static create(e){return v5(this,e)}constructor(e){this.name=e.name}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 Ea}},s(dc,"O"),dc),s(e7,"Eo"),R7=(pc=class extends Nt{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}},s(pc,"Dt"),pc),z7=(fc=class extends Nt{expected(){return"anything"}validate(){return!0}},s(fc,"lt"),fc),T7=(hc=class extends Nt{constructor({valueSchema:e,name:t=e.name,...r}){super({...r,name:t}),this._valueSchema=e}expected(e){let{text:t,list:r}=e.normalizeExpectedResult(this._valueSchema.expected(e));return{text:t&&`an array of ${t}`,list:r&&{title:"an array of the following values",values:[{list:r}]}}}validate(e,t){if(!Array.isArray(e))return!1;let r=[];for(let n of e){let a=t.normalizeValidateResult(this._valueSchema.validate(n,t),n);a!==!0&&r.push(a.value)}return r.length===0?!0:{value:r}}deprecated(e,t){let r=[];for(let n of e){let a=t.normalizeDeprecatedResult(this._valueSchema.deprecated(n,t),n);a!==!1&&r.push(...a.map(({value:o})=>({value:[o]})))}return r}forward(e,t){let r=[];for(let n of e){let a=t.normalizeForwardResult(this._valueSchema.forward(n,t),n);r.push(...a.map($u))}return r}redirect(e,t){let r=[],n=[];for(let a of e){let o=t.normalizeRedirectResult(this._valueSchema.redirect(a,t),a);"remain"in o&&r.push(o.remain),n.push(...o.redirect.map($u))}return r.length===0?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}},s(hc,"ct"),hc),s($u,"Fn"),L7=(mc=class extends Nt{expected(){return"true or false"}validate(e){return typeof e=="boolean"}},s(mc,"ft"),mc),s(y5,"En"),s(w5,"hn"),s(b5,"Cn"),s(D5,"gn"),s(E5,"yn"),s(C5,"An"),s(x5,"Bn"),s(Vu,"Mt"),s(v0,"$t"),s(Uu,"Vt"),s(qu,"Ut"),s(y0,"mn"),s(Fl,"pt"),s(Wu,"zt"),s(t7,"ho"),M7=(gc=class extends Nt{constructor(e){super(e),this._choices=w5(e.choices.map(t=>t&&typeof t=="object"?t:{value:t}),"value")}expected({descriptor:e}){let t=Array.from(this._choices.keys()).map(a=>this._choices.get(a)).filter(({hidden:a})=>!a).map(a=>a.value).sort(C5).map(e.value),r=t.slice(0,-2),n=t.slice(-2);return{text:r.concat(n.join(" or ")).join(", "),list:{title:"one of the following values",values:t}}}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return t&&t.deprecated?{value:e}:!1}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}},s(gc,"dt"),gc),Eg=(vc=class extends Nt{expected(){return"a number"}validate(e,t){return typeof e=="number"}},s(vc,"Ft"),vc),O7=(yc=class extends Eg{expected(){return"an integer"}validate(e,t){return t.normalizeValidateResult(super.validate(e,t),e)===!0&&E5(e)}},s(yc,"mt"),yc),O0=(wc=class extends Nt{expected(){return"a string"}validate(e){return typeof e=="string"}},s(wc,"Re"),wc),Cg=Sr,xg=M0,Fg=Dg,Sg=bg,P7=(bc=class{constructor(e,t){let{logger:r=console,loggerPrintWidth:n=80,descriptor:a=Cg,unknown:o=xg,invalid:l=Fg,deprecated:u=Sg,missing:c=s(()=>!1,"D"),required:d=s(()=>!1,"l"),preprocess:f=s(p=>p,"d"),postprocess:g=s(()=>Ea,"f")}=t||{};this._utils={descriptor:a,logger:r||{warn:s(()=>{},"warn")},loggerPrintWidth:n,schemas:y5(e,"name"),normalizeDefaultResult:Vu,normalizeExpectedResult:v0,normalizeDeprecatedResult:qu,normalizeForwardResult:Fl,normalizeRedirectResult:Wu,normalizeValidateResult:Uu},this._unknownHandler=o,this._invalidHandler=x5(l),this._deprecatedHandler=u,this._identifyMissing=(p,h)=>!(p in h)||c(p,h),this._identifyRequired=d,this._preprocess=f,this._postprocess=g,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=b5()}normalize(e){let t={},r=[this._preprocess(e,this._utils)],n=s(()=>{for(;r.length!==0;){let a=r.shift(),o=this._applyNormalization(a,t);r.push(...o)}},"u");n();for(let a of Object.keys(this._utils.schemas)){let o=this._utils.schemas[a];if(!(a in t)){let l=Vu(o.default(this._utils));"value"in l&&r.push({[a]:l.value})}}n();for(let a of Object.keys(this._utils.schemas)){if(!(a in t))continue;let o=this._utils.schemas[a],l=t[a],u=o.postprocess(l,this._utils);u!==Ea&&(this._applyValidation(u,a,o),t[a]=u)}return this._applyPostprocess(t),this._applyRequiredCheck(t),t}_applyNormalization(e,t){let r=[],{knownKeys:n,unknownKeys:a}=this._partitionOptionKeys(e);for(let o of n){let l=this._utils.schemas[o],u=l.preprocess(e[o],this._utils);this._applyValidation(u,o,l);let c=s(({from:g,to:p})=>{r.push(typeof p=="string"?{[p]:g}:{[p.key]:p.value})},"D"),d=s(({value:g,redirectTo:p})=>{let h=qu(l.deprecated(g,this._utils),u,!0);if(h!==!1)if(h===!0)this._hasDeprecationWarned(o)||this._utils.logger.warn(this._deprecatedHandler(o,p,this._utils));else for(let{value:v}of h){let y={key:o,value:v};if(!this._hasDeprecationWarned(y)){let b=typeof p=="string"?{key:p,value:v}:p;this._utils.logger.warn(this._deprecatedHandler(y,b,this._utils))}}},"l");Fl(l.forward(u,this._utils),u).forEach(c);let f=Wu(l.redirect(u,this._utils),u);if(f.redirect.forEach(c),"remain"in f){let g=f.remain;t[o]=o in t?l.overlap(t[o],g,this._utils):g,d({value:g})}for(let{from:g,to:p}of f.redirect)d({value:g,redirectTo:p})}for(let o of a){let l=e[o];this._applyUnknownHandler(o,l,t,(u,c)=>{r.push({[u]:c})})}return r}_applyRequiredCheck(e){for(let t of Object.keys(this._utils.schemas))if(this._identifyMissing(t,e)&&this._identifyRequired(t))throw this._invalidHandler(t,z0,this._utils)}_partitionOptionKeys(e){let[t,r]=D5(Object.keys(e).filter(n=>!this._identifyMissing(n,e)),n=>n in this._utils.schemas);return{knownKeys:t,unknownKeys:r}}_applyValidation(e,t,r){let n=Uu(r.validate(e,this._utils),e);if(n!==!0)throw this._invalidHandler(t,n.value,this._utils)}_applyUnknownHandler(e,t,r,n){let a=this._unknownHandler(e,t,this._utils);if(a)for(let o of Object.keys(a)){if(this._identifyMissing(o,a))continue;let l=a[o];o in this._utils.schemas?n(o,l):r[o]=l}}_applyPostprocess(e){let t=this._postprocess(e,this._utils);if(t!==Ea){if(t.delete)for(let r of t.delete)delete e[r];if(t.override){let{knownKeys:r,unknownKeys:n}=this._partitionOptionKeys(t.override);for(let a of r){let o=t.override[a];this._applyValidation(o,a,this._utils.schemas[a]),e[a]=o}for(let a of n){let o=t.override[a];this._applyUnknownHandler(a,o,e,(l,u)=>{let c=this._utils.schemas[l];this._applyValidation(u,l,c),e[l]=u})}}}}},s(bc,"Et"),bc),s(F5,"go"),s(r7,"yo"),s(n7,"Ao"),N7=F5,Ag=s((e,t,r)=>{if(!(e&&t==null)){if(t.findLast)return t.findLast(r);for(let n=t.length-1;n>=0;n--){let a=t[n];if(r(a,n,t))return a}}},"Bo"),L1=Ag,s(S1,"qt"),s(a7,"On"),s(A1,"ht"),s(k1,"Jt"),s(o7,"Sn"),P0={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null},s(S5,"wo"),Jr=S5,H7=Da(ug(),1),s(A5,"ko"),s(l7,"Lo"),Xn=A5,s(i7,"Un"),s(s7,"Po"),s(k5,"Io"),j7=k5,s(Ao,"Ye"),s(w0,"Gn"),s(B1,"Qt"),s(B5,"Ro"),$7=B5,s(_5,"Yo"),V7=_5,kg=s((e,t,r)=>{if(!(e&&t==null)){if(t.findLastIndex)return t.findLastIndex(r);for(let n=t.length-1;n>=0;n--){let a=t[n];if(r(a,n,t))return n}return-1}},"jo"),U7=kg,q7=s(({parser:e})=>e==="json"||e==="json5"||e==="jsonc"||e==="json-stringify","Ho"),s(u7,"Wo"),s(b0,"Xn"),s(c7,"Mo"),s(ri,"er"),s(d7,"$o"),M1=new Set(["JsonRoot","ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),W7=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]),s(D0,"Zn"),s(p7,"eu"),O1="\uFEFF",N0=Symbol("cursor"),s(_1,"ou"),s(f7,"Uo"),s(Sl,"tr"),s(E0,"ru"),s(I1,"iu"),s(C0,"nu"),s(x0,"rr"),s(I5,"su"),s(R5,"au"),s(z5,"Du"),s(T5,"lu"),s(L5,"cu"),Ec={},ba(Ec,{builders:s(()=>Bg,"builders"),printer:s(()=>_g,"printer"),utils:s(()=>Ig,"utils")}),Bg={join:i0,line:A0,softline:gg,hardline:tr,literalline:k0,group:o0,conditionalGroup:Zm,fill:l0,lineSuffix:Xl,lineSuffixBoundary:hg,cursor:ai,breakParent:Oa,ifBreak:Jm,trim:mg,indent:oo,indentIfBreak:Xm,align:Hr,addAlignmentToDoc:s0,markAsRoot:Km,dedentToRoot:Gm,dedent:Ym,hardlineWithoutBreakParent:Al,literallineWithoutBreakParent:nc,label:Qm,concat:s(e=>e,"concat")},_g={printDocToString:io},Ig={willBreak:n5,traverseDoc:ni,findInDoc:Ql,mapDoc:lo,removeLines:a5,stripTrailingHardline:d0,replaceEndOfLine:o5,canBreak:l5},Rg="3.3.3",Cc={},ba(Cc,{addDanglingComment:s(()=>Ka,"addDanglingComment"),addLeadingComment:s(()=>zr,"addLeadingComment"),addTrailingComment:s(()=>Tr,"addTrailingComment"),getAlignmentSize:s(()=>li,"getAlignmentSize"),getIndentSize:s(()=>zg,"getIndentSize"),getMaxContinuousCount:s(()=>Tg,"getMaxContinuousCount"),getNextNonSpaceNonCommentCharacter:s(()=>Lg,"getNextNonSpaceNonCommentCharacter"),getNextNonSpaceNonCommentCharacterIndex:s(()=>W5,"getNextNonSpaceNonCommentCharacterIndex"),getStringWidth:s(()=>oi,"getStringWidth"),hasNewline:s(()=>$t,"hasNewline"),hasNewlineInRange:s(()=>Mg,"hasNewlineInRange"),hasSpaces:s(()=>Og,"hasSpaces"),isNextLineEmpty:s(()=>K5,"isNextLineEmpty"),isNextLineEmptyAfterIndex:s(()=>ci,"isNextLineEmptyAfterIndex"),isPreviousLineEmpty:s(()=>G5,"isPreviousLineEmpty"),makeString:s(()=>Pg,"makeString"),skip:s(()=>un,"skip"),skipEverythingButNewLine:s(()=>_0,"skipEverythingButNewLine"),skipInlineComment:s(()=>si,"skipInlineComment"),skipNewline:s(()=>ur,"skipNewline"),skipSpaces:s(()=>Vt,"skipSpaces"),skipToLineEnd:s(()=>B0,"skipToLineEnd"),skipTrailingComment:s(()=>ui,"skipTrailingComment"),skipWhitespace:s(()=>wg,"skipWhitespace")}),s(M5,"Jo"),si=M5,s(O5,"Xo"),ui=O5,s(P5,"Zo"),Wi=P5,s(N5,"Qo"),ci=N5,s(H5,"ei"),zg=H5,s(h7,"ur"),s(j5,"ti"),Tg=j5,s($5,"ri"),Lg=$5,s(V5,"ni"),Mg=V5,s(U5,"ui"),Og=U5,s(q5,"oi"),Pg=q5,s(m7,"ii"),s(W5,"si"),s(g7,"ai"),s(G5,"Di"),s(v7,"li"),s(K5,"ci"),s(Kt,"fe"),H0=Kt(x0),s(F0,"gu"),s(Y5,"fi"),Ng=Kt(f0,0),Hg={parse:Kt(I5),formatAST:Kt(R5),formatDoc:Kt(z5),printToDoc:Kt(T5),printDocToString:Kt(L5)},G7=Zu});function K7(e){for(var t=[],r=1;r{u(K7,"dedent")}),Y7={};Kn(Y7,{formatter:()=>Z7});var jg,Z7,vC=R(()=>{jg=me(Ci(),1),hC(),mC(),gC(),Z7=(0,jg.default)(2)(async(e,t)=>e===!1?t:e==="dedent"||e===!0?K7(t):(await G7.format(t,{parser:e,plugins:[ky],htmlWhitespaceSensitivity:"ignore"})).trim())}),j0,$0,yC=R(()=>{j0=u(function(e){return e.reduce(function(t,r){var n=r[0],a=r[1];return t[n]=a,t},{})},"fromEntries"),$0=typeof window<"u"&&window.document&&window.document.createElement?i.useLayoutEffect:i.useEffect}),Be,je,$e,_e,di,_n,Or,In,J7,P1,bn,X7,V0,N1,$g,Vg,Ug,qg,Wg,Gg,Kg,Yg,Zg,Q7,qe=R(()=>{Be="top",je="bottom",$e="right",_e="left",di="auto",_n=[Be,je,$e,_e],Or="start",In="end",J7="clippingParents",P1="viewport",bn="popper",X7="reference",V0=_n.reduce(function(e,t){return e.concat([t+"-"+Or,t+"-"+In])},[]),N1=[].concat(_n,[di]).reduce(function(e,t){return e.concat([t,t+"-"+Or,t+"-"+In])},[]),$g="beforeRead",Vg="read",Ug="afterRead",qg="beforeMain",Wg="main",Gg="afterMain",Kg="beforeWrite",Yg="write",Zg="afterWrite",Q7=[$g,Vg,Ug,qg,Wg,Gg,Kg,Yg,Zg]});function lt(e){return e?(e.nodeName||"").toLowerCase():null}var Xr=R(()=>{u(lt,"getNodeName")});function Te(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}var Rt=R(()=>{u(Te,"getWindow")});function cr(e){var t=Te(e).Element;return e instanceof t||e instanceof Element}function He(e){var t=Te(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Gi(e){if(typeof ShadowRoot>"u")return!1;var t=Te(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var We=R(()=>{Rt(),u(cr,"isElement"),u(He,"isHTMLElement"),u(Gi,"isShadowRoot")});function Jg(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},o=t.elements[r];!He(o)||!lt(o)||(Object.assign(o.style,n),Object.keys(a).forEach(function(l){var s=a[l];s===!1?o.removeAttribute(l):o.setAttribute(l,s===!0?"":s)}))})}function Xg(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],o=t.attributes[n]||{},l=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=l.reduce(function(c,d){return c[d]="",c},{});!He(a)||!lt(a)||(Object.assign(a.style,s),Object.keys(o).forEach(function(c){a.removeAttribute(c)}))})}}var ew,wC=R(()=>{Xr(),We(),u(Jg,"applyStyles"),u(Xg,"effect"),ew={name:"applyStyles",enabled:!0,phase:"write",fn:Jg,effect:Xg,requires:["computeStyles"]}});function rt(e){return e.split("-")[0]}var Qr=R(()=>{u(rt,"getBasePlacement")}),rr,uo,$r,en=R(()=>{rr=Math.max,uo=Math.min,$r=Math.round});function pi(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}var tw=R(()=>{u(pi,"getUAString")});function H1(){return!/^((?!chrome|android).)*safari/i.test(pi())}var rw=R(()=>{tw(),u(H1,"isLayoutViewport")});function Vr(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,o=1;t&&He(e)&&(a=e.offsetWidth>0&&$r(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&$r(n.height)/e.offsetHeight||1);var l=cr(e)?Te(e):window,s=l.visualViewport,c=!H1()&&r,d=(n.left+(c&&s?s.offsetLeft:0))/a,f=(n.top+(c&&s?s.offsetTop:0))/o,g=n.width/a,p=n.height/o;return{width:g,height:p,top:f,right:d+g,bottom:f+p,left:d,x:d,y:f}}var _o=R(()=>{We(),en(),Rt(),rw(),u(Vr,"getBoundingClientRect")});function Ki(e){var t=Vr(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}var j1=R(()=>{_o(),u(Ki,"getLayoutRect")});function $1(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Gi(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}var nw=R(()=>{We(),u($1,"contains")});function It(e){return Te(e).getComputedStyle(e)}var Io=R(()=>{Rt(),u(It,"getComputedStyle")});function aw(e){return["table","td","th"].indexOf(lt(e))>=0}var bC=R(()=>{Xr(),u(aw,"isTableElement")});function qt(e){return((cr(e)?e.ownerDocument:e.document)||window.document).documentElement}var fr=R(()=>{We(),u(qt,"getDocumentElement")});function Ro(e){return lt(e)==="html"?e:e.assignedSlot||e.parentNode||(Gi(e)?e.host:null)||qt(e)}var Yi=R(()=>{Xr(),fr(),We(),u(Ro,"getParentNode")});function U0(e){return!He(e)||It(e).position==="fixed"?null:e.offsetParent}function ow(e){var t=/firefox/i.test(pi()),r=/Trident/i.test(pi());if(r&&He(e)){var n=It(e);if(n.position==="fixed")return null}var a=Ro(e);for(Gi(a)&&(a=a.host);He(a)&&["html","body"].indexOf(lt(a))<0;){var o=It(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return a;a=a.parentNode}return null}function Qn(e){for(var t=Te(e),r=U0(e);r&&aw(r)&&It(r).position==="static";)r=U0(r);return r&&(lt(r)==="html"||lt(r)==="body"&&It(r).position==="static")?t:r||ow(e)||t}var zo=R(()=>{Rt(),Xr(),Io(),We(),bC(),Yi(),tw(),u(U0,"getTrueOffsetParent"),u(ow,"getContainingBlock"),u(Qn,"getOffsetParent")});function Zi(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var V1=R(()=>{u(Zi,"getMainAxisFromPlacement")});function Rn(e,t,r){return rr(e,uo(t,r))}function lw(e,t,r){var n=Rn(e,t,r);return n>r?r:n}var iw=R(()=>{en(),u(Rn,"within"),u(lw,"withinMaxClamp")});function U1(){return{top:0,right:0,bottom:0,left:0}}var uw=R(()=>{u(U1,"getFreshSideObject")});function q1(e){return Object.assign({},U1(),e)}var sw=R(()=>{uw(),u(q1,"mergePaddingObject")});function W1(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var cw=R(()=>{u(W1,"expandToHashMap")});function Qg(e){var t,r=e.state,n=e.name,a=e.options,o=r.elements.arrow,l=r.modifiersData.popperOffsets,s=rt(r.placement),c=Zi(s),d=[_e,$e].indexOf(s)>=0,f=d?"height":"width";if(!(!o||!l)){var g=dw(a.padding,r),p=Ki(o),h=c==="y"?Be:_e,v=c==="y"?je:$e,y=r.rects.reference[f]+r.rects.reference[c]-l[c]-r.rects.popper[f],b=l[c]-r.rects.reference[c],C=Qn(o),D=C?c==="y"?C.clientHeight||0:C.clientWidth||0:0,E=y/2-b/2,w=g[h],x=D-p[f]-g[v],F=D/2-p[f]/2+E,S=Rn(w,F,x),A=c;r.modifiersData[n]=(t={},t[A]=S,t.centerOffset=S-F,t)}}function e2(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||$1(t.elements.popper,a)&&(t.elements.arrow=a))}var dw,pw,DC=R(()=>{Qr(),j1(),nw(),zo(),V1(),iw(),sw(),cw(),qe(),dw=u(function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,q1(typeof e!="number"?e:W1(e,_n))},"toPaddingObject"),u(Qg,"arrow"),u(e2,"effect"),pw={name:"arrow",enabled:!0,phase:"main",fn:Qg,effect:e2,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}});function Ur(e){return e.split("-")[1]}var To=R(()=>{u(Ur,"getVariation")});function fw(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:$r(r*a)/a||0,y:$r(n*a)/a||0}}function q0(e){var t,r=e.popper,n=e.popperRect,a=e.placement,o=e.variation,l=e.offsets,s=e.position,c=e.gpuAcceleration,d=e.adaptive,f=e.roundOffsets,g=e.isFixed,p=l.x,h=p===void 0?0:p,v=l.y,y=v===void 0?0:v,b=typeof f=="function"?f({x:h,y}):{x:h,y};h=b.x,y=b.y;var C=l.hasOwnProperty("x"),D=l.hasOwnProperty("y"),E=_e,w=Be,x=window;if(d){var F=Qn(r),S="clientHeight",A="clientWidth";if(F===Te(r)&&(F=qt(r),It(F).position!=="static"&&s==="absolute"&&(S="scrollHeight",A="scrollWidth")),F=F,a===Be||(a===_e||a===$e)&&o===In){w=je;var B=g&&F===x&&x.visualViewport?x.visualViewport.height:F[S];y-=B-n.height,y*=c?1:-1}if(a===_e||(a===Be||a===je)&&o===In){E=$e;var _=g&&F===x&&x.visualViewport?x.visualViewport.width:F[A];h-=_-n.width,h*=c?1:-1}}var I=Object.assign({position:s},d&&hw),z=f===!0?fw({x:h,y},Te(r)):{x:h,y};if(h=z.x,y=z.y,c){var T;return Object.assign({},I,(T={},T[w]=D?"0":"",T[E]=C?"0":"",T.transform=(x.devicePixelRatio||1)<=1?"translate("+h+"px, "+y+"px)":"translate3d("+h+"px, "+y+"px, 0)",T))}return Object.assign({},I,(t={},t[w]=D?y+"px":"",t[E]=C?h+"px":"",t.transform="",t))}function t2(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,o=r.adaptive,l=o===void 0?!0:o,s=r.roundOffsets,c=s===void 0?!0:s,d={placement:rt(t.placement),variation:Ur(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,q0(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,q0(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var hw,mw,EC=R(()=>{qe(),zo(),Rt(),fr(),Io(),Qr(),To(),en(),hw={top:"auto",right:"auto",bottom:"auto",left:"auto"},u(fw,"roundOffsetsByDPR"),u(q0,"mapToStyles"),u(t2,"computeStyles"),mw={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:t2,data:{}}});function r2(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,o=a===void 0?!0:a,l=n.resize,s=l===void 0?!0:l,c=Te(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&d.forEach(function(f){f.addEventListener("scroll",r.update,Pa)}),s&&c.addEventListener("resize",r.update,Pa),function(){o&&d.forEach(function(f){f.removeEventListener("scroll",r.update,Pa)}),s&&c.removeEventListener("resize",r.update,Pa)}}var Pa,gw,CC=R(()=>{Rt(),Pa={passive:!0},u(r2,"effect"),gw={name:"eventListeners",enabled:!0,phase:"write",fn:u(function(){},"fn"),effect:r2,data:{}}});function Ya(e){return e.replace(/left|right|bottom|top/g,function(t){return vw[t]})}var vw,xC=R(()=>{vw={left:"right",right:"left",bottom:"top",top:"bottom"},u(Ya,"getOppositePlacement")});function W0(e){return e.replace(/start|end/g,function(t){return yw[t]})}var yw,FC=R(()=>{yw={start:"end",end:"start"},u(W0,"getOppositeVariationPlacement")});function Ji(e){var t=Te(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}var G1=R(()=>{Rt(),u(Ji,"getWindowScroll")});function Xi(e){return Vr(qt(e)).left+Ji(e).scrollLeft}var K1=R(()=>{_o(),fr(),G1(),u(Xi,"getWindowScrollBarX")});function ww(e,t){var r=Te(e),n=qt(e),a=r.visualViewport,o=n.clientWidth,l=n.clientHeight,s=0,c=0;if(a){o=a.width,l=a.height;var d=H1();(d||!d&&t==="fixed")&&(s=a.offsetLeft,c=a.offsetTop)}return{width:o,height:l,x:s+Xi(e),y:c}}var SC=R(()=>{Rt(),fr(),K1(),rw(),u(ww,"getViewportRect")});function bw(e){var t,r=qt(e),n=Ji(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=rr(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),l=rr(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-n.scrollLeft+Xi(e),c=-n.scrollTop;return It(a||r).direction==="rtl"&&(s+=rr(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:l,x:s,y:c}}var AC=R(()=>{fr(),Io(),K1(),G1(),en(),u(bw,"getDocumentRect")});function Qi(e){var t=It(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}var Y1=R(()=>{Io(),u(Qi,"isScrollParent")});function Z1(e){return["html","body","#document"].indexOf(lt(e))>=0?e.ownerDocument.body:He(e)&&Qi(e)?e:Z1(Ro(e))}var kC=R(()=>{Yi(),Y1(),Xr(),We(),u(Z1,"getScrollParent")});function zn(e,t){var r;t===void 0&&(t=[]);var n=Z1(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),o=Te(n),l=a?[o].concat(o.visualViewport||[],Qi(n)?n:[]):n,s=t.concat(l);return a?s:s.concat(zn(Ro(l)))}var Dw=R(()=>{kC(),Yi(),Rt(),Y1(),u(zn,"listScrollParents")});function fi(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}var Ew=R(()=>{u(fi,"rectToClientRect")});function Cw(e,t){var r=Vr(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function G0(e,t,r){return t===P1?fi(ww(e,r)):cr(t)?Cw(t,r):fi(bw(qt(e)))}function xw(e){var t=zn(Ro(e)),r=["absolute","fixed"].indexOf(It(e).position)>=0,n=r&&He(e)?Qn(e):e;return cr(n)?t.filter(function(a){return cr(a)&&$1(a,n)&<(a)!=="body"}):[]}function Fw(e,t,r,n){var a=t==="clippingParents"?xw(e):[].concat(t),o=[].concat(a,[r]),l=o[0],s=o.reduce(function(c,d){var f=G0(e,d,n);return c.top=rr(f.top,c.top),c.right=uo(f.right,c.right),c.bottom=uo(f.bottom,c.bottom),c.left=rr(f.left,c.left),c},G0(e,l,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}var BC=R(()=>{qe(),SC(),AC(),Dw(),zo(),fr(),Io(),We(),_o(),Yi(),nw(),Xr(),Ew(),en(),u(Cw,"getInnerBoundingClientRect"),u(G0,"getClientRectFromMixedType"),u(xw,"getClippingParents"),u(Fw,"getClippingRect")});function J1(e){var t=e.reference,r=e.element,n=e.placement,a=n?rt(n):null,o=n?Ur(n):null,l=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,c;switch(a){case Be:c={x:l,y:t.y-r.height};break;case je:c={x:l,y:t.y+t.height};break;case $e:c={x:t.x+t.width,y:s};break;case _e:c={x:t.x-r.width,y:s};break;default:c={x:t.x,y:t.y}}var d=a?Zi(a):null;if(d!=null){var f=d==="y"?"height":"width";switch(o){case Or:c[d]=c[d]-(t[f]/2-r[f]/2);break;case In:c[d]=c[d]+(t[f]/2-r[f]/2);break}}return c}var Sw=R(()=>{Qr(),To(),V1(),qe(),u(J1,"computeOffsets")});function $n(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,o=r.strategy,l=o===void 0?e.strategy:o,s=r.boundary,c=s===void 0?J7:s,d=r.rootBoundary,f=d===void 0?P1:d,g=r.elementContext,p=g===void 0?bn:g,h=r.altBoundary,v=h===void 0?!1:h,y=r.padding,b=y===void 0?0:y,C=q1(typeof b!="number"?b:W1(b,_n)),D=p===bn?X7:bn,E=e.rects.popper,w=e.elements[v?D:p],x=Fw(cr(w)?w:w.contextElement||qt(e.elements.popper),c,f,l),F=Vr(e.elements.reference),S=J1({reference:F,element:E,placement:a}),A=fi(Object.assign({},E,S)),B=p===bn?A:F,_={top:x.top-B.top+C.top,bottom:B.bottom-x.bottom+C.bottom,left:x.left-B.left+C.left,right:B.right-x.right+C.right},I=e.modifiersData.offset;if(p===bn&&I){var z=I[a];Object.keys(_).forEach(function(T){var M=[$e,je].indexOf(T)>=0?1:-1,L=[Be,je].indexOf(T)>=0?"y":"x";_[T]+=z[L]*M})}return _}var eu=R(()=>{BC(),fr(),_o(),Sw(),Ew(),qe(),We(),sw(),cw(),u($n,"detectOverflow")});function Aw(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,l=r.padding,s=r.flipVariations,c=r.allowedAutoPlacements,d=c===void 0?N1:c,f=Ur(n),g=f?s?V0:V0.filter(function(v){return Ur(v)===f}):_n,p=g.filter(function(v){return d.indexOf(v)>=0});p.length===0&&(p=g);var h=p.reduce(function(v,y){return v[y]=$n(e,{placement:y,boundary:a,rootBoundary:o,padding:l})[rt(y)],v},{});return Object.keys(h).sort(function(v,y){return h[v]-h[y]})}var _C=R(()=>{To(),qe(),eu(),Qr(),u(Aw,"computeAutoPlacement")});function kw(e){if(rt(e)===di)return[];var t=Ya(e);return[W0(e),t,W0(t)]}function n2(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,o=a===void 0?!0:a,l=r.altAxis,s=l===void 0?!0:l,c=r.fallbackPlacements,d=r.padding,f=r.boundary,g=r.rootBoundary,p=r.altBoundary,h=r.flipVariations,v=h===void 0?!0:h,y=r.allowedAutoPlacements,b=t.options.placement,C=rt(b),D=C===b,E=c||(D||!v?[Ya(b)]:kw(b)),w=[b].concat(E).reduce(function(ae,N){return ae.concat(rt(N)===di?Aw(t,{placement:N,boundary:f,rootBoundary:g,padding:d,flipVariations:v,allowedAutoPlacements:y}):N)},[]),x=t.rects.reference,F=t.rects.popper,S=new Map,A=!0,B=w[0],_=0;_=0,L=M?"width":"height",O=$n(t,{placement:I,boundary:f,rootBoundary:g,altBoundary:p,padding:d}),j=M?T?$e:_e:T?je:Be;x[L]>F[L]&&(j=Ya(j));var V=Ya(j),U=[];if(o&&U.push(O[z]<=0),s&&U.push(O[j]<=0,O[V]<=0),U.every(function(ae){return ae})){B=I,A=!1;break}S.set(I,U)}if(A)for(var G=v?3:1,Z=u(function(ae){var N=w.find(function(K){var J=S.get(K);if(J)return J.slice(0,ae).every(function(ge){return ge})});if(N)return B=N,"break"},"_loop"),re=G;re>0;re--){var Y=Z(re);if(Y==="break")break}t.placement!==B&&(t.modifiersData[n]._skip=!0,t.placement=B,t.reset=!0)}}var Bw,IC=R(()=>{xC(),Qr(),FC(),eu(),_C(),qe(),To(),u(kw,"getExpandedFallbackPlacements"),u(n2,"flip"),Bw={name:"flip",enabled:!0,phase:"main",fn:n2,requiresIfExists:["offset"],data:{_skip:!1}}});function K0(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Y0(e){return[Be,$e,je,_e].some(function(t){return e[t]>=0})}function a2(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,l=$n(t,{elementContext:"reference"}),s=$n(t,{altBoundary:!0}),c=K0(l,n),d=K0(s,a,o),f=Y0(c),g=Y0(d);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:f,hasPopperEscaped:g},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":g})}var _w,RC=R(()=>{qe(),eu(),u(K0,"getSideOffsets"),u(Y0,"isAnySideFullyClipped"),u(a2,"hide"),_w={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:a2}});function Iw(e,t,r){var n=rt(e),a=[_e,Be].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,l=o[0],s=o[1];return l=l||0,s=(s||0)*a,[_e,$e].indexOf(n)>=0?{x:s,y:l}:{x:l,y:s}}function o2(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=a===void 0?[0,0]:a,l=N1.reduce(function(f,g){return f[g]=Iw(g,t.rects,o),f},{}),s=l[t.placement],c=s.x,d=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=d),t.modifiersData[n]=l}var Rw,zC=R(()=>{Qr(),qe(),u(Iw,"distanceAndSkiddingToXY"),u(o2,"offset"),Rw={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:o2}});function l2(e){var t=e.state,r=e.name;t.modifiersData[r]=J1({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var zw,TC=R(()=>{Sw(),u(l2,"popperOffsets"),zw={name:"popperOffsets",enabled:!0,phase:"read",fn:l2,data:{}}});function Tw(e){return e==="x"?"y":"x"}var LC=R(()=>{u(Tw,"getAltAxis")});function i2(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,o=a===void 0?!0:a,l=r.altAxis,s=l===void 0?!1:l,c=r.boundary,d=r.rootBoundary,f=r.altBoundary,g=r.padding,p=r.tether,h=p===void 0?!0:p,v=r.tetherOffset,y=v===void 0?0:v,b=$n(t,{boundary:c,rootBoundary:d,padding:g,altBoundary:f}),C=rt(t.placement),D=Ur(t.placement),E=!D,w=Zi(C),x=Tw(w),F=t.modifiersData.popperOffsets,S=t.rects.reference,A=t.rects.popper,B=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,_=typeof B=="number"?{mainAxis:B,altAxis:B}:Object.assign({mainAxis:0,altAxis:0},B),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,z={x:0,y:0};if(F){if(o){var T,M=w==="y"?Be:_e,L=w==="y"?je:$e,O=w==="y"?"height":"width",j=F[w],V=j+b[M],U=j-b[L],G=h?-A[O]/2:0,Z=D===Or?S[O]:A[O],re=D===Or?-A[O]:-S[O],Y=t.elements.arrow,ae=h&&Y?Ki(Y):{width:0,height:0},N=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:U1(),K=N[M],J=N[L],ge=Rn(0,S[O],ae[O]),Le=E?S[O]/2-G-ge-K-_.mainAxis:Z-ge-K-_.mainAxis,mr=E?-S[O]/2+G+ge+J+_.mainAxis:re+ge+J+_.mainAxis,dt=t.elements.arrow&&Qn(t.elements.arrow),Gt=dt?w==="y"?dt.clientTop||0:dt.clientLeft||0:0,nn=(T=I==null?void 0:I[w])!=null?T:0,gr=j+Le-nn-Gt,oa=j+mr-nn,Oo=Rn(h?uo(V,gr):V,j,h?rr(U,oa):U);F[w]=Oo,z[w]=Oo-j}if(s){var an,pt=w==="x"?Be:_e,Po=w==="x"?je:$e,Ee=F[x],vr=x==="y"?"height":"width",ft=Ee+b[pt],on=Ee-b[Po],ht=[Be,_e].indexOf(C)!==-1,ln=(an=I==null?void 0:I[x])!=null?an:0,mt=ht?ft:Ee-S[vr]-A[vr]-ln+_.altAxis,ve=ht?Ee+S[vr]+A[vr]-ln-_.altAxis:on,Ke=h&&ht?lw(mt,Ee,ve):Rn(h?mt:ft,Ee,h?ve:on);F[x]=Ke,z[x]=Ke-Ee}t.modifiersData[n]=z}}var Lw,MC=R(()=>{qe(),Qr(),V1(),LC(),iw(),j1(),zo(),eu(),To(),uw(),en(),u(i2,"preventOverflow"),Lw={name:"preventOverflow",enabled:!0,phase:"main",fn:i2,requiresIfExists:["offset"]}}),Mw=R(()=>{});function Ow(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}var OC=R(()=>{u(Ow,"getHTMLElementScroll")});function Pw(e){return e===Te(e)||!He(e)?Ji(e):Ow(e)}var PC=R(()=>{G1(),Rt(),We(),OC(),u(Pw,"getNodeScroll")});function Nw(e){var t=e.getBoundingClientRect(),r=$r(t.width)/e.offsetWidth||1,n=$r(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Hw(e,t,r){r===void 0&&(r=!1);var n=He(t),a=He(t)&&Nw(t),o=qt(t),l=Vr(e,a,r),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&((lt(t)!=="body"||Qi(o))&&(s=Pw(t)),He(t)?(c=Vr(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):o&&(c.x=Xi(o))),{x:l.left+s.scrollLeft-c.x,y:l.top+s.scrollTop-c.y,width:l.width,height:l.height}}var NC=R(()=>{_o(),PC(),Xr(),We(),K1(),fr(),Y1(),en(),u(Nw,"isElementScaled"),u(Hw,"getCompositeRect")});function jw(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function a(o){r.add(o.name);var l=[].concat(o.requires||[],o.requiresIfExists||[]);l.forEach(function(s){if(!r.has(s)){var c=t.get(s);c&&a(c)}}),n.push(o)}return u(a,"sort"),e.forEach(function(o){r.has(o.name)||a(o)}),n}function $w(e){var t=jw(e);return Q7.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}var HC=R(()=>{qe(),u(jw,"order"),u($w,"orderModifiers")});function Vw(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}var jC=R(()=>{u(Vw,"debounce")});function Uw(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var $C=R(()=>{u(Uw,"mergeByName")});function Z0(){for(var e=arguments.length,t=new Array(e),r=0;r{NC(),j1(),Dw(),zo(),HC(),jC(),$C(),We(),J0={placement:"bottom",modifiers:[],strategy:"absolute"},u(Z0,"areValidElements"),u(qw,"popperGenerator")}),u2,Ww,UC=R(()=>{VC(),CC(),TC(),EC(),wC(),zC(),IC(),MC(),DC(),RC(),Mw(),u2=[gw,zw,mw,ew,Rw,Bw,Lw,pw,_w],Ww=qw({defaultModifiers:u2})}),qC=R(()=>{qe(),Mw(),UC()}),WC=$((e,t)=>{var r=typeof Element<"u",n=typeof Map=="function",a=typeof Set=="function",o=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function l(s,c){if(s===c)return!0;if(s&&c&&typeof s=="object"&&typeof c=="object"){if(s.constructor!==c.constructor)return!1;var d,f,g;if(Array.isArray(s)){if(d=s.length,d!=c.length)return!1;for(f=d;f--!==0;)if(!l(s[f],c[f]))return!1;return!0}var p;if(n&&s instanceof Map&&c instanceof Map){if(s.size!==c.size)return!1;for(p=s.entries();!(f=p.next()).done;)if(!c.has(f.value[0]))return!1;for(p=s.entries();!(f=p.next()).done;)if(!l(f.value[1],c.get(f.value[0])))return!1;return!0}if(a&&s instanceof Set&&c instanceof Set){if(s.size!==c.size)return!1;for(p=s.entries();!(f=p.next()).done;)if(!c.has(f.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(s)&&ArrayBuffer.isView(c)){if(d=s.length,d!=c.length)return!1;for(f=d;f--!==0;)if(s[f]!==c[f])return!1;return!0}if(s.constructor===RegExp)return s.source===c.source&&s.flags===c.flags;if(s.valueOf!==Object.prototype.valueOf&&typeof s.valueOf=="function"&&typeof c.valueOf=="function")return s.valueOf()===c.valueOf();if(s.toString!==Object.prototype.toString&&typeof s.toString=="function"&&typeof c.toString=="function")return s.toString()===c.toString();if(g=Object.keys(s),d=g.length,d!==Object.keys(c).length)return!1;for(f=d;f--!==0;)if(!Object.prototype.hasOwnProperty.call(c,g[f]))return!1;if(r&&s instanceof Element)return!1;for(f=d;f--!==0;)if(!((g[f]==="_owner"||g[f]==="__v"||g[f]==="__o")&&s.$$typeof)&&!l(s[g[f]],c[g[f]]))return!1;return!0}return s!==s&&c!==c}u(l,"equal"),t.exports=u(function(s,c){try{return l(s,c)}catch(d){if((d.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw d}},"isEqual")}),s2,c2,Gw,GC=R(()=>{qC(),s2=me(WC()),yC(),c2=[],Gw=u(function(e,t,r){r===void 0&&(r={});var n=i.useRef(null),a={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||c2},o=i.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=o[0],s=o[1],c=i.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:u(function(g){var p=g.state,h=Object.keys(p.elements);kd.flushSync(function(){s({styles:j0(h.map(function(v){return[v,p.styles[v]||{}]})),attributes:j0(h.map(function(v){return[v,p.attributes[v]]}))})})},"fn"),requires:["computeStyles"]}},[]),d=i.useMemo(function(){var g={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[c,{name:"applyStyles",enabled:!1}])};return(0,s2.default)(n.current,g)?n.current||g:(n.current=g,g)},[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,c]),f=i.useRef();return $0(function(){f.current&&f.current.setOptions(d)},[d]),$0(function(){if(!(e==null||t==null)){var g=r.createPopper||Ww,p=g(e,t,d);return f.current=p,function(){p.destroy(),f.current=null}}},[e,t,r.createPopper]),{state:f.current?f.current.state:null,styles:l.styles,attributes:l.attributes,update:f.current?f.current.update:null,forceUpdate:f.current?f.current.forceUpdate:null}},"usePopper")}),KC=R(()=>{GC()});function X1(e){var t=i.useRef(e);return t.current=e,i.useCallback(function(){return t.current},[])}function Kw(e){var t=e.initial,r=e.value,n=e.onChange,a=n===void 0?Zw:n;if(t===void 0&&r===void 0)throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');var o=i.useState(t),l=o[0],s=o[1],c=X1(l),d=i.useCallback(function(g){var p=c(),h=typeof g=="function"?g(p):g;typeof h.persist=="function"&&h.persist(),s(h),typeof a=="function"&&a(h)},[c,a]),f=r!==void 0;return[f?r:l,f?a:d]}function X0(e,t){return e===void 0&&(e=0),t===void 0&&(t=0),function(){return{width:0,height:0,top:t,right:e,bottom:t,left:e,x:0,y:0,toJSON:u(function(){return null},"toJSON")}}}function Yw(e,t){var r,n,a;e===void 0&&(e={}),t===void 0&&(t={});var o=Object.keys(ed).reduce(function(L,O){var j;return Fe({},L,(j={},j[O]=L[O]!==void 0?L[O]:ed[O],j))},e),l=i.useMemo(function(){return[{name:"offset",options:{offset:o.offset}}]},Array.isArray(o.offset)?o.offset:[]),s=Fe({},t,{placement:t.placement||o.placement,modifiers:t.modifiers||l}),c=i.useState(null),d=c[0],f=c[1],g=i.useState(null),p=g[0],h=g[1],v=Kw({initial:o.defaultVisible,value:o.visible,onChange:o.onVisibleChange}),y=v[0],b=v[1],C=i.useRef();i.useEffect(function(){return function(){return clearTimeout(C.current)}},[]);var D=Gw(o.followCursor?Q0:d,p,s),E=D.styles,w=D.attributes,x=xi(D,Jw),F=x.update,S=X1({visible:y,triggerRef:d,tooltipRef:p,finalConfig:o}),A=i.useCallback(function(L){return Array.isArray(o.trigger)?o.trigger.includes(L):o.trigger===L},Array.isArray(o.trigger)?o.trigger:[o.trigger]),B=i.useCallback(function(){clearTimeout(C.current),C.current=window.setTimeout(function(){return b(!1)},o.delayHide)},[o.delayHide,b]),_=i.useCallback(function(){clearTimeout(C.current),C.current=window.setTimeout(function(){return b(!0)},o.delayShow)},[o.delayShow,b]),I=i.useCallback(function(){S().visible?B():_()},[S,B,_]);i.useEffect(function(){if(S().finalConfig.closeOnOutsideClick){var L=u(function(O){var j,V=S(),U=V.tooltipRef,G=V.triggerRef,Z=(O.composedPath==null||(j=O.composedPath())==null?void 0:j[0])||O.target;Z instanceof Node&&U!=null&&G!=null&&!U.contains(Z)&&!G.contains(Z)&&B()},"handleClickOutside");return document.addEventListener("mousedown",L),function(){return document.removeEventListener("mousedown",L)}}},[S,B]),i.useEffect(function(){if(!(d==null||!A("click")))return d.addEventListener("click",I),function(){return d.removeEventListener("click",I)}},[d,A,I]),i.useEffect(function(){if(!(d==null||!A("double-click")))return d.addEventListener("dblclick",I),function(){return d.removeEventListener("dblclick",I)}},[d,A,I]),i.useEffect(function(){if(!(d==null||!A("right-click"))){var L=u(function(O){O.preventDefault(),I()},"preventDefaultAndToggle");return d.addEventListener("contextmenu",L),function(){return d.removeEventListener("contextmenu",L)}}},[d,A,I]),i.useEffect(function(){if(!(d==null||!A("focus")))return d.addEventListener("focus",_),d.addEventListener("blur",B),function(){d.removeEventListener("focus",_),d.removeEventListener("blur",B)}},[d,A,_,B]),i.useEffect(function(){if(!(d==null||!A("hover")))return d.addEventListener("mouseenter",_),d.addEventListener("mouseleave",B),function(){d.removeEventListener("mouseenter",_),d.removeEventListener("mouseleave",B)}},[d,A,_,B]),i.useEffect(function(){if(!(p==null||!A("hover")||!S().finalConfig.interactive))return p.addEventListener("mouseenter",_),p.addEventListener("mouseleave",B),function(){p.removeEventListener("mouseenter",_),p.removeEventListener("mouseleave",B)}},[p,A,_,B,S]);var z=x==null||(r=x.state)==null||(n=r.modifiersData)==null||(a=n.hide)==null?void 0:a.isReferenceHidden;i.useEffect(function(){o.closeOnTriggerHidden&&z&&B()},[o.closeOnTriggerHidden,B,z]),i.useEffect(function(){if(!o.followCursor||d==null)return;function L(O){var j=O.clientX,V=O.clientY;Q0.getBoundingClientRect=X0(j,V),F==null||F()}return u(L,"setMousePosition"),d.addEventListener("mousemove",L),function(){return d.removeEventListener("mousemove",L)}},[o.followCursor,d,F]),i.useEffect(function(){if(!(p==null||F==null||o.mutationObserverOptions==null)){var L=new MutationObserver(F);return L.observe(p,o.mutationObserverOptions),function(){return L.disconnect()}}},[o.mutationObserverOptions,p,F]);var T=u(function(L){return L===void 0&&(L={}),Fe({},L,{style:Fe({},L.style,E.popper)},w.popper,{"data-popper-interactive":o.interactive})},"getTooltipProps"),M=u(function(L){return L===void 0&&(L={}),Fe({},L,w.arrow,{style:Fe({},L.style,E.arrow),"data-popper-arrow":!0})},"getArrowProps");return Fe({getArrowProps:M,getTooltipProps:T,setTooltipRef:h,setTriggerRef:f,tooltipRef:p,triggerRef:d,visible:y},x)}var Zw,Jw,Q0,ed,YC=R(()=>{Rd(),Di(),KC(),u(X1,"useGetLatest"),Zw=u(function(){},"noop"),u(Kw,"useControlledState"),u(X0,"generateBoundingClientRect"),Jw=["styles","attributes"],Q0={getBoundingClientRect:X0()},ed={closeOnOutsideClick:!0,closeOnTriggerHidden:!1,defaultVisible:!1,delayHide:0,delayShow:0,followCursor:!1,interactive:!1,mutationObserverOptions:{attributes:!0,childList:!0,subtree:!0},offset:[0,6],trigger:"hover"},u(Yw,"usePopperTooltip")}),d2,Oe,Ot,p2,f2,td,ZC=R(()=>{d2=me(Ci(),1),Oe=(0,d2.default)(1e3)((e,t,r,n=0)=>t.split("-")[0]===e?r:n),Ot=8,p2=k.div({position:"absolute",borderStyle:"solid"},({placement:e})=>{let t=0,r=0;switch(!0){case(e.startsWith("left")||e.startsWith("right")):{r=8;break}case(e.startsWith("top")||e.startsWith("bottom")):{t=8;break}}return{transform:`translate3d(${t}px, ${r}px, 0px)`}},({theme:e,color:t,placement:r})=>({bottom:`${Oe("top",r,`${Ot*-1}px`,"auto")}`,top:`${Oe("bottom",r,`${Ot*-1}px`,"auto")}`,right:`${Oe("left",r,`${Ot*-1}px`,"auto")}`,left:`${Oe("right",r,`${Ot*-1}px`,"auto")}`,borderBottomWidth:`${Oe("top",r,"0",Ot)}px`,borderTopWidth:`${Oe("bottom",r,"0",Ot)}px`,borderRightWidth:`${Oe("left",r,"0",Ot)}px`,borderLeftWidth:`${Oe("right",r,"0",Ot)}px`,borderTopColor:Oe("top",r,e.color[t]||t||e.base==="light"?sa(e.background.app):e.background.app,"transparent"),borderBottomColor:Oe("bottom",r,e.color[t]||t||e.base==="light"?sa(e.background.app):e.background.app,"transparent"),borderLeftColor:Oe("left",r,e.color[t]||t||e.base==="light"?sa(e.background.app):e.background.app,"transparent"),borderRightColor:Oe("right",r,e.color[t]||t||e.base==="light"?sa(e.background.app):e.background.app,"transparent")})),f2=k.div(({hidden:e})=>({display:e?"none":"inline-block",zIndex:2147483647}),({theme:e,color:t,hasChrome:r})=>r?{background:t&&e.color[t]||t||e.base==="light"?sa(e.background.app):e.background.app,filter:` +`)),l+=g+n[c+1]}),l}var gC=R(()=>{s(K7,"dedent")}),Y7={};Kn(Y7,{formatter:()=>Z7});var jg,Z7,vC=R(()=>{jg=me(Ci(),1),hC(),mC(),gC(),Z7=(0,jg.default)(2)(async(e,t)=>e===!1?t:e==="dedent"||e===!0?K7(t):(await G7.format(t,{parser:e,plugins:[ky],htmlWhitespaceSensitivity:"ignore"})).trim())}),j0,$0,yC=R(()=>{j0=s(function(e){return e.reduce(function(t,r){var n=r[0],a=r[1];return t[n]=a,t},{})},"fromEntries"),$0=typeof window<"u"&&window.document&&window.document.createElement?i.useLayoutEffect:i.useEffect}),Be,je,$e,_e,di,_n,Or,In,J7,P1,bn,X7,V0,N1,$g,Vg,Ug,qg,Wg,Gg,Kg,Yg,Zg,Q7,qe=R(()=>{Be="top",je="bottom",$e="right",_e="left",di="auto",_n=[Be,je,$e,_e],Or="start",In="end",J7="clippingParents",P1="viewport",bn="popper",X7="reference",V0=_n.reduce(function(e,t){return e.concat([t+"-"+Or,t+"-"+In])},[]),N1=[].concat(_n,[di]).reduce(function(e,t){return e.concat([t,t+"-"+Or,t+"-"+In])},[]),$g="beforeRead",Vg="read",Ug="afterRead",qg="beforeMain",Wg="main",Gg="afterMain",Kg="beforeWrite",Yg="write",Zg="afterWrite",Q7=[$g,Vg,Ug,qg,Wg,Gg,Kg,Yg,Zg]});function lt(e){return e?(e.nodeName||"").toLowerCase():null}var Xr=R(()=>{s(lt,"getNodeName")});function Te(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}var Rt=R(()=>{s(Te,"getWindow")});function cr(e){var t=Te(e).Element;return e instanceof t||e instanceof Element}function He(e){var t=Te(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Gi(e){if(typeof ShadowRoot>"u")return!1;var t=Te(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var We=R(()=>{Rt(),s(cr,"isElement"),s(He,"isHTMLElement"),s(Gi,"isShadowRoot")});function Jg(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},o=t.elements[r];!He(o)||!lt(o)||(Object.assign(o.style,n),Object.keys(a).forEach(function(l){var u=a[l];u===!1?o.removeAttribute(l):o.setAttribute(l,u===!0?"":u)}))})}function Xg(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],o=t.attributes[n]||{},l=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),u=l.reduce(function(c,d){return c[d]="",c},{});!He(a)||!lt(a)||(Object.assign(a.style,u),Object.keys(o).forEach(function(c){a.removeAttribute(c)}))})}}var ew,wC=R(()=>{Xr(),We(),s(Jg,"applyStyles"),s(Xg,"effect"),ew={name:"applyStyles",enabled:!0,phase:"write",fn:Jg,effect:Xg,requires:["computeStyles"]}});function rt(e){return e.split("-")[0]}var Qr=R(()=>{s(rt,"getBasePlacement")}),rr,so,$r,en=R(()=>{rr=Math.max,so=Math.min,$r=Math.round});function pi(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}var tw=R(()=>{s(pi,"getUAString")});function H1(){return!/^((?!chrome|android).)*safari/i.test(pi())}var rw=R(()=>{tw(),s(H1,"isLayoutViewport")});function Vr(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,o=1;t&&He(e)&&(a=e.offsetWidth>0&&$r(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&$r(n.height)/e.offsetHeight||1);var l=cr(e)?Te(e):window,u=l.visualViewport,c=!H1()&&r,d=(n.left+(c&&u?u.offsetLeft:0))/a,f=(n.top+(c&&u?u.offsetTop:0))/o,g=n.width/a,p=n.height/o;return{width:g,height:p,top:f,right:d+g,bottom:f+p,left:d,x:d,y:f}}var _o=R(()=>{We(),en(),Rt(),rw(),s(Vr,"getBoundingClientRect")});function Ki(e){var t=Vr(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}var j1=R(()=>{_o(),s(Ki,"getLayoutRect")});function $1(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Gi(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}var nw=R(()=>{We(),s($1,"contains")});function It(e){return Te(e).getComputedStyle(e)}var Io=R(()=>{Rt(),s(It,"getComputedStyle")});function aw(e){return["table","td","th"].indexOf(lt(e))>=0}var bC=R(()=>{Xr(),s(aw,"isTableElement")});function qt(e){return((cr(e)?e.ownerDocument:e.document)||window.document).documentElement}var fr=R(()=>{We(),s(qt,"getDocumentElement")});function Ro(e){return lt(e)==="html"?e:e.assignedSlot||e.parentNode||(Gi(e)?e.host:null)||qt(e)}var Yi=R(()=>{Xr(),fr(),We(),s(Ro,"getParentNode")});function U0(e){return!He(e)||It(e).position==="fixed"?null:e.offsetParent}function ow(e){var t=/firefox/i.test(pi()),r=/Trident/i.test(pi());if(r&&He(e)){var n=It(e);if(n.position==="fixed")return null}var a=Ro(e);for(Gi(a)&&(a=a.host);He(a)&&["html","body"].indexOf(lt(a))<0;){var o=It(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return a;a=a.parentNode}return null}function Qn(e){for(var t=Te(e),r=U0(e);r&&aw(r)&&It(r).position==="static";)r=U0(r);return r&&(lt(r)==="html"||lt(r)==="body"&&It(r).position==="static")?t:r||ow(e)||t}var zo=R(()=>{Rt(),Xr(),Io(),We(),bC(),Yi(),tw(),s(U0,"getTrueOffsetParent"),s(ow,"getContainingBlock"),s(Qn,"getOffsetParent")});function Zi(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var V1=R(()=>{s(Zi,"getMainAxisFromPlacement")});function Rn(e,t,r){return rr(e,so(t,r))}function lw(e,t,r){var n=Rn(e,t,r);return n>r?r:n}var iw=R(()=>{en(),s(Rn,"within"),s(lw,"withinMaxClamp")});function U1(){return{top:0,right:0,bottom:0,left:0}}var sw=R(()=>{s(U1,"getFreshSideObject")});function q1(e){return Object.assign({},U1(),e)}var uw=R(()=>{sw(),s(q1,"mergePaddingObject")});function W1(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var cw=R(()=>{s(W1,"expandToHashMap")});function Qg(e){var t,r=e.state,n=e.name,a=e.options,o=r.elements.arrow,l=r.modifiersData.popperOffsets,u=rt(r.placement),c=Zi(u),d=[_e,$e].indexOf(u)>=0,f=d?"height":"width";if(!(!o||!l)){var g=dw(a.padding,r),p=Ki(o),h=c==="y"?Be:_e,v=c==="y"?je:$e,y=r.rects.reference[f]+r.rects.reference[c]-l[c]-r.rects.popper[f],b=l[c]-r.rects.reference[c],C=Qn(o),D=C?c==="y"?C.clientHeight||0:C.clientWidth||0:0,E=y/2-b/2,w=g[h],x=D-p[f]-g[v],F=D/2-p[f]/2+E,S=Rn(w,F,x),A=c;r.modifiersData[n]=(t={},t[A]=S,t.centerOffset=S-F,t)}}function e2(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||$1(t.elements.popper,a)&&(t.elements.arrow=a))}var dw,pw,DC=R(()=>{Qr(),j1(),nw(),zo(),V1(),iw(),uw(),cw(),qe(),dw=s(function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,q1(typeof e!="number"?e:W1(e,_n))},"toPaddingObject"),s(Qg,"arrow"),s(e2,"effect"),pw={name:"arrow",enabled:!0,phase:"main",fn:Qg,effect:e2,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}});function Ur(e){return e.split("-")[1]}var To=R(()=>{s(Ur,"getVariation")});function fw(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:$r(r*a)/a||0,y:$r(n*a)/a||0}}function q0(e){var t,r=e.popper,n=e.popperRect,a=e.placement,o=e.variation,l=e.offsets,u=e.position,c=e.gpuAcceleration,d=e.adaptive,f=e.roundOffsets,g=e.isFixed,p=l.x,h=p===void 0?0:p,v=l.y,y=v===void 0?0:v,b=typeof f=="function"?f({x:h,y}):{x:h,y};h=b.x,y=b.y;var C=l.hasOwnProperty("x"),D=l.hasOwnProperty("y"),E=_e,w=Be,x=window;if(d){var F=Qn(r),S="clientHeight",A="clientWidth";if(F===Te(r)&&(F=qt(r),It(F).position!=="static"&&u==="absolute"&&(S="scrollHeight",A="scrollWidth")),F=F,a===Be||(a===_e||a===$e)&&o===In){w=je;var B=g&&F===x&&x.visualViewport?x.visualViewport.height:F[S];y-=B-n.height,y*=c?1:-1}if(a===_e||(a===Be||a===je)&&o===In){E=$e;var _=g&&F===x&&x.visualViewport?x.visualViewport.width:F[A];h-=_-n.width,h*=c?1:-1}}var I=Object.assign({position:u},d&&hw),z=f===!0?fw({x:h,y},Te(r)):{x:h,y};if(h=z.x,y=z.y,c){var T;return Object.assign({},I,(T={},T[w]=D?"0":"",T[E]=C?"0":"",T.transform=(x.devicePixelRatio||1)<=1?"translate("+h+"px, "+y+"px)":"translate3d("+h+"px, "+y+"px, 0)",T))}return Object.assign({},I,(t={},t[w]=D?y+"px":"",t[E]=C?h+"px":"",t.transform="",t))}function t2(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,o=r.adaptive,l=o===void 0?!0:o,u=r.roundOffsets,c=u===void 0?!0:u,d={placement:rt(t.placement),variation:Ur(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,q0(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,q0(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var hw,mw,EC=R(()=>{qe(),zo(),Rt(),fr(),Io(),Qr(),To(),en(),hw={top:"auto",right:"auto",bottom:"auto",left:"auto"},s(fw,"roundOffsetsByDPR"),s(q0,"mapToStyles"),s(t2,"computeStyles"),mw={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:t2,data:{}}});function r2(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,o=a===void 0?!0:a,l=n.resize,u=l===void 0?!0:l,c=Te(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&d.forEach(function(f){f.addEventListener("scroll",r.update,Pa)}),u&&c.addEventListener("resize",r.update,Pa),function(){o&&d.forEach(function(f){f.removeEventListener("scroll",r.update,Pa)}),u&&c.removeEventListener("resize",r.update,Pa)}}var Pa,gw,CC=R(()=>{Rt(),Pa={passive:!0},s(r2,"effect"),gw={name:"eventListeners",enabled:!0,phase:"write",fn:s(function(){},"fn"),effect:r2,data:{}}});function Ya(e){return e.replace(/left|right|bottom|top/g,function(t){return vw[t]})}var vw,xC=R(()=>{vw={left:"right",right:"left",bottom:"top",top:"bottom"},s(Ya,"getOppositePlacement")});function W0(e){return e.replace(/start|end/g,function(t){return yw[t]})}var yw,FC=R(()=>{yw={start:"end",end:"start"},s(W0,"getOppositeVariationPlacement")});function Ji(e){var t=Te(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}var G1=R(()=>{Rt(),s(Ji,"getWindowScroll")});function Xi(e){return Vr(qt(e)).left+Ji(e).scrollLeft}var K1=R(()=>{_o(),fr(),G1(),s(Xi,"getWindowScrollBarX")});function ww(e,t){var r=Te(e),n=qt(e),a=r.visualViewport,o=n.clientWidth,l=n.clientHeight,u=0,c=0;if(a){o=a.width,l=a.height;var d=H1();(d||!d&&t==="fixed")&&(u=a.offsetLeft,c=a.offsetTop)}return{width:o,height:l,x:u+Xi(e),y:c}}var SC=R(()=>{Rt(),fr(),K1(),rw(),s(ww,"getViewportRect")});function bw(e){var t,r=qt(e),n=Ji(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=rr(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),l=rr(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),u=-n.scrollLeft+Xi(e),c=-n.scrollTop;return It(a||r).direction==="rtl"&&(u+=rr(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:l,x:u,y:c}}var AC=R(()=>{fr(),Io(),K1(),G1(),en(),s(bw,"getDocumentRect")});function Qi(e){var t=It(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}var Y1=R(()=>{Io(),s(Qi,"isScrollParent")});function Z1(e){return["html","body","#document"].indexOf(lt(e))>=0?e.ownerDocument.body:He(e)&&Qi(e)?e:Z1(Ro(e))}var kC=R(()=>{Yi(),Y1(),Xr(),We(),s(Z1,"getScrollParent")});function zn(e,t){var r;t===void 0&&(t=[]);var n=Z1(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),o=Te(n),l=a?[o].concat(o.visualViewport||[],Qi(n)?n:[]):n,u=t.concat(l);return a?u:u.concat(zn(Ro(l)))}var Dw=R(()=>{kC(),Yi(),Rt(),Y1(),s(zn,"listScrollParents")});function fi(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}var Ew=R(()=>{s(fi,"rectToClientRect")});function Cw(e,t){var r=Vr(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function G0(e,t,r){return t===P1?fi(ww(e,r)):cr(t)?Cw(t,r):fi(bw(qt(e)))}function xw(e){var t=zn(Ro(e)),r=["absolute","fixed"].indexOf(It(e).position)>=0,n=r&&He(e)?Qn(e):e;return cr(n)?t.filter(function(a){return cr(a)&&$1(a,n)&<(a)!=="body"}):[]}function Fw(e,t,r,n){var a=t==="clippingParents"?xw(e):[].concat(t),o=[].concat(a,[r]),l=o[0],u=o.reduce(function(c,d){var f=G0(e,d,n);return c.top=rr(f.top,c.top),c.right=so(f.right,c.right),c.bottom=so(f.bottom,c.bottom),c.left=rr(f.left,c.left),c},G0(e,l,n));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}var BC=R(()=>{qe(),SC(),AC(),Dw(),zo(),fr(),Io(),We(),_o(),Yi(),nw(),Xr(),Ew(),en(),s(Cw,"getInnerBoundingClientRect"),s(G0,"getClientRectFromMixedType"),s(xw,"getClippingParents"),s(Fw,"getClippingRect")});function J1(e){var t=e.reference,r=e.element,n=e.placement,a=n?rt(n):null,o=n?Ur(n):null,l=t.x+t.width/2-r.width/2,u=t.y+t.height/2-r.height/2,c;switch(a){case Be:c={x:l,y:t.y-r.height};break;case je:c={x:l,y:t.y+t.height};break;case $e:c={x:t.x+t.width,y:u};break;case _e:c={x:t.x-r.width,y:u};break;default:c={x:t.x,y:t.y}}var d=a?Zi(a):null;if(d!=null){var f=d==="y"?"height":"width";switch(o){case Or:c[d]=c[d]-(t[f]/2-r[f]/2);break;case In:c[d]=c[d]+(t[f]/2-r[f]/2);break}}return c}var Sw=R(()=>{Qr(),To(),V1(),qe(),s(J1,"computeOffsets")});function $n(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,o=r.strategy,l=o===void 0?e.strategy:o,u=r.boundary,c=u===void 0?J7:u,d=r.rootBoundary,f=d===void 0?P1:d,g=r.elementContext,p=g===void 0?bn:g,h=r.altBoundary,v=h===void 0?!1:h,y=r.padding,b=y===void 0?0:y,C=q1(typeof b!="number"?b:W1(b,_n)),D=p===bn?X7:bn,E=e.rects.popper,w=e.elements[v?D:p],x=Fw(cr(w)?w:w.contextElement||qt(e.elements.popper),c,f,l),F=Vr(e.elements.reference),S=J1({reference:F,element:E,placement:a}),A=fi(Object.assign({},E,S)),B=p===bn?A:F,_={top:x.top-B.top+C.top,bottom:B.bottom-x.bottom+C.bottom,left:x.left-B.left+C.left,right:B.right-x.right+C.right},I=e.modifiersData.offset;if(p===bn&&I){var z=I[a];Object.keys(_).forEach(function(T){var M=[$e,je].indexOf(T)>=0?1:-1,L=[Be,je].indexOf(T)>=0?"y":"x";_[T]+=z[L]*M})}return _}var es=R(()=>{BC(),fr(),_o(),Sw(),Ew(),qe(),We(),uw(),cw(),s($n,"detectOverflow")});function Aw(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,l=r.padding,u=r.flipVariations,c=r.allowedAutoPlacements,d=c===void 0?N1:c,f=Ur(n),g=f?u?V0:V0.filter(function(v){return Ur(v)===f}):_n,p=g.filter(function(v){return d.indexOf(v)>=0});p.length===0&&(p=g);var h=p.reduce(function(v,y){return v[y]=$n(e,{placement:y,boundary:a,rootBoundary:o,padding:l})[rt(y)],v},{});return Object.keys(h).sort(function(v,y){return h[v]-h[y]})}var _C=R(()=>{To(),qe(),es(),Qr(),s(Aw,"computeAutoPlacement")});function kw(e){if(rt(e)===di)return[];var t=Ya(e);return[W0(e),t,W0(t)]}function n2(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,o=a===void 0?!0:a,l=r.altAxis,u=l===void 0?!0:l,c=r.fallbackPlacements,d=r.padding,f=r.boundary,g=r.rootBoundary,p=r.altBoundary,h=r.flipVariations,v=h===void 0?!0:h,y=r.allowedAutoPlacements,b=t.options.placement,C=rt(b),D=C===b,E=c||(D||!v?[Ya(b)]:kw(b)),w=[b].concat(E).reduce(function(ae,N){return ae.concat(rt(N)===di?Aw(t,{placement:N,boundary:f,rootBoundary:g,padding:d,flipVariations:v,allowedAutoPlacements:y}):N)},[]),x=t.rects.reference,F=t.rects.popper,S=new Map,A=!0,B=w[0],_=0;_=0,L=M?"width":"height",O=$n(t,{placement:I,boundary:f,rootBoundary:g,altBoundary:p,padding:d}),j=M?T?$e:_e:T?je:Be;x[L]>F[L]&&(j=Ya(j));var V=Ya(j),U=[];if(o&&U.push(O[z]<=0),u&&U.push(O[j]<=0,O[V]<=0),U.every(function(ae){return ae})){B=I,A=!1;break}S.set(I,U)}if(A)for(var G=v?3:1,Z=s(function(ae){var N=w.find(function(K){var J=S.get(K);if(J)return J.slice(0,ae).every(function(ge){return ge})});if(N)return B=N,"break"},"_loop"),re=G;re>0;re--){var Y=Z(re);if(Y==="break")break}t.placement!==B&&(t.modifiersData[n]._skip=!0,t.placement=B,t.reset=!0)}}var Bw,IC=R(()=>{xC(),Qr(),FC(),es(),_C(),qe(),To(),s(kw,"getExpandedFallbackPlacements"),s(n2,"flip"),Bw={name:"flip",enabled:!0,phase:"main",fn:n2,requiresIfExists:["offset"],data:{_skip:!1}}});function K0(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Y0(e){return[Be,$e,je,_e].some(function(t){return e[t]>=0})}function a2(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,l=$n(t,{elementContext:"reference"}),u=$n(t,{altBoundary:!0}),c=K0(l,n),d=K0(u,a,o),f=Y0(c),g=Y0(d);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:f,hasPopperEscaped:g},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":g})}var _w,RC=R(()=>{qe(),es(),s(K0,"getSideOffsets"),s(Y0,"isAnySideFullyClipped"),s(a2,"hide"),_w={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:a2}});function Iw(e,t,r){var n=rt(e),a=[_e,Be].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,l=o[0],u=o[1];return l=l||0,u=(u||0)*a,[_e,$e].indexOf(n)>=0?{x:u,y:l}:{x:l,y:u}}function o2(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=a===void 0?[0,0]:a,l=N1.reduce(function(f,g){return f[g]=Iw(g,t.rects,o),f},{}),u=l[t.placement],c=u.x,d=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=d),t.modifiersData[n]=l}var Rw,zC=R(()=>{Qr(),qe(),s(Iw,"distanceAndSkiddingToXY"),s(o2,"offset"),Rw={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:o2}});function l2(e){var t=e.state,r=e.name;t.modifiersData[r]=J1({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var zw,TC=R(()=>{Sw(),s(l2,"popperOffsets"),zw={name:"popperOffsets",enabled:!0,phase:"read",fn:l2,data:{}}});function Tw(e){return e==="x"?"y":"x"}var LC=R(()=>{s(Tw,"getAltAxis")});function i2(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,o=a===void 0?!0:a,l=r.altAxis,u=l===void 0?!1:l,c=r.boundary,d=r.rootBoundary,f=r.altBoundary,g=r.padding,p=r.tether,h=p===void 0?!0:p,v=r.tetherOffset,y=v===void 0?0:v,b=$n(t,{boundary:c,rootBoundary:d,padding:g,altBoundary:f}),C=rt(t.placement),D=Ur(t.placement),E=!D,w=Zi(C),x=Tw(w),F=t.modifiersData.popperOffsets,S=t.rects.reference,A=t.rects.popper,B=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,_=typeof B=="number"?{mainAxis:B,altAxis:B}:Object.assign({mainAxis:0,altAxis:0},B),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,z={x:0,y:0};if(F){if(o){var T,M=w==="y"?Be:_e,L=w==="y"?je:$e,O=w==="y"?"height":"width",j=F[w],V=j+b[M],U=j-b[L],G=h?-A[O]/2:0,Z=D===Or?S[O]:A[O],re=D===Or?-A[O]:-S[O],Y=t.elements.arrow,ae=h&&Y?Ki(Y):{width:0,height:0},N=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:U1(),K=N[M],J=N[L],ge=Rn(0,S[O],ae[O]),Le=E?S[O]/2-G-ge-K-_.mainAxis:Z-ge-K-_.mainAxis,mr=E?-S[O]/2+G+ge+J+_.mainAxis:re+ge+J+_.mainAxis,dt=t.elements.arrow&&Qn(t.elements.arrow),Gt=dt?w==="y"?dt.clientTop||0:dt.clientLeft||0:0,nn=(T=I==null?void 0:I[w])!=null?T:0,gr=j+Le-nn-Gt,oa=j+mr-nn,Oo=Rn(h?so(V,gr):V,j,h?rr(U,oa):U);F[w]=Oo,z[w]=Oo-j}if(u){var an,pt=w==="x"?Be:_e,Po=w==="x"?je:$e,Ee=F[x],vr=x==="y"?"height":"width",ft=Ee+b[pt],on=Ee-b[Po],ht=[Be,_e].indexOf(C)!==-1,ln=(an=I==null?void 0:I[x])!=null?an:0,mt=ht?ft:Ee-S[vr]-A[vr]-ln+_.altAxis,ve=ht?Ee+S[vr]+A[vr]-ln-_.altAxis:on,Ke=h&&ht?lw(mt,Ee,ve):Rn(h?mt:ft,Ee,h?ve:on);F[x]=Ke,z[x]=Ke-Ee}t.modifiersData[n]=z}}var Lw,MC=R(()=>{qe(),Qr(),V1(),LC(),iw(),j1(),zo(),es(),To(),sw(),en(),s(i2,"preventOverflow"),Lw={name:"preventOverflow",enabled:!0,phase:"main",fn:i2,requiresIfExists:["offset"]}}),Mw=R(()=>{});function Ow(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}var OC=R(()=>{s(Ow,"getHTMLElementScroll")});function Pw(e){return e===Te(e)||!He(e)?Ji(e):Ow(e)}var PC=R(()=>{G1(),Rt(),We(),OC(),s(Pw,"getNodeScroll")});function Nw(e){var t=e.getBoundingClientRect(),r=$r(t.width)/e.offsetWidth||1,n=$r(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Hw(e,t,r){r===void 0&&(r=!1);var n=He(t),a=He(t)&&Nw(t),o=qt(t),l=Vr(e,a,r),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&((lt(t)!=="body"||Qi(o))&&(u=Pw(t)),He(t)?(c=Vr(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):o&&(c.x=Xi(o))),{x:l.left+u.scrollLeft-c.x,y:l.top+u.scrollTop-c.y,width:l.width,height:l.height}}var NC=R(()=>{_o(),PC(),Xr(),We(),K1(),fr(),Y1(),en(),s(Nw,"isElementScaled"),s(Hw,"getCompositeRect")});function jw(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function a(o){r.add(o.name);var l=[].concat(o.requires||[],o.requiresIfExists||[]);l.forEach(function(u){if(!r.has(u)){var c=t.get(u);c&&a(c)}}),n.push(o)}return s(a,"sort"),e.forEach(function(o){r.has(o.name)||a(o)}),n}function $w(e){var t=jw(e);return Q7.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}var HC=R(()=>{qe(),s(jw,"order"),s($w,"orderModifiers")});function Vw(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}var jC=R(()=>{s(Vw,"debounce")});function Uw(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var $C=R(()=>{s(Uw,"mergeByName")});function Z0(){for(var e=arguments.length,t=new Array(e),r=0;r{NC(),j1(),Dw(),zo(),HC(),jC(),$C(),We(),J0={placement:"bottom",modifiers:[],strategy:"absolute"},s(Z0,"areValidElements"),s(qw,"popperGenerator")}),s2,Ww,UC=R(()=>{VC(),CC(),TC(),EC(),wC(),zC(),IC(),MC(),DC(),RC(),Mw(),s2=[gw,zw,mw,ew,Rw,Bw,Lw,pw,_w],Ww=qw({defaultModifiers:s2})}),qC=R(()=>{qe(),Mw(),UC()}),WC=$((e,t)=>{var r=typeof Element<"u",n=typeof Map=="function",a=typeof Set=="function",o=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function l(u,c){if(u===c)return!0;if(u&&c&&typeof u=="object"&&typeof c=="object"){if(u.constructor!==c.constructor)return!1;var d,f,g;if(Array.isArray(u)){if(d=u.length,d!=c.length)return!1;for(f=d;f--!==0;)if(!l(u[f],c[f]))return!1;return!0}var p;if(n&&u instanceof Map&&c instanceof Map){if(u.size!==c.size)return!1;for(p=u.entries();!(f=p.next()).done;)if(!c.has(f.value[0]))return!1;for(p=u.entries();!(f=p.next()).done;)if(!l(f.value[1],c.get(f.value[0])))return!1;return!0}if(a&&u instanceof Set&&c instanceof Set){if(u.size!==c.size)return!1;for(p=u.entries();!(f=p.next()).done;)if(!c.has(f.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(u)&&ArrayBuffer.isView(c)){if(d=u.length,d!=c.length)return!1;for(f=d;f--!==0;)if(u[f]!==c[f])return!1;return!0}if(u.constructor===RegExp)return u.source===c.source&&u.flags===c.flags;if(u.valueOf!==Object.prototype.valueOf&&typeof u.valueOf=="function"&&typeof c.valueOf=="function")return u.valueOf()===c.valueOf();if(u.toString!==Object.prototype.toString&&typeof u.toString=="function"&&typeof c.toString=="function")return u.toString()===c.toString();if(g=Object.keys(u),d=g.length,d!==Object.keys(c).length)return!1;for(f=d;f--!==0;)if(!Object.prototype.hasOwnProperty.call(c,g[f]))return!1;if(r&&u instanceof Element)return!1;for(f=d;f--!==0;)if(!((g[f]==="_owner"||g[f]==="__v"||g[f]==="__o")&&u.$$typeof)&&!l(u[g[f]],c[g[f]]))return!1;return!0}return u!==u&&c!==c}s(l,"equal"),t.exports=s(function(u,c){try{return l(u,c)}catch(d){if((d.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw d}},"isEqual")}),u2,c2,Gw,GC=R(()=>{qC(),u2=me(WC()),yC(),c2=[],Gw=s(function(e,t,r){r===void 0&&(r={});var n=i.useRef(null),a={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||c2},o=i.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=o[0],u=o[1],c=i.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:s(function(g){var p=g.state,h=Object.keys(p.elements);kd.flushSync(function(){u({styles:j0(h.map(function(v){return[v,p.styles[v]||{}]})),attributes:j0(h.map(function(v){return[v,p.attributes[v]]}))})})},"fn"),requires:["computeStyles"]}},[]),d=i.useMemo(function(){var g={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[c,{name:"applyStyles",enabled:!1}])};return(0,u2.default)(n.current,g)?n.current||g:(n.current=g,g)},[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,c]),f=i.useRef();return $0(function(){f.current&&f.current.setOptions(d)},[d]),$0(function(){if(!(e==null||t==null)){var g=r.createPopper||Ww,p=g(e,t,d);return f.current=p,function(){p.destroy(),f.current=null}}},[e,t,r.createPopper]),{state:f.current?f.current.state:null,styles:l.styles,attributes:l.attributes,update:f.current?f.current.update:null,forceUpdate:f.current?f.current.forceUpdate:null}},"usePopper")}),KC=R(()=>{GC()});function X1(e){var t=i.useRef(e);return t.current=e,i.useCallback(function(){return t.current},[])}function Kw(e){var t=e.initial,r=e.value,n=e.onChange,a=n===void 0?Zw:n;if(t===void 0&&r===void 0)throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');var o=i.useState(t),l=o[0],u=o[1],c=X1(l),d=i.useCallback(function(g){var p=c(),h=typeof g=="function"?g(p):g;typeof h.persist=="function"&&h.persist(),u(h),typeof a=="function"&&a(h)},[c,a]),f=r!==void 0;return[f?r:l,f?a:d]}function X0(e,t){return e===void 0&&(e=0),t===void 0&&(t=0),function(){return{width:0,height:0,top:t,right:e,bottom:t,left:e,x:0,y:0,toJSON:s(function(){return null},"toJSON")}}}function Yw(e,t){var r,n,a;e===void 0&&(e={}),t===void 0&&(t={});var o=Object.keys(ed).reduce(function(L,O){var j;return Fe({},L,(j={},j[O]=L[O]!==void 0?L[O]:ed[O],j))},e),l=i.useMemo(function(){return[{name:"offset",options:{offset:o.offset}}]},Array.isArray(o.offset)?o.offset:[]),u=Fe({},t,{placement:t.placement||o.placement,modifiers:t.modifiers||l}),c=i.useState(null),d=c[0],f=c[1],g=i.useState(null),p=g[0],h=g[1],v=Kw({initial:o.defaultVisible,value:o.visible,onChange:o.onVisibleChange}),y=v[0],b=v[1],C=i.useRef();i.useEffect(function(){return function(){return clearTimeout(C.current)}},[]);var D=Gw(o.followCursor?Q0:d,p,u),E=D.styles,w=D.attributes,x=xi(D,Jw),F=x.update,S=X1({visible:y,triggerRef:d,tooltipRef:p,finalConfig:o}),A=i.useCallback(function(L){return Array.isArray(o.trigger)?o.trigger.includes(L):o.trigger===L},Array.isArray(o.trigger)?o.trigger:[o.trigger]),B=i.useCallback(function(){clearTimeout(C.current),C.current=window.setTimeout(function(){return b(!1)},o.delayHide)},[o.delayHide,b]),_=i.useCallback(function(){clearTimeout(C.current),C.current=window.setTimeout(function(){return b(!0)},o.delayShow)},[o.delayShow,b]),I=i.useCallback(function(){S().visible?B():_()},[S,B,_]);i.useEffect(function(){if(S().finalConfig.closeOnOutsideClick){var L=s(function(O){var j,V=S(),U=V.tooltipRef,G=V.triggerRef,Z=(O.composedPath==null||(j=O.composedPath())==null?void 0:j[0])||O.target;Z instanceof Node&&U!=null&&G!=null&&!U.contains(Z)&&!G.contains(Z)&&B()},"handleClickOutside");return document.addEventListener("mousedown",L),function(){return document.removeEventListener("mousedown",L)}}},[S,B]),i.useEffect(function(){if(!(d==null||!A("click")))return d.addEventListener("click",I),function(){return d.removeEventListener("click",I)}},[d,A,I]),i.useEffect(function(){if(!(d==null||!A("double-click")))return d.addEventListener("dblclick",I),function(){return d.removeEventListener("dblclick",I)}},[d,A,I]),i.useEffect(function(){if(!(d==null||!A("right-click"))){var L=s(function(O){O.preventDefault(),I()},"preventDefaultAndToggle");return d.addEventListener("contextmenu",L),function(){return d.removeEventListener("contextmenu",L)}}},[d,A,I]),i.useEffect(function(){if(!(d==null||!A("focus")))return d.addEventListener("focus",_),d.addEventListener("blur",B),function(){d.removeEventListener("focus",_),d.removeEventListener("blur",B)}},[d,A,_,B]),i.useEffect(function(){if(!(d==null||!A("hover")))return d.addEventListener("mouseenter",_),d.addEventListener("mouseleave",B),function(){d.removeEventListener("mouseenter",_),d.removeEventListener("mouseleave",B)}},[d,A,_,B]),i.useEffect(function(){if(!(p==null||!A("hover")||!S().finalConfig.interactive))return p.addEventListener("mouseenter",_),p.addEventListener("mouseleave",B),function(){p.removeEventListener("mouseenter",_),p.removeEventListener("mouseleave",B)}},[p,A,_,B,S]);var z=x==null||(r=x.state)==null||(n=r.modifiersData)==null||(a=n.hide)==null?void 0:a.isReferenceHidden;i.useEffect(function(){o.closeOnTriggerHidden&&z&&B()},[o.closeOnTriggerHidden,B,z]),i.useEffect(function(){if(!o.followCursor||d==null)return;function L(O){var j=O.clientX,V=O.clientY;Q0.getBoundingClientRect=X0(j,V),F==null||F()}return s(L,"setMousePosition"),d.addEventListener("mousemove",L),function(){return d.removeEventListener("mousemove",L)}},[o.followCursor,d,F]),i.useEffect(function(){if(!(p==null||F==null||o.mutationObserverOptions==null)){var L=new MutationObserver(F);return L.observe(p,o.mutationObserverOptions),function(){return L.disconnect()}}},[o.mutationObserverOptions,p,F]);var T=s(function(L){return L===void 0&&(L={}),Fe({},L,{style:Fe({},L.style,E.popper)},w.popper,{"data-popper-interactive":o.interactive})},"getTooltipProps"),M=s(function(L){return L===void 0&&(L={}),Fe({},L,w.arrow,{style:Fe({},L.style,E.arrow),"data-popper-arrow":!0})},"getArrowProps");return Fe({getArrowProps:M,getTooltipProps:T,setTooltipRef:h,setTriggerRef:f,tooltipRef:p,triggerRef:d,visible:y},x)}var Zw,Jw,Q0,ed,YC=R(()=>{Rd(),Di(),KC(),s(X1,"useGetLatest"),Zw=s(function(){},"noop"),s(Kw,"useControlledState"),s(X0,"generateBoundingClientRect"),Jw=["styles","attributes"],Q0={getBoundingClientRect:X0()},ed={closeOnOutsideClick:!0,closeOnTriggerHidden:!1,defaultVisible:!1,delayHide:0,delayShow:0,followCursor:!1,interactive:!1,mutationObserverOptions:{attributes:!0,childList:!0,subtree:!0},offset:[0,6],trigger:"hover"},s(Yw,"usePopperTooltip")}),d2,Oe,Ot,p2,f2,td,ZC=R(()=>{d2=me(Ci(),1),Oe=(0,d2.default)(1e3)((e,t,r,n=0)=>t.split("-")[0]===e?r:n),Ot=8,p2=k.div({position:"absolute",borderStyle:"solid"},({placement:e})=>{let t=0,r=0;switch(!0){case(e.startsWith("left")||e.startsWith("right")):{r=8;break}case(e.startsWith("top")||e.startsWith("bottom")):{t=8;break}}return{transform:`translate3d(${t}px, ${r}px, 0px)`}},({theme:e,color:t,placement:r})=>({bottom:`${Oe("top",r,`${Ot*-1}px`,"auto")}`,top:`${Oe("bottom",r,`${Ot*-1}px`,"auto")}`,right:`${Oe("left",r,`${Ot*-1}px`,"auto")}`,left:`${Oe("right",r,`${Ot*-1}px`,"auto")}`,borderBottomWidth:`${Oe("top",r,"0",Ot)}px`,borderTopWidth:`${Oe("bottom",r,"0",Ot)}px`,borderRightWidth:`${Oe("left",r,"0",Ot)}px`,borderLeftWidth:`${Oe("right",r,"0",Ot)}px`,borderTopColor:Oe("top",r,e.color[t]||t||e.base==="light"?ua(e.background.app):e.background.app,"transparent"),borderBottomColor:Oe("bottom",r,e.color[t]||t||e.base==="light"?ua(e.background.app):e.background.app,"transparent"),borderLeftColor:Oe("left",r,e.color[t]||t||e.base==="light"?ua(e.background.app):e.background.app,"transparent"),borderRightColor:Oe("right",r,e.color[t]||t||e.base==="light"?ua(e.background.app):e.background.app,"transparent")})),f2=k.div(({hidden:e})=>({display:e?"none":"inline-block",zIndex:2147483647}),({theme:e,color:t,hasChrome:r})=>r?{background:t&&e.color[t]||t||e.base==="light"?ua(e.background.app):e.background.app,filter:` drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)) - `,borderRadius:e.appBorderRadius+2,fontSize:e.typography.size.s1}:{}),td=m.forwardRef(({placement:e="top",hasChrome:t=!0,children:r,arrowProps:n={},tooltipRef:a,color:o,withArrows:l,...s},c)=>m.createElement(f2,{"data-testid":"tooltip",hasChrome:t,ref:c,...s,color:o},t&&l&&m.createElement(p2,{placement:e,...n,color:o}),r)),td.displayName="Tooltip"}),Q1={};Kn(Q1,{WithToolTipState:()=>hi,WithTooltip:()=>hi,WithTooltipPure:()=>rd});var Ca,h2,m2,rd,hi,ep=R(()=>{Id(),YC(),ZC(),{document:Ca}=Ei,h2=k.div` + `,borderRadius:e.appBorderRadius+2,fontSize:e.typography.size.s1}:{}),td=m.forwardRef(({placement:e="top",hasChrome:t=!0,children:r,arrowProps:n={},tooltipRef:a,color:o,withArrows:l,...u},c)=>m.createElement(f2,{"data-testid":"tooltip",hasChrome:t,ref:c,...u,color:o},t&&l&&m.createElement(p2,{placement:e,...n,color:o}),r)),td.displayName="Tooltip"}),Q1={};Kn(Q1,{WithToolTipState:()=>hi,WithTooltip:()=>hi,WithTooltipPure:()=>rd});var Ca,h2,m2,rd,hi,ep=R(()=>{Id(),YC(),ZC(),{document:Ca}=Ei,h2=k.div` display: inline-block; cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; `,m2=k.g` cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; -`,rd=u(({svg:e=!1,trigger:t="click",closeOnOutsideClick:r=!1,placement:n="top",modifiers:a=[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:o=!0,defaultVisible:l=!1,withArrows:s,offset:c,tooltip:d,children:f,closeOnTriggerHidden:g,mutationObserverOptions:p,delayHide:h,visible:v,interactive:y,delayShow:b,strategy:C,followCursor:D,onVisibleChange:E,...w})=>{let x=e?m2:h2,{getArrowProps:F,getTooltipProps:S,setTooltipRef:A,setTriggerRef:B,visible:_,state:I}=Yw({trigger:t,placement:n,defaultVisible:l,delayHide:h,interactive:y,closeOnOutsideClick:r,closeOnTriggerHidden:g,onVisibleChange:E,delayShow:b,followCursor:D,mutationObserverOptions:p,visible:v,offset:c},{modifiers:a,strategy:C}),z=_?m.createElement(td,{placement:I==null?void 0:I.placement,ref:A,hasChrome:o,arrowProps:F(),withArrows:s,...S()},typeof d=="function"?d({onHide:u(()=>E(!1),"onHide")}):d):null;return m.createElement(m.Fragment,null,m.createElement(x,{trigger:t,ref:B,...w},f),_&&y4.createPortal(z,Ca.body))},"WithTooltipPure"),hi=u(({startOpen:e=!1,onVisibleChange:t,...r})=>{let[n,a]=i.useState(e),o=i.useCallback(l=>{t&&t(l)===!1||a(l)},[t]);return i.useEffect(()=>{let l=u(()=>o(!1),"hide");Ca.addEventListener("keydown",l,!1);let s=Array.from(Ca.getElementsByTagName("iframe")),c=[];return s.forEach(d=>{let f=u(()=>{try{d.contentWindow.document&&(d.contentWindow.document.addEventListener("click",l),c.push(()=>{try{d.contentWindow.document.removeEventListener("click",l)}catch{}}))}catch{}},"bind");f(),d.addEventListener("load",f),c.push(()=>{d.removeEventListener("load",f)})}),()=>{Ca.removeEventListener("keydown",l),c.forEach(d=>{d()})}}),m.createElement(rd,{...r,visible:n,onVisibleChange:o})},"WithToolTipState")}),ee=u(({...e},t)=>{let r=[e.class,e.className];return delete e.class,e.className=["sbdocs",`sbdocs-${t}`,...r].filter(Boolean).join(" "),e},"nameSpaceClassNames");Di();rE();_d();function Xw(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Mn(e,t)}u(Xw,"_inheritsLoose");nE();_d();function Qw(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}u(Qw,"_isNativeFunction");function tp(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(tp=u(function(){return!!e},"_isNativeReflectConstruct"))()}u(tp,"_isNativeReflectConstruct");_d();function eb(e,t,r){if(tp())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var a=new(e.bind.apply(e,n));return r&&Mn(a,r.prototype),a}u(eb,"_construct");function mi(e){var t=typeof Map=="function"?new Map:void 0;return mi=u(function(r){if(r===null||!Qw(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return eb(r,arguments,Pl(this).constructor)}return u(n,"Wrapper"),n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Mn(n,r)},"_wrapNativeSuper"),mi(e)}u(mi,"_wrapNativeSuper");var JC={1:`Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }). +`,rd=s(({svg:e=!1,trigger:t="click",closeOnOutsideClick:r=!1,placement:n="top",modifiers:a=[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:o=!0,defaultVisible:l=!1,withArrows:u,offset:c,tooltip:d,children:f,closeOnTriggerHidden:g,mutationObserverOptions:p,delayHide:h,visible:v,interactive:y,delayShow:b,strategy:C,followCursor:D,onVisibleChange:E,...w})=>{let x=e?m2:h2,{getArrowProps:F,getTooltipProps:S,setTooltipRef:A,setTriggerRef:B,visible:_,state:I}=Yw({trigger:t,placement:n,defaultVisible:l,delayHide:h,interactive:y,closeOnOutsideClick:r,closeOnTriggerHidden:g,onVisibleChange:E,delayShow:b,followCursor:D,mutationObserverOptions:p,visible:v,offset:c},{modifiers:a,strategy:C}),z=_?m.createElement(td,{placement:I==null?void 0:I.placement,ref:A,hasChrome:o,arrowProps:F(),withArrows:u,...S()},typeof d=="function"?d({onHide:s(()=>E(!1),"onHide")}):d):null;return m.createElement(m.Fragment,null,m.createElement(x,{trigger:t,ref:B,...w},f),_&&yv.createPortal(z,Ca.body))},"WithTooltipPure"),hi=s(({startOpen:e=!1,onVisibleChange:t,...r})=>{let[n,a]=i.useState(e),o=i.useCallback(l=>{t&&t(l)===!1||a(l)},[t]);return i.useEffect(()=>{let l=s(()=>o(!1),"hide");Ca.addEventListener("keydown",l,!1);let u=Array.from(Ca.getElementsByTagName("iframe")),c=[];return u.forEach(d=>{let f=s(()=>{try{d.contentWindow.document&&(d.contentWindow.document.addEventListener("click",l),c.push(()=>{try{d.contentWindow.document.removeEventListener("click",l)}catch{}}))}catch{}},"bind");f(),d.addEventListener("load",f),c.push(()=>{d.removeEventListener("load",f)})}),()=>{Ca.removeEventListener("keydown",l),c.forEach(d=>{d()})}}),m.createElement(rd,{...r,visible:n,onVisibleChange:o})},"WithToolTipState")}),ee=s(({...e},t)=>{let r=[e.class,e.className];return delete e.class,e.className=["sbdocs",`sbdocs-${t}`,...r].filter(Boolean).join(" "),e},"nameSpaceClassNames");Di();rE();_d();function Xw(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Mn(e,t)}s(Xw,"_inheritsLoose");nE();_d();function Qw(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}s(Qw,"_isNativeFunction");function tp(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(tp=s(function(){return!!e},"_isNativeReflectConstruct"))()}s(tp,"_isNativeReflectConstruct");_d();function eb(e,t,r){if(tp())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var a=new(e.bind.apply(e,n));return r&&Mn(a,r.prototype),a}s(eb,"_construct");function mi(e){var t=typeof Map=="function"?new Map:void 0;return mi=s(function(r){if(r===null||!Qw(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return eb(r,arguments,Pl(this).constructor)}return s(n,"Wrapper"),n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Mn(n,r)},"_wrapNativeSuper"),mi(e)}s(mi,"_wrapNativeSuper");var JC={1:`Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }). `,2:`Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }). @@ -238,10 +238,10 @@ To pass a single animation please supply them in simple values, e.g. animation(' `,77:`remToPx expects a value in "rem" but you provided it in "%s". `,78:`base must be set in "px" or "%" but you set it in "%s". -`};function tb(){for(var e=arguments.length,t=new Array(e),r=0;r1?a-1:0),l=1;l=0&&a<1?(s=o,c=l):a>=1&&a<2?(s=l,c=o):a>=2&&a<3?(c=o,d=l):a>=3&&a<4?(c=l,d=o):a>=4&&a<5?(s=l,d=o):a>=5&&a<6&&(s=o,d=l);var f=r-o/2,g=s+f,p=c+f,h=d+f;return n(g,p,h)}u(Vn,"hslToRgb");var g2={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function nb(e){if(typeof e!="string")return e;var t=e.toLowerCase();return g2[t]?"#"+g2[t]:e}u(nb,"nameToHex");var XC=/^#[a-fA-F0-9]{6}$/,QC=/^#[a-fA-F0-9]{8}$/,e9=/^#[a-fA-F0-9]{3}$/,t9=/^#[a-fA-F0-9]{4}$/,xc=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,r9=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,n9=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,a9=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function tu(e){if(typeof e!="string")throw new Dt(3);var t=nb(e);if(t.match(XC))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(QC)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(e9))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(t9)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=xc.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=r9.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var l=n9.exec(t);if(l){var s=parseInt(""+l[1],10),c=parseInt(""+l[2],10)/100,d=parseInt(""+l[3],10)/100,f="rgb("+Vn(s,c,d)+")",g=xc.exec(f);if(!g)throw new Dt(4,t,f);return{red:parseInt(""+g[1],10),green:parseInt(""+g[2],10),blue:parseInt(""+g[3],10)}}var p=a9.exec(t.substring(0,50));if(p){var h=parseInt(""+p[1],10),v=parseInt(""+p[2],10)/100,y=parseInt(""+p[3],10)/100,b="rgb("+Vn(h,v,y)+")",C=xc.exec(b);if(!C)throw new Dt(4,t,b);return{red:parseInt(""+C[1],10),green:parseInt(""+C[2],10),blue:parseInt(""+C[3],10),alpha:parseFloat(""+p[4])>1?parseFloat(""+p[4])/100:parseFloat(""+p[4])}}throw new Dt(5)}u(tu,"parseToRgb");function ab(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),l=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:l,alpha:e.alpha}:{hue:0,saturation:0,lightness:l};var s,c=a-o,d=l>.5?c/(2-a-o):c/(a+o);switch(a){case t:s=(r-n)/c+(r=1?so(e,t,r):"rgba("+Vn(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?so(e.hue,e.saturation,e.lightness):"rgba("+Vn(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Dt(2)}u(ib,"hsla");function gi(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return nd("#"+Qt(e)+Qt(t)+Qt(r));if(typeof e=="object"&&t===void 0&&r===void 0)return nd("#"+Qt(e.red)+Qt(e.green)+Qt(e.blue));throw new Dt(6)}u(gi,"rgb");function co(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=tu(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?gi(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?gi(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Dt(7)}u(co,"rgba");var l9=u(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),i9=u(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),u9=u(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),s9=u(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function np(e){if(typeof e!="object")throw new Dt(8);if(i9(e))return co(e);if(l9(e))return gi(e);if(s9(e))return ib(e);if(u9(e))return lb(e);throw new Dt(8)}u(np,"toColorString");function ap(e,t,r){return u(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):ap(e,t,n)},"fn")}u(ap,"curried");function ru(e){return ap(e,e.length,[])}u(ru,"curry");function nu(e,t,r){return Math.max(e,Math.min(t,r))}u(nu,"guard");function ub(e,t){if(t==="transparent")return t;var r=rp(t);return np(Fe({},r,{lightness:nu(0,1,r.lightness-parseFloat(e))}))}u(ub,"darken");var c9=ru(ub),Cn=c9;function sb(e,t){if(t==="transparent")return t;var r=rp(t);return np(Fe({},r,{lightness:nu(0,1,r.lightness+parseFloat(e))}))}u(sb,"lighten");var d9=ru(sb),v2=d9;function cb(e,t){if(t==="transparent")return t;var r=tu(t),n=typeof r.alpha=="number"?r.alpha:1,a=Fe({},r,{alpha:nu(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return co(a)}u(cb,"transparentize");var p9=ru(cb),tt=p9,ea=u(({theme:e})=>({margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}}),"headerCommon"),Wt=u(({theme:e})=>({lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?tt(.1,e.color.defaultText):tt(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border}),"codeCommon"),te=u(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"}),"withReset"),tn={margin:"16px 0"},Lo=k.div(te),f9=u(({href:e="",...t})=>{let r=/^\//.test(e)?`./?path=${e}`:e,n=/^#.*/.test(e)?"_self":"_top";return m.createElement("a",{href:r,target:n,...t})},"Link"),db=k(f9)(te,({theme:e})=>({fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}})),pb=k.blockquote(te,tn,({theme:e})=>({borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}}));Ai();var h9=u(e=>typeof e=="string","isReactChildString"),m9=/[\n\r]/g,g9=k.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}),Wt),v9=k($a)(({theme:e})=>({fontFamily:e.typography.fonts.mono,fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),op=u(({className:e,children:t,...r})=>{let n=(e||"").match(/lang-(\S+)/),a=i.Children.toArray(t);return a.filter(h9).some(o=>o.match(m9))?m.createElement(v9,{bordered:!0,copyable:!0,language:(n==null?void 0:n[1])??"text",format:!1,...r},t):m.createElement(g9,{...r,className:e},a)},"Code"),fb=k.dl(te,tn,{padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}}),hb=k.div(te),mb=k.h1(te,ea,({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),lp=k.h2(te,ea,({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),ip=k.h3(te,ea,({theme:e})=>({fontSize:`${e.typography.size.m1}px`})),gb=k.h4(te,ea,({theme:e})=>({fontSize:`${e.typography.size.s3}px`})),vb=k.h5(te,ea,({theme:e})=>({fontSize:`${e.typography.size.s2}px`})),yb=k.h6(te,ea,({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),wb=k.hr(({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),bb=k.img({maxWidth:"100%"}),Db=k.li(te,({theme:e})=>({fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":Wt({theme:e})})),y9={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},Eb=k.ol(te,tn,y9,{listStyle:"decimal"}),Cb=k.p(te,tn,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":Wt({theme:e})})),xb=k.pre(te,tn,({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}})),Fb=k.span(te,({theme:e})=>({"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}})),Sb=k.title(Wt),Ab=k.table(te,tn,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}})),w9={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},kb=k.ul(te,tn,w9,{listStyle:"disc"}),Bb={h1:u(e=>m.createElement(mb,{...ee(e,"h1")}),"h1"),h2:u(e=>m.createElement(lp,{...ee(e,"h2")}),"h2"),h3:u(e=>m.createElement(ip,{...ee(e,"h3")}),"h3"),h4:u(e=>m.createElement(gb,{...ee(e,"h4")}),"h4"),h5:u(e=>m.createElement(vb,{...ee(e,"h5")}),"h5"),h6:u(e=>m.createElement(yb,{...ee(e,"h6")}),"h6"),pre:u(e=>m.createElement(xb,{...ee(e,"pre")}),"pre"),a:u(e=>m.createElement(db,{...ee(e,"a")}),"a"),hr:u(e=>m.createElement(wb,{...ee(e,"hr")}),"hr"),dl:u(e=>m.createElement(fb,{...ee(e,"dl")}),"dl"),blockquote:u(e=>m.createElement(pb,{...ee(e,"blockquote")}),"blockquote"),table:u(e=>m.createElement(Ab,{...ee(e,"table")}),"table"),img:u(e=>m.createElement(bb,{...ee(e,"img")}),"img"),div:u(e=>m.createElement(hb,{...ee(e,"div")}),"div"),span:u(e=>m.createElement(Fb,{...ee(e,"span")}),"span"),li:u(e=>m.createElement(Db,{...ee(e,"li")}),"li"),ul:u(e=>m.createElement(kb,{...ee(e,"ul")}),"ul"),ol:u(e=>m.createElement(Eb,{...ee(e,"ol")}),"ol"),p:u(e=>m.createElement(Cb,{...ee(e,"p")}),"p"),code:u(e=>m.createElement(op,{...ee(e,"code")}),"code"),tt:u(e=>m.createElement(Sb,{...ee(e,"tt")}),"tt"),resetwrapper:u(e=>m.createElement(Lo,{...ee(e,"resetwrapper")}),"resetwrapper")};k.div(({theme:e})=>({display:"inline-block",fontSize:11,lineHeight:"12px",alignSelf:"center",padding:"4px 12px",borderRadius:"3em",fontWeight:e.typography.weight.bold}),{svg:{height:12,width:12,marginRight:4,marginTop:-2,path:{fill:"currentColor"}}},({theme:e,status:t})=>{switch(t){case"critical":return{color:e.color.critical,background:e.background.critical};case"negative":return{color:e.color.negativeText,background:e.background.negative,boxShadow:e.base==="light"?`inset 0 0 0 1px ${tt(.9,e.color.negativeText)}`:"none"};case"warning":return{color:e.color.warningText,background:e.background.warning,boxShadow:e.base==="light"?`inset 0 0 0 1px ${tt(.9,e.color.warningText)}`:"none"};case"neutral":return{color:e.color.dark,background:e.color.mediumlight,boxShadow:e.base==="light"?`inset 0 0 0 1px ${tt(.9,e.color.dark)}`:"none"};case"positive":return{color:e.color.positiveText,background:e.background.positive,boxShadow:e.base==="light"?`inset 0 0 0 1px ${tt(.9,e.color.positiveText)}`:"none"};default:return{}}});var b9={};Kn(b9,{AccessibilityAltIcon:()=>jA,AccessibilityIcon:()=>HA,AddIcon:()=>MF,AdminIcon:()=>_A,AlertAltIcon:()=>cS,AlertIcon:()=>sS,AlignLeftIcon:()=>fx,AlignRightIcon:()=>hx,AppleIcon:()=>zx,ArrowBottomLeftIcon:()=>rA,ArrowBottomRightIcon:()=>nA,ArrowDownIcon:()=>JS,ArrowLeftIcon:()=>XS,ArrowRightIcon:()=>QS,ArrowSolidDownIcon:()=>oA,ArrowSolidLeftIcon:()=>lA,ArrowSolidRightIcon:()=>iA,ArrowSolidUpIcon:()=>aA,ArrowTopLeftIcon:()=>eA,ArrowTopRightIcon:()=>tA,ArrowUpIcon:()=>ZS,AzureDevOpsIcon:()=>Nx,BackIcon:()=>wA,BasketIcon:()=>zS,BatchAcceptIcon:()=>BF,BatchDenyIcon:()=>kF,BeakerIcon:()=>TS,BellIcon:()=>mS,BitbucketIcon:()=>Hx,BoldIcon:()=>Dx,BookIcon:()=>ax,BookmarkHollowIcon:()=>ES,BookmarkIcon:()=>CS,BottomBarIcon:()=>pF,BottomBarToggleIcon:()=>fF,BoxIcon:()=>yF,BranchIcon:()=>_x,BrowserIcon:()=>aF,ButtonIcon:()=>eS,CPUIcon:()=>hF,CalendarIcon:()=>dx,CameraIcon:()=>$9,CategoryIcon:()=>ix,CertificateIcon:()=>BS,ChangedIcon:()=>jF,ChatIcon:()=>KF,CheckIcon:()=>SF,ChevronDownIcon:()=>US,ChevronLeftIcon:()=>qS,ChevronRightIcon:()=>Rb,ChevronSmallDownIcon:()=>GS,ChevronSmallLeftIcon:()=>KS,ChevronSmallRightIcon:()=>YS,ChevronSmallUpIcon:()=>WS,ChevronUpIcon:()=>VS,ChromaticIcon:()=>jx,ChromeIcon:()=>Ox,CircleHollowIcon:()=>bS,CircleIcon:()=>DS,ClearIcon:()=>VF,CloseAltIcon:()=>RF,CloseIcon:()=>PF,CloudHollowIcon:()=>OS,CloudIcon:()=>PS,CogIcon:()=>DF,CollapseIcon:()=>sA,CommandIcon:()=>aS,CommentAddIcon:()=>qF,CommentIcon:()=>UF,CommentsIcon:()=>GF,CommitIcon:()=>Bx,CompassIcon:()=>CA,ComponentDrivenIcon:()=>$x,ComponentIcon:()=>C9,ContrastIcon:()=>L9,ControlsIcon:()=>_F,CopyIcon:()=>lx,CreditIcon:()=>QF,CrossIcon:()=>Ib,DashboardIcon:()=>AA,DatabaseIcon:()=>mF,DeleteIcon:()=>NF,DiamondIcon:()=>xS,DirectionIcon:()=>IA,DiscordIcon:()=>Vx,DocChartIcon:()=>gx,DocListIcon:()=>vx,DocumentIcon:()=>ox,DownloadIcon:()=>yA,DragIcon:()=>yx,EditIcon:()=>bF,EllipsisIcon:()=>xF,EmailIcon:()=>dS,ExpandAltIcon:()=>uA,ExpandIcon:()=>cA,EyeCloseIcon:()=>z9,EyeIcon:()=>R9,FaceHappyIcon:()=>OA,FaceNeutralIcon:()=>PA,FaceSadIcon:()=>NA,FacebookIcon:()=>Ux,FailedIcon:()=>$F,FastForwardIcon:()=>Y9,FigmaIcon:()=>qx,FilterIcon:()=>mx,FlagIcon:()=>MS,FolderIcon:()=>ux,FormIcon:()=>AF,GDriveIcon:()=>Wx,GithubIcon:()=>Gx,GitlabIcon:()=>Kx,GlobeIcon:()=>EA,GoogleIcon:()=>Yx,GraphBarIcon:()=>px,GraphLineIcon:()=>cx,GraphqlIcon:()=>Zx,GridAltIcon:()=>A9,GridIcon:()=>x9,GrowIcon:()=>P9,HeartHollowIcon:()=>FS,HeartIcon:()=>SS,HomeIcon:()=>BA,HourglassIcon:()=>LS,InfoIcon:()=>lS,ItalicIcon:()=>Ex,JumpToIcon:()=>wS,KeyIcon:()=>JF,LightningIcon:()=>T9,LightningOffIcon:()=>_b,LinkBrokenIcon:()=>hS,LinkIcon:()=>fS,LinkedinIcon:()=>rF,LinuxIcon:()=>Tx,ListOrderedIcon:()=>xx,ListUnorderedIcon:()=>Fx,LocationIcon:()=>xA,LockIcon:()=>YF,MarkdownIcon:()=>Ax,MarkupIcon:()=>bx,MediumIcon:()=>Jx,MemoryIcon:()=>gF,MenuIcon:()=>wx,MergeIcon:()=>Rx,MirrorIcon:()=>O9,MobileIcon:()=>lF,MoonIcon:()=>nx,NutIcon:()=>EF,OutboxIcon:()=>XF,OutlineIcon:()=>F9,PaintBrushIcon:()=>N9,PaperClipIcon:()=>Cx,ParagraphIcon:()=>Sx,PassedIcon:()=>HF,PhoneIcon:()=>pS,PhotoDragIcon:()=>S9,PhotoIcon:()=>E9,PinAltIcon:()=>TF,PinIcon:()=>FA,PlayAllHollowIcon:()=>Q9,PlayBackIcon:()=>W9,PlayHollowIcon:()=>X9,PlayIcon:()=>q9,PlayNextIcon:()=>G9,PlusIcon:()=>IF,PointerDefaultIcon:()=>rS,PointerHandIcon:()=>nS,PowerIcon:()=>wF,PrintIcon:()=>sx,ProceedIcon:()=>bA,ProfileIcon:()=>MA,PullRequestIcon:()=>Ix,QuestionIcon:()=>iS,RSSIcon:()=>gS,RedirectIcon:()=>fA,ReduxIcon:()=>Xx,RefreshIcon:()=>DA,ReplyIcon:()=>mA,RepoIcon:()=>kx,RequestChangeIcon:()=>WF,RewindIcon:()=>K9,RulerIcon:()=>H9,SaveIcon:()=>oS,SearchIcon:()=>k9,ShareAltIcon:()=>vS,ShareIcon:()=>yS,ShieldIcon:()=>RS,SideBySideIcon:()=>ex,SidebarAltIcon:()=>sF,SidebarAltToggleIcon:()=>cF,SidebarIcon:()=>uF,SidebarToggleIcon:()=>dF,SpeakerIcon:()=>U9,StackedIcon:()=>tx,StarHollowIcon:()=>AS,StarIcon:()=>kS,StatusFailIcon:()=>HS,StatusPassIcon:()=>$S,StatusWarnIcon:()=>jS,StickerIcon:()=>NS,StopAltHollowIcon:()=>J9,StopAltIcon:()=>Z9,StopIcon:()=>j9,StorybookIcon:()=>Px,StructureIcon:()=>vF,SubtractIcon:()=>OF,SunIcon:()=>rx,SupportIcon:()=>uS,SwitchAltIcon:()=>M9,SyncIcon:()=>gA,TabletIcon:()=>oF,ThumbsUpIcon:()=>IS,TimeIcon:()=>SA,TimerIcon:()=>kA,TransferIcon:()=>pA,TrashIcon:()=>zF,TwitterIcon:()=>Qx,TypeIcon:()=>tS,UbuntuIcon:()=>Lx,UndoIcon:()=>hA,UnfoldIcon:()=>dA,UnlockIcon:()=>ZF,UnpinIcon:()=>LF,UploadIcon:()=>vA,UserAddIcon:()=>TA,UserAltIcon:()=>zA,UserIcon:()=>RA,UsersIcon:()=>LA,VSCodeIcon:()=>tF,VerifiedIcon:()=>_S,VideoIcon:()=>V9,WandIcon:()=>FF,WatchIcon:()=>iF,WindowsIcon:()=>Mx,WrenchIcon:()=>CF,XIcon:()=>nF,YoutubeIcon:()=>eF,ZoomIcon:()=>B9,ZoomOutIcon:()=>_9,ZoomResetIcon:()=>I9,iconList:()=>D9});var D9=[{name:"Images",icons:["PhotoIcon","ComponentIcon","GridIcon","OutlineIcon","PhotoDragIcon","GridAltIcon","SearchIcon","ZoomIcon","ZoomOutIcon","ZoomResetIcon","EyeIcon","EyeCloseIcon","LightningIcon","LightningOffIcon","ContrastIcon","SwitchAltIcon","MirrorIcon","GrowIcon","PaintBrushIcon","RulerIcon","StopIcon","CameraIcon","VideoIcon","SpeakerIcon","PlayIcon","PlayBackIcon","PlayNextIcon","RewindIcon","FastForwardIcon","StopAltIcon","StopAltHollowIcon","PlayHollowIcon","PlayAllHollowIcon","SideBySideIcon","StackedIcon","SunIcon","MoonIcon"]},{name:"Documents",icons:["BookIcon","DocumentIcon","CopyIcon","CategoryIcon","FolderIcon","PrintIcon","GraphLineIcon","CalendarIcon","GraphBarIcon","AlignLeftIcon","AlignRightIcon","FilterIcon","DocChartIcon","DocListIcon","DragIcon","MenuIcon"]},{name:"Editing",icons:["MarkupIcon","BoldIcon","ItalicIcon","PaperClipIcon","ListOrderedIcon","ListUnorderedIcon","ParagraphIcon","MarkdownIcon"]},{name:"Git",icons:["RepoIcon","CommitIcon","BranchIcon","PullRequestIcon","MergeIcon"]},{name:"OS",icons:["AppleIcon","LinuxIcon","UbuntuIcon","WindowsIcon","ChromeIcon"]},{name:"Logos",icons:["StorybookIcon","AzureDevOpsIcon","BitbucketIcon","ChromaticIcon","ComponentDrivenIcon","DiscordIcon","FacebookIcon","FigmaIcon","GDriveIcon","GithubIcon","GitlabIcon","GoogleIcon","GraphqlIcon","MediumIcon","ReduxIcon","TwitterIcon","YoutubeIcon","VSCodeIcon","LinkedinIcon","XIcon"]},{name:"Devices",icons:["BrowserIcon","TabletIcon","MobileIcon","WatchIcon","SidebarIcon","SidebarAltIcon","SidebarAltToggleIcon","SidebarToggleIcon","BottomBarIcon","BottomBarToggleIcon","CPUIcon","DatabaseIcon","MemoryIcon","StructureIcon","BoxIcon","PowerIcon"]},{name:"CRUD",icons:["EditIcon","CogIcon","NutIcon","WrenchIcon","EllipsisIcon","WandIcon","CheckIcon","FormIcon","BatchDenyIcon","BatchAcceptIcon","ControlsIcon","PlusIcon","CloseAltIcon","CrossIcon","TrashIcon","PinAltIcon","UnpinIcon","AddIcon","SubtractIcon","CloseIcon","DeleteIcon","PassedIcon","ChangedIcon","FailedIcon","ClearIcon","CommentIcon","CommentAddIcon","RequestChangeIcon","CommentsIcon","ChatIcon","LockIcon","UnlockIcon","KeyIcon","OutboxIcon","CreditIcon","ButtonIcon","TypeIcon","PointerDefaultIcon","PointerHandIcon","CommandIcon","SaveIcon"]},{name:"Communicate",icons:["InfoIcon","QuestionIcon","SupportIcon","AlertIcon","AlertAltIcon","EmailIcon","PhoneIcon","LinkIcon","LinkBrokenIcon","BellIcon","RSSIcon","ShareAltIcon","ShareIcon","JumpToIcon","CircleHollowIcon","CircleIcon","BookmarkHollowIcon","BookmarkIcon","DiamondIcon","HeartHollowIcon","HeartIcon","StarHollowIcon","StarIcon","CertificateIcon","VerifiedIcon","ThumbsUpIcon","ShieldIcon","BasketIcon","BeakerIcon","HourglassIcon","FlagIcon","CloudHollowIcon","CloudIcon","StickerIcon","StatusFailIcon","StatusWarnIcon","StatusPassIcon"]},{name:"Wayfinding",icons:["ChevronUpIcon","ChevronDownIcon","ChevronLeftIcon","ChevronRightIcon","ChevronSmallUpIcon","ChevronSmallDownIcon","ChevronSmallLeftIcon","ChevronSmallRightIcon","ArrowUpIcon","ArrowDownIcon","ArrowLeftIcon","ArrowRightIcon","ArrowTopLeftIcon","ArrowTopRightIcon","ArrowBottomLeftIcon","ArrowBottomRightIcon","ArrowSolidUpIcon","ArrowSolidDownIcon","ArrowSolidLeftIcon","ArrowSolidRightIcon","ExpandAltIcon","CollapseIcon","ExpandIcon","UnfoldIcon","TransferIcon","RedirectIcon","UndoIcon","ReplyIcon","SyncIcon","UploadIcon","DownloadIcon","BackIcon","ProceedIcon","RefreshIcon","GlobeIcon","CompassIcon","LocationIcon","PinIcon","TimeIcon","DashboardIcon","TimerIcon","HomeIcon","AdminIcon","DirectionIcon"]},{name:"People",icons:["UserIcon","UserAltIcon","UserAddIcon","UsersIcon","ProfileIcon","FaceHappyIcon","FaceNeutralIcon","FaceSadIcon","AccessibilityIcon","AccessibilityAltIcon"]}],E9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.25 4.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 1.504v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5zM2 9.297V2.004h10v5.293L9.854 5.15a.5.5 0 00-.708 0L6.5 7.797 5.354 6.65a.5.5 0 00-.708 0L2 9.297zM9.5 6.21l2.5 2.5v3.293H2V10.71l3-3 3.146 3.146a.5.5 0 00.708-.707L7.207 8.504 9.5 6.21z",fill:e}))),C9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1.004a2.5 2.5 0 00-2.5 2.5v7a2.5 2.5 0 002.5 2.5h7a2.5 2.5 0 002.5-2.5v-7a2.5 2.5 0 00-2.5-2.5h-7zm8.5 5.5H7.5v-4.5h3a1.5 1.5 0 011.5 1.5v3zm0 1v3a1.5 1.5 0 01-1.5 1.5h-3v-4.5H12zm-5.5 4.5v-4.5H2v3a1.5 1.5 0 001.5 1.5h3zM2 6.504h4.5v-4.5h-3a1.5 1.5 0 00-1.5 1.5v3z",fill:e}))),x9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5H6a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H1.5a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5h3.5v3.5H2zM7.5 1.504a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5zM1.5 7.504a.5.5 0 00-.5.5v4.5a.5.5 0 00.5.5H6a.5.5 0 00.5-.5v-4.5a.5.5 0 00-.5-.5H1.5zm.5 1v3.5h3.5v-3.5H2zM7.5 8.004a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5z",fill:e}))),F9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2 2.004v2H1v-2.5a.5.5 0 01.5-.5H4v1H2zM1 9.004v-4h1v4H1zM1 10.004v2.5a.5.5 0 00.5.5H4v-1H2v-2H1zM10 13.004h2.5a.5.5 0 00.5-.5v-2.5h-1v2h-2v1zM12 4.004h1v-2.5a.5.5 0 00-.5-.5H10v1h2v2zM9 12.004v1H5v-1h4zM9 1.004v1H5v-1h4zM13 9.004h-1v-4h1v4zM7 8.004a1 1 0 100-2 1 1 0 000 2z",fill:e}))),S9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.25 3.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7.003v-6.5a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v2.5h1v-2h2v6.5a.5.5 0 00.5.5H10v2H8v1h2.5a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-3.5zm-10-6v5.794L5.646 5.15a.5.5 0 01.708 0L7.5 6.297l2.646-2.647a.5.5 0 01.708 0L13 5.797V1.004H4zm9 6.208l-2.5-2.5-2.293 2.293L9.354 8.15a.5.5 0 11-.708.707L6 6.211l-2 2v1.793h9V7.21z",fill:e}),i.createElement("path",{d:"M0 10.004v-3h1v3H0zM0 13.504v-2.5h1v2h2v1H.5a.5.5 0 01-.5-.5zM7 14.004H4v-1h3v1z",fill:e}))),A9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4 3V1h1v2H4zM4 6v2h1V6H4zM4 11v2h1v-2H4zM9 11v2h1v-2H9zM9 8V6h1v2H9zM9 1v2h1V1H9zM13 5h-2V4h2v1zM11 10h2V9h-2v1zM3 10H1V9h2v1zM1 5h2V4H1v1zM8 5H6V4h2v1zM6 10h2V9H6v1zM4 4h1v1H4V4zM10 4H9v1h1V4zM9 9h1v1H9V9zM5 9H4v1h1V9z",fill:e}))),k9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),B9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),_9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),I9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),R9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),z9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),i.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),T9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.522 6.6a.566.566 0 00-.176.544.534.534 0 00.382.41l2.781.721-1.493 5.013a.563.563 0 00.216.627.496.496 0 00.63-.06l6.637-6.453a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L2.522 6.6zm7.72.63l-3.067-.804L9.02 2.29 3.814 6.803l2.95.764-1.277 4.285 4.754-4.622zM4.51 13.435l.037.011-.037-.011z",fill:e}))),_b=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M10.139 8.725l1.36-1.323a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L5.464 4.05l.708.71 2.848-2.47-1.64 3.677.697.697 2.164.567-.81.787.708.708zM2.523 6.6a.566.566 0 00-.177.544.534.534 0 00.382.41l2.782.721-1.494 5.013a.563.563 0 00.217.627.496.496 0 00.629-.06l3.843-3.736-.708-.707-2.51 2.44 1.137-3.814-.685-.685-2.125-.55.844-.731-.71-.71L2.524 6.6zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z",fill:e}))),L9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h10a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-10a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5zm1 1v2.293l2.293-2.293H4zm-1 0v6.5a.499.499 0 00.497.5H10v2H1v-9h2zm1-1h6.5a.499.499 0 01.5.5v6.5h2v-9H4v2zm6 7V7.71l-2.293 2.293H10zm0-3.707V4.71l-5.293 5.293h1.586L10 6.297zm-.707-2.293H7.707L4 7.71v1.586l5.293-5.293z",fill:e}))),M9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004v-2.5a.5.5 0 01.5-.5h10a.5.5 0 01.5.5v10a.5.5 0 01-.5.5H11v2.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-10a.5.5 0 01.5-.5H3zm1 0v-2h9v9h-2v-6.5a.5.5 0 00-.5-.5H4zm6 8v2H1v-9h2v6.5a.5.5 0 00.5.5H10zm0-1H4v-6h6v6z",fill:e}))),O9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5h10v-10l-10 10z",fill:e}))),P9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.5 1.004a.5.5 0 100 1H12v10.5a.5.5 0 001 0v-10.5a1 1 0 00-1-1H1.5z",fill:e}),i.createElement("path",{d:"M1 3.504a.5.5 0 01.5-.5H10a1 1 0 011 1v8.5a.5.5 0 01-1 0v-8.5H1.5a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 5.004a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h7a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5h-7zm.5 1v6h6v-6H2z",fill:e}))),N9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.854.146a.5.5 0 00-.708 0L2.983 8.31a2.24 2.24 0 00-1.074.6C.677 10.14.24 11.902.085 12.997 0 13.6 0 14 0 14s.4 0 1.002-.085c1.095-.155 2.857-.592 4.089-1.824a2.24 2.24 0 00.6-1.074l8.163-8.163a.5.5 0 000-.708l-2-2zM5.6 9.692l.942-.942L5.25 7.457l-.942.943A2.242 2.242 0 015.6 9.692zm1.649-1.65L12.793 2.5 11.5 1.207 5.957 6.75 7.25 8.043zM4.384 9.617a1.25 1.25 0 010 1.768c-.767.766-1.832 1.185-2.78 1.403-.17.04-.335.072-.49.098.027-.154.06-.318.099-.49.219-.947.637-2.012 1.403-2.779a1.25 1.25 0 011.768 0z",fill:e}))),H9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.5 1.004a.5.5 0 01.5.5v.5h10v-.5a.5.5 0 011 0v2a.5.5 0 01-1 0v-.5H2v.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 6a.5.5 0 00-.5.5v6a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-6a.5.5 0 00-.5-.5h-11zM2 7v5h10V7h-1v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H7.5v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H4v2.5a.5.5 0 01-1 0V7H2z",fill:e}))),j9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4.5 4a.5.5 0 00-.5.5v5a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),$9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7a3 3 0 11-6 0 3 3 0 016 0zM9 7a2 2 0 11-4 0 2 2 0 014 0z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 1a.5.5 0 00-.5.5v.504H.5a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H6V1.5a.5.5 0 00-.5-.5h-3zM1 3.004v8h12v-8H1z",fill:e}))),V9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),U9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 4.5v5a.5.5 0 00.5.5H4l3.17 2.775a.5.5 0 00.83-.377V1.602a.5.5 0 00-.83-.376L4 4H1.5a.5.5 0 00-.5.5zM4 9V5H2v4h2zm.998.545A.504.504 0 005 9.5v-5c0-.015 0-.03-.002-.044L7 2.704v8.592L4.998 9.545z",fill:e}),i.createElement("path",{d:"M10.15 1.752a.5.5 0 00-.3.954 4.502 4.502 0 010 8.588.5.5 0 00.3.954 5.502 5.502 0 000-10.496z",fill:e}),i.createElement("path",{d:"M10.25 3.969a.5.5 0 00-.5.865 2.499 2.499 0 010 4.332.5.5 0 10.5.866 3.499 3.499 0 000-6.063z",fill:e}))),q9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M12.813 7.425l-9.05 5.603A.5.5 0 013 12.603V1.398a.5.5 0 01.763-.425l9.05 5.602a.5.5 0 010 .85z",fill:e}))),W9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.24 12.035L3.697 7.427A.494.494 0 013.5 7.2v4.05a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0V6.8a.494.494 0 01.198-.227l7.541-4.608A.5.5 0 0112 2.39v9.217a.5.5 0 01-.76.427z",fill:e}))),G9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2.76 12.035l7.542-4.608A.495.495 0 0010.5 7.2v4.05a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0V6.8a.495.495 0 00-.198-.227L2.76 1.965A.5.5 0 002 2.39v9.217a.5.5 0 00.76.427z",fill:e}))),K9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M9 2.42v2.315l4.228-2.736a.5.5 0 01.772.42v9.162a.5.5 0 01-.772.42L9 9.263v2.317a.5.5 0 01-.772.42L1.5 7.647v3.603a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0v3.603L8.228 2A.5.5 0 019 2.42z",fill:e}))),Y9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5 2.42v2.315L.772 1.999a.5.5 0 00-.772.42v9.162a.5.5 0 00.772.42L5 9.263v2.317a.5.5 0 00.772.42L12.5 7.647v3.603a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0v3.603L5.772 2A.5.5 0 005 2.42z",fill:e}))),Z9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11z",fill:e}))),J9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.2 2.204v9.6h9.6v-9.6H2.2zm-.7-1.2a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11z",fill:e}))),X9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.2 10.88L10.668 7 4.2 3.12v7.76zM3 2.414v9.174a.8.8 0 001.212.686l7.645-4.587a.8.8 0 000-1.372L4.212 1.727A.8.8 0 003 2.413z",fill:e}))),Q9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.2 10.88L11.668 7 5.2 3.12v7.76zM4 2.414v9.174a.8.8 0 001.212.686l7.645-4.587a.8.8 0 000-1.372L5.212 1.727A.8.8 0 004 2.413zM1.5 1.6a.6.6 0 01.6.6v9.6a.6.6 0 11-1.2 0V2.2a.6.6 0 01.6-.6z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.963 1.932a.6.6 0 01.805-.268l1 .5a.6.6 0 01-.536 1.073l-1-.5a.6.6 0 01-.269-.805zM3.037 11.132a.6.6 0 01-.269.805l-1 .5a.6.6 0 01-.536-1.073l1-.5a.6.6 0 01.805.268z",fill:e}))),ex=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5v-10h5v10H2z",fill:e}))),tx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 1.004a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11zm-10.5 1h10v5H2v-5z",fill:e}))),rx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("g",{clipPath:"url(#prefix__clip0_1107_3492)",fill:e},i.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0V2a.5.5 0 001 0V.5z"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10a3 3 0 100-6 3 3 0 000 6zm0-1a2 2 0 100-4 2 2 0 000 4z"}),i.createElement("path",{d:"M7 11.5a.5.5 0 01.5.5v1.5a.5.5 0 01-1 0V12a.5.5 0 01.5-.5zM11.5 7a.5.5 0 01.5-.5h1.5a.5.5 0 010 1H12a.5.5 0 01-.5-.5zM.5 6.5a.5.5 0 000 1H2a.5.5 0 000-1H.5zM3.818 10.182a.5.5 0 010 .707l-1.06 1.06a.5.5 0 11-.708-.706l1.06-1.06a.5.5 0 01.708 0zM11.95 2.757a.5.5 0 10-.707-.707l-1.061 1.061a.5.5 0 10.707.707l1.06-1.06zM10.182 10.182a.5.5 0 01.707 0l1.06 1.06a.5.5 0 11-.706.708l-1.061-1.06a.5.5 0 010-.708zM2.757 2.05a.5.5 0 10-.707.707l1.06 1.061a.5.5 0 00.708-.707l-1.06-1.06z"})),i.createElement("defs",null,i.createElement("clipPath",{id:"prefix__clip0_1107_3492"},i.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),nx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("g",{clipPath:"url(#prefix__clip0_1107_3493)"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.335.047l-.15-.015a7.499 7.499 0 106.14 10.577c.103-.229-.156-.447-.386-.346a5.393 5.393 0 01-.771.27A5.356 5.356 0 019.153.691C9.37.568 9.352.23 9.106.175a7.545 7.545 0 00-.77-.128zM6.977 1.092a6.427 6.427 0 005.336 10.671A6.427 6.427 0 116.977 1.092z",fill:e})),i.createElement("defs",null,i.createElement("clipPath",{id:"prefix__clip0_1107_3493"},i.createElement("path",{fill:"#fff",transform:"scale(1.07124)",d:"M0 0h14.001v14.002H0z"}))))),ax=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 2a2 2 0 00-2-2H1.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5H11a2 2 0 002-2V2zM3 13h8a1 1 0 001-1V2a1 1 0 00-1-1H7v6.004a.5.5 0 01-.856.352l-.002-.002L5.5 6.71l-.645.647A.5.5 0 014 7.009V1H3v12zM5 1v4.793l.146-.146a.5.5 0 01.743.039l.111.11V1H5z",fill:e}))),ox=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),lx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.746.07A.5.5 0 0011.5.003h-6a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h8a.5.5 0 00.5-.5v-2.5h4.5a.5.5 0 00.5-.5v-8a.498.498 0 00-.15-.357L11.857.154a.506.506 0 00-.11-.085zM9 10.003h4v-7h-1.5a.5.5 0 01-.5-.5v-1.5H6v2h.5a.5.5 0 01.357.15L8.85 5.147c.093.09.15.217.15.357v4.5zm-8-6v9h7v-7H6.5a.5.5 0 01-.5-.5v-1.5H1z",fill:e}))),ix=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3 1.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM2 3.504a.5.5 0 01.5-.5h9a.5.5 0 010 1h-9a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 5.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v7a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-7zM2 12V6h10v6H2z",fill:e}))),ux=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.586 3.504l-1.5-1.5H1v9h12v-7.5H6.586zm.414-1L5.793 1.297a1 1 0 00-.707-.293H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-8.5a.5.5 0 00-.5-.5H7z",fill:e}))),sx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4.5 8.004a.5.5 0 100 1h5a.5.5 0 000-1h-5zM4.5 10.004a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 1.504a.5.5 0 01.5-.5h8a.498.498 0 01.357.15l.993.993c.093.09.15.217.15.357v1.5h1.5a.5.5 0 01.5.5v5a.5.5 0 01-.5.5H12v2.5a.5.5 0 01-.5.5h-9a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 01-.5-.5v-5a.5.5 0 01.5-.5H2v-2.5zm11 7.5h-1v-2.5a.5.5 0 00-.5-.5h-9a.5.5 0 00-.5.5v2.5H1v-4h12v4zm-2-6v1H3v-2h7v.5a.5.5 0 00.5.5h.5zm-8 9h8v-5H3v5z",fill:e}))),cx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5.146 6.15a.5.5 0 01.708 0L7 7.297 9.146 5.15a.5.5 0 01.708 0l1 1a.5.5 0 01-.708.707L9.5 6.211 7.354 8.357a.5.5 0 01-.708 0L5.5 7.211 3.854 8.857a.5.5 0 11-.708-.707l2-2z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 1.004a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11zm.5 1v10h10v-10H2z",fill:e}))),dx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0a.5.5 0 01.5.5V1h6V.5a.5.5 0 011 0V1h1.5a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5H3V.5a.5.5 0 01.5-.5zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 4v2.3h3V4H9zM5.5 6.3h3V4h-3v2.3z",fill:e}))),px=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M12 2.5a.5.5 0 00-1 0v10a.5.5 0 001 0v-10zM9 4.5a.5.5 0 00-1 0v8a.5.5 0 001 0v-8zM5.5 7a.5.5 0 01.5.5v5a.5.5 0 01-1 0v-5a.5.5 0 01.5-.5zM3 10.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2z",fill:e}))),fx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M13 2a.5.5 0 010 1H1a.5.5 0 010-1h12zM10 5a.5.5 0 010 1H1a.5.5 0 010-1h9zM11.5 8.5A.5.5 0 0011 8H1a.5.5 0 000 1h10a.5.5 0 00.5-.5zM7.5 11a.5.5 0 010 1H1a.5.5 0 010-1h6.5z",fill:e}))),hx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM4 5a.5.5 0 000 1h9a.5.5 0 000-1H4zM2.5 8.5A.5.5 0 013 8h10a.5.5 0 010 1H3a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1H13a.5.5 0 000-1H6.5z",fill:e}))),mx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM3 5a.5.5 0 000 1h8a.5.5 0 000-1H3zM4.5 8.5A.5.5 0 015 8h4a.5.5 0 010 1H5a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}))),gx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 6.3h3V4H9v2.3zm-3.5 0h3V4h-3v2.3z",fill:e}))),vx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.5 6.5A.5.5 0 014 6h6a.5.5 0 010 1H4a.5.5 0 01-.5-.5zM4 9a.5.5 0 000 1h6a.5.5 0 000-1H4z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v8h10V4H2z",fill:e}))),yx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M13 4a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 9.5A.5.5 0 0013 9H1a.5.5 0 000 1h12a.5.5 0 00.5-.5z",fill:e}))),wx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M13 3.5a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 10a.5.5 0 00-.5-.5H1a.5.5 0 000 1h12a.5.5 0 00.5-.5zM13 6.5a.5.5 0 010 1H1a.5.5 0 010-1h12z",fill:e}))),bx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),Dx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 2v1.5h1v7H3V12h5a3 3 0 001.791-5.407A2.75 2.75 0 008 2.011V2H3zm5 5.5H5.5v3H8a1.5 1.5 0 100-3zm-.25-4H5.5V6h2.25a1.25 1.25 0 100-2.5z",fill:e}))),Ex=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2z",fill:e}))),Cx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M10.553 2.268a1.5 1.5 0 00-2.12 0L2.774 7.925a2.5 2.5 0 003.536 3.535l3.535-3.535a.5.5 0 11.707.707l-3.535 3.536-.002.002a3.5 3.5 0 01-4.959-4.941l.011-.011L7.725 1.56l.007-.008a2.5 2.5 0 013.53 3.541l-.002.002-5.656 5.657-.003.003a1.5 1.5 0 01-2.119-2.124l3.536-3.536a.5.5 0 11.707.707L4.189 9.34a.5.5 0 00.707.707l5.657-5.657a1.5 1.5 0 000-2.121z",fill:e}))),xx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5 2.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2.5 2H1v1h1v3h1V2.5a.5.5 0 00-.5-.5zM3 8.5v1a.5.5 0 01-1 0V9h-.5a.5.5 0 010-1h1a.5.5 0 01.5.5zM2 10.5a.5.5 0 00-1 0V12h2v-1H2v-.5z",fill:e}))),Fx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2.75 2.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM5.5 2a.5.5 0 000 1h7a.5.5 0 000-1h-7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2 12.25a.75.75 0 100-1.5.75.75 0 000 1.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM2 7.75a.75.75 0 100-1.5.75.75 0 000 1.5z",fill:e}))),Sx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M6 7a3 3 0 110-6h5.5a.5.5 0 010 1H10v10.5a.5.5 0 01-1 0V2H7v10.5a.5.5 0 01-1 0V7z",fill:e}))),Ax=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2 4.5h1.5L5 6.375 6.5 4.5H8v5H6.5V7L5 8.875 3.5 7v2.5H2v-5zM9.75 4.5h1.5V7h1.25l-2 2.5-2-2.5h1.25V4.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 2a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5zM1 3v8h12V3H1z",fill:e}))),kx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5 2.5a.5.5 0 11-1 0 .5.5 0 011 0zM4.5 5a.5.5 0 100-1 .5.5 0 000 1zM5 6.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 0a2 2 0 012 2v10a2 2 0 01-2 2H1.5a.5.5 0 01-.5-.5V.5a.5.5 0 01.5-.5H11zm0 1H3v12h8a1 1 0 001-1V2a1 1 0 00-1-1z",fill:e}))),Bx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.031 7.5a4 4 0 007.938 0H13.5a.5.5 0 000-1h-2.53a4 4 0 00-7.94 0H.501a.5.5 0 000 1h2.531zM7 10a3 3 0 100-6 3 3 0 000 6z",fill:e}))),_x=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 2.5a1.5 1.5 0 01-1 1.415v4.053C5.554 7.4 6.367 7 7.5 7c.89 0 1.453-.252 1.812-.557.218-.184.374-.4.482-.62a1.5 1.5 0 111.026.143c-.155.423-.425.87-.86 1.24C9.394 7.685 8.59 8 7.5 8c-1.037 0-1.637.42-1.994.917a2.81 2.81 0 00-.472 1.18A1.5 1.5 0 114 10.086v-6.17A1.5 1.5 0 116 2.5zm-2 9a.5.5 0 111 0 .5.5 0 01-1 0zm1-9a.5.5 0 11-1 0 .5.5 0 011 0zm6 2a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),Ix=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.354 1.354L7.707 2H8.5A2.5 2.5 0 0111 4.5v5.585a1.5 1.5 0 11-1 0V4.5A1.5 1.5 0 008.5 3h-.793l.647.646a.5.5 0 11-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708zM11 11.5a.5.5 0 11-1 0 .5.5 0 011 0zM4 3.915a1.5 1.5 0 10-1 0v6.17a1.5 1.5 0 101 0v-6.17zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zm0-8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),Rx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.108 3.872A1.5 1.5 0 103 3.915v6.17a1.5 1.5 0 101 0V6.41c.263.41.573.77.926 1.083 1.108.98 2.579 1.433 4.156 1.5A1.5 1.5 0 109.09 7.99c-1.405-.065-2.62-.468-3.5-1.248-.723-.64-1.262-1.569-1.481-2.871zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zM4 2.5a.5.5 0 11-1 0 .5.5 0 011 0zm7 6a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),zx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.03 8.103a3.044 3.044 0 01-.202-1.744 2.697 2.697 0 011.4-1.935c-.749-1.18-1.967-1.363-2.35-1.403-.835-.086-2.01.56-2.648.57h-.016c-.639-.01-1.814-.656-2.649-.57-.415.044-1.741.319-2.541 1.593-.281.447-.498 1.018-.586 1.744a6.361 6.361 0 00-.044.85c.005.305.028.604.07.895.09.62.259 1.207.477 1.744.242.595.543 1.13.865 1.585.712 1.008 1.517 1.59 1.971 1.6.934.021 1.746-.61 2.416-.594.006.002.014.003.02.002h.017c.007 0 .014 0 .021-.002.67-.017 1.481.615 2.416.595.453-.011 1.26-.593 1.971-1.6a7.95 7.95 0 00.97-1.856c-.697-.217-1.27-.762-1.578-1.474zm-2.168-5.97c.717-.848.69-2.07.624-2.125-.065-.055-1.25.163-1.985.984-.735.82-.69 2.071-.624 2.125.064.055 1.268-.135 1.985-.984z",fill:e}))),Tx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a3 3 0 013 3v1.24c.129.132.25.27.362.415.113.111.283.247.515.433l.194.155c.325.261.711.582 1.095.966.765.765 1.545 1.806 1.823 3.186a.501.501 0 01-.338.581 3.395 3.395 0 01-1.338.134 2.886 2.886 0 01-1.049-.304 5.535 5.535 0 01-.17.519 2 2 0 11-2.892 2.55A5.507 5.507 0 017 13c-.439 0-.838-.044-1.201-.125a2 2 0 11-2.892-2.55 5.553 5.553 0 01-.171-.519c-.349.182-.714.27-1.05.304A3.395 3.395 0 01.35 9.977a.497.497 0 01-.338-.582c.278-1.38 1.058-2.42 1.823-3.186.384-.384.77-.705 1.095-.966l.194-.155c.232-.186.402-.322.515-.433.112-.145.233-.283.362-.414V3a3 3 0 013-3zm1.003 11.895a2 2 0 012.141-1.89c.246-.618.356-1.322.356-2.005 0-.514-.101-1.07-.301-1.599l-.027-.017a6.387 6.387 0 00-.857-.42 6.715 6.715 0 00-1.013-.315l-.852.638a.75.75 0 01-.9 0l-.852-.638a6.716 6.716 0 00-1.693.634 4.342 4.342 0 00-.177.101l-.027.017A4.6 4.6 0 003.501 8c0 .683.109 1.387.355 2.005a2 2 0 012.142 1.89c.295.067.627.105 1.002.105s.707-.038 1.003-.105zM5 12a1 1 0 11-2 0 1 1 0 012 0zm6 0a1 1 0 11-2 0 1 1 0 012 0zM6.1 4.3a1.5 1.5 0 011.8 0l.267.2L7 5.375 5.833 4.5l.267-.2zM8.5 2a.5.5 0 01.5.5V3a.5.5 0 01-1 0v-.5a.5.5 0 01.5-.5zM6 2.5a.5.5 0 00-1 0V3a.5.5 0 001 0v-.5z",fill:e}))),Lx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("g",{clipPath:"url(#prefix__clip0_1107_3497)",fill:e},i.createElement("path",{d:"M12.261 2.067c0 1.142-.89 2.068-1.988 2.068-1.099 0-1.99-.926-1.99-2.068C8.283.926 9.174 0 10.273 0c1.098 0 1.989.926 1.989 2.067zM3.978 6.6c0 1.142-.89 2.068-1.989 2.068C.891 8.668 0 7.742 0 6.601c0-1.142.89-2.068 1.989-2.068 1.099 0 1.989.926 1.989 2.068zM6.475 11.921A4.761 4.761 0 014.539 11a4.993 4.993 0 01-1.367-1.696 2.765 2.765 0 01-1.701.217 6.725 6.725 0 001.844 2.635 6.379 6.379 0 004.23 1.577 3.033 3.033 0 01-.582-1.728 4.767 4.767 0 01-.488-.083zM11.813 11.933c0 1.141-.89 2.067-1.989 2.067-1.098 0-1.989-.926-1.989-2.067 0-1.142.891-2.068 1.99-2.068 1.098 0 1.989.926 1.989 2.068zM12.592 11.173a6.926 6.926 0 001.402-3.913 6.964 6.964 0 00-1.076-4.023A2.952 2.952 0 0111.8 4.6c.398.78.592 1.656.564 2.539a5.213 5.213 0 01-.724 2.495c.466.396.8.935.952 1.54zM1.987 3.631c-.05 0-.101.002-.151.004C3.073 1.365 5.504.024 8.005.23a3.07 3.07 0 00-.603 1.676 4.707 4.707 0 00-2.206.596 4.919 4.919 0 00-1.7 1.576 2.79 2.79 0 00-1.509-.447z"})),i.createElement("defs",null,i.createElement("clipPath",{id:"prefix__clip0_1107_3497"},i.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),Mx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M6.5 1H1v5.5h5.5V1zM13 1H7.5v5.5H13V1zM7.5 7.5H13V13H7.5V7.5zM6.5 7.5H1V13h5.5V7.5z",fill:e}))),Ox=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("g",{clipPath:"url(#prefix__clip0_1107_3496)"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.023 3.431a.115.115 0 01-.099.174H7.296A3.408 3.408 0 003.7 6.148a.115.115 0 01-.21.028l-1.97-3.413a.115.115 0 01.01-.129A6.97 6.97 0 017 0a6.995 6.995 0 016.023 3.431zM7 9.615A2.619 2.619 0 014.384 7 2.62 2.62 0 017 4.383 2.619 2.619 0 019.616 7 2.619 2.619 0 017 9.615zm1.034.71a.115.115 0 00-.121-.041 3.4 3.4 0 01-.913.124 3.426 3.426 0 01-3.091-1.973L1.098 3.567a.115.115 0 00-.2.001 7.004 7.004 0 005.058 10.354l.017.001c.04 0 .078-.021.099-.057l1.971-3.414a.115.115 0 00-.009-.128zm1.43-5.954h3.947c.047 0 .09.028.107.072.32.815.481 1.675.481 2.557a6.957 6.957 0 01-2.024 4.923A6.957 6.957 0 017.08 14h-.001a.115.115 0 01-.1-.172L9.794 8.95A3.384 3.384 0 0010.408 7c0-.921-.364-1.785-1.024-2.433a.115.115 0 01.08-.196z",fill:e})),i.createElement("defs",null,i.createElement("clipPath",{id:"prefix__clip0_1107_3496"},i.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),Px=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.042.616a.704.704 0 00-.66.729L1.816 12.9c.014.367.306.66.672.677l9.395.422h.032a.704.704 0 00.704-.703V.704c0-.015 0-.03-.002-.044a.704.704 0 00-.746-.659l-.773.049.057 1.615a.105.105 0 01-.17.086l-.52-.41-.617.468a.105.105 0 01-.168-.088L9.746.134 2.042.616zm8.003 4.747c-.247.192-2.092.324-2.092.05.04-1.045-.429-1.091-.689-1.091-.247 0-.662.075-.662.634 0 .57.607.893 1.32 1.27 1.014.538 2.24 1.188 2.24 2.823 0 1.568-1.273 2.433-2.898 2.433-1.676 0-3.141-.678-2.976-3.03.065-.275 2.197-.21 2.197 0-.026.971.195 1.256.753 1.256.43 0 .624-.236.624-.634 0-.602-.633-.958-1.361-1.367-.987-.554-2.148-1.205-2.148-2.7 0-1.494 1.027-2.489 2.86-2.489 1.832 0 2.832.98 2.832 2.845z",fill:e}))),Nx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("g",{clipPath:"url(#prefix__clip0_1107_3503)"},i.createElement("path",{d:"M0 5.176l1.31-1.73 4.902-1.994V.014l4.299 3.144-8.78 1.706v4.8L0 9.162V5.176zm14-2.595v8.548l-3.355 2.857-5.425-1.783v1.783L1.73 9.661l8.784 1.047v-7.55L14 2.581z",fill:e})),i.createElement("defs",null,i.createElement("clipPath",{id:"prefix__clip0_1107_3503"},i.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),Hx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.522a.411.411 0 00-.412.476l1.746 10.597a.56.56 0 00.547.466h8.373a.411.411 0 00.412-.345l1.017-6.248h-3.87L8.35 9.18H5.677l-.724-3.781h7.904L13.412 2A.411.411 0 0013 1.524L1 1.522z",fill:e}))),jx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1014 0A7 7 0 000 7zm5.215-3.869a1.967 1.967 0 013.747.834v1.283l-3.346-1.93a2.486 2.486 0 00-.401-.187zm3.484 2.58l-3.346-1.93a1.968 1.968 0 00-2.685.72 1.954 1.954 0 00.09 2.106 2.45 2.45 0 01.362-.254l1.514-.873a.27.27 0 01.268 0l2.1 1.21 1.697-.978zm-.323 4.972L6.86 9.81a.268.268 0 01-.134-.231V7.155l-1.698-.98v3.86a1.968 1.968 0 003.747.835 2.488 2.488 0 01-.4-.187zm.268-.464a1.967 1.967 0 002.685-.719 1.952 1.952 0 00-.09-2.106c-.112.094-.233.18-.361.253L7.53 9.577l1.113.642zm-4.106.257a1.974 1.974 0 01-1.87-.975A1.95 1.95 0 012.47 8.01c.136-.507.461-.93.916-1.193L4.5 6.175v3.86c0 .148.013.295.039.44zM11.329 4.5a1.973 1.973 0 00-1.87-.976c.025.145.039.292.039.44v1.747a.268.268 0 01-.135.232l-2.1 1.211v1.96l3.346-1.931a1.966 1.966 0 00.72-2.683z",fill:e}))),$x=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M10.847 2.181L8.867.201a.685.685 0 00-.97 0l-4.81 4.81a.685.685 0 000 .969l2.466 2.465-2.405 2.404a.685.685 0 000 .97l1.98 1.98a.685.685 0 00.97 0l4.81-4.81a.685.685 0 000-.969L8.441 5.555l2.405-2.404a.685.685 0 000-.97z",fill:e}))),Vx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.852 2.885c-.893-.41-1.85-.712-2.85-.884a.043.043 0 00-.046.021c-.123.22-.26.505-.355.73a10.658 10.658 0 00-3.2 0 7.377 7.377 0 00-.36-.73.045.045 0 00-.046-.021c-1 .172-1.957.474-2.85.884a.04.04 0 00-.019.016C.311 5.612-.186 8.257.058 10.869a.048.048 0 00.018.033 11.608 11.608 0 003.496 1.767.045.045 0 00.049-.016c.27-.368.51-.755.715-1.163a.044.044 0 00-.024-.062 7.661 7.661 0 01-1.092-.52.045.045 0 01-.005-.075c.074-.055.147-.112.217-.17a.043.043 0 01.046-.006c2.29 1.046 4.771 1.046 7.035 0a.043.043 0 01.046.006c.07.057.144.115.218.17a.045.045 0 01-.004.075 7.186 7.186 0 01-1.093.52.045.045 0 00-.024.062c.21.407.45.795.715 1.162.011.016.03.023.05.017a11.57 11.57 0 003.5-1.767.045.045 0 00.019-.032c.292-3.02-.49-5.643-2.07-7.969a.036.036 0 00-.018-.016zM4.678 9.279c-.69 0-1.258-.634-1.258-1.411 0-.778.558-1.411 1.258-1.411.707 0 1.27.639 1.259 1.41 0 .778-.558 1.412-1.259 1.412zm4.652 0c-.69 0-1.258-.634-1.258-1.411 0-.778.557-1.411 1.258-1.411.707 0 1.27.639 1.258 1.41 0 .778-.551 1.412-1.258 1.412z",fill:e}))),Ux=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.399 14H5.06V7H3.5V4.588l1.56-.001-.002-1.421C5.058 1.197 5.533 0 7.6 0h1.721v2.413H8.246c-.805 0-.844.337-.844.966l-.003 1.208h1.934l-.228 2.412L7.401 7l-.002 7z",fill:e}))),qx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.2 0H4.803A2.603 2.603 0 003.41 4.802a2.603 2.603 0 000 4.396 2.602 2.602 0 103.998 2.199v-2.51a2.603 2.603 0 103.187-4.085A2.604 2.604 0 009.2 0zM7.407 7a1.793 1.793 0 103.586 0 1.793 1.793 0 00-3.586 0zm-.81 2.603H4.803a1.793 1.793 0 101.794 1.794V9.603zM4.803 4.397h1.794V.81H4.803a1.793 1.793 0 000 3.587zm0 .81a1.793 1.793 0 000 3.586h1.794V5.207H4.803zm4.397-.81H7.407V.81H9.2a1.794 1.794 0 010 3.587z",fill:e}))),Wx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M6.37 8.768l-2.042 3.537h6.755l2.042-3.537H6.37zm6.177-1.003l-3.505-6.07H4.96l3.504 6.07h4.084zM4.378 2.7L.875 8.77l2.042 3.536L6.42 6.236 4.378 2.7z",fill:e}))),Gx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0C3.132 0 0 3.132 0 7a6.996 6.996 0 004.786 6.641c.35.062.482-.149.482-.332 0-.166-.01-.718-.01-1.304-1.758.324-2.213-.429-2.353-.823-.079-.2-.42-.822-.717-.988-.246-.132-.596-.455-.01-.464.552-.009.946.508 1.077.717.63 1.06 1.636.762 2.039.578.061-.455.245-.761.446-.936-1.558-.175-3.185-.779-3.185-3.457 0-.76.271-1.39.717-1.88-.07-.176-.314-.893.07-1.856 0 0 .587-.183 1.925.718a6.495 6.495 0 011.75-.236c.595 0 1.19.078 1.75.236 1.34-.91 1.926-.718 1.926-.718.385.963.14 1.68.07 1.855.446.49.717 1.111.717 1.881 0 2.687-1.636 3.282-3.194 3.457.254.218.473.638.473 1.295 0 .936-.009 1.688-.009 1.925 0 .184.131.402.481.332A7.012 7.012 0 0014 7c0-3.868-3.133-7-7-7z",fill:e}))),Kx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.068 5.583l1.487-4.557a.256.256 0 01.487 0L4.53 5.583H1.068L7 13.15 4.53 5.583h4.941l-2.47 7.565 5.931-7.565H9.471l1.488-4.557a.256.256 0 01.486 0l1.488 4.557.75 2.3a.508.508 0 01-.185.568L7 13.148v.001H7L.503 8.452a.508.508 0 01-.186-.57l.75-2.299z",fill:e}))),Yx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M10.925 1.094H7.262c-1.643 0-3.189 1.244-3.189 2.685 0 1.473 1.12 2.661 2.791 2.661.116 0 .23-.002.34-.01a1.49 1.49 0 00-.186.684c0 .41.22.741.498 1.012-.21 0-.413.006-.635.006-2.034 0-3.6 1.296-3.6 2.64 0 1.323 1.717 2.15 3.75 2.15 2.32 0 3.6-1.315 3.6-2.639 0-1.06-.313-1.696-1.28-2.38-.331-.235-.965-.805-.965-1.14 0-.392.112-.586.703-1.047.606-.474 1.035-1.14 1.035-1.914 0-.92-.41-1.819-1.18-2.115h1.161l.82-.593zm-1.335 8.96c.03.124.045.25.045.378 0 1.07-.688 1.905-2.665 1.905-1.406 0-2.421-.89-2.421-1.96 0-1.047 1.259-1.92 2.665-1.904.328.004.634.057.911.146.764.531 1.311.832 1.465 1.436zM7.34 6.068c-.944-.028-1.841-1.055-2.005-2.295-.162-1.24.47-2.188 1.415-2.16.943.029 1.84 1.023 2.003 2.262.163 1.24-.47 2.222-1.414 2.193z",fill:e}))),Zx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.873 11.608a1.167 1.167 0 00-1.707-.027L3.46 10.018l.01-.04h7.072l.022.076-2.69 1.554zM6.166 2.42l.031.03-3.535 6.124a1.265 1.265 0 00-.043-.012V5.438a1.166 1.166 0 00.84-1.456L6.167 2.42zm4.387 1.562a1.165 1.165 0 00.84 1.456v3.124l-.043.012-3.536-6.123a1.2 1.2 0 00.033-.032l2.706 1.563zM3.473 9.42a1.168 1.168 0 00-.327-.568L6.68 2.73a1.17 1.17 0 00.652 0l3.536 6.123a1.169 1.169 0 00-.327.567H3.473zm8.79-.736a1.169 1.169 0 00-.311-.124V5.44a1.17 1.17 0 10-1.122-1.942L8.13 1.938a1.168 1.168 0 00-1.122-1.5 1.17 1.17 0 00-1.121 1.5l-2.702 1.56a1.168 1.168 0 00-1.86.22 1.17 1.17 0 00.739 1.722v3.12a1.168 1.168 0 00-.74 1.721 1.17 1.17 0 001.861.221l2.701 1.56a1.169 1.169 0 102.233-.035l2.687-1.552a1.168 1.168 0 101.457-1.791z",fill:e}))),Jx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M0 0v14h14V0H0zm11.63 3.317l-.75.72a.22.22 0 00-.083.212v-.001 5.289a.22.22 0 00.083.21l.733.72v.159H7.925v-.158l.76-.738c.074-.074.074-.096.074-.21V5.244l-2.112 5.364h-.285l-2.46-5.364V8.84a.494.494 0 00.136.413h.001l.988 1.198v.158H2.226v-.158l.988-1.198a.477.477 0 00.126-.416v.003-4.157a.363.363 0 00-.118-.307l-.878-1.058v-.158h2.727l2.107 4.622L9.031 3.16h2.6v.158z",fill:e}))),Xx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.06 9.689c.016.49.423.88.912.88h.032a.911.911 0 00.88-.945.916.916 0 00-.912-.88h-.033c-.033 0-.08 0-.113.016-.669-1.108-.946-2.314-.848-3.618.065-.978.391-1.825.961-2.526.473-.603 1.386-.896 2.005-.913 1.728-.032 2.461 2.119 2.51 2.983.212.049.57.163.815.244C10.073 2.29 8.444.92 6.88.92c-1.467 0-2.82 1.06-3.357 2.625-.75 2.086-.261 4.09.651 5.671a.74.74 0 00-.114.473zm8.279-2.298c-1.239-1.45-3.064-2.249-5.15-2.249h-.261a.896.896 0 00-.798-.489h-.033A.912.912 0 006.13 6.48h.031a.919.919 0 00.8-.554h.293c1.239 0 2.412.358 3.472 1.059.814.538 1.401 1.238 1.727 2.086.277.684.261 1.353-.033 1.923-.456.864-1.222 1.337-2.232 1.337a4.16 4.16 0 01-1.597-.343 9.58 9.58 0 01-.734.587c.7.326 1.418.505 2.102.505 1.565 0 2.722-.863 3.162-1.727.473-.946.44-2.575-.782-3.961zm-7.433 5.51a4.005 4.005 0 01-.977.113c-1.206 0-2.298-.505-2.836-1.32C.376 10.603.13 8.289 2.494 6.577c.05.261.147.62.212.832-.31.228-.798.685-1.108 1.303-.44.864-.391 1.729.13 2.527.359.537.93.864 1.663.962.896.114 1.793-.05 2.657-.505 1.271-.669 2.119-1.467 2.672-2.56a.944.944 0 01-.26-.603.913.913 0 01.88-.945h.033a.915.915 0 01.098 1.825c-.897 1.842-2.478 3.08-4.565 3.488z",fill:e}))),Qx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 2.547a5.632 5.632 0 01-1.65.464 2.946 2.946 0 001.263-1.63 5.67 5.67 0 01-1.823.715 2.837 2.837 0 00-2.097-.93c-1.586 0-2.872 1.319-2.872 2.946 0 .23.025.456.074.67C4.508 4.66 2.392 3.488.975 1.706c-.247.435-.389.941-.389 1.481 0 1.022.507 1.923 1.278 2.452a2.806 2.806 0 01-1.3-.368l-.001.037c0 1.427.99 2.617 2.303 2.888a2.82 2.82 0 01-1.297.05c.366 1.17 1.427 2.022 2.683 2.045A5.671 5.671 0 010 11.51a7.985 7.985 0 004.403 1.323c5.283 0 8.172-4.488 8.172-8.38 0-.128-.003-.255-.009-.38A5.926 5.926 0 0014 2.546z",fill:e}))),eF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.99 8.172c.005-.281.007-.672.007-1.172 0-.5-.002-.89-.007-1.172a14.952 14.952 0 00-.066-1.066 9.638 9.638 0 00-.169-1.153c-.083-.38-.264-.7-.542-.96a1.667 1.667 0 00-.972-.454C11.084 2.065 9.337 2 6.999 2s-4.085.065-5.241.195a1.65 1.65 0 00-.969.453c-.276.26-.455.58-.539.961a8.648 8.648 0 00-.176 1.153c-.039.43-.061.785-.066 1.066C.002 6.11 0 6.5 0 7c0 .5.002.89.008 1.172.005.281.027.637.066 1.067.04.43.095.813.168 1.152.084.38.265.7.543.96.279.261.603.412.973.453 1.156.13 2.902.196 5.24.196 2.34 0 4.087-.065 5.243-.196a1.65 1.65 0 00.967-.453c.276-.26.456-.58.54-.96.077-.339.136-.722.175-1.152.04-.43.062-.786.067-1.067zM9.762 6.578A.45.45 0 019.997 7a.45.45 0 01-.235.422l-3.998 2.5a.442.442 0 01-.266.078.538.538 0 01-.242-.063.465.465 0 01-.258-.437v-5c0-.197.086-.343.258-.437a.471.471 0 01.508.016l3.998 2.5z",fill:e}))),tF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.243.04a.87.87 0 01.38.087l2.881 1.386a.874.874 0 01.496.79V11.713a.875.875 0 01-.496.775l-2.882 1.386a.872.872 0 01-.994-.17L4.11 8.674l-2.404 1.823a.583.583 0 01-.744-.034l-.771-.7a.583.583 0 010-.862L2.274 7 .19 5.1a.583.583 0 010-.862l.772-.701a.583.583 0 01.744-.033L4.11 5.327 9.628.296a.871.871 0 01.615-.255zm.259 3.784L6.315 7l4.187 3.176V3.824z",fill:e}))),rF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.667 13H2.333A1.333 1.333 0 011 11.667V2.333C1 1.597 1.597 1 2.333 1h9.334C12.403 1 13 1.597 13 2.333v9.334c0 .736-.597 1.333-1.333 1.333zm-2.114-1.667h1.78V7.675c0-1.548-.877-2.296-2.102-2.296-1.226 0-1.742.955-1.742.955v-.778H5.773v5.777h1.716V8.3c0-.812.374-1.296 1.09-1.296.658 0 .974.465.974 1.296v3.033zm-6.886-7.6c0 .589.474 1.066 1.058 1.066.585 0 1.058-.477 1.058-1.066 0-.589-.473-1.066-1.058-1.066-.584 0-1.058.477-1.058 1.066zm1.962 7.6h-1.79V5.556h1.79v5.777z",fill:e}))),nF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.02.446h2.137L8.49 5.816l5.51 7.28H9.67L6.298 8.683l-3.88 4.413H.282l5.004-5.735L0 .446h4.442l3.064 4.048L11.02.446zm-.759 11.357h1.18L3.796 1.655H2.502l7.759 10.148z",fill:e}))),aF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-8h12v8H1zm1-9.5a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),oF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5.004a1.5 1.5 0 00-1.5 1.5v11a1.5 1.5 0 001.5 1.5h7a1.5 1.5 0 001.5-1.5v-11a1.5 1.5 0 00-1.5-1.5h-7zm0 1h7a.5.5 0 01.5.5v9.5H3v-9.5a.5.5 0 01.5-.5zm2.5 11a.5.5 0 000 1h2a.5.5 0 000-1H6z",fill:e}))),lF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 1.504a1.5 1.5 0 011.5-1.5h5a1.5 1.5 0 011.5 1.5v11a1.5 1.5 0 01-1.5 1.5h-5a1.5 1.5 0 01-1.5-1.5v-11zm1 10.5v-10h6v10H4z",fill:e}))),iF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 .504a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zm5.5 2.5h-5a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5zm-5-1a1.5 1.5 0 00-1.5 1.5v7a1.5 1.5 0 001.5 1.5h5a1.5 1.5 0 001.5-1.5v-7a1.5 1.5 0 00-1.5-1.5h-5zm2.5 2a.5.5 0 01.5.5v2h1a.5.5 0 110 1H7a.5.5 0 01-.5-.5v-2.5a.5.5 0 01.5-.5zm-2.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}))),uF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5zM3 6.004a.5.5 0 100 1h1a.5.5 0 000-1H3zM2.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h3v10H2zm4-10h6v10H6v-10z",fill:e}))),sF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M9.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM10 6.004a.5.5 0 100 1h1a.5.5 0 000-1h-1zM9.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h6v10H2zm7-10h3v10H9v-10z",fill:e}))),cF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.5 4.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5zM11 6.004a.5.5 0 010 1h-1a.5.5 0 010-1h1zM11.5 8.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm7.5-1h3v-10H9v10zm-1 0H2v-10h6v4.5H5.207l.65-.65a.5.5 0 10-.707-.708L3.646 6.65a.5.5 0 000 .707l1.497 1.497a.5.5 0 10.707-.708l-.643-.642H8v4.5z",fill:e}))),dF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5zM2 6.004a.5.5 0 100 1h1a.5.5 0 000-1H2zM1.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-10h3v10H1zm4 0v-4.5h2.793l-.643.642a.5.5 0 10.707.708l1.497-1.497a.5.5 0 000-.707L7.85 5.146a.5.5 0 10-.707.708l.65.65H5v-4.5h6v10H5z",fill:e}))),pF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM6.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM9 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 6.5v-6h10v6H2zm10 1v3H2v-3h10z",fill:e}))),fF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM6 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM9.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 12.504v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5zm1-.5v-3h10v3H2zm4.5-4H2v-6h10v6H7.5V5.21l.646.646a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0l-1.5 1.5a.5.5 0 10.708.707l.646-.646v2.793z",fill:e}))),hF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 5.504a.5.5 0 01.5-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5v-3zm1 2.5v-2h2v2H6z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.004a.5.5 0 01.5.5v1.5h2v-1.5a.5.5 0 011 0v1.5h2.5a.5.5 0 01.5.5v2.5h1.5a.5.5 0 010 1H12v2h1.5a.5.5 0 010 1H12v2.5a.5.5 0 01-.5.5H9v1.5a.5.5 0 01-1 0v-1.5H6v1.5a.5.5 0 01-1 0v-1.5H2.5a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 010-1H2v-2H.5a.5.5 0 010-1H2v-2.5a.5.5 0 01.5-.5H5v-1.5a.5.5 0 01.5-.5zm5.5 3H3v8h8v-8z",fill:e}))),mF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3c0-1.105-2.239-2-5-2s-5 .895-5 2v8c0 .426.26.752.544.977.29.228.68.413 1.116.558.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.436-.145.825-.33 1.116-.558.285-.225.544-.551.544-.977V3zm-1.03 0a.787.787 0 00-.05-.052c-.13-.123-.373-.28-.756-.434C9.404 2.21 8.286 2 7 2c-1.286 0-2.404.21-3.164.514-.383.153-.625.31-.756.434A.756.756 0 003.03 3a.756.756 0 00.05.052c.13.123.373.28.756.434C4.596 3.79 5.714 4 7 4c1.286 0 2.404-.21 3.164-.514.383-.153.625-.31.756-.434A.787.787 0 0010.97 3zM11 5.75V4.2c-.912.486-2.364.8-4 .8-1.636 0-3.088-.314-4-.8v1.55l.002.008a.147.147 0 00.016.033.618.618 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.62.62 0 00.146-.15.149.149 0 00.015-.033A.03.03 0 0011 5.75zM3 7.013c.2.103.423.193.66.272.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.237-.079.46-.17.66-.272V8.5l-.002.008a.149.149 0 01-.015.033.62.62 0 01-.146.15c-.165.13-.435.27-.813.395-.751.25-1.82.414-3.024.414s-2.273-.163-3.024-.414c-.378-.126-.648-.265-.813-.395a.618.618 0 01-.145-.15.147.147 0 01-.016-.033A.027.027 0 013 8.5V7.013zm0 2.75V11l.002.008a.147.147 0 00.016.033.617.617 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.619.619 0 00.146-.15.148.148 0 00.015-.033L11 11V9.763c-.2.103-.423.193-.66.272-.878.293-2.059.465-3.34.465-1.281 0-2.462-.172-3.34-.465A4.767 4.767 0 013 9.763z",fill:e}))),gF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5 3a.5.5 0 00-1 0v3a.5.5 0 001 0V3zM7 2.5a.5.5 0 01.5.5v3a.5.5 0 01-1 0V3a.5.5 0 01.5-.5zM10 4.504a.5.5 0 10-1 0V6a.5.5 0 001 0V4.504z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.54l-.001-.002a.499.499 0 00-.145-.388l-3-3a.499.499 0 00-.388-.145L8.464.004H2.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h9a.5.5 0 00.5-.5V3.54zM3 1.004h5.293L11 3.71v5.293H3v-8zm0 9v3h8v-3H3z",fill:e}))),vF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.164 3.446a1.5 1.5 0 10-2.328 0L1.81 10.032A1.503 1.503 0 000 11.5a1.5 1.5 0 002.915.5h8.17a1.5 1.5 0 101.104-1.968L8.164 3.446zm-1.475.522a1.506 1.506 0 00.622 0l4.025 6.586a1.495 1.495 0 00-.25.446H2.914a1.497 1.497 0 00-.25-.446l4.024-6.586z",fill:e}))),yF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.21.046l6.485 2.994A.5.5 0 0114 3.51v6.977a.495.495 0 01-.23.432.481.481 0 01-.071.038L7.23 13.944a.499.499 0 01-.46 0L.3 10.958a.498.498 0 01-.3-.47V3.511a.497.497 0 01.308-.473L6.78.051a.499.499 0 01.43-.005zM1 4.282v5.898l5.5 2.538V6.82L1 4.282zm6.5 8.436L13 10.18V4.282L7.5 6.82v5.898zM12.307 3.5L7 5.95 1.693 3.5 7 1.05l5.307 2.45z",fill:e}))),wF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6a.5.5 0 001 0v-6z",fill:e}),i.createElement("path",{d:"M4.273 2.808a.5.5 0 00-.546-.837 6 6 0 106.546 0 .5.5 0 00-.546.837 5 5 0 11-5.454 0z",fill:e}))),bF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.854 2.146l-2-2a.5.5 0 00-.708 0l-1.5 1.5-8.995 8.995a.499.499 0 00-.143.268L.012 13.39a.495.495 0 00.135.463.5.5 0 00.462.134l2.482-.496a.495.495 0 00.267-.143l8.995-8.995 1.5-1.5a.5.5 0 000-.708zM12 3.293l.793-.793L11.5 1.207 10.707 2 12 3.293zm-2-.586L1.707 11 3 12.293 11.293 4 10 2.707zM1.137 12.863l.17-.849.679.679-.849.17z",fill:e}))),DF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5.586 5.586A2 2 0 018.862 7.73a.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 10-.365-.93 2 2 0 01-2.145-3.277z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.939 6.527c.127.128.19.297.185.464a.635.635 0 01-.185.465L0 8.395a7.099 7.099 0 001.067 2.572h1.32c.182 0 .345.076.46.197a.635.635 0 01.198.46v1.317A7.097 7.097 0 005.602 14l.94-.94a.634.634 0 01.45-.186H7.021c.163 0 .326.061.45.186l.939.938a7.098 7.098 0 002.547-1.057V11.61c0-.181.075-.344.197-.46a.634.634 0 01.46-.197h1.33c.507-.76.871-1.622 1.056-2.55l-.946-.946a.635.635 0 01-.186-.465.635.635 0 01.186-.464l.943-.944a7.099 7.099 0 00-1.044-2.522h-1.34a.635.635 0 01-.46-.197.635.635 0 01-.196-.46V1.057A7.096 7.096 0 008.413.002l-.942.942a.634.634 0 01-.45.186H6.992a.634.634 0 01-.45-.186L5.598 0a7.097 7.097 0 00-2.553 1.058v1.33c0 .182-.076.345-.197.46a.635.635 0 01-.46.198h-1.33A7.098 7.098 0 00.003 5.591l.936.936zm.707 1.636c.324-.324.482-.752.479-1.172a1.634 1.634 0 00-.48-1.171l-.538-.539c.126-.433.299-.847.513-1.235h.768c.459 0 .873-.19 1.167-.49.3-.295.49-.708.49-1.167v-.77c.39-.215.807-.388 1.243-.515l.547.547c.32.32.742.48 1.157.48l.015-.001h.014c.415 0 .836-.158 1.157-.479l.545-.544c.433.126.846.299 1.234.512v.784c0 .46.19.874.49 1.168.294.3.708.49 1.167.49h.776c.209.382.378.788.502 1.213l-.545.546a1.635 1.635 0 00-.48 1.17c-.003.421.155.849.48 1.173l.549.55c-.126.434-.3.85-.513 1.239h-.77c-.458 0-.872.19-1.166.49-.3.294-.49.708-.49 1.167v.77a6.09 6.09 0 01-1.238.514l-.54-.54a1.636 1.636 0 00-1.158-.48H6.992c-.415 0-.837.159-1.157.48l-.543.543a6.091 6.091 0 01-1.247-.516v-.756c0-.459-.19-.873-.49-1.167-.294-.3-.708-.49-1.167-.49h-.761a6.094 6.094 0 01-.523-1.262l.542-.542z",fill:e}))),EF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5.585 8.414a2 2 0 113.277-.683.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 00-.365-.93 2 2 0 01-2.146-.449z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5.289a1 1 0 011 0l5.062 2.922a1 1 0 01.5.866v5.846a1 1 0 01-.5.866L7.5 13.71a1 1 0 01-1 0L1.437 10.79a1 1 0 01-.5-.866V4.077a1 1 0 01.5-.866L6.5.29zm.5.866l5.062 2.922v5.846L7 12.845 1.937 9.923V4.077L7 1.155z",fill:e}))),CF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 1c.441 0 .564.521.252.833l-.806.807a.51.51 0 000 .72l.694.694a.51.51 0 00.72 0l.807-.806c.312-.312.833-.19.833.252a2.5 2.5 0 01-3.414 2.328l-6.879 6.88a1 1 0 01-1.414-1.415l6.88-6.88A2.5 2.5 0 0110.5 1zM2 12.5a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),xF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM13 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM7 8.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3z",fill:e}))),FF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5.903.112a.107.107 0 01.194 0l.233.505.552.066c.091.01.128.123.06.185l-.408.377.109.546a.107.107 0 01-.158.114L6 1.634l-.485.271a.107.107 0 01-.158-.114l.108-.546-.408-.377a.107.107 0 01.06-.185L5.67.617l.233-.505zM2.194.224a.214.214 0 00-.389 0l-.466 1.01-1.104.131a.214.214 0 00-.12.37l.816.755-.217 1.091a.214.214 0 00.315.23L2 3.266l.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37L2.66 1.234 2.194.224zM12.194 8.224a.214.214 0 00-.389 0l-.466 1.01-1.104.13a.214.214 0 00-.12.371l.816.755-.217 1.091a.214.214 0 00.315.23l.97-.544.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37l-1.105-.131-.466-1.01z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 12.797l-1.293-1.293 6.758-6.758L9.258 6.04 2.5 12.797zm7.465-7.465l2.828-2.828L11.5 1.211 8.672 4.04l1.293 1.293zM.147 11.857a.5.5 0 010-.707l11-11a.5.5 0 01.706 0l2 2a.5.5 0 010 .708l-11 11a.5.5 0 01-.706 0l-2-2z",fill:e}))),SF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M13.854 3.354a.5.5 0 00-.708-.708L5 10.793.854 6.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.708 0l8.5-8.5z",fill:e}))),AF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1V6.393a.5.5 0 00-1 0v5.61H2v-10h7.5a.5.5 0 000-1H2z",fill:e}),i.createElement("path",{d:"M6.354 9.857l7.5-7.5a.5.5 0 00-.708-.707L6 8.797 3.854 6.65a.5.5 0 10-.708.707l2.5 2.5a.5.5 0 00.708 0z",fill:e}))),kF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM8.854 2.646a.5.5 0 010 .708L5.207 7l3.647 3.646a.5.5 0 01-.708.708L4.5 7.707.854 11.354a.5.5 0 01-.708-.708L3.793 7 .146 3.354a.5.5 0 11.708-.708L4.5 6.293l3.646-3.647a.5.5 0 01.708 0zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),BF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM9.3 2.6a.5.5 0 01.1.7l-5.995 7.993a.505.505 0 01-.37.206.5.5 0 01-.395-.152L.146 8.854a.5.5 0 11.708-.708l2.092 2.093L8.6 2.7a.5.5 0 01.7-.1zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),_F=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M10.5 1a.5.5 0 01.5.5V2h1.5a.5.5 0 010 1H11v.5a.5.5 0 01-1 0V3H1.5a.5.5 0 010-1H10v-.5a.5.5 0 01.5-.5zM1.5 11a.5.5 0 000 1H10v.5a.5.5 0 001 0V12h1.5a.5.5 0 000-1H11v-.5a.5.5 0 00-1 0v.5H1.5zM1 7a.5.5 0 01.5-.5H3V6a.5.5 0 011 0v.5h8.5a.5.5 0 010 1H4V8a.5.5 0 01-1 0v-.5H1.5A.5.5 0 011 7z",fill:e}))),IF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6h-6a.5.5 0 000 1h6v6a.5.5 0 001 0v-6h6a.5.5 0 000-1h-6v-6z",fill:e}))),RF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2.03.97A.75.75 0 00.97 2.03L5.94 7 .97 11.97a.75.75 0 101.06 1.06L7 8.06l4.97 4.97a.75.75 0 101.06-1.06L8.06 7l4.97-4.97A.75.75 0 0011.97.97L7 5.94 2.03.97z",fill:e}))),Ib=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708L6.293 7l-5.147 5.146a.5.5 0 00.708.708L7 7.707l5.146 5.147a.5.5 0 00.708-.708L7.707 7l5.147-5.146a.5.5 0 00-.708-.708L7 6.293 1.854 1.146z",fill:e}))),zF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5.5 4.5A.5.5 0 016 5v5a.5.5 0 01-1 0V5a.5.5 0 01.5-.5zM9 5a.5.5 0 00-1 0v5a.5.5 0 001 0V5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5.5A.5.5 0 015 0h4a.5.5 0 01.5.5V2h3a.5.5 0 010 1H12v8a2 2 0 01-2 2H4a2 2 0 01-2-2V3h-.5a.5.5 0 010-1h3V.5zM3 3v8a1 1 0 001 1h6a1 1 0 001-1V3H3zm2.5-2h3v1h-3V1z",fill:e}))),TF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("g",{clipPath:"url(#prefix__clip0_1107_3502)"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5 5H3.657A4 4 0 00.828 6.17l-.474.475a.5.5 0 000 .707l2.793 2.793-3 3a.5.5 0 00.707.708l3-3 2.792 2.792a.5.5 0 00.708 0l.474-.475A4 4 0 009 10.343V9l2-2a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM11 5.585l-3 3v1.757a3 3 0 01-.879 2.121L7 12.586 1.414 7l.122-.122A3 3 0 013.656 6h1.758l3-3-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586z",fill:e})),i.createElement("defs",null,i.createElement("clipPath",{id:"prefix__clip0_1107_3502"},i.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),LF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("g",{clipPath:"url(#prefix__clip0_1107_3501)",fill:e},i.createElement("path",{d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5.707 4.293 6.414 5l2-2-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586l-2 2 .707.707L11 7a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM.828 6.171a4 4 0 012.758-1.17l1 .999h-.93a3 3 0 00-2.12.878L1.414 7 7 12.586l.121-.122A3 3 0 008 10.343v-.929l1 1a4 4 0 01-1.172 2.757l-.474.475a.5.5 0 01-.708 0l-2.792-2.792-3 3a.5.5 0 01-.708-.708l3-3L.355 7.353a.5.5 0 010-.707l.474-.475zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z"})),i.createElement("defs",null,i.createElement("clipPath",{id:"prefix__clip0_1107_3501"},i.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),MF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),OF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),PF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M9.854 4.146a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),NF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0a6 6 0 01-9.874 4.582l8.456-8.456A5.976 5.976 0 0113 7zM2.418 10.874l8.456-8.456a6 6 0 00-8.456 8.456z",fill:e}))),HF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm3.854-9.354a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),jF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}))),$F=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm2.854-9.854a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}))),VF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 2h7a2 2 0 012 2v6a2 2 0 01-2 2H5a1.994 1.994 0 01-1.414-.586l-3-3a2 2 0 010-2.828l3-3A1.994 1.994 0 015 2zm1.146 3.146a.5.5 0 01.708 0L8 6.293l1.146-1.147a.5.5 0 11.708.708L8.707 7l1.147 1.146a.5.5 0 01-.708.708L8 7.707 6.854 8.854a.5.5 0 11-.708-.708L7.293 7 6.146 5.854a.5.5 0 010-.708z",fill:e}))),UF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.5 5.004a.5.5 0 100 1h7a.5.5 0 000-1h-7zM3 8.504a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 12.004H5.707l-1.853 1.854a.5.5 0 01-.351.146h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5zm-10.5-1v-8h10v8H2z",fill:e}))),qF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.5 5.004a.5.5 0 10-1 0v1.5H5a.5.5 0 100 1h1.5v1.5a.5.5 0 001 0v-1.5H9a.5.5 0 000-1H7.5v-1.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),WF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M9.854 6.65a.5.5 0 010 .707l-2 2a.5.5 0 11-.708-.707l1.15-1.15-3.796.004a.5.5 0 010-1L8.29 6.5 7.145 5.357a.5.5 0 11.708-.707l2 2z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),GF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M8.5 7.004a.5.5 0 000-1h-5a.5.5 0 100 1h5zM9 8.504a.5.5 0 01-.5.5h-5a.5.5 0 010-1h5a.5.5 0 01.5.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 11.504v-1.5h1.5a.5.5 0 00.5-.5v-8a.5.5 0 00-.5-.5h-11a.5.5 0 00-.5.5v1.5H.5a.5.5 0 00-.5.5v8a.5.5 0 00.5.5H2v1.5a.499.499 0 00.497.5h.006a.498.498 0 00.35-.146l1.854-1.854H11.5a.5.5 0 00.5-.5zm-9-8.5v-1h10v7h-1v-5.5a.5.5 0 00-.5-.5H3zm-2 8v-7h10v7H1z",fill:e}))),KF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 2a2 2 0 012-2h8a2 2 0 012 2v8a2 2 0 01-2 2H6.986a.444.444 0 01-.124.103l-3.219 1.84A.43.43 0 013 13.569V12a2 2 0 01-2-2V2zm3.42 4.78a.921.921 0 110-1.843.921.921 0 010 1.842zm1.658-.922a.921.921 0 101.843 0 .921.921 0 00-1.843 0zm2.58 0a.921.921 0 101.842 0 .921.921 0 00-1.843 0z",fill:e}))),YF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M8 8.004a1 1 0 01-.5.866v1.634a.5.5 0 01-1 0V8.87A1 1 0 118 8.004z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 4.004a4 4 0 118 0v1h1.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3v-1zm7 1v-1a3 3 0 10-6 0v1h6zm2 1H2v7h10v-7z",fill:e}))),ZF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("g",{clipPath:"url(#prefix__clip0_1107_3614)",fill:e},i.createElement("path",{d:"M6.5 8.87a1 1 0 111 0v1.634a.5.5 0 01-1 0V8.87z"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 1a3 3 0 00-3 3v1.004h8.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3V4a4 4 0 017.755-1.381.5.5 0 01-.939.345A3.001 3.001 0 007 1zM2 6.004h10v7H2v-7z"})),i.createElement("defs",null,i.createElement("clipPath",{id:"prefix__clip0_1107_3614"},i.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),JF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11 4a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 8.532V9.5a.5.5 0 01-.5.5H5.5v1.5a.5.5 0 01-.5.5H3.5v1.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-2a.5.5 0 01.155-.362l5.11-5.11A4.5 4.5 0 117.5 8.532zM6 4.5a3.5 3.5 0 111.5 2.873c-.29-.203-1-.373-1 .481V9H5a.5.5 0 00-.5.5V11H3a.5.5 0 00-.5.5V13H1v-1.293l5.193-5.193a.552.552 0 00.099-.613A3.473 3.473 0 016 4.5z",fill:e}))),XF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.354.15a.5.5 0 00-.708 0l-2 2a.5.5 0 10.708.707L6.5 1.711v6.793a.5.5 0 001 0V1.71l1.146 1.146a.5.5 0 10.708-.707l-2-2z",fill:e}),i.createElement("path",{d:"M2 7.504a.5.5 0 10-1 0v5a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-5a.5.5 0 00-1 0v4.5H2v-4.5z",fill:e}))),QF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2.5 8.004a.5.5 0 100 1h3a.5.5 0 000-1h-3z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 11.504a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5a.5.5 0 00-.5.5v9zm1-8.5v1h12v-1H1zm0 8h12v-5H1v5z",fill:e}))),eS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1 3.004a1 1 0 00-1 1v5a1 1 0 001 1h3.5a.5.5 0 100-1H1v-5h12v5h-1a.5.5 0 000 1h1a1 1 0 001-1v-5a1 1 0 00-1-1H1z",fill:e}),i.createElement("path",{d:"M6.45 7.006a.498.498 0 01.31.07L10.225 9.1a.5.5 0 01-.002.873l-1.074.621.75 1.3a.75.75 0 01-1.3.75l-.75-1.3-1.074.62a.497.497 0 01-.663-.135.498.498 0 01-.095-.3L6 7.515a.497.497 0 01.45-.509z",fill:e}))),tS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4 1.504a.5.5 0 01.5-.5h5a.5.5 0 110 1h-2v10h2a.5.5 0 010 1h-5a.5.5 0 010-1h2v-10h-2a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{d:"M0 4.504a.5.5 0 01.5-.5h4a.5.5 0 110 1H1v4h3.5a.5.5 0 110 1h-4a.5.5 0 01-.5-.5v-5zM9.5 4.004a.5.5 0 100 1H13v4H9.5a.5.5 0 100 1h4a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-4z",fill:e}))),rS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.943 12.457a.27.27 0 00.248-.149L7.77 9.151l2.54 2.54a.257.257 0 00.188.073c.082 0 .158-.03.21-.077l.788-.79a.27.27 0 000-.392L8.891 7.9l3.416-1.708a.29.29 0 00.117-.106.222.222 0 00.033-.134.332.332 0 00-.053-.161.174.174 0 00-.092-.072l-.02-.007-10.377-4.15a.274.274 0 00-.355.354l4.15 10.372a.275.275 0 00.233.169zm-.036 1l-.02-.002c-.462-.03-.912-.31-1.106-.796L.632 2.287A1.274 1.274 0 012.286.633l10.358 4.143c.516.182.782.657.81 1.114a1.25 1.25 0 01-.7 1.197L10.58 8.174l1.624 1.624a1.27 1.27 0 010 1.807l-.8.801-.008.007c-.491.46-1.298.48-1.792-.014l-1.56-1.56-.957 1.916a1.27 1.27 0 01-1.142.702h-.037z",fill:e}))),nS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.87 6.008a.505.505 0 00-.003-.028v-.002c-.026-.27-.225-.48-.467-.498a.5.5 0 00-.53.5v1.41c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47V5.17a.6.6 0 00-.002-.05c-.023-.268-.223-.49-.468-.5a.5.5 0 00-.52.5v1.65a.486.486 0 01-.47.47.48.48 0 01-.47-.47V4.62a.602.602 0 00-.002-.05v-.002c-.023-.266-.224-.48-.468-.498a.5.5 0 00-.53.5v2.2c0 .25-.22.47-.47.47a.49.49 0 01-.47-.47V1.8c0-.017 0-.034-.002-.05-.022-.268-.214-.49-.468-.5a.5.5 0 00-.52.5v6.78c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47l.001-.1c.001-.053.002-.104 0-.155a.775.775 0 00-.06-.315.65.65 0 00-.16-.22 29.67 29.67 0 01-.21-.189c-.2-.182-.4-.365-.617-.532l-.003-.003A6.366 6.366 0 003.06 7l-.01-.007c-.433-.331-.621-.243-.69-.193-.26.14-.29.5-.13.74l1.73 2.6v.01h-.016l-.035.023.05-.023s1.21 2.6 3.57 2.6c3.54 0 4.2-1.9 4.31-4.42.039-.591.036-1.189.032-1.783l-.002-.507v-.032zm.969 2.376c-.057 1.285-.254 2.667-1.082 3.72-.88 1.118-2.283 1.646-4.227 1.646-1.574 0-2.714-.87-3.406-1.623a6.958 6.958 0 01-1.046-1.504l-.006-.012-1.674-2.516a1.593 1.593 0 01-.25-1.107 1.44 1.44 0 01.69-1.041c.195-.124.485-.232.856-.186.357.044.681.219.976.446.137.106.272.22.4.331V1.75A1.5 1.5 0 015.63.25c.93.036 1.431.856 1.431 1.55v1.335a1.5 1.5 0 01.53-.063h.017c.512.04.915.326 1.153.71a1.5 1.5 0 01.74-.161c.659.025 1.115.458 1.316.964a1.493 1.493 0 01.644-.103h.017c.856.067 1.393.814 1.393 1.558l.002.48c.004.596.007 1.237-.033 1.864z",fill:e}))),aS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 6A2.5 2.5 0 116 3.5V5h2V3.5A2.5 2.5 0 1110.5 6H9v2h1.5A2.5 2.5 0 118 10.5V9H6v1.5A2.5 2.5 0 113.5 8H5V6H3.5zM2 3.5a1.5 1.5 0 113 0V5H3.5A1.5 1.5 0 012 3.5zM6 6v2h2V6H6zm3-1h1.5A1.5 1.5 0 109 3.5V5zM3.5 9H5v1.5A1.5 1.5 0 113.5 9zM9 9v1.5A1.5 1.5 0 1010.5 9H9z",fill:e}))),oS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.083 12.25H2.917a1.167 1.167 0 01-1.167-1.167V2.917A1.167 1.167 0 012.917 1.75h6.416l2.917 2.917v6.416a1.167 1.167 0 01-1.167 1.167z",stroke:e,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M9.917 12.25V7.583H4.083v4.667M4.083 1.75v2.917H8.75",stroke:e,strokeLinecap:"round",strokeLinejoin:"round"}))),lS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),iS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5.25 5.25A1.75 1.75 0 117 7a.5.5 0 00-.5.5V9a.5.5 0 001 0V7.955A2.75 2.75 0 104.25 5.25a.5.5 0 001 0zM7 11.5A.75.75 0 107 10a.75.75 0 000 1.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),uS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-3.524 4.89A5.972 5.972 0 017 13a5.972 5.972 0 01-3.477-1.11l1.445-1.444C5.564 10.798 6.258 11 7 11s1.436-.202 2.032-.554l1.444 1.445zm-.03-2.858l1.445 1.444A5.972 5.972 0 0013 7c0-1.296-.41-2.496-1.11-3.477l-1.444 1.445C10.798 5.564 11 6.258 11 7s-.202 1.436-.554 2.032zM9.032 3.554l1.444-1.445A5.972 5.972 0 007 1c-1.296 0-2.496.41-3.477 1.11l1.445 1.444A3.981 3.981 0 017 3c.742 0 1.436.202 2.032.554zM3.554 4.968L2.109 3.523A5.973 5.973 0 001 7c0 1.296.41 2.496 1.11 3.476l1.444-1.444A3.981 3.981 0 013 7c0-.742.202-1.436.554-2.032zM10 7a3 3 0 11-6 0 3 3 0 016 0z",fill:e}))),sS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7 4.5a.5.5 0 01.5.5v3.5a.5.5 0 11-1 0V5a.5.5 0 01.5-.5zM7.75 10.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 1.045a.498.498 0 01.23.209l6.494 10.992a.5.5 0 01-.438.754H.508a.497.497 0 01-.506-.452.498.498 0 01.072-.31l6.49-10.984a.497.497 0 01.642-.21zM7 2.483L1.376 12h11.248L7 2.483z",fill:e}))),cS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM6.5 8a.5.5 0 001 0V4a.5.5 0 00-1 0v4zm-.25 2.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0z",fill:e}))),dS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 2.504a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-9zm1 1.012v7.488h12V3.519L7.313 7.894a.496.496 0 01-.526.062.497.497 0 01-.1-.062L1 3.516zm11.03-.512H1.974L7 6.874l5.03-3.87z",fill:e}))),pS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.76 8.134l-.05.05a.2.2 0 01-.28.03 6.76 6.76 0 01-1.63-1.65.21.21 0 01.04-.27l.05-.05c.23-.2.54-.47.71-.96.17-.47-.02-1.04-.66-1.94-.26-.38-.72-.96-1.22-1.46-.68-.69-1.2-1-1.65-1a.98.98 0 00-.51.13A3.23 3.23 0 00.9 3.424c-.13 1.1.26 2.37 1.17 3.78a16.679 16.679 0 004.55 4.6 6.57 6.57 0 003.53 1.32 3.2 3.2 0 002.85-1.66c.14-.24.24-.64-.07-1.18a7.803 7.803 0 00-1.73-1.81c-.64-.5-1.52-1.11-2.13-1.11a.97.97 0 00-.34.06c-.472.164-.74.458-.947.685l-.023.025zm4.32 2.678a6.801 6.801 0 00-1.482-1.54l-.007-.005-.006-.005a8.418 8.418 0 00-.957-.662 2.7 2.7 0 00-.4-.193.683.683 0 00-.157-.043l-.004.002-.009.003c-.224.078-.343.202-.56.44l-.014.016-.046.045a1.2 1.2 0 01-1.602.149A7.76 7.76 0 014.98 7.134l-.013-.019-.013-.02a1.21 1.21 0 01.195-1.522l.06-.06.026-.024c.219-.19.345-.312.422-.533l.003-.01v-.008a.518.518 0 00-.032-.142c-.06-.178-.203-.453-.502-.872l-.005-.008-.005-.007A10.18 10.18 0 004.013 2.59l-.005-.005c-.31-.314-.543-.5-.716-.605-.147-.088-.214-.096-.222-.097h-.016l-.006.003-.01.006a2.23 2.23 0 00-1.145 1.656c-.09.776.175 1.806 1.014 3.108a15.68 15.68 0 004.274 4.32l.022.014.022.016a5.57 5.57 0 002.964 1.117 2.2 2.2 0 001.935-1.141l.006-.012.004-.007a.182.182 0 00-.007-.038.574.574 0 00-.047-.114z",fill:e}))),fS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),i.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),hS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.452 7.952l1.305-1.305.708.707-1.306 1.305a2.25 2.25 0 103.182 3.182l1.306-1.305.707.707-1.306 1.305a3.25 3.25 0 01-4.596-4.596zM12.548 6.048l-1.305 1.306-.707-.708 1.305-1.305a2.25 2.25 0 10-3.182-3.182L7.354 3.464l-.708-.707 1.306-1.305a3.25 3.25 0 014.596 4.596zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.707-.707l-11-11z",fill:e}))),mS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.994 1.11a1 1 0 10-1.988 0A4.502 4.502 0 002.5 5.5v3.882l-.943 1.885a.497.497 0 00-.053.295.5.5 0 00.506.438h3.575a1.5 1.5 0 102.83 0h3.575a.5.5 0 00.453-.733L11.5 9.382V5.5a4.502 4.502 0 00-3.506-4.39zM2.81 11h8.382l-.5-1H3.31l-.5 1zM10.5 9V5.5a3.5 3.5 0 10-7 0V9h7zm-4 3.5a.5.5 0 111 0 .5.5 0 01-1 0z",fill:e}))),gS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.5.5A.5.5 0 012 0c6.627 0 12 5.373 12 12a.5.5 0 01-1 0C13 5.925 8.075 1 2 1a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{d:"M1.5 4.5A.5.5 0 012 4a8 8 0 018 8 .5.5 0 01-1 0 7 7 0 00-7-7 .5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 11a2 2 0 11-4 0 2 2 0 014 0zm-1 0a1 1 0 11-2 0 1 1 0 012 0z",fill:e}))),vS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z",fill:e}),i.createElement("path",{d:"M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z",fill:e}))),yS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M6.646.15a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.707L7.5 1.711v6.793a.5.5 0 01-1 0V1.71L5.354 2.857a.5.5 0 11-.708-.707l2-2z",fill:e}),i.createElement("path",{d:"M2 4.004a1 1 0 00-1 1v7a1 1 0 001 1h10a1 1 0 001-1v-7a1 1 0 00-1-1H9.5a.5.5 0 100 1H12v7H2v-7h2.5a.5.5 0 000-1H2z",fill:e}))),wS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M13.854 6.646a.5.5 0 010 .708l-2 2a.5.5 0 01-.708-.708L12.293 7.5H5.5a.5.5 0 010-1h6.793l-1.147-1.146a.5.5 0 01.708-.708l2 2z",fill:e}),i.createElement("path",{d:"M10 2a1 1 0 00-1-1H2a1 1 0 00-1 1v10a1 1 0 001 1h7a1 1 0 001-1V9.5a.5.5 0 00-1 0V12H2V2h7v2.5a.5.5 0 001 0V2z",fill:e}))),bS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 13A6 6 0 107 1a6 6 0 000 12zm0 1A7 7 0 107 0a7 7 0 000 14z",fill:e}))),DS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M14 7A7 7 0 110 7a7 7 0 0114 0z",fill:e}))),ES=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5zM4 12.413l2.664-2.284a.454.454 0 01.377-.128.498.498 0 01.284.12L10 12.412V1H4v11.413z",fill:e}))),CS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5z",fill:e}))),xS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("g",{clipPath:"url(#prefix__clip0_1449_588)"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.414 1.586a2 2 0 00-2.828 0l-4 4a2 2 0 000 2.828l4 4a2 2 0 002.828 0l4-4a2 2 0 000-2.828l-4-4zm.707-.707a3 3 0 00-4.242 0l-4 4a3 3 0 000 4.242l4 4a3 3 0 004.242 0l4-4a3 3 0 000-4.242l-4-4z",fill:e})),i.createElement("defs",null,i.createElement("clipPath",{id:"prefix__clip0_1449_588"},i.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),FS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584zM1.2 3.526c.128-.333.304-.598.52-.806.218-.212.497-.389.849-.522m-1.37 1.328A3.324 3.324 0 001 4.708c0 .225.032.452.101.686.082.265.183.513.307.737.135.246.294.484.479.716.188.237.386.454.59.652l.001.002 4.514 4.355 4.519-4.344c.2-.193.398-.41.585-.648l.003-.003c.184-.23.345-.472.486-.726l.004-.007c.131-.23.232-.474.31-.732v-.002c.068-.224.101-.45.101-.686 0-.457-.07-.849-.195-1.185a2.177 2.177 0 00-.515-.802l.007-.012-.008.009a2.383 2.383 0 00-.85-.518l-.003-.001C11.1 2.072 10.692 2 10.203 2c-.21 0-.406.03-.597.09h-.001c-.22.07-.443.167-.663.289l-.007.003c-.22.12-.434.262-.647.426-.226.174-.42.341-.588.505l-.684.672-.7-.656a9.967 9.967 0 00-.615-.527 4.82 4.82 0 00-.635-.422l-.01-.005a3.289 3.289 0 00-.656-.281l-.008-.003A2.014 2.014 0 003.785 2c-.481 0-.881.071-1.217.198",fill:e}))),SS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584z",fill:e}))),AS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.319.783a.75.75 0 011.362 0l1.63 3.535 3.867.458a.75.75 0 01.42 1.296L10.74 8.715l.76 3.819a.75.75 0 01-1.103.8L7 11.434l-3.398 1.902a.75.75 0 01-1.101-.801l.758-3.819L.401 6.072a.75.75 0 01.42-1.296l3.867-.458L6.318.783zm.68.91l-1.461 3.17a.75.75 0 01-.593.431l-3.467.412 2.563 2.37a.75.75 0 01.226.697l-.68 3.424 3.046-1.705a.75.75 0 01.733 0l3.047 1.705-.68-3.424a.75.75 0 01.226-.697l2.563-2.37-3.467-.412a.75.75 0 01-.593-.43L7 1.694z",fill:e}))),kS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.68.783a.75.75 0 00-1.361 0l-1.63 3.535-3.867.458A.75.75 0 00.4 6.072l2.858 2.643-.758 3.819a.75.75 0 001.101.8L7 11.434l3.397 1.902a.75.75 0 001.102-.801l-.759-3.819L13.6 6.072a.75.75 0 00-.421-1.296l-3.866-.458L7.68.783z",fill:e}))),BS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7.854a4.5 4.5 0 10-6 0V13a.5.5 0 00.497.5h.006c.127 0 .254-.05.35-.146L7 11.207l2.146 2.147A.5.5 0 0010 13V7.854zM7 8a3.5 3.5 0 100-7 3.5 3.5 0 000 7zm-.354 2.146a.5.5 0 01.708 0L9 11.793v-3.26C8.398 8.831 7.718 9 7 9a4.481 4.481 0 01-2-.468v3.26l1.646-1.646z",fill:e}))),_S=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.565 13.123a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97c.25.473.83.661 1.31.426l.987-.482zm4.289-8.477a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),IS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 12.02c-.4.37-.91.56-1.56.56h-.88a5.493 5.493 0 01-1.3-.16c-.42-.1-.91-.25-1.47-.45a5.056 5.056 0 00-.95-.27H2.88a.84.84 0 01-.62-.26.84.84 0 01-.26-.61V6.45c0-.24.09-.45.26-.62a.84.84 0 01.62-.25h1.87c.16-.11.47-.47.93-1.06.27-.35.51-.64.74-.88.1-.11.19-.3.24-.58.05-.28.12-.57.2-.87.1-.3.24-.55.43-.74a.87.87 0 01.62-.25c.38 0 .72.07 1.03.22.3.15.54.38.7.7.15.31.23.73.23 1.27a3 3 0 01-.32 1.31h1.2c.47 0 .88.17 1.23.52s.52.8.52 1.22c0 .29-.04.66-.34 1.12.05.15.07.3.07.47 0 .35-.09.68-.26.98a2.05 2.05 0 01-.4 1.51 1.9 1.9 0 01-.57 1.5zm.473-5.33a.965.965 0 00.027-.25.742.742 0 00-.227-.513.683.683 0 00-.523-.227H7.927l.73-1.45a2 2 0 00.213-.867c0-.444-.068-.695-.127-.822a.53.53 0 00-.245-.244 1.296 1.296 0 00-.539-.116.989.989 0 00-.141.28 9.544 9.544 0 00-.174.755c-.069.387-.213.779-.484 1.077l-.009.01-.009.01c-.195.202-.41.46-.67.798l-.003.004c-.235.3-.44.555-.613.753-.151.173-.343.381-.54.516l-.255.176H5v4.133l.018.003c.384.07.76.176 1.122.318.532.189.98.325 1.352.413l.007.002a4.5 4.5 0 001.063.131h.878c.429 0 .683-.115.871-.285a.9.9 0 00.262-.702l-.028-.377.229-.3a1.05 1.05 0 00.205-.774l-.044-.333.165-.292a.969.969 0 00.13-.487.457.457 0 00-.019-.154l-.152-.458.263-.404a1.08 1.08 0 00.152-.325zM3.5 10.8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),RS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.765 2.076A.5.5 0 0112 2.5v6.009a.497.497 0 01-.17.366L7.337 12.87a.497.497 0 01-.674 0L2.17 8.875l-.009-.007a.498.498 0 01-.16-.358L2 8.5v-6a.5.5 0 01.235-.424l.018-.011c.016-.01.037-.024.065-.04.056-.032.136-.077.24-.128a6.97 6.97 0 01.909-.371C4.265 1.26 5.443 1 7 1s2.735.26 3.533.526c.399.133.702.267.91.37a4.263 4.263 0 01.304.169l.018.01zM3 2.793v5.482l1.068.95 6.588-6.588a6.752 6.752 0 00-.44-.163C9.517 2.24 8.444 2 7 2c-1.443 0-2.515.24-3.217.474-.351.117-.61.233-.778.317L3 2.793zm4 9.038l-2.183-1.94L11 3.706v4.568l-4 3.556z",fill:e}))),zS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M10.354 2.854a.5.5 0 10-.708-.708l-3 3a.5.5 0 10.708.708l3-3z",fill:e}),i.createElement("path",{d:"M2.09 6H4.5a.5.5 0 000-1H1.795a.75.75 0 00-.74.873l.813 4.874A1.5 1.5 0 003.348 12h7.305a1.5 1.5 0 001.48-1.253l.812-4.874a.75.75 0 00-.74-.873H10a.5.5 0 000 1h1.91l-.764 4.582a.5.5 0 01-.493.418H3.347a.5.5 0 01-.493-.418L2.09 6z",fill:e}),i.createElement("path",{d:"M4.5 7a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 7.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2zM6.5 9.5v-2a.5.5 0 011 0v2a.5.5 0 01-1 0z",fill:e}))),TS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 2h.75v3.866l-3.034 5.26A1.25 1.25 0 003.299 13H10.7a1.25 1.25 0 001.083-1.875L8.75 5.866V2h.75a.5.5 0 100-1h-5a.5.5 0 000 1zm1.75 4V2h1.5v4.134l.067.116L8.827 8H5.173l1.01-1.75.067-.116V6zM4.597 9l-1.515 2.625A.25.25 0 003.3 12H10.7a.25.25 0 00.217-.375L9.404 9H4.597z",fill:e}))),LS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.5 10.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1a.5.5 0 00-.5.5c0 1.063.137 1.892.678 2.974.346.692.858 1.489 1.598 2.526-.89 1.247-1.455 2.152-1.798 2.956-.377.886-.477 1.631-.478 2.537v.007a.5.5 0 00.5.5h7c.017 0 .034 0 .051-.003A.5.5 0 0011 12.5v-.007c0-.906-.1-1.65-.478-2.537-.343-.804-.909-1.709-1.798-2.956.74-1.037 1.252-1.834 1.598-2.526C10.863 3.392 11 2.563 11 1.5a.5.5 0 00-.5-.5h-7zm6.487 11a4.675 4.675 0 00-.385-1.652c-.277-.648-.735-1.407-1.499-2.494-.216.294-.448.606-.696.937a.497.497 0 01-.195.162.5.5 0 01-.619-.162c-.248-.331-.48-.643-.696-.937-.764 1.087-1.222 1.846-1.499 2.494A4.675 4.675 0 004.013 12h5.974zM6.304 6.716c.212.293.443.609.696.948a90.058 90.058 0 00.709-.965c.48-.664.86-1.218 1.163-1.699H5.128a32.672 32.672 0 001.176 1.716zM4.559 4h4.882c.364-.735.505-1.312.546-2H4.013c.04.688.182 1.265.546 2z",fill:e}))),MS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5 1h-9a.5.5 0 00-.5.5v11a.5.5 0 001 0V8h8.5a.5.5 0 00.354-.854L9.207 4.5l2.647-2.646A.499.499 0 0011.5 1zM8.146 4.146L10.293 2H3v5h7.293L8.146 4.854a.5.5 0 010-.708z",fill:e}))),OS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7V6a3 3 0 00-5.91-.736l-.17.676-.692.075A2.5 2.5 0 003.5 11h3c.063 0 .125-.002.187-.007l.076-.005.076.006c.053.004.106.006.161.006h4a2 2 0 100-4h-1zM3.12 5.02A3.5 3.5 0 003.5 12h3c.087 0 .174-.003.26-.01.079.007.16.01.24.01h4a3 3 0 100-6 4 4 0 00-7.88-.98z",fill:e}))),PS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7 2a4 4 0 014 4 3 3 0 110 6H7c-.08 0-.161-.003-.24-.01-.086.007-.173.01-.26.01h-3a3.5 3.5 0 01-.38-6.98A4.002 4.002 0 017 2z",fill:e}))),NS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 7a4 4 0 11-8 0 4 4 0 018 0zm-1 0a3 3 0 11-6 0 3 3 0 016 0z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.268 13.18c.25.472.83.66 1.31.425l.987-.482a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97zm5.096-1.44l-.511.963-.979-.478a1.99 1.99 0 00-1.748 0l-.979.478-.51-.962a1.991 1.991 0 00-1.415-1.028l-1.073-.188.152-1.079a1.991 1.991 0 00-.54-1.663L1.004 7l.757-.783a1.991 1.991 0 00.54-1.663L2.15 3.475l1.073-.188A1.991 1.991 0 004.636 2.26l.511-.962.979.478a1.99 1.99 0 001.748 0l.979-.478.51.962c.288.543.81.922 1.415 1.028l1.073.188-.152 1.079a1.99 1.99 0 00.54 1.663l.757.783-.757.783a1.99 1.99 0 00-.54 1.663l.152 1.079-1.073.188a1.991 1.991 0 00-1.414 1.028z",fill:e}))),HS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 4a3 3 0 100 6 3 3 0 000-6zM3 7a4 4 0 118 0 4 4 0 01-8 0z",fill:e}))),jS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 3.044a.498.498 0 01.23.212l3.492 5.985a.494.494 0 01.006.507.497.497 0 01-.443.252H3.51a.499.499 0 01-.437-.76l3.492-5.984a.497.497 0 01.642-.212zM7 4.492L4.37 9h5.26L7 4.492z",fill:e}))),$S=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.854 4.146a.5.5 0 010 .708l-5 5a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708L5.5 8.793l4.646-4.647a.5.5 0 01.708 0z",fill:e}))),VS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.354 3.896l5.5 5.5a.5.5 0 01-.708.708L7 4.957l-5.146 5.147a.5.5 0 01-.708-.708l5.5-5.5a.5.5 0 01.708 0z",fill:e}))),US=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),qS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2.76 7.096a.498.498 0 00.136.258l5.5 5.5a.5.5 0 00.707-.708L3.958 7l5.147-5.146a.5.5 0 10-.708-.708l-5.5 5.5a.5.5 0 00-.137.45z",fill:e}))),Rb=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),WS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),GS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),KS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.104 10.146a.5.5 0 01-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 11.708.708L5.957 7l3.147 3.146z",fill:e}))),YS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.896 10.146a.5.5 0 00.708.708l3.5-3.5a.5.5 0 000-.708l-3.5-3.5a.5.5 0 10-.708.708L8.043 7l-3.147 3.146z",fill:e}))),ZS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.854 4.646l-4.5-4.5a.5.5 0 00-.708 0l-4.5 4.5a.5.5 0 10.708.708L6.5 1.707V13.5a.5.5 0 001 0V1.707l3.646 3.647a.5.5 0 00.708-.708z",fill:e}))),JS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v11.793L2.854 8.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.351.146h.006c.127 0 .254-.05.35-.146l4.5-4.5a.5.5 0 00-.707-.708L7.5 12.293V.5z",fill:e}))),XS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5.354 2.146a.5.5 0 010 .708L1.707 6.5H13.5a.5.5 0 010 1H1.707l3.647 3.646a.5.5 0 01-.708.708l-4.5-4.5a.5.5 0 010-.708l4.5-4.5a.5.5 0 01.708 0z",fill:e}))),QS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M8.646 2.146a.5.5 0 01.708 0l4.5 4.5a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708-.708L12.293 7.5H.5a.5.5 0 010-1h11.793L8.646 2.854a.5.5 0 010-.708z",fill:e}))),eA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.904 8.768V2.404a.5.5 0 01.5-.5h6.364a.5.5 0 110 1H3.61l8.339 8.339a.5.5 0 01-.707.707l-8.34-8.34v5.158a.5.5 0 01-1 0z",fill:e}))),tA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M12.096 8.768V2.404a.5.5 0 00-.5-.5H5.232a.5.5 0 100 1h5.157L2.05 11.243a.5.5 0 10.707.707l8.34-8.34v5.158a.5.5 0 101 0z",fill:e}))),rA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.904 5.232v6.364a.5.5 0 00.5.5h6.364a.5.5 0 000-1H3.61l8.339-8.339a.5.5 0 00-.707-.707l-8.34 8.34V5.231a.5.5 0 00-1 0z",fill:e}))),nA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M12.096 5.232v6.364a.5.5 0 01-.5.5H5.232a.5.5 0 010-1h5.157L2.05 2.757a.5.5 0 01.707-.707l8.34 8.34V5.231a.5.5 0 111 0z",fill:e}))),aA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.772 3.59c.126-.12.33-.12.456 0l5.677 5.387c.203.193.06.523-.228.523H1.323c-.287 0-.431-.33-.228-.523L6.772 3.59z",fill:e}))),oA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.228 10.41a.335.335 0 01-.456 0L1.095 5.023c-.203-.193-.06-.523.228-.523h11.354c.287 0 .431.33.228.523L7.228 10.41z",fill:e}))),lA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.712 7.212a.3.3 0 010-.424l5.276-5.276a.3.3 0 01.512.212v10.552a.3.3 0 01-.512.212L3.712 7.212z",fill:e}))),iA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.288 7.212a.3.3 0 000-.424L5.012 1.512a.3.3 0 00-.512.212v10.552a.3.3 0 00.512.212l5.276-5.276z",fill:e}))),uA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.354.146l4 4a.5.5 0 01-.708.708L7 1.207 3.354 4.854a.5.5 0 11-.708-.708l4-4a.5.5 0 01.708 0zM11.354 9.146a.5.5 0 010 .708l-4 4a.5.5 0 01-.708 0l-4-4a.5.5 0 11.708-.708L7 12.793l3.646-3.647a.5.5 0 01.708 0z",fill:e}))),sA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.354.146a.5.5 0 10-.708.708l4 4a.5.5 0 00.708 0l4-4a.5.5 0 00-.708-.708L7 3.793 3.354.146zM6.646 9.146a.5.5 0 01.708 0l4 4a.5.5 0 01-.708.708L7 10.207l-3.646 3.647a.5.5 0 01-.708-.708l4-4z",fill:e}))),cA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.5 1h2a.5.5 0 010 1h-.793l3.147 3.146a.5.5 0 11-.708.708L2 2.707V3.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 1.5a.5.5 0 01.5-.5h2a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-.793L8.854 5.854a.5.5 0 11-.708-.708L11.293 2H10.5a.5.5 0 01-.5-.5zM12.5 10a.5.5 0 01.5.5v2a.5.5 0 01-.5.5h-2a.5.5 0 010-1h.793L8.146 8.854a.5.5 0 11.708-.708L12 11.293V10.5a.5.5 0 01.5-.5zM2 11.293V10.5a.5.5 0 00-1 0v2a.5.5 0 00.5.5h2a.5.5 0 000-1h-.793l3.147-3.146a.5.5 0 10-.708-.708L2 11.293z",fill:e}))),dA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M6.646.147l-1.5 1.5a.5.5 0 10.708.707l.646-.647V5a.5.5 0 001 0V1.707l.646.647a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0z",fill:e}),i.createElement("path",{d:"M1.309 4.038a.498.498 0 00-.16.106l-.005.005a.498.498 0 00.002.705L3.293 7 1.146 9.146A.498.498 0 001.5 10h3a.5.5 0 000-1H2.707l1.5-1.5h5.586l2.353 2.354a.5.5 0 00.708-.708L10.707 7l2.146-2.146.11-.545-.107.542A.499.499 0 0013 4.503v-.006a.5.5 0 00-.144-.348l-.005-.005A.498.498 0 0012.5 4h-3a.5.5 0 000 1h1.793l-1.5 1.5H4.207L2.707 5H4.5a.5.5 0 000-1h-3a.498.498 0 00-.191.038z",fill:e}),i.createElement("path",{d:"M7 8.5a.5.5 0 01.5.5v3.293l.646-.647a.5.5 0 01.708.708l-1.5 1.5a.5.5 0 01-.708 0l-1.5-1.5a.5.5 0 01.708-.708l.646.647V9a.5.5 0 01.5-.5zM9 9.5a.5.5 0 01.5-.5h3a.5.5 0 010 1h-3a.5.5 0 01-.5-.5z",fill:e}))),pA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M10.646 2.646a.5.5 0 01.708 0l1.5 1.5a.5.5 0 010 .708l-1.5 1.5a.5.5 0 01-.708-.708L11.293 5H1.5a.5.5 0 010-1h9.793l-.647-.646a.5.5 0 010-.708zM3.354 8.354L2.707 9H12.5a.5.5 0 010 1H2.707l.647.646a.5.5 0 01-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708z",fill:e}))),fA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.5 1a.5.5 0 01.5.5V10a2 2 0 004 0V4a3 3 0 016 0v7.793l1.146-1.147a.5.5 0 01.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 01.708-.708L11 11.793V4a2 2 0 10-4 0v6.002a3 3 0 01-6 0V1.5a.5.5 0 01.5-.5z",fill:e}))),hA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e}))),mA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4.354 2.146a.5.5 0 010 .708L1.707 5.5H9.5A4.5 4.5 0 0114 10v1.5a.5.5 0 01-1 0V10a3.5 3.5 0 00-3.5-3.5H1.707l2.647 2.646a.5.5 0 11-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 01.708 0z",fill:e}))),gA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5.5 1A.5.5 0 005 .5H2a.5.5 0 000 1h1.535a6.502 6.502 0 002.383 11.91.5.5 0 10.165-.986A5.502 5.502 0 014.5 2.1V4a.5.5 0 001 0V1.353a.5.5 0 000-.023V1zM7.507 1a.5.5 0 01.576-.41 6.502 6.502 0 012.383 11.91H12a.5.5 0 010 1H9a.5.5 0 01-.5-.5v-3a.5.5 0 011 0v1.9A5.5 5.5 0 007.917 1.576.5.5 0 017.507 1z",fill:e}))),vA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M8.646 5.854L7.5 4.707V10.5a.5.5 0 01-1 0V4.707L5.354 5.854a.5.5 0 11-.708-.708l2-2a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.708z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),yA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5.354 8.146L6.5 9.293V3.5a.5.5 0 011 0v5.793l1.146-1.147a.5.5 0 11.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm1 0a6 6 0 1112 0A6 6 0 011 7z",fill:e}))),wA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5.854 5.354L4.707 6.5H10.5a.5.5 0 010 1H4.707l1.147 1.146a.5.5 0 11-.708.708l-2-2a.5.5 0 010-.708l2-2a.5.5 0 11.708.708z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a7 7 0 110 14A7 7 0 017 0zm0 1a6 6 0 110 12A6 6 0 017 1z",fill:e}))),bA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.5 6.5h5.793L8.146 5.354a.5.5 0 11.708-.708l2 2a.5.5 0 010 .708l-2 2a.5.5 0 11-.708-.708L9.293 7.5H3.5a.5.5 0 010-1z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 117 0a7 7 0 010 14zm0-1A6 6 0 117 1a6 6 0 010 12z",fill:e}))),DA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.092.5H7a6.5 6.5 0 106.41 7.583.5.5 0 10-.986-.166A5.495 5.495 0 017 12.5a5.5 5.5 0 010-11h.006a5.5 5.5 0 014.894 3H10a.5.5 0 000 1h3a.5.5 0 00.5-.5V2a.5.5 0 00-1 0v1.535A6.495 6.495 0 007.092.5z",fill:e}))),EA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 100 7a7 7 0 0014 0zm-6.535 5.738c-.233.23-.389.262-.465.262-.076 0-.232-.032-.465-.262-.238-.234-.497-.623-.737-1.182-.434-1.012-.738-2.433-.79-4.056h3.984c-.052 1.623-.356 3.043-.79 4.056-.24.56-.5.948-.737 1.182zM8.992 6.5H5.008c.052-1.623.356-3.044.79-4.056.24-.56.5-.948.737-1.182C6.768 1.032 6.924 1 7 1c.076 0 .232.032.465.262.238.234.497.623.737 1.182.434 1.012.738 2.433.79 4.056zm1 1c-.065 2.176-.558 4.078-1.282 5.253A6.005 6.005 0 0012.98 7.5H9.992zm2.987-1H9.992c-.065-2.176-.558-4.078-1.282-5.253A6.005 6.005 0 0112.98 6.5zm-8.971 0c.065-2.176.558-4.078 1.282-5.253A6.005 6.005 0 001.02 6.5h2.988zm-2.987 1a6.005 6.005 0 004.27 5.253C4.565 11.578 4.072 9.676 4.007 7.5H1.02z",fill:e}))),CA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.087 3.397L5.95 5.793a.374.374 0 00-.109.095.377.377 0 00-.036.052l-2.407 4.147a.374.374 0 00-.004.384c.104.179.334.24.513.136l4.142-2.404a.373.373 0 00.148-.143l2.406-4.146a.373.373 0 00-.037-.443.373.373 0 00-.478-.074zM4.75 9.25l2.847-1.652-1.195-1.195L4.75 9.25z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),xA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm6.5 3.5v2.48A6.001 6.001 0 011.02 7.5H3.5a.5.5 0 000-1H1.02A6.001 6.001 0 016.5 1.02V3.5a.5.5 0 001 0V1.02a6.001 6.001 0 015.48 5.48H10.5a.5.5 0 000 1h2.48a6.002 6.002 0 01-5.48 5.48V10.5a.5.5 0 00-1 0z",fill:e}))),FA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 5a2 2 0 11-4 0 2 2 0 014 0zM8 5a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5A5 5 0 002 5c0 2.633 2.273 6.154 4.65 8.643.192.2.508.2.7 0C9.726 11.153 12 7.633 12 5zM7 1a4 4 0 014 4c0 1.062-.471 2.42-1.303 3.88-.729 1.282-1.69 2.562-2.697 3.67-1.008-1.108-1.968-2.388-2.697-3.67C3.47 7.42 3 6.063 3 5a4 4 0 014-4z",fill:e}))),SA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7 2a.5.5 0 01.5.5v4H10a.5.5 0 010 1H7a.5.5 0 01-.5-.5V2.5A.5.5 0 017 2z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),AA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M9.79 4.093a.5.5 0 01.117.698L7.91 7.586a1 1 0 11-.814-.581l1.997-2.796a.5.5 0 01.698-.116z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.069 12.968a7 7 0 119.863 0A12.962 12.962 0 007 12c-1.746 0-3.41.344-4.931.968zm9.582-1.177a6 6 0 10-9.301 0A13.98 13.98 0 017 11c1.629 0 3.194.279 4.65.791z",fill:e}))),kA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.5 4.5a.5.5 0 00-1 0v2.634a1 1 0 101 0V4.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.5A.5.5 0 016 0h2a.5.5 0 010 1h-.5v1.02a5.973 5.973 0 013.374 1.398l.772-.772a.5.5 0 01.708.708l-.772.772A6 6 0 116.5 2.02V1H6a.5.5 0 01-.5-.5zM7 3a5 5 0 100 10A5 5 0 007 3z",fill:e}))),BA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.354 1.146l5.5 5.5a.5.5 0 01-.708.708L12 7.207V12.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V9H6v3.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V7.207l-.146.147a.5.5 0 11-.708-.708l1-1 4.5-4.5a.5.5 0 01.708 0zM3 6.207V12h2V8.5a.5.5 0 01.5-.5h3a.5.5 0 01.5.5V12h2V6.207l-4-4-4 4z",fill:e}))),_A=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.213 4.094a.5.5 0 01.056-.034l5.484-2.995a.498.498 0 01.494 0L12.73 4.06a.507.507 0 01.266.389.498.498 0 01-.507.555H1.51a.5.5 0 01-.297-.91zm2.246-.09h7.082L7 2.07 3.459 4.004z",fill:e}),i.createElement("path",{d:"M4 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM11 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM5.75 5.5a.5.5 0 01.5.5v5a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM8.75 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM1.5 12.504a.5.5 0 01.5-.5h10a.5.5 0 010 1H2a.5.5 0 01-.5-.5z",fill:e}))),IA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("g",{clipPath:"url(#prefix__clip0_1107_3594)"},i.createElement("path",{d:"M11.451.537l.01 12.922h0L7.61 8.946a1.077 1.077 0 00-.73-.374L.964 8.087 11.45.537h0z",stroke:e,strokeWidth:1.077})),i.createElement("defs",null,i.createElement("clipPath",{id:"prefix__clip0_1107_3594"},i.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),RA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM2.671 11.155c.696-1.006 2.602-1.816 3.194-1.91.226-.036.232-.658.232-.658s-.665-.658-.81-1.544c-.39 0-.63-.94-.241-1.272a2.578 2.578 0 00-.012-.13c-.066-.607-.28-2.606 1.965-2.606 2.246 0 2.031 2 1.966 2.606l-.012.13c.39.331.149 1.272-.24 1.272-.146.886-.81 1.544-.81 1.544s.004.622.23.658c.593.094 2.5.904 3.195 1.91a6 6 0 10-8.657 0z",fill:e}))),zA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.275 13.16a11.388 11.388 0 005.175-1.232v-.25c0-1.566-3.237-2.994-4.104-3.132-.27-.043-.276-.783-.276-.783s.791-.783.964-1.836c.463 0 .75-1.119.286-1.513C9.34 4 9.916 1.16 6.997 1.16c-2.92 0-2.343 2.84-2.324 3.254-.463.394-.177 1.513.287 1.513.172 1.053.963 1.836.963 1.836s-.006.74-.275.783c-.858.136-4.036 1.536-4.103 3.082a11.388 11.388 0 005.73 1.532z",fill:e}))),TA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.183 11.906a10.645 10.645 0 01-1.181-.589c.062-1.439 3.02-2.74 3.818-2.868.25-.04.256-.728.256-.728s-.736-.729-.896-1.709c-.432 0-.698-1.041-.267-1.408A2.853 2.853 0 002.9 4.46c-.072-.672-.31-2.884 2.175-2.884 2.486 0 2.248 2.212 2.176 2.884-.007.062-.012.112-.014.144.432.367.165 1.408-.266 1.408-.16.98-.896 1.709-.896 1.709s.005.688.256.728c.807.129 3.82 1.457 3.82 2.915v.233a10.598 10.598 0 01-4.816 1.146c-1.441 0-2.838-.282-4.152-.837zM11.5 2.16a.5.5 0 01.5.5v1.5h1.5a.5.5 0 010 1H12v1.5a.5.5 0 01-1 0v-1.5H9.5a.5.5 0 110-1H11v-1.5a.5.5 0 01.5-.5z",fill:e}))),LA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M9.21 11.623a10.586 10.586 0 01-4.031.787A10.585 10.585 0 010 11.07c.06-1.354 2.933-2.578 3.708-2.697.243-.038.249-.685.249-.685s-.715-.685-.87-1.607c-.42 0-.679-.979-.26-1.323a2.589 2.589 0 00-.013-.136c-.07-.632-.3-2.712 2.113-2.712 2.414 0 2.183 2.08 2.113 2.712-.007.059-.012.105-.013.136.419.344.16 1.323-.259 1.323-.156.922-.87 1.607-.87 1.607s.005.647.248.685c.784.12 3.71 1.37 3.71 2.74v.22c-.212.103-.427.2-.646.29z",fill:e}),i.createElement("path",{d:"M8.81 8.417a9.643 9.643 0 00-.736-.398c.61-.42 1.396-.71 1.7-.757.167-.026.171-.471.171-.471s-.491-.471-.598-1.104c-.288 0-.466-.674-.178-.91-.001-.022-.005-.053-.01-.094-.048-.434-.206-1.864 1.453-1.864 1.66 0 1.5 1.43 1.453 1.864l-.01.094c.289.236.11.91-.178.91-.107.633-.598 1.104-.598 1.104s.004.445.171.47c.539.084 2.55.942 2.55 1.884v.628a10.604 10.604 0 01-3.302.553 2.974 2.974 0 00-.576-.879c-.375-.408-.853-.754-1.312-1.03z",fill:e}))),MA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M9.106 7.354c-.627.265-1.295.4-1.983.4a5.062 5.062 0 01-2.547-.681c.03-.688 1.443-1.31 1.824-1.37.12-.02.122-.348.122-.348s-.351-.348-.428-.816c-.206 0-.333-.498-.127-.673 0-.016-.003-.04-.007-.07C5.926 3.477 5.812 2.42 7 2.42c1.187 0 1.073 1.057 1.039 1.378l-.007.069c.207.175.08.673-.127.673-.076.468-.428.816-.428.816s.003.329.122.348c.386.06 1.825.696 1.825 1.392v.111c-.104.053-.21.102-.318.148zM3.75 11.25A.25.25 0 014 11h6a.25.25 0 110 .5H4a.25.25 0 01-.25-.25zM4 9a.25.25 0 000 .5h6a.25.25 0 100-.5H4z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 .5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v13a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5V.5zM2 13V1h10v12H2z",fill:e}))),OA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.968 8.75a.5.5 0 00-.866.5A4.498 4.498 0 007 11.5c1.666 0 3.12-.906 3.898-2.25a.5.5 0 10-.866-.5A3.498 3.498 0 017 10.5a3.498 3.498 0 01-3.032-1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),PA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),NA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.968 10.25a.5.5 0 01-.866-.5A4.498 4.498 0 017 7.5c1.666 0 3.12.906 3.898 2.25a.5.5 0 11-.866.5A3.498 3.498 0 007 8.5a3.498 3.498 0 00-3.032 1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),HA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}),i.createElement("path",{d:"M7 4.5a1 1 0 100-2 1 1 0 000 2z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),jA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM8 3.5a1 1 0 11-2 0 1 1 0 012 0zM3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}))),$A=0,VA=u(e=>e.button===$A&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,"isPlainLeftClick"),UA=u((e,t)=>{VA(e)&&(e.preventDefault(),t(e))},"cancelled"),qA=k.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{},({containsIcon:e})=>e?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}),WA=k.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:Cn(.07,e.color.secondary),"svg path:not([fill])":{fill:Cn(.07,e.color.secondary)}},"&:active":{color:Cn(.1,e.color.secondary),"svg path:not([fill])":{fill:Cn(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:r})=>{let n;return t&&(n=[e.textMutedColor,e.color.dark,e.color.darker]),r&&(n=[e.color.dark,e.color.darkest,e.textMutedColor]),n?{color:n[0],"svg path:not([fill])":{fill:n[0]},"&:hover":{color:n[1],"svg path:not([fill])":{fill:n[1]}},"&:active":{color:n[2],"svg path:not([fill])":{fill:n[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}),Tn=u(({cancel:e=!0,children:t,onClick:r=void 0,withArrow:n=!1,containsIcon:a=!1,className:o=void 0,style:l=void 0,...s})=>m.createElement(WA,{...s,onClick:r&&e?c=>UA(c,r):r,className:o},m.createElement(qA,{withArrow:n,containsIcon:a},t,n&&m.createElement(Rb,null))),"Link");k.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base==="dark"?e.color.darkest:e.color.dark}}));var Pr=[],Un=null,GA=i.lazy(async()=>{let{SyntaxHighlighter:e}=await Promise.resolve().then(()=>(Ai(),qd));return Pr.length>0&&(Pr.forEach(t=>{e.registerLanguage(...t)}),Pr=[]),Un===null&&(Un=e),{default:u(t=>m.createElement(e,{...t}),"default")}}),KA=i.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([Promise.resolve().then(()=>(Ai(),qd)),Promise.resolve().then(()=>(vC(),Y7))]);return Pr.length>0&&(Pr.forEach(r=>{e.registerLanguage(...r)}),Pr=[]),Un===null&&(Un=e),{default:u(r=>m.createElement(e,{...r,formatter:t}),"default")}}),au=u(e=>m.createElement(i.Suspense,{fallback:m.createElement("div",null)},e.format!==!1?m.createElement(KA,{...e}):m.createElement(GA,{...e})),"SyntaxHighlighter");au.registerLanguage=(...e)=>{if(Un!==null){Un.registerLanguage(...e);return}Pr.push(e)};Ai();mv();var zb={};Kn(zb,{Close:()=>MD,Content:()=>zD,Description:()=>LD,Dialog:()=>pp,DialogClose:()=>Dp,DialogContent:()=>vp,DialogDescription:()=>bp,DialogOverlay:()=>gp,DialogPortal:()=>mp,DialogTitle:()=>wp,DialogTrigger:()=>fp,Overlay:()=>RD,Portal:()=>ID,Root:()=>_D,Title:()=>TD,Trigger:()=>$k,WarningProvider:()=>Pk,createDialogScope:()=>Rk});$d();Gr();function Tb(e,t){let r=i.createContext(t),n=u(o=>{let{children:l,...s}=o,c=i.useMemo(()=>s,Object.values(s));return P.jsx(r.Provider,{value:c,children:l})},"Provider");n.displayName=e+"Provider";function a(o){let l=i.useContext(r);if(l)return l;if(t!==void 0)return t;throw new Error(`\`${o}\` must be used within \`${e}\``)}return u(a,"useContext2"),[n,a]}u(Tb,"createContext2");function Lb(e,t=[]){let r=[];function n(o,l){let s=i.createContext(l),c=r.length;r=[...r,l];let d=u(g=>{var C;let{scope:p,children:h,...v}=g,y=((C=p==null?void 0:p[e])==null?void 0:C[c])||s,b=i.useMemo(()=>v,Object.values(v));return P.jsx(y.Provider,{value:b,children:h})},"Provider");d.displayName=o+"Provider";function f(g,p){var y;let h=((y=p==null?void 0:p[e])==null?void 0:y[c])||s,v=i.useContext(h);if(v)return v;if(l!==void 0)return l;throw new Error(`\`${g}\` must be used within \`${o}\``)}return u(f,"useContext2"),[d,f]}u(n,"createContext3");let a=u(()=>{let o=r.map(l=>i.createContext(l));return u(function(l){let s=(l==null?void 0:l[e])||o;return i.useMemo(()=>({[`__scope${e}`]:{...l,[e]:s}}),[l,s])},"useScope")},"createScope");return a.scopeName=e,[n,Mb(a,...t)]}u(Lb,"createContextScope");function Mb(...e){let t=e[0];if(e.length===1)return t;let r=u(()=>{let n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return u(function(a){let o=n.reduce((l,{useScope:s,scopeName:c})=>{let d=s(a)[`__scope${c}`];return{...l,...d}},{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope");return r.scopeName=t.scopeName,r}u(Mb,"composeContextScopes");go();var YA=i.useId||(()=>{}),ZA=0;function zl(e){let[t,r]=i.useState(YA());return ar(()=>{e||r(n=>n??String(ZA++))},[e]),e||(t?`radix-${t}`:"")}u(zl,"useId");vo();function Ob({prop:e,defaultProp:t,onChange:r=u(()=>{},"onChange")}){let[n,a]=Pb({defaultProp:t,onChange:r}),o=e!==void 0,l=o?e:n,s=ke(r),c=i.useCallback(d=>{if(o){let f=typeof d=="function"?d(e):d;f!==e&&s(f)}else a(d)},[o,e,a,s]);return[l,c]}u(Ob,"useControllableState");function Pb({defaultProp:e,onChange:t}){let r=i.useState(e),[n]=r,a=i.useRef(n),o=ke(t);return i.useEffect(()=>{a.current!==n&&(o(n),a.current=n)},[n,a,o]),r}u(Pb,"useUncontrolledState");$d();mo();Gr();vo();vo();function Nb(e,t=globalThis==null?void 0:globalThis.document){let r=ke(e);i.useEffect(()=>{let n=u(a=>{a.key==="Escape"&&r(a)},"handleKeyDown");return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}u(Nb,"useEscapeKeydown");var JA="DismissableLayer",ad="dismissableLayer.update",XA="dismissableLayer.pointerDownOutside",QA="dismissableLayer.focusOutside",y2,Hb=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),jb=i.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:a,onFocusOutside:o,onInteractOutside:l,onDismiss:s,...c}=e,d=i.useContext(Hb),[f,g]=i.useState(null),p=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=i.useState({}),v=Se(t,S=>g(S)),y=Array.from(d.layers),[b]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),C=y.indexOf(b),D=f?y.indexOf(f):-1,E=d.layersWithOutsidePointerEventsDisabled.size>0,w=D>=C,x=$b(S=>{let A=S.target,B=[...d.branches].some(_=>_.contains(A));!w||B||(a==null||a(S),l==null||l(S),S.defaultPrevented||(s==null||s()))},p),F=Vb(S=>{let A=S.target;[...d.branches].some(B=>B.contains(A))||(o==null||o(S),l==null||l(S),S.defaultPrevented||(s==null||s()))},p);return Nb(S=>{D===d.layers.size-1&&(n==null||n(S),!S.defaultPrevented&&s&&(S.preventDefault(),s()))},p),i.useEffect(()=>{if(f)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(y2=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),od(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=y2)}},[f,p,r,d]),i.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),od())},[f,d]),i.useEffect(()=>{let S=u(()=>h({}),"handleUpdate");return document.addEventListener(ad,S),()=>document.removeEventListener(ad,S)},[]),P.jsx(Ae.div,{...c,ref:v,style:{pointerEvents:E?w?"auto":"none":void 0,...e.style},onFocusCapture:De(e.onFocusCapture,F.onFocusCapture),onBlurCapture:De(e.onBlurCapture,F.onBlurCapture),onPointerDownCapture:De(e.onPointerDownCapture,x.onPointerDownCapture)})});jb.displayName=JA;var ek="DismissableLayerBranch",tk=i.forwardRef((e,t)=>{let r=i.useContext(Hb),n=i.useRef(null),a=Se(t,n);return i.useEffect(()=>{let o=n.current;if(o)return r.branches.add(o),()=>{r.branches.delete(o)}},[r.branches]),P.jsx(Ae.div,{...e,ref:a})});tk.displayName=ek;function $b(e,t=globalThis==null?void 0:globalThis.document){let r=ke(e),n=i.useRef(!1),a=i.useRef(()=>{});return i.useEffect(()=>{let o=u(s=>{if(s.target&&!n.current){let c=u(function(){up(XA,r,d,{discrete:!0})},"handleAndDispatchPointerDownOutsideEvent2"),d={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=c,t.addEventListener("click",a.current,{once:!0})):c()}else t.removeEventListener("click",a.current);n.current=!1},"handlePointerDown"),l=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",o),t.removeEventListener("click",a.current)}},[t,r]),{onPointerDownCapture:u(()=>n.current=!0,"onPointerDownCapture")}}u($b,"usePointerDownOutside");function Vb(e,t=globalThis==null?void 0:globalThis.document){let r=ke(e),n=i.useRef(!1);return i.useEffect(()=>{let a=u(o=>{o.target&&!n.current&&up(QA,r,{originalEvent:o},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,r]),{onFocusCapture:u(()=>n.current=!0,"onFocusCapture"),onBlurCapture:u(()=>n.current=!1,"onBlurCapture")}}u(Vb,"useFocusOutside");function od(){let e=new CustomEvent(ad);document.dispatchEvent(e)}u(od,"dispatchUpdate");function up(e,t,r,{discrete:n}){let a=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),n?yv(a,o):a.dispatchEvent(o)}u(up,"handleAndDispatchCustomEvent");Gr();mo();vo();var Fc="focusScope.autoFocusOnMount",Sc="focusScope.autoFocusOnUnmount",w2={bubbles:!1,cancelable:!0},rk="FocusScope",Ub=i.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:a,onUnmountAutoFocus:o,...l}=e,[s,c]=i.useState(null),d=ke(a),f=ke(o),g=i.useRef(null),p=Se(t,y=>c(y)),h=i.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;i.useEffect(()=>{if(n){let y=u(function(E){if(h.paused||!s)return;let w=E.target;s.contains(w)?g.current=w:Ht(g.current,{select:!0})},"handleFocusIn2"),b=u(function(E){if(h.paused||!s)return;let w=E.relatedTarget;w!==null&&(s.contains(w)||Ht(g.current,{select:!0}))},"handleFocusOut2"),C=u(function(E){if(document.activeElement===document.body)for(let w of E)w.removedNodes.length>0&&Ht(s)},"handleMutations2");document.addEventListener("focusin",y),document.addEventListener("focusout",b);let D=new MutationObserver(C);return s&&D.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",y),document.removeEventListener("focusout",b),D.disconnect()}}},[n,s,h.paused]),i.useEffect(()=>{if(s){b2.add(h);let y=document.activeElement;if(!s.contains(y)){let b=new CustomEvent(Fc,w2);s.addEventListener(Fc,d),s.dispatchEvent(b),b.defaultPrevented||(qb(Zb(sp(s)),{select:!0}),document.activeElement===y&&Ht(s))}return()=>{s.removeEventListener(Fc,d),setTimeout(()=>{let b=new CustomEvent(Sc,w2);s.addEventListener(Sc,f),s.dispatchEvent(b),b.defaultPrevented||Ht(y??document.body,{select:!0}),s.removeEventListener(Sc,f),b2.remove(h)},0)}}},[s,d,f,h]);let v=i.useCallback(y=>{if(!r&&!n||h.paused)return;let b=y.key==="Tab"&&!y.altKey&&!y.ctrlKey&&!y.metaKey,C=document.activeElement;if(b&&C){let D=y.currentTarget,[E,w]=Wb(D);E&&w?!y.shiftKey&&C===w?(y.preventDefault(),r&&Ht(E,{select:!0})):y.shiftKey&&C===E&&(y.preventDefault(),r&&Ht(w,{select:!0})):C===D&&y.preventDefault()}},[r,n,h.paused]);return P.jsx(Ae.div,{tabIndex:-1,...l,ref:p,onKeyDown:v})});Ub.displayName=rk;function qb(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(Ht(n,{select:t}),document.activeElement!==r)return}u(qb,"focusFirst");function Wb(e){let t=sp(e),r=ld(t,e),n=ld(t.reverse(),e);return[r,n]}u(Wb,"getTabbableEdges");function sp(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:u(n=>{let a=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||a?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;r.nextNode();)t.push(r.currentNode);return t}u(sp,"getTabbableCandidates");function ld(e,t){for(let r of e)if(!Gb(r,{upTo:t}))return r}u(ld,"findVisible");function Gb(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}u(Gb,"isHidden");function Kb(e){return e instanceof HTMLInputElement&&"select"in e}u(Kb,"isSelectableInput");function Ht(e,{select:t=!1}={}){if(e&&e.focus){let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&Kb(e)&&t&&e.select()}}u(Ht,"focus");var b2=Yb();function Yb(){let e=[];return{add(t){let r=e[0];t!==r&&(r==null||r.pause()),e=id(e,t),e.unshift(t)},remove(t){var r;e=id(e,t),(r=e[0])==null||r.resume()}}}u(Yb,"createFocusScopesStack");function id(e,t){let r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}u(id,"arrayRemove");function Zb(e){return e.filter(t=>t.tagName!=="A")}u(Zb,"removeLinks");mo();go();var nk="Portal",Jb=i.forwardRef((e,t)=>{var s;let{container:r,...n}=e,[a,o]=i.useState(!1);ar(()=>o(!0),[]);let l=r||a&&((s=globalThis==null?void 0:globalThis.document)==null?void 0:s.body);return l?y4.createPortal(P.jsx(Ae.div,{...n,ref:t}),l):null});Jb.displayName=nk;Gr();go();function Xb(e,t){return i.useReducer((r,n)=>t[r][n]??r,e)}u(Xb,"useStateMachine");var ou=u(e=>{let{present:t,children:r}=e,n=Qb(t),a=typeof r=="function"?r({present:n.isPresent}):i.Children.only(r),o=Se(n.ref,eD(a));return typeof r=="function"||n.isPresent?i.cloneElement(a,{ref:o}):null},"Presence");ou.displayName="Presence";function Qb(e){let[t,r]=i.useState(),n=i.useRef({}),a=i.useRef(e),o=i.useRef("none"),l=e?"mounted":"unmounted",[s,c]=Xb(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{let d=Na(n.current);o.current=s==="mounted"?d:"none"},[s]),ar(()=>{let d=n.current,f=a.current;if(f!==e){let g=o.current,p=Na(d);e?c("MOUNT"):p==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(f&&g!==p?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,c]),ar(()=>{if(t){let d,f=t.ownerDocument.defaultView??window,g=u(h=>{let v=Na(n.current).includes(h.animationName);if(h.target===t&&v&&(c("ANIMATION_END"),!a.current)){let y=t.style.animationFillMode;t.style.animationFillMode="forwards",d=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=y)})}},"handleAnimationEnd"),p=u(h=>{h.target===t&&(o.current=Na(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",g),t.addEventListener("animationend",g),()=>{f.clearTimeout(d),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",g),t.removeEventListener("animationend",g)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:i.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}u(Qb,"usePresence");function Na(e){return(e==null?void 0:e.animationName)||"none"}u(Na,"getAnimationName");function eD(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}u(eD,"getElementRef");mo();var Ac=0;function tD(){i.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??ud()),document.body.insertAdjacentElement("beforeend",e[1]??ud()),Ac++,()=>{Ac===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Ac--}},[])}u(tD,"useFocusGuards");function ud(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}u(ud,"createFocusGuard");var bt=u(function(){return bt=Object.assign||u(function(e){for(var t,r=1,n=arguments.length;r"u")return sk;var t=ck(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},"getGapWidth"),pk=hD(),Ln="data-scroll-locked",fk=u(function(e,t,r,n){var a=e.left,o=e.top,l=e.right,s=e.gap;return r===void 0&&(r="margin"),` +`};function tb(){for(var e=arguments.length,t=new Array(e),r=0;r1?a-1:0),l=1;l=0&&a<1?(u=o,c=l):a>=1&&a<2?(u=l,c=o):a>=2&&a<3?(c=o,d=l):a>=3&&a<4?(c=l,d=o):a>=4&&a<5?(u=l,d=o):a>=5&&a<6&&(u=o,d=l);var f=r-o/2,g=u+f,p=c+f,h=d+f;return n(g,p,h)}s(Vn,"hslToRgb");var g2={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function nb(e){if(typeof e!="string")return e;var t=e.toLowerCase();return g2[t]?"#"+g2[t]:e}s(nb,"nameToHex");var XC=/^#[a-fA-F0-9]{6}$/,QC=/^#[a-fA-F0-9]{8}$/,e9=/^#[a-fA-F0-9]{3}$/,t9=/^#[a-fA-F0-9]{4}$/,xc=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,r9=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,n9=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,a9=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function ts(e){if(typeof e!="string")throw new Dt(3);var t=nb(e);if(t.match(XC))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(QC)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(e9))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(t9)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=xc.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=r9.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var l=n9.exec(t);if(l){var u=parseInt(""+l[1],10),c=parseInt(""+l[2],10)/100,d=parseInt(""+l[3],10)/100,f="rgb("+Vn(u,c,d)+")",g=xc.exec(f);if(!g)throw new Dt(4,t,f);return{red:parseInt(""+g[1],10),green:parseInt(""+g[2],10),blue:parseInt(""+g[3],10)}}var p=a9.exec(t.substring(0,50));if(p){var h=parseInt(""+p[1],10),v=parseInt(""+p[2],10)/100,y=parseInt(""+p[3],10)/100,b="rgb("+Vn(h,v,y)+")",C=xc.exec(b);if(!C)throw new Dt(4,t,b);return{red:parseInt(""+C[1],10),green:parseInt(""+C[2],10),blue:parseInt(""+C[3],10),alpha:parseFloat(""+p[4])>1?parseFloat(""+p[4])/100:parseFloat(""+p[4])}}throw new Dt(5)}s(ts,"parseToRgb");function ab(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),l=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:l,alpha:e.alpha}:{hue:0,saturation:0,lightness:l};var u,c=a-o,d=l>.5?c/(2-a-o):c/(a+o);switch(a){case t:u=(r-n)/c+(r=1?uo(e,t,r):"rgba("+Vn(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?uo(e.hue,e.saturation,e.lightness):"rgba("+Vn(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Dt(2)}s(ib,"hsla");function gi(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return nd("#"+Qt(e)+Qt(t)+Qt(r));if(typeof e=="object"&&t===void 0&&r===void 0)return nd("#"+Qt(e.red)+Qt(e.green)+Qt(e.blue));throw new Dt(6)}s(gi,"rgb");function co(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=ts(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?gi(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?gi(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Dt(7)}s(co,"rgba");var l9=s(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),i9=s(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),s9=s(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),u9=s(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function np(e){if(typeof e!="object")throw new Dt(8);if(i9(e))return co(e);if(l9(e))return gi(e);if(u9(e))return ib(e);if(s9(e))return lb(e);throw new Dt(8)}s(np,"toColorString");function ap(e,t,r){return s(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):ap(e,t,n)},"fn")}s(ap,"curried");function rs(e){return ap(e,e.length,[])}s(rs,"curry");function ns(e,t,r){return Math.max(e,Math.min(t,r))}s(ns,"guard");function sb(e,t){if(t==="transparent")return t;var r=rp(t);return np(Fe({},r,{lightness:ns(0,1,r.lightness-parseFloat(e))}))}s(sb,"darken");var c9=rs(sb),Cn=c9;function ub(e,t){if(t==="transparent")return t;var r=rp(t);return np(Fe({},r,{lightness:ns(0,1,r.lightness+parseFloat(e))}))}s(ub,"lighten");var d9=rs(ub),v2=d9;function cb(e,t){if(t==="transparent")return t;var r=ts(t),n=typeof r.alpha=="number"?r.alpha:1,a=Fe({},r,{alpha:ns(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return co(a)}s(cb,"transparentize");var p9=rs(cb),tt=p9,ea=s(({theme:e})=>({margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}}),"headerCommon"),Wt=s(({theme:e})=>({lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?tt(.1,e.color.defaultText):tt(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border}),"codeCommon"),te=s(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"}),"withReset"),tn={margin:"16px 0"},Lo=k.div(te),f9=s(({href:e="",...t})=>{let r=/^\//.test(e)?`./?path=${e}`:e,n=/^#.*/.test(e)?"_self":"_top";return m.createElement("a",{href:r,target:n,...t})},"Link"),db=k(f9)(te,({theme:e})=>({fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}})),pb=k.blockquote(te,tn,({theme:e})=>({borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}}));Ai();var h9=s(e=>typeof e=="string","isReactChildString"),m9=/[\n\r]/g,g9=k.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}),Wt),v9=k($a)(({theme:e})=>({fontFamily:e.typography.fonts.mono,fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),op=s(({className:e,children:t,...r})=>{let n=(e||"").match(/lang-(\S+)/),a=i.Children.toArray(t);return a.filter(h9).some(o=>o.match(m9))?m.createElement(v9,{bordered:!0,copyable:!0,language:(n==null?void 0:n[1])??"text",format:!1,...r},t):m.createElement(g9,{...r,className:e},a)},"Code"),fb=k.dl(te,tn,{padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}}),hb=k.div(te),mb=k.h1(te,ea,({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),lp=k.h2(te,ea,({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),ip=k.h3(te,ea,({theme:e})=>({fontSize:`${e.typography.size.m1}px`})),gb=k.h4(te,ea,({theme:e})=>({fontSize:`${e.typography.size.s3}px`})),vb=k.h5(te,ea,({theme:e})=>({fontSize:`${e.typography.size.s2}px`})),yb=k.h6(te,ea,({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),wb=k.hr(({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),bb=k.img({maxWidth:"100%"}),Db=k.li(te,({theme:e})=>({fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":Wt({theme:e})})),y9={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},Eb=k.ol(te,tn,y9,{listStyle:"decimal"}),Cb=k.p(te,tn,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":Wt({theme:e})})),xb=k.pre(te,tn,({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}})),Fb=k.span(te,({theme:e})=>({"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}})),Sb=k.title(Wt),Ab=k.table(te,tn,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}})),w9={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},kb=k.ul(te,tn,w9,{listStyle:"disc"}),Bb={h1:s(e=>m.createElement(mb,{...ee(e,"h1")}),"h1"),h2:s(e=>m.createElement(lp,{...ee(e,"h2")}),"h2"),h3:s(e=>m.createElement(ip,{...ee(e,"h3")}),"h3"),h4:s(e=>m.createElement(gb,{...ee(e,"h4")}),"h4"),h5:s(e=>m.createElement(vb,{...ee(e,"h5")}),"h5"),h6:s(e=>m.createElement(yb,{...ee(e,"h6")}),"h6"),pre:s(e=>m.createElement(xb,{...ee(e,"pre")}),"pre"),a:s(e=>m.createElement(db,{...ee(e,"a")}),"a"),hr:s(e=>m.createElement(wb,{...ee(e,"hr")}),"hr"),dl:s(e=>m.createElement(fb,{...ee(e,"dl")}),"dl"),blockquote:s(e=>m.createElement(pb,{...ee(e,"blockquote")}),"blockquote"),table:s(e=>m.createElement(Ab,{...ee(e,"table")}),"table"),img:s(e=>m.createElement(bb,{...ee(e,"img")}),"img"),div:s(e=>m.createElement(hb,{...ee(e,"div")}),"div"),span:s(e=>m.createElement(Fb,{...ee(e,"span")}),"span"),li:s(e=>m.createElement(Db,{...ee(e,"li")}),"li"),ul:s(e=>m.createElement(kb,{...ee(e,"ul")}),"ul"),ol:s(e=>m.createElement(Eb,{...ee(e,"ol")}),"ol"),p:s(e=>m.createElement(Cb,{...ee(e,"p")}),"p"),code:s(e=>m.createElement(op,{...ee(e,"code")}),"code"),tt:s(e=>m.createElement(Sb,{...ee(e,"tt")}),"tt"),resetwrapper:s(e=>m.createElement(Lo,{...ee(e,"resetwrapper")}),"resetwrapper")};k.div(({theme:e})=>({display:"inline-block",fontSize:11,lineHeight:"12px",alignSelf:"center",padding:"4px 12px",borderRadius:"3em",fontWeight:e.typography.weight.bold}),{svg:{height:12,width:12,marginRight:4,marginTop:-2,path:{fill:"currentColor"}}},({theme:e,status:t})=>{switch(t){case"critical":return{color:e.color.critical,background:e.background.critical};case"negative":return{color:e.color.negativeText,background:e.background.negative,boxShadow:e.base==="light"?`inset 0 0 0 1px ${tt(.9,e.color.negativeText)}`:"none"};case"warning":return{color:e.color.warningText,background:e.background.warning,boxShadow:e.base==="light"?`inset 0 0 0 1px ${tt(.9,e.color.warningText)}`:"none"};case"neutral":return{color:e.color.dark,background:e.color.mediumlight,boxShadow:e.base==="light"?`inset 0 0 0 1px ${tt(.9,e.color.dark)}`:"none"};case"positive":return{color:e.color.positiveText,background:e.background.positive,boxShadow:e.base==="light"?`inset 0 0 0 1px ${tt(.9,e.color.positiveText)}`:"none"};default:return{}}});var b9={};Kn(b9,{AccessibilityAltIcon:()=>jA,AccessibilityIcon:()=>HA,AddIcon:()=>MF,AdminIcon:()=>_A,AlertAltIcon:()=>cS,AlertIcon:()=>uS,AlignLeftIcon:()=>fx,AlignRightIcon:()=>hx,AppleIcon:()=>zx,ArrowBottomLeftIcon:()=>rA,ArrowBottomRightIcon:()=>nA,ArrowDownIcon:()=>JS,ArrowLeftIcon:()=>XS,ArrowRightIcon:()=>QS,ArrowSolidDownIcon:()=>oA,ArrowSolidLeftIcon:()=>lA,ArrowSolidRightIcon:()=>iA,ArrowSolidUpIcon:()=>aA,ArrowTopLeftIcon:()=>eA,ArrowTopRightIcon:()=>tA,ArrowUpIcon:()=>ZS,AzureDevOpsIcon:()=>Nx,BackIcon:()=>wA,BasketIcon:()=>zS,BatchAcceptIcon:()=>BF,BatchDenyIcon:()=>kF,BeakerIcon:()=>TS,BellIcon:()=>mS,BitbucketIcon:()=>Hx,BoldIcon:()=>Dx,BookIcon:()=>ax,BookmarkHollowIcon:()=>ES,BookmarkIcon:()=>CS,BottomBarIcon:()=>pF,BottomBarToggleIcon:()=>fF,BoxIcon:()=>yF,BranchIcon:()=>_x,BrowserIcon:()=>aF,ButtonIcon:()=>eS,CPUIcon:()=>hF,CalendarIcon:()=>dx,CameraIcon:()=>$9,CategoryIcon:()=>ix,CertificateIcon:()=>BS,ChangedIcon:()=>jF,ChatIcon:()=>KF,CheckIcon:()=>SF,ChevronDownIcon:()=>US,ChevronLeftIcon:()=>qS,ChevronRightIcon:()=>Rb,ChevronSmallDownIcon:()=>GS,ChevronSmallLeftIcon:()=>KS,ChevronSmallRightIcon:()=>YS,ChevronSmallUpIcon:()=>WS,ChevronUpIcon:()=>VS,ChromaticIcon:()=>jx,ChromeIcon:()=>Ox,CircleHollowIcon:()=>bS,CircleIcon:()=>DS,ClearIcon:()=>VF,CloseAltIcon:()=>RF,CloseIcon:()=>PF,CloudHollowIcon:()=>OS,CloudIcon:()=>PS,CogIcon:()=>DF,CollapseIcon:()=>uA,CommandIcon:()=>aS,CommentAddIcon:()=>qF,CommentIcon:()=>UF,CommentsIcon:()=>GF,CommitIcon:()=>Bx,CompassIcon:()=>CA,ComponentDrivenIcon:()=>$x,ComponentIcon:()=>C9,ContrastIcon:()=>L9,ControlsIcon:()=>_F,CopyIcon:()=>lx,CreditIcon:()=>QF,CrossIcon:()=>Ib,DashboardIcon:()=>AA,DatabaseIcon:()=>mF,DeleteIcon:()=>NF,DiamondIcon:()=>xS,DirectionIcon:()=>IA,DiscordIcon:()=>Vx,DocChartIcon:()=>gx,DocListIcon:()=>vx,DocumentIcon:()=>ox,DownloadIcon:()=>yA,DragIcon:()=>yx,EditIcon:()=>bF,EllipsisIcon:()=>xF,EmailIcon:()=>dS,ExpandAltIcon:()=>sA,ExpandIcon:()=>cA,EyeCloseIcon:()=>z9,EyeIcon:()=>R9,FaceHappyIcon:()=>OA,FaceNeutralIcon:()=>PA,FaceSadIcon:()=>NA,FacebookIcon:()=>Ux,FailedIcon:()=>$F,FastForwardIcon:()=>Y9,FigmaIcon:()=>qx,FilterIcon:()=>mx,FlagIcon:()=>MS,FolderIcon:()=>sx,FormIcon:()=>AF,GDriveIcon:()=>Wx,GithubIcon:()=>Gx,GitlabIcon:()=>Kx,GlobeIcon:()=>EA,GoogleIcon:()=>Yx,GraphBarIcon:()=>px,GraphLineIcon:()=>cx,GraphqlIcon:()=>Zx,GridAltIcon:()=>A9,GridIcon:()=>x9,GrowIcon:()=>P9,HeartHollowIcon:()=>FS,HeartIcon:()=>SS,HomeIcon:()=>BA,HourglassIcon:()=>LS,InfoIcon:()=>lS,ItalicIcon:()=>Ex,JumpToIcon:()=>wS,KeyIcon:()=>JF,LightningIcon:()=>T9,LightningOffIcon:()=>_b,LinkBrokenIcon:()=>hS,LinkIcon:()=>fS,LinkedinIcon:()=>rF,LinuxIcon:()=>Tx,ListOrderedIcon:()=>xx,ListUnorderedIcon:()=>Fx,LocationIcon:()=>xA,LockIcon:()=>YF,MarkdownIcon:()=>Ax,MarkupIcon:()=>bx,MediumIcon:()=>Jx,MemoryIcon:()=>gF,MenuIcon:()=>wx,MergeIcon:()=>Rx,MirrorIcon:()=>O9,MobileIcon:()=>lF,MoonIcon:()=>nx,NutIcon:()=>EF,OutboxIcon:()=>XF,OutlineIcon:()=>F9,PaintBrushIcon:()=>N9,PaperClipIcon:()=>Cx,ParagraphIcon:()=>Sx,PassedIcon:()=>HF,PhoneIcon:()=>pS,PhotoDragIcon:()=>S9,PhotoIcon:()=>E9,PinAltIcon:()=>TF,PinIcon:()=>FA,PlayAllHollowIcon:()=>Q9,PlayBackIcon:()=>W9,PlayHollowIcon:()=>X9,PlayIcon:()=>q9,PlayNextIcon:()=>G9,PlusIcon:()=>IF,PointerDefaultIcon:()=>rS,PointerHandIcon:()=>nS,PowerIcon:()=>wF,PrintIcon:()=>ux,ProceedIcon:()=>bA,ProfileIcon:()=>MA,PullRequestIcon:()=>Ix,QuestionIcon:()=>iS,RSSIcon:()=>gS,RedirectIcon:()=>fA,ReduxIcon:()=>Xx,RefreshIcon:()=>DA,ReplyIcon:()=>mA,RepoIcon:()=>kx,RequestChangeIcon:()=>WF,RewindIcon:()=>K9,RulerIcon:()=>H9,SaveIcon:()=>oS,SearchIcon:()=>k9,ShareAltIcon:()=>vS,ShareIcon:()=>yS,ShieldIcon:()=>RS,SideBySideIcon:()=>ex,SidebarAltIcon:()=>uF,SidebarAltToggleIcon:()=>cF,SidebarIcon:()=>sF,SidebarToggleIcon:()=>dF,SpeakerIcon:()=>U9,StackedIcon:()=>tx,StarHollowIcon:()=>AS,StarIcon:()=>kS,StatusFailIcon:()=>HS,StatusPassIcon:()=>$S,StatusWarnIcon:()=>jS,StickerIcon:()=>NS,StopAltHollowIcon:()=>J9,StopAltIcon:()=>Z9,StopIcon:()=>j9,StorybookIcon:()=>Px,StructureIcon:()=>vF,SubtractIcon:()=>OF,SunIcon:()=>rx,SupportIcon:()=>sS,SwitchAltIcon:()=>M9,SyncIcon:()=>gA,TabletIcon:()=>oF,ThumbsUpIcon:()=>IS,TimeIcon:()=>SA,TimerIcon:()=>kA,TransferIcon:()=>pA,TrashIcon:()=>zF,TwitterIcon:()=>Qx,TypeIcon:()=>tS,UbuntuIcon:()=>Lx,UndoIcon:()=>hA,UnfoldIcon:()=>dA,UnlockIcon:()=>ZF,UnpinIcon:()=>LF,UploadIcon:()=>vA,UserAddIcon:()=>TA,UserAltIcon:()=>zA,UserIcon:()=>RA,UsersIcon:()=>LA,VSCodeIcon:()=>tF,VerifiedIcon:()=>_S,VideoIcon:()=>V9,WandIcon:()=>FF,WatchIcon:()=>iF,WindowsIcon:()=>Mx,WrenchIcon:()=>CF,XIcon:()=>nF,YoutubeIcon:()=>eF,ZoomIcon:()=>B9,ZoomOutIcon:()=>_9,ZoomResetIcon:()=>I9,iconList:()=>D9});var D9=[{name:"Images",icons:["PhotoIcon","ComponentIcon","GridIcon","OutlineIcon","PhotoDragIcon","GridAltIcon","SearchIcon","ZoomIcon","ZoomOutIcon","ZoomResetIcon","EyeIcon","EyeCloseIcon","LightningIcon","LightningOffIcon","ContrastIcon","SwitchAltIcon","MirrorIcon","GrowIcon","PaintBrushIcon","RulerIcon","StopIcon","CameraIcon","VideoIcon","SpeakerIcon","PlayIcon","PlayBackIcon","PlayNextIcon","RewindIcon","FastForwardIcon","StopAltIcon","StopAltHollowIcon","PlayHollowIcon","PlayAllHollowIcon","SideBySideIcon","StackedIcon","SunIcon","MoonIcon"]},{name:"Documents",icons:["BookIcon","DocumentIcon","CopyIcon","CategoryIcon","FolderIcon","PrintIcon","GraphLineIcon","CalendarIcon","GraphBarIcon","AlignLeftIcon","AlignRightIcon","FilterIcon","DocChartIcon","DocListIcon","DragIcon","MenuIcon"]},{name:"Editing",icons:["MarkupIcon","BoldIcon","ItalicIcon","PaperClipIcon","ListOrderedIcon","ListUnorderedIcon","ParagraphIcon","MarkdownIcon"]},{name:"Git",icons:["RepoIcon","CommitIcon","BranchIcon","PullRequestIcon","MergeIcon"]},{name:"OS",icons:["AppleIcon","LinuxIcon","UbuntuIcon","WindowsIcon","ChromeIcon"]},{name:"Logos",icons:["StorybookIcon","AzureDevOpsIcon","BitbucketIcon","ChromaticIcon","ComponentDrivenIcon","DiscordIcon","FacebookIcon","FigmaIcon","GDriveIcon","GithubIcon","GitlabIcon","GoogleIcon","GraphqlIcon","MediumIcon","ReduxIcon","TwitterIcon","YoutubeIcon","VSCodeIcon","LinkedinIcon","XIcon"]},{name:"Devices",icons:["BrowserIcon","TabletIcon","MobileIcon","WatchIcon","SidebarIcon","SidebarAltIcon","SidebarAltToggleIcon","SidebarToggleIcon","BottomBarIcon","BottomBarToggleIcon","CPUIcon","DatabaseIcon","MemoryIcon","StructureIcon","BoxIcon","PowerIcon"]},{name:"CRUD",icons:["EditIcon","CogIcon","NutIcon","WrenchIcon","EllipsisIcon","WandIcon","CheckIcon","FormIcon","BatchDenyIcon","BatchAcceptIcon","ControlsIcon","PlusIcon","CloseAltIcon","CrossIcon","TrashIcon","PinAltIcon","UnpinIcon","AddIcon","SubtractIcon","CloseIcon","DeleteIcon","PassedIcon","ChangedIcon","FailedIcon","ClearIcon","CommentIcon","CommentAddIcon","RequestChangeIcon","CommentsIcon","ChatIcon","LockIcon","UnlockIcon","KeyIcon","OutboxIcon","CreditIcon","ButtonIcon","TypeIcon","PointerDefaultIcon","PointerHandIcon","CommandIcon","SaveIcon"]},{name:"Communicate",icons:["InfoIcon","QuestionIcon","SupportIcon","AlertIcon","AlertAltIcon","EmailIcon","PhoneIcon","LinkIcon","LinkBrokenIcon","BellIcon","RSSIcon","ShareAltIcon","ShareIcon","JumpToIcon","CircleHollowIcon","CircleIcon","BookmarkHollowIcon","BookmarkIcon","DiamondIcon","HeartHollowIcon","HeartIcon","StarHollowIcon","StarIcon","CertificateIcon","VerifiedIcon","ThumbsUpIcon","ShieldIcon","BasketIcon","BeakerIcon","HourglassIcon","FlagIcon","CloudHollowIcon","CloudIcon","StickerIcon","StatusFailIcon","StatusWarnIcon","StatusPassIcon"]},{name:"Wayfinding",icons:["ChevronUpIcon","ChevronDownIcon","ChevronLeftIcon","ChevronRightIcon","ChevronSmallUpIcon","ChevronSmallDownIcon","ChevronSmallLeftIcon","ChevronSmallRightIcon","ArrowUpIcon","ArrowDownIcon","ArrowLeftIcon","ArrowRightIcon","ArrowTopLeftIcon","ArrowTopRightIcon","ArrowBottomLeftIcon","ArrowBottomRightIcon","ArrowSolidUpIcon","ArrowSolidDownIcon","ArrowSolidLeftIcon","ArrowSolidRightIcon","ExpandAltIcon","CollapseIcon","ExpandIcon","UnfoldIcon","TransferIcon","RedirectIcon","UndoIcon","ReplyIcon","SyncIcon","UploadIcon","DownloadIcon","BackIcon","ProceedIcon","RefreshIcon","GlobeIcon","CompassIcon","LocationIcon","PinIcon","TimeIcon","DashboardIcon","TimerIcon","HomeIcon","AdminIcon","DirectionIcon"]},{name:"People",icons:["UserIcon","UserAltIcon","UserAddIcon","UsersIcon","ProfileIcon","FaceHappyIcon","FaceNeutralIcon","FaceSadIcon","AccessibilityIcon","AccessibilityAltIcon"]}],E9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.25 4.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 1.504v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5zM2 9.297V2.004h10v5.293L9.854 5.15a.5.5 0 00-.708 0L6.5 7.797 5.354 6.65a.5.5 0 00-.708 0L2 9.297zM9.5 6.21l2.5 2.5v3.293H2V10.71l3-3 3.146 3.146a.5.5 0 00.708-.707L7.207 8.504 9.5 6.21z",fill:e}))),C9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1.004a2.5 2.5 0 00-2.5 2.5v7a2.5 2.5 0 002.5 2.5h7a2.5 2.5 0 002.5-2.5v-7a2.5 2.5 0 00-2.5-2.5h-7zm8.5 5.5H7.5v-4.5h3a1.5 1.5 0 011.5 1.5v3zm0 1v3a1.5 1.5 0 01-1.5 1.5h-3v-4.5H12zm-5.5 4.5v-4.5H2v3a1.5 1.5 0 001.5 1.5h3zM2 6.504h4.5v-4.5h-3a1.5 1.5 0 00-1.5 1.5v3z",fill:e}))),x9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5H6a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H1.5a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5h3.5v3.5H2zM7.5 1.504a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5zM1.5 7.504a.5.5 0 00-.5.5v4.5a.5.5 0 00.5.5H6a.5.5 0 00.5-.5v-4.5a.5.5 0 00-.5-.5H1.5zm.5 1v3.5h3.5v-3.5H2zM7.5 8.004a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5z",fill:e}))),F9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2 2.004v2H1v-2.5a.5.5 0 01.5-.5H4v1H2zM1 9.004v-4h1v4H1zM1 10.004v2.5a.5.5 0 00.5.5H4v-1H2v-2H1zM10 13.004h2.5a.5.5 0 00.5-.5v-2.5h-1v2h-2v1zM12 4.004h1v-2.5a.5.5 0 00-.5-.5H10v1h2v2zM9 12.004v1H5v-1h4zM9 1.004v1H5v-1h4zM13 9.004h-1v-4h1v4zM7 8.004a1 1 0 100-2 1 1 0 000 2z",fill:e}))),S9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.25 3.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7.003v-6.5a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v2.5h1v-2h2v6.5a.5.5 0 00.5.5H10v2H8v1h2.5a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-3.5zm-10-6v5.794L5.646 5.15a.5.5 0 01.708 0L7.5 6.297l2.646-2.647a.5.5 0 01.708 0L13 5.797V1.004H4zm9 6.208l-2.5-2.5-2.293 2.293L9.354 8.15a.5.5 0 11-.708.707L6 6.211l-2 2v1.793h9V7.21z",fill:e}),i.createElement("path",{d:"M0 10.004v-3h1v3H0zM0 13.504v-2.5h1v2h2v1H.5a.5.5 0 01-.5-.5zM7 14.004H4v-1h3v1z",fill:e}))),A9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4 3V1h1v2H4zM4 6v2h1V6H4zM4 11v2h1v-2H4zM9 11v2h1v-2H9zM9 8V6h1v2H9zM9 1v2h1V1H9zM13 5h-2V4h2v1zM11 10h2V9h-2v1zM3 10H1V9h2v1zM1 5h2V4H1v1zM8 5H6V4h2v1zM6 10h2V9H6v1zM4 4h1v1H4V4zM10 4H9v1h1V4zM9 9h1v1H9V9zM5 9H4v1h1V9z",fill:e}))),k9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),B9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),_9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),I9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),R9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),z9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),i.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),T9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.522 6.6a.566.566 0 00-.176.544.534.534 0 00.382.41l2.781.721-1.493 5.013a.563.563 0 00.216.627.496.496 0 00.63-.06l6.637-6.453a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L2.522 6.6zm7.72.63l-3.067-.804L9.02 2.29 3.814 6.803l2.95.764-1.277 4.285 4.754-4.622zM4.51 13.435l.037.011-.037-.011z",fill:e}))),_b=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M10.139 8.725l1.36-1.323a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L5.464 4.05l.708.71 2.848-2.47-1.64 3.677.697.697 2.164.567-.81.787.708.708zM2.523 6.6a.566.566 0 00-.177.544.534.534 0 00.382.41l2.782.721-1.494 5.013a.563.563 0 00.217.627.496.496 0 00.629-.06l3.843-3.736-.708-.707-2.51 2.44 1.137-3.814-.685-.685-2.125-.55.844-.731-.71-.71L2.524 6.6zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z",fill:e}))),L9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h10a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-10a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5zm1 1v2.293l2.293-2.293H4zm-1 0v6.5a.499.499 0 00.497.5H10v2H1v-9h2zm1-1h6.5a.499.499 0 01.5.5v6.5h2v-9H4v2zm6 7V7.71l-2.293 2.293H10zm0-3.707V4.71l-5.293 5.293h1.586L10 6.297zm-.707-2.293H7.707L4 7.71v1.586l5.293-5.293z",fill:e}))),M9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004v-2.5a.5.5 0 01.5-.5h10a.5.5 0 01.5.5v10a.5.5 0 01-.5.5H11v2.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-10a.5.5 0 01.5-.5H3zm1 0v-2h9v9h-2v-6.5a.5.5 0 00-.5-.5H4zm6 8v2H1v-9h2v6.5a.5.5 0 00.5.5H10zm0-1H4v-6h6v6z",fill:e}))),O9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5h10v-10l-10 10z",fill:e}))),P9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.5 1.004a.5.5 0 100 1H12v10.5a.5.5 0 001 0v-10.5a1 1 0 00-1-1H1.5z",fill:e}),i.createElement("path",{d:"M1 3.504a.5.5 0 01.5-.5H10a1 1 0 011 1v8.5a.5.5 0 01-1 0v-8.5H1.5a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 5.004a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h7a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5h-7zm.5 1v6h6v-6H2z",fill:e}))),N9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.854.146a.5.5 0 00-.708 0L2.983 8.31a2.24 2.24 0 00-1.074.6C.677 10.14.24 11.902.085 12.997 0 13.6 0 14 0 14s.4 0 1.002-.085c1.095-.155 2.857-.592 4.089-1.824a2.24 2.24 0 00.6-1.074l8.163-8.163a.5.5 0 000-.708l-2-2zM5.6 9.692l.942-.942L5.25 7.457l-.942.943A2.242 2.242 0 015.6 9.692zm1.649-1.65L12.793 2.5 11.5 1.207 5.957 6.75 7.25 8.043zM4.384 9.617a1.25 1.25 0 010 1.768c-.767.766-1.832 1.185-2.78 1.403-.17.04-.335.072-.49.098.027-.154.06-.318.099-.49.219-.947.637-2.012 1.403-2.779a1.25 1.25 0 011.768 0z",fill:e}))),H9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.5 1.004a.5.5 0 01.5.5v.5h10v-.5a.5.5 0 011 0v2a.5.5 0 01-1 0v-.5H2v.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 6a.5.5 0 00-.5.5v6a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-6a.5.5 0 00-.5-.5h-11zM2 7v5h10V7h-1v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H7.5v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H4v2.5a.5.5 0 01-1 0V7H2z",fill:e}))),j9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4.5 4a.5.5 0 00-.5.5v5a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),$9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7a3 3 0 11-6 0 3 3 0 016 0zM9 7a2 2 0 11-4 0 2 2 0 014 0z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 1a.5.5 0 00-.5.5v.504H.5a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H6V1.5a.5.5 0 00-.5-.5h-3zM1 3.004v8h12v-8H1z",fill:e}))),V9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),U9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 4.5v5a.5.5 0 00.5.5H4l3.17 2.775a.5.5 0 00.83-.377V1.602a.5.5 0 00-.83-.376L4 4H1.5a.5.5 0 00-.5.5zM4 9V5H2v4h2zm.998.545A.504.504 0 005 9.5v-5c0-.015 0-.03-.002-.044L7 2.704v8.592L4.998 9.545z",fill:e}),i.createElement("path",{d:"M10.15 1.752a.5.5 0 00-.3.954 4.502 4.502 0 010 8.588.5.5 0 00.3.954 5.502 5.502 0 000-10.496z",fill:e}),i.createElement("path",{d:"M10.25 3.969a.5.5 0 00-.5.865 2.499 2.499 0 010 4.332.5.5 0 10.5.866 3.499 3.499 0 000-6.063z",fill:e}))),q9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M12.813 7.425l-9.05 5.603A.5.5 0 013 12.603V1.398a.5.5 0 01.763-.425l9.05 5.602a.5.5 0 010 .85z",fill:e}))),W9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.24 12.035L3.697 7.427A.494.494 0 013.5 7.2v4.05a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0V6.8a.494.494 0 01.198-.227l7.541-4.608A.5.5 0 0112 2.39v9.217a.5.5 0 01-.76.427z",fill:e}))),G9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2.76 12.035l7.542-4.608A.495.495 0 0010.5 7.2v4.05a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0V6.8a.495.495 0 00-.198-.227L2.76 1.965A.5.5 0 002 2.39v9.217a.5.5 0 00.76.427z",fill:e}))),K9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M9 2.42v2.315l4.228-2.736a.5.5 0 01.772.42v9.162a.5.5 0 01-.772.42L9 9.263v2.317a.5.5 0 01-.772.42L1.5 7.647v3.603a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0v3.603L8.228 2A.5.5 0 019 2.42z",fill:e}))),Y9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5 2.42v2.315L.772 1.999a.5.5 0 00-.772.42v9.162a.5.5 0 00.772.42L5 9.263v2.317a.5.5 0 00.772.42L12.5 7.647v3.603a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0v3.603L5.772 2A.5.5 0 005 2.42z",fill:e}))),Z9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11z",fill:e}))),J9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.2 2.204v9.6h9.6v-9.6H2.2zm-.7-1.2a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11z",fill:e}))),X9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.2 10.88L10.668 7 4.2 3.12v7.76zM3 2.414v9.174a.8.8 0 001.212.686l7.645-4.587a.8.8 0 000-1.372L4.212 1.727A.8.8 0 003 2.413z",fill:e}))),Q9=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.2 10.88L11.668 7 5.2 3.12v7.76zM4 2.414v9.174a.8.8 0 001.212.686l7.645-4.587a.8.8 0 000-1.372L5.212 1.727A.8.8 0 004 2.413zM1.5 1.6a.6.6 0 01.6.6v9.6a.6.6 0 11-1.2 0V2.2a.6.6 0 01.6-.6z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.963 1.932a.6.6 0 01.805-.268l1 .5a.6.6 0 01-.536 1.073l-1-.5a.6.6 0 01-.269-.805zM3.037 11.132a.6.6 0 01-.269.805l-1 .5a.6.6 0 01-.536-1.073l1-.5a.6.6 0 01.805.268z",fill:e}))),ex=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5v-10h5v10H2z",fill:e}))),tx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 1.004a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11zm-10.5 1h10v5H2v-5z",fill:e}))),rx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("g",{clipPath:"url(#prefix__clip0_1107_3492)",fill:e},i.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0V2a.5.5 0 001 0V.5z"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10a3 3 0 100-6 3 3 0 000 6zm0-1a2 2 0 100-4 2 2 0 000 4z"}),i.createElement("path",{d:"M7 11.5a.5.5 0 01.5.5v1.5a.5.5 0 01-1 0V12a.5.5 0 01.5-.5zM11.5 7a.5.5 0 01.5-.5h1.5a.5.5 0 010 1H12a.5.5 0 01-.5-.5zM.5 6.5a.5.5 0 000 1H2a.5.5 0 000-1H.5zM3.818 10.182a.5.5 0 010 .707l-1.06 1.06a.5.5 0 11-.708-.706l1.06-1.06a.5.5 0 01.708 0zM11.95 2.757a.5.5 0 10-.707-.707l-1.061 1.061a.5.5 0 10.707.707l1.06-1.06zM10.182 10.182a.5.5 0 01.707 0l1.06 1.06a.5.5 0 11-.706.708l-1.061-1.06a.5.5 0 010-.708zM2.757 2.05a.5.5 0 10-.707.707l1.06 1.061a.5.5 0 00.708-.707l-1.06-1.06z"})),i.createElement("defs",null,i.createElement("clipPath",{id:"prefix__clip0_1107_3492"},i.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),nx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("g",{clipPath:"url(#prefix__clip0_1107_3493)"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.335.047l-.15-.015a7.499 7.499 0 106.14 10.577c.103-.229-.156-.447-.386-.346a5.393 5.393 0 01-.771.27A5.356 5.356 0 019.153.691C9.37.568 9.352.23 9.106.175a7.545 7.545 0 00-.77-.128zM6.977 1.092a6.427 6.427 0 005.336 10.671A6.427 6.427 0 116.977 1.092z",fill:e})),i.createElement("defs",null,i.createElement("clipPath",{id:"prefix__clip0_1107_3493"},i.createElement("path",{fill:"#fff",transform:"scale(1.07124)",d:"M0 0h14.001v14.002H0z"}))))),ax=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 2a2 2 0 00-2-2H1.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5H11a2 2 0 002-2V2zM3 13h8a1 1 0 001-1V2a1 1 0 00-1-1H7v6.004a.5.5 0 01-.856.352l-.002-.002L5.5 6.71l-.645.647A.5.5 0 014 7.009V1H3v12zM5 1v4.793l.146-.146a.5.5 0 01.743.039l.111.11V1H5z",fill:e}))),ox=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),lx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.746.07A.5.5 0 0011.5.003h-6a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h8a.5.5 0 00.5-.5v-2.5h4.5a.5.5 0 00.5-.5v-8a.498.498 0 00-.15-.357L11.857.154a.506.506 0 00-.11-.085zM9 10.003h4v-7h-1.5a.5.5 0 01-.5-.5v-1.5H6v2h.5a.5.5 0 01.357.15L8.85 5.147c.093.09.15.217.15.357v4.5zm-8-6v9h7v-7H6.5a.5.5 0 01-.5-.5v-1.5H1z",fill:e}))),ix=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3 1.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM2 3.504a.5.5 0 01.5-.5h9a.5.5 0 010 1h-9a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 5.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v7a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-7zM2 12V6h10v6H2z",fill:e}))),sx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.586 3.504l-1.5-1.5H1v9h12v-7.5H6.586zm.414-1L5.793 1.297a1 1 0 00-.707-.293H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-8.5a.5.5 0 00-.5-.5H7z",fill:e}))),ux=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4.5 8.004a.5.5 0 100 1h5a.5.5 0 000-1h-5zM4.5 10.004a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 1.504a.5.5 0 01.5-.5h8a.498.498 0 01.357.15l.993.993c.093.09.15.217.15.357v1.5h1.5a.5.5 0 01.5.5v5a.5.5 0 01-.5.5H12v2.5a.5.5 0 01-.5.5h-9a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 01-.5-.5v-5a.5.5 0 01.5-.5H2v-2.5zm11 7.5h-1v-2.5a.5.5 0 00-.5-.5h-9a.5.5 0 00-.5.5v2.5H1v-4h12v4zm-2-6v1H3v-2h7v.5a.5.5 0 00.5.5h.5zm-8 9h8v-5H3v5z",fill:e}))),cx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5.146 6.15a.5.5 0 01.708 0L7 7.297 9.146 5.15a.5.5 0 01.708 0l1 1a.5.5 0 01-.708.707L9.5 6.211 7.354 8.357a.5.5 0 01-.708 0L5.5 7.211 3.854 8.857a.5.5 0 11-.708-.707l2-2z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 1.004a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11zm.5 1v10h10v-10H2z",fill:e}))),dx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0a.5.5 0 01.5.5V1h6V.5a.5.5 0 011 0V1h1.5a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5H3V.5a.5.5 0 01.5-.5zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 4v2.3h3V4H9zM5.5 6.3h3V4h-3v2.3z",fill:e}))),px=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M12 2.5a.5.5 0 00-1 0v10a.5.5 0 001 0v-10zM9 4.5a.5.5 0 00-1 0v8a.5.5 0 001 0v-8zM5.5 7a.5.5 0 01.5.5v5a.5.5 0 01-1 0v-5a.5.5 0 01.5-.5zM3 10.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2z",fill:e}))),fx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M13 2a.5.5 0 010 1H1a.5.5 0 010-1h12zM10 5a.5.5 0 010 1H1a.5.5 0 010-1h9zM11.5 8.5A.5.5 0 0011 8H1a.5.5 0 000 1h10a.5.5 0 00.5-.5zM7.5 11a.5.5 0 010 1H1a.5.5 0 010-1h6.5z",fill:e}))),hx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM4 5a.5.5 0 000 1h9a.5.5 0 000-1H4zM2.5 8.5A.5.5 0 013 8h10a.5.5 0 010 1H3a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1H13a.5.5 0 000-1H6.5z",fill:e}))),mx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM3 5a.5.5 0 000 1h8a.5.5 0 000-1H3zM4.5 8.5A.5.5 0 015 8h4a.5.5 0 010 1H5a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}))),gx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 6.3h3V4H9v2.3zm-3.5 0h3V4h-3v2.3z",fill:e}))),vx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.5 6.5A.5.5 0 014 6h6a.5.5 0 010 1H4a.5.5 0 01-.5-.5zM4 9a.5.5 0 000 1h6a.5.5 0 000-1H4z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v8h10V4H2z",fill:e}))),yx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M13 4a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 9.5A.5.5 0 0013 9H1a.5.5 0 000 1h12a.5.5 0 00.5-.5z",fill:e}))),wx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M13 3.5a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 10a.5.5 0 00-.5-.5H1a.5.5 0 000 1h12a.5.5 0 00.5-.5zM13 6.5a.5.5 0 010 1H1a.5.5 0 010-1h12z",fill:e}))),bx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),Dx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 2v1.5h1v7H3V12h5a3 3 0 001.791-5.407A2.75 2.75 0 008 2.011V2H3zm5 5.5H5.5v3H8a1.5 1.5 0 100-3zm-.25-4H5.5V6h2.25a1.25 1.25 0 100-2.5z",fill:e}))),Ex=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2z",fill:e}))),Cx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M10.553 2.268a1.5 1.5 0 00-2.12 0L2.774 7.925a2.5 2.5 0 003.536 3.535l3.535-3.535a.5.5 0 11.707.707l-3.535 3.536-.002.002a3.5 3.5 0 01-4.959-4.941l.011-.011L7.725 1.56l.007-.008a2.5 2.5 0 013.53 3.541l-.002.002-5.656 5.657-.003.003a1.5 1.5 0 01-2.119-2.124l3.536-3.536a.5.5 0 11.707.707L4.189 9.34a.5.5 0 00.707.707l5.657-5.657a1.5 1.5 0 000-2.121z",fill:e}))),xx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5 2.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2.5 2H1v1h1v3h1V2.5a.5.5 0 00-.5-.5zM3 8.5v1a.5.5 0 01-1 0V9h-.5a.5.5 0 010-1h1a.5.5 0 01.5.5zM2 10.5a.5.5 0 00-1 0V12h2v-1H2v-.5z",fill:e}))),Fx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2.75 2.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM5.5 2a.5.5 0 000 1h7a.5.5 0 000-1h-7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2 12.25a.75.75 0 100-1.5.75.75 0 000 1.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM2 7.75a.75.75 0 100-1.5.75.75 0 000 1.5z",fill:e}))),Sx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M6 7a3 3 0 110-6h5.5a.5.5 0 010 1H10v10.5a.5.5 0 01-1 0V2H7v10.5a.5.5 0 01-1 0V7z",fill:e}))),Ax=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2 4.5h1.5L5 6.375 6.5 4.5H8v5H6.5V7L5 8.875 3.5 7v2.5H2v-5zM9.75 4.5h1.5V7h1.25l-2 2.5-2-2.5h1.25V4.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 2a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5zM1 3v8h12V3H1z",fill:e}))),kx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5 2.5a.5.5 0 11-1 0 .5.5 0 011 0zM4.5 5a.5.5 0 100-1 .5.5 0 000 1zM5 6.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 0a2 2 0 012 2v10a2 2 0 01-2 2H1.5a.5.5 0 01-.5-.5V.5a.5.5 0 01.5-.5H11zm0 1H3v12h8a1 1 0 001-1V2a1 1 0 00-1-1z",fill:e}))),Bx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.031 7.5a4 4 0 007.938 0H13.5a.5.5 0 000-1h-2.53a4 4 0 00-7.94 0H.501a.5.5 0 000 1h2.531zM7 10a3 3 0 100-6 3 3 0 000 6z",fill:e}))),_x=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 2.5a1.5 1.5 0 01-1 1.415v4.053C5.554 7.4 6.367 7 7.5 7c.89 0 1.453-.252 1.812-.557.218-.184.374-.4.482-.62a1.5 1.5 0 111.026.143c-.155.423-.425.87-.86 1.24C9.394 7.685 8.59 8 7.5 8c-1.037 0-1.637.42-1.994.917a2.81 2.81 0 00-.472 1.18A1.5 1.5 0 114 10.086v-6.17A1.5 1.5 0 116 2.5zm-2 9a.5.5 0 111 0 .5.5 0 01-1 0zm1-9a.5.5 0 11-1 0 .5.5 0 011 0zm6 2a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),Ix=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.354 1.354L7.707 2H8.5A2.5 2.5 0 0111 4.5v5.585a1.5 1.5 0 11-1 0V4.5A1.5 1.5 0 008.5 3h-.793l.647.646a.5.5 0 11-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708zM11 11.5a.5.5 0 11-1 0 .5.5 0 011 0zM4 3.915a1.5 1.5 0 10-1 0v6.17a1.5 1.5 0 101 0v-6.17zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zm0-8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),Rx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.108 3.872A1.5 1.5 0 103 3.915v6.17a1.5 1.5 0 101 0V6.41c.263.41.573.77.926 1.083 1.108.98 2.579 1.433 4.156 1.5A1.5 1.5 0 109.09 7.99c-1.405-.065-2.62-.468-3.5-1.248-.723-.64-1.262-1.569-1.481-2.871zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zM4 2.5a.5.5 0 11-1 0 .5.5 0 011 0zm7 6a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),zx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.03 8.103a3.044 3.044 0 01-.202-1.744 2.697 2.697 0 011.4-1.935c-.749-1.18-1.967-1.363-2.35-1.403-.835-.086-2.01.56-2.648.57h-.016c-.639-.01-1.814-.656-2.649-.57-.415.044-1.741.319-2.541 1.593-.281.447-.498 1.018-.586 1.744a6.361 6.361 0 00-.044.85c.005.305.028.604.07.895.09.62.259 1.207.477 1.744.242.595.543 1.13.865 1.585.712 1.008 1.517 1.59 1.971 1.6.934.021 1.746-.61 2.416-.594.006.002.014.003.02.002h.017c.007 0 .014 0 .021-.002.67-.017 1.481.615 2.416.595.453-.011 1.26-.593 1.971-1.6a7.95 7.95 0 00.97-1.856c-.697-.217-1.27-.762-1.578-1.474zm-2.168-5.97c.717-.848.69-2.07.624-2.125-.065-.055-1.25.163-1.985.984-.735.82-.69 2.071-.624 2.125.064.055 1.268-.135 1.985-.984z",fill:e}))),Tx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a3 3 0 013 3v1.24c.129.132.25.27.362.415.113.111.283.247.515.433l.194.155c.325.261.711.582 1.095.966.765.765 1.545 1.806 1.823 3.186a.501.501 0 01-.338.581 3.395 3.395 0 01-1.338.134 2.886 2.886 0 01-1.049-.304 5.535 5.535 0 01-.17.519 2 2 0 11-2.892 2.55A5.507 5.507 0 017 13c-.439 0-.838-.044-1.201-.125a2 2 0 11-2.892-2.55 5.553 5.553 0 01-.171-.519c-.349.182-.714.27-1.05.304A3.395 3.395 0 01.35 9.977a.497.497 0 01-.338-.582c.278-1.38 1.058-2.42 1.823-3.186.384-.384.77-.705 1.095-.966l.194-.155c.232-.186.402-.322.515-.433.112-.145.233-.283.362-.414V3a3 3 0 013-3zm1.003 11.895a2 2 0 012.141-1.89c.246-.618.356-1.322.356-2.005 0-.514-.101-1.07-.301-1.599l-.027-.017a6.387 6.387 0 00-.857-.42 6.715 6.715 0 00-1.013-.315l-.852.638a.75.75 0 01-.9 0l-.852-.638a6.716 6.716 0 00-1.693.634 4.342 4.342 0 00-.177.101l-.027.017A4.6 4.6 0 003.501 8c0 .683.109 1.387.355 2.005a2 2 0 012.142 1.89c.295.067.627.105 1.002.105s.707-.038 1.003-.105zM5 12a1 1 0 11-2 0 1 1 0 012 0zm6 0a1 1 0 11-2 0 1 1 0 012 0zM6.1 4.3a1.5 1.5 0 011.8 0l.267.2L7 5.375 5.833 4.5l.267-.2zM8.5 2a.5.5 0 01.5.5V3a.5.5 0 01-1 0v-.5a.5.5 0 01.5-.5zM6 2.5a.5.5 0 00-1 0V3a.5.5 0 001 0v-.5z",fill:e}))),Lx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("g",{clipPath:"url(#prefix__clip0_1107_3497)",fill:e},i.createElement("path",{d:"M12.261 2.067c0 1.142-.89 2.068-1.988 2.068-1.099 0-1.99-.926-1.99-2.068C8.283.926 9.174 0 10.273 0c1.098 0 1.989.926 1.989 2.067zM3.978 6.6c0 1.142-.89 2.068-1.989 2.068C.891 8.668 0 7.742 0 6.601c0-1.142.89-2.068 1.989-2.068 1.099 0 1.989.926 1.989 2.068zM6.475 11.921A4.761 4.761 0 014.539 11a4.993 4.993 0 01-1.367-1.696 2.765 2.765 0 01-1.701.217 6.725 6.725 0 001.844 2.635 6.379 6.379 0 004.23 1.577 3.033 3.033 0 01-.582-1.728 4.767 4.767 0 01-.488-.083zM11.813 11.933c0 1.141-.89 2.067-1.989 2.067-1.098 0-1.989-.926-1.989-2.067 0-1.142.891-2.068 1.99-2.068 1.098 0 1.989.926 1.989 2.068zM12.592 11.173a6.926 6.926 0 001.402-3.913 6.964 6.964 0 00-1.076-4.023A2.952 2.952 0 0111.8 4.6c.398.78.592 1.656.564 2.539a5.213 5.213 0 01-.724 2.495c.466.396.8.935.952 1.54zM1.987 3.631c-.05 0-.101.002-.151.004C3.073 1.365 5.504.024 8.005.23a3.07 3.07 0 00-.603 1.676 4.707 4.707 0 00-2.206.596 4.919 4.919 0 00-1.7 1.576 2.79 2.79 0 00-1.509-.447z"})),i.createElement("defs",null,i.createElement("clipPath",{id:"prefix__clip0_1107_3497"},i.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),Mx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M6.5 1H1v5.5h5.5V1zM13 1H7.5v5.5H13V1zM7.5 7.5H13V13H7.5V7.5zM6.5 7.5H1V13h5.5V7.5z",fill:e}))),Ox=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("g",{clipPath:"url(#prefix__clip0_1107_3496)"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.023 3.431a.115.115 0 01-.099.174H7.296A3.408 3.408 0 003.7 6.148a.115.115 0 01-.21.028l-1.97-3.413a.115.115 0 01.01-.129A6.97 6.97 0 017 0a6.995 6.995 0 016.023 3.431zM7 9.615A2.619 2.619 0 014.384 7 2.62 2.62 0 017 4.383 2.619 2.619 0 019.616 7 2.619 2.619 0 017 9.615zm1.034.71a.115.115 0 00-.121-.041 3.4 3.4 0 01-.913.124 3.426 3.426 0 01-3.091-1.973L1.098 3.567a.115.115 0 00-.2.001 7.004 7.004 0 005.058 10.354l.017.001c.04 0 .078-.021.099-.057l1.971-3.414a.115.115 0 00-.009-.128zm1.43-5.954h3.947c.047 0 .09.028.107.072.32.815.481 1.675.481 2.557a6.957 6.957 0 01-2.024 4.923A6.957 6.957 0 017.08 14h-.001a.115.115 0 01-.1-.172L9.794 8.95A3.384 3.384 0 0010.408 7c0-.921-.364-1.785-1.024-2.433a.115.115 0 01.08-.196z",fill:e})),i.createElement("defs",null,i.createElement("clipPath",{id:"prefix__clip0_1107_3496"},i.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),Px=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.042.616a.704.704 0 00-.66.729L1.816 12.9c.014.367.306.66.672.677l9.395.422h.032a.704.704 0 00.704-.703V.704c0-.015 0-.03-.002-.044a.704.704 0 00-.746-.659l-.773.049.057 1.615a.105.105 0 01-.17.086l-.52-.41-.617.468a.105.105 0 01-.168-.088L9.746.134 2.042.616zm8.003 4.747c-.247.192-2.092.324-2.092.05.04-1.045-.429-1.091-.689-1.091-.247 0-.662.075-.662.634 0 .57.607.893 1.32 1.27 1.014.538 2.24 1.188 2.24 2.823 0 1.568-1.273 2.433-2.898 2.433-1.676 0-3.141-.678-2.976-3.03.065-.275 2.197-.21 2.197 0-.026.971.195 1.256.753 1.256.43 0 .624-.236.624-.634 0-.602-.633-.958-1.361-1.367-.987-.554-2.148-1.205-2.148-2.7 0-1.494 1.027-2.489 2.86-2.489 1.832 0 2.832.98 2.832 2.845z",fill:e}))),Nx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("g",{clipPath:"url(#prefix__clip0_1107_3503)"},i.createElement("path",{d:"M0 5.176l1.31-1.73 4.902-1.994V.014l4.299 3.144-8.78 1.706v4.8L0 9.162V5.176zm14-2.595v8.548l-3.355 2.857-5.425-1.783v1.783L1.73 9.661l8.784 1.047v-7.55L14 2.581z",fill:e})),i.createElement("defs",null,i.createElement("clipPath",{id:"prefix__clip0_1107_3503"},i.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),Hx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.522a.411.411 0 00-.412.476l1.746 10.597a.56.56 0 00.547.466h8.373a.411.411 0 00.412-.345l1.017-6.248h-3.87L8.35 9.18H5.677l-.724-3.781h7.904L13.412 2A.411.411 0 0013 1.524L1 1.522z",fill:e}))),jx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1014 0A7 7 0 000 7zm5.215-3.869a1.967 1.967 0 013.747.834v1.283l-3.346-1.93a2.486 2.486 0 00-.401-.187zm3.484 2.58l-3.346-1.93a1.968 1.968 0 00-2.685.72 1.954 1.954 0 00.09 2.106 2.45 2.45 0 01.362-.254l1.514-.873a.27.27 0 01.268 0l2.1 1.21 1.697-.978zm-.323 4.972L6.86 9.81a.268.268 0 01-.134-.231V7.155l-1.698-.98v3.86a1.968 1.968 0 003.747.835 2.488 2.488 0 01-.4-.187zm.268-.464a1.967 1.967 0 002.685-.719 1.952 1.952 0 00-.09-2.106c-.112.094-.233.18-.361.253L7.53 9.577l1.113.642zm-4.106.257a1.974 1.974 0 01-1.87-.975A1.95 1.95 0 012.47 8.01c.136-.507.461-.93.916-1.193L4.5 6.175v3.86c0 .148.013.295.039.44zM11.329 4.5a1.973 1.973 0 00-1.87-.976c.025.145.039.292.039.44v1.747a.268.268 0 01-.135.232l-2.1 1.211v1.96l3.346-1.931a1.966 1.966 0 00.72-2.683z",fill:e}))),$x=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M10.847 2.181L8.867.201a.685.685 0 00-.97 0l-4.81 4.81a.685.685 0 000 .969l2.466 2.465-2.405 2.404a.685.685 0 000 .97l1.98 1.98a.685.685 0 00.97 0l4.81-4.81a.685.685 0 000-.969L8.441 5.555l2.405-2.404a.685.685 0 000-.97z",fill:e}))),Vx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.852 2.885c-.893-.41-1.85-.712-2.85-.884a.043.043 0 00-.046.021c-.123.22-.26.505-.355.73a10.658 10.658 0 00-3.2 0 7.377 7.377 0 00-.36-.73.045.045 0 00-.046-.021c-1 .172-1.957.474-2.85.884a.04.04 0 00-.019.016C.311 5.612-.186 8.257.058 10.869a.048.048 0 00.018.033 11.608 11.608 0 003.496 1.767.045.045 0 00.049-.016c.27-.368.51-.755.715-1.163a.044.044 0 00-.024-.062 7.661 7.661 0 01-1.092-.52.045.045 0 01-.005-.075c.074-.055.147-.112.217-.17a.043.043 0 01.046-.006c2.29 1.046 4.771 1.046 7.035 0a.043.043 0 01.046.006c.07.057.144.115.218.17a.045.045 0 01-.004.075 7.186 7.186 0 01-1.093.52.045.045 0 00-.024.062c.21.407.45.795.715 1.162.011.016.03.023.05.017a11.57 11.57 0 003.5-1.767.045.045 0 00.019-.032c.292-3.02-.49-5.643-2.07-7.969a.036.036 0 00-.018-.016zM4.678 9.279c-.69 0-1.258-.634-1.258-1.411 0-.778.558-1.411 1.258-1.411.707 0 1.27.639 1.259 1.41 0 .778-.558 1.412-1.259 1.412zm4.652 0c-.69 0-1.258-.634-1.258-1.411 0-.778.557-1.411 1.258-1.411.707 0 1.27.639 1.258 1.41 0 .778-.551 1.412-1.258 1.412z",fill:e}))),Ux=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.399 14H5.06V7H3.5V4.588l1.56-.001-.002-1.421C5.058 1.197 5.533 0 7.6 0h1.721v2.413H8.246c-.805 0-.844.337-.844.966l-.003 1.208h1.934l-.228 2.412L7.401 7l-.002 7z",fill:e}))),qx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.2 0H4.803A2.603 2.603 0 003.41 4.802a2.603 2.603 0 000 4.396 2.602 2.602 0 103.998 2.199v-2.51a2.603 2.603 0 103.187-4.085A2.604 2.604 0 009.2 0zM7.407 7a1.793 1.793 0 103.586 0 1.793 1.793 0 00-3.586 0zm-.81 2.603H4.803a1.793 1.793 0 101.794 1.794V9.603zM4.803 4.397h1.794V.81H4.803a1.793 1.793 0 000 3.587zm0 .81a1.793 1.793 0 000 3.586h1.794V5.207H4.803zm4.397-.81H7.407V.81H9.2a1.794 1.794 0 010 3.587z",fill:e}))),Wx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M6.37 8.768l-2.042 3.537h6.755l2.042-3.537H6.37zm6.177-1.003l-3.505-6.07H4.96l3.504 6.07h4.084zM4.378 2.7L.875 8.77l2.042 3.536L6.42 6.236 4.378 2.7z",fill:e}))),Gx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0C3.132 0 0 3.132 0 7a6.996 6.996 0 004.786 6.641c.35.062.482-.149.482-.332 0-.166-.01-.718-.01-1.304-1.758.324-2.213-.429-2.353-.823-.079-.2-.42-.822-.717-.988-.246-.132-.596-.455-.01-.464.552-.009.946.508 1.077.717.63 1.06 1.636.762 2.039.578.061-.455.245-.761.446-.936-1.558-.175-3.185-.779-3.185-3.457 0-.76.271-1.39.717-1.88-.07-.176-.314-.893.07-1.856 0 0 .587-.183 1.925.718a6.495 6.495 0 011.75-.236c.595 0 1.19.078 1.75.236 1.34-.91 1.926-.718 1.926-.718.385.963.14 1.68.07 1.855.446.49.717 1.111.717 1.881 0 2.687-1.636 3.282-3.194 3.457.254.218.473.638.473 1.295 0 .936-.009 1.688-.009 1.925 0 .184.131.402.481.332A7.012 7.012 0 0014 7c0-3.868-3.133-7-7-7z",fill:e}))),Kx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.068 5.583l1.487-4.557a.256.256 0 01.487 0L4.53 5.583H1.068L7 13.15 4.53 5.583h4.941l-2.47 7.565 5.931-7.565H9.471l1.488-4.557a.256.256 0 01.486 0l1.488 4.557.75 2.3a.508.508 0 01-.185.568L7 13.148v.001H7L.503 8.452a.508.508 0 01-.186-.57l.75-2.299z",fill:e}))),Yx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M10.925 1.094H7.262c-1.643 0-3.189 1.244-3.189 2.685 0 1.473 1.12 2.661 2.791 2.661.116 0 .23-.002.34-.01a1.49 1.49 0 00-.186.684c0 .41.22.741.498 1.012-.21 0-.413.006-.635.006-2.034 0-3.6 1.296-3.6 2.64 0 1.323 1.717 2.15 3.75 2.15 2.32 0 3.6-1.315 3.6-2.639 0-1.06-.313-1.696-1.28-2.38-.331-.235-.965-.805-.965-1.14 0-.392.112-.586.703-1.047.606-.474 1.035-1.14 1.035-1.914 0-.92-.41-1.819-1.18-2.115h1.161l.82-.593zm-1.335 8.96c.03.124.045.25.045.378 0 1.07-.688 1.905-2.665 1.905-1.406 0-2.421-.89-2.421-1.96 0-1.047 1.259-1.92 2.665-1.904.328.004.634.057.911.146.764.531 1.311.832 1.465 1.436zM7.34 6.068c-.944-.028-1.841-1.055-2.005-2.295-.162-1.24.47-2.188 1.415-2.16.943.029 1.84 1.023 2.003 2.262.163 1.24-.47 2.222-1.414 2.193z",fill:e}))),Zx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.873 11.608a1.167 1.167 0 00-1.707-.027L3.46 10.018l.01-.04h7.072l.022.076-2.69 1.554zM6.166 2.42l.031.03-3.535 6.124a1.265 1.265 0 00-.043-.012V5.438a1.166 1.166 0 00.84-1.456L6.167 2.42zm4.387 1.562a1.165 1.165 0 00.84 1.456v3.124l-.043.012-3.536-6.123a1.2 1.2 0 00.033-.032l2.706 1.563zM3.473 9.42a1.168 1.168 0 00-.327-.568L6.68 2.73a1.17 1.17 0 00.652 0l3.536 6.123a1.169 1.169 0 00-.327.567H3.473zm8.79-.736a1.169 1.169 0 00-.311-.124V5.44a1.17 1.17 0 10-1.122-1.942L8.13 1.938a1.168 1.168 0 00-1.122-1.5 1.17 1.17 0 00-1.121 1.5l-2.702 1.56a1.168 1.168 0 00-1.86.22 1.17 1.17 0 00.739 1.722v3.12a1.168 1.168 0 00-.74 1.721 1.17 1.17 0 001.861.221l2.701 1.56a1.169 1.169 0 102.233-.035l2.687-1.552a1.168 1.168 0 101.457-1.791z",fill:e}))),Jx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M0 0v14h14V0H0zm11.63 3.317l-.75.72a.22.22 0 00-.083.212v-.001 5.289a.22.22 0 00.083.21l.733.72v.159H7.925v-.158l.76-.738c.074-.074.074-.096.074-.21V5.244l-2.112 5.364h-.285l-2.46-5.364V8.84a.494.494 0 00.136.413h.001l.988 1.198v.158H2.226v-.158l.988-1.198a.477.477 0 00.126-.416v.003-4.157a.363.363 0 00-.118-.307l-.878-1.058v-.158h2.727l2.107 4.622L9.031 3.16h2.6v.158z",fill:e}))),Xx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.06 9.689c.016.49.423.88.912.88h.032a.911.911 0 00.88-.945.916.916 0 00-.912-.88h-.033c-.033 0-.08 0-.113.016-.669-1.108-.946-2.314-.848-3.618.065-.978.391-1.825.961-2.526.473-.603 1.386-.896 2.005-.913 1.728-.032 2.461 2.119 2.51 2.983.212.049.57.163.815.244C10.073 2.29 8.444.92 6.88.92c-1.467 0-2.82 1.06-3.357 2.625-.75 2.086-.261 4.09.651 5.671a.74.74 0 00-.114.473zm8.279-2.298c-1.239-1.45-3.064-2.249-5.15-2.249h-.261a.896.896 0 00-.798-.489h-.033A.912.912 0 006.13 6.48h.031a.919.919 0 00.8-.554h.293c1.239 0 2.412.358 3.472 1.059.814.538 1.401 1.238 1.727 2.086.277.684.261 1.353-.033 1.923-.456.864-1.222 1.337-2.232 1.337a4.16 4.16 0 01-1.597-.343 9.58 9.58 0 01-.734.587c.7.326 1.418.505 2.102.505 1.565 0 2.722-.863 3.162-1.727.473-.946.44-2.575-.782-3.961zm-7.433 5.51a4.005 4.005 0 01-.977.113c-1.206 0-2.298-.505-2.836-1.32C.376 10.603.13 8.289 2.494 6.577c.05.261.147.62.212.832-.31.228-.798.685-1.108 1.303-.44.864-.391 1.729.13 2.527.359.537.93.864 1.663.962.896.114 1.793-.05 2.657-.505 1.271-.669 2.119-1.467 2.672-2.56a.944.944 0 01-.26-.603.913.913 0 01.88-.945h.033a.915.915 0 01.098 1.825c-.897 1.842-2.478 3.08-4.565 3.488z",fill:e}))),Qx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 2.547a5.632 5.632 0 01-1.65.464 2.946 2.946 0 001.263-1.63 5.67 5.67 0 01-1.823.715 2.837 2.837 0 00-2.097-.93c-1.586 0-2.872 1.319-2.872 2.946 0 .23.025.456.074.67C4.508 4.66 2.392 3.488.975 1.706c-.247.435-.389.941-.389 1.481 0 1.022.507 1.923 1.278 2.452a2.806 2.806 0 01-1.3-.368l-.001.037c0 1.427.99 2.617 2.303 2.888a2.82 2.82 0 01-1.297.05c.366 1.17 1.427 2.022 2.683 2.045A5.671 5.671 0 010 11.51a7.985 7.985 0 004.403 1.323c5.283 0 8.172-4.488 8.172-8.38 0-.128-.003-.255-.009-.38A5.926 5.926 0 0014 2.546z",fill:e}))),eF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.99 8.172c.005-.281.007-.672.007-1.172 0-.5-.002-.89-.007-1.172a14.952 14.952 0 00-.066-1.066 9.638 9.638 0 00-.169-1.153c-.083-.38-.264-.7-.542-.96a1.667 1.667 0 00-.972-.454C11.084 2.065 9.337 2 6.999 2s-4.085.065-5.241.195a1.65 1.65 0 00-.969.453c-.276.26-.455.58-.539.961a8.648 8.648 0 00-.176 1.153c-.039.43-.061.785-.066 1.066C.002 6.11 0 6.5 0 7c0 .5.002.89.008 1.172.005.281.027.637.066 1.067.04.43.095.813.168 1.152.084.38.265.7.543.96.279.261.603.412.973.453 1.156.13 2.902.196 5.24.196 2.34 0 4.087-.065 5.243-.196a1.65 1.65 0 00.967-.453c.276-.26.456-.58.54-.96.077-.339.136-.722.175-1.152.04-.43.062-.786.067-1.067zM9.762 6.578A.45.45 0 019.997 7a.45.45 0 01-.235.422l-3.998 2.5a.442.442 0 01-.266.078.538.538 0 01-.242-.063.465.465 0 01-.258-.437v-5c0-.197.086-.343.258-.437a.471.471 0 01.508.016l3.998 2.5z",fill:e}))),tF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.243.04a.87.87 0 01.38.087l2.881 1.386a.874.874 0 01.496.79V11.713a.875.875 0 01-.496.775l-2.882 1.386a.872.872 0 01-.994-.17L4.11 8.674l-2.404 1.823a.583.583 0 01-.744-.034l-.771-.7a.583.583 0 010-.862L2.274 7 .19 5.1a.583.583 0 010-.862l.772-.701a.583.583 0 01.744-.033L4.11 5.327 9.628.296a.871.871 0 01.615-.255zm.259 3.784L6.315 7l4.187 3.176V3.824z",fill:e}))),rF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.667 13H2.333A1.333 1.333 0 011 11.667V2.333C1 1.597 1.597 1 2.333 1h9.334C12.403 1 13 1.597 13 2.333v9.334c0 .736-.597 1.333-1.333 1.333zm-2.114-1.667h1.78V7.675c0-1.548-.877-2.296-2.102-2.296-1.226 0-1.742.955-1.742.955v-.778H5.773v5.777h1.716V8.3c0-.812.374-1.296 1.09-1.296.658 0 .974.465.974 1.296v3.033zm-6.886-7.6c0 .589.474 1.066 1.058 1.066.585 0 1.058-.477 1.058-1.066 0-.589-.473-1.066-1.058-1.066-.584 0-1.058.477-1.058 1.066zm1.962 7.6h-1.79V5.556h1.79v5.777z",fill:e}))),nF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.02.446h2.137L8.49 5.816l5.51 7.28H9.67L6.298 8.683l-3.88 4.413H.282l5.004-5.735L0 .446h4.442l3.064 4.048L11.02.446zm-.759 11.357h1.18L3.796 1.655H2.502l7.759 10.148z",fill:e}))),aF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-8h12v8H1zm1-9.5a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),oF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5.004a1.5 1.5 0 00-1.5 1.5v11a1.5 1.5 0 001.5 1.5h7a1.5 1.5 0 001.5-1.5v-11a1.5 1.5 0 00-1.5-1.5h-7zm0 1h7a.5.5 0 01.5.5v9.5H3v-9.5a.5.5 0 01.5-.5zm2.5 11a.5.5 0 000 1h2a.5.5 0 000-1H6z",fill:e}))),lF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 1.504a1.5 1.5 0 011.5-1.5h5a1.5 1.5 0 011.5 1.5v11a1.5 1.5 0 01-1.5 1.5h-5a1.5 1.5 0 01-1.5-1.5v-11zm1 10.5v-10h6v10H4z",fill:e}))),iF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 .504a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zm5.5 2.5h-5a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5zm-5-1a1.5 1.5 0 00-1.5 1.5v7a1.5 1.5 0 001.5 1.5h5a1.5 1.5 0 001.5-1.5v-7a1.5 1.5 0 00-1.5-1.5h-5zm2.5 2a.5.5 0 01.5.5v2h1a.5.5 0 110 1H7a.5.5 0 01-.5-.5v-2.5a.5.5 0 01.5-.5zm-2.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}))),sF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5zM3 6.004a.5.5 0 100 1h1a.5.5 0 000-1H3zM2.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h3v10H2zm4-10h6v10H6v-10z",fill:e}))),uF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M9.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM10 6.004a.5.5 0 100 1h1a.5.5 0 000-1h-1zM9.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h6v10H2zm7-10h3v10H9v-10z",fill:e}))),cF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.5 4.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5zM11 6.004a.5.5 0 010 1h-1a.5.5 0 010-1h1zM11.5 8.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm7.5-1h3v-10H9v10zm-1 0H2v-10h6v4.5H5.207l.65-.65a.5.5 0 10-.707-.708L3.646 6.65a.5.5 0 000 .707l1.497 1.497a.5.5 0 10.707-.708l-.643-.642H8v4.5z",fill:e}))),dF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5zM2 6.004a.5.5 0 100 1h1a.5.5 0 000-1H2zM1.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-10h3v10H1zm4 0v-4.5h2.793l-.643.642a.5.5 0 10.707.708l1.497-1.497a.5.5 0 000-.707L7.85 5.146a.5.5 0 10-.707.708l.65.65H5v-4.5h6v10H5z",fill:e}))),pF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM6.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM9 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 6.5v-6h10v6H2zm10 1v3H2v-3h10z",fill:e}))),fF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM6 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM9.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 12.504v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5zm1-.5v-3h10v3H2zm4.5-4H2v-6h10v6H7.5V5.21l.646.646a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0l-1.5 1.5a.5.5 0 10.708.707l.646-.646v2.793z",fill:e}))),hF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 5.504a.5.5 0 01.5-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5v-3zm1 2.5v-2h2v2H6z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.004a.5.5 0 01.5.5v1.5h2v-1.5a.5.5 0 011 0v1.5h2.5a.5.5 0 01.5.5v2.5h1.5a.5.5 0 010 1H12v2h1.5a.5.5 0 010 1H12v2.5a.5.5 0 01-.5.5H9v1.5a.5.5 0 01-1 0v-1.5H6v1.5a.5.5 0 01-1 0v-1.5H2.5a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 010-1H2v-2H.5a.5.5 0 010-1H2v-2.5a.5.5 0 01.5-.5H5v-1.5a.5.5 0 01.5-.5zm5.5 3H3v8h8v-8z",fill:e}))),mF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3c0-1.105-2.239-2-5-2s-5 .895-5 2v8c0 .426.26.752.544.977.29.228.68.413 1.116.558.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.436-.145.825-.33 1.116-.558.285-.225.544-.551.544-.977V3zm-1.03 0a.787.787 0 00-.05-.052c-.13-.123-.373-.28-.756-.434C9.404 2.21 8.286 2 7 2c-1.286 0-2.404.21-3.164.514-.383.153-.625.31-.756.434A.756.756 0 003.03 3a.756.756 0 00.05.052c.13.123.373.28.756.434C4.596 3.79 5.714 4 7 4c1.286 0 2.404-.21 3.164-.514.383-.153.625-.31.756-.434A.787.787 0 0010.97 3zM11 5.75V4.2c-.912.486-2.364.8-4 .8-1.636 0-3.088-.314-4-.8v1.55l.002.008a.147.147 0 00.016.033.618.618 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.62.62 0 00.146-.15.149.149 0 00.015-.033A.03.03 0 0011 5.75zM3 7.013c.2.103.423.193.66.272.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.237-.079.46-.17.66-.272V8.5l-.002.008a.149.149 0 01-.015.033.62.62 0 01-.146.15c-.165.13-.435.27-.813.395-.751.25-1.82.414-3.024.414s-2.273-.163-3.024-.414c-.378-.126-.648-.265-.813-.395a.618.618 0 01-.145-.15.147.147 0 01-.016-.033A.027.027 0 013 8.5V7.013zm0 2.75V11l.002.008a.147.147 0 00.016.033.617.617 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.619.619 0 00.146-.15.148.148 0 00.015-.033L11 11V9.763c-.2.103-.423.193-.66.272-.878.293-2.059.465-3.34.465-1.281 0-2.462-.172-3.34-.465A4.767 4.767 0 013 9.763z",fill:e}))),gF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5 3a.5.5 0 00-1 0v3a.5.5 0 001 0V3zM7 2.5a.5.5 0 01.5.5v3a.5.5 0 01-1 0V3a.5.5 0 01.5-.5zM10 4.504a.5.5 0 10-1 0V6a.5.5 0 001 0V4.504z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.54l-.001-.002a.499.499 0 00-.145-.388l-3-3a.499.499 0 00-.388-.145L8.464.004H2.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h9a.5.5 0 00.5-.5V3.54zM3 1.004h5.293L11 3.71v5.293H3v-8zm0 9v3h8v-3H3z",fill:e}))),vF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.164 3.446a1.5 1.5 0 10-2.328 0L1.81 10.032A1.503 1.503 0 000 11.5a1.5 1.5 0 002.915.5h8.17a1.5 1.5 0 101.104-1.968L8.164 3.446zm-1.475.522a1.506 1.506 0 00.622 0l4.025 6.586a1.495 1.495 0 00-.25.446H2.914a1.497 1.497 0 00-.25-.446l4.024-6.586z",fill:e}))),yF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.21.046l6.485 2.994A.5.5 0 0114 3.51v6.977a.495.495 0 01-.23.432.481.481 0 01-.071.038L7.23 13.944a.499.499 0 01-.46 0L.3 10.958a.498.498 0 01-.3-.47V3.511a.497.497 0 01.308-.473L6.78.051a.499.499 0 01.43-.005zM1 4.282v5.898l5.5 2.538V6.82L1 4.282zm6.5 8.436L13 10.18V4.282L7.5 6.82v5.898zM12.307 3.5L7 5.95 1.693 3.5 7 1.05l5.307 2.45z",fill:e}))),wF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6a.5.5 0 001 0v-6z",fill:e}),i.createElement("path",{d:"M4.273 2.808a.5.5 0 00-.546-.837 6 6 0 106.546 0 .5.5 0 00-.546.837 5 5 0 11-5.454 0z",fill:e}))),bF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.854 2.146l-2-2a.5.5 0 00-.708 0l-1.5 1.5-8.995 8.995a.499.499 0 00-.143.268L.012 13.39a.495.495 0 00.135.463.5.5 0 00.462.134l2.482-.496a.495.495 0 00.267-.143l8.995-8.995 1.5-1.5a.5.5 0 000-.708zM12 3.293l.793-.793L11.5 1.207 10.707 2 12 3.293zm-2-.586L1.707 11 3 12.293 11.293 4 10 2.707zM1.137 12.863l.17-.849.679.679-.849.17z",fill:e}))),DF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5.586 5.586A2 2 0 018.862 7.73a.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 10-.365-.93 2 2 0 01-2.145-3.277z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.939 6.527c.127.128.19.297.185.464a.635.635 0 01-.185.465L0 8.395a7.099 7.099 0 001.067 2.572h1.32c.182 0 .345.076.46.197a.635.635 0 01.198.46v1.317A7.097 7.097 0 005.602 14l.94-.94a.634.634 0 01.45-.186H7.021c.163 0 .326.061.45.186l.939.938a7.098 7.098 0 002.547-1.057V11.61c0-.181.075-.344.197-.46a.634.634 0 01.46-.197h1.33c.507-.76.871-1.622 1.056-2.55l-.946-.946a.635.635 0 01-.186-.465.635.635 0 01.186-.464l.943-.944a7.099 7.099 0 00-1.044-2.522h-1.34a.635.635 0 01-.46-.197.635.635 0 01-.196-.46V1.057A7.096 7.096 0 008.413.002l-.942.942a.634.634 0 01-.45.186H6.992a.634.634 0 01-.45-.186L5.598 0a7.097 7.097 0 00-2.553 1.058v1.33c0 .182-.076.345-.197.46a.635.635 0 01-.46.198h-1.33A7.098 7.098 0 00.003 5.591l.936.936zm.707 1.636c.324-.324.482-.752.479-1.172a1.634 1.634 0 00-.48-1.171l-.538-.539c.126-.433.299-.847.513-1.235h.768c.459 0 .873-.19 1.167-.49.3-.295.49-.708.49-1.167v-.77c.39-.215.807-.388 1.243-.515l.547.547c.32.32.742.48 1.157.48l.015-.001h.014c.415 0 .836-.158 1.157-.479l.545-.544c.433.126.846.299 1.234.512v.784c0 .46.19.874.49 1.168.294.3.708.49 1.167.49h.776c.209.382.378.788.502 1.213l-.545.546a1.635 1.635 0 00-.48 1.17c-.003.421.155.849.48 1.173l.549.55c-.126.434-.3.85-.513 1.239h-.77c-.458 0-.872.19-1.166.49-.3.294-.49.708-.49 1.167v.77a6.09 6.09 0 01-1.238.514l-.54-.54a1.636 1.636 0 00-1.158-.48H6.992c-.415 0-.837.159-1.157.48l-.543.543a6.091 6.091 0 01-1.247-.516v-.756c0-.459-.19-.873-.49-1.167-.294-.3-.708-.49-1.167-.49h-.761a6.094 6.094 0 01-.523-1.262l.542-.542z",fill:e}))),EF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5.585 8.414a2 2 0 113.277-.683.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 00-.365-.93 2 2 0 01-2.146-.449z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5.289a1 1 0 011 0l5.062 2.922a1 1 0 01.5.866v5.846a1 1 0 01-.5.866L7.5 13.71a1 1 0 01-1 0L1.437 10.79a1 1 0 01-.5-.866V4.077a1 1 0 01.5-.866L6.5.29zm.5.866l5.062 2.922v5.846L7 12.845 1.937 9.923V4.077L7 1.155z",fill:e}))),CF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 1c.441 0 .564.521.252.833l-.806.807a.51.51 0 000 .72l.694.694a.51.51 0 00.72 0l.807-.806c.312-.312.833-.19.833.252a2.5 2.5 0 01-3.414 2.328l-6.879 6.88a1 1 0 01-1.414-1.415l6.88-6.88A2.5 2.5 0 0110.5 1zM2 12.5a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),xF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM13 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM7 8.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3z",fill:e}))),FF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5.903.112a.107.107 0 01.194 0l.233.505.552.066c.091.01.128.123.06.185l-.408.377.109.546a.107.107 0 01-.158.114L6 1.634l-.485.271a.107.107 0 01-.158-.114l.108-.546-.408-.377a.107.107 0 01.06-.185L5.67.617l.233-.505zM2.194.224a.214.214 0 00-.389 0l-.466 1.01-1.104.131a.214.214 0 00-.12.37l.816.755-.217 1.091a.214.214 0 00.315.23L2 3.266l.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37L2.66 1.234 2.194.224zM12.194 8.224a.214.214 0 00-.389 0l-.466 1.01-1.104.13a.214.214 0 00-.12.371l.816.755-.217 1.091a.214.214 0 00.315.23l.97-.544.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37l-1.105-.131-.466-1.01z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 12.797l-1.293-1.293 6.758-6.758L9.258 6.04 2.5 12.797zm7.465-7.465l2.828-2.828L11.5 1.211 8.672 4.04l1.293 1.293zM.147 11.857a.5.5 0 010-.707l11-11a.5.5 0 01.706 0l2 2a.5.5 0 010 .708l-11 11a.5.5 0 01-.706 0l-2-2z",fill:e}))),SF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M13.854 3.354a.5.5 0 00-.708-.708L5 10.793.854 6.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.708 0l8.5-8.5z",fill:e}))),AF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1V6.393a.5.5 0 00-1 0v5.61H2v-10h7.5a.5.5 0 000-1H2z",fill:e}),i.createElement("path",{d:"M6.354 9.857l7.5-7.5a.5.5 0 00-.708-.707L6 8.797 3.854 6.65a.5.5 0 10-.708.707l2.5 2.5a.5.5 0 00.708 0z",fill:e}))),kF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM8.854 2.646a.5.5 0 010 .708L5.207 7l3.647 3.646a.5.5 0 01-.708.708L4.5 7.707.854 11.354a.5.5 0 01-.708-.708L3.793 7 .146 3.354a.5.5 0 11.708-.708L4.5 6.293l3.646-3.647a.5.5 0 01.708 0zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),BF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM9.3 2.6a.5.5 0 01.1.7l-5.995 7.993a.505.505 0 01-.37.206.5.5 0 01-.395-.152L.146 8.854a.5.5 0 11.708-.708l2.092 2.093L8.6 2.7a.5.5 0 01.7-.1zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),_F=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M10.5 1a.5.5 0 01.5.5V2h1.5a.5.5 0 010 1H11v.5a.5.5 0 01-1 0V3H1.5a.5.5 0 010-1H10v-.5a.5.5 0 01.5-.5zM1.5 11a.5.5 0 000 1H10v.5a.5.5 0 001 0V12h1.5a.5.5 0 000-1H11v-.5a.5.5 0 00-1 0v.5H1.5zM1 7a.5.5 0 01.5-.5H3V6a.5.5 0 011 0v.5h8.5a.5.5 0 010 1H4V8a.5.5 0 01-1 0v-.5H1.5A.5.5 0 011 7z",fill:e}))),IF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6h-6a.5.5 0 000 1h6v6a.5.5 0 001 0v-6h6a.5.5 0 000-1h-6v-6z",fill:e}))),RF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2.03.97A.75.75 0 00.97 2.03L5.94 7 .97 11.97a.75.75 0 101.06 1.06L7 8.06l4.97 4.97a.75.75 0 101.06-1.06L8.06 7l4.97-4.97A.75.75 0 0011.97.97L7 5.94 2.03.97z",fill:e}))),Ib=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708L6.293 7l-5.147 5.146a.5.5 0 00.708.708L7 7.707l5.146 5.147a.5.5 0 00.708-.708L7.707 7l5.147-5.146a.5.5 0 00-.708-.708L7 6.293 1.854 1.146z",fill:e}))),zF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5.5 4.5A.5.5 0 016 5v5a.5.5 0 01-1 0V5a.5.5 0 01.5-.5zM9 5a.5.5 0 00-1 0v5a.5.5 0 001 0V5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5.5A.5.5 0 015 0h4a.5.5 0 01.5.5V2h3a.5.5 0 010 1H12v8a2 2 0 01-2 2H4a2 2 0 01-2-2V3h-.5a.5.5 0 010-1h3V.5zM3 3v8a1 1 0 001 1h6a1 1 0 001-1V3H3zm2.5-2h3v1h-3V1z",fill:e}))),TF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("g",{clipPath:"url(#prefix__clip0_1107_3502)"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5 5H3.657A4 4 0 00.828 6.17l-.474.475a.5.5 0 000 .707l2.793 2.793-3 3a.5.5 0 00.707.708l3-3 2.792 2.792a.5.5 0 00.708 0l.474-.475A4 4 0 009 10.343V9l2-2a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM11 5.585l-3 3v1.757a3 3 0 01-.879 2.121L7 12.586 1.414 7l.122-.122A3 3 0 013.656 6h1.758l3-3-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586z",fill:e})),i.createElement("defs",null,i.createElement("clipPath",{id:"prefix__clip0_1107_3502"},i.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),LF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("g",{clipPath:"url(#prefix__clip0_1107_3501)",fill:e},i.createElement("path",{d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5.707 4.293 6.414 5l2-2-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586l-2 2 .707.707L11 7a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM.828 6.171a4 4 0 012.758-1.17l1 .999h-.93a3 3 0 00-2.12.878L1.414 7 7 12.586l.121-.122A3 3 0 008 10.343v-.929l1 1a4 4 0 01-1.172 2.757l-.474.475a.5.5 0 01-.708 0l-2.792-2.792-3 3a.5.5 0 01-.708-.708l3-3L.355 7.353a.5.5 0 010-.707l.474-.475zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z"})),i.createElement("defs",null,i.createElement("clipPath",{id:"prefix__clip0_1107_3501"},i.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),MF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),OF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),PF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M9.854 4.146a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),NF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0a6 6 0 01-9.874 4.582l8.456-8.456A5.976 5.976 0 0113 7zM2.418 10.874l8.456-8.456a6 6 0 00-8.456 8.456z",fill:e}))),HF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm3.854-9.354a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),jF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}))),$F=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm2.854-9.854a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}))),VF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 2h7a2 2 0 012 2v6a2 2 0 01-2 2H5a1.994 1.994 0 01-1.414-.586l-3-3a2 2 0 010-2.828l3-3A1.994 1.994 0 015 2zm1.146 3.146a.5.5 0 01.708 0L8 6.293l1.146-1.147a.5.5 0 11.708.708L8.707 7l1.147 1.146a.5.5 0 01-.708.708L8 7.707 6.854 8.854a.5.5 0 11-.708-.708L7.293 7 6.146 5.854a.5.5 0 010-.708z",fill:e}))),UF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.5 5.004a.5.5 0 100 1h7a.5.5 0 000-1h-7zM3 8.504a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 12.004H5.707l-1.853 1.854a.5.5 0 01-.351.146h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5zm-10.5-1v-8h10v8H2z",fill:e}))),qF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.5 5.004a.5.5 0 10-1 0v1.5H5a.5.5 0 100 1h1.5v1.5a.5.5 0 001 0v-1.5H9a.5.5 0 000-1H7.5v-1.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),WF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M9.854 6.65a.5.5 0 010 .707l-2 2a.5.5 0 11-.708-.707l1.15-1.15-3.796.004a.5.5 0 010-1L8.29 6.5 7.145 5.357a.5.5 0 11.708-.707l2 2z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),GF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M8.5 7.004a.5.5 0 000-1h-5a.5.5 0 100 1h5zM9 8.504a.5.5 0 01-.5.5h-5a.5.5 0 010-1h5a.5.5 0 01.5.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 11.504v-1.5h1.5a.5.5 0 00.5-.5v-8a.5.5 0 00-.5-.5h-11a.5.5 0 00-.5.5v1.5H.5a.5.5 0 00-.5.5v8a.5.5 0 00.5.5H2v1.5a.499.499 0 00.497.5h.006a.498.498 0 00.35-.146l1.854-1.854H11.5a.5.5 0 00.5-.5zm-9-8.5v-1h10v7h-1v-5.5a.5.5 0 00-.5-.5H3zm-2 8v-7h10v7H1z",fill:e}))),KF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 2a2 2 0 012-2h8a2 2 0 012 2v8a2 2 0 01-2 2H6.986a.444.444 0 01-.124.103l-3.219 1.84A.43.43 0 013 13.569V12a2 2 0 01-2-2V2zm3.42 4.78a.921.921 0 110-1.843.921.921 0 010 1.842zm1.658-.922a.921.921 0 101.843 0 .921.921 0 00-1.843 0zm2.58 0a.921.921 0 101.842 0 .921.921 0 00-1.843 0z",fill:e}))),YF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M8 8.004a1 1 0 01-.5.866v1.634a.5.5 0 01-1 0V8.87A1 1 0 118 8.004z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 4.004a4 4 0 118 0v1h1.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3v-1zm7 1v-1a3 3 0 10-6 0v1h6zm2 1H2v7h10v-7z",fill:e}))),ZF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("g",{clipPath:"url(#prefix__clip0_1107_3614)",fill:e},i.createElement("path",{d:"M6.5 8.87a1 1 0 111 0v1.634a.5.5 0 01-1 0V8.87z"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 1a3 3 0 00-3 3v1.004h8.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3V4a4 4 0 017.755-1.381.5.5 0 01-.939.345A3.001 3.001 0 007 1zM2 6.004h10v7H2v-7z"})),i.createElement("defs",null,i.createElement("clipPath",{id:"prefix__clip0_1107_3614"},i.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),JF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11 4a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 8.532V9.5a.5.5 0 01-.5.5H5.5v1.5a.5.5 0 01-.5.5H3.5v1.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-2a.5.5 0 01.155-.362l5.11-5.11A4.5 4.5 0 117.5 8.532zM6 4.5a3.5 3.5 0 111.5 2.873c-.29-.203-1-.373-1 .481V9H5a.5.5 0 00-.5.5V11H3a.5.5 0 00-.5.5V13H1v-1.293l5.193-5.193a.552.552 0 00.099-.613A3.473 3.473 0 016 4.5z",fill:e}))),XF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.354.15a.5.5 0 00-.708 0l-2 2a.5.5 0 10.708.707L6.5 1.711v6.793a.5.5 0 001 0V1.71l1.146 1.146a.5.5 0 10.708-.707l-2-2z",fill:e}),i.createElement("path",{d:"M2 7.504a.5.5 0 10-1 0v5a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-5a.5.5 0 00-1 0v4.5H2v-4.5z",fill:e}))),QF=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2.5 8.004a.5.5 0 100 1h3a.5.5 0 000-1h-3z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 11.504a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5a.5.5 0 00-.5.5v9zm1-8.5v1h12v-1H1zm0 8h12v-5H1v5z",fill:e}))),eS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1 3.004a1 1 0 00-1 1v5a1 1 0 001 1h3.5a.5.5 0 100-1H1v-5h12v5h-1a.5.5 0 000 1h1a1 1 0 001-1v-5a1 1 0 00-1-1H1z",fill:e}),i.createElement("path",{d:"M6.45 7.006a.498.498 0 01.31.07L10.225 9.1a.5.5 0 01-.002.873l-1.074.621.75 1.3a.75.75 0 01-1.3.75l-.75-1.3-1.074.62a.497.497 0 01-.663-.135.498.498 0 01-.095-.3L6 7.515a.497.497 0 01.45-.509z",fill:e}))),tS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4 1.504a.5.5 0 01.5-.5h5a.5.5 0 110 1h-2v10h2a.5.5 0 010 1h-5a.5.5 0 010-1h2v-10h-2a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{d:"M0 4.504a.5.5 0 01.5-.5h4a.5.5 0 110 1H1v4h3.5a.5.5 0 110 1h-4a.5.5 0 01-.5-.5v-5zM9.5 4.004a.5.5 0 100 1H13v4H9.5a.5.5 0 100 1h4a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-4z",fill:e}))),rS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.943 12.457a.27.27 0 00.248-.149L7.77 9.151l2.54 2.54a.257.257 0 00.188.073c.082 0 .158-.03.21-.077l.788-.79a.27.27 0 000-.392L8.891 7.9l3.416-1.708a.29.29 0 00.117-.106.222.222 0 00.033-.134.332.332 0 00-.053-.161.174.174 0 00-.092-.072l-.02-.007-10.377-4.15a.274.274 0 00-.355.354l4.15 10.372a.275.275 0 00.233.169zm-.036 1l-.02-.002c-.462-.03-.912-.31-1.106-.796L.632 2.287A1.274 1.274 0 012.286.633l10.358 4.143c.516.182.782.657.81 1.114a1.25 1.25 0 01-.7 1.197L10.58 8.174l1.624 1.624a1.27 1.27 0 010 1.807l-.8.801-.008.007c-.491.46-1.298.48-1.792-.014l-1.56-1.56-.957 1.916a1.27 1.27 0 01-1.142.702h-.037z",fill:e}))),nS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.87 6.008a.505.505 0 00-.003-.028v-.002c-.026-.27-.225-.48-.467-.498a.5.5 0 00-.53.5v1.41c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47V5.17a.6.6 0 00-.002-.05c-.023-.268-.223-.49-.468-.5a.5.5 0 00-.52.5v1.65a.486.486 0 01-.47.47.48.48 0 01-.47-.47V4.62a.602.602 0 00-.002-.05v-.002c-.023-.266-.224-.48-.468-.498a.5.5 0 00-.53.5v2.2c0 .25-.22.47-.47.47a.49.49 0 01-.47-.47V1.8c0-.017 0-.034-.002-.05-.022-.268-.214-.49-.468-.5a.5.5 0 00-.52.5v6.78c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47l.001-.1c.001-.053.002-.104 0-.155a.775.775 0 00-.06-.315.65.65 0 00-.16-.22 29.67 29.67 0 01-.21-.189c-.2-.182-.4-.365-.617-.532l-.003-.003A6.366 6.366 0 003.06 7l-.01-.007c-.433-.331-.621-.243-.69-.193-.26.14-.29.5-.13.74l1.73 2.6v.01h-.016l-.035.023.05-.023s1.21 2.6 3.57 2.6c3.54 0 4.2-1.9 4.31-4.42.039-.591.036-1.189.032-1.783l-.002-.507v-.032zm.969 2.376c-.057 1.285-.254 2.667-1.082 3.72-.88 1.118-2.283 1.646-4.227 1.646-1.574 0-2.714-.87-3.406-1.623a6.958 6.958 0 01-1.046-1.504l-.006-.012-1.674-2.516a1.593 1.593 0 01-.25-1.107 1.44 1.44 0 01.69-1.041c.195-.124.485-.232.856-.186.357.044.681.219.976.446.137.106.272.22.4.331V1.75A1.5 1.5 0 015.63.25c.93.036 1.431.856 1.431 1.55v1.335a1.5 1.5 0 01.53-.063h.017c.512.04.915.326 1.153.71a1.5 1.5 0 01.74-.161c.659.025 1.115.458 1.316.964a1.493 1.493 0 01.644-.103h.017c.856.067 1.393.814 1.393 1.558l.002.48c.004.596.007 1.237-.033 1.864z",fill:e}))),aS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 6A2.5 2.5 0 116 3.5V5h2V3.5A2.5 2.5 0 1110.5 6H9v2h1.5A2.5 2.5 0 118 10.5V9H6v1.5A2.5 2.5 0 113.5 8H5V6H3.5zM2 3.5a1.5 1.5 0 113 0V5H3.5A1.5 1.5 0 012 3.5zM6 6v2h2V6H6zm3-1h1.5A1.5 1.5 0 109 3.5V5zM3.5 9H5v1.5A1.5 1.5 0 113.5 9zM9 9v1.5A1.5 1.5 0 1010.5 9H9z",fill:e}))),oS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.083 12.25H2.917a1.167 1.167 0 01-1.167-1.167V2.917A1.167 1.167 0 012.917 1.75h6.416l2.917 2.917v6.416a1.167 1.167 0 01-1.167 1.167z",stroke:e,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M9.917 12.25V7.583H4.083v4.667M4.083 1.75v2.917H8.75",stroke:e,strokeLinecap:"round",strokeLinejoin:"round"}))),lS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),iS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5.25 5.25A1.75 1.75 0 117 7a.5.5 0 00-.5.5V9a.5.5 0 001 0V7.955A2.75 2.75 0 104.25 5.25a.5.5 0 001 0zM7 11.5A.75.75 0 107 10a.75.75 0 000 1.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),sS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-3.524 4.89A5.972 5.972 0 017 13a5.972 5.972 0 01-3.477-1.11l1.445-1.444C5.564 10.798 6.258 11 7 11s1.436-.202 2.032-.554l1.444 1.445zm-.03-2.858l1.445 1.444A5.972 5.972 0 0013 7c0-1.296-.41-2.496-1.11-3.477l-1.444 1.445C10.798 5.564 11 6.258 11 7s-.202 1.436-.554 2.032zM9.032 3.554l1.444-1.445A5.972 5.972 0 007 1c-1.296 0-2.496.41-3.477 1.11l1.445 1.444A3.981 3.981 0 017 3c.742 0 1.436.202 2.032.554zM3.554 4.968L2.109 3.523A5.973 5.973 0 001 7c0 1.296.41 2.496 1.11 3.476l1.444-1.444A3.981 3.981 0 013 7c0-.742.202-1.436.554-2.032zM10 7a3 3 0 11-6 0 3 3 0 016 0z",fill:e}))),uS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7 4.5a.5.5 0 01.5.5v3.5a.5.5 0 11-1 0V5a.5.5 0 01.5-.5zM7.75 10.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 1.045a.498.498 0 01.23.209l6.494 10.992a.5.5 0 01-.438.754H.508a.497.497 0 01-.506-.452.498.498 0 01.072-.31l6.49-10.984a.497.497 0 01.642-.21zM7 2.483L1.376 12h11.248L7 2.483z",fill:e}))),cS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM6.5 8a.5.5 0 001 0V4a.5.5 0 00-1 0v4zm-.25 2.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0z",fill:e}))),dS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 2.504a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-9zm1 1.012v7.488h12V3.519L7.313 7.894a.496.496 0 01-.526.062.497.497 0 01-.1-.062L1 3.516zm11.03-.512H1.974L7 6.874l5.03-3.87z",fill:e}))),pS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.76 8.134l-.05.05a.2.2 0 01-.28.03 6.76 6.76 0 01-1.63-1.65.21.21 0 01.04-.27l.05-.05c.23-.2.54-.47.71-.96.17-.47-.02-1.04-.66-1.94-.26-.38-.72-.96-1.22-1.46-.68-.69-1.2-1-1.65-1a.98.98 0 00-.51.13A3.23 3.23 0 00.9 3.424c-.13 1.1.26 2.37 1.17 3.78a16.679 16.679 0 004.55 4.6 6.57 6.57 0 003.53 1.32 3.2 3.2 0 002.85-1.66c.14-.24.24-.64-.07-1.18a7.803 7.803 0 00-1.73-1.81c-.64-.5-1.52-1.11-2.13-1.11a.97.97 0 00-.34.06c-.472.164-.74.458-.947.685l-.023.025zm4.32 2.678a6.801 6.801 0 00-1.482-1.54l-.007-.005-.006-.005a8.418 8.418 0 00-.957-.662 2.7 2.7 0 00-.4-.193.683.683 0 00-.157-.043l-.004.002-.009.003c-.224.078-.343.202-.56.44l-.014.016-.046.045a1.2 1.2 0 01-1.602.149A7.76 7.76 0 014.98 7.134l-.013-.019-.013-.02a1.21 1.21 0 01.195-1.522l.06-.06.026-.024c.219-.19.345-.312.422-.533l.003-.01v-.008a.518.518 0 00-.032-.142c-.06-.178-.203-.453-.502-.872l-.005-.008-.005-.007A10.18 10.18 0 004.013 2.59l-.005-.005c-.31-.314-.543-.5-.716-.605-.147-.088-.214-.096-.222-.097h-.016l-.006.003-.01.006a2.23 2.23 0 00-1.145 1.656c-.09.776.175 1.806 1.014 3.108a15.68 15.68 0 004.274 4.32l.022.014.022.016a5.57 5.57 0 002.964 1.117 2.2 2.2 0 001.935-1.141l.006-.012.004-.007a.182.182 0 00-.007-.038.574.574 0 00-.047-.114z",fill:e}))),fS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),i.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),hS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.452 7.952l1.305-1.305.708.707-1.306 1.305a2.25 2.25 0 103.182 3.182l1.306-1.305.707.707-1.306 1.305a3.25 3.25 0 01-4.596-4.596zM12.548 6.048l-1.305 1.306-.707-.708 1.305-1.305a2.25 2.25 0 10-3.182-3.182L7.354 3.464l-.708-.707 1.306-1.305a3.25 3.25 0 014.596 4.596zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.707-.707l-11-11z",fill:e}))),mS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.994 1.11a1 1 0 10-1.988 0A4.502 4.502 0 002.5 5.5v3.882l-.943 1.885a.497.497 0 00-.053.295.5.5 0 00.506.438h3.575a1.5 1.5 0 102.83 0h3.575a.5.5 0 00.453-.733L11.5 9.382V5.5a4.502 4.502 0 00-3.506-4.39zM2.81 11h8.382l-.5-1H3.31l-.5 1zM10.5 9V5.5a3.5 3.5 0 10-7 0V9h7zm-4 3.5a.5.5 0 111 0 .5.5 0 01-1 0z",fill:e}))),gS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.5.5A.5.5 0 012 0c6.627 0 12 5.373 12 12a.5.5 0 01-1 0C13 5.925 8.075 1 2 1a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{d:"M1.5 4.5A.5.5 0 012 4a8 8 0 018 8 .5.5 0 01-1 0 7 7 0 00-7-7 .5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 11a2 2 0 11-4 0 2 2 0 014 0zm-1 0a1 1 0 11-2 0 1 1 0 012 0z",fill:e}))),vS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z",fill:e}),i.createElement("path",{d:"M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z",fill:e}))),yS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M6.646.15a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.707L7.5 1.711v6.793a.5.5 0 01-1 0V1.71L5.354 2.857a.5.5 0 11-.708-.707l2-2z",fill:e}),i.createElement("path",{d:"M2 4.004a1 1 0 00-1 1v7a1 1 0 001 1h10a1 1 0 001-1v-7a1 1 0 00-1-1H9.5a.5.5 0 100 1H12v7H2v-7h2.5a.5.5 0 000-1H2z",fill:e}))),wS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M13.854 6.646a.5.5 0 010 .708l-2 2a.5.5 0 01-.708-.708L12.293 7.5H5.5a.5.5 0 010-1h6.793l-1.147-1.146a.5.5 0 01.708-.708l2 2z",fill:e}),i.createElement("path",{d:"M10 2a1 1 0 00-1-1H2a1 1 0 00-1 1v10a1 1 0 001 1h7a1 1 0 001-1V9.5a.5.5 0 00-1 0V12H2V2h7v2.5a.5.5 0 001 0V2z",fill:e}))),bS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 13A6 6 0 107 1a6 6 0 000 12zm0 1A7 7 0 107 0a7 7 0 000 14z",fill:e}))),DS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M14 7A7 7 0 110 7a7 7 0 0114 0z",fill:e}))),ES=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5zM4 12.413l2.664-2.284a.454.454 0 01.377-.128.498.498 0 01.284.12L10 12.412V1H4v11.413z",fill:e}))),CS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5z",fill:e}))),xS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("g",{clipPath:"url(#prefix__clip0_1449_588)"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.414 1.586a2 2 0 00-2.828 0l-4 4a2 2 0 000 2.828l4 4a2 2 0 002.828 0l4-4a2 2 0 000-2.828l-4-4zm.707-.707a3 3 0 00-4.242 0l-4 4a3 3 0 000 4.242l4 4a3 3 0 004.242 0l4-4a3 3 0 000-4.242l-4-4z",fill:e})),i.createElement("defs",null,i.createElement("clipPath",{id:"prefix__clip0_1449_588"},i.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),FS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584zM1.2 3.526c.128-.333.304-.598.52-.806.218-.212.497-.389.849-.522m-1.37 1.328A3.324 3.324 0 001 4.708c0 .225.032.452.101.686.082.265.183.513.307.737.135.246.294.484.479.716.188.237.386.454.59.652l.001.002 4.514 4.355 4.519-4.344c.2-.193.398-.41.585-.648l.003-.003c.184-.23.345-.472.486-.726l.004-.007c.131-.23.232-.474.31-.732v-.002c.068-.224.101-.45.101-.686 0-.457-.07-.849-.195-1.185a2.177 2.177 0 00-.515-.802l.007-.012-.008.009a2.383 2.383 0 00-.85-.518l-.003-.001C11.1 2.072 10.692 2 10.203 2c-.21 0-.406.03-.597.09h-.001c-.22.07-.443.167-.663.289l-.007.003c-.22.12-.434.262-.647.426-.226.174-.42.341-.588.505l-.684.672-.7-.656a9.967 9.967 0 00-.615-.527 4.82 4.82 0 00-.635-.422l-.01-.005a3.289 3.289 0 00-.656-.281l-.008-.003A2.014 2.014 0 003.785 2c-.481 0-.881.071-1.217.198",fill:e}))),SS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584z",fill:e}))),AS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.319.783a.75.75 0 011.362 0l1.63 3.535 3.867.458a.75.75 0 01.42 1.296L10.74 8.715l.76 3.819a.75.75 0 01-1.103.8L7 11.434l-3.398 1.902a.75.75 0 01-1.101-.801l.758-3.819L.401 6.072a.75.75 0 01.42-1.296l3.867-.458L6.318.783zm.68.91l-1.461 3.17a.75.75 0 01-.593.431l-3.467.412 2.563 2.37a.75.75 0 01.226.697l-.68 3.424 3.046-1.705a.75.75 0 01.733 0l3.047 1.705-.68-3.424a.75.75 0 01.226-.697l2.563-2.37-3.467-.412a.75.75 0 01-.593-.43L7 1.694z",fill:e}))),kS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.68.783a.75.75 0 00-1.361 0l-1.63 3.535-3.867.458A.75.75 0 00.4 6.072l2.858 2.643-.758 3.819a.75.75 0 001.101.8L7 11.434l3.397 1.902a.75.75 0 001.102-.801l-.759-3.819L13.6 6.072a.75.75 0 00-.421-1.296l-3.866-.458L7.68.783z",fill:e}))),BS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7.854a4.5 4.5 0 10-6 0V13a.5.5 0 00.497.5h.006c.127 0 .254-.05.35-.146L7 11.207l2.146 2.147A.5.5 0 0010 13V7.854zM7 8a3.5 3.5 0 100-7 3.5 3.5 0 000 7zm-.354 2.146a.5.5 0 01.708 0L9 11.793v-3.26C8.398 8.831 7.718 9 7 9a4.481 4.481 0 01-2-.468v3.26l1.646-1.646z",fill:e}))),_S=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.565 13.123a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97c.25.473.83.661 1.31.426l.987-.482zm4.289-8.477a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),IS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 12.02c-.4.37-.91.56-1.56.56h-.88a5.493 5.493 0 01-1.3-.16c-.42-.1-.91-.25-1.47-.45a5.056 5.056 0 00-.95-.27H2.88a.84.84 0 01-.62-.26.84.84 0 01-.26-.61V6.45c0-.24.09-.45.26-.62a.84.84 0 01.62-.25h1.87c.16-.11.47-.47.93-1.06.27-.35.51-.64.74-.88.1-.11.19-.3.24-.58.05-.28.12-.57.2-.87.1-.3.24-.55.43-.74a.87.87 0 01.62-.25c.38 0 .72.07 1.03.22.3.15.54.38.7.7.15.31.23.73.23 1.27a3 3 0 01-.32 1.31h1.2c.47 0 .88.17 1.23.52s.52.8.52 1.22c0 .29-.04.66-.34 1.12.05.15.07.3.07.47 0 .35-.09.68-.26.98a2.05 2.05 0 01-.4 1.51 1.9 1.9 0 01-.57 1.5zm.473-5.33a.965.965 0 00.027-.25.742.742 0 00-.227-.513.683.683 0 00-.523-.227H7.927l.73-1.45a2 2 0 00.213-.867c0-.444-.068-.695-.127-.822a.53.53 0 00-.245-.244 1.296 1.296 0 00-.539-.116.989.989 0 00-.141.28 9.544 9.544 0 00-.174.755c-.069.387-.213.779-.484 1.077l-.009.01-.009.01c-.195.202-.41.46-.67.798l-.003.004c-.235.3-.44.555-.613.753-.151.173-.343.381-.54.516l-.255.176H5v4.133l.018.003c.384.07.76.176 1.122.318.532.189.98.325 1.352.413l.007.002a4.5 4.5 0 001.063.131h.878c.429 0 .683-.115.871-.285a.9.9 0 00.262-.702l-.028-.377.229-.3a1.05 1.05 0 00.205-.774l-.044-.333.165-.292a.969.969 0 00.13-.487.457.457 0 00-.019-.154l-.152-.458.263-.404a1.08 1.08 0 00.152-.325zM3.5 10.8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),RS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.765 2.076A.5.5 0 0112 2.5v6.009a.497.497 0 01-.17.366L7.337 12.87a.497.497 0 01-.674 0L2.17 8.875l-.009-.007a.498.498 0 01-.16-.358L2 8.5v-6a.5.5 0 01.235-.424l.018-.011c.016-.01.037-.024.065-.04.056-.032.136-.077.24-.128a6.97 6.97 0 01.909-.371C4.265 1.26 5.443 1 7 1s2.735.26 3.533.526c.399.133.702.267.91.37a4.263 4.263 0 01.304.169l.018.01zM3 2.793v5.482l1.068.95 6.588-6.588a6.752 6.752 0 00-.44-.163C9.517 2.24 8.444 2 7 2c-1.443 0-2.515.24-3.217.474-.351.117-.61.233-.778.317L3 2.793zm4 9.038l-2.183-1.94L11 3.706v4.568l-4 3.556z",fill:e}))),zS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M10.354 2.854a.5.5 0 10-.708-.708l-3 3a.5.5 0 10.708.708l3-3z",fill:e}),i.createElement("path",{d:"M2.09 6H4.5a.5.5 0 000-1H1.795a.75.75 0 00-.74.873l.813 4.874A1.5 1.5 0 003.348 12h7.305a1.5 1.5 0 001.48-1.253l.812-4.874a.75.75 0 00-.74-.873H10a.5.5 0 000 1h1.91l-.764 4.582a.5.5 0 01-.493.418H3.347a.5.5 0 01-.493-.418L2.09 6z",fill:e}),i.createElement("path",{d:"M4.5 7a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 7.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2zM6.5 9.5v-2a.5.5 0 011 0v2a.5.5 0 01-1 0z",fill:e}))),TS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 2h.75v3.866l-3.034 5.26A1.25 1.25 0 003.299 13H10.7a1.25 1.25 0 001.083-1.875L8.75 5.866V2h.75a.5.5 0 100-1h-5a.5.5 0 000 1zm1.75 4V2h1.5v4.134l.067.116L8.827 8H5.173l1.01-1.75.067-.116V6zM4.597 9l-1.515 2.625A.25.25 0 003.3 12H10.7a.25.25 0 00.217-.375L9.404 9H4.597z",fill:e}))),LS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.5 10.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1a.5.5 0 00-.5.5c0 1.063.137 1.892.678 2.974.346.692.858 1.489 1.598 2.526-.89 1.247-1.455 2.152-1.798 2.956-.377.886-.477 1.631-.478 2.537v.007a.5.5 0 00.5.5h7c.017 0 .034 0 .051-.003A.5.5 0 0011 12.5v-.007c0-.906-.1-1.65-.478-2.537-.343-.804-.909-1.709-1.798-2.956.74-1.037 1.252-1.834 1.598-2.526C10.863 3.392 11 2.563 11 1.5a.5.5 0 00-.5-.5h-7zm6.487 11a4.675 4.675 0 00-.385-1.652c-.277-.648-.735-1.407-1.499-2.494-.216.294-.448.606-.696.937a.497.497 0 01-.195.162.5.5 0 01-.619-.162c-.248-.331-.48-.643-.696-.937-.764 1.087-1.222 1.846-1.499 2.494A4.675 4.675 0 004.013 12h5.974zM6.304 6.716c.212.293.443.609.696.948a90.058 90.058 0 00.709-.965c.48-.664.86-1.218 1.163-1.699H5.128a32.672 32.672 0 001.176 1.716zM4.559 4h4.882c.364-.735.505-1.312.546-2H4.013c.04.688.182 1.265.546 2z",fill:e}))),MS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5 1h-9a.5.5 0 00-.5.5v11a.5.5 0 001 0V8h8.5a.5.5 0 00.354-.854L9.207 4.5l2.647-2.646A.499.499 0 0011.5 1zM8.146 4.146L10.293 2H3v5h7.293L8.146 4.854a.5.5 0 010-.708z",fill:e}))),OS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7V6a3 3 0 00-5.91-.736l-.17.676-.692.075A2.5 2.5 0 003.5 11h3c.063 0 .125-.002.187-.007l.076-.005.076.006c.053.004.106.006.161.006h4a2 2 0 100-4h-1zM3.12 5.02A3.5 3.5 0 003.5 12h3c.087 0 .174-.003.26-.01.079.007.16.01.24.01h4a3 3 0 100-6 4 4 0 00-7.88-.98z",fill:e}))),PS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7 2a4 4 0 014 4 3 3 0 110 6H7c-.08 0-.161-.003-.24-.01-.086.007-.173.01-.26.01h-3a3.5 3.5 0 01-.38-6.98A4.002 4.002 0 017 2z",fill:e}))),NS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 7a4 4 0 11-8 0 4 4 0 018 0zm-1 0a3 3 0 11-6 0 3 3 0 016 0z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.268 13.18c.25.472.83.66 1.31.425l.987-.482a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97zm5.096-1.44l-.511.963-.979-.478a1.99 1.99 0 00-1.748 0l-.979.478-.51-.962a1.991 1.991 0 00-1.415-1.028l-1.073-.188.152-1.079a1.991 1.991 0 00-.54-1.663L1.004 7l.757-.783a1.991 1.991 0 00.54-1.663L2.15 3.475l1.073-.188A1.991 1.991 0 004.636 2.26l.511-.962.979.478a1.99 1.99 0 001.748 0l.979-.478.51.962c.288.543.81.922 1.415 1.028l1.073.188-.152 1.079a1.99 1.99 0 00.54 1.663l.757.783-.757.783a1.99 1.99 0 00-.54 1.663l.152 1.079-1.073.188a1.991 1.991 0 00-1.414 1.028z",fill:e}))),HS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 4a3 3 0 100 6 3 3 0 000-6zM3 7a4 4 0 118 0 4 4 0 01-8 0z",fill:e}))),jS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 3.044a.498.498 0 01.23.212l3.492 5.985a.494.494 0 01.006.507.497.497 0 01-.443.252H3.51a.499.499 0 01-.437-.76l3.492-5.984a.497.497 0 01.642-.212zM7 4.492L4.37 9h5.26L7 4.492z",fill:e}))),$S=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.854 4.146a.5.5 0 010 .708l-5 5a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708L5.5 8.793l4.646-4.647a.5.5 0 01.708 0z",fill:e}))),VS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.354 3.896l5.5 5.5a.5.5 0 01-.708.708L7 4.957l-5.146 5.147a.5.5 0 01-.708-.708l5.5-5.5a.5.5 0 01.708 0z",fill:e}))),US=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),qS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2.76 7.096a.498.498 0 00.136.258l5.5 5.5a.5.5 0 00.707-.708L3.958 7l5.147-5.146a.5.5 0 10-.708-.708l-5.5 5.5a.5.5 0 00-.137.45z",fill:e}))),Rb=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),WS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),GS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),KS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.104 10.146a.5.5 0 01-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 11.708.708L5.957 7l3.147 3.146z",fill:e}))),YS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.896 10.146a.5.5 0 00.708.708l3.5-3.5a.5.5 0 000-.708l-3.5-3.5a.5.5 0 10-.708.708L8.043 7l-3.147 3.146z",fill:e}))),ZS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.854 4.646l-4.5-4.5a.5.5 0 00-.708 0l-4.5 4.5a.5.5 0 10.708.708L6.5 1.707V13.5a.5.5 0 001 0V1.707l3.646 3.647a.5.5 0 00.708-.708z",fill:e}))),JS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v11.793L2.854 8.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.351.146h.006c.127 0 .254-.05.35-.146l4.5-4.5a.5.5 0 00-.707-.708L7.5 12.293V.5z",fill:e}))),XS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5.354 2.146a.5.5 0 010 .708L1.707 6.5H13.5a.5.5 0 010 1H1.707l3.647 3.646a.5.5 0 01-.708.708l-4.5-4.5a.5.5 0 010-.708l4.5-4.5a.5.5 0 01.708 0z",fill:e}))),QS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M8.646 2.146a.5.5 0 01.708 0l4.5 4.5a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708-.708L12.293 7.5H.5a.5.5 0 010-1h11.793L8.646 2.854a.5.5 0 010-.708z",fill:e}))),eA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.904 8.768V2.404a.5.5 0 01.5-.5h6.364a.5.5 0 110 1H3.61l8.339 8.339a.5.5 0 01-.707.707l-8.34-8.34v5.158a.5.5 0 01-1 0z",fill:e}))),tA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M12.096 8.768V2.404a.5.5 0 00-.5-.5H5.232a.5.5 0 100 1h5.157L2.05 11.243a.5.5 0 10.707.707l8.34-8.34v5.158a.5.5 0 101 0z",fill:e}))),rA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.904 5.232v6.364a.5.5 0 00.5.5h6.364a.5.5 0 000-1H3.61l8.339-8.339a.5.5 0 00-.707-.707l-8.34 8.34V5.231a.5.5 0 00-1 0z",fill:e}))),nA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M12.096 5.232v6.364a.5.5 0 01-.5.5H5.232a.5.5 0 010-1h5.157L2.05 2.757a.5.5 0 01.707-.707l8.34 8.34V5.231a.5.5 0 111 0z",fill:e}))),aA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.772 3.59c.126-.12.33-.12.456 0l5.677 5.387c.203.193.06.523-.228.523H1.323c-.287 0-.431-.33-.228-.523L6.772 3.59z",fill:e}))),oA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.228 10.41a.335.335 0 01-.456 0L1.095 5.023c-.203-.193-.06-.523.228-.523h11.354c.287 0 .431.33.228.523L7.228 10.41z",fill:e}))),lA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.712 7.212a.3.3 0 010-.424l5.276-5.276a.3.3 0 01.512.212v10.552a.3.3 0 01-.512.212L3.712 7.212z",fill:e}))),iA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.288 7.212a.3.3 0 000-.424L5.012 1.512a.3.3 0 00-.512.212v10.552a.3.3 0 00.512.212l5.276-5.276z",fill:e}))),sA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.354.146l4 4a.5.5 0 01-.708.708L7 1.207 3.354 4.854a.5.5 0 11-.708-.708l4-4a.5.5 0 01.708 0zM11.354 9.146a.5.5 0 010 .708l-4 4a.5.5 0 01-.708 0l-4-4a.5.5 0 11.708-.708L7 12.793l3.646-3.647a.5.5 0 01.708 0z",fill:e}))),uA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.354.146a.5.5 0 10-.708.708l4 4a.5.5 0 00.708 0l4-4a.5.5 0 00-.708-.708L7 3.793 3.354.146zM6.646 9.146a.5.5 0 01.708 0l4 4a.5.5 0 01-.708.708L7 10.207l-3.646 3.647a.5.5 0 01-.708-.708l4-4z",fill:e}))),cA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.5 1h2a.5.5 0 010 1h-.793l3.147 3.146a.5.5 0 11-.708.708L2 2.707V3.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 1.5a.5.5 0 01.5-.5h2a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-.793L8.854 5.854a.5.5 0 11-.708-.708L11.293 2H10.5a.5.5 0 01-.5-.5zM12.5 10a.5.5 0 01.5.5v2a.5.5 0 01-.5.5h-2a.5.5 0 010-1h.793L8.146 8.854a.5.5 0 11.708-.708L12 11.293V10.5a.5.5 0 01.5-.5zM2 11.293V10.5a.5.5 0 00-1 0v2a.5.5 0 00.5.5h2a.5.5 0 000-1h-.793l3.147-3.146a.5.5 0 10-.708-.708L2 11.293z",fill:e}))),dA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M6.646.147l-1.5 1.5a.5.5 0 10.708.707l.646-.647V5a.5.5 0 001 0V1.707l.646.647a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0z",fill:e}),i.createElement("path",{d:"M1.309 4.038a.498.498 0 00-.16.106l-.005.005a.498.498 0 00.002.705L3.293 7 1.146 9.146A.498.498 0 001.5 10h3a.5.5 0 000-1H2.707l1.5-1.5h5.586l2.353 2.354a.5.5 0 00.708-.708L10.707 7l2.146-2.146.11-.545-.107.542A.499.499 0 0013 4.503v-.006a.5.5 0 00-.144-.348l-.005-.005A.498.498 0 0012.5 4h-3a.5.5 0 000 1h1.793l-1.5 1.5H4.207L2.707 5H4.5a.5.5 0 000-1h-3a.498.498 0 00-.191.038z",fill:e}),i.createElement("path",{d:"M7 8.5a.5.5 0 01.5.5v3.293l.646-.647a.5.5 0 01.708.708l-1.5 1.5a.5.5 0 01-.708 0l-1.5-1.5a.5.5 0 01.708-.708l.646.647V9a.5.5 0 01.5-.5zM9 9.5a.5.5 0 01.5-.5h3a.5.5 0 010 1h-3a.5.5 0 01-.5-.5z",fill:e}))),pA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M10.646 2.646a.5.5 0 01.708 0l1.5 1.5a.5.5 0 010 .708l-1.5 1.5a.5.5 0 01-.708-.708L11.293 5H1.5a.5.5 0 010-1h9.793l-.647-.646a.5.5 0 010-.708zM3.354 8.354L2.707 9H12.5a.5.5 0 010 1H2.707l.647.646a.5.5 0 01-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708z",fill:e}))),fA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.5 1a.5.5 0 01.5.5V10a2 2 0 004 0V4a3 3 0 016 0v7.793l1.146-1.147a.5.5 0 01.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 01.708-.708L11 11.793V4a2 2 0 10-4 0v6.002a3 3 0 01-6 0V1.5a.5.5 0 01.5-.5z",fill:e}))),hA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e}))),mA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4.354 2.146a.5.5 0 010 .708L1.707 5.5H9.5A4.5 4.5 0 0114 10v1.5a.5.5 0 01-1 0V10a3.5 3.5 0 00-3.5-3.5H1.707l2.647 2.646a.5.5 0 11-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 01.708 0z",fill:e}))),gA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5.5 1A.5.5 0 005 .5H2a.5.5 0 000 1h1.535a6.502 6.502 0 002.383 11.91.5.5 0 10.165-.986A5.502 5.502 0 014.5 2.1V4a.5.5 0 001 0V1.353a.5.5 0 000-.023V1zM7.507 1a.5.5 0 01.576-.41 6.502 6.502 0 012.383 11.91H12a.5.5 0 010 1H9a.5.5 0 01-.5-.5v-3a.5.5 0 011 0v1.9A5.5 5.5 0 007.917 1.576.5.5 0 017.507 1z",fill:e}))),vA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M8.646 5.854L7.5 4.707V10.5a.5.5 0 01-1 0V4.707L5.354 5.854a.5.5 0 11-.708-.708l2-2a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.708z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),yA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5.354 8.146L6.5 9.293V3.5a.5.5 0 011 0v5.793l1.146-1.147a.5.5 0 11.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm1 0a6 6 0 1112 0A6 6 0 011 7z",fill:e}))),wA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5.854 5.354L4.707 6.5H10.5a.5.5 0 010 1H4.707l1.147 1.146a.5.5 0 11-.708.708l-2-2a.5.5 0 010-.708l2-2a.5.5 0 11.708.708z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a7 7 0 110 14A7 7 0 017 0zm0 1a6 6 0 110 12A6 6 0 017 1z",fill:e}))),bA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.5 6.5h5.793L8.146 5.354a.5.5 0 11.708-.708l2 2a.5.5 0 010 .708l-2 2a.5.5 0 11-.708-.708L9.293 7.5H3.5a.5.5 0 010-1z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 117 0a7 7 0 010 14zm0-1A6 6 0 117 1a6 6 0 010 12z",fill:e}))),DA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.092.5H7a6.5 6.5 0 106.41 7.583.5.5 0 10-.986-.166A5.495 5.495 0 017 12.5a5.5 5.5 0 010-11h.006a5.5 5.5 0 014.894 3H10a.5.5 0 000 1h3a.5.5 0 00.5-.5V2a.5.5 0 00-1 0v1.535A6.495 6.495 0 007.092.5z",fill:e}))),EA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 100 7a7 7 0 0014 0zm-6.535 5.738c-.233.23-.389.262-.465.262-.076 0-.232-.032-.465-.262-.238-.234-.497-.623-.737-1.182-.434-1.012-.738-2.433-.79-4.056h3.984c-.052 1.623-.356 3.043-.79 4.056-.24.56-.5.948-.737 1.182zM8.992 6.5H5.008c.052-1.623.356-3.044.79-4.056.24-.56.5-.948.737-1.182C6.768 1.032 6.924 1 7 1c.076 0 .232.032.465.262.238.234.497.623.737 1.182.434 1.012.738 2.433.79 4.056zm1 1c-.065 2.176-.558 4.078-1.282 5.253A6.005 6.005 0 0012.98 7.5H9.992zm2.987-1H9.992c-.065-2.176-.558-4.078-1.282-5.253A6.005 6.005 0 0112.98 6.5zm-8.971 0c.065-2.176.558-4.078 1.282-5.253A6.005 6.005 0 001.02 6.5h2.988zm-2.987 1a6.005 6.005 0 004.27 5.253C4.565 11.578 4.072 9.676 4.007 7.5H1.02z",fill:e}))),CA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.087 3.397L5.95 5.793a.374.374 0 00-.109.095.377.377 0 00-.036.052l-2.407 4.147a.374.374 0 00-.004.384c.104.179.334.24.513.136l4.142-2.404a.373.373 0 00.148-.143l2.406-4.146a.373.373 0 00-.037-.443.373.373 0 00-.478-.074zM4.75 9.25l2.847-1.652-1.195-1.195L4.75 9.25z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),xA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm6.5 3.5v2.48A6.001 6.001 0 011.02 7.5H3.5a.5.5 0 000-1H1.02A6.001 6.001 0 016.5 1.02V3.5a.5.5 0 001 0V1.02a6.001 6.001 0 015.48 5.48H10.5a.5.5 0 000 1h2.48a6.002 6.002 0 01-5.48 5.48V10.5a.5.5 0 00-1 0z",fill:e}))),FA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 5a2 2 0 11-4 0 2 2 0 014 0zM8 5a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5A5 5 0 002 5c0 2.633 2.273 6.154 4.65 8.643.192.2.508.2.7 0C9.726 11.153 12 7.633 12 5zM7 1a4 4 0 014 4c0 1.062-.471 2.42-1.303 3.88-.729 1.282-1.69 2.562-2.697 3.67-1.008-1.108-1.968-2.388-2.697-3.67C3.47 7.42 3 6.063 3 5a4 4 0 014-4z",fill:e}))),SA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7 2a.5.5 0 01.5.5v4H10a.5.5 0 010 1H7a.5.5 0 01-.5-.5V2.5A.5.5 0 017 2z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),AA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M9.79 4.093a.5.5 0 01.117.698L7.91 7.586a1 1 0 11-.814-.581l1.997-2.796a.5.5 0 01.698-.116z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.069 12.968a7 7 0 119.863 0A12.962 12.962 0 007 12c-1.746 0-3.41.344-4.931.968zm9.582-1.177a6 6 0 10-9.301 0A13.98 13.98 0 017 11c1.629 0 3.194.279 4.65.791z",fill:e}))),kA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.5 4.5a.5.5 0 00-1 0v2.634a1 1 0 101 0V4.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.5A.5.5 0 016 0h2a.5.5 0 010 1h-.5v1.02a5.973 5.973 0 013.374 1.398l.772-.772a.5.5 0 01.708.708l-.772.772A6 6 0 116.5 2.02V1H6a.5.5 0 01-.5-.5zM7 3a5 5 0 100 10A5 5 0 007 3z",fill:e}))),BA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.354 1.146l5.5 5.5a.5.5 0 01-.708.708L12 7.207V12.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V9H6v3.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V7.207l-.146.147a.5.5 0 11-.708-.708l1-1 4.5-4.5a.5.5 0 01.708 0zM3 6.207V12h2V8.5a.5.5 0 01.5-.5h3a.5.5 0 01.5.5V12h2V6.207l-4-4-4 4z",fill:e}))),_A=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.213 4.094a.5.5 0 01.056-.034l5.484-2.995a.498.498 0 01.494 0L12.73 4.06a.507.507 0 01.266.389.498.498 0 01-.507.555H1.51a.5.5 0 01-.297-.91zm2.246-.09h7.082L7 2.07 3.459 4.004z",fill:e}),i.createElement("path",{d:"M4 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM11 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM5.75 5.5a.5.5 0 01.5.5v5a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM8.75 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM1.5 12.504a.5.5 0 01.5-.5h10a.5.5 0 010 1H2a.5.5 0 01-.5-.5z",fill:e}))),IA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("g",{clipPath:"url(#prefix__clip0_1107_3594)"},i.createElement("path",{d:"M11.451.537l.01 12.922h0L7.61 8.946a1.077 1.077 0 00-.73-.374L.964 8.087 11.45.537h0z",stroke:e,strokeWidth:1.077})),i.createElement("defs",null,i.createElement("clipPath",{id:"prefix__clip0_1107_3594"},i.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),RA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM2.671 11.155c.696-1.006 2.602-1.816 3.194-1.91.226-.036.232-.658.232-.658s-.665-.658-.81-1.544c-.39 0-.63-.94-.241-1.272a2.578 2.578 0 00-.012-.13c-.066-.607-.28-2.606 1.965-2.606 2.246 0 2.031 2 1.966 2.606l-.012.13c.39.331.149 1.272-.24 1.272-.146.886-.81 1.544-.81 1.544s.004.622.23.658c.593.094 2.5.904 3.195 1.91a6 6 0 10-8.657 0z",fill:e}))),zA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.275 13.16a11.388 11.388 0 005.175-1.232v-.25c0-1.566-3.237-2.994-4.104-3.132-.27-.043-.276-.783-.276-.783s.791-.783.964-1.836c.463 0 .75-1.119.286-1.513C9.34 4 9.916 1.16 6.997 1.16c-2.92 0-2.343 2.84-2.324 3.254-.463.394-.177 1.513.287 1.513.172 1.053.963 1.836.963 1.836s-.006.74-.275.783c-.858.136-4.036 1.536-4.103 3.082a11.388 11.388 0 005.73 1.532z",fill:e}))),TA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.183 11.906a10.645 10.645 0 01-1.181-.589c.062-1.439 3.02-2.74 3.818-2.868.25-.04.256-.728.256-.728s-.736-.729-.896-1.709c-.432 0-.698-1.041-.267-1.408A2.853 2.853 0 002.9 4.46c-.072-.672-.31-2.884 2.175-2.884 2.486 0 2.248 2.212 2.176 2.884-.007.062-.012.112-.014.144.432.367.165 1.408-.266 1.408-.16.98-.896 1.709-.896 1.709s.005.688.256.728c.807.129 3.82 1.457 3.82 2.915v.233a10.598 10.598 0 01-4.816 1.146c-1.441 0-2.838-.282-4.152-.837zM11.5 2.16a.5.5 0 01.5.5v1.5h1.5a.5.5 0 010 1H12v1.5a.5.5 0 01-1 0v-1.5H9.5a.5.5 0 110-1H11v-1.5a.5.5 0 01.5-.5z",fill:e}))),LA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M9.21 11.623a10.586 10.586 0 01-4.031.787A10.585 10.585 0 010 11.07c.06-1.354 2.933-2.578 3.708-2.697.243-.038.249-.685.249-.685s-.715-.685-.87-1.607c-.42 0-.679-.979-.26-1.323a2.589 2.589 0 00-.013-.136c-.07-.632-.3-2.712 2.113-2.712 2.414 0 2.183 2.08 2.113 2.712-.007.059-.012.105-.013.136.419.344.16 1.323-.259 1.323-.156.922-.87 1.607-.87 1.607s.005.647.248.685c.784.12 3.71 1.37 3.71 2.74v.22c-.212.103-.427.2-.646.29z",fill:e}),i.createElement("path",{d:"M8.81 8.417a9.643 9.643 0 00-.736-.398c.61-.42 1.396-.71 1.7-.757.167-.026.171-.471.171-.471s-.491-.471-.598-1.104c-.288 0-.466-.674-.178-.91-.001-.022-.005-.053-.01-.094-.048-.434-.206-1.864 1.453-1.864 1.66 0 1.5 1.43 1.453 1.864l-.01.094c.289.236.11.91-.178.91-.107.633-.598 1.104-.598 1.104s.004.445.171.47c.539.084 2.55.942 2.55 1.884v.628a10.604 10.604 0 01-3.302.553 2.974 2.974 0 00-.576-.879c-.375-.408-.853-.754-1.312-1.03z",fill:e}))),MA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M9.106 7.354c-.627.265-1.295.4-1.983.4a5.062 5.062 0 01-2.547-.681c.03-.688 1.443-1.31 1.824-1.37.12-.02.122-.348.122-.348s-.351-.348-.428-.816c-.206 0-.333-.498-.127-.673 0-.016-.003-.04-.007-.07C5.926 3.477 5.812 2.42 7 2.42c1.187 0 1.073 1.057 1.039 1.378l-.007.069c.207.175.08.673-.127.673-.076.468-.428.816-.428.816s.003.329.122.348c.386.06 1.825.696 1.825 1.392v.111c-.104.053-.21.102-.318.148zM3.75 11.25A.25.25 0 014 11h6a.25.25 0 110 .5H4a.25.25 0 01-.25-.25zM4 9a.25.25 0 000 .5h6a.25.25 0 100-.5H4z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 .5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v13a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5V.5zM2 13V1h10v12H2z",fill:e}))),OA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.968 8.75a.5.5 0 00-.866.5A4.498 4.498 0 007 11.5c1.666 0 3.12-.906 3.898-2.25a.5.5 0 10-.866-.5A3.498 3.498 0 017 10.5a3.498 3.498 0 01-3.032-1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),PA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),NA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.968 10.25a.5.5 0 01-.866-.5A4.498 4.498 0 017 7.5c1.666 0 3.12.906 3.898 2.25a.5.5 0 11-.866.5A3.498 3.498 0 007 8.5a3.498 3.498 0 00-3.032 1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),HA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}),i.createElement("path",{d:"M7 4.5a1 1 0 100-2 1 1 0 000 2z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),jA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM8 3.5a1 1 0 11-2 0 1 1 0 012 0zM3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}))),$A=0,VA=s(e=>e.button===$A&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,"isPlainLeftClick"),UA=s((e,t)=>{VA(e)&&(e.preventDefault(),t(e))},"cancelled"),qA=k.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{},({containsIcon:e})=>e?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}),WA=k.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:Cn(.07,e.color.secondary),"svg path:not([fill])":{fill:Cn(.07,e.color.secondary)}},"&:active":{color:Cn(.1,e.color.secondary),"svg path:not([fill])":{fill:Cn(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:r})=>{let n;return t&&(n=[e.textMutedColor,e.color.dark,e.color.darker]),r&&(n=[e.color.dark,e.color.darkest,e.textMutedColor]),n?{color:n[0],"svg path:not([fill])":{fill:n[0]},"&:hover":{color:n[1],"svg path:not([fill])":{fill:n[1]}},"&:active":{color:n[2],"svg path:not([fill])":{fill:n[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}),Tn=s(({cancel:e=!0,children:t,onClick:r=void 0,withArrow:n=!1,containsIcon:a=!1,className:o=void 0,style:l=void 0,...u})=>m.createElement(WA,{...u,onClick:r&&e?c=>UA(c,r):r,className:o},m.createElement(qA,{withArrow:n,containsIcon:a},t,n&&m.createElement(Rb,null))),"Link");k.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base==="dark"?e.color.darkest:e.color.dark}}));var Pr=[],Un=null,GA=i.lazy(async()=>{let{SyntaxHighlighter:e}=await Promise.resolve().then(()=>(Ai(),qd));return Pr.length>0&&(Pr.forEach(t=>{e.registerLanguage(...t)}),Pr=[]),Un===null&&(Un=e),{default:s(t=>m.createElement(e,{...t}),"default")}}),KA=i.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([Promise.resolve().then(()=>(Ai(),qd)),Promise.resolve().then(()=>(vC(),Y7))]);return Pr.length>0&&(Pr.forEach(r=>{e.registerLanguage(...r)}),Pr=[]),Un===null&&(Un=e),{default:s(r=>m.createElement(e,{...r,formatter:t}),"default")}}),as=s(e=>m.createElement(i.Suspense,{fallback:m.createElement("div",null)},e.format!==!1?m.createElement(KA,{...e}):m.createElement(GA,{...e})),"SyntaxHighlighter");as.registerLanguage=(...e)=>{if(Un!==null){Un.registerLanguage(...e);return}Pr.push(e)};Ai();m4();var zb={};Kn(zb,{Close:()=>MD,Content:()=>zD,Description:()=>LD,Dialog:()=>pp,DialogClose:()=>Dp,DialogContent:()=>vp,DialogDescription:()=>bp,DialogOverlay:()=>gp,DialogPortal:()=>mp,DialogTitle:()=>wp,DialogTrigger:()=>fp,Overlay:()=>RD,Portal:()=>ID,Root:()=>_D,Title:()=>TD,Trigger:()=>$k,WarningProvider:()=>Pk,createDialogScope:()=>Rk});$d();Gr();function Tb(e,t){let r=i.createContext(t),n=s(o=>{let{children:l,...u}=o,c=i.useMemo(()=>u,Object.values(u));return P.jsx(r.Provider,{value:c,children:l})},"Provider");n.displayName=e+"Provider";function a(o){let l=i.useContext(r);if(l)return l;if(t!==void 0)return t;throw new Error(`\`${o}\` must be used within \`${e}\``)}return s(a,"useContext2"),[n,a]}s(Tb,"createContext2");function Lb(e,t=[]){let r=[];function n(o,l){let u=i.createContext(l),c=r.length;r=[...r,l];let d=s(g=>{var C;let{scope:p,children:h,...v}=g,y=((C=p==null?void 0:p[e])==null?void 0:C[c])||u,b=i.useMemo(()=>v,Object.values(v));return P.jsx(y.Provider,{value:b,children:h})},"Provider");d.displayName=o+"Provider";function f(g,p){var y;let h=((y=p==null?void 0:p[e])==null?void 0:y[c])||u,v=i.useContext(h);if(v)return v;if(l!==void 0)return l;throw new Error(`\`${g}\` must be used within \`${o}\``)}return s(f,"useContext2"),[d,f]}s(n,"createContext3");let a=s(()=>{let o=r.map(l=>i.createContext(l));return s(function(l){let u=(l==null?void 0:l[e])||o;return i.useMemo(()=>({[`__scope${e}`]:{...l,[e]:u}}),[l,u])},"useScope")},"createScope");return a.scopeName=e,[n,Mb(a,...t)]}s(Lb,"createContextScope");function Mb(...e){let t=e[0];if(e.length===1)return t;let r=s(()=>{let n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return s(function(a){let o=n.reduce((l,{useScope:u,scopeName:c})=>{let d=u(a)[`__scope${c}`];return{...l,...d}},{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope");return r.scopeName=t.scopeName,r}s(Mb,"composeContextScopes");go();var YA=i.useId||(()=>{}),ZA=0;function zl(e){let[t,r]=i.useState(YA());return ar(()=>{e||r(n=>n??String(ZA++))},[e]),e||(t?`radix-${t}`:"")}s(zl,"useId");vo();function Ob({prop:e,defaultProp:t,onChange:r=s(()=>{},"onChange")}){let[n,a]=Pb({defaultProp:t,onChange:r}),o=e!==void 0,l=o?e:n,u=ke(r),c=i.useCallback(d=>{if(o){let f=typeof d=="function"?d(e):d;f!==e&&u(f)}else a(d)},[o,e,a,u]);return[l,c]}s(Ob,"useControllableState");function Pb({defaultProp:e,onChange:t}){let r=i.useState(e),[n]=r,a=i.useRef(n),o=ke(t);return i.useEffect(()=>{a.current!==n&&(o(n),a.current=n)},[n,a,o]),r}s(Pb,"useUncontrolledState");$d();mo();Gr();vo();vo();function Nb(e,t=globalThis==null?void 0:globalThis.document){let r=ke(e);i.useEffect(()=>{let n=s(a=>{a.key==="Escape"&&r(a)},"handleKeyDown");return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}s(Nb,"useEscapeKeydown");var JA="DismissableLayer",ad="dismissableLayer.update",XA="dismissableLayer.pointerDownOutside",QA="dismissableLayer.focusOutside",y2,Hb=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),jb=i.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:a,onFocusOutside:o,onInteractOutside:l,onDismiss:u,...c}=e,d=i.useContext(Hb),[f,g]=i.useState(null),p=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=i.useState({}),v=Se(t,S=>g(S)),y=Array.from(d.layers),[b]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),C=y.indexOf(b),D=f?y.indexOf(f):-1,E=d.layersWithOutsidePointerEventsDisabled.size>0,w=D>=C,x=$b(S=>{let A=S.target,B=[...d.branches].some(_=>_.contains(A));!w||B||(a==null||a(S),l==null||l(S),S.defaultPrevented||(u==null||u()))},p),F=Vb(S=>{let A=S.target;[...d.branches].some(B=>B.contains(A))||(o==null||o(S),l==null||l(S),S.defaultPrevented||(u==null||u()))},p);return Nb(S=>{D===d.layers.size-1&&(n==null||n(S),!S.defaultPrevented&&u&&(S.preventDefault(),u()))},p),i.useEffect(()=>{if(f)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(y2=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),od(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=y2)}},[f,p,r,d]),i.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),od())},[f,d]),i.useEffect(()=>{let S=s(()=>h({}),"handleUpdate");return document.addEventListener(ad,S),()=>document.removeEventListener(ad,S)},[]),P.jsx(Ae.div,{...c,ref:v,style:{pointerEvents:E?w?"auto":"none":void 0,...e.style},onFocusCapture:De(e.onFocusCapture,F.onFocusCapture),onBlurCapture:De(e.onBlurCapture,F.onBlurCapture),onPointerDownCapture:De(e.onPointerDownCapture,x.onPointerDownCapture)})});jb.displayName=JA;var ek="DismissableLayerBranch",tk=i.forwardRef((e,t)=>{let r=i.useContext(Hb),n=i.useRef(null),a=Se(t,n);return i.useEffect(()=>{let o=n.current;if(o)return r.branches.add(o),()=>{r.branches.delete(o)}},[r.branches]),P.jsx(Ae.div,{...e,ref:a})});tk.displayName=ek;function $b(e,t=globalThis==null?void 0:globalThis.document){let r=ke(e),n=i.useRef(!1),a=i.useRef(()=>{});return i.useEffect(()=>{let o=s(u=>{if(u.target&&!n.current){let c=s(function(){sp(XA,r,d,{discrete:!0})},"handleAndDispatchPointerDownOutsideEvent2"),d={originalEvent:u};u.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=c,t.addEventListener("click",a.current,{once:!0})):c()}else t.removeEventListener("click",a.current);n.current=!1},"handlePointerDown"),l=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",o),t.removeEventListener("click",a.current)}},[t,r]),{onPointerDownCapture:s(()=>n.current=!0,"onPointerDownCapture")}}s($b,"usePointerDownOutside");function Vb(e,t=globalThis==null?void 0:globalThis.document){let r=ke(e),n=i.useRef(!1);return i.useEffect(()=>{let a=s(o=>{o.target&&!n.current&&sp(QA,r,{originalEvent:o},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,r]),{onFocusCapture:s(()=>n.current=!0,"onFocusCapture"),onBlurCapture:s(()=>n.current=!1,"onBlurCapture")}}s(Vb,"useFocusOutside");function od(){let e=new CustomEvent(ad);document.dispatchEvent(e)}s(od,"dispatchUpdate");function sp(e,t,r,{discrete:n}){let a=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),n?y4(a,o):a.dispatchEvent(o)}s(sp,"handleAndDispatchCustomEvent");Gr();mo();vo();var Fc="focusScope.autoFocusOnMount",Sc="focusScope.autoFocusOnUnmount",w2={bubbles:!1,cancelable:!0},rk="FocusScope",Ub=i.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:a,onUnmountAutoFocus:o,...l}=e,[u,c]=i.useState(null),d=ke(a),f=ke(o),g=i.useRef(null),p=Se(t,y=>c(y)),h=i.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;i.useEffect(()=>{if(n){let y=s(function(E){if(h.paused||!u)return;let w=E.target;u.contains(w)?g.current=w:Ht(g.current,{select:!0})},"handleFocusIn2"),b=s(function(E){if(h.paused||!u)return;let w=E.relatedTarget;w!==null&&(u.contains(w)||Ht(g.current,{select:!0}))},"handleFocusOut2"),C=s(function(E){if(document.activeElement===document.body)for(let w of E)w.removedNodes.length>0&&Ht(u)},"handleMutations2");document.addEventListener("focusin",y),document.addEventListener("focusout",b);let D=new MutationObserver(C);return u&&D.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",y),document.removeEventListener("focusout",b),D.disconnect()}}},[n,u,h.paused]),i.useEffect(()=>{if(u){b2.add(h);let y=document.activeElement;if(!u.contains(y)){let b=new CustomEvent(Fc,w2);u.addEventListener(Fc,d),u.dispatchEvent(b),b.defaultPrevented||(qb(Zb(up(u)),{select:!0}),document.activeElement===y&&Ht(u))}return()=>{u.removeEventListener(Fc,d),setTimeout(()=>{let b=new CustomEvent(Sc,w2);u.addEventListener(Sc,f),u.dispatchEvent(b),b.defaultPrevented||Ht(y??document.body,{select:!0}),u.removeEventListener(Sc,f),b2.remove(h)},0)}}},[u,d,f,h]);let v=i.useCallback(y=>{if(!r&&!n||h.paused)return;let b=y.key==="Tab"&&!y.altKey&&!y.ctrlKey&&!y.metaKey,C=document.activeElement;if(b&&C){let D=y.currentTarget,[E,w]=Wb(D);E&&w?!y.shiftKey&&C===w?(y.preventDefault(),r&&Ht(E,{select:!0})):y.shiftKey&&C===E&&(y.preventDefault(),r&&Ht(w,{select:!0})):C===D&&y.preventDefault()}},[r,n,h.paused]);return P.jsx(Ae.div,{tabIndex:-1,...l,ref:p,onKeyDown:v})});Ub.displayName=rk;function qb(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(Ht(n,{select:t}),document.activeElement!==r)return}s(qb,"focusFirst");function Wb(e){let t=up(e),r=ld(t,e),n=ld(t.reverse(),e);return[r,n]}s(Wb,"getTabbableEdges");function up(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:s(n=>{let a=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||a?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;r.nextNode();)t.push(r.currentNode);return t}s(up,"getTabbableCandidates");function ld(e,t){for(let r of e)if(!Gb(r,{upTo:t}))return r}s(ld,"findVisible");function Gb(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}s(Gb,"isHidden");function Kb(e){return e instanceof HTMLInputElement&&"select"in e}s(Kb,"isSelectableInput");function Ht(e,{select:t=!1}={}){if(e&&e.focus){let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&Kb(e)&&t&&e.select()}}s(Ht,"focus");var b2=Yb();function Yb(){let e=[];return{add(t){let r=e[0];t!==r&&(r==null||r.pause()),e=id(e,t),e.unshift(t)},remove(t){var r;e=id(e,t),(r=e[0])==null||r.resume()}}}s(Yb,"createFocusScopesStack");function id(e,t){let r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}s(id,"arrayRemove");function Zb(e){return e.filter(t=>t.tagName!=="A")}s(Zb,"removeLinks");mo();go();var nk="Portal",Jb=i.forwardRef((e,t)=>{var u;let{container:r,...n}=e,[a,o]=i.useState(!1);ar(()=>o(!0),[]);let l=r||a&&((u=globalThis==null?void 0:globalThis.document)==null?void 0:u.body);return l?yv.createPortal(P.jsx(Ae.div,{...n,ref:t}),l):null});Jb.displayName=nk;Gr();go();function Xb(e,t){return i.useReducer((r,n)=>t[r][n]??r,e)}s(Xb,"useStateMachine");var os=s(e=>{let{present:t,children:r}=e,n=Qb(t),a=typeof r=="function"?r({present:n.isPresent}):i.Children.only(r),o=Se(n.ref,eD(a));return typeof r=="function"||n.isPresent?i.cloneElement(a,{ref:o}):null},"Presence");os.displayName="Presence";function Qb(e){let[t,r]=i.useState(),n=i.useRef({}),a=i.useRef(e),o=i.useRef("none"),l=e?"mounted":"unmounted",[u,c]=Xb(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{let d=Na(n.current);o.current=u==="mounted"?d:"none"},[u]),ar(()=>{let d=n.current,f=a.current;if(f!==e){let g=o.current,p=Na(d);e?c("MOUNT"):p==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(f&&g!==p?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,c]),ar(()=>{if(t){let d,f=t.ownerDocument.defaultView??window,g=s(h=>{let v=Na(n.current).includes(h.animationName);if(h.target===t&&v&&(c("ANIMATION_END"),!a.current)){let y=t.style.animationFillMode;t.style.animationFillMode="forwards",d=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=y)})}},"handleAnimationEnd"),p=s(h=>{h.target===t&&(o.current=Na(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",g),t.addEventListener("animationend",g),()=>{f.clearTimeout(d),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",g),t.removeEventListener("animationend",g)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:i.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}s(Qb,"usePresence");function Na(e){return(e==null?void 0:e.animationName)||"none"}s(Na,"getAnimationName");function eD(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}s(eD,"getElementRef");mo();var Ac=0;function tD(){i.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??sd()),document.body.insertAdjacentElement("beforeend",e[1]??sd()),Ac++,()=>{Ac===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Ac--}},[])}s(tD,"useFocusGuards");function sd(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}s(sd,"createFocusGuard");var bt=s(function(){return bt=Object.assign||s(function(e){for(var t,r=1,n=arguments.length;r"u")return uk;var t=ck(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},"getGapWidth"),pk=hD(),Ln="data-scroll-locked",fk=s(function(e,t,r,n){var a=e.left,o=e.top,l=e.right,u=e.gap;return r===void 0&&(r="margin"),` .`.concat(ak,` { overflow: hidden `).concat(n,`; - padding-right: `).concat(s,"px ").concat(n,`; + padding-right: `).concat(u,"px ").concat(n,`; } body[`).concat(Ln,`] { overflow: hidden `).concat(n,`; @@ -252,16 +252,16 @@ To pass a single animation please supply them in simple values, e.g. animation(' padding-right: `).concat(l,`px; margin-left:0; margin-top:0; - margin-right: `).concat(s,"px ").concat(n,`; - `),r==="padding"&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),` + margin-right: `).concat(u,"px ").concat(n,`; + `),r==="padding"&&"padding-right: ".concat(u,"px ").concat(n,";")].filter(Boolean).join(""),` } .`).concat(Tl,` { - right: `).concat(s,"px ").concat(n,`; + right: `).concat(u,"px ").concat(n,`; } .`).concat(Ll,` { - margin-right: `).concat(s,"px ").concat(n,`; + margin-right: `).concat(u,"px ").concat(n,`; } .`).concat(Tl," .").concat(Tl,` { @@ -273,18 +273,18 @@ To pass a single animation please supply them in simple values, e.g. animation(' } body[`).concat(Ln,`] { - `).concat(ok,": ").concat(s,`px; + `).concat(ok,": ").concat(u,`px; } -`)},"getStyles"),E2=u(function(){var e=parseInt(document.body.getAttribute(Ln)||"0",10);return isFinite(e)?e:0},"getCurrentUseCounter"),hk=u(function(){i.useEffect(function(){return document.body.setAttribute(Ln,(E2()+1).toString()),function(){var e=E2()-1;e<=0?document.body.removeAttribute(Ln):document.body.setAttribute(Ln,e.toString())}},[])},"useLockAttribute"),mk=u(function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,a=n===void 0?"margin":n;hk();var o=i.useMemo(function(){return dk(a)},[a]);return i.createElement(pk,{styles:fk(o,!t,a,r?"":"!important")})},"RemoveScrollBar"),sd=!1;if(typeof window<"u")try{xa=Object.defineProperty({},"passive",{get:u(function(){return sd=!0,!0},"get")}),window.addEventListener("test",xa,xa),window.removeEventListener("test",xa,xa)}catch{sd=!1}var xa,pn=sd?{passive:!1}:!1,gk=u(function(e){return e.tagName==="TEXTAREA"},"alwaysContainsScroll"),mD=u(function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!gk(e)&&r[t]==="visible")},"elementCanBeScrolled"),vk=u(function(e){return mD(e,"overflowY")},"elementCouldBeVScrolled"),yk=u(function(e){return mD(e,"overflowX")},"elementCouldBeHScrolled"),C2=u(function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var a=gD(e,n);if(a){var o=vD(e,n),l=o[1],s=o[2];if(l>s)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},"locationCouldBeScrolled"),wk=u(function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},"getVScrollVariables"),bk=u(function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},"getHScrollVariables"),gD=u(function(e,t){return e==="v"?vk(t):yk(t)},"elementCouldBeScrolled"),vD=u(function(e,t){return e==="v"?wk(t):bk(t)},"getScrollVariables"),Dk=u(function(e,t){return e==="h"&&t==="rtl"?-1:1},"getDirectionFactor"),Ek=u(function(e,t,r,n,a){var o=Dk(e,window.getComputedStyle(t).direction),l=o*n,s=r.target,c=t.contains(s),d=!1,f=l>0,g=0,p=0;do{var h=vD(e,s),v=h[0],y=h[1],b=h[2],C=y-b-o*v;(v||C)&&gD(e,s)&&(g+=C,p+=v),s instanceof ShadowRoot?s=s.host:s=s.parentNode}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(f&&(a&&Math.abs(g)<1||!a&&l>g)||!f&&(a&&Math.abs(p)<1||!a&&-l>p))&&(d=!0),d},"handleScroll"),dl=u(function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},"getTouchXY"),x2=u(function(e){return[e.deltaX,e.deltaY]},"getDeltaXY"),F2=u(function(e){return e&&"current"in e?e.current:e},"extractRef"),Ck=u(function(e,t){return e[0]===t[0]&&e[1]===t[1]},"deltaCompare"),xk=u(function(e){return` +`)},"getStyles"),E2=s(function(){var e=parseInt(document.body.getAttribute(Ln)||"0",10);return isFinite(e)?e:0},"getCurrentUseCounter"),hk=s(function(){i.useEffect(function(){return document.body.setAttribute(Ln,(E2()+1).toString()),function(){var e=E2()-1;e<=0?document.body.removeAttribute(Ln):document.body.setAttribute(Ln,e.toString())}},[])},"useLockAttribute"),mk=s(function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,a=n===void 0?"margin":n;hk();var o=i.useMemo(function(){return dk(a)},[a]);return i.createElement(pk,{styles:fk(o,!t,a,r?"":"!important")})},"RemoveScrollBar"),ud=!1;if(typeof window<"u")try{xa=Object.defineProperty({},"passive",{get:s(function(){return ud=!0,!0},"get")}),window.addEventListener("test",xa,xa),window.removeEventListener("test",xa,xa)}catch{ud=!1}var xa,pn=ud?{passive:!1}:!1,gk=s(function(e){return e.tagName==="TEXTAREA"},"alwaysContainsScroll"),mD=s(function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!gk(e)&&r[t]==="visible")},"elementCanBeScrolled"),vk=s(function(e){return mD(e,"overflowY")},"elementCouldBeVScrolled"),yk=s(function(e){return mD(e,"overflowX")},"elementCouldBeHScrolled"),C2=s(function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var a=gD(e,n);if(a){var o=vD(e,n),l=o[1],u=o[2];if(l>u)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},"locationCouldBeScrolled"),wk=s(function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},"getVScrollVariables"),bk=s(function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},"getHScrollVariables"),gD=s(function(e,t){return e==="v"?vk(t):yk(t)},"elementCouldBeScrolled"),vD=s(function(e,t){return e==="v"?wk(t):bk(t)},"getScrollVariables"),Dk=s(function(e,t){return e==="h"&&t==="rtl"?-1:1},"getDirectionFactor"),Ek=s(function(e,t,r,n,a){var o=Dk(e,window.getComputedStyle(t).direction),l=o*n,u=r.target,c=t.contains(u),d=!1,f=l>0,g=0,p=0;do{var h=vD(e,u),v=h[0],y=h[1],b=h[2],C=y-b-o*v;(v||C)&&gD(e,u)&&(g+=C,p+=v),u instanceof ShadowRoot?u=u.host:u=u.parentNode}while(!c&&u!==document.body||c&&(t.contains(u)||t===u));return(f&&(a&&Math.abs(g)<1||!a&&l>g)||!f&&(a&&Math.abs(p)<1||!a&&-l>p))&&(d=!0),d},"handleScroll"),dl=s(function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},"getTouchXY"),x2=s(function(e){return[e.deltaX,e.deltaY]},"getDeltaXY"),F2=s(function(e){return e&&"current"in e?e.current:e},"extractRef"),Ck=s(function(e,t){return e[0]===t[0]&&e[1]===t[1]},"deltaCompare"),xk=s(function(e){return` .block-interactivity-`.concat(e,` {pointer-events: none;} .allow-interactivity-`).concat(e,` {pointer-events: all;} -`)},"generateStyle"),Fk=0,fn=[];function yD(e){var t=i.useRef([]),r=i.useRef([0,0]),n=i.useRef(),a=i.useState(Fk++)[0],o=i.useState(hD)[0],l=i.useRef(e);i.useEffect(function(){l.current=e},[e]),i.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var y=rD([e.lockRef.current],(e.shards||[]).map(F2),!0).filter(Boolean);return y.forEach(function(b){return b.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),y.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var s=i.useCallback(function(y,b){if("touches"in y&&y.touches.length===2||y.type==="wheel"&&y.ctrlKey)return!l.current.allowPinchZoom;var C=dl(y),D=r.current,E="deltaX"in y?y.deltaX:D[0]-C[0],w="deltaY"in y?y.deltaY:D[1]-C[1],x,F=y.target,S=Math.abs(E)>Math.abs(w)?"h":"v";if("touches"in y&&S==="h"&&F.type==="range")return!1;var A=C2(S,F);if(!A)return!0;if(A?x=S:(x=S==="v"?"h":"v",A=C2(S,F)),!A)return!1;if(!n.current&&"changedTouches"in y&&(E||w)&&(n.current=x),!x)return!0;var B=n.current||x;return Ek(B,b,y,B==="h"?E:w,!0)},[]),c=i.useCallback(function(y){var b=y;if(!(!fn.length||fn[fn.length-1]!==o)){var C="deltaY"in b?x2(b):dl(b),D=t.current.filter(function(x){return x.name===b.type&&(x.target===b.target||b.target===x.shadowParent)&&Ck(x.delta,C)})[0];if(D&&D.should){b.cancelable&&b.preventDefault();return}if(!D){var E=(l.current.shards||[]).map(F2).filter(Boolean).filter(function(x){return x.contains(b.target)}),w=E.length>0?s(b,E[0]):!l.current.noIsolation;w&&b.cancelable&&b.preventDefault()}}},[]),d=i.useCallback(function(y,b,C,D){var E={name:y,delta:b,target:C,should:D,shadowParent:wD(C)};t.current.push(E),setTimeout(function(){t.current=t.current.filter(function(w){return w!==E})},1)},[]),f=i.useCallback(function(y){r.current=dl(y),n.current=void 0},[]),g=i.useCallback(function(y){d(y.type,x2(y),y.target,s(y,e.lockRef.current))},[]),p=i.useCallback(function(y){d(y.type,dl(y),y.target,s(y,e.lockRef.current))},[]);i.useEffect(function(){return fn.push(o),e.setCallbacks({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:p}),document.addEventListener("wheel",c,pn),document.addEventListener("touchmove",c,pn),document.addEventListener("touchstart",f,pn),function(){fn=fn.filter(function(y){return y!==o}),document.removeEventListener("wheel",c,pn),document.removeEventListener("touchmove",c,pn),document.removeEventListener("touchstart",f,pn)}},[]);var h=e.removeScrollBar,v=e.inert;return i.createElement(i.Fragment,null,v?i.createElement(o,{styles:xk(a)}):null,h?i.createElement(mk,{gapMode:e.gapMode}):null)}u(yD,"RemoveScrollSideCar");function wD(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}u(wD,"getOutermostShadowParent");var Sk=sD(cD,yD),bD=i.forwardRef(function(e,t){return i.createElement(lu,bt({},e,{ref:t,sideCar:Sk}))});bD.classNames=lu.classNames;var Ak=bD,kk=u(function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},"getDefaultParent"),hn=new WeakMap,pl=new WeakMap,fl={},_c=0,DD=u(function(e){return e&&(e.host||DD(e.parentNode))},"unwrapHost"),Bk=u(function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=DD(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},"correctTargets"),_k=u(function(e,t,r,n){var a=Bk(t,Array.isArray(e)?e:[e]);fl[r]||(fl[r]=new WeakMap);var o=fl[r],l=[],s=new Set,c=new Set(a),d=u(function(g){!g||s.has(g)||(s.add(g),d(g.parentNode))},"keep");a.forEach(d);var f=u(function(g){!g||c.has(g)||Array.prototype.forEach.call(g.children,function(p){if(s.has(p))f(p);else{var h=p.getAttribute(n),v=h!==null&&h!=="false",y=(hn.get(p)||0)+1,b=(o.get(p)||0)+1;hn.set(p,y),o.set(p,b),l.push(p),y===1&&v&&pl.set(p,!0),b===1&&p.setAttribute(r,"true"),v||p.setAttribute(n,"true")}})},"deep");return f(t),s.clear(),_c++,function(){l.forEach(function(g){var p=hn.get(g)-1,h=o.get(g)-1;hn.set(g,p),o.set(g,h),p||(pl.has(g)||g.removeAttribute(n),pl.delete(g)),h||g.removeAttribute(r)}),_c--,_c||(hn=new WeakMap,hn=new WeakMap,pl=new WeakMap,fl={})}},"applyAttributeToOthers"),Ik=u(function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),a=t||kk(e);return a?(n.push.apply(n,Array.from(a.querySelectorAll("[aria-live]"))),_k(n,a,r,"aria-hidden")):function(){return null}},"hideOthers");jd();var dp="Dialog",[ED,Rk]=Lb(dp),[zk,st]=ED(dp),pp=u(e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:a,onOpenChange:o,modal:l=!0}=e,s=i.useRef(null),c=i.useRef(null),[d=!1,f]=Ob({prop:n,defaultProp:a,onChange:o});return P.jsx(zk,{scope:t,triggerRef:s,contentRef:c,contentId:zl(),titleId:zl(),descriptionId:zl(),open:d,onOpenChange:f,onOpenToggle:i.useCallback(()=>f(g=>!g),[f]),modal:l,children:r})},"Dialog");pp.displayName=dp;var CD="DialogTrigger",fp=i.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=st(CD,r),o=Se(t,a.triggerRef);return P.jsx(Ae.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":iu(a.open),...n,ref:o,onClick:De(e.onClick,a.onOpenToggle)})});fp.displayName=CD;var hp="DialogPortal",[Tk,xD]=ED(hp,{forceMount:void 0}),mp=u(e=>{let{__scopeDialog:t,forceMount:r,children:n,container:a}=e,o=st(hp,t);return P.jsx(Tk,{scope:t,forceMount:r,children:i.Children.map(n,l=>P.jsx(ou,{present:r||o.open,children:P.jsx(Jb,{asChild:!0,container:a,children:l})}))})},"DialogPortal");mp.displayName=hp;var vi="DialogOverlay",gp=i.forwardRef((e,t)=>{let r=xD(vi,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=st(vi,e.__scopeDialog);return o.modal?P.jsx(ou,{present:n||o.open,children:P.jsx(Lk,{...a,ref:t})}):null});gp.displayName=vi;var Lk=i.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=st(vi,r);return P.jsx(Ak,{as:Za,allowPinchZoom:!0,shards:[a.contentRef],children:P.jsx(Ae.div,{"data-state":iu(a.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),qr="DialogContent",vp=i.forwardRef((e,t)=>{let r=xD(qr,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=st(qr,e.__scopeDialog);return P.jsx(ou,{present:n||o.open,children:o.modal?P.jsx(Mk,{...a,ref:t}):P.jsx(Ok,{...a,ref:t})})});vp.displayName=qr;var Mk=i.forwardRef((e,t)=>{let r=st(qr,e.__scopeDialog),n=i.useRef(null),a=Se(t,r.contentRef,n);return i.useEffect(()=>{let o=n.current;if(o)return Ik(o)},[]),P.jsx(FD,{...e,ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:De(e.onCloseAutoFocus,o=>{var l;o.preventDefault(),(l=r.triggerRef.current)==null||l.focus()}),onPointerDownOutside:De(e.onPointerDownOutside,o=>{let l=o.detail.originalEvent,s=l.button===0&&l.ctrlKey===!0;(l.button===2||s)&&o.preventDefault()}),onFocusOutside:De(e.onFocusOutside,o=>o.preventDefault())})}),Ok=i.forwardRef((e,t)=>{let r=st(qr,e.__scopeDialog),n=i.useRef(!1),a=i.useRef(!1);return P.jsx(FD,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:u(o=>{var l,s;(l=e.onCloseAutoFocus)==null||l.call(e,o),o.defaultPrevented||(n.current||((s=r.triggerRef.current)==null||s.focus()),o.preventDefault()),n.current=!1,a.current=!1},"onCloseAutoFocus"),onInteractOutside:u(o=>{var s,c;(s=e.onInteractOutside)==null||s.call(e,o),o.defaultPrevented||(n.current=!0,o.detail.originalEvent.type==="pointerdown"&&(a.current=!0));let l=o.target;(c=r.triggerRef.current)!=null&&c.contains(l)&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&a.current&&o.preventDefault()},"onInteractOutside")})}),FD=i.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:o,...l}=e,s=st(qr,r),c=i.useRef(null),d=Se(t,c);return tD(),P.jsxs(P.Fragment,{children:[P.jsx(Ub,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:o,children:P.jsx(jb,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":iu(s.open),...l,ref:d,onDismiss:u(()=>s.onOpenChange(!1),"onDismiss")})}),P.jsxs(P.Fragment,{children:[P.jsx(Nk,{titleId:s.titleId}),P.jsx(jk,{contentRef:c,descriptionId:s.descriptionId})]})]})}),yp="DialogTitle",wp=i.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=st(yp,r);return P.jsx(Ae.h2,{id:a.titleId,...n,ref:t})});wp.displayName=yp;var SD="DialogDescription",bp=i.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=st(SD,r);return P.jsx(Ae.p,{id:a.descriptionId,...n,ref:t})});bp.displayName=SD;var AD="DialogClose",Dp=i.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=st(AD,r);return P.jsx(Ae.button,{type:"button",...n,ref:t,onClick:De(e.onClick,()=>a.onOpenChange(!1))})});Dp.displayName=AD;function iu(e){return e?"open":"closed"}u(iu,"getState");var kD="DialogTitleWarning",[Pk,BD]=Tb(kD,{contentName:qr,titleName:yp,docsSlug:"dialog"}),Nk=u(({titleId:e})=>{let t=BD(kD),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. +`)},"generateStyle"),Fk=0,fn=[];function yD(e){var t=i.useRef([]),r=i.useRef([0,0]),n=i.useRef(),a=i.useState(Fk++)[0],o=i.useState(hD)[0],l=i.useRef(e);i.useEffect(function(){l.current=e},[e]),i.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var y=rD([e.lockRef.current],(e.shards||[]).map(F2),!0).filter(Boolean);return y.forEach(function(b){return b.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),y.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var u=i.useCallback(function(y,b){if("touches"in y&&y.touches.length===2||y.type==="wheel"&&y.ctrlKey)return!l.current.allowPinchZoom;var C=dl(y),D=r.current,E="deltaX"in y?y.deltaX:D[0]-C[0],w="deltaY"in y?y.deltaY:D[1]-C[1],x,F=y.target,S=Math.abs(E)>Math.abs(w)?"h":"v";if("touches"in y&&S==="h"&&F.type==="range")return!1;var A=C2(S,F);if(!A)return!0;if(A?x=S:(x=S==="v"?"h":"v",A=C2(S,F)),!A)return!1;if(!n.current&&"changedTouches"in y&&(E||w)&&(n.current=x),!x)return!0;var B=n.current||x;return Ek(B,b,y,B==="h"?E:w,!0)},[]),c=i.useCallback(function(y){var b=y;if(!(!fn.length||fn[fn.length-1]!==o)){var C="deltaY"in b?x2(b):dl(b),D=t.current.filter(function(x){return x.name===b.type&&(x.target===b.target||b.target===x.shadowParent)&&Ck(x.delta,C)})[0];if(D&&D.should){b.cancelable&&b.preventDefault();return}if(!D){var E=(l.current.shards||[]).map(F2).filter(Boolean).filter(function(x){return x.contains(b.target)}),w=E.length>0?u(b,E[0]):!l.current.noIsolation;w&&b.cancelable&&b.preventDefault()}}},[]),d=i.useCallback(function(y,b,C,D){var E={name:y,delta:b,target:C,should:D,shadowParent:wD(C)};t.current.push(E),setTimeout(function(){t.current=t.current.filter(function(w){return w!==E})},1)},[]),f=i.useCallback(function(y){r.current=dl(y),n.current=void 0},[]),g=i.useCallback(function(y){d(y.type,x2(y),y.target,u(y,e.lockRef.current))},[]),p=i.useCallback(function(y){d(y.type,dl(y),y.target,u(y,e.lockRef.current))},[]);i.useEffect(function(){return fn.push(o),e.setCallbacks({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:p}),document.addEventListener("wheel",c,pn),document.addEventListener("touchmove",c,pn),document.addEventListener("touchstart",f,pn),function(){fn=fn.filter(function(y){return y!==o}),document.removeEventListener("wheel",c,pn),document.removeEventListener("touchmove",c,pn),document.removeEventListener("touchstart",f,pn)}},[]);var h=e.removeScrollBar,v=e.inert;return i.createElement(i.Fragment,null,v?i.createElement(o,{styles:xk(a)}):null,h?i.createElement(mk,{gapMode:e.gapMode}):null)}s(yD,"RemoveScrollSideCar");function wD(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}s(wD,"getOutermostShadowParent");var Sk=uD(cD,yD),bD=i.forwardRef(function(e,t){return i.createElement(ls,bt({},e,{ref:t,sideCar:Sk}))});bD.classNames=ls.classNames;var Ak=bD,kk=s(function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},"getDefaultParent"),hn=new WeakMap,pl=new WeakMap,fl={},_c=0,DD=s(function(e){return e&&(e.host||DD(e.parentNode))},"unwrapHost"),Bk=s(function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=DD(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},"correctTargets"),_k=s(function(e,t,r,n){var a=Bk(t,Array.isArray(e)?e:[e]);fl[r]||(fl[r]=new WeakMap);var o=fl[r],l=[],u=new Set,c=new Set(a),d=s(function(g){!g||u.has(g)||(u.add(g),d(g.parentNode))},"keep");a.forEach(d);var f=s(function(g){!g||c.has(g)||Array.prototype.forEach.call(g.children,function(p){if(u.has(p))f(p);else{var h=p.getAttribute(n),v=h!==null&&h!=="false",y=(hn.get(p)||0)+1,b=(o.get(p)||0)+1;hn.set(p,y),o.set(p,b),l.push(p),y===1&&v&&pl.set(p,!0),b===1&&p.setAttribute(r,"true"),v||p.setAttribute(n,"true")}})},"deep");return f(t),u.clear(),_c++,function(){l.forEach(function(g){var p=hn.get(g)-1,h=o.get(g)-1;hn.set(g,p),o.set(g,h),p||(pl.has(g)||g.removeAttribute(n),pl.delete(g)),h||g.removeAttribute(r)}),_c--,_c||(hn=new WeakMap,hn=new WeakMap,pl=new WeakMap,fl={})}},"applyAttributeToOthers"),Ik=s(function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),a=t||kk(e);return a?(n.push.apply(n,Array.from(a.querySelectorAll("[aria-live]"))),_k(n,a,r,"aria-hidden")):function(){return null}},"hideOthers");jd();var dp="Dialog",[ED,Rk]=Lb(dp),[zk,ut]=ED(dp),pp=s(e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:a,onOpenChange:o,modal:l=!0}=e,u=i.useRef(null),c=i.useRef(null),[d=!1,f]=Ob({prop:n,defaultProp:a,onChange:o});return P.jsx(zk,{scope:t,triggerRef:u,contentRef:c,contentId:zl(),titleId:zl(),descriptionId:zl(),open:d,onOpenChange:f,onOpenToggle:i.useCallback(()=>f(g=>!g),[f]),modal:l,children:r})},"Dialog");pp.displayName=dp;var CD="DialogTrigger",fp=i.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=ut(CD,r),o=Se(t,a.triggerRef);return P.jsx(Ae.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":is(a.open),...n,ref:o,onClick:De(e.onClick,a.onOpenToggle)})});fp.displayName=CD;var hp="DialogPortal",[Tk,xD]=ED(hp,{forceMount:void 0}),mp=s(e=>{let{__scopeDialog:t,forceMount:r,children:n,container:a}=e,o=ut(hp,t);return P.jsx(Tk,{scope:t,forceMount:r,children:i.Children.map(n,l=>P.jsx(os,{present:r||o.open,children:P.jsx(Jb,{asChild:!0,container:a,children:l})}))})},"DialogPortal");mp.displayName=hp;var vi="DialogOverlay",gp=i.forwardRef((e,t)=>{let r=xD(vi,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=ut(vi,e.__scopeDialog);return o.modal?P.jsx(os,{present:n||o.open,children:P.jsx(Lk,{...a,ref:t})}):null});gp.displayName=vi;var Lk=i.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=ut(vi,r);return P.jsx(Ak,{as:Za,allowPinchZoom:!0,shards:[a.contentRef],children:P.jsx(Ae.div,{"data-state":is(a.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),qr="DialogContent",vp=i.forwardRef((e,t)=>{let r=xD(qr,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=ut(qr,e.__scopeDialog);return P.jsx(os,{present:n||o.open,children:o.modal?P.jsx(Mk,{...a,ref:t}):P.jsx(Ok,{...a,ref:t})})});vp.displayName=qr;var Mk=i.forwardRef((e,t)=>{let r=ut(qr,e.__scopeDialog),n=i.useRef(null),a=Se(t,r.contentRef,n);return i.useEffect(()=>{let o=n.current;if(o)return Ik(o)},[]),P.jsx(FD,{...e,ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:De(e.onCloseAutoFocus,o=>{var l;o.preventDefault(),(l=r.triggerRef.current)==null||l.focus()}),onPointerDownOutside:De(e.onPointerDownOutside,o=>{let l=o.detail.originalEvent,u=l.button===0&&l.ctrlKey===!0;(l.button===2||u)&&o.preventDefault()}),onFocusOutside:De(e.onFocusOutside,o=>o.preventDefault())})}),Ok=i.forwardRef((e,t)=>{let r=ut(qr,e.__scopeDialog),n=i.useRef(!1),a=i.useRef(!1);return P.jsx(FD,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s(o=>{var l,u;(l=e.onCloseAutoFocus)==null||l.call(e,o),o.defaultPrevented||(n.current||((u=r.triggerRef.current)==null||u.focus()),o.preventDefault()),n.current=!1,a.current=!1},"onCloseAutoFocus"),onInteractOutside:s(o=>{var u,c;(u=e.onInteractOutside)==null||u.call(e,o),o.defaultPrevented||(n.current=!0,o.detail.originalEvent.type==="pointerdown"&&(a.current=!0));let l=o.target;(c=r.triggerRef.current)!=null&&c.contains(l)&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&a.current&&o.preventDefault()},"onInteractOutside")})}),FD=i.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:o,...l}=e,u=ut(qr,r),c=i.useRef(null),d=Se(t,c);return tD(),P.jsxs(P.Fragment,{children:[P.jsx(Ub,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:o,children:P.jsx(jb,{role:"dialog",id:u.contentId,"aria-describedby":u.descriptionId,"aria-labelledby":u.titleId,"data-state":is(u.open),...l,ref:d,onDismiss:s(()=>u.onOpenChange(!1),"onDismiss")})}),P.jsxs(P.Fragment,{children:[P.jsx(Nk,{titleId:u.titleId}),P.jsx(jk,{contentRef:c,descriptionId:u.descriptionId})]})]})}),yp="DialogTitle",wp=i.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=ut(yp,r);return P.jsx(Ae.h2,{id:a.titleId,...n,ref:t})});wp.displayName=yp;var SD="DialogDescription",bp=i.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=ut(SD,r);return P.jsx(Ae.p,{id:a.descriptionId,...n,ref:t})});bp.displayName=SD;var AD="DialogClose",Dp=i.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=ut(AD,r);return P.jsx(Ae.button,{type:"button",...n,ref:t,onClick:De(e.onClick,()=>a.onOpenChange(!1))})});Dp.displayName=AD;function is(e){return e?"open":"closed"}s(is,"getState");var kD="DialogTitleWarning",[Pk,BD]=Tb(kD,{contentName:qr,titleName:yp,docsSlug:"dialog"}),Nk=s(({titleId:e})=>{let t=BD(kD),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. -For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return i.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},"TitleWarning"),Hk="DialogDescriptionWarning",jk=u(({contentRef:e,descriptionId:t})=>{let r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${BD(Hk).contentName}}.`;return i.useEffect(()=>{var a;let n=(a=e.current)==null?void 0:a.getAttribute("aria-describedby");t&&n&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},"DescriptionWarning"),_D=pp,$k=fp,ID=mp,RD=gp,zD=vp,TD=wp,LD=bp,MD=Dp,OD={};Kn(OD,{Actions:()=>Jk,CloseButton:()=>jD,Col:()=>VD,Container:()=>HD,Content:()=>Gk,Description:()=>Zk,Error:()=>Xk,ErrorWrapper:()=>UD,Header:()=>Kk,Overlay:()=>ND,Row:()=>$D,Title:()=>Yk});jd();const{deprecate:Vk}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var hr=i.forwardRef(({asChild:e=!1,animation:t="none",size:r="small",variant:n="outline",padding:a="medium",disabled:o=!1,active:l=!1,onClick:s,...c},d)=>{let f="button";c.isLink&&(f="a"),e&&(f=Za);let g=n,p=r,[h,v]=i.useState(!1),y=u(b=>{s&&s(b),t!=="none"&&v(!0)},"handleClick");if(i.useEffect(()=>{let b=setTimeout(()=>{h&&v(!1)},1e3);return()=>clearTimeout(b)},[h]),c.primary&&(g="solid",p="medium"),(c.secondary||c.tertiary||c.gray||c.outline||c.inForm)&&(g="outline",p="medium"),c.small||c.isLink||c.primary||c.secondary||c.tertiary||c.gray||c.outline||c.inForm||c.containsIcon){let b=m.Children.toArray(c.children).filter(C=>typeof C=="string"&&C!=="");Vk(`Use of deprecated props in the button ${b.length>0?`"${b.join(" ")}"`:"component"} detected, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-ui-and-props-for-button-and-iconbutton-components`)}return m.createElement(Uk,{as:f,ref:d,variant:g,size:p,padding:a,disabled:o,active:l,animating:h,animation:t,onClick:y,...c})});hr.displayName="Button";var Uk=k("button",{shouldForwardProp:u(e=>m4(e),"shouldForwardProp")})(({theme:e,variant:t,size:r,disabled:n,active:a,animating:o,animation:l="none",padding:s})=>({border:0,cursor:n?"not-allowed":"pointer",display:"inline-flex",gap:"6px",alignItems:"center",justifyContent:"center",overflow:"hidden",padding:s==="none"?0:s==="small"&&r==="small"?"0 7px":s==="small"&&r==="medium"?"0 9px":r==="small"?"0 10px":r==="medium"?"0 12px":0,height:r==="small"?"28px":"32px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:n?.5:1,margin:0,fontSize:`${e.typography.size.s1}px`,fontWeight:e.typography.weight.bold,lineHeight:"1",background:t==="solid"?e.color.secondary:t==="outline"?e.button.background:t==="ghost"&&a?e.background.hoverable:"transparent",...t==="ghost"?{".sb-bar &":{background:a?tt(.9,e.barTextColor):"transparent",color:a?e.barSelectedColor:e.barTextColor,"&:hover":{color:e.barHoverColor,background:tt(.86,e.barHoverColor)},"&:active":{color:e.barSelectedColor,background:tt(.9,e.barSelectedColor)},"&:focus":{boxShadow:`${co(e.barHoverColor,1)} 0 0 0 1px inset`,outline:"none"}}}:{},color:t==="solid"?e.color.lightest:t==="outline"?e.input.color:t==="ghost"&&a?e.color.secondary:t==="ghost"?e.color.mediumdark:e.input.color,boxShadow:t==="outline"?`${e.button.border} 0 0 0 1px inset`:"none",borderRadius:e.input.borderRadius,flexShrink:0,"&:hover":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let c=e.color.secondary;return t==="solid"&&(c=e.color.secondary),t==="outline"&&(c=e.button.background),t==="ghost"?tt(.86,e.color.secondary):e.base==="light"?Cn(.02,c):v2(.03,c)})()},"&:active":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let c=e.color.secondary;return t==="solid"&&(c=e.color.secondary),t==="outline"&&(c=e.button.background),t==="ghost"?e.background.hoverable:e.base==="light"?Cn(.02,c):v2(.03,c)})()},"&:focus":{boxShadow:`${co(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"},"> svg":{animation:o&&l!=="none"?`${e.animation[l]} 1000ms ease-out`:""}})),nr=i.forwardRef(({padding:e="small",variant:t="ghost",...r},n)=>m.createElement(hr,{padding:e,variant:t,ref:n,...r}));nr.displayName="IconButton";var PD=Gn({from:{opacity:0},to:{opacity:1}}),qk=Gn({from:{maxHeight:0},to:{}}),Wk=Gn({from:{opacity:0,transform:"translate(-50%, -50%) scale(0.9)"},to:{opacity:1,transform:"translate(-50%, -50%) scale(1)"}}),ND=k.div({backdropFilter:"blur(24px)",position:"fixed",inset:0,width:"100%",height:"100%",zIndex:10,animation:`${PD} 200ms`}),HD=k.div(({theme:e,width:t,height:r})=>({backgroundColor:e.background.bar,borderRadius:6,boxShadow:"0px 4px 67px 0px #00000040",position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:t??740,height:r??"auto",maxWidth:"calc(100% - 40px)",maxHeight:"85vh",overflow:"hidden",zIndex:11,animation:`${Wk} 200ms`,"&:focus-visible":{outline:"none"}})),jD=u(e=>m.createElement(MD,{asChild:!0},m.createElement(nr,{...e},m.createElement(Ib,null))),"CloseButton"),Gk=k.div({display:"flex",flexDirection:"column",margin:16,gap:16}),$D=k.div({display:"flex",justifyContent:"space-between",gap:16}),VD=k.div({display:"flex",flexDirection:"column",gap:4}),Kk=u(e=>m.createElement($D,null,m.createElement(VD,{...e}),m.createElement(jD,null)),"Header"),Yk=k(TD)(({theme:e})=>({margin:0,fontSize:e.typography.size.s3,fontWeight:e.typography.weight.bold})),Zk=k(LD)(({theme:e})=>({position:"relative",zIndex:1,margin:0,fontSize:e.typography.size.s2})),Jk=k.div({display:"flex",flexDirection:"row-reverse",gap:8}),UD=k.div(({theme:e})=>({maxHeight:100,overflow:"auto",animation:`${qk} 300ms, ${PD} 300ms`,backgroundColor:e.background.critical,color:e.color.lightest,fontSize:e.typography.size.s2,"& > div":{position:"relative",padding:"8px 16px"}})),Xk=u(({children:e,...t})=>m.createElement(UD,{...t},m.createElement("div",null,e)),"Error");function qD({children:e,width:t,height:r,onEscapeKeyDown:n,onInteractOutside:a=u(c=>c.preventDefault(),"onInteractOutside"),className:o,container:l,...s}){return m.createElement(_D,{...s},m.createElement(ID,{container:l},m.createElement(RD,{asChild:!0},m.createElement(ND,null)),m.createElement(zD,{asChild:!0,onInteractOutside:a,onEscapeKeyDown:n},m.createElement(HD,{className:o,width:t,height:r},e))))}u(qD,"BaseModal");Object.assign(qD,OD,{Dialog:zb});k.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${$c}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${$c}`]:{marginTop:0}},({theme:e,outer:t,col:r,row:n})=>{switch(!0){case!!(t&&r):return{marginLeft:t*e.layoutMargin,marginRight:t*e.layoutMargin};case!!(t&&n):return{marginTop:t*e.layoutMargin,marginBottom:t*e.layoutMargin};default:return{}}});k.div(({theme:e})=>({fontWeight:e.typography.weight.bold}));k.div();k.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1}));Ud();function WD(e,t){var r=i.useRef(null),n=i.useRef(null);n.current=t;var a=i.useRef(null);i.useEffect(function(){o()});var o=i.useCallback(function(){var l=a.current,s=n.current,c=l||(s?s instanceof Element?s:s.current:null);r.current&&r.current.element===c&&r.current.subscriber===e||(r.current&&r.current.cleanup&&r.current.cleanup(),r.current={element:c,subscriber:e,cleanup:c?e(c):void 0})},[e]);return i.useEffect(function(){return function(){r.current&&r.current.cleanup&&(r.current.cleanup(),r.current=null)}},[]),i.useCallback(function(l){a.current=l,o()},[o])}u(WD,"useResolvedElement");function cd(e,t,r){return e[t]?e[t][0]?e[t][0][r]:e[t][r]:t==="contentBoxSize"?e.contentRect[r==="inlineSize"?"width":"height"]:void 0}u(cd,"extractSize");function Ep(e){e===void 0&&(e={});var t=e.onResize,r=i.useRef(void 0);r.current=t;var n=e.round||Math.round,a=i.useRef(),o=i.useState({width:void 0,height:void 0}),l=o[0],s=o[1],c=i.useRef(!1);i.useEffect(function(){return c.current=!1,function(){c.current=!0}},[]);var d=i.useRef({width:void 0,height:void 0}),f=WD(i.useCallback(function(g){return(!a.current||a.current.box!==e.box||a.current.round!==n)&&(a.current={box:e.box,round:n,instance:new ResizeObserver(function(p){var h=p[0],v=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",y=cd(h,v,"inlineSize"),b=cd(h,v,"blockSize"),C=y?n(y):void 0,D=b?n(b):void 0;if(d.current.width!==C||d.current.height!==D){var E={width:C,height:D};d.current.width=C,d.current.height=D,r.current?r.current(E):c.current||s(E)}})}),a.current.instance.observe(g,{box:e.box}),function(){a.current&&a.current.instance.unobserve(g)}},[e.box,n]),e.ref);return i.useMemo(function(){return{ref:f,width:l.width,height:l.height}},[f,l.width,l.height])}u(Ep,"useResizeObserver");var Qk=k.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function GD({scale:e,children:t}){let r=i.useRef(null),[n,a]=i.useState(0),o=i.useCallback(({height:l})=>{l&&a(l/e)},[e]);return i.useEffect(()=>{r.current&&a(r.current.getBoundingClientRect().height)},[e]),Ep({ref:r,onResize:o}),m.createElement(Qk,{scale:e,elementHeight:n},m.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}u(GD,"ZoomElement");var eB=class extends i.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:t}=this.props;this.iframe=t.current}shouldComponentUpdate(t){let{scale:r,active:n}=this.props;return r!==t.scale&&this.setIframeInnerZoom(t.scale),n!==t.active&&this.iframe.setAttribute("data-is-storybook",t.active?"true":"false"),t.children.props.src!==this.props.children.props.src}setIframeInnerZoom(t){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"})}catch{this.setIframeZoom(t)}}setIframeZoom(t){Object.assign(this.iframe.style,{width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"})}render(){let{children:t}=this.props;return m.createElement(m.Fragment,null,t)}};u(eB,"ZoomIFrame");var KD={Element:GD};Id();var{document:tB}=Ei,rB=k.strong(({theme:e})=>({color:e.color.orange})),nB=k.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),S2=k.em(({theme:e})=>({color:e.textMutedColor})),aB=/(Error): (.*)\n/,oB=/at (?:(.*) )?\(?(.+)\)?/,lB=/([^@]+)?(?:\/<)?@(.+)?/,iB=/([^@]+)?@(.+)?/,YD=u(({error:e})=>{if(!e)return m.createElement(i.Fragment,null,"This error has no stack or message");if(!e.stack)return m.createElement(i.Fragment,null,e.message||"This error has no stack or message");let t=e.stack.toString();t&&e.message&&!t.includes(e.message)&&(t=`Error: ${e.message} +For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return i.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},"TitleWarning"),Hk="DialogDescriptionWarning",jk=s(({contentRef:e,descriptionId:t})=>{let r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${BD(Hk).contentName}}.`;return i.useEffect(()=>{var a;let n=(a=e.current)==null?void 0:a.getAttribute("aria-describedby");t&&n&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},"DescriptionWarning"),_D=pp,$k=fp,ID=mp,RD=gp,zD=vp,TD=wp,LD=bp,MD=Dp,OD={};Kn(OD,{Actions:()=>Jk,CloseButton:()=>jD,Col:()=>VD,Container:()=>HD,Content:()=>Gk,Description:()=>Zk,Error:()=>Xk,ErrorWrapper:()=>UD,Header:()=>Kk,Overlay:()=>ND,Row:()=>$D,Title:()=>Yk});jd();const{deprecate:Vk}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var hr=i.forwardRef(({asChild:e=!1,animation:t="none",size:r="small",variant:n="outline",padding:a="medium",disabled:o=!1,active:l=!1,onClick:u,...c},d)=>{let f="button";c.isLink&&(f="a"),e&&(f=Za);let g=n,p=r,[h,v]=i.useState(!1),y=s(b=>{u&&u(b),t!=="none"&&v(!0)},"handleClick");if(i.useEffect(()=>{let b=setTimeout(()=>{h&&v(!1)},1e3);return()=>clearTimeout(b)},[h]),c.primary&&(g="solid",p="medium"),(c.secondary||c.tertiary||c.gray||c.outline||c.inForm)&&(g="outline",p="medium"),c.small||c.isLink||c.primary||c.secondary||c.tertiary||c.gray||c.outline||c.inForm||c.containsIcon){let b=m.Children.toArray(c.children).filter(C=>typeof C=="string"&&C!=="");Vk(`Use of deprecated props in the button ${b.length>0?`"${b.join(" ")}"`:"component"} detected, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-ui-and-props-for-button-and-iconbutton-components`)}return m.createElement(Uk,{as:f,ref:d,variant:g,size:p,padding:a,disabled:o,active:l,animating:h,animation:t,onClick:y,...c})});hr.displayName="Button";var Uk=k("button",{shouldForwardProp:s(e=>mv(e),"shouldForwardProp")})(({theme:e,variant:t,size:r,disabled:n,active:a,animating:o,animation:l="none",padding:u})=>({border:0,cursor:n?"not-allowed":"pointer",display:"inline-flex",gap:"6px",alignItems:"center",justifyContent:"center",overflow:"hidden",padding:u==="none"?0:u==="small"&&r==="small"?"0 7px":u==="small"&&r==="medium"?"0 9px":r==="small"?"0 10px":r==="medium"?"0 12px":0,height:r==="small"?"28px":"32px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:n?.5:1,margin:0,fontSize:`${e.typography.size.s1}px`,fontWeight:e.typography.weight.bold,lineHeight:"1",background:t==="solid"?e.color.secondary:t==="outline"?e.button.background:t==="ghost"&&a?e.background.hoverable:"transparent",...t==="ghost"?{".sb-bar &":{background:a?tt(.9,e.barTextColor):"transparent",color:a?e.barSelectedColor:e.barTextColor,"&:hover":{color:e.barHoverColor,background:tt(.86,e.barHoverColor)},"&:active":{color:e.barSelectedColor,background:tt(.9,e.barSelectedColor)},"&:focus":{boxShadow:`${co(e.barHoverColor,1)} 0 0 0 1px inset`,outline:"none"}}}:{},color:t==="solid"?e.color.lightest:t==="outline"?e.input.color:t==="ghost"&&a?e.color.secondary:t==="ghost"?e.color.mediumdark:e.input.color,boxShadow:t==="outline"?`${e.button.border} 0 0 0 1px inset`:"none",borderRadius:e.input.borderRadius,flexShrink:0,"&:hover":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let c=e.color.secondary;return t==="solid"&&(c=e.color.secondary),t==="outline"&&(c=e.button.background),t==="ghost"?tt(.86,e.color.secondary):e.base==="light"?Cn(.02,c):v2(.03,c)})()},"&:active":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let c=e.color.secondary;return t==="solid"&&(c=e.color.secondary),t==="outline"&&(c=e.button.background),t==="ghost"?e.background.hoverable:e.base==="light"?Cn(.02,c):v2(.03,c)})()},"&:focus":{boxShadow:`${co(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"},"> svg":{animation:o&&l!=="none"?`${e.animation[l]} 1000ms ease-out`:""}})),nr=i.forwardRef(({padding:e="small",variant:t="ghost",...r},n)=>m.createElement(hr,{padding:e,variant:t,ref:n,...r}));nr.displayName="IconButton";var PD=Gn({from:{opacity:0},to:{opacity:1}}),qk=Gn({from:{maxHeight:0},to:{}}),Wk=Gn({from:{opacity:0,transform:"translate(-50%, -50%) scale(0.9)"},to:{opacity:1,transform:"translate(-50%, -50%) scale(1)"}}),ND=k.div({backdropFilter:"blur(24px)",position:"fixed",inset:0,width:"100%",height:"100%",zIndex:10,animation:`${PD} 200ms`}),HD=k.div(({theme:e,width:t,height:r})=>({backgroundColor:e.background.bar,borderRadius:6,boxShadow:"0px 4px 67px 0px #00000040",position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:t??740,height:r??"auto",maxWidth:"calc(100% - 40px)",maxHeight:"85vh",overflow:"hidden",zIndex:11,animation:`${Wk} 200ms`,"&:focus-visible":{outline:"none"}})),jD=s(e=>m.createElement(MD,{asChild:!0},m.createElement(nr,{...e},m.createElement(Ib,null))),"CloseButton"),Gk=k.div({display:"flex",flexDirection:"column",margin:16,gap:16}),$D=k.div({display:"flex",justifyContent:"space-between",gap:16}),VD=k.div({display:"flex",flexDirection:"column",gap:4}),Kk=s(e=>m.createElement($D,null,m.createElement(VD,{...e}),m.createElement(jD,null)),"Header"),Yk=k(TD)(({theme:e})=>({margin:0,fontSize:e.typography.size.s3,fontWeight:e.typography.weight.bold})),Zk=k(LD)(({theme:e})=>({position:"relative",zIndex:1,margin:0,fontSize:e.typography.size.s2})),Jk=k.div({display:"flex",flexDirection:"row-reverse",gap:8}),UD=k.div(({theme:e})=>({maxHeight:100,overflow:"auto",animation:`${qk} 300ms, ${PD} 300ms`,backgroundColor:e.background.critical,color:e.color.lightest,fontSize:e.typography.size.s2,"& > div":{position:"relative",padding:"8px 16px"}})),Xk=s(({children:e,...t})=>m.createElement(UD,{...t},m.createElement("div",null,e)),"Error");function qD({children:e,width:t,height:r,onEscapeKeyDown:n,onInteractOutside:a=s(c=>c.preventDefault(),"onInteractOutside"),className:o,container:l,...u}){return m.createElement(_D,{...u},m.createElement(ID,{container:l},m.createElement(RD,{asChild:!0},m.createElement(ND,null)),m.createElement(zD,{asChild:!0,onInteractOutside:a,onEscapeKeyDown:n},m.createElement(HD,{className:o,width:t,height:r},e))))}s(qD,"BaseModal");Object.assign(qD,OD,{Dialog:zb});k.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${$c}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${$c}`]:{marginTop:0}},({theme:e,outer:t,col:r,row:n})=>{switch(!0){case!!(t&&r):return{marginLeft:t*e.layoutMargin,marginRight:t*e.layoutMargin};case!!(t&&n):return{marginTop:t*e.layoutMargin,marginBottom:t*e.layoutMargin};default:return{}}});k.div(({theme:e})=>({fontWeight:e.typography.weight.bold}));k.div();k.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1}));Ud();function WD(e,t){var r=i.useRef(null),n=i.useRef(null);n.current=t;var a=i.useRef(null);i.useEffect(function(){o()});var o=i.useCallback(function(){var l=a.current,u=n.current,c=l||(u?u instanceof Element?u:u.current:null);r.current&&r.current.element===c&&r.current.subscriber===e||(r.current&&r.current.cleanup&&r.current.cleanup(),r.current={element:c,subscriber:e,cleanup:c?e(c):void 0})},[e]);return i.useEffect(function(){return function(){r.current&&r.current.cleanup&&(r.current.cleanup(),r.current=null)}},[]),i.useCallback(function(l){a.current=l,o()},[o])}s(WD,"useResolvedElement");function cd(e,t,r){return e[t]?e[t][0]?e[t][0][r]:e[t][r]:t==="contentBoxSize"?e.contentRect[r==="inlineSize"?"width":"height"]:void 0}s(cd,"extractSize");function Ep(e){e===void 0&&(e={});var t=e.onResize,r=i.useRef(void 0);r.current=t;var n=e.round||Math.round,a=i.useRef(),o=i.useState({width:void 0,height:void 0}),l=o[0],u=o[1],c=i.useRef(!1);i.useEffect(function(){return c.current=!1,function(){c.current=!0}},[]);var d=i.useRef({width:void 0,height:void 0}),f=WD(i.useCallback(function(g){return(!a.current||a.current.box!==e.box||a.current.round!==n)&&(a.current={box:e.box,round:n,instance:new ResizeObserver(function(p){var h=p[0],v=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",y=cd(h,v,"inlineSize"),b=cd(h,v,"blockSize"),C=y?n(y):void 0,D=b?n(b):void 0;if(d.current.width!==C||d.current.height!==D){var E={width:C,height:D};d.current.width=C,d.current.height=D,r.current?r.current(E):c.current||u(E)}})}),a.current.instance.observe(g,{box:e.box}),function(){a.current&&a.current.instance.unobserve(g)}},[e.box,n]),e.ref);return i.useMemo(function(){return{ref:f,width:l.width,height:l.height}},[f,l.width,l.height])}s(Ep,"useResizeObserver");var Qk=k.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function GD({scale:e,children:t}){let r=i.useRef(null),[n,a]=i.useState(0),o=i.useCallback(({height:l})=>{l&&a(l/e)},[e]);return i.useEffect(()=>{r.current&&a(r.current.getBoundingClientRect().height)},[e]),Ep({ref:r,onResize:o}),m.createElement(Qk,{scale:e,elementHeight:n},m.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}s(GD,"ZoomElement");var eB=class extends i.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:t}=this.props;this.iframe=t.current}shouldComponentUpdate(t){let{scale:r,active:n}=this.props;return r!==t.scale&&this.setIframeInnerZoom(t.scale),n!==t.active&&this.iframe.setAttribute("data-is-storybook",t.active?"true":"false"),t.children.props.src!==this.props.children.props.src}setIframeInnerZoom(t){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"})}catch{this.setIframeZoom(t)}}setIframeZoom(t){Object.assign(this.iframe.style,{width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"})}render(){let{children:t}=this.props;return m.createElement(m.Fragment,null,t)}};s(eB,"ZoomIFrame");var KD={Element:GD};Id();var{document:tB}=Ei,rB=k.strong(({theme:e})=>({color:e.color.orange})),nB=k.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),S2=k.em(({theme:e})=>({color:e.textMutedColor})),aB=/(Error): (.*)\n/,oB=/at (?:(.*) )?\(?(.+)\)?/,lB=/([^@]+)?(?:\/<)?@(.+)?/,iB=/([^@]+)?@(.+)?/,YD=s(({error:e})=>{if(!e)return m.createElement(i.Fragment,null,"This error has no stack or message");if(!e.stack)return m.createElement(i.Fragment,null,e.message||"This error has no stack or message");let t=e.stack.toString();t&&e.message&&!t.includes(e.message)&&(t=`Error: ${e.message} -${t}`);let r=t.match(aB);if(!r)return m.createElement(i.Fragment,null,t);let[,n,a]=r,o=t.split(/\n/).slice(1),[,...l]=o.map(s=>{let c=s.match(oB)||s.match(lB)||s.match(iB);return c?{name:(c[1]||"").replace("/<",""),location:c[2].replace(tB.location.origin,"")}:null}).filter(Boolean);return m.createElement(i.Fragment,null,m.createElement("span",null,n),": ",m.createElement(rB,null,a),m.createElement("br",null),l.map((s,c)=>s!=null&&s.name?m.createElement(i.Fragment,{key:c}," ","at ",m.createElement(nB,null,s.name)," (",m.createElement(S2,null,s.location),")",m.createElement("br",null)):m.createElement(i.Fragment,{key:c}," ","at ",m.createElement(S2,null,s==null?void 0:s.location),m.createElement("br",null))))},"ErrorFormatter"),uB=k.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),sB=k.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),cB=u(({label:e,children:t,...r})=>m.createElement(uB,{...r},e?m.createElement(sB,null,m.createElement("span",null,e)):null,t),"Field");Di();Rd();var dB=i.useLayoutEffect,pB=dB,fB=u(function(e){var t=i.useRef(e);return pB(function(){t.current=e}),t},"useLatest"),A2=u(function(e,t){if(typeof e=="function"){e(t);return}e.current=t},"updateRef"),hB=u(function(e,t){var r=i.useRef();return i.useCallback(function(n){e.current=n,r.current&&A2(r.current,null),r.current=t,t&&A2(t,n)},[t])},"useComposedRef"),mB=hB,k2={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},gB=u(function(e){Object.keys(k2).forEach(function(t){e.style.setProperty(t,k2[t],"important")})},"forceHiddenStyles"),B2=gB,Ce=null,_2=u(function(e,t){var r=e.scrollHeight;return t.sizingStyle.boxSizing==="border-box"?r+t.borderSize:r-t.paddingSize},"getHeight");function ZD(e,t,r,n){r===void 0&&(r=1),n===void 0&&(n=1/0),Ce||(Ce=document.createElement("textarea"),Ce.setAttribute("tabindex","-1"),Ce.setAttribute("aria-hidden","true"),B2(Ce)),Ce.parentNode===null&&document.body.appendChild(Ce);var a=e.paddingSize,o=e.borderSize,l=e.sizingStyle,s=l.boxSizing;Object.keys(l).forEach(function(p){var h=p;Ce.style[h]=l[h]}),B2(Ce),Ce.value=t;var c=_2(Ce,e);Ce.value=t,c=_2(Ce,e),Ce.value="x";var d=Ce.scrollHeight-a,f=d*r;s==="border-box"&&(f=f+a+o),c=Math.max(f,c);var g=d*n;return s==="border-box"&&(g=g+a+o),c=Math.min(g,c),[c,d]}u(ZD,"calculateNodeHeight");var I2=u(function(){},"noop"),vB=u(function(e,t){return e.reduce(function(r,n){return r[n]=t[n],r},{})},"pick"),yB=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],wB=!!document.documentElement.currentStyle,bB=u(function(e){var t=window.getComputedStyle(e);if(t===null)return null;var r=vB(yB,t),n=r.boxSizing;if(n==="")return null;wB&&n==="border-box"&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px");var a=parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),o=parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth);return{sizingStyle:r,paddingSize:a,borderSize:o}},"getSizingData"),DB=bB;function Cp(e,t,r){var n=fB(r);i.useLayoutEffect(function(){var a=u(function(o){return n.current(o)},"handler");if(e)return e.addEventListener(t,a),function(){return e.removeEventListener(t,a)}},[])}u(Cp,"useListener");var EB=u(function(e){Cp(window,"resize",e)},"useWindowResizeListener"),CB=u(function(e){Cp(document.fonts,"loadingdone",e)},"useFontsLoadedListener"),xB=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],FB=u(function(e,t){var r=e.cacheMeasurements,n=e.maxRows,a=e.minRows,o=e.onChange,l=o===void 0?I2:o,s=e.onHeightChange,c=s===void 0?I2:s,d=xi(e,xB),f=d.value!==void 0,g=i.useRef(null),p=mB(g,t),h=i.useRef(0),v=i.useRef(),y=u(function(){var C=g.current,D=r&&v.current?v.current:DB(C);if(D){v.current=D;var E=ZD(D,C.value||C.placeholder||"x",a,n),w=E[0],x=E[1];h.current!==w&&(h.current=w,C.style.setProperty("height",w+"px","important"),c(w,{rowHeight:x}))}},"resizeTextarea"),b=u(function(C){f||y(),l(C)},"handleChange");return i.useLayoutEffect(y),EB(y),CB(y),i.createElement("textarea",Fe({},d,{onChange:b,ref:p}))},"TextareaAutosize"),SB=i.forwardRef(FB),AB={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},xp=u(({theme:e})=>({...AB,transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,fontSize:e.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px",boxSizing:"border-box",height:32,'&[type="file"]':{height:"auto"},"&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${e.color.lightest} inset`},"&::placeholder":{color:e.textMutedColor,opacity:1}}),"styles"),Fp=u(({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},"sizes"),JD=u(({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},"alignment"),Sp=u(({valid:e,theme:t})=>{switch(e){case"valid":return{boxShadow:`${t.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${t.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${t.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return{}}},"validation"),kB=Object.assign(k(i.forwardRef(u(function({size:e,valid:t,align:r,...n},a){return m.createElement("input",{...n,ref:a})},"Input")))(xp,Fp,JD,Sp,{minHeight:32}),{displayName:"Input"}),BB=Object.assign(k(i.forwardRef(u(function({size:e,valid:t,align:r,...n},a){return m.createElement("select",{...n,ref:a})},"Select")))(xp,Fp,Sp,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),_B=Object.assign(k(i.forwardRef(u(function({size:e,valid:t,align:r,...n},a){return m.createElement(SB,{...n,ref:a})},"Textarea")))(xp,Fp,JD,Sp,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),ta=Object.assign(k.form({boxSizing:"border-box",width:"100%"}),{Field:cB,Input:kB,Select:BB,Textarea:_B,Button:hr}),IB=i.lazy(()=>Promise.resolve().then(()=>(ep(),Q1)).then(e=>({default:e.WithTooltip}))),RB=u(e=>m.createElement(i.Suspense,{fallback:m.createElement("div",null)},m.createElement(IB,{...e})),"WithTooltip"),zB=i.lazy(()=>Promise.resolve().then(()=>(ep(),Q1)).then(e=>({default:e.WithTooltipPure}))),XD=u(e=>m.createElement(i.Suspense,{fallback:m.createElement("div",null)},m.createElement(zB,{...e})),"WithTooltipPure");k.div(({theme:e})=>({fontWeight:e.typography.weight.bold}));k.span();k.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}}));k.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"}));k.div({padding:15,width:280,boxSizing:"border-box"});var TB=k.div(({theme:e})=>({padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:e.typography.weight.bold,color:e.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:e.base==="light"?"rgba(60, 60, 60, 0.9)":"rgba(0, 0, 0, 0.95)",margin:6})),LB=u(({note:e,...t})=>m.createElement(TB,{...t},e),"TooltipNote"),MB=me(Ci(),1),OB=k(({active:e,loading:t,disabled:r,...n})=>m.createElement("span",{...n}))(({theme:e})=>({color:e.color.defaultText,fontWeight:e.typography.weight.regular}),({active:e,theme:t})=>e?{color:t.color.secondary,fontWeight:t.typography.weight.bold}:{},({loading:e,theme:t})=>e?{display:"inline-block",flex:"none",...t.animation.inlineGlow}:{},({disabled:e,theme:t})=>e?{color:t.textMutedColor}:{}),PB=k.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),NB=k.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),HB=k.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),jB=k.span(({active:e,theme:t})=>e?{color:t.color.secondary}:{},()=>({display:"flex",maxWidth:14})),$B=k.div(({theme:e})=>({width:"100%",border:"none",borderRadius:e.appBorderRadius,background:"none",fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10}}),({theme:e,href:t,onClick:r})=>(t||r)&&{cursor:"pointer","&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}},({theme:e,as:t})=>t==="label"&&{"&:has(input:not(:disabled))":{cursor:"pointer","&:hover":{background:e.background.hoverable}}},({disabled:e})=>e&&{cursor:"not-allowed"}),VB=(0,MB.default)(100)((e,t,r)=>({...e&&{as:"button",onClick:e},...t&&{as:"a",href:t,...r&&{as:r,to:t}}})),UB=u(({loading:e=!1,title:t=m.createElement("span",null,"Loading state"),center:r=null,right:n=null,active:a=!1,disabled:o=!1,isIndented:l,href:s=void 0,onClick:c=void 0,icon:d,LinkWrapper:f=void 0,...g})=>{let p={active:a,disabled:o},h=VB(c,s,f);return m.createElement($B,{...g,...p,...h},m.createElement(m.Fragment,null,d&&m.createElement(jB,{...p},d),t||r?m.createElement(NB,{isIndented:!!(!d&&l)},t&&m.createElement(OB,{...p,loading:e},t),r&&m.createElement(HB,{...p},r)):null,n&&m.createElement(PB,{...p},n)))},"ListItem"),QD=UB,qB=k.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32+8},({theme:e})=>({borderRadius:e.appBorderRadius+2}),({theme:e})=>e.base==="dark"?{background:e.background.content}:{}),WB=k.div(({theme:e})=>({padding:4,"& + &":{borderTop:`1px solid ${e.appBorderColor}`}})),GB=u(({id:e,onClick:t,...r})=>{let{active:n,disabled:a,title:o,href:l}=r,s=i.useCallback(c=>t==null?void 0:t(c,{id:e,active:n,disabled:a,title:o,href:l}),[t,e,n,a,o,l]);return m.createElement(QD,{id:`list-item-${e}`,...r,...t&&{onClick:s}})},"Item"),e6=u(({links:e,LinkWrapper:t,...r})=>{let n=Array.isArray(e[0])?e:[e],a=n.some(o=>o.some(l=>"icon"in l&&l.icon));return m.createElement(qB,{...r},n.filter(o=>o.length).map((o,l)=>m.createElement(WB,{key:o.map(s=>s.id).join(`~${l}~`)},o.map(s=>"content"in s?m.createElement(i.Fragment,{key:s.id},s.content):m.createElement(GB,{key:s.id,isIndented:a,LinkWrapper:t,...s})))))},"TooltipLinkList");Ud();var dd=k.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",marginLeft:3,marginRight:3},({scrollable:e})=>e?{flexShrink:0}:{},({left:e})=>e?{"& > *":{marginLeft:4}}:{},({right:e})=>e?{marginLeft:30,"& > *":{marginRight:4}}:{});dd.displayName="Side";var KB=u(({children:e,className:t,scrollable:r})=>r?m.createElement(Ja,{vertical:!1,className:t},e):m.createElement("div",{className:t},e),"UnstyledBar"),Ap=k(KB)(({theme:e,scrollable:t=!0})=>({color:e.barTextColor,width:"100%",height:40,flexShrink:0,overflow:t?"auto":"hidden",overflowY:"hidden"}),({theme:e,border:t=!1})=>t?{boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.barBg}:{});Ap.displayName="Bar";var YB=k.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),uu=u(({children:e,backgroundColor:t,className:r,...n})=>{let[a,o]=i.Children.toArray(e);return m.createElement(Ap,{className:`sb-bar ${r}`,...n},m.createElement(YB,{bgColor:t},m.createElement(dd,{scrollable:n.scrollable,left:!0},a),o?m.createElement(dd,{right:!0},o):null))},"FlexBar");uu.displayName="FlexBar";var ZB=u(e=>typeof e.props.href=="string","isLink"),JB=u(e=>typeof e.props.href!="string","isButton");function t6({children:e,...t},r){let n={props:t,ref:r};if(ZB(n))return m.createElement("a",{ref:n.ref,...n.props},e);if(JB(n))return m.createElement("button",{ref:n.ref,type:"button",...n.props},e);throw new Error("invalid props")}u(t6,"ForwardRefFunction");var r6=i.forwardRef(t6);r6.displayName="ButtonOrLink";var Mo=k(r6,{shouldForwardProp:m4})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"},"&[hidden]":{display:"none"}},({theme:e})=>({padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:e.barSelectedColor}}),({active:e,textColor:t,theme:r})=>e?{color:t||r.barSelectedColor,borderBottomColor:r.barSelectedColor}:{color:t||r.barTextColor,borderBottomColor:"transparent","&:hover":{color:r.barHoverColor}});Mo.displayName="TabButton";k.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`}));k.div({marginTop:6,padding:7,height:28});var XB=k.div(({theme:e})=>({height:"100%",display:"flex",padding:30,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:e.background.content})),QB=k.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),e_=k.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),t_=k.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),kp=u(({title:e,description:t,footer:r})=>m.createElement(XB,null,m.createElement(QB,null,m.createElement(e_,null,e),t&&m.createElement(t_,null,t)),r),"EmptyTabContent"),r_=k.div(({active:e})=>e?{display:"block"}:{display:"none"}),n_=u(e=>i.Children.toArray(e).map(({props:{title:t,id:r,color:n,children:a}})=>{let o=Array.isArray(a)?a[0]:a;return{title:t,id:r,...n?{color:n}:{},render:typeof o=="function"?o:({active:l})=>m.createElement(r_,{active:l,role:"tabpanel"},o)}}),"childrenToList");ep();var a_=k.span(({theme:e,isActive:t})=>({display:"inline-block",width:0,height:0,marginLeft:8,color:t?e.color.secondary:e.color.mediumdark,borderRight:"3px solid transparent",borderLeft:"3px solid transparent",borderTop:"3px solid",transition:"transform .1s ease-out"})),o_=k(Mo)(({active:e,theme:t,preActive:r})=>` +${t}`);let r=t.match(aB);if(!r)return m.createElement(i.Fragment,null,t);let[,n,a]=r,o=t.split(/\n/).slice(1),[,...l]=o.map(u=>{let c=u.match(oB)||u.match(lB)||u.match(iB);return c?{name:(c[1]||"").replace("/<",""),location:c[2].replace(tB.location.origin,"")}:null}).filter(Boolean);return m.createElement(i.Fragment,null,m.createElement("span",null,n),": ",m.createElement(rB,null,a),m.createElement("br",null),l.map((u,c)=>u!=null&&u.name?m.createElement(i.Fragment,{key:c}," ","at ",m.createElement(nB,null,u.name)," (",m.createElement(S2,null,u.location),")",m.createElement("br",null)):m.createElement(i.Fragment,{key:c}," ","at ",m.createElement(S2,null,u==null?void 0:u.location),m.createElement("br",null))))},"ErrorFormatter"),sB=k.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),uB=k.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),cB=s(({label:e,children:t,...r})=>m.createElement(sB,{...r},e?m.createElement(uB,null,m.createElement("span",null,e)):null,t),"Field");Di();Rd();var dB=i.useLayoutEffect,pB=dB,fB=s(function(e){var t=i.useRef(e);return pB(function(){t.current=e}),t},"useLatest"),A2=s(function(e,t){if(typeof e=="function"){e(t);return}e.current=t},"updateRef"),hB=s(function(e,t){var r=i.useRef();return i.useCallback(function(n){e.current=n,r.current&&A2(r.current,null),r.current=t,t&&A2(t,n)},[t])},"useComposedRef"),mB=hB,k2={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},gB=s(function(e){Object.keys(k2).forEach(function(t){e.style.setProperty(t,k2[t],"important")})},"forceHiddenStyles"),B2=gB,Ce=null,_2=s(function(e,t){var r=e.scrollHeight;return t.sizingStyle.boxSizing==="border-box"?r+t.borderSize:r-t.paddingSize},"getHeight");function ZD(e,t,r,n){r===void 0&&(r=1),n===void 0&&(n=1/0),Ce||(Ce=document.createElement("textarea"),Ce.setAttribute("tabindex","-1"),Ce.setAttribute("aria-hidden","true"),B2(Ce)),Ce.parentNode===null&&document.body.appendChild(Ce);var a=e.paddingSize,o=e.borderSize,l=e.sizingStyle,u=l.boxSizing;Object.keys(l).forEach(function(p){var h=p;Ce.style[h]=l[h]}),B2(Ce),Ce.value=t;var c=_2(Ce,e);Ce.value=t,c=_2(Ce,e),Ce.value="x";var d=Ce.scrollHeight-a,f=d*r;u==="border-box"&&(f=f+a+o),c=Math.max(f,c);var g=d*n;return u==="border-box"&&(g=g+a+o),c=Math.min(g,c),[c,d]}s(ZD,"calculateNodeHeight");var I2=s(function(){},"noop"),vB=s(function(e,t){return e.reduce(function(r,n){return r[n]=t[n],r},{})},"pick"),yB=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],wB=!!document.documentElement.currentStyle,bB=s(function(e){var t=window.getComputedStyle(e);if(t===null)return null;var r=vB(yB,t),n=r.boxSizing;if(n==="")return null;wB&&n==="border-box"&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px");var a=parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),o=parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth);return{sizingStyle:r,paddingSize:a,borderSize:o}},"getSizingData"),DB=bB;function Cp(e,t,r){var n=fB(r);i.useLayoutEffect(function(){var a=s(function(o){return n.current(o)},"handler");if(e)return e.addEventListener(t,a),function(){return e.removeEventListener(t,a)}},[])}s(Cp,"useListener");var EB=s(function(e){Cp(window,"resize",e)},"useWindowResizeListener"),CB=s(function(e){Cp(document.fonts,"loadingdone",e)},"useFontsLoadedListener"),xB=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],FB=s(function(e,t){var r=e.cacheMeasurements,n=e.maxRows,a=e.minRows,o=e.onChange,l=o===void 0?I2:o,u=e.onHeightChange,c=u===void 0?I2:u,d=xi(e,xB),f=d.value!==void 0,g=i.useRef(null),p=mB(g,t),h=i.useRef(0),v=i.useRef(),y=s(function(){var C=g.current,D=r&&v.current?v.current:DB(C);if(D){v.current=D;var E=ZD(D,C.value||C.placeholder||"x",a,n),w=E[0],x=E[1];h.current!==w&&(h.current=w,C.style.setProperty("height",w+"px","important"),c(w,{rowHeight:x}))}},"resizeTextarea"),b=s(function(C){f||y(),l(C)},"handleChange");return i.useLayoutEffect(y),EB(y),CB(y),i.createElement("textarea",Fe({},d,{onChange:b,ref:p}))},"TextareaAutosize"),SB=i.forwardRef(FB),AB={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},xp=s(({theme:e})=>({...AB,transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,fontSize:e.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px",boxSizing:"border-box",height:32,'&[type="file"]':{height:"auto"},"&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${e.color.lightest} inset`},"&::placeholder":{color:e.textMutedColor,opacity:1}}),"styles"),Fp=s(({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},"sizes"),JD=s(({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},"alignment"),Sp=s(({valid:e,theme:t})=>{switch(e){case"valid":return{boxShadow:`${t.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${t.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${t.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return{}}},"validation"),kB=Object.assign(k(i.forwardRef(s(function({size:e,valid:t,align:r,...n},a){return m.createElement("input",{...n,ref:a})},"Input")))(xp,Fp,JD,Sp,{minHeight:32}),{displayName:"Input"}),BB=Object.assign(k(i.forwardRef(s(function({size:e,valid:t,align:r,...n},a){return m.createElement("select",{...n,ref:a})},"Select")))(xp,Fp,Sp,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),_B=Object.assign(k(i.forwardRef(s(function({size:e,valid:t,align:r,...n},a){return m.createElement(SB,{...n,ref:a})},"Textarea")))(xp,Fp,JD,Sp,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),ta=Object.assign(k.form({boxSizing:"border-box",width:"100%"}),{Field:cB,Input:kB,Select:BB,Textarea:_B,Button:hr}),IB=i.lazy(()=>Promise.resolve().then(()=>(ep(),Q1)).then(e=>({default:e.WithTooltip}))),RB=s(e=>m.createElement(i.Suspense,{fallback:m.createElement("div",null)},m.createElement(IB,{...e})),"WithTooltip"),zB=i.lazy(()=>Promise.resolve().then(()=>(ep(),Q1)).then(e=>({default:e.WithTooltipPure}))),XD=s(e=>m.createElement(i.Suspense,{fallback:m.createElement("div",null)},m.createElement(zB,{...e})),"WithTooltipPure");k.div(({theme:e})=>({fontWeight:e.typography.weight.bold}));k.span();k.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}}));k.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"}));k.div({padding:15,width:280,boxSizing:"border-box"});var TB=k.div(({theme:e})=>({padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:e.typography.weight.bold,color:e.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:e.base==="light"?"rgba(60, 60, 60, 0.9)":"rgba(0, 0, 0, 0.95)",margin:6})),LB=s(({note:e,...t})=>m.createElement(TB,{...t},e),"TooltipNote"),MB=me(Ci(),1),OB=k(({active:e,loading:t,disabled:r,...n})=>m.createElement("span",{...n}))(({theme:e})=>({color:e.color.defaultText,fontWeight:e.typography.weight.regular}),({active:e,theme:t})=>e?{color:t.color.secondary,fontWeight:t.typography.weight.bold}:{},({loading:e,theme:t})=>e?{display:"inline-block",flex:"none",...t.animation.inlineGlow}:{},({disabled:e,theme:t})=>e?{color:t.textMutedColor}:{}),PB=k.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),NB=k.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),HB=k.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),jB=k.span(({active:e,theme:t})=>e?{color:t.color.secondary}:{},()=>({display:"flex",maxWidth:14})),$B=k.div(({theme:e})=>({width:"100%",border:"none",borderRadius:e.appBorderRadius,background:"none",fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10}}),({theme:e,href:t,onClick:r})=>(t||r)&&{cursor:"pointer","&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}},({theme:e,as:t})=>t==="label"&&{"&:has(input:not(:disabled))":{cursor:"pointer","&:hover":{background:e.background.hoverable}}},({disabled:e})=>e&&{cursor:"not-allowed"}),VB=(0,MB.default)(100)((e,t,r)=>({...e&&{as:"button",onClick:e},...t&&{as:"a",href:t,...r&&{as:r,to:t}}})),UB=s(({loading:e=!1,title:t=m.createElement("span",null,"Loading state"),center:r=null,right:n=null,active:a=!1,disabled:o=!1,isIndented:l,href:u=void 0,onClick:c=void 0,icon:d,LinkWrapper:f=void 0,...g})=>{let p={active:a,disabled:o},h=VB(c,u,f);return m.createElement($B,{...g,...p,...h},m.createElement(m.Fragment,null,d&&m.createElement(jB,{...p},d),t||r?m.createElement(NB,{isIndented:!!(!d&&l)},t&&m.createElement(OB,{...p,loading:e},t),r&&m.createElement(HB,{...p},r)):null,n&&m.createElement(PB,{...p},n)))},"ListItem"),QD=UB,qB=k.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32+8},({theme:e})=>({borderRadius:e.appBorderRadius+2}),({theme:e})=>e.base==="dark"?{background:e.background.content}:{}),WB=k.div(({theme:e})=>({padding:4,"& + &":{borderTop:`1px solid ${e.appBorderColor}`}})),GB=s(({id:e,onClick:t,...r})=>{let{active:n,disabled:a,title:o,href:l}=r,u=i.useCallback(c=>t==null?void 0:t(c,{id:e,active:n,disabled:a,title:o,href:l}),[t,e,n,a,o,l]);return m.createElement(QD,{id:`list-item-${e}`,...r,...t&&{onClick:u}})},"Item"),e6=s(({links:e,LinkWrapper:t,...r})=>{let n=Array.isArray(e[0])?e:[e],a=n.some(o=>o.some(l=>"icon"in l&&l.icon));return m.createElement(qB,{...r},n.filter(o=>o.length).map((o,l)=>m.createElement(WB,{key:o.map(u=>u.id).join(`~${l}~`)},o.map(u=>"content"in u?m.createElement(i.Fragment,{key:u.id},u.content):m.createElement(GB,{key:u.id,isIndented:a,LinkWrapper:t,...u})))))},"TooltipLinkList");Ud();var dd=k.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",marginLeft:3,marginRight:3},({scrollable:e})=>e?{flexShrink:0}:{},({left:e})=>e?{"& > *":{marginLeft:4}}:{},({right:e})=>e?{marginLeft:30,"& > *":{marginRight:4}}:{});dd.displayName="Side";var KB=s(({children:e,className:t,scrollable:r})=>r?m.createElement(Ja,{vertical:!1,className:t},e):m.createElement("div",{className:t},e),"UnstyledBar"),Ap=k(KB)(({theme:e,scrollable:t=!0})=>({color:e.barTextColor,width:"100%",height:40,flexShrink:0,overflow:t?"auto":"hidden",overflowY:"hidden"}),({theme:e,border:t=!1})=>t?{boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.barBg}:{});Ap.displayName="Bar";var YB=k.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),ss=s(({children:e,backgroundColor:t,className:r,...n})=>{let[a,o]=i.Children.toArray(e);return m.createElement(Ap,{className:`sb-bar ${r}`,...n},m.createElement(YB,{bgColor:t},m.createElement(dd,{scrollable:n.scrollable,left:!0},a),o?m.createElement(dd,{right:!0},o):null))},"FlexBar");ss.displayName="FlexBar";var ZB=s(e=>typeof e.props.href=="string","isLink"),JB=s(e=>typeof e.props.href!="string","isButton");function t6({children:e,...t},r){let n={props:t,ref:r};if(ZB(n))return m.createElement("a",{ref:n.ref,...n.props},e);if(JB(n))return m.createElement("button",{ref:n.ref,type:"button",...n.props},e);throw new Error("invalid props")}s(t6,"ForwardRefFunction");var r6=i.forwardRef(t6);r6.displayName="ButtonOrLink";var Mo=k(r6,{shouldForwardProp:mv})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"},"&[hidden]":{display:"none"}},({theme:e})=>({padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:e.barSelectedColor}}),({active:e,textColor:t,theme:r})=>e?{color:t||r.barSelectedColor,borderBottomColor:r.barSelectedColor}:{color:t||r.barTextColor,borderBottomColor:"transparent","&:hover":{color:r.barHoverColor}});Mo.displayName="TabButton";k.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`}));k.div({marginTop:6,padding:7,height:28});var XB=k.div(({theme:e})=>({height:"100%",display:"flex",padding:30,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:e.background.content})),QB=k.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),e_=k.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),t_=k.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),kp=s(({title:e,description:t,footer:r})=>m.createElement(XB,null,m.createElement(QB,null,m.createElement(e_,null,e),t&&m.createElement(t_,null,t)),r),"EmptyTabContent"),r_=k.div(({active:e})=>e?{display:"block"}:{display:"none"}),n_=s(e=>i.Children.toArray(e).map(({props:{title:t,id:r,color:n,children:a}})=>{let o=Array.isArray(a)?a[0]:a;return{title:t,id:r,...n?{color:n}:{},render:typeof o=="function"?o:({active:l})=>m.createElement(r_,{active:l,role:"tabpanel"},o)}}),"childrenToList");ep();var a_=k.span(({theme:e,isActive:t})=>({display:"inline-block",width:0,height:0,marginLeft:8,color:t?e.color.secondary:e.color.mediumdark,borderRight:"3px solid transparent",borderLeft:"3px solid transparent",borderTop:"3px solid",transition:"transform .1s ease-out"})),o_=k(Mo)(({active:e,theme:t,preActive:r})=>` color: ${r||e?t.barSelectedColor:t.barTextColor}; .addon-collapsible-icon { color: ${r||e?t.barSelectedColor:t.barTextColor}; @@ -295,7 +295,7 @@ ${t}`);let r=t.match(aB);if(!r)return m.createElement(i.Fragment,null,t);let[,n, color: ${t.barHoverColor}; } } - `);function n6(e){let t=i.useRef(),r=i.useRef(),n=i.useRef(new Map),{width:a=1}=Ep({ref:t}),[o,l]=i.useState(e),[s,c]=i.useState([]),d=i.useRef(e),f=i.useCallback(({menuName:p,actions:h})=>{let v=s.some(({active:C})=>C),[y,b]=i.useState(!1);return m.createElement(m.Fragment,null,m.createElement(hi,{interactive:!0,visible:y,onVisibleChange:b,placement:"bottom",delayHide:100,tooltip:m.createElement(e6,{links:s.map(({title:C,id:D,color:E,active:w})=>({id:D,title:C,color:E,active:w,onClick:u(x=>{x.preventDefault(),h.onSelect(D)},"onClick")}))})},m.createElement(o_,{ref:r,active:v,preActive:y,style:{visibility:s.length?"visible":"hidden"},"aria-hidden":!s.length,className:"tabbutton",type:"button",role:"tab"},p,m.createElement(a_,{className:"addon-collapsible-icon",isActive:v||y}))),s.map(({title:C,id:D,color:E},w)=>{let x=`index-${w}`;return m.createElement(Mo,{id:`tabbutton-${h4(D)??x}`,style:{visibility:"hidden"},"aria-hidden":!0,tabIndex:-1,ref:F=>{n.current.set(D,F)},className:"tabbutton",type:"button",key:D,textColor:E,role:"tab"},C)}))},[s]),g=i.useCallback(()=>{if(!t.current||!r.current)return;let{x:p,width:h}=t.current.getBoundingClientRect(),{width:v}=r.current.getBoundingClientRect(),y=s.length?p+h-v:p+h,b=[],C=0,D=e.filter(E=>{let{id:w}=E,x=n.current.get(w),{width:F=0}=(x==null?void 0:x.getBoundingClientRect())||{},S=p+C+F>y;return(!S||!x)&&b.push(E),C+=F,S});(b.length!==o.length||d.current!==e)&&(l(b),c(D),d.current=e)},[s.length,e,o]);return i.useLayoutEffect(g,[g,a]),{tabRefs:n,addonsRef:r,tabBarRef:t,visibleList:o,invisibleList:s,AddonTab:f}}u(n6,"useList");var l_="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",i_=k.div(({theme:e,bordered:t})=>t?{backgroundClip:"padding-box",border:`1px solid ${e.appBorderColor}`,borderRadius:e.appBorderRadius,overflow:"hidden",boxSizing:"border-box"}:{},({absolute:e})=>e?{width:"100%",height:"100%",boxSizing:"border-box",display:"flex",flexDirection:"column"}:{display:"block"}),Bp=k.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});Bp.displayName="TabBar";var u_=k.div({display:"block",position:"relative"},({theme:e})=>({fontSize:e.typography.size.s2-1,background:e.background.content}),({bordered:e,theme:t})=>e?{borderRadius:`0 0 ${t.appBorderRadius-1}px ${t.appBorderRadius-1}px`}:{},({absolute:e,bordered:t})=>e?{height:`calc(100% - ${t?42:40}px)`,position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:40+(t?1:0),overflow:"auto",[`& > *:first-child${l_}`]:{position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:0+(t?1:0),height:`calc(100% - ${t?2:0}px)`,overflow:"auto"}}:{}),_p=i.memo(({children:e,selected:t=null,actions:r,absolute:n=!1,bordered:a=!1,tools:o=null,backgroundColor:l,id:s=null,menuName:c="Tabs",emptyState:d,showToolsWhenEmpty:f})=>{let g=i.useMemo(()=>n_(e).map((C,D)=>({...C,active:t?C.id===t:D===0})),[e,t]),{visibleList:p,tabBarRef:h,tabRefs:v,AddonTab:y}=n6(g),b=d??m.createElement(kp,{title:"Nothing found"});return!f&&g.length===0?b:m.createElement(i_,{absolute:n,bordered:a,id:s},m.createElement(uu,{scrollable:!1,border:!0,backgroundColor:l},m.createElement(Bp,{style:{whiteSpace:"normal"},ref:h,role:"tablist"},p.map(({title:C,id:D,active:E,color:w},x)=>{let F=`index-${x}`;return m.createElement(Mo,{id:`tabbutton-${h4(D)??F}`,ref:S=>{v.current.set(D,S)},className:`tabbutton ${E?"tabbutton-active":""}`,type:"button",key:D,active:E,textColor:w,onClick:S=>{S.preventDefault(),r.onSelect(D)},role:"tab"},typeof C=="function"?m.createElement("title",null):C)}),m.createElement(y,{menuName:c,actions:r})),o),m.createElement(u_,{id:"panel-tab-content",bordered:a,absolute:n},g.length?g.map(({id:C,active:D,render:E})=>m.createElement(E,{key:C,active:D},null)):b))});_p.displayName="Tabs";var pd=class extends i.Component{constructor(t){super(t),this.handlers={onSelect:u(r=>this.setState({selected:r}),"onSelect")},this.state={selected:t.initial}}render(){let{bordered:t=!1,absolute:r=!1,children:n,backgroundColor:a,menuName:o}=this.props,{selected:l}=this.state;return m.createElement(_p,{bordered:t,absolute:r,selected:l,backgroundColor:a,menuName:o,actions:this.handlers},n)}};u(pd,"TabsState"),pd.defaultProps={children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:"",menuName:void 0};var a6=pd,o6=k.span(({theme:e})=>({width:1,height:20,background:e.appBorderColor,marginLeft:2,marginRight:2}),({force:e})=>e?{}:{"& + &":{display:"none"}});o6.displayName="Separator";const{deprecate:TP,logger:LP}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var s_=k.svg` + `);function n6(e){let t=i.useRef(),r=i.useRef(),n=i.useRef(new Map),{width:a=1}=Ep({ref:t}),[o,l]=i.useState(e),[u,c]=i.useState([]),d=i.useRef(e),f=i.useCallback(({menuName:p,actions:h})=>{let v=u.some(({active:C})=>C),[y,b]=i.useState(!1);return m.createElement(m.Fragment,null,m.createElement(hi,{interactive:!0,visible:y,onVisibleChange:b,placement:"bottom",delayHide:100,tooltip:m.createElement(e6,{links:u.map(({title:C,id:D,color:E,active:w})=>({id:D,title:C,color:E,active:w,onClick:s(x=>{x.preventDefault(),h.onSelect(D)},"onClick")}))})},m.createElement(o_,{ref:r,active:v,preActive:y,style:{visibility:u.length?"visible":"hidden"},"aria-hidden":!u.length,className:"tabbutton",type:"button",role:"tab"},p,m.createElement(a_,{className:"addon-collapsible-icon",isActive:v||y}))),u.map(({title:C,id:D,color:E},w)=>{let x=`index-${w}`;return m.createElement(Mo,{id:`tabbutton-${hv(D)??x}`,style:{visibility:"hidden"},"aria-hidden":!0,tabIndex:-1,ref:F=>{n.current.set(D,F)},className:"tabbutton",type:"button",key:D,textColor:E,role:"tab"},C)}))},[u]),g=i.useCallback(()=>{if(!t.current||!r.current)return;let{x:p,width:h}=t.current.getBoundingClientRect(),{width:v}=r.current.getBoundingClientRect(),y=u.length?p+h-v:p+h,b=[],C=0,D=e.filter(E=>{let{id:w}=E,x=n.current.get(w),{width:F=0}=(x==null?void 0:x.getBoundingClientRect())||{},S=p+C+F>y;return(!S||!x)&&b.push(E),C+=F,S});(b.length!==o.length||d.current!==e)&&(l(b),c(D),d.current=e)},[u.length,e,o]);return i.useLayoutEffect(g,[g,a]),{tabRefs:n,addonsRef:r,tabBarRef:t,visibleList:o,invisibleList:u,AddonTab:f}}s(n6,"useList");var l_="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",i_=k.div(({theme:e,bordered:t})=>t?{backgroundClip:"padding-box",border:`1px solid ${e.appBorderColor}`,borderRadius:e.appBorderRadius,overflow:"hidden",boxSizing:"border-box"}:{},({absolute:e})=>e?{width:"100%",height:"100%",boxSizing:"border-box",display:"flex",flexDirection:"column"}:{display:"block"}),Bp=k.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});Bp.displayName="TabBar";var s_=k.div({display:"block",position:"relative"},({theme:e})=>({fontSize:e.typography.size.s2-1,background:e.background.content}),({bordered:e,theme:t})=>e?{borderRadius:`0 0 ${t.appBorderRadius-1}px ${t.appBorderRadius-1}px`}:{},({absolute:e,bordered:t})=>e?{height:`calc(100% - ${t?42:40}px)`,position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:40+(t?1:0),overflow:"auto",[`& > *:first-child${l_}`]:{position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:0+(t?1:0),height:`calc(100% - ${t?2:0}px)`,overflow:"auto"}}:{}),_p=i.memo(({children:e,selected:t=null,actions:r,absolute:n=!1,bordered:a=!1,tools:o=null,backgroundColor:l,id:u=null,menuName:c="Tabs",emptyState:d,showToolsWhenEmpty:f})=>{let g=i.useMemo(()=>n_(e).map((C,D)=>({...C,active:t?C.id===t:D===0})),[e,t]),{visibleList:p,tabBarRef:h,tabRefs:v,AddonTab:y}=n6(g),b=d??m.createElement(kp,{title:"Nothing found"});return!f&&g.length===0?b:m.createElement(i_,{absolute:n,bordered:a,id:u},m.createElement(ss,{scrollable:!1,border:!0,backgroundColor:l},m.createElement(Bp,{style:{whiteSpace:"normal"},ref:h,role:"tablist"},p.map(({title:C,id:D,active:E,color:w},x)=>{let F=`index-${x}`;return m.createElement(Mo,{id:`tabbutton-${hv(D)??F}`,ref:S=>{v.current.set(D,S)},className:`tabbutton ${E?"tabbutton-active":""}`,type:"button",key:D,active:E,textColor:w,onClick:S=>{S.preventDefault(),r.onSelect(D)},role:"tab"},typeof C=="function"?m.createElement("title",null):C)}),m.createElement(y,{menuName:c,actions:r})),o),m.createElement(s_,{id:"panel-tab-content",bordered:a,absolute:n},g.length?g.map(({id:C,active:D,render:E})=>m.createElement(E,{key:C,active:D},null)):b))});_p.displayName="Tabs";var pd=class extends i.Component{constructor(t){super(t),this.handlers={onSelect:s(r=>this.setState({selected:r}),"onSelect")},this.state={selected:t.initial}}render(){let{bordered:t=!1,absolute:r=!1,children:n,backgroundColor:a,menuName:o}=this.props,{selected:l}=this.state;return m.createElement(_p,{bordered:t,absolute:r,selected:l,backgroundColor:a,menuName:o,actions:this.handlers},n)}};s(pd,"TabsState"),pd.defaultProps={children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:"",menuName:void 0};var a6=pd,o6=k.span(({theme:e})=>({width:1,height:20,background:e.appBorderColor,marginLeft:2,marginRight:2}),({force:e})=>e?{}:{"& + &":{display:"none"}});o6.displayName="Separator";const{deprecate:TP,logger:LP}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var u_=k.svg` display: inline-block; shape-rendering: inherit; vertical-align: middle; @@ -303,7 +303,7 @@ ${t}`);let r=t.match(aB);if(!r)return m.createElement(i.Fragment,null,t);let[,n, path { fill: currentColor; } -`;i.memo(u(function({icons:e=Object.keys(fd)}){return m.createElement(s_,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(t=>m.createElement("symbol",{id:`icon--${t}`,key:t},fd[t])))},"Symbols"));var fd={user:"UserIcon",useralt:"UserAltIcon",useradd:"UserAddIcon",users:"UsersIcon",profile:"ProfileIcon",facehappy:"FaceHappyIcon",faceneutral:"FaceNeutralIcon",facesad:"FaceSadIcon",accessibility:"AccessibilityIcon",accessibilityalt:"AccessibilityAltIcon",arrowup:"ChevronUpIcon",arrowdown:"ChevronDownIcon",arrowleft:"ChevronLeftIcon",arrowright:"ChevronRightIcon",arrowupalt:"ArrowUpIcon",arrowdownalt:"ArrowDownIcon",arrowleftalt:"ArrowLeftIcon",arrowrightalt:"ArrowRightIcon",expandalt:"ExpandAltIcon",collapse:"CollapseIcon",expand:"ExpandIcon",unfold:"UnfoldIcon",transfer:"TransferIcon",redirect:"RedirectIcon",undo:"UndoIcon",reply:"ReplyIcon",sync:"SyncIcon",upload:"UploadIcon",download:"DownloadIcon",back:"BackIcon",proceed:"ProceedIcon",refresh:"RefreshIcon",globe:"GlobeIcon",compass:"CompassIcon",location:"LocationIcon",pin:"PinIcon",time:"TimeIcon",dashboard:"DashboardIcon",timer:"TimerIcon",home:"HomeIcon",admin:"AdminIcon",info:"InfoIcon",question:"QuestionIcon",support:"SupportIcon",alert:"AlertIcon",email:"EmailIcon",phone:"PhoneIcon",link:"LinkIcon",unlink:"LinkBrokenIcon",bell:"BellIcon",rss:"RSSIcon",sharealt:"ShareAltIcon",share:"ShareIcon",circle:"CircleIcon",circlehollow:"CircleHollowIcon",bookmarkhollow:"BookmarkHollowIcon",bookmark:"BookmarkIcon",hearthollow:"HeartHollowIcon",heart:"HeartIcon",starhollow:"StarHollowIcon",star:"StarIcon",certificate:"CertificateIcon",verified:"VerifiedIcon",thumbsup:"ThumbsUpIcon",shield:"ShieldIcon",basket:"BasketIcon",beaker:"BeakerIcon",hourglass:"HourglassIcon",flag:"FlagIcon",cloudhollow:"CloudHollowIcon",edit:"EditIcon",cog:"CogIcon",nut:"NutIcon",wrench:"WrenchIcon",ellipsis:"EllipsisIcon",check:"CheckIcon",form:"FormIcon",batchdeny:"BatchDenyIcon",batchaccept:"BatchAcceptIcon",controls:"ControlsIcon",plus:"PlusIcon",closeAlt:"CloseAltIcon",cross:"CrossIcon",trash:"TrashIcon",pinalt:"PinAltIcon",unpin:"UnpinIcon",add:"AddIcon",subtract:"SubtractIcon",close:"CloseIcon",delete:"DeleteIcon",passed:"PassedIcon",changed:"ChangedIcon",failed:"FailedIcon",clear:"ClearIcon",comment:"CommentIcon",commentadd:"CommentAddIcon",requestchange:"RequestChangeIcon",comments:"CommentsIcon",lock:"LockIcon",unlock:"UnlockIcon",key:"KeyIcon",outbox:"OutboxIcon",credit:"CreditIcon",button:"ButtonIcon",type:"TypeIcon",pointerdefault:"PointerDefaultIcon",pointerhand:"PointerHandIcon",browser:"BrowserIcon",tablet:"TabletIcon",mobile:"MobileIcon",watch:"WatchIcon",sidebar:"SidebarIcon",sidebaralt:"SidebarAltIcon",sidebaralttoggle:"SidebarAltToggleIcon",sidebartoggle:"SidebarToggleIcon",bottombar:"BottomBarIcon",bottombartoggle:"BottomBarToggleIcon",cpu:"CPUIcon",database:"DatabaseIcon",memory:"MemoryIcon",structure:"StructureIcon",box:"BoxIcon",power:"PowerIcon",photo:"PhotoIcon",component:"ComponentIcon",grid:"GridIcon",outline:"OutlineIcon",photodrag:"PhotoDragIcon",search:"SearchIcon",zoom:"ZoomIcon",zoomout:"ZoomOutIcon",zoomreset:"ZoomResetIcon",eye:"EyeIcon",eyeclose:"EyeCloseIcon",lightning:"LightningIcon",lightningoff:"LightningOffIcon",contrast:"ContrastIcon",switchalt:"SwitchAltIcon",mirror:"MirrorIcon",grow:"GrowIcon",paintbrush:"PaintBrushIcon",ruler:"RulerIcon",stop:"StopIcon",camera:"CameraIcon",video:"VideoIcon",speaker:"SpeakerIcon",play:"PlayIcon",playback:"PlayBackIcon",playnext:"PlayNextIcon",rewind:"RewindIcon",fastforward:"FastForwardIcon",stopalt:"StopAltIcon",sidebyside:"SideBySideIcon",stacked:"StackedIcon",sun:"SunIcon",moon:"MoonIcon",book:"BookIcon",document:"DocumentIcon",copy:"CopyIcon",category:"CategoryIcon",folder:"FolderIcon",print:"PrintIcon",graphline:"GraphLineIcon",calendar:"CalendarIcon",graphbar:"GraphBarIcon",menu:"MenuIcon",menualt:"MenuIcon",filter:"FilterIcon",docchart:"DocChartIcon",doclist:"DocListIcon",markup:"MarkupIcon",bold:"BoldIcon",paperclip:"PaperClipIcon",listordered:"ListOrderedIcon",listunordered:"ListUnorderedIcon",paragraph:"ParagraphIcon",markdown:"MarkdownIcon",repository:"RepoIcon",commit:"CommitIcon",branch:"BranchIcon",pullrequest:"PullRequestIcon",merge:"MergeIcon",apple:"AppleIcon",linux:"LinuxIcon",ubuntu:"UbuntuIcon",windows:"WindowsIcon",storybook:"StorybookIcon",azuredevops:"AzureDevOpsIcon",bitbucket:"BitbucketIcon",chrome:"ChromeIcon",chromatic:"ChromaticIcon",componentdriven:"ComponentDrivenIcon",discord:"DiscordIcon",facebook:"FacebookIcon",figma:"FigmaIcon",gdrive:"GDriveIcon",github:"GithubIcon",gitlab:"GitlabIcon",google:"GoogleIcon",graphql:"GraphqlIcon",medium:"MediumIcon",redux:"ReduxIcon",twitter:"TwitterIcon",youtube:"YoutubeIcon",vscode:"VSCodeIcon"},c_=Gn` +`;i.memo(s(function({icons:e=Object.keys(fd)}){return m.createElement(u_,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(t=>m.createElement("symbol",{id:`icon--${t}`,key:t},fd[t])))},"Symbols"));var fd={user:"UserIcon",useralt:"UserAltIcon",useradd:"UserAddIcon",users:"UsersIcon",profile:"ProfileIcon",facehappy:"FaceHappyIcon",faceneutral:"FaceNeutralIcon",facesad:"FaceSadIcon",accessibility:"AccessibilityIcon",accessibilityalt:"AccessibilityAltIcon",arrowup:"ChevronUpIcon",arrowdown:"ChevronDownIcon",arrowleft:"ChevronLeftIcon",arrowright:"ChevronRightIcon",arrowupalt:"ArrowUpIcon",arrowdownalt:"ArrowDownIcon",arrowleftalt:"ArrowLeftIcon",arrowrightalt:"ArrowRightIcon",expandalt:"ExpandAltIcon",collapse:"CollapseIcon",expand:"ExpandIcon",unfold:"UnfoldIcon",transfer:"TransferIcon",redirect:"RedirectIcon",undo:"UndoIcon",reply:"ReplyIcon",sync:"SyncIcon",upload:"UploadIcon",download:"DownloadIcon",back:"BackIcon",proceed:"ProceedIcon",refresh:"RefreshIcon",globe:"GlobeIcon",compass:"CompassIcon",location:"LocationIcon",pin:"PinIcon",time:"TimeIcon",dashboard:"DashboardIcon",timer:"TimerIcon",home:"HomeIcon",admin:"AdminIcon",info:"InfoIcon",question:"QuestionIcon",support:"SupportIcon",alert:"AlertIcon",email:"EmailIcon",phone:"PhoneIcon",link:"LinkIcon",unlink:"LinkBrokenIcon",bell:"BellIcon",rss:"RSSIcon",sharealt:"ShareAltIcon",share:"ShareIcon",circle:"CircleIcon",circlehollow:"CircleHollowIcon",bookmarkhollow:"BookmarkHollowIcon",bookmark:"BookmarkIcon",hearthollow:"HeartHollowIcon",heart:"HeartIcon",starhollow:"StarHollowIcon",star:"StarIcon",certificate:"CertificateIcon",verified:"VerifiedIcon",thumbsup:"ThumbsUpIcon",shield:"ShieldIcon",basket:"BasketIcon",beaker:"BeakerIcon",hourglass:"HourglassIcon",flag:"FlagIcon",cloudhollow:"CloudHollowIcon",edit:"EditIcon",cog:"CogIcon",nut:"NutIcon",wrench:"WrenchIcon",ellipsis:"EllipsisIcon",check:"CheckIcon",form:"FormIcon",batchdeny:"BatchDenyIcon",batchaccept:"BatchAcceptIcon",controls:"ControlsIcon",plus:"PlusIcon",closeAlt:"CloseAltIcon",cross:"CrossIcon",trash:"TrashIcon",pinalt:"PinAltIcon",unpin:"UnpinIcon",add:"AddIcon",subtract:"SubtractIcon",close:"CloseIcon",delete:"DeleteIcon",passed:"PassedIcon",changed:"ChangedIcon",failed:"FailedIcon",clear:"ClearIcon",comment:"CommentIcon",commentadd:"CommentAddIcon",requestchange:"RequestChangeIcon",comments:"CommentsIcon",lock:"LockIcon",unlock:"UnlockIcon",key:"KeyIcon",outbox:"OutboxIcon",credit:"CreditIcon",button:"ButtonIcon",type:"TypeIcon",pointerdefault:"PointerDefaultIcon",pointerhand:"PointerHandIcon",browser:"BrowserIcon",tablet:"TabletIcon",mobile:"MobileIcon",watch:"WatchIcon",sidebar:"SidebarIcon",sidebaralt:"SidebarAltIcon",sidebaralttoggle:"SidebarAltToggleIcon",sidebartoggle:"SidebarToggleIcon",bottombar:"BottomBarIcon",bottombartoggle:"BottomBarToggleIcon",cpu:"CPUIcon",database:"DatabaseIcon",memory:"MemoryIcon",structure:"StructureIcon",box:"BoxIcon",power:"PowerIcon",photo:"PhotoIcon",component:"ComponentIcon",grid:"GridIcon",outline:"OutlineIcon",photodrag:"PhotoDragIcon",search:"SearchIcon",zoom:"ZoomIcon",zoomout:"ZoomOutIcon",zoomreset:"ZoomResetIcon",eye:"EyeIcon",eyeclose:"EyeCloseIcon",lightning:"LightningIcon",lightningoff:"LightningOffIcon",contrast:"ContrastIcon",switchalt:"SwitchAltIcon",mirror:"MirrorIcon",grow:"GrowIcon",paintbrush:"PaintBrushIcon",ruler:"RulerIcon",stop:"StopIcon",camera:"CameraIcon",video:"VideoIcon",speaker:"SpeakerIcon",play:"PlayIcon",playback:"PlayBackIcon",playnext:"PlayNextIcon",rewind:"RewindIcon",fastforward:"FastForwardIcon",stopalt:"StopAltIcon",sidebyside:"SideBySideIcon",stacked:"StackedIcon",sun:"SunIcon",moon:"MoonIcon",book:"BookIcon",document:"DocumentIcon",copy:"CopyIcon",category:"CategoryIcon",folder:"FolderIcon",print:"PrintIcon",graphline:"GraphLineIcon",calendar:"CalendarIcon",graphbar:"GraphBarIcon",menu:"MenuIcon",menualt:"MenuIcon",filter:"FilterIcon",docchart:"DocChartIcon",doclist:"DocListIcon",markup:"MarkupIcon",bold:"BoldIcon",paperclip:"PaperClipIcon",listordered:"ListOrderedIcon",listunordered:"ListUnorderedIcon",paragraph:"ParagraphIcon",markdown:"MarkdownIcon",repository:"RepoIcon",commit:"CommitIcon",branch:"BranchIcon",pullrequest:"PullRequestIcon",merge:"MergeIcon",apple:"AppleIcon",linux:"LinuxIcon",ubuntu:"UbuntuIcon",windows:"WindowsIcon",storybook:"StorybookIcon",azuredevops:"AzureDevOpsIcon",bitbucket:"BitbucketIcon",chrome:"ChromeIcon",chromatic:"ChromaticIcon",componentdriven:"ComponentDrivenIcon",discord:"DiscordIcon",facebook:"FacebookIcon",figma:"FigmaIcon",gdrive:"GDriveIcon",github:"GithubIcon",gitlab:"GitlabIcon",google:"GoogleIcon",graphql:"GraphqlIcon",medium:"MediumIcon",redux:"ReduxIcon",twitter:"TwitterIcon",youtube:"YoutubeIcon",vscode:"VSCodeIcon"},c_=Gn` from { transform: rotate(0deg); } @@ -315,7 +315,7 @@ ${t}`);let r=t.match(aB);if(!r)return m.createElement(i.Fragment,null,t);let[,n, 33% { content: "." } 66% { content: ".." } to { content: "..." } -`,g_=k.span({"&::after":{content:"'...'",animation:`${m_} 1s linear infinite`,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),l6=u(({progress:e,error:t,size:r,...n})=>{if(t)return m.createElement(R2,{"aria-label":t.toString(),"aria-live":"polite",role:"status",...n},m.createElement(h_,null),m.createElement(z2,null,t.message));if(e){let{value:a,modules:o}=e,{message:l}=e;return o&&(l+=` ${o.complete} / ${o.total} modules`),m.createElement(R2,{"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":a*100,"aria-valuetext":l,role:"progressbar",...n},m.createElement(p_,null,m.createElement(f_,{style:{width:`${a*100}%`}})),m.createElement(z2,null,l,a<1&&m.createElement(g_,{key:l})))}return m.createElement(d_,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size:r,...n})},"Loader"),v_=Gn({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});k.div(({size:e})=>({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",minWidth:e,minHeight:e}));k.svg(({size:e,width:t})=>({position:"absolute",width:`${e}px!important`,height:`${e}px!important`,transform:"rotate(-90deg)",circle:{r:(e-Math.ceil(t))/2,cx:e/2,cy:e/2,opacity:.15,fill:"transparent",stroke:"currentColor",strokeWidth:t,strokeLinecap:"round",strokeDasharray:Math.PI*(e-Math.ceil(t))}}),({progress:e})=>e&&{circle:{opacity:.75}},({spinner:e})=>e&&{animation:`${v_} 1s linear infinite`,circle:{opacity:.25}});function i6(e){let t={},r=e.split("&");for(let n=0;n{let[n,a]=e.split("?"),o=a?{...i6(a),...r,id:t}:{...r,id:t};return`${n}?${Object.entries(o).map(l=>`${l[0]}=${l[1]}`).join("&")}`},"getStoryHref");k.pre` +`,g_=k.span({"&::after":{content:"'...'",animation:`${m_} 1s linear infinite`,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),l6=s(({progress:e,error:t,size:r,...n})=>{if(t)return m.createElement(R2,{"aria-label":t.toString(),"aria-live":"polite",role:"status",...n},m.createElement(h_,null),m.createElement(z2,null,t.message));if(e){let{value:a,modules:o}=e,{message:l}=e;return o&&(l+=` ${o.complete} / ${o.total} modules`),m.createElement(R2,{"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":a*100,"aria-valuetext":l,role:"progressbar",...n},m.createElement(p_,null,m.createElement(f_,{style:{width:`${a*100}%`}})),m.createElement(z2,null,l,a<1&&m.createElement(g_,{key:l})))}return m.createElement(d_,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size:r,...n})},"Loader"),v_=Gn({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});k.div(({size:e})=>({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",minWidth:e,minHeight:e}));k.svg(({size:e,width:t})=>({position:"absolute",width:`${e}px!important`,height:`${e}px!important`,transform:"rotate(-90deg)",circle:{r:(e-Math.ceil(t))/2,cx:e/2,cy:e/2,opacity:.15,fill:"transparent",stroke:"currentColor",strokeWidth:t,strokeLinecap:"round",strokeDasharray:Math.PI*(e-Math.ceil(t))}}),({progress:e})=>e&&{circle:{opacity:.75}},({spinner:e})=>e&&{animation:`${v_} 1s linear infinite`,circle:{opacity:.25}});function i6(e){let t={},r=e.split("&");for(let n=0;n{let[n,a]=e.split("?"),o=a?{...i6(a),...r,id:t}:{...r,id:t};return`${n}?${Object.entries(o).map(l=>`${l[0]}=${l[1]}`).join("&")}`},"getStoryHref");k.pre` line-height: 18px; padding: 11px 1rem; white-space: pre-wrap; @@ -328,19 +328,19 @@ ${t}`);let r=t.match(aB);if(!r)return m.createElement(i.Fragment,null,t);let[,n, overflow: hidden; font-family: ${Gp.fonts.mono}; font-size: ${Gp.size.s2-1}px; -`;var s6=Bb;Object.keys(Bb).forEach(e=>{i.forwardRef((t,r)=>i.createElement(e,{...t,ref:r}))});const y_=Object.freeze(Object.defineProperty({__proto__:null,A:db,get ActionBar(){return Si},Bar:Ap,Blockquote:pb,Button:hr,Code:op,DL:fb,Div:hb,EmptyTabContent:kp,ErrorFormatter:YD,FlexBar:uu,Form:ta,H1:mb,H2:lp,H3:ip,H4:gb,H5:vb,H6:yb,HR:wb,IconButton:nr,Img:bb,LI:Db,Link:Tn,ListItem:QD,Loader:l6,OL:Eb,P:Cb,Pre:xb,ResetWrapper:Lo,get ScrollArea(){return Ja},Separator:o6,Span:Fb,SyntaxHighlighter:au,TT:Sb,TabBar:Bp,TabButton:Mo,Table:Ab,Tabs:_p,TabsState:a6,TooltipLinkList:e6,TooltipNote:LB,UL:kb,WithTooltip:RB,WithTooltipPure:XD,Zoom:KD,codeCommon:Wt,components:s6,createCopyToClipboardFunction:Hl,getStoryHref:u6,icons:fd,nameSpaceClassNames:ee,withReset:te},Symbol.toStringTag,{value:"Module"}));var w_=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),b_=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),D_=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),E_=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),C_=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),i.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),x_=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),hd=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),MP=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),F_=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),S_=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),A_=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),i.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),k_=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),B_=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),__=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),c6=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),I_=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e})));const{deprecate:R_,once:z_,logger:Ip}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{filterArgTypes:T2,composeConfigs:OP,Preview:PP,DocsContext:NP}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_ARGS_UPDATED:L2,UPDATE_STORY_ARGS:T_,RESET_STORY_ARGS:L_,GLOBALS_UPDATED:M2,NAVIGATE_URL:d6}=__STORYBOOK_MODULE_CORE_EVENTS__,{Channel:HP}=__STORYBOOK_MODULE_CHANNELS__;var p6=Wr({"../../node_modules/memoizerific/memoizerific.js"(e,t){(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return function r(n,a,o){function l(d,f){if(!a[d]){if(!n[d]){var g=typeof jo=="function"&&jo;if(!f&&g)return g(d,!0);if(s)return s(d,!0);var p=new Error("Cannot find module '"+d+"'");throw p.code="MODULE_NOT_FOUND",p}var h=a[d]={exports:{}};n[d][0].call(h.exports,function(v){var y=n[d][1][v];return l(y||v)},h,h.exports,r,n,a,o)}return a[d].exports}for(var s=typeof jo=="function"&&jo,c=0;c=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(l,s){var c;return this.lastItem&&this.isEqual(this.lastItem.key,l)?(this.lastItem.val=s,this):(c=this.indexOf(l),c>=0?(this.lastItem=this.list[c],this.list[c].val=s,this):(this.lastItem={key:l,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(l){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,l)&&(this.lastItem=void 0),s=this.indexOf(l),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(l){var s;return this.lastItem&&this.isEqual(this.lastItem.key,l)?!0:(s=this.indexOf(l),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(l,s){var c;for(c=0;c0&&(D[C]={cacheItem:v,arg:arguments[C]},E?l(g,D):g.push(D),g.length>d&&s(g.shift())),h.wasMemoized=E,h.numArgs=C+1,b};return h.limit=d,h.wasMemoized=!1,h.cache=f,h.lru=g,h}};function l(d,f){var g=d.length,p=f.length,h,v,y;for(v=0;v=0&&(g=d[h],p=g.cacheItem.get(g.arg),!p||!p.size);h--)g.cacheItem.delete(g.arg)}function c(d,f){return d===f||d!==d&&f!==f}},{"map-or-similar":1}]},{},[3])(3)})}}),M_=Wr({"../../node_modules/tocbot/src/js/default-options.js"(e,t){t.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(r){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(r){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}}}),O_=Wr({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,a=[].some,o=document.body,l,s=!0,c=" ";function d(w,x){var F=x.appendChild(g(w));if(w.children.length){var S=p(w.isCollapsed);w.children.forEach(function(A){d(A,S)}),F.appendChild(S)}}function f(w,x){var F=!1,S=p(F);if(x.forEach(function(A){d(A,S)}),l=w||l,l!==null)return l.firstChild&&l.removeChild(l.firstChild),x.length===0?l:l.appendChild(S)}function g(w){var x=document.createElement("li"),F=document.createElement("a");return r.listItemClass&&x.setAttribute("class",r.listItemClass),r.onClick&&(F.onclick=r.onClick),r.includeTitleTags&&F.setAttribute("title",w.textContent),r.includeHtml&&w.childNodes.length?n.call(w.childNodes,function(S){F.appendChild(S.cloneNode(!0))}):F.textContent=w.textContent,F.setAttribute("href",r.basePath+"#"+w.id),F.setAttribute("class",r.linkClass+c+"node-name--"+w.nodeName+c+r.extraLinkClasses),x.appendChild(F),x}function p(w){var x=r.orderedList?"ol":"ul",F=document.createElement(x),S=r.listClass+c+r.extraListClasses;return w&&(S=S+c+r.collapsibleClass,S=S+c+r.isCollapsedClass),F.setAttribute("class",S),F}function h(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var w;w=document.querySelector(r.scrollContainer).scrollTop}else w=document.documentElement.scrollTop||o.scrollTop;var x=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=l.offsetTop),w>r.fixedSidebarOffset?x.className.indexOf(r.positionFixedClass)===-1&&(x.className+=c+r.positionFixedClass):x.className=x.className.replace(c+r.positionFixedClass,"")}function v(w){var x=0;return w!==null&&(x=w.offsetTop,r.hasInnerContainers&&(x+=v(w.offsetParent))),x}function y(w,x){return w&&w.className!==x&&(w.className=x),w}function b(w){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var x;x=document.querySelector(r.scrollContainer).scrollTop}else x=document.documentElement.scrollTop||o.scrollTop;r.positionFixedSelector&&h();var F=w,S;if(s&&l!==null&&F.length>0){a.call(F,function(M,L){if(v(M)>x+r.headingsOffset+10){var O=L===0?L:L-1;return S=F[O],!0}else if(L===F.length-1)return S=F[F.length-1],!0});var A=l.querySelector("."+r.activeLinkClass),B=l.querySelector("."+r.linkClass+".node-name--"+S.nodeName+'[href="'+r.basePath+"#"+S.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(A===B)return;var _=l.querySelectorAll("."+r.linkClass);n.call(_,function(M){y(M,M.className.replace(c+r.activeLinkClass,""))});var I=l.querySelectorAll("."+r.listItemClass);n.call(I,function(M){y(M,M.className.replace(c+r.activeListItemClass,""))}),B&&B.className.indexOf(r.activeLinkClass)===-1&&(B.className+=c+r.activeLinkClass);var z=B&&B.parentNode;z&&z.className.indexOf(r.activeListItemClass)===-1&&(z.className+=c+r.activeListItemClass);var T=l.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call(T,function(M){M.className.indexOf(r.isCollapsedClass)===-1&&(M.className+=c+r.isCollapsedClass)}),B&&B.nextSibling&&B.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&y(B.nextSibling,B.nextSibling.className.replace(c+r.isCollapsedClass,"")),C(B&&B.parentNode.parentNode)}}function C(w){return w&&w.className.indexOf(r.collapsibleClass)!==-1&&w.className.indexOf(r.isCollapsedClass)!==-1?(y(w,w.className.replace(c+r.isCollapsedClass,"")),C(w.parentNode.parentNode)):w}function D(w){var x=w.target||w.srcElement;typeof x.className!="string"||x.className.indexOf(r.linkClass)===-1||(s=!1)}function E(){s=!0}return{enableTocAnimation:E,disableTocAnimation:D,render:f,updateToc:b}}}}),P_=Wr({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function a(g){return g[g.length-1]}function o(g){return+g.nodeName.toUpperCase().replace("H","")}function l(g){try{return g instanceof window.HTMLElement||g instanceof window.parent.HTMLElement}catch{return g instanceof window.HTMLElement}}function s(g){if(!l(g))return g;if(r.ignoreHiddenElements&&(!g.offsetHeight||!g.offsetParent))return null;let p=g.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(g.innerText)):(g.innerText||g.textContent).trim());var h={id:g.id,children:[],nodeName:g.nodeName,headingLevel:o(g),textContent:p};return r.includeHtml&&(h.childNodes=g.childNodes),r.headingObjectCallback?r.headingObjectCallback(h,g):h}function c(g,p){for(var h=s(g),v=h.headingLevel,y=p,b=a(y),C=b?b.headingLevel:0,D=v-C;D>0&&(b=a(y),!(b&&v===b.headingLevel));)b&&b.children!==void 0&&(y=b.children),D--;return v>=r.collapseDepth&&(h.isCollapsed=!0),y.push(h),y}function d(g,p){var h=p;r.ignoreSelector&&(h=p.split(",").map(function(v){return v.trim()+":not("+r.ignoreSelector+")"}));try{return g.querySelectorAll(h)}catch{return console.warn("Headers not found with selector: "+h),null}}function f(g){return n.call(g,function(p,h){var v=s(h);return v&&c(v,p.nest),p},{nest:[]})}return{nestHeadingsArray:f,selectHeadings:d}}}}),N_=Wr({"../../node_modules/tocbot/src/js/update-toc-scroll.js"(e,t){t.exports=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var a=n.querySelector("."+r.activeListItemClass);a&&(n.scrollTop=a.offsetTop-r.tocScrollOffset)}}}}),H_=Wr({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e){e.initSmoothScrolling=t;function t(n){var a=n.duration,o=n.offset,l=location.hash?d(location.href):location.href;s();function s(){document.body.addEventListener("click",g,!1);function g(p){!c(p.target)||p.target.className.indexOf("no-smooth-scroll")>-1||p.target.href.charAt(p.target.href.length-2)==="#"&&p.target.href.charAt(p.target.href.length-1)==="!"||p.target.className.indexOf(n.linkClass)===-1||r(p.target.hash,{duration:a,offset:o,callback:function(){f(p.target.hash)}})}}function c(g){return g.tagName.toLowerCase()==="a"&&(g.hash.length>0||g.href.charAt(g.href.length-1)==="#")&&(d(g.href)===l||d(g.href)+"#"===l)}function d(g){return g.slice(0,g.lastIndexOf("#"))}function f(g){var p=document.getElementById(g.substring(1));p&&(/^(?:a|select|input|button|textarea)$/i.test(p.tagName)||(p.tabIndex=-1),p.focus())}}function r(n,a){var o=window.pageYOffset,l={duration:a.duration,offset:a.offset||0,callback:a.callback,easing:a.easing||v},s=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),c=typeof n=="string"?l.offset+(n?s&&s.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,d=typeof l.duration=="function"?l.duration(c):l.duration,f,g;requestAnimationFrame(function(y){f=y,p(y)});function p(y){g=y-f,window.scrollTo(0,l.easing(g,o,c,d)),g"u"&&!g)return;var p,h=Object.prototype.hasOwnProperty;function v(){for(var D={},E=0;E=0&&a<1?(s=o,c=l):a>=1&&a<2?(s=l,c=o):a>=2&&a<3?(c=o,d=l):a>=3&&a<4?(c=l,d=o):a>=4&&a<5?(s=l,d=o):a>=5&&a<6&&(s=o,d=l);var f=r-o/2,g=s+f,p=c+f,h=d+f;return n(g,p,h)}var O2={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function G_(e){if(typeof e!="string")return e;var t=e.toLowerCase();return O2[t]?"#"+O2[t]:e}var K_=/^#[a-fA-F0-9]{6}$/,Y_=/^#[a-fA-F0-9]{8}$/,Z_=/^#[a-fA-F0-9]{3}$/,J_=/^#[a-fA-F0-9]{4}$/,Rc=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,X_=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,Q_=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,eI=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function su(e){if(typeof e!="string")throw new Et(3);var t=G_(e);if(t.match(K_))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(Y_)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(Z_))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(J_)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=Rc.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=X_.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var l=Q_.exec(t);if(l){var s=parseInt(""+l[1],10),c=parseInt(""+l[2],10)/100,d=parseInt(""+l[3],10)/100,f="rgb("+yi(s,c,d)+")",g=Rc.exec(f);if(!g)throw new Et(4,t,f);return{red:parseInt(""+g[1],10),green:parseInt(""+g[2],10),blue:parseInt(""+g[3],10)}}var p=eI.exec(t.substring(0,50));if(p){var h=parseInt(""+p[1],10),v=parseInt(""+p[2],10)/100,y=parseInt(""+p[3],10)/100,b="rgb("+yi(h,v,y)+")",C=Rc.exec(b);if(!C)throw new Et(4,t,b);return{red:parseInt(""+C[1],10),green:parseInt(""+C[2],10),blue:parseInt(""+C[3],10),alpha:parseFloat(""+p[4])>1?parseFloat(""+p[4])/100:parseFloat(""+p[4])}}throw new Et(5)}function tI(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),l=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:l,alpha:e.alpha}:{hue:0,saturation:0,lightness:l};var s,c=a-o,d=l>.5?c/(2-a-o):c/(a+o);switch(a){case t:s=(r-n)/c+(r=1?m6(e.hue,e.saturation,e.lightness):"rgba("+yi(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Et(2)}function g6(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return vd("#"+Ar(e)+Ar(t)+Ar(r));if(typeof e=="object"&&t===void 0&&r===void 0)return vd("#"+Ar(e.red)+Ar(e.green)+Ar(e.blue));throw new Et(6)}function jt(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=su(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?g6(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new Et(7)}var lI=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},iI=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},uI=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},sI=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function v6(e){if(typeof e!="object")throw new Et(8);if(iI(e))return jt(e);if(lI(e))return g6(e);if(sI(e))return oI(e);if(uI(e))return aI(e);throw new Et(8)}function y6(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):y6(e,t,n)}}function cu(e){return y6(e,e.length,[])}function du(e,t,r){return Math.max(e,Math.min(t,r))}function cI(e,t){if(t==="transparent")return t;var r=h6(t);return v6(qn({},r,{lightness:du(0,1,r.lightness-parseFloat(e))}))}var dI=cu(cI),wt=dI;function pI(e,t){if(t==="transparent")return t;var r=h6(t);return v6(qn({},r,{lightness:du(0,1,r.lightness+parseFloat(e))}))}var fI=cu(pI),kr=fI;function hI(e,t){if(t==="transparent")return t;var r=su(t),n=typeof r.alpha=="number"?r.alpha:1,a=qn({},r,{alpha:du(0,1,(n*100+parseFloat(e)*100)/100)});return jt(a)}var mI=cu(hI),hl=mI;function gI(e,t){if(t==="transparent")return t;var r=su(t),n=typeof r.alpha=="number"?r.alpha:1,a=qn({},r,{alpha:du(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return jt(a)}var vI=cu(gI),Q=vI,yI=k.div(te,({theme:e})=>({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:Q(.3,e.color.defaultText),fontSize:e.typography.size.s2})),w6=e=>m.createElement(yI,{...e,className:"docblock-emptyblock sb-unstyled"}),wI=k(au)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),bI=k.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),ml=k.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${$c}`]:{margin:0}})),DI=()=>m.createElement(bI,null,m.createElement(ml,null),m.createElement(ml,{style:{width:"80%"}}),m.createElement(ml,{style:{width:"30%"}}),m.createElement(ml,{style:{width:"80%"}})),b6=({isLoading:e,error:t,language:r,code:n,dark:a,format:o=!1,...l})=>{let{typography:s}=g4();if(e)return m.createElement(DI,null);if(t)return m.createElement(w6,null,t);let c=m.createElement(wI,{bordered:!0,copyable:!0,format:o,language:r,className:"docblock-source sb-unstyled",...l},n);if(typeof a>"u")return c;let d=a?Kp.dark:Kp.light;return m.createElement(v4,{theme:_8({...d,fontCode:s.fonts.mono,fontBase:s.fonts.base})},c)},ie=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,Rp=600,EI=k.h1(te,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${Rp}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),CI=k.h2(te,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${Rp}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:Q(.25,e.color.defaultText)})),xI=k.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?Q(.1,e.color.defaultText):Q(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[ie("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[ie("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[ie("div")]:t,[ie("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[ie("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[ie("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[ie("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[ie("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[ie("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[ie("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[ie("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[ie("img")]:{maxWidth:"100%"},[ie("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[ie("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[ie("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[ie("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[ie("span")]:{...t,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[ie("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[ie("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),FI=k.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${Rp}px)`]:{}})),SI=({children:e,toc:t})=>m.createElement(FI,{className:"sbdocs sbdocs-wrapper"},m.createElement(xI,{className:"sbdocs sbdocs-content"},e),t),pu=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),{window:AI}=globalThis,kI=class extends i.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=AI.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:r,allowFullScreen:n,scale:a,...o}=this.props;return m.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...o})}},D6=i.createContext({scale:1}),{PREVIEW_URL:BI}=globalThis,_I=BI||"iframe.html",yd=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,II=e=>{let t=i.useRef(),[r,n]=i.useState(!0),[a,o]=i.useState(),{story:l,height:s,autoplay:c,forceInitialArgs:d,renderStoryToElement:f}=e;return i.useEffect(()=>{if(!(l&&t.current))return()=>{};let g=t.current,p=f(l,g,{showMain:()=>{},showError:({title:h,description:v})=>o(new Error(`${h} - ${v}`)),showException:h=>o(h)},{autoplay:c,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>p())}},[c,f,l]),a?m.createElement("pre",null,m.createElement(YD,{error:a})):m.createElement(m.Fragment,null,s?m.createElement("style",null,`#${yd(e)} { min-height: ${s}; transform: translateZ(0); overflow: auto }`):null,r&&m.createElement(E6,null),m.createElement("div",{ref:t,id:`${yd(e)}-inner`,"data-name":l.name}))},RI=({story:e,height:t="500px"})=>m.createElement("div",{style:{width:"100%",height:t}},m.createElement(D6.Consumer,null,({scale:r})=>m.createElement(kI,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:u6(_I,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),zI=k.strong(({theme:e})=>({color:e.color.orange})),TI=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?m.createElement(zI,null,"This story mounts inside of play. Set"," ",m.createElement("a",{href:"https://storybook.js.org/docs/api/doc-blocks/doc-block-story#autoplay"},"autoplay")," ","to true to view this story."):m.createElement("div",{id:yd(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?m.createElement(II,{...e}):m.createElement(RI,{...e}))},E6=()=>m.createElement(l6,null),LI=k(uu)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),MI=k.div({display:"flex",alignItems:"center",gap:4}),OI=k.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),PI=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...o})=>m.createElement(LI,{...o},m.createElement(MI,{key:"left"},e?[1,2,3].map(l=>m.createElement(OI,{key:l})):m.createElement(m.Fragment,null,m.createElement(nr,{key:"zoomin",onClick:l=>{l.preventDefault(),n(.8)},title:"Zoom in"},m.createElement(w_,null)),m.createElement(nr,{key:"zoomout",onClick:l=>{l.preventDefault(),n(1.25)},title:"Zoom out"},m.createElement(b_,null)),m.createElement(nr,{key:"zoomreset",onClick:l=>{l.preventDefault(),a()},title:"Reset zoom"},m.createElement(D_,null))))),NI=k.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),P2=k(b6)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":wt(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":wt(.05,e.background.content)}})),HI=k.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...pu(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),jI=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:m.createElement(P2,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:m.createElement(P2,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function $I(e){if(i.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var VI=k(PI)({position:"absolute",top:0,left:0,right:0,height:40}),UI=k.div({overflow:"hidden",position:"relative"}),C6=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:o=!1,isExpanded:l=!1,additionalActions:s,className:c,layout:d="padded",...f})=>{let[g,p]=i.useState(l),{source:h,actionItem:v}=jI(a,g,p),[y,b]=i.useState(1),C=[c].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),D=a?[v]:[],[E,w]=i.useState(s?[...s]:[]),x=[...D,...E],{window:F}=globalThis,S=i.useCallback(async B=>{let{createCopyToClipboardFunction:_}=await Ad(async()=>{const{createCopyToClipboardFunction:I}=await Promise.resolve().then(()=>y_);return{createCopyToClipboardFunction:I}},void 0,import.meta.url);_()},[]),A=B=>{let _=F.getSelection();_&&_.type==="Range"||(B.preventDefault(),E.filter(I=>I.title==="Copied").length===0&&S(h.props.code).then(()=>{w([...E,{title:"Copied",onClick:()=>{}}]),F.setTimeout(()=>w(E.filter(I=>I.title!=="Copied")),1500)}))};return m.createElement(HI,{withSource:a,withToolbar:o,...f,className:C.join(" ")},o&&m.createElement(VI,{isLoading:e,border:!0,zoom:B=>b(y*B),resetZoom:()=>b(1),storyId:$I(n),baseUrl:"./iframe.html"}),m.createElement(D6.Provider,{value:{scale:y}},m.createElement(UI,{className:"docs-story",onCopyCapture:a&&A},m.createElement(NI,{isColumn:t||!Array.isArray(n),columns:r,layout:d},m.createElement(KD.Element,{scale:y},Array.isArray(n)?n.map((B,_)=>m.createElement("div",{key:_},B)):m.createElement("div",null,n))),m.createElement(Si,{actionItems:x}))),a&&g&&h)};k(C6)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));function _r(){return _r=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{class:"className",for:"htmlFor"}),j2={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},WI=["style","script"],GI=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,KI=/mailto:/i,YI=/\n{2,}$/,x6=/^(\s*>[\s\S]*?)(?=\n\n|$)/,ZI=/^ *> ?/gm,JI=/^(?:\[!([^\]]*)\]\n)?([\s\S]*)/,XI=/^ {2,}\n/,QI=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,F6=/^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/,S6=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,eR=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,tR=/^(?:\n *)*\n/,rR=/\r\n?/g,nR=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,aR=/^\[\^([^\]]+)]/,oR=/\f/g,lR=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,iR=/^\s*?\[(x|\s)\]/,A6=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,k6=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,B6=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,wd=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,uR=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,_6=/^)/,sR=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,bd=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,cR=/^\{.*\}$/,dR=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,pR=/^<([^ >]+@[^ >]+)>/,fR=/^<([^ >]+:\/[^ >]+)>/,hR=/-([a-z])?/gi,I6=/^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/,mR=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,gR=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,vR=/^\[([^\]]*)\] ?\[([^\]]*)\]/,yR=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,wR=/\t/g,bR=/(^ *\||\| *$)/g,DR=/^ *:-+: *$/,ER=/^ *:-+ *$/,CR=/^ *-+: *$/,fu="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",xR=new RegExp(`^([*_])\\1${fu}\\1\\1(?!\\1)`),FR=new RegExp(`^([*_])${fu}\\1(?!\\1|\\w)`),SR=new RegExp(`^==${fu}==`),AR=new RegExp(`^~~${fu}~~`),kR=/^\\([^0-9A-Za-z\s])/,BR=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,_R=/^\n+/,IR=/^([ \t]*)/,RR=/\\([^\\])/g,$2=/ *\n+$/,zR=/(?:^|\n)( *)$/,zp="(?:\\d+\\.)",Tp="(?:[*+-])";function R6(e){return"( *)("+(e===1?zp:Tp)+") +"}var z6=R6(1),T6=R6(2);function L6(e){return new RegExp("^"+(e===1?z6:T6))}var TR=L6(1),LR=L6(2);function M6(e){return new RegExp("^"+(e===1?z6:T6)+"[^\\n]*(?:\\n(?!\\1"+(e===1?zp:Tp)+" )[^\\n]*)*(\\n|$)","gm")}var O6=M6(1),P6=M6(2);function N6(e){let t=e===1?zp:Tp;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var H6=N6(1),j6=N6(2);function V2(e,t){let r=t===1,n=r?H6:j6,a=r?O6:P6,o=r?TR:LR;return{match(l,s){let c=zR.exec(s.prevCapture);return c&&(s.list||!s.inline&&!s.simple)?n.exec(l=c[1]+l):null},order:1,parse(l,s,c){let d=r?+l[2]:void 0,f=l[0].replace(YI,` +`;var u6=Bb;Object.keys(Bb).forEach(e=>{i.forwardRef((t,r)=>i.createElement(e,{...t,ref:r}))});const y_=Object.freeze(Object.defineProperty({__proto__:null,A:db,get ActionBar(){return Si},Bar:Ap,Blockquote:pb,Button:hr,Code:op,DL:fb,Div:hb,EmptyTabContent:kp,ErrorFormatter:YD,FlexBar:ss,Form:ta,H1:mb,H2:lp,H3:ip,H4:gb,H5:vb,H6:yb,HR:wb,IconButton:nr,Img:bb,LI:Db,Link:Tn,ListItem:QD,Loader:l6,OL:Eb,P:Cb,Pre:xb,ResetWrapper:Lo,get ScrollArea(){return Ja},Separator:o6,Span:Fb,SyntaxHighlighter:as,TT:Sb,TabBar:Bp,TabButton:Mo,Table:Ab,Tabs:_p,TabsState:a6,TooltipLinkList:e6,TooltipNote:LB,UL:kb,WithTooltip:RB,WithTooltipPure:XD,Zoom:KD,codeCommon:Wt,components:u6,createCopyToClipboardFunction:Hl,getStoryHref:s6,icons:fd,nameSpaceClassNames:ee,withReset:te},Symbol.toStringTag,{value:"Module"}));var w_=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),b_=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),D_=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),E_=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),C_=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),i.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),x_=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),hd=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),MP=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),F_=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),S_=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),A_=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),i.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),k_=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),B_=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),__=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),c6=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),I_=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e})));const{deprecate:R_,once:z_,logger:Ip}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{filterArgTypes:T2,composeConfigs:OP,Preview:PP,DocsContext:NP}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_ARGS_UPDATED:L2,UPDATE_STORY_ARGS:T_,RESET_STORY_ARGS:L_,GLOBALS_UPDATED:M2,NAVIGATE_URL:d6}=__STORYBOOK_MODULE_CORE_EVENTS__,{Channel:HP}=__STORYBOOK_MODULE_CHANNELS__;var p6=Wr({"../../node_modules/memoizerific/memoizerific.js"(e,t){(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return function r(n,a,o){function l(d,f){if(!a[d]){if(!n[d]){var g=typeof jo=="function"&&jo;if(!f&&g)return g(d,!0);if(u)return u(d,!0);var p=new Error("Cannot find module '"+d+"'");throw p.code="MODULE_NOT_FOUND",p}var h=a[d]={exports:{}};n[d][0].call(h.exports,function(v){var y=n[d][1][v];return l(y||v)},h,h.exports,r,n,a,o)}return a[d].exports}for(var u=typeof jo=="function"&&jo,c=0;c=0)return this.lastItem=this.list[u],this.list[u].val},o.prototype.set=function(l,u){var c;return this.lastItem&&this.isEqual(this.lastItem.key,l)?(this.lastItem.val=u,this):(c=this.indexOf(l),c>=0?(this.lastItem=this.list[c],this.list[c].val=u,this):(this.lastItem={key:l,val:u},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(l){var u;if(this.lastItem&&this.isEqual(this.lastItem.key,l)&&(this.lastItem=void 0),u=this.indexOf(l),u>=0)return this.size--,this.list.splice(u,1)[0]},o.prototype.has=function(l){var u;return this.lastItem&&this.isEqual(this.lastItem.key,l)?!0:(u=this.indexOf(l),u>=0?(this.lastItem=this.list[u],!0):!1)},o.prototype.forEach=function(l,u){var c;for(c=0;c0&&(D[C]={cacheItem:v,arg:arguments[C]},E?l(g,D):g.push(D),g.length>d&&u(g.shift())),h.wasMemoized=E,h.numArgs=C+1,b};return h.limit=d,h.wasMemoized=!1,h.cache=f,h.lru=g,h}};function l(d,f){var g=d.length,p=f.length,h,v,y;for(v=0;v=0&&(g=d[h],p=g.cacheItem.get(g.arg),!p||!p.size);h--)g.cacheItem.delete(g.arg)}function c(d,f){return d===f||d!==d&&f!==f}},{"map-or-similar":1}]},{},[3])(3)})}}),M_=Wr({"../../node_modules/tocbot/src/js/default-options.js"(e,t){t.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(r){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(r){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}}}),O_=Wr({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,a=[].some,o=document.body,l,u=!0,c=" ";function d(w,x){var F=x.appendChild(g(w));if(w.children.length){var S=p(w.isCollapsed);w.children.forEach(function(A){d(A,S)}),F.appendChild(S)}}function f(w,x){var F=!1,S=p(F);if(x.forEach(function(A){d(A,S)}),l=w||l,l!==null)return l.firstChild&&l.removeChild(l.firstChild),x.length===0?l:l.appendChild(S)}function g(w){var x=document.createElement("li"),F=document.createElement("a");return r.listItemClass&&x.setAttribute("class",r.listItemClass),r.onClick&&(F.onclick=r.onClick),r.includeTitleTags&&F.setAttribute("title",w.textContent),r.includeHtml&&w.childNodes.length?n.call(w.childNodes,function(S){F.appendChild(S.cloneNode(!0))}):F.textContent=w.textContent,F.setAttribute("href",r.basePath+"#"+w.id),F.setAttribute("class",r.linkClass+c+"node-name--"+w.nodeName+c+r.extraLinkClasses),x.appendChild(F),x}function p(w){var x=r.orderedList?"ol":"ul",F=document.createElement(x),S=r.listClass+c+r.extraListClasses;return w&&(S=S+c+r.collapsibleClass,S=S+c+r.isCollapsedClass),F.setAttribute("class",S),F}function h(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var w;w=document.querySelector(r.scrollContainer).scrollTop}else w=document.documentElement.scrollTop||o.scrollTop;var x=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=l.offsetTop),w>r.fixedSidebarOffset?x.className.indexOf(r.positionFixedClass)===-1&&(x.className+=c+r.positionFixedClass):x.className=x.className.replace(c+r.positionFixedClass,"")}function v(w){var x=0;return w!==null&&(x=w.offsetTop,r.hasInnerContainers&&(x+=v(w.offsetParent))),x}function y(w,x){return w&&w.className!==x&&(w.className=x),w}function b(w){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var x;x=document.querySelector(r.scrollContainer).scrollTop}else x=document.documentElement.scrollTop||o.scrollTop;r.positionFixedSelector&&h();var F=w,S;if(u&&l!==null&&F.length>0){a.call(F,function(M,L){if(v(M)>x+r.headingsOffset+10){var O=L===0?L:L-1;return S=F[O],!0}else if(L===F.length-1)return S=F[F.length-1],!0});var A=l.querySelector("."+r.activeLinkClass),B=l.querySelector("."+r.linkClass+".node-name--"+S.nodeName+'[href="'+r.basePath+"#"+S.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(A===B)return;var _=l.querySelectorAll("."+r.linkClass);n.call(_,function(M){y(M,M.className.replace(c+r.activeLinkClass,""))});var I=l.querySelectorAll("."+r.listItemClass);n.call(I,function(M){y(M,M.className.replace(c+r.activeListItemClass,""))}),B&&B.className.indexOf(r.activeLinkClass)===-1&&(B.className+=c+r.activeLinkClass);var z=B&&B.parentNode;z&&z.className.indexOf(r.activeListItemClass)===-1&&(z.className+=c+r.activeListItemClass);var T=l.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call(T,function(M){M.className.indexOf(r.isCollapsedClass)===-1&&(M.className+=c+r.isCollapsedClass)}),B&&B.nextSibling&&B.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&y(B.nextSibling,B.nextSibling.className.replace(c+r.isCollapsedClass,"")),C(B&&B.parentNode.parentNode)}}function C(w){return w&&w.className.indexOf(r.collapsibleClass)!==-1&&w.className.indexOf(r.isCollapsedClass)!==-1?(y(w,w.className.replace(c+r.isCollapsedClass,"")),C(w.parentNode.parentNode)):w}function D(w){var x=w.target||w.srcElement;typeof x.className!="string"||x.className.indexOf(r.linkClass)===-1||(u=!1)}function E(){u=!0}return{enableTocAnimation:E,disableTocAnimation:D,render:f,updateToc:b}}}}),P_=Wr({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function a(g){return g[g.length-1]}function o(g){return+g.nodeName.toUpperCase().replace("H","")}function l(g){try{return g instanceof window.HTMLElement||g instanceof window.parent.HTMLElement}catch{return g instanceof window.HTMLElement}}function u(g){if(!l(g))return g;if(r.ignoreHiddenElements&&(!g.offsetHeight||!g.offsetParent))return null;let p=g.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(g.innerText)):(g.innerText||g.textContent).trim());var h={id:g.id,children:[],nodeName:g.nodeName,headingLevel:o(g),textContent:p};return r.includeHtml&&(h.childNodes=g.childNodes),r.headingObjectCallback?r.headingObjectCallback(h,g):h}function c(g,p){for(var h=u(g),v=h.headingLevel,y=p,b=a(y),C=b?b.headingLevel:0,D=v-C;D>0&&(b=a(y),!(b&&v===b.headingLevel));)b&&b.children!==void 0&&(y=b.children),D--;return v>=r.collapseDepth&&(h.isCollapsed=!0),y.push(h),y}function d(g,p){var h=p;r.ignoreSelector&&(h=p.split(",").map(function(v){return v.trim()+":not("+r.ignoreSelector+")"}));try{return g.querySelectorAll(h)}catch{return console.warn("Headers not found with selector: "+h),null}}function f(g){return n.call(g,function(p,h){var v=u(h);return v&&c(v,p.nest),p},{nest:[]})}return{nestHeadingsArray:f,selectHeadings:d}}}}),N_=Wr({"../../node_modules/tocbot/src/js/update-toc-scroll.js"(e,t){t.exports=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var a=n.querySelector("."+r.activeListItemClass);a&&(n.scrollTop=a.offsetTop-r.tocScrollOffset)}}}}),H_=Wr({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e){e.initSmoothScrolling=t;function t(n){var a=n.duration,o=n.offset,l=location.hash?d(location.href):location.href;u();function u(){document.body.addEventListener("click",g,!1);function g(p){!c(p.target)||p.target.className.indexOf("no-smooth-scroll")>-1||p.target.href.charAt(p.target.href.length-2)==="#"&&p.target.href.charAt(p.target.href.length-1)==="!"||p.target.className.indexOf(n.linkClass)===-1||r(p.target.hash,{duration:a,offset:o,callback:function(){f(p.target.hash)}})}}function c(g){return g.tagName.toLowerCase()==="a"&&(g.hash.length>0||g.href.charAt(g.href.length-1)==="#")&&(d(g.href)===l||d(g.href)+"#"===l)}function d(g){return g.slice(0,g.lastIndexOf("#"))}function f(g){var p=document.getElementById(g.substring(1));p&&(/^(?:a|select|input|button|textarea)$/i.test(p.tagName)||(p.tabIndex=-1),p.focus())}}function r(n,a){var o=window.pageYOffset,l={duration:a.duration,offset:a.offset||0,callback:a.callback,easing:a.easing||v},u=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),c=typeof n=="string"?l.offset+(n?u&&u.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,d=typeof l.duration=="function"?l.duration(c):l.duration,f,g;requestAnimationFrame(function(y){f=y,p(y)});function p(y){g=y-f,window.scrollTo(0,l.easing(g,o,c,d)),g"u"&&!g)return;var p,h=Object.prototype.hasOwnProperty;function v(){for(var D={},E=0;E=0&&a<1?(u=o,c=l):a>=1&&a<2?(u=l,c=o):a>=2&&a<3?(c=o,d=l):a>=3&&a<4?(c=l,d=o):a>=4&&a<5?(u=l,d=o):a>=5&&a<6&&(u=o,d=l);var f=r-o/2,g=u+f,p=c+f,h=d+f;return n(g,p,h)}var O2={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function G_(e){if(typeof e!="string")return e;var t=e.toLowerCase();return O2[t]?"#"+O2[t]:e}var K_=/^#[a-fA-F0-9]{6}$/,Y_=/^#[a-fA-F0-9]{8}$/,Z_=/^#[a-fA-F0-9]{3}$/,J_=/^#[a-fA-F0-9]{4}$/,Rc=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,X_=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,Q_=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,eI=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function us(e){if(typeof e!="string")throw new Et(3);var t=G_(e);if(t.match(K_))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(Y_)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(Z_))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(J_)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=Rc.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=X_.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var l=Q_.exec(t);if(l){var u=parseInt(""+l[1],10),c=parseInt(""+l[2],10)/100,d=parseInt(""+l[3],10)/100,f="rgb("+yi(u,c,d)+")",g=Rc.exec(f);if(!g)throw new Et(4,t,f);return{red:parseInt(""+g[1],10),green:parseInt(""+g[2],10),blue:parseInt(""+g[3],10)}}var p=eI.exec(t.substring(0,50));if(p){var h=parseInt(""+p[1],10),v=parseInt(""+p[2],10)/100,y=parseInt(""+p[3],10)/100,b="rgb("+yi(h,v,y)+")",C=Rc.exec(b);if(!C)throw new Et(4,t,b);return{red:parseInt(""+C[1],10),green:parseInt(""+C[2],10),blue:parseInt(""+C[3],10),alpha:parseFloat(""+p[4])>1?parseFloat(""+p[4])/100:parseFloat(""+p[4])}}throw new Et(5)}function tI(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),l=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:l,alpha:e.alpha}:{hue:0,saturation:0,lightness:l};var u,c=a-o,d=l>.5?c/(2-a-o):c/(a+o);switch(a){case t:u=(r-n)/c+(r=1?m6(e.hue,e.saturation,e.lightness):"rgba("+yi(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Et(2)}function g6(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return vd("#"+Ar(e)+Ar(t)+Ar(r));if(typeof e=="object"&&t===void 0&&r===void 0)return vd("#"+Ar(e.red)+Ar(e.green)+Ar(e.blue));throw new Et(6)}function jt(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=us(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?g6(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new Et(7)}var lI=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},iI=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},sI=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},uI=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function v6(e){if(typeof e!="object")throw new Et(8);if(iI(e))return jt(e);if(lI(e))return g6(e);if(uI(e))return oI(e);if(sI(e))return aI(e);throw new Et(8)}function y6(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):y6(e,t,n)}}function cs(e){return y6(e,e.length,[])}function ds(e,t,r){return Math.max(e,Math.min(t,r))}function cI(e,t){if(t==="transparent")return t;var r=h6(t);return v6(qn({},r,{lightness:ds(0,1,r.lightness-parseFloat(e))}))}var dI=cs(cI),wt=dI;function pI(e,t){if(t==="transparent")return t;var r=h6(t);return v6(qn({},r,{lightness:ds(0,1,r.lightness+parseFloat(e))}))}var fI=cs(pI),kr=fI;function hI(e,t){if(t==="transparent")return t;var r=us(t),n=typeof r.alpha=="number"?r.alpha:1,a=qn({},r,{alpha:ds(0,1,(n*100+parseFloat(e)*100)/100)});return jt(a)}var mI=cs(hI),hl=mI;function gI(e,t){if(t==="transparent")return t;var r=us(t),n=typeof r.alpha=="number"?r.alpha:1,a=qn({},r,{alpha:ds(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return jt(a)}var vI=cs(gI),Q=vI,yI=k.div(te,({theme:e})=>({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:Q(.3,e.color.defaultText),fontSize:e.typography.size.s2})),w6=e=>m.createElement(yI,{...e,className:"docblock-emptyblock sb-unstyled"}),wI=k(as)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),bI=k.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),ml=k.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${$c}`]:{margin:0}})),DI=()=>m.createElement(bI,null,m.createElement(ml,null),m.createElement(ml,{style:{width:"80%"}}),m.createElement(ml,{style:{width:"30%"}}),m.createElement(ml,{style:{width:"80%"}})),b6=({isLoading:e,error:t,language:r,code:n,dark:a,format:o=!1,...l})=>{let{typography:u}=gv();if(e)return m.createElement(DI,null);if(t)return m.createElement(w6,null,t);let c=m.createElement(wI,{bordered:!0,copyable:!0,format:o,language:r,className:"docblock-source sb-unstyled",...l},n);if(typeof a>"u")return c;let d=a?Kp.dark:Kp.light;return m.createElement(vv,{theme:_8({...d,fontCode:u.fonts.mono,fontBase:u.fonts.base})},c)},ie=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,Rp=600,EI=k.h1(te,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${Rp}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),CI=k.h2(te,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${Rp}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:Q(.25,e.color.defaultText)})),xI=k.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?Q(.1,e.color.defaultText):Q(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[ie("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[ie("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[ie("div")]:t,[ie("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[ie("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[ie("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[ie("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[ie("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[ie("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[ie("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[ie("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[ie("img")]:{maxWidth:"100%"},[ie("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[ie("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[ie("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[ie("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[ie("span")]:{...t,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[ie("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[ie("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),FI=k.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${Rp}px)`]:{}})),SI=({children:e,toc:t})=>m.createElement(FI,{className:"sbdocs sbdocs-wrapper"},m.createElement(xI,{className:"sbdocs sbdocs-content"},e),t),ps=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),{window:AI}=globalThis,kI=class extends i.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=AI.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:r,allowFullScreen:n,scale:a,...o}=this.props;return m.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...o})}},D6=i.createContext({scale:1}),{PREVIEW_URL:BI}=globalThis,_I=BI||"iframe.html",yd=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,II=e=>{let t=i.useRef(),[r,n]=i.useState(!0),[a,o]=i.useState(),{story:l,height:u,autoplay:c,forceInitialArgs:d,renderStoryToElement:f}=e;return i.useEffect(()=>{if(!(l&&t.current))return()=>{};let g=t.current,p=f(l,g,{showMain:()=>{},showError:({title:h,description:v})=>o(new Error(`${h} - ${v}`)),showException:h=>o(h)},{autoplay:c,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>p())}},[c,f,l]),a?m.createElement("pre",null,m.createElement(YD,{error:a})):m.createElement(m.Fragment,null,u?m.createElement("style",null,`#${yd(e)} { min-height: ${u}; transform: translateZ(0); overflow: auto }`):null,r&&m.createElement(E6,null),m.createElement("div",{ref:t,id:`${yd(e)}-inner`,"data-name":l.name}))},RI=({story:e,height:t="500px"})=>m.createElement("div",{style:{width:"100%",height:t}},m.createElement(D6.Consumer,null,({scale:r})=>m.createElement(kI,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:s6(_I,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),zI=k.strong(({theme:e})=>({color:e.color.orange})),TI=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?m.createElement(zI,null,"This story mounts inside of play. Set"," ",m.createElement("a",{href:"https://storybook.js.org/docs/api/doc-blocks/doc-block-story#autoplay"},"autoplay")," ","to true to view this story."):m.createElement("div",{id:yd(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?m.createElement(II,{...e}):m.createElement(RI,{...e}))},E6=()=>m.createElement(l6,null),LI=k(ss)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),MI=k.div({display:"flex",alignItems:"center",gap:4}),OI=k.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),PI=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...o})=>m.createElement(LI,{...o},m.createElement(MI,{key:"left"},e?[1,2,3].map(l=>m.createElement(OI,{key:l})):m.createElement(m.Fragment,null,m.createElement(nr,{key:"zoomin",onClick:l=>{l.preventDefault(),n(.8)},title:"Zoom in"},m.createElement(w_,null)),m.createElement(nr,{key:"zoomout",onClick:l=>{l.preventDefault(),n(1.25)},title:"Zoom out"},m.createElement(b_,null)),m.createElement(nr,{key:"zoomreset",onClick:l=>{l.preventDefault(),a()},title:"Reset zoom"},m.createElement(D_,null))))),NI=k.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),P2=k(b6)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":wt(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":wt(.05,e.background.content)}})),HI=k.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...ps(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),jI=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:m.createElement(P2,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:m.createElement(P2,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function $I(e){if(i.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var VI=k(PI)({position:"absolute",top:0,left:0,right:0,height:40}),UI=k.div({overflow:"hidden",position:"relative"}),C6=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:o=!1,isExpanded:l=!1,additionalActions:u,className:c,layout:d="padded",...f})=>{let[g,p]=i.useState(l),{source:h,actionItem:v}=jI(a,g,p),[y,b]=i.useState(1),C=[c].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),D=a?[v]:[],[E,w]=i.useState(u?[...u]:[]),x=[...D,...E],{window:F}=globalThis,S=i.useCallback(async B=>{let{createCopyToClipboardFunction:_}=await Ad(async()=>{const{createCopyToClipboardFunction:I}=await Promise.resolve().then(()=>y_);return{createCopyToClipboardFunction:I}},void 0,import.meta.url);_()},[]),A=B=>{let _=F.getSelection();_&&_.type==="Range"||(B.preventDefault(),E.filter(I=>I.title==="Copied").length===0&&S(h.props.code).then(()=>{w([...E,{title:"Copied",onClick:()=>{}}]),F.setTimeout(()=>w(E.filter(I=>I.title!=="Copied")),1500)}))};return m.createElement(HI,{withSource:a,withToolbar:o,...f,className:C.join(" ")},o&&m.createElement(VI,{isLoading:e,border:!0,zoom:B=>b(y*B),resetZoom:()=>b(1),storyId:$I(n),baseUrl:"./iframe.html"}),m.createElement(D6.Provider,{value:{scale:y}},m.createElement(UI,{className:"docs-story",onCopyCapture:a&&A},m.createElement(NI,{isColumn:t||!Array.isArray(n),columns:r,layout:d},m.createElement(KD.Element,{scale:y},Array.isArray(n)?n.map((B,_)=>m.createElement("div",{key:_},B)):m.createElement("div",null,n))),m.createElement(Si,{actionItems:x}))),a&&g&&h)};k(C6)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));function _r(){return _r=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{class:"className",for:"htmlFor"}),j2={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},WI=["style","script"],GI=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,KI=/mailto:/i,YI=/\n{2,}$/,x6=/^(\s*>[\s\S]*?)(?=\n\n|$)/,ZI=/^ *> ?/gm,JI=/^(?:\[!([^\]]*)\]\n)?([\s\S]*)/,XI=/^ {2,}\n/,QI=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,F6=/^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/,S6=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,eR=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,tR=/^(?:\n *)*\n/,rR=/\r\n?/g,nR=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,aR=/^\[\^([^\]]+)]/,oR=/\f/g,lR=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,iR=/^\s*?\[(x|\s)\]/,A6=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,k6=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,B6=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,wd=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,sR=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,_6=/^)/,uR=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,bd=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,cR=/^\{.*\}$/,dR=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,pR=/^<([^ >]+@[^ >]+)>/,fR=/^<([^ >]+:\/[^ >]+)>/,hR=/-([a-z])?/gi,I6=/^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/,mR=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,gR=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,vR=/^\[([^\]]*)\] ?\[([^\]]*)\]/,yR=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,wR=/\t/g,bR=/(^ *\||\| *$)/g,DR=/^ *:-+: *$/,ER=/^ *:-+ *$/,CR=/^ *-+: *$/,fs="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",xR=new RegExp(`^([*_])\\1${fs}\\1\\1(?!\\1)`),FR=new RegExp(`^([*_])${fs}\\1(?!\\1|\\w)`),SR=new RegExp(`^==${fs}==`),AR=new RegExp(`^~~${fs}~~`),kR=/^\\([^0-9A-Za-z\s])/,BR=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,_R=/^\n+/,IR=/^([ \t]*)/,RR=/\\([^\\])/g,$2=/ *\n+$/,zR=/(?:^|\n)( *)$/,zp="(?:\\d+\\.)",Tp="(?:[*+-])";function R6(e){return"( *)("+(e===1?zp:Tp)+") +"}var z6=R6(1),T6=R6(2);function L6(e){return new RegExp("^"+(e===1?z6:T6))}var TR=L6(1),LR=L6(2);function M6(e){return new RegExp("^"+(e===1?z6:T6)+"[^\\n]*(?:\\n(?!\\1"+(e===1?zp:Tp)+" )[^\\n]*)*(\\n|$)","gm")}var O6=M6(1),P6=M6(2);function N6(e){let t=e===1?zp:Tp;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var H6=N6(1),j6=N6(2);function V2(e,t){let r=t===1,n=r?H6:j6,a=r?O6:P6,o=r?TR:LR;return{match(l,u){let c=zR.exec(u.prevCapture);return c&&(u.list||!u.inline&&!u.simple)?n.exec(l=c[1]+l):null},order:1,parse(l,u,c){let d=r?+l[2]:void 0,f=l[0].replace(YI,` `).match(a),g=!1;return{items:f.map(function(p,h){let v=o.exec(p)[0].length,y=new RegExp("^ {1,"+v+"}","gm"),b=p.replace(y,"").replace(o,""),C=h===f.length-1,D=b.indexOf(` `)!==-1||C&&g;g=D;let E=c.inline,w=c.list,x;c.list=!0,D?(c.inline=!1,x=b.replace($2,` -`)):(c.inline=!0,x=b.replace($2,""));let F=s(x,c);return c.inline=E,c.list=w,F}),ordered:r,start:d}},render:(l,s,c)=>e(l.ordered?"ol":"ul",{key:c.key,start:l.type===H.orderedList?l.start:void 0},l.items.map(function(d,f){return e("li",{key:f},s(d,c))}))}}var MR=new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),OR=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,$6=[x6,F6,S6,A6,B6,k6,_6,I6,O6,H6,P6,j6],PR=[...$6,/^[^\n]+(?: \n|\n{2,})/,wd,bd];function Fa(e){return e.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function NR(e){return CR.test(e)?"right":DR.test(e)?"center":ER.test(e)?"left":null}function U2(e,t,r,n){let a=r.inTable;r.inTable=!0;let o=e.trim().split(/( *(?:`[^`]*`|\\\||\|) *)/).reduce((s,c)=>(c.trim()==="|"?s.push(n?{type:H.tableSeparator}:{type:H.text,text:c}):c!==""&&s.push.apply(s,t(c,r)),s),[]);r.inTable=a;let l=[[]];return o.forEach(function(s,c){s.type===H.tableSeparator?c!==0&&c!==o.length-1&&l.push([]):(s.type!==H.text||o[c+1]!=null&&o[c+1].type!==H.tableSeparator||(s.text=s.text.trimEnd()),l[l.length-1].push(s))}),l}function HR(e,t,r){r.inline=!0;let n=e[2]?e[2].replace(bR,"").split("|").map(NR):[],a=e[3]?function(l,s,c){return l.trim().split(` -`).map(function(d){return U2(d,s,c,!0)})}(e[3],t,r):[],o=U2(e[1],t,r,!!a.length);return r.inline=!1,a.length?{align:n,cells:a,header:o,type:H.table}:{children:o,type:H.paragraph}}function q2(e,t){return e.align[t]==null?{}:{textAlign:e.align[t]}}function Yt(e){return function(t,r){return r.inline?e.exec(t):null}}function Zt(e){return function(t,r){return r.inline||r.simple?e.exec(t):null}}function Pt(e){return function(t,r){return r.inline||r.simple?null:e.exec(t)}}function Sa(e){return function(t){return e.exec(t)}}function jR(e,t){if(t.inline||t.simple)return null;let r="";e.split(` +`)):(c.inline=!0,x=b.replace($2,""));let F=u(x,c);return c.inline=E,c.list=w,F}),ordered:r,start:d}},render:(l,u,c)=>e(l.ordered?"ol":"ul",{key:c.key,start:l.type===H.orderedList?l.start:void 0},l.items.map(function(d,f){return e("li",{key:f},u(d,c))}))}}var MR=new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),OR=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,$6=[x6,F6,S6,A6,B6,k6,_6,I6,O6,H6,P6,j6],PR=[...$6,/^[^\n]+(?: \n|\n{2,})/,wd,bd];function Fa(e){return e.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function NR(e){return CR.test(e)?"right":DR.test(e)?"center":ER.test(e)?"left":null}function U2(e,t,r,n){let a=r.inTable;r.inTable=!0;let o=e.trim().split(/( *(?:`[^`]*`|\\\||\|) *)/).reduce((u,c)=>(c.trim()==="|"?u.push(n?{type:H.tableSeparator}:{type:H.text,text:c}):c!==""&&u.push.apply(u,t(c,r)),u),[]);r.inTable=a;let l=[[]];return o.forEach(function(u,c){u.type===H.tableSeparator?c!==0&&c!==o.length-1&&l.push([]):(u.type!==H.text||o[c+1]!=null&&o[c+1].type!==H.tableSeparator||(u.text=u.text.trimEnd()),l[l.length-1].push(u))}),l}function HR(e,t,r){r.inline=!0;let n=e[2]?e[2].replace(bR,"").split("|").map(NR):[],a=e[3]?function(l,u,c){return l.trim().split(` +`).map(function(d){return U2(d,u,c,!0)})}(e[3],t,r):[],o=U2(e[1],t,r,!!a.length);return r.inline=!1,a.length?{align:n,cells:a,header:o,type:H.table}:{children:o,type:H.paragraph}}function q2(e,t){return e.align[t]==null?{}:{textAlign:e.align[t]}}function Yt(e){return function(t,r){return r.inline?e.exec(t):null}}function Zt(e){return function(t,r){return r.inline||r.simple?e.exec(t):null}}function Pt(e){return function(t,r){return r.inline||r.simple?null:e.exec(t)}}function Sa(e){return function(t){return e.exec(t)}}function jR(e,t){if(t.inline||t.simple)return null;let r="";e.split(` `).every(a=>!$6.some(o=>o.test(a))&&(r+=a+` `,a.trim()));let n=r.trimEnd();return n==""?null:[r,n]}function $R(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return null}catch{return null}return e}function W2(e){return e.replace(RR,"$1")}function Ol(e,t,r){let n=r.inline||!1,a=r.simple||!1;r.inline=!0,r.simple=!0;let o=e(t,r);return r.inline=n,r.simple=a,o}function VR(e,t,r){let n=r.inline||!1,a=r.simple||!1;r.inline=!1,r.simple=!0;let o=e(t,r);return r.inline=n,r.simple=a,o}function UR(e,t,r){let n=r.inline||!1;r.inline=!1;let a=e(t,r);return r.inline=n,a}var Tc=(e,t,r)=>({children:Ol(t,e[1],r)});function Lc(){return{}}function Mc(){return null}function qR(...e){return e.filter(Boolean).join(" ")}function Oc(e,t,r){let n=e,a=t.split(".");for(;a.length&&(n=n[a[0]],n!==void 0);)a.shift();return n||r}function WR(e="",t={}){function r(p,h,...v){let y=Oc(t.overrides,`${p}.props`,{});return t.createElement(function(b,C){let D=Oc(C,b);return D?typeof D=="function"||typeof D=="object"&&"render"in D?D:Oc(C,`${b}.component`,b):b}(p,t.overrides),_r({},h,y,{className:qR(h==null?void 0:h.className,y.className)||void 0}),...v)}function n(p){p=p.replace(lR,"");let h=!1;t.forceInline?h=!0:t.forceBlock||(h=yR.test(p)===!1);let v=d(c(h?p:`${p.trimEnd().replace(_R,"")} -`,{inline:h}));for(;typeof v[v.length-1]=="string"&&!v[v.length-1].trim();)v.pop();if(t.wrapper===null)return v;let y=t.wrapper||(h?"span":"div"),b;if(v.length>1||t.forceWrapper)b=v;else{if(v.length===1)return b=v[0],typeof b=="string"?r("span",{key:"outer"},b):b;b=null}return t.createElement(y,{key:"outer"},b)}function a(p,h){let v=h.match(GI);return v?v.reduce(function(y,b){let C=b.indexOf("=");if(C!==-1){let D=function(F){return F.indexOf("-")!==-1&&F.match(sR)===null&&(F=F.replace(hR,function(S,A){return A.toUpperCase()})),F}(b.slice(0,C)).trim(),E=function(F){let S=F[0];return(S==='"'||S==="'")&&F.length>=2&&F[F.length-1]===S?F.slice(1,-1):F}(b.slice(C+1).trim()),w=H2[D]||D;if(w==="ref")return y;let x=y[w]=function(F,S,A,B){return S==="style"?A.split(/;\s?/).reduce(function(_,I){let z=I.slice(0,I.indexOf(":"));return _[z.trim().replace(/(-[a-z])/g,T=>T[1].toUpperCase())]=I.slice(z.length+1).trim(),_},{}):S==="href"||S==="src"?B(A,F,S):(A.match(cR)&&(A=A.slice(1,A.length-1)),A==="true"||A!=="false"&&A)}(p,D,E,t.sanitizer);typeof x=="string"&&(wd.test(x)||bd.test(x))&&(y[w]=n(x.trim()))}else b!=="style"&&(y[H2[b]||b]=!0);return y},{}):null}t.overrides=t.overrides||{},t.sanitizer=t.sanitizer||$R,t.slugify=t.slugify||Fa,t.namedCodesToUnicode=t.namedCodesToUnicode?_r({},j2,t.namedCodesToUnicode):j2,t.createElement=t.createElement||i.createElement;let o=[],l={},s={[H.blockQuote]:{match:Pt(x6),order:1,parse(p,h,v){let[,y,b]=p[0].replace(ZI,"").match(JI);return{alert:y,children:h(b,v)}},render(p,h,v){let y={key:v.key};return p.alert&&(y.className="markdown-alert-"+t.slugify(p.alert.toLowerCase(),Fa),p.children.unshift({attrs:{},children:[{type:H.text,text:p.alert}],noInnerParse:!0,type:H.htmlBlock,tag:"header"})),r("blockquote",y,h(p.children,v))}},[H.breakLine]:{match:Sa(XI),order:1,parse:Lc,render:(p,h,v)=>r("br",{key:v.key})},[H.breakThematic]:{match:Pt(QI),order:1,parse:Lc,render:(p,h,v)=>r("hr",{key:v.key})},[H.codeBlock]:{match:Pt(S6),order:0,parse:p=>({lang:void 0,text:p[0].replace(/^ {4}/gm,"").replace(/\n+$/,"")}),render:(p,h,v)=>r("pre",{key:v.key},r("code",_r({},p.attrs,{className:p.lang?`lang-${p.lang}`:""}),p.text))},[H.codeFenced]:{match:Pt(F6),order:0,parse:p=>({attrs:a("code",p[3]||""),lang:p[2]||void 0,text:p[4],type:H.codeBlock})},[H.codeInline]:{match:Zt(eR),order:3,parse:p=>({text:p[2]}),render:(p,h,v)=>r("code",{key:v.key},p.text)},[H.footnote]:{match:Pt(nR),order:0,parse:p=>(o.push({footnote:p[2],identifier:p[1]}),{}),render:Mc},[H.footnoteReference]:{match:Yt(aR),order:1,parse:p=>({target:`#${t.slugify(p[1],Fa)}`,text:p[1]}),render:(p,h,v)=>r("a",{key:v.key,href:t.sanitizer(p.target,"a","href")},r("sup",{key:v.key},p.text))},[H.gfmTask]:{match:Yt(iR),order:1,parse:p=>({completed:p[1].toLowerCase()==="x"}),render:(p,h,v)=>r("input",{checked:p.completed,key:v.key,readOnly:!0,type:"checkbox"})},[H.heading]:{match:Pt(t.enforceAtxHeadings?k6:A6),order:1,parse:(p,h,v)=>({children:Ol(h,p[2],v),id:t.slugify(p[2],Fa),level:p[1].length}),render:(p,h,v)=>r(`h${p.level}`,{id:p.id,key:v.key},h(p.children,v))},[H.headingSetext]:{match:Pt(B6),order:0,parse:(p,h,v)=>({children:Ol(h,p[1],v),level:p[2]==="="?1:2,type:H.heading})},[H.htmlBlock]:{match:Sa(wd),order:1,parse(p,h,v){let[,y]=p[3].match(IR),b=new RegExp(`^${y}`,"gm"),C=p[3].replace(b,""),D=(E=C,PR.some(A=>A.test(E))?UR:Ol);var E;let w=p[1].toLowerCase(),x=WI.indexOf(w)!==-1,F=(x?w:p[1]).trim(),S={attrs:a(F,p[2]),noInnerParse:x,tag:F};return v.inAnchor=v.inAnchor||w==="a",x?S.text=p[3]:S.children=D(h,C,v),v.inAnchor=!1,S},render:(p,h,v)=>r(p.tag,_r({key:v.key},p.attrs),p.text||(p.children?h(p.children,v):""))},[H.htmlSelfClosing]:{match:Sa(bd),order:1,parse(p){let h=p[1].trim();return{attrs:a(h,p[2]||""),tag:h}},render:(p,h,v)=>r(p.tag,_r({},p.attrs,{key:v.key}))},[H.htmlComment]:{match:Sa(_6),order:1,parse:()=>({}),render:Mc},[H.image]:{match:Zt(OR),order:1,parse:p=>({alt:p[1],target:W2(p[2]),title:p[3]}),render:(p,h,v)=>r("img",{key:v.key,alt:p.alt||void 0,title:p.title||void 0,src:t.sanitizer(p.target,"img","src")})},[H.link]:{match:Yt(MR),order:3,parse:(p,h,v)=>({children:VR(h,p[1],v),target:W2(p[2]),title:p[3]}),render:(p,h,v)=>r("a",{key:v.key,href:t.sanitizer(p.target,"a","href"),title:p.title},h(p.children,v))},[H.linkAngleBraceStyleDetector]:{match:Yt(fR),order:0,parse:p=>({children:[{text:p[1],type:H.text}],target:p[1],type:H.link})},[H.linkBareUrlDetector]:{match:(p,h)=>h.inAnchor||t.disableAutoLink?null:Yt(dR)(p,h),order:0,parse:p=>({children:[{text:p[1],type:H.text}],target:p[1],title:void 0,type:H.link})},[H.linkMailtoDetector]:{match:Yt(pR),order:0,parse(p){let h=p[1],v=p[1];return KI.test(v)||(v="mailto:"+v),{children:[{text:h.replace("mailto:",""),type:H.text}],target:v,type:H.link}}},[H.orderedList]:V2(r,1),[H.unorderedList]:V2(r,2),[H.newlineCoalescer]:{match:Pt(tR),order:3,parse:Lc,render:()=>` -`},[H.paragraph]:{match:jR,order:3,parse:Tc,render:(p,h,v)=>r("p",{key:v.key},h(p.children,v))},[H.ref]:{match:Yt(mR),order:0,parse:p=>(l[p[1]]={target:p[2],title:p[4]},{}),render:Mc},[H.refImage]:{match:Zt(gR),order:0,parse:p=>({alt:p[1]||void 0,ref:p[2]}),render:(p,h,v)=>l[p.ref]?r("img",{key:v.key,alt:p.alt,src:t.sanitizer(l[p.ref].target,"img","src"),title:l[p.ref].title}):null},[H.refLink]:{match:Yt(vR),order:0,parse:(p,h,v)=>({children:h(p[1],v),fallbackChildren:p[0],ref:p[2]}),render:(p,h,v)=>l[p.ref]?r("a",{key:v.key,href:t.sanitizer(l[p.ref].target,"a","href"),title:l[p.ref].title},h(p.children,v)):r("span",{key:v.key},p.fallbackChildren)},[H.table]:{match:Pt(I6),order:1,parse:HR,render(p,h,v){let y=p;return r("table",{key:v.key},r("thead",null,r("tr",null,y.header.map(function(b,C){return r("th",{key:C,style:q2(y,C)},h(b,v))}))),r("tbody",null,y.cells.map(function(b,C){return r("tr",{key:C},b.map(function(D,E){return r("td",{key:E,style:q2(y,E)},h(D,v))}))})))}},[H.text]:{match:Sa(BR),order:4,parse:p=>({text:p[0].replace(uR,(h,v)=>t.namedCodesToUnicode[v]?t.namedCodesToUnicode[v]:h)}),render:p=>p.text},[H.textBolded]:{match:Zt(xR),order:2,parse:(p,h,v)=>({children:h(p[2],v)}),render:(p,h,v)=>r("strong",{key:v.key},h(p.children,v))},[H.textEmphasized]:{match:Zt(FR),order:3,parse:(p,h,v)=>({children:h(p[2],v)}),render:(p,h,v)=>r("em",{key:v.key},h(p.children,v))},[H.textEscaped]:{match:Zt(kR),order:1,parse:p=>({text:p[1],type:H.text})},[H.textMarked]:{match:Zt(SR),order:3,parse:Tc,render:(p,h,v)=>r("mark",{key:v.key},h(p.children,v))},[H.textStrikethroughed]:{match:Zt(AR),order:3,parse:Tc,render:(p,h,v)=>r("del",{key:v.key},h(p.children,v))}};t.disableParsingRawHTML===!0&&(delete s[H.htmlBlock],delete s[H.htmlSelfClosing]);let c=function(p){let h=Object.keys(p);function v(y,b){let C=[];for(b.prevCapture=b.prevCapture||"";y;){let D=0;for(;DC(v,y,b),v,y,b):C(v,y,b)}}(s,t.renderRule),function p(h,v={}){if(Array.isArray(h)){let y=v.key,b=[],C=!1;for(let D=0;D{let{children:t="",options:r}=e,n=function(a,o){if(a==null)return{};var l,s,c={},d=Object.keys(a);for(s=0;s=0||(c[l]=a[l]);return c}(e,qI);return i.cloneElement(WR(t,r),n)},GR=k.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,'&[aria-disabled="true"]':{opacity:.5,input:{cursor:"not-allowed"}},input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:Q(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${hl(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${hl(.05,e.appBorderColor)} 0 0 0 2px inset`,color:hl(1,e.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:e.boolean.selectedBackground,boxShadow:e.base==="light"?`${hl(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),KR=e=>e==="true",YR=({name:e,value:t,onChange:r,onBlur:n,onFocus:a,argType:o})=>{var f;let l=i.useCallback(()=>r(!1),[r]),s=!!((f=o==null?void 0:o.table)!=null&&f.readonly);if(t===void 0)return m.createElement(hr,{variant:"outline",size:"medium",id:wi(e),onClick:l,disabled:s},"Set boolean");let c=it(e),d=typeof t=="string"?KR(t):t;return m.createElement(GR,{"aria-disabled":s,htmlFor:c,"aria-label":e},m.createElement("input",{id:c,type:"checkbox",onChange:g=>r(g.target.checked),checked:d,role:"switch",disabled:s,name:e,onBlur:n,onFocus:a}),m.createElement("span",{"aria-hidden":"true"},"False"),m.createElement("span",{"aria-hidden":"true"},"True"))},ZR=e=>{let[t,r,n]=e.split("-"),a=new Date;return a.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),a},JR=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},XR=e=>{let t=new Date(e),r=`000${t.getFullYear()}`.slice(-4),n=`0${t.getMonth()+1}`.slice(-2),a=`0${t.getDate()}`.slice(-2);return`${r}-${n}-${a}`},QR=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},G2=k(ta.Input)(({readOnly:e})=>({opacity:e?.5:1})),ez=k.div(({theme:e})=>({flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:e.base==="light"?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}})),tz=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,argType:o})=>{var v;let[l,s]=i.useState(!0),c=i.useRef(),d=i.useRef(),f=!!((v=o==null?void 0:o.table)!=null&&v.readonly);i.useEffect(()=>{l!==!1&&(c&&c.current&&(c.current.value=t?XR(t):""),d&&d.current&&(d.current.value=t?QR(t):""))},[t]);let g=y=>{if(!y.target.value)return r();let b=ZR(y.target.value),C=new Date(t);C.setFullYear(b.getFullYear(),b.getMonth(),b.getDate());let D=C.getTime();D&&r(D),s(!!D)},p=y=>{if(!y.target.value)return r();let b=JR(y.target.value),C=new Date(t);C.setHours(b.getHours()),C.setMinutes(b.getMinutes());let D=C.getTime();D&&r(D),s(!!D)},h=it(e);return m.createElement(ez,null,m.createElement(G2,{type:"date",max:"9999-12-31",ref:c,id:`${h}-date`,name:`${h}-date`,readOnly:f,onChange:g,onFocus:n,onBlur:a}),m.createElement(G2,{type:"time",id:`${h}-time`,name:`${h}-time`,ref:d,onChange:p,readOnly:f,onFocus:n,onBlur:a}),l?null:m.createElement("div",null,"invalid"))},rz=k.label({display:"flex"}),nz=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},az=k(ta.Input)(({readOnly:e})=>({opacity:e?.5:1})),oz=({name:e,value:t,onChange:r,min:n,max:a,step:o,onBlur:l,onFocus:s,argType:c})=>{var E;let[d,f]=i.useState(typeof t=="number"?t:""),[g,p]=i.useState(!1),[h,v]=i.useState(null),y=!!((E=c==null?void 0:c.table)!=null&&E.readonly),b=i.useCallback(w=>{f(w.target.value);let x=parseFloat(w.target.value);Number.isNaN(x)?v(new Error(`'${w.target.value}' is not a number`)):(r(x),v(null))},[r,v]),C=i.useCallback(()=>{f("0"),r(0),p(!0)},[p]),D=i.useRef(null);return i.useEffect(()=>{g&&D.current&&D.current.select()},[g]),i.useEffect(()=>{d!==(typeof t=="number"?t:"")&&f(t)},[t]),t===void 0?m.createElement(hr,{variant:"outline",size:"medium",id:wi(e),onClick:C,disabled:y},"Set number"):m.createElement(rz,null,m.createElement(az,{ref:D,id:it(e),type:"number",onChange:b,size:"flex",placeholder:"Edit number...",value:d,valid:h?"error":null,autoFocus:g,readOnly:y,name:e,min:n,max:a,step:o,onFocus:s,onBlur:l}))},U6=(e,t)=>{let r=t&&Object.entries(t).find(([n,a])=>a===e);return r?r[0]:void 0},Dd=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],q6=(e,t)=>e&&t&&e.map(r=>t[r]),lz=k.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),iz=k.span({"[aria-readonly=true] &":{opacity:.5}}),uz=k.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),K2=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var p;if(!t)return Ip.warn(`Checkbox with no options: ${e}`),m.createElement(m.Fragment,null,"-");let l=Dd(r,t),[s,c]=i.useState(l),d=!!((p=o==null?void 0:o.table)!=null&&p.readonly),f=h=>{let v=h.target.value,y=[...s];y.includes(v)?y.splice(y.indexOf(v),1):y.push(v),n(q6(y,t)),c(y)};i.useEffect(()=>{c(Dd(r,t))},[r]);let g=it(e);return m.createElement(lz,{"aria-readonly":d,isInline:a},Object.keys(t).map((h,v)=>{let y=`${g}-${v}`;return m.createElement(uz,{key:y,htmlFor:y},m.createElement("input",{type:"checkbox",disabled:d,id:y,name:y,value:h,onChange:f,checked:s==null?void 0:s.includes(h)}),m.createElement(iz,null,h))}))},sz=k.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),cz=k.span({"[aria-readonly=true] &":{opacity:.5}}),dz=k.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),Y2=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var d;if(!t)return Ip.warn(`Radio with no options: ${e}`),m.createElement(m.Fragment,null,"-");let l=U6(r,t),s=it(e),c=!!((d=o==null?void 0:o.table)!=null&&d.readonly);return m.createElement(sz,{"aria-readonly":c,isInline:a},Object.keys(t).map((f,g)=>{let p=`${s}-${g}`;return m.createElement(dz,{key:p,htmlFor:p},m.createElement("input",{type:"radio",id:p,name:s,disabled:c,value:f,onChange:h=>n(t[h.currentTarget.value]),checked:f===l}),m.createElement(cz,null,f))}))},pz={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},W6=k.select(pz,({theme:e})=>({boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:e.input.color||"inherit",background:e.input.background,borderRadius:e.input.borderRadius,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:e.textMutedColor},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}})),G6=k.span(({theme:e})=>({display:"inline-block",lineHeight:"normal",overflow:"hidden",position:"relative",verticalAlign:"top",width:"100%",svg:{position:"absolute",zIndex:1,pointerEvents:"none",height:"12px",marginTop:"-6px",right:"12px",top:"50%",fill:e.textMutedColor,path:{fill:e.textMutedColor}}})),Z2="Choose option...",fz=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=f=>{n(r[f.currentTarget.value])},l=U6(t,r)||Z2,s=it(e),c=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return m.createElement(G6,null,m.createElement(c6,null),m.createElement(W6,{disabled:c,id:s,value:l,onChange:o},m.createElement("option",{key:"no-selection",disabled:!0},Z2),Object.keys(r).map(f=>m.createElement("option",{key:f,value:f},f))))},hz=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=f=>{let g=Array.from(f.currentTarget.options).filter(p=>p.selected).map(p=>p.value);n(q6(g,r))},l=Dd(t,r),s=it(e),c=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return m.createElement(G6,null,m.createElement(W6,{disabled:c,id:s,multiple:!0,value:l,onChange:o},Object.keys(r).map(f=>m.createElement("option",{key:f,value:f},f))))},J2=e=>{let{name:t,options:r}=e;return r?e.isMulti?m.createElement(hz,{...e}):m.createElement(fz,{...e}):(Ip.warn(`Select with no options: ${t}`),m.createElement(m.Fragment,null,"-"))},mz=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[(t==null?void 0:t[n])||String(n)]=n,r),{}):e,gz={check:K2,"inline-check":K2,radio:Y2,"inline-radio":Y2,select:J2,"multi-select":J2},mn=e=>{let{type:t="select",labels:r,argType:n}=e,a={...e,argType:n,options:n?mz(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},o=gz[t];if(o)return m.createElement(o,{...a});throw new Error(`Unknown options type: ${t}`)},vz="Error",yz="Object",wz="Array",bz="String",Dz="Number",Ez="Boolean",Cz="Date",xz="Null",Fz="Undefined",Sz="Function",Az="Symbol",K6="ADD_DELTA_TYPE",Y6="REMOVE_DELTA_TYPE",Z6="UPDATE_DELTA_TYPE",Lp="value",kz="key";function Mr(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&typeof e[Symbol.iterator]=="function"?"Iterable":Object.prototype.toString.call(e).slice(8,-1)}function J6(e,t){let r=Mr(e),n=Mr(t);return(r==="Function"||n==="Function")&&n!==r}var Mp=class extends i.Component{constructor(e){super(e),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey:e,inputRefValue:t}=this.state,{onlyValue:r}=this.props;e&&typeof e.focus=="function"&&e.focus(),r&&t&&typeof t.focus=="function"&&t.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.onSubmit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd:e,onlyValue:t,onSubmitValueParser:r,keyPath:n,deep:a}=this.props,{inputRefKey:o,inputRefValue:l}=this.state,s={};if(!t){if(!o.value)return;s.key=o.value}s.newValue=r(!1,n,a,s.key,l.value),e(s)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:a,keyPath:o,deep:l}=this.props,s=i.cloneElement(r,{onClick:this.onSubmit}),c=i.cloneElement(n,{onClick:e}),d=a(Lp,o,l),f=i.cloneElement(d,{placeholder:"Value",ref:this.refInputValue}),g=null;if(!t){let p=a(kz,o,l);g=i.cloneElement(p,{placeholder:"Key",ref:this.refInputKey})}return m.createElement("span",{className:"rejt-add-value-node"},g,f,c,s)}};Mp.defaultProps={onlyValue:!1,addButtonElement:m.createElement("button",null,"+"),cancelButtonElement:m.createElement("button",null,"c")};var X6=class extends i.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={data:e.data,name:e.name,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,l=n[e];t(e,a,o,l).then(()=>{let s={keyPath:a,deep:o,key:e,oldValue:l,type:Y6};n.splice(e,1),this.setState({data:n});let{onUpdate:c,onDeltaUpdate:d}=this.props;c(a[a.length-1],n),d(s)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:a,logger:o}=this.props;a(t.length,r,n,e).then(()=>{let l=[...t,e];this.setState({data:l}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:c}=this.props;s(r[r.length-1],l),c({type:K6,keyPath:r,deep:n,key:l.length-1,newValue:e})}).catch(o.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:l,nextDeep:s}=this.state,c=o[e];a(e,l,s,c,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:f}=this.props;d(l[l.length-1],o),f({type:Z6,keyPath:l,deep:s,key:e,newValue:t,oldValue:c}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:a,readOnly:o,getStyle:l,dataType:s,minusMenuElement:c}=this.props,{minus:d,collapsed:f}=l(e,t,r,n,s),g=o(e,t,r,n,s),p=i.cloneElement(c,{onClick:a,className:"rejt-minus-menu",style:d});return m.createElement("span",{className:"rejt-collapsed"},m.createElement("span",{className:"rejt-collapsed-text",style:f,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!g&&p)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:a,nextDeep:o}=this.state,{isCollapsed:l,handleRemove:s,onDeltaUpdate:c,readOnly:d,getStyle:f,dataType:g,addButtonElement:p,cancelButtonElement:h,editButtonElement:v,inputElementGenerator:y,textareaElementGenerator:b,minusMenuElement:C,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:w,beforeUpdateAction:x,logger:F,onSubmitValueParser:S}=this.props,{minus:A,plus:B,delimiter:_,ul:I,addForm:z}=f(e,t,r,n,g),T=d(e,t,r,n,g),M=i.cloneElement(D,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:B}),L=i.cloneElement(C,{onClick:s,className:"rejt-minus-menu",style:A});return m.createElement("span",{className:"rejt-not-collapsed"},m.createElement("span",{className:"rejt-not-collapsed-delimiter",style:_},"["),!a&&M,m.createElement("ul",{className:"rejt-not-collapsed-list",style:I},t.map((O,j)=>m.createElement(hu,{key:j,name:j.toString(),data:O,keyPath:r,deep:o,isCollapsed:l,handleRemove:this.handleRemoveItem(j),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:c,readOnly:d,getStyle:f,addButtonElement:p,cancelButtonElement:h,editButtonElement:v,inputElementGenerator:y,textareaElementGenerator:b,minusMenuElement:C,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:w,beforeUpdateAction:x,logger:F,onSubmitValueParser:S}))),!T&&a&&m.createElement("div",{className:"rejt-add-form",style:z},m.createElement(Mp,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:p,cancelButtonElement:h,inputElementGenerator:y,keyPath:r,deep:n,onSubmitValueParser:S})),m.createElement("span",{className:"rejt-not-collapsed-delimiter",style:_},"]"),!T&&L)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{dataType:o,getStyle:l}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),c=l(e,r,n,a,o);return m.createElement("div",{className:"rejt-array-node"},m.createElement("span",{onClick:this.handleCollapseMode},m.createElement("span",{className:"rejt-name",style:c.name},e," :"," ")),s)}};X6.defaultProps={keyPath:[],deep:0,minusMenuElement:m.createElement("span",null," - "),plusMenuElement:m.createElement("span",null," + ")};var Q6=class extends i.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:l,dataType:s}=this.props,c=l(r,n,a,o,s);e&&!c&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:l,deep:s}=this.state;if(!o)return;let c=n(!0,a,s,l,o.value);e({value:c,key:l}).then(()=>{J6(t,c)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:l,readOnly:s,dataType:c,getStyle:d,editButtonElement:f,cancelButtonElement:g,textareaElementGenerator:p,minusMenuElement:h,keyPath:v}=this.props,y=d(e,l,n,a,c),b=null,C=null,D=s(e,l,n,a,c);if(r&&!D){let E=p(Lp,v,a,e,l,c),w=i.cloneElement(f,{onClick:this.handleEdit}),x=i.cloneElement(g,{onClick:this.handleCancelEdit}),F=i.cloneElement(E,{ref:this.refInput,defaultValue:l});b=m.createElement("span",{className:"rejt-edit-form",style:y.editForm},F," ",x,w),C=null}else{b=m.createElement("span",{className:"rejt-value",style:y.value,onClick:D?null:this.handleEditMode},t);let E=i.cloneElement(h,{onClick:o,className:"rejt-minus-menu",style:y.minus});C=D?null:E}return m.createElement("li",{className:"rejt-function-value-node",style:y.li},m.createElement("span",{className:"rejt-name",style:y.name},e," :"," "),b,C)}};Q6.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:m.createElement("button",null,"e"),cancelButtonElement:m.createElement("button",null,"c"),minusMenuElement:m.createElement("span",null," - ")};var hu=class extends i.Component{constructor(e){super(e),this.state={data:e.data,name:e.name,keyPath:e.keyPath,deep:e.deep}}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}render(){let{data:e,name:t,keyPath:r,deep:n}=this.state,{isCollapsed:a,handleRemove:o,handleUpdateValue:l,onUpdate:s,onDeltaUpdate:c,readOnly:d,getStyle:f,addButtonElement:g,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:v,textareaElementGenerator:y,minusMenuElement:b,plusMenuElement:C,beforeRemoveAction:D,beforeAddAction:E,beforeUpdateAction:w,logger:x,onSubmitValueParser:F}=this.props,S=()=>!0,A=Mr(e);switch(A){case vz:return m.createElement(Ed,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:c,readOnly:S,dataType:A,getStyle:f,addButtonElement:g,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:v,textareaElementGenerator:y,minusMenuElement:b,plusMenuElement:C,beforeRemoveAction:D,beforeAddAction:E,beforeUpdateAction:w,logger:x,onSubmitValueParser:F});case yz:return m.createElement(Ed,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:c,readOnly:d,dataType:A,getStyle:f,addButtonElement:g,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:v,textareaElementGenerator:y,minusMenuElement:b,plusMenuElement:C,beforeRemoveAction:D,beforeAddAction:E,beforeUpdateAction:w,logger:x,onSubmitValueParser:F});case wz:return m.createElement(X6,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:c,readOnly:d,dataType:A,getStyle:f,addButtonElement:g,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:v,textareaElementGenerator:y,minusMenuElement:b,plusMenuElement:C,beforeRemoveAction:D,beforeAddAction:E,beforeUpdateAction:w,logger:x,onSubmitValueParser:F});case bz:return m.createElement(Jt,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:v,minusMenuElement:b,logger:x,onSubmitValueParser:F});case Dz:return m.createElement(Jt,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:v,minusMenuElement:b,logger:x,onSubmitValueParser:F});case Ez:return m.createElement(Jt,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:v,minusMenuElement:b,logger:x,onSubmitValueParser:F});case Cz:return m.createElement(Jt,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:l,readOnly:S,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:v,minusMenuElement:b,logger:x,onSubmitValueParser:F});case xz:return m.createElement(Jt,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:v,minusMenuElement:b,logger:x,onSubmitValueParser:F});case Fz:return m.createElement(Jt,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:v,minusMenuElement:b,logger:x,onSubmitValueParser:F});case Sz:return m.createElement(Q6,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,textareaElementGenerator:y,minusMenuElement:b,logger:x,onSubmitValueParser:F});case Az:return m.createElement(Jt,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:l,readOnly:S,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:v,minusMenuElement:b,logger:x,onSubmitValueParser:F});default:return null}}};hu.defaultProps={keyPath:[],deep:0};var Ed=class extends i.Component{constructor(e){super(e);let t=e.deep===-1?[]:[...e.keyPath,e.name];this.state={name:e.name,data:e.data,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:a}=this.state,{beforeAddAction:o,logger:l}=this.props;o(e,n,a,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:c}=this.props;s(n[n.length-1],r),c({type:K6,keyPath:n,deep:a,key:e,newValue:t})}).catch(l.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,l=n[e];t(e,a,o,l).then(()=>{let s={keyPath:a,deep:o,key:e,oldValue:l,type:Y6};delete n[e],this.setState({data:n});let{onUpdate:c,onDeltaUpdate:d}=this.props;c(a[a.length-1],n),d(s)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:l,nextDeep:s}=this.state,c=o[e];a(e,l,s,c,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:f}=this.props;d(l[l.length-1],o),f({type:Z6,keyPath:l,deep:s,key:e,newValue:t,oldValue:c}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:a,readOnly:o,dataType:l,getStyle:s,minusMenuElement:c}=this.props,{minus:d,collapsed:f}=s(e,n,t,r,l),g=Object.getOwnPropertyNames(n),p=o(e,n,t,r,l),h=i.cloneElement(c,{onClick:a,className:"rejt-minus-menu",style:d});return m.createElement("span",{className:"rejt-collapsed"},m.createElement("span",{className:"rejt-collapsed-text",style:f,onClick:this.handleCollapseMode},"{...}"," ",g.length," ",g.length===1?"key":"keys"),!p&&h)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:a,addFormVisible:o}=this.state,{isCollapsed:l,handleRemove:s,onDeltaUpdate:c,readOnly:d,getStyle:f,dataType:g,addButtonElement:p,cancelButtonElement:h,editButtonElement:v,inputElementGenerator:y,textareaElementGenerator:b,minusMenuElement:C,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:w,beforeUpdateAction:x,logger:F,onSubmitValueParser:S}=this.props,{minus:A,plus:B,addForm:_,ul:I,delimiter:z}=f(e,t,r,n,g),T=Object.getOwnPropertyNames(t),M=d(e,t,r,n,g),L=i.cloneElement(D,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:B}),O=i.cloneElement(C,{onClick:s,className:"rejt-minus-menu",style:A}),j=T.map(V=>m.createElement(hu,{key:V,name:V,data:t[V],keyPath:r,deep:a,isCollapsed:l,handleRemove:this.handleRemoveValue(V),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:c,readOnly:d,getStyle:f,addButtonElement:p,cancelButtonElement:h,editButtonElement:v,inputElementGenerator:y,textareaElementGenerator:b,minusMenuElement:C,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:w,beforeUpdateAction:x,logger:F,onSubmitValueParser:S}));return m.createElement("span",{className:"rejt-not-collapsed"},m.createElement("span",{className:"rejt-not-collapsed-delimiter",style:z},"{"),!M&&L,m.createElement("ul",{className:"rejt-not-collapsed-list",style:I},j),!M&&o&&m.createElement("div",{className:"rejt-add-form",style:_},m.createElement(Mp,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:p,cancelButtonElement:h,inputElementGenerator:y,keyPath:r,deep:n,onSubmitValueParser:S})),m.createElement("span",{className:"rejt-not-collapsed-delimiter",style:z},"}"),!M&&O)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{getStyle:o,dataType:l}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),c=o(e,r,n,a,l);return m.createElement("div",{className:"rejt-object-node"},m.createElement("span",{onClick:this.handleCollapseMode},m.createElement("span",{className:"rejt-name",style:c.name},e," :"," ")),s)}};Ed.defaultProps={keyPath:[],deep:0,minusMenuElement:m.createElement("span",null," - "),plusMenuElement:m.createElement("span",null," + ")};var Jt=class extends i.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:l,dataType:s}=this.props,c=l(r,n,a,o,s);e&&!c&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:l,deep:s}=this.state;if(!o)return;let c=n(!0,a,s,l,o.value);e({value:c,key:l}).then(()=>{J6(t,c)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:l,readOnly:s,dataType:c,getStyle:d,editButtonElement:f,cancelButtonElement:g,inputElementGenerator:p,minusMenuElement:h,keyPath:v}=this.props,y=d(e,l,n,a,c),b=s(e,l,n,a,c),C=r&&!b,D=p(Lp,v,a,e,l,c),E=i.cloneElement(f,{onClick:this.handleEdit}),w=i.cloneElement(g,{onClick:this.handleCancelEdit}),x=i.cloneElement(D,{ref:this.refInput,defaultValue:JSON.stringify(l)}),F=i.cloneElement(h,{onClick:o,className:"rejt-minus-menu",style:y.minus});return m.createElement("li",{className:"rejt-value-node",style:y.li},m.createElement("span",{className:"rejt-name",style:y.name},e," : "),C?m.createElement("span",{className:"rejt-edit-form",style:y.editForm},x," ",w,E):m.createElement("span",{className:"rejt-value",style:y.value,onClick:b?null:this.handleEditMode},String(t)),!b&&!C&&F)}};Jt.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:m.createElement("button",null,"e"),cancelButtonElement:m.createElement("button",null,"c"),minusMenuElement:m.createElement("span",null," - ")};function Bz(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var _z={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},Iz={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},Rz={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}},e8=class extends i.Component{constructor(e){super(e),this.state={data:e.data,rootName:e.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data||e.rootName!==t.rootName?{data:e.data,rootName:e.rootName}:null}onUpdate(e,t){this.setState({data:t}),this.props.onFullyUpdate(t)}removeRoot(){this.onUpdate(null,null)}render(){let{data:e,rootName:t}=this.state,{isCollapsed:r,onDeltaUpdate:n,readOnly:a,getStyle:o,addButtonElement:l,cancelButtonElement:s,editButtonElement:c,inputElement:d,textareaElement:f,minusMenuElement:g,plusMenuElement:p,beforeRemoveAction:h,beforeAddAction:v,beforeUpdateAction:y,logger:b,onSubmitValueParser:C,fallback:D=null}=this.props,E=Mr(e),w=a;Mr(a)==="Boolean"&&(w=()=>a);let x=d;d&&Mr(d)!=="Function"&&(x=()=>d);let F=f;return f&&Mr(f)!=="Function"&&(F=()=>f),E==="Object"||E==="Array"?m.createElement("div",{className:"rejt-tree"},m.createElement(hu,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:w,getStyle:o,addButtonElement:l,cancelButtonElement:s,editButtonElement:c,inputElementGenerator:x,textareaElementGenerator:F,minusMenuElement:g,plusMenuElement:p,handleRemove:this.removeRoot,beforeRemoveAction:h,beforeAddAction:v,beforeUpdateAction:y,logger:b,onSubmitValueParser:C})):D}};e8.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,a)=>{switch(a){case"Object":case"Error":return _z;case"Array":return Iz;default:return Rz}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,a)=>Bz(a),inputElement:()=>m.createElement("input",null),textareaElement:()=>m.createElement("textarea",null),fallback:null};var{window:zz}=globalThis,Tz=k.div(({theme:e})=>({position:"relative",display:"flex",'&[aria-readonly="true"]':{opacity:.5},".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),Pc=k.button(({theme:e,primary:t})=>({border:0,height:20,margin:1,borderRadius:4,background:t?e.color.secondary:"transparent",color:t?e.color.lightest:e.color.dark,fontWeight:t?"bold":"normal",cursor:"pointer",order:t?"initial":9})),Lz=k(F_)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.ancillary},"svg + &":{marginLeft:0}})),Mz=k(S_)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.negative},"svg + &":{marginLeft:0}})),X2=k.input(({theme:e,placeholder:t})=>({outline:0,margin:t?1:"1px 0",padding:"3px 4px",color:e.color.defaultText,background:e.background.app,border:`1px solid ${e.appBorderColor}`,borderRadius:4,lineHeight:"14px",width:t==="Key"?80:120,"&:focus":{border:`1px solid ${e.color.secondary}`}})),Oz=k(nr)(({theme:e})=>({position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:e.background.bar,border:`1px solid ${e.appBorderColor}`,borderRadius:3,color:e.textMutedColor,fontSize:"9px",fontWeight:"bold",textDecoration:"none",span:{marginLeft:3,marginTop:1}})),Pz=k(ta.Textarea)(({theme:e})=>({flex:1,padding:"7px 6px",fontFamily:e.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:e.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}})),Nz={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},Hz=e=>{e.currentTarget.dispatchEvent(new zz.KeyboardEvent("keydown",Nz))},jz=e=>{e.currentTarget.select()},$z=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),Q2=({name:e,value:t,onChange:r,argType:n})=>{var E;let a=g4(),o=i.useMemo(()=>t&&Y8(t),[t]),l=o!=null,[s,c]=i.useState(!l),[d,f]=i.useState(null),g=!!((E=n==null?void 0:n.table)!=null&&E.readonly),p=i.useCallback(w=>{try{w&&r(JSON.parse(w)),f(void 0)}catch(x){f(x)}},[r]),[h,v]=i.useState(!1),y=i.useCallback(()=>{r({}),v(!0)},[v]),b=i.useRef(null);if(i.useEffect(()=>{h&&b.current&&b.current.select()},[h]),!l)return m.createElement(hr,{disabled:g,id:wi(e),onClick:y},"Set object");let C=m.createElement(Pz,{ref:b,id:it(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:w=>p(w.target.value),placeholder:"Edit JSON string...",autoFocus:h,valid:d?"error":null,readOnly:g}),D=Array.isArray(t)||typeof t=="object"&&(t==null?void 0:t.constructor)===Object;return m.createElement(Tz,{"aria-readonly":g},D&&m.createElement(Oz,{onClick:w=>{w.preventDefault(),c(x=>!x)}},s?m.createElement(C_,null):m.createElement(E_,null),m.createElement("span",null,"RAW")),s?C:m.createElement(e8,{readOnly:g||!D,isCollapsed:D?void 0:()=>!0,data:o,rootName:e,onFullyUpdate:r,getStyle:$z(a),cancelButtonElement:m.createElement(Pc,{type:"button"},"Cancel"),editButtonElement:m.createElement(Pc,{type:"submit"},"Save"),addButtonElement:m.createElement(Pc,{type:"submit",primary:!0},"Save"),plusMenuElement:m.createElement(Lz,null),minusMenuElement:m.createElement(Mz,null),inputElement:(w,x,F,S)=>S?m.createElement(X2,{onFocus:jz,onBlur:Hz}):m.createElement(X2,null),fallback:C}))},Vz=k.input(({theme:e,min:t,max:r,value:n,disabled:a})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, +`,{inline:h}));for(;typeof v[v.length-1]=="string"&&!v[v.length-1].trim();)v.pop();if(t.wrapper===null)return v;let y=t.wrapper||(h?"span":"div"),b;if(v.length>1||t.forceWrapper)b=v;else{if(v.length===1)return b=v[0],typeof b=="string"?r("span",{key:"outer"},b):b;b=null}return t.createElement(y,{key:"outer"},b)}function a(p,h){let v=h.match(GI);return v?v.reduce(function(y,b){let C=b.indexOf("=");if(C!==-1){let D=function(F){return F.indexOf("-")!==-1&&F.match(uR)===null&&(F=F.replace(hR,function(S,A){return A.toUpperCase()})),F}(b.slice(0,C)).trim(),E=function(F){let S=F[0];return(S==='"'||S==="'")&&F.length>=2&&F[F.length-1]===S?F.slice(1,-1):F}(b.slice(C+1).trim()),w=H2[D]||D;if(w==="ref")return y;let x=y[w]=function(F,S,A,B){return S==="style"?A.split(/;\s?/).reduce(function(_,I){let z=I.slice(0,I.indexOf(":"));return _[z.trim().replace(/(-[a-z])/g,T=>T[1].toUpperCase())]=I.slice(z.length+1).trim(),_},{}):S==="href"||S==="src"?B(A,F,S):(A.match(cR)&&(A=A.slice(1,A.length-1)),A==="true"||A!=="false"&&A)}(p,D,E,t.sanitizer);typeof x=="string"&&(wd.test(x)||bd.test(x))&&(y[w]=n(x.trim()))}else b!=="style"&&(y[H2[b]||b]=!0);return y},{}):null}t.overrides=t.overrides||{},t.sanitizer=t.sanitizer||$R,t.slugify=t.slugify||Fa,t.namedCodesToUnicode=t.namedCodesToUnicode?_r({},j2,t.namedCodesToUnicode):j2,t.createElement=t.createElement||i.createElement;let o=[],l={},u={[H.blockQuote]:{match:Pt(x6),order:1,parse(p,h,v){let[,y,b]=p[0].replace(ZI,"").match(JI);return{alert:y,children:h(b,v)}},render(p,h,v){let y={key:v.key};return p.alert&&(y.className="markdown-alert-"+t.slugify(p.alert.toLowerCase(),Fa),p.children.unshift({attrs:{},children:[{type:H.text,text:p.alert}],noInnerParse:!0,type:H.htmlBlock,tag:"header"})),r("blockquote",y,h(p.children,v))}},[H.breakLine]:{match:Sa(XI),order:1,parse:Lc,render:(p,h,v)=>r("br",{key:v.key})},[H.breakThematic]:{match:Pt(QI),order:1,parse:Lc,render:(p,h,v)=>r("hr",{key:v.key})},[H.codeBlock]:{match:Pt(S6),order:0,parse:p=>({lang:void 0,text:p[0].replace(/^ {4}/gm,"").replace(/\n+$/,"")}),render:(p,h,v)=>r("pre",{key:v.key},r("code",_r({},p.attrs,{className:p.lang?`lang-${p.lang}`:""}),p.text))},[H.codeFenced]:{match:Pt(F6),order:0,parse:p=>({attrs:a("code",p[3]||""),lang:p[2]||void 0,text:p[4],type:H.codeBlock})},[H.codeInline]:{match:Zt(eR),order:3,parse:p=>({text:p[2]}),render:(p,h,v)=>r("code",{key:v.key},p.text)},[H.footnote]:{match:Pt(nR),order:0,parse:p=>(o.push({footnote:p[2],identifier:p[1]}),{}),render:Mc},[H.footnoteReference]:{match:Yt(aR),order:1,parse:p=>({target:`#${t.slugify(p[1],Fa)}`,text:p[1]}),render:(p,h,v)=>r("a",{key:v.key,href:t.sanitizer(p.target,"a","href")},r("sup",{key:v.key},p.text))},[H.gfmTask]:{match:Yt(iR),order:1,parse:p=>({completed:p[1].toLowerCase()==="x"}),render:(p,h,v)=>r("input",{checked:p.completed,key:v.key,readOnly:!0,type:"checkbox"})},[H.heading]:{match:Pt(t.enforceAtxHeadings?k6:A6),order:1,parse:(p,h,v)=>({children:Ol(h,p[2],v),id:t.slugify(p[2],Fa),level:p[1].length}),render:(p,h,v)=>r(`h${p.level}`,{id:p.id,key:v.key},h(p.children,v))},[H.headingSetext]:{match:Pt(B6),order:0,parse:(p,h,v)=>({children:Ol(h,p[1],v),level:p[2]==="="?1:2,type:H.heading})},[H.htmlBlock]:{match:Sa(wd),order:1,parse(p,h,v){let[,y]=p[3].match(IR),b=new RegExp(`^${y}`,"gm"),C=p[3].replace(b,""),D=(E=C,PR.some(A=>A.test(E))?UR:Ol);var E;let w=p[1].toLowerCase(),x=WI.indexOf(w)!==-1,F=(x?w:p[1]).trim(),S={attrs:a(F,p[2]),noInnerParse:x,tag:F};return v.inAnchor=v.inAnchor||w==="a",x?S.text=p[3]:S.children=D(h,C,v),v.inAnchor=!1,S},render:(p,h,v)=>r(p.tag,_r({key:v.key},p.attrs),p.text||(p.children?h(p.children,v):""))},[H.htmlSelfClosing]:{match:Sa(bd),order:1,parse(p){let h=p[1].trim();return{attrs:a(h,p[2]||""),tag:h}},render:(p,h,v)=>r(p.tag,_r({},p.attrs,{key:v.key}))},[H.htmlComment]:{match:Sa(_6),order:1,parse:()=>({}),render:Mc},[H.image]:{match:Zt(OR),order:1,parse:p=>({alt:p[1],target:W2(p[2]),title:p[3]}),render:(p,h,v)=>r("img",{key:v.key,alt:p.alt||void 0,title:p.title||void 0,src:t.sanitizer(p.target,"img","src")})},[H.link]:{match:Yt(MR),order:3,parse:(p,h,v)=>({children:VR(h,p[1],v),target:W2(p[2]),title:p[3]}),render:(p,h,v)=>r("a",{key:v.key,href:t.sanitizer(p.target,"a","href"),title:p.title},h(p.children,v))},[H.linkAngleBraceStyleDetector]:{match:Yt(fR),order:0,parse:p=>({children:[{text:p[1],type:H.text}],target:p[1],type:H.link})},[H.linkBareUrlDetector]:{match:(p,h)=>h.inAnchor||t.disableAutoLink?null:Yt(dR)(p,h),order:0,parse:p=>({children:[{text:p[1],type:H.text}],target:p[1],title:void 0,type:H.link})},[H.linkMailtoDetector]:{match:Yt(pR),order:0,parse(p){let h=p[1],v=p[1];return KI.test(v)||(v="mailto:"+v),{children:[{text:h.replace("mailto:",""),type:H.text}],target:v,type:H.link}}},[H.orderedList]:V2(r,1),[H.unorderedList]:V2(r,2),[H.newlineCoalescer]:{match:Pt(tR),order:3,parse:Lc,render:()=>` +`},[H.paragraph]:{match:jR,order:3,parse:Tc,render:(p,h,v)=>r("p",{key:v.key},h(p.children,v))},[H.ref]:{match:Yt(mR),order:0,parse:p=>(l[p[1]]={target:p[2],title:p[4]},{}),render:Mc},[H.refImage]:{match:Zt(gR),order:0,parse:p=>({alt:p[1]||void 0,ref:p[2]}),render:(p,h,v)=>l[p.ref]?r("img",{key:v.key,alt:p.alt,src:t.sanitizer(l[p.ref].target,"img","src"),title:l[p.ref].title}):null},[H.refLink]:{match:Yt(vR),order:0,parse:(p,h,v)=>({children:h(p[1],v),fallbackChildren:p[0],ref:p[2]}),render:(p,h,v)=>l[p.ref]?r("a",{key:v.key,href:t.sanitizer(l[p.ref].target,"a","href"),title:l[p.ref].title},h(p.children,v)):r("span",{key:v.key},p.fallbackChildren)},[H.table]:{match:Pt(I6),order:1,parse:HR,render(p,h,v){let y=p;return r("table",{key:v.key},r("thead",null,r("tr",null,y.header.map(function(b,C){return r("th",{key:C,style:q2(y,C)},h(b,v))}))),r("tbody",null,y.cells.map(function(b,C){return r("tr",{key:C},b.map(function(D,E){return r("td",{key:E,style:q2(y,E)},h(D,v))}))})))}},[H.text]:{match:Sa(BR),order:4,parse:p=>({text:p[0].replace(sR,(h,v)=>t.namedCodesToUnicode[v]?t.namedCodesToUnicode[v]:h)}),render:p=>p.text},[H.textBolded]:{match:Zt(xR),order:2,parse:(p,h,v)=>({children:h(p[2],v)}),render:(p,h,v)=>r("strong",{key:v.key},h(p.children,v))},[H.textEmphasized]:{match:Zt(FR),order:3,parse:(p,h,v)=>({children:h(p[2],v)}),render:(p,h,v)=>r("em",{key:v.key},h(p.children,v))},[H.textEscaped]:{match:Zt(kR),order:1,parse:p=>({text:p[1],type:H.text})},[H.textMarked]:{match:Zt(SR),order:3,parse:Tc,render:(p,h,v)=>r("mark",{key:v.key},h(p.children,v))},[H.textStrikethroughed]:{match:Zt(AR),order:3,parse:Tc,render:(p,h,v)=>r("del",{key:v.key},h(p.children,v))}};t.disableParsingRawHTML===!0&&(delete u[H.htmlBlock],delete u[H.htmlSelfClosing]);let c=function(p){let h=Object.keys(p);function v(y,b){let C=[];for(b.prevCapture=b.prevCapture||"";y;){let D=0;for(;DC(v,y,b),v,y,b):C(v,y,b)}}(u,t.renderRule),function p(h,v={}){if(Array.isArray(h)){let y=v.key,b=[],C=!1;for(let D=0;D{let{children:t="",options:r}=e,n=function(a,o){if(a==null)return{};var l,u,c={},d=Object.keys(a);for(u=0;u=0||(c[l]=a[l]);return c}(e,qI);return i.cloneElement(WR(t,r),n)},GR=k.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,'&[aria-disabled="true"]':{opacity:.5,input:{cursor:"not-allowed"}},input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:Q(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${hl(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${hl(.05,e.appBorderColor)} 0 0 0 2px inset`,color:hl(1,e.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:e.boolean.selectedBackground,boxShadow:e.base==="light"?`${hl(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),KR=e=>e==="true",YR=({name:e,value:t,onChange:r,onBlur:n,onFocus:a,argType:o})=>{var f;let l=i.useCallback(()=>r(!1),[r]),u=!!((f=o==null?void 0:o.table)!=null&&f.readonly);if(t===void 0)return m.createElement(hr,{variant:"outline",size:"medium",id:wi(e),onClick:l,disabled:u},"Set boolean");let c=it(e),d=typeof t=="string"?KR(t):t;return m.createElement(GR,{"aria-disabled":u,htmlFor:c,"aria-label":e},m.createElement("input",{id:c,type:"checkbox",onChange:g=>r(g.target.checked),checked:d,role:"switch",disabled:u,name:e,onBlur:n,onFocus:a}),m.createElement("span",{"aria-hidden":"true"},"False"),m.createElement("span",{"aria-hidden":"true"},"True"))},ZR=e=>{let[t,r,n]=e.split("-"),a=new Date;return a.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),a},JR=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},XR=e=>{let t=new Date(e),r=`000${t.getFullYear()}`.slice(-4),n=`0${t.getMonth()+1}`.slice(-2),a=`0${t.getDate()}`.slice(-2);return`${r}-${n}-${a}`},QR=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},G2=k(ta.Input)(({readOnly:e})=>({opacity:e?.5:1})),ez=k.div(({theme:e})=>({flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:e.base==="light"?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}})),tz=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,argType:o})=>{var v;let[l,u]=i.useState(!0),c=i.useRef(),d=i.useRef(),f=!!((v=o==null?void 0:o.table)!=null&&v.readonly);i.useEffect(()=>{l!==!1&&(c&&c.current&&(c.current.value=t?XR(t):""),d&&d.current&&(d.current.value=t?QR(t):""))},[t]);let g=y=>{if(!y.target.value)return r();let b=ZR(y.target.value),C=new Date(t);C.setFullYear(b.getFullYear(),b.getMonth(),b.getDate());let D=C.getTime();D&&r(D),u(!!D)},p=y=>{if(!y.target.value)return r();let b=JR(y.target.value),C=new Date(t);C.setHours(b.getHours()),C.setMinutes(b.getMinutes());let D=C.getTime();D&&r(D),u(!!D)},h=it(e);return m.createElement(ez,null,m.createElement(G2,{type:"date",max:"9999-12-31",ref:c,id:`${h}-date`,name:`${h}-date`,readOnly:f,onChange:g,onFocus:n,onBlur:a}),m.createElement(G2,{type:"time",id:`${h}-time`,name:`${h}-time`,ref:d,onChange:p,readOnly:f,onFocus:n,onBlur:a}),l?null:m.createElement("div",null,"invalid"))},rz=k.label({display:"flex"}),nz=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},az=k(ta.Input)(({readOnly:e})=>({opacity:e?.5:1})),oz=({name:e,value:t,onChange:r,min:n,max:a,step:o,onBlur:l,onFocus:u,argType:c})=>{var E;let[d,f]=i.useState(typeof t=="number"?t:""),[g,p]=i.useState(!1),[h,v]=i.useState(null),y=!!((E=c==null?void 0:c.table)!=null&&E.readonly),b=i.useCallback(w=>{f(w.target.value);let x=parseFloat(w.target.value);Number.isNaN(x)?v(new Error(`'${w.target.value}' is not a number`)):(r(x),v(null))},[r,v]),C=i.useCallback(()=>{f("0"),r(0),p(!0)},[p]),D=i.useRef(null);return i.useEffect(()=>{g&&D.current&&D.current.select()},[g]),i.useEffect(()=>{d!==(typeof t=="number"?t:"")&&f(t)},[t]),t===void 0?m.createElement(hr,{variant:"outline",size:"medium",id:wi(e),onClick:C,disabled:y},"Set number"):m.createElement(rz,null,m.createElement(az,{ref:D,id:it(e),type:"number",onChange:b,size:"flex",placeholder:"Edit number...",value:d,valid:h?"error":null,autoFocus:g,readOnly:y,name:e,min:n,max:a,step:o,onFocus:u,onBlur:l}))},U6=(e,t)=>{let r=t&&Object.entries(t).find(([n,a])=>a===e);return r?r[0]:void 0},Dd=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],q6=(e,t)=>e&&t&&e.map(r=>t[r]),lz=k.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),iz=k.span({"[aria-readonly=true] &":{opacity:.5}}),sz=k.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),K2=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var p;if(!t)return Ip.warn(`Checkbox with no options: ${e}`),m.createElement(m.Fragment,null,"-");let l=Dd(r,t),[u,c]=i.useState(l),d=!!((p=o==null?void 0:o.table)!=null&&p.readonly),f=h=>{let v=h.target.value,y=[...u];y.includes(v)?y.splice(y.indexOf(v),1):y.push(v),n(q6(y,t)),c(y)};i.useEffect(()=>{c(Dd(r,t))},[r]);let g=it(e);return m.createElement(lz,{"aria-readonly":d,isInline:a},Object.keys(t).map((h,v)=>{let y=`${g}-${v}`;return m.createElement(sz,{key:y,htmlFor:y},m.createElement("input",{type:"checkbox",disabled:d,id:y,name:y,value:h,onChange:f,checked:u==null?void 0:u.includes(h)}),m.createElement(iz,null,h))}))},uz=k.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),cz=k.span({"[aria-readonly=true] &":{opacity:.5}}),dz=k.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),Y2=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var d;if(!t)return Ip.warn(`Radio with no options: ${e}`),m.createElement(m.Fragment,null,"-");let l=U6(r,t),u=it(e),c=!!((d=o==null?void 0:o.table)!=null&&d.readonly);return m.createElement(uz,{"aria-readonly":c,isInline:a},Object.keys(t).map((f,g)=>{let p=`${u}-${g}`;return m.createElement(dz,{key:p,htmlFor:p},m.createElement("input",{type:"radio",id:p,name:u,disabled:c,value:f,onChange:h=>n(t[h.currentTarget.value]),checked:f===l}),m.createElement(cz,null,f))}))},pz={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},W6=k.select(pz,({theme:e})=>({boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:e.input.color||"inherit",background:e.input.background,borderRadius:e.input.borderRadius,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:e.textMutedColor},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}})),G6=k.span(({theme:e})=>({display:"inline-block",lineHeight:"normal",overflow:"hidden",position:"relative",verticalAlign:"top",width:"100%",svg:{position:"absolute",zIndex:1,pointerEvents:"none",height:"12px",marginTop:"-6px",right:"12px",top:"50%",fill:e.textMutedColor,path:{fill:e.textMutedColor}}})),Z2="Choose option...",fz=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=f=>{n(r[f.currentTarget.value])},l=U6(t,r)||Z2,u=it(e),c=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return m.createElement(G6,null,m.createElement(c6,null),m.createElement(W6,{disabled:c,id:u,value:l,onChange:o},m.createElement("option",{key:"no-selection",disabled:!0},Z2),Object.keys(r).map(f=>m.createElement("option",{key:f,value:f},f))))},hz=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=f=>{let g=Array.from(f.currentTarget.options).filter(p=>p.selected).map(p=>p.value);n(q6(g,r))},l=Dd(t,r),u=it(e),c=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return m.createElement(G6,null,m.createElement(W6,{disabled:c,id:u,multiple:!0,value:l,onChange:o},Object.keys(r).map(f=>m.createElement("option",{key:f,value:f},f))))},J2=e=>{let{name:t,options:r}=e;return r?e.isMulti?m.createElement(hz,{...e}):m.createElement(fz,{...e}):(Ip.warn(`Select with no options: ${t}`),m.createElement(m.Fragment,null,"-"))},mz=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[(t==null?void 0:t[n])||String(n)]=n,r),{}):e,gz={check:K2,"inline-check":K2,radio:Y2,"inline-radio":Y2,select:J2,"multi-select":J2},mn=e=>{let{type:t="select",labels:r,argType:n}=e,a={...e,argType:n,options:n?mz(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},o=gz[t];if(o)return m.createElement(o,{...a});throw new Error(`Unknown options type: ${t}`)},vz="Error",yz="Object",wz="Array",bz="String",Dz="Number",Ez="Boolean",Cz="Date",xz="Null",Fz="Undefined",Sz="Function",Az="Symbol",K6="ADD_DELTA_TYPE",Y6="REMOVE_DELTA_TYPE",Z6="UPDATE_DELTA_TYPE",Lp="value",kz="key";function Mr(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&typeof e[Symbol.iterator]=="function"?"Iterable":Object.prototype.toString.call(e).slice(8,-1)}function J6(e,t){let r=Mr(e),n=Mr(t);return(r==="Function"||n==="Function")&&n!==r}var Mp=class extends i.Component{constructor(e){super(e),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey:e,inputRefValue:t}=this.state,{onlyValue:r}=this.props;e&&typeof e.focus=="function"&&e.focus(),r&&t&&typeof t.focus=="function"&&t.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.onSubmit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd:e,onlyValue:t,onSubmitValueParser:r,keyPath:n,deep:a}=this.props,{inputRefKey:o,inputRefValue:l}=this.state,u={};if(!t){if(!o.value)return;u.key=o.value}u.newValue=r(!1,n,a,u.key,l.value),e(u)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:a,keyPath:o,deep:l}=this.props,u=i.cloneElement(r,{onClick:this.onSubmit}),c=i.cloneElement(n,{onClick:e}),d=a(Lp,o,l),f=i.cloneElement(d,{placeholder:"Value",ref:this.refInputValue}),g=null;if(!t){let p=a(kz,o,l);g=i.cloneElement(p,{placeholder:"Key",ref:this.refInputKey})}return m.createElement("span",{className:"rejt-add-value-node"},g,f,c,u)}};Mp.defaultProps={onlyValue:!1,addButtonElement:m.createElement("button",null,"+"),cancelButtonElement:m.createElement("button",null,"c")};var X6=class extends i.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={data:e.data,name:e.name,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,l=n[e];t(e,a,o,l).then(()=>{let u={keyPath:a,deep:o,key:e,oldValue:l,type:Y6};n.splice(e,1),this.setState({data:n});let{onUpdate:c,onDeltaUpdate:d}=this.props;c(a[a.length-1],n),d(u)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:a,logger:o}=this.props;a(t.length,r,n,e).then(()=>{let l=[...t,e];this.setState({data:l}),this.handleAddValueCancel();let{onUpdate:u,onDeltaUpdate:c}=this.props;u(r[r.length-1],l),c({type:K6,keyPath:r,deep:n,key:l.length-1,newValue:e})}).catch(o.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:l,nextDeep:u}=this.state,c=o[e];a(e,l,u,c,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:f}=this.props;d(l[l.length-1],o),f({type:Z6,keyPath:l,deep:u,key:e,newValue:t,oldValue:c}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:a,readOnly:o,getStyle:l,dataType:u,minusMenuElement:c}=this.props,{minus:d,collapsed:f}=l(e,t,r,n,u),g=o(e,t,r,n,u),p=i.cloneElement(c,{onClick:a,className:"rejt-minus-menu",style:d});return m.createElement("span",{className:"rejt-collapsed"},m.createElement("span",{className:"rejt-collapsed-text",style:f,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!g&&p)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:a,nextDeep:o}=this.state,{isCollapsed:l,handleRemove:u,onDeltaUpdate:c,readOnly:d,getStyle:f,dataType:g,addButtonElement:p,cancelButtonElement:h,editButtonElement:v,inputElementGenerator:y,textareaElementGenerator:b,minusMenuElement:C,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:w,beforeUpdateAction:x,logger:F,onSubmitValueParser:S}=this.props,{minus:A,plus:B,delimiter:_,ul:I,addForm:z}=f(e,t,r,n,g),T=d(e,t,r,n,g),M=i.cloneElement(D,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:B}),L=i.cloneElement(C,{onClick:u,className:"rejt-minus-menu",style:A});return m.createElement("span",{className:"rejt-not-collapsed"},m.createElement("span",{className:"rejt-not-collapsed-delimiter",style:_},"["),!a&&M,m.createElement("ul",{className:"rejt-not-collapsed-list",style:I},t.map((O,j)=>m.createElement(hs,{key:j,name:j.toString(),data:O,keyPath:r,deep:o,isCollapsed:l,handleRemove:this.handleRemoveItem(j),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:c,readOnly:d,getStyle:f,addButtonElement:p,cancelButtonElement:h,editButtonElement:v,inputElementGenerator:y,textareaElementGenerator:b,minusMenuElement:C,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:w,beforeUpdateAction:x,logger:F,onSubmitValueParser:S}))),!T&&a&&m.createElement("div",{className:"rejt-add-form",style:z},m.createElement(Mp,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:p,cancelButtonElement:h,inputElementGenerator:y,keyPath:r,deep:n,onSubmitValueParser:S})),m.createElement("span",{className:"rejt-not-collapsed-delimiter",style:_},"]"),!T&&L)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{dataType:o,getStyle:l}=this.props,u=t?this.renderCollapsed():this.renderNotCollapsed(),c=l(e,r,n,a,o);return m.createElement("div",{className:"rejt-array-node"},m.createElement("span",{onClick:this.handleCollapseMode},m.createElement("span",{className:"rejt-name",style:c.name},e," :"," ")),u)}};X6.defaultProps={keyPath:[],deep:0,minusMenuElement:m.createElement("span",null," - "),plusMenuElement:m.createElement("span",null," + ")};var Q6=class extends i.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:l,dataType:u}=this.props,c=l(r,n,a,o,u);e&&!c&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:l,deep:u}=this.state;if(!o)return;let c=n(!0,a,u,l,o.value);e({value:c,key:l}).then(()=>{J6(t,c)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:l,readOnly:u,dataType:c,getStyle:d,editButtonElement:f,cancelButtonElement:g,textareaElementGenerator:p,minusMenuElement:h,keyPath:v}=this.props,y=d(e,l,n,a,c),b=null,C=null,D=u(e,l,n,a,c);if(r&&!D){let E=p(Lp,v,a,e,l,c),w=i.cloneElement(f,{onClick:this.handleEdit}),x=i.cloneElement(g,{onClick:this.handleCancelEdit}),F=i.cloneElement(E,{ref:this.refInput,defaultValue:l});b=m.createElement("span",{className:"rejt-edit-form",style:y.editForm},F," ",x,w),C=null}else{b=m.createElement("span",{className:"rejt-value",style:y.value,onClick:D?null:this.handleEditMode},t);let E=i.cloneElement(h,{onClick:o,className:"rejt-minus-menu",style:y.minus});C=D?null:E}return m.createElement("li",{className:"rejt-function-value-node",style:y.li},m.createElement("span",{className:"rejt-name",style:y.name},e," :"," "),b,C)}};Q6.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:m.createElement("button",null,"e"),cancelButtonElement:m.createElement("button",null,"c"),minusMenuElement:m.createElement("span",null," - ")};var hs=class extends i.Component{constructor(e){super(e),this.state={data:e.data,name:e.name,keyPath:e.keyPath,deep:e.deep}}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}render(){let{data:e,name:t,keyPath:r,deep:n}=this.state,{isCollapsed:a,handleRemove:o,handleUpdateValue:l,onUpdate:u,onDeltaUpdate:c,readOnly:d,getStyle:f,addButtonElement:g,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:v,textareaElementGenerator:y,minusMenuElement:b,plusMenuElement:C,beforeRemoveAction:D,beforeAddAction:E,beforeUpdateAction:w,logger:x,onSubmitValueParser:F}=this.props,S=()=>!0,A=Mr(e);switch(A){case vz:return m.createElement(Ed,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:u,onDeltaUpdate:c,readOnly:S,dataType:A,getStyle:f,addButtonElement:g,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:v,textareaElementGenerator:y,minusMenuElement:b,plusMenuElement:C,beforeRemoveAction:D,beforeAddAction:E,beforeUpdateAction:w,logger:x,onSubmitValueParser:F});case yz:return m.createElement(Ed,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:u,onDeltaUpdate:c,readOnly:d,dataType:A,getStyle:f,addButtonElement:g,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:v,textareaElementGenerator:y,minusMenuElement:b,plusMenuElement:C,beforeRemoveAction:D,beforeAddAction:E,beforeUpdateAction:w,logger:x,onSubmitValueParser:F});case wz:return m.createElement(X6,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:u,onDeltaUpdate:c,readOnly:d,dataType:A,getStyle:f,addButtonElement:g,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:v,textareaElementGenerator:y,minusMenuElement:b,plusMenuElement:C,beforeRemoveAction:D,beforeAddAction:E,beforeUpdateAction:w,logger:x,onSubmitValueParser:F});case bz:return m.createElement(Jt,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:v,minusMenuElement:b,logger:x,onSubmitValueParser:F});case Dz:return m.createElement(Jt,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:v,minusMenuElement:b,logger:x,onSubmitValueParser:F});case Ez:return m.createElement(Jt,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:v,minusMenuElement:b,logger:x,onSubmitValueParser:F});case Cz:return m.createElement(Jt,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:l,readOnly:S,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:v,minusMenuElement:b,logger:x,onSubmitValueParser:F});case xz:return m.createElement(Jt,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:v,minusMenuElement:b,logger:x,onSubmitValueParser:F});case Fz:return m.createElement(Jt,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:v,minusMenuElement:b,logger:x,onSubmitValueParser:F});case Sz:return m.createElement(Q6,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,textareaElementGenerator:y,minusMenuElement:b,logger:x,onSubmitValueParser:F});case Az:return m.createElement(Jt,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:l,readOnly:S,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:v,minusMenuElement:b,logger:x,onSubmitValueParser:F});default:return null}}};hs.defaultProps={keyPath:[],deep:0};var Ed=class extends i.Component{constructor(e){super(e);let t=e.deep===-1?[]:[...e.keyPath,e.name];this.state={name:e.name,data:e.data,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:a}=this.state,{beforeAddAction:o,logger:l}=this.props;o(e,n,a,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:u,onDeltaUpdate:c}=this.props;u(n[n.length-1],r),c({type:K6,keyPath:n,deep:a,key:e,newValue:t})}).catch(l.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,l=n[e];t(e,a,o,l).then(()=>{let u={keyPath:a,deep:o,key:e,oldValue:l,type:Y6};delete n[e],this.setState({data:n});let{onUpdate:c,onDeltaUpdate:d}=this.props;c(a[a.length-1],n),d(u)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:l,nextDeep:u}=this.state,c=o[e];a(e,l,u,c,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:f}=this.props;d(l[l.length-1],o),f({type:Z6,keyPath:l,deep:u,key:e,newValue:t,oldValue:c}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:a,readOnly:o,dataType:l,getStyle:u,minusMenuElement:c}=this.props,{minus:d,collapsed:f}=u(e,n,t,r,l),g=Object.getOwnPropertyNames(n),p=o(e,n,t,r,l),h=i.cloneElement(c,{onClick:a,className:"rejt-minus-menu",style:d});return m.createElement("span",{className:"rejt-collapsed"},m.createElement("span",{className:"rejt-collapsed-text",style:f,onClick:this.handleCollapseMode},"{...}"," ",g.length," ",g.length===1?"key":"keys"),!p&&h)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:a,addFormVisible:o}=this.state,{isCollapsed:l,handleRemove:u,onDeltaUpdate:c,readOnly:d,getStyle:f,dataType:g,addButtonElement:p,cancelButtonElement:h,editButtonElement:v,inputElementGenerator:y,textareaElementGenerator:b,minusMenuElement:C,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:w,beforeUpdateAction:x,logger:F,onSubmitValueParser:S}=this.props,{minus:A,plus:B,addForm:_,ul:I,delimiter:z}=f(e,t,r,n,g),T=Object.getOwnPropertyNames(t),M=d(e,t,r,n,g),L=i.cloneElement(D,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:B}),O=i.cloneElement(C,{onClick:u,className:"rejt-minus-menu",style:A}),j=T.map(V=>m.createElement(hs,{key:V,name:V,data:t[V],keyPath:r,deep:a,isCollapsed:l,handleRemove:this.handleRemoveValue(V),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:c,readOnly:d,getStyle:f,addButtonElement:p,cancelButtonElement:h,editButtonElement:v,inputElementGenerator:y,textareaElementGenerator:b,minusMenuElement:C,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:w,beforeUpdateAction:x,logger:F,onSubmitValueParser:S}));return m.createElement("span",{className:"rejt-not-collapsed"},m.createElement("span",{className:"rejt-not-collapsed-delimiter",style:z},"{"),!M&&L,m.createElement("ul",{className:"rejt-not-collapsed-list",style:I},j),!M&&o&&m.createElement("div",{className:"rejt-add-form",style:_},m.createElement(Mp,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:p,cancelButtonElement:h,inputElementGenerator:y,keyPath:r,deep:n,onSubmitValueParser:S})),m.createElement("span",{className:"rejt-not-collapsed-delimiter",style:z},"}"),!M&&O)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{getStyle:o,dataType:l}=this.props,u=t?this.renderCollapsed():this.renderNotCollapsed(),c=o(e,r,n,a,l);return m.createElement("div",{className:"rejt-object-node"},m.createElement("span",{onClick:this.handleCollapseMode},m.createElement("span",{className:"rejt-name",style:c.name},e," :"," ")),u)}};Ed.defaultProps={keyPath:[],deep:0,minusMenuElement:m.createElement("span",null," - "),plusMenuElement:m.createElement("span",null," + ")};var Jt=class extends i.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:l,dataType:u}=this.props,c=l(r,n,a,o,u);e&&!c&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:l,deep:u}=this.state;if(!o)return;let c=n(!0,a,u,l,o.value);e({value:c,key:l}).then(()=>{J6(t,c)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:l,readOnly:u,dataType:c,getStyle:d,editButtonElement:f,cancelButtonElement:g,inputElementGenerator:p,minusMenuElement:h,keyPath:v}=this.props,y=d(e,l,n,a,c),b=u(e,l,n,a,c),C=r&&!b,D=p(Lp,v,a,e,l,c),E=i.cloneElement(f,{onClick:this.handleEdit}),w=i.cloneElement(g,{onClick:this.handleCancelEdit}),x=i.cloneElement(D,{ref:this.refInput,defaultValue:JSON.stringify(l)}),F=i.cloneElement(h,{onClick:o,className:"rejt-minus-menu",style:y.minus});return m.createElement("li",{className:"rejt-value-node",style:y.li},m.createElement("span",{className:"rejt-name",style:y.name},e," : "),C?m.createElement("span",{className:"rejt-edit-form",style:y.editForm},x," ",w,E):m.createElement("span",{className:"rejt-value",style:y.value,onClick:b?null:this.handleEditMode},String(t)),!b&&!C&&F)}};Jt.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:m.createElement("button",null,"e"),cancelButtonElement:m.createElement("button",null,"c"),minusMenuElement:m.createElement("span",null," - ")};function Bz(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var _z={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},Iz={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},Rz={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}},e8=class extends i.Component{constructor(e){super(e),this.state={data:e.data,rootName:e.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data||e.rootName!==t.rootName?{data:e.data,rootName:e.rootName}:null}onUpdate(e,t){this.setState({data:t}),this.props.onFullyUpdate(t)}removeRoot(){this.onUpdate(null,null)}render(){let{data:e,rootName:t}=this.state,{isCollapsed:r,onDeltaUpdate:n,readOnly:a,getStyle:o,addButtonElement:l,cancelButtonElement:u,editButtonElement:c,inputElement:d,textareaElement:f,minusMenuElement:g,plusMenuElement:p,beforeRemoveAction:h,beforeAddAction:v,beforeUpdateAction:y,logger:b,onSubmitValueParser:C,fallback:D=null}=this.props,E=Mr(e),w=a;Mr(a)==="Boolean"&&(w=()=>a);let x=d;d&&Mr(d)!=="Function"&&(x=()=>d);let F=f;return f&&Mr(f)!=="Function"&&(F=()=>f),E==="Object"||E==="Array"?m.createElement("div",{className:"rejt-tree"},m.createElement(hs,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:w,getStyle:o,addButtonElement:l,cancelButtonElement:u,editButtonElement:c,inputElementGenerator:x,textareaElementGenerator:F,minusMenuElement:g,plusMenuElement:p,handleRemove:this.removeRoot,beforeRemoveAction:h,beforeAddAction:v,beforeUpdateAction:y,logger:b,onSubmitValueParser:C})):D}};e8.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,a)=>{switch(a){case"Object":case"Error":return _z;case"Array":return Iz;default:return Rz}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,a)=>Bz(a),inputElement:()=>m.createElement("input",null),textareaElement:()=>m.createElement("textarea",null),fallback:null};var{window:zz}=globalThis,Tz=k.div(({theme:e})=>({position:"relative",display:"flex",'&[aria-readonly="true"]':{opacity:.5},".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),Pc=k.button(({theme:e,primary:t})=>({border:0,height:20,margin:1,borderRadius:4,background:t?e.color.secondary:"transparent",color:t?e.color.lightest:e.color.dark,fontWeight:t?"bold":"normal",cursor:"pointer",order:t?"initial":9})),Lz=k(F_)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.ancillary},"svg + &":{marginLeft:0}})),Mz=k(S_)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.negative},"svg + &":{marginLeft:0}})),X2=k.input(({theme:e,placeholder:t})=>({outline:0,margin:t?1:"1px 0",padding:"3px 4px",color:e.color.defaultText,background:e.background.app,border:`1px solid ${e.appBorderColor}`,borderRadius:4,lineHeight:"14px",width:t==="Key"?80:120,"&:focus":{border:`1px solid ${e.color.secondary}`}})),Oz=k(nr)(({theme:e})=>({position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:e.background.bar,border:`1px solid ${e.appBorderColor}`,borderRadius:3,color:e.textMutedColor,fontSize:"9px",fontWeight:"bold",textDecoration:"none",span:{marginLeft:3,marginTop:1}})),Pz=k(ta.Textarea)(({theme:e})=>({flex:1,padding:"7px 6px",fontFamily:e.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:e.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}})),Nz={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},Hz=e=>{e.currentTarget.dispatchEvent(new zz.KeyboardEvent("keydown",Nz))},jz=e=>{e.currentTarget.select()},$z=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),Q2=({name:e,value:t,onChange:r,argType:n})=>{var E;let a=gv(),o=i.useMemo(()=>t&&Y8(t),[t]),l=o!=null,[u,c]=i.useState(!l),[d,f]=i.useState(null),g=!!((E=n==null?void 0:n.table)!=null&&E.readonly),p=i.useCallback(w=>{try{w&&r(JSON.parse(w)),f(void 0)}catch(x){f(x)}},[r]),[h,v]=i.useState(!1),y=i.useCallback(()=>{r({}),v(!0)},[v]),b=i.useRef(null);if(i.useEffect(()=>{h&&b.current&&b.current.select()},[h]),!l)return m.createElement(hr,{disabled:g,id:wi(e),onClick:y},"Set object");let C=m.createElement(Pz,{ref:b,id:it(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:w=>p(w.target.value),placeholder:"Edit JSON string...",autoFocus:h,valid:d?"error":null,readOnly:g}),D=Array.isArray(t)||typeof t=="object"&&(t==null?void 0:t.constructor)===Object;return m.createElement(Tz,{"aria-readonly":g},D&&m.createElement(Oz,{onClick:w=>{w.preventDefault(),c(x=>!x)}},u?m.createElement(C_,null):m.createElement(E_,null),m.createElement("span",null,"RAW")),u?C:m.createElement(e8,{readOnly:g||!D,isCollapsed:D?void 0:()=>!0,data:o,rootName:e,onFullyUpdate:r,getStyle:$z(a),cancelButtonElement:m.createElement(Pc,{type:"button"},"Cancel"),editButtonElement:m.createElement(Pc,{type:"submit"},"Save"),addButtonElement:m.createElement(Pc,{type:"submit",primary:!0},"Save"),plusMenuElement:m.createElement(Lz,null),minusMenuElement:m.createElement(Mz,null),inputElement:(w,x,F,S)=>S?m.createElement(X2,{onFocus:jz,onBlur:Hz}):m.createElement(X2,null),fallback:C}))},Vz=k.input(({theme:e,min:t,max:r,value:n,disabled:a})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, ${wt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, ${wt(.02,e.input.background)} 100%)`:`linear-gradient(to right, @@ -358,10 +358,10 @@ ${t}`);let r=t.match(aB);if(!r)return m.createElement(i.Fragment,null,t);let[,n, ${wt(.02,e.input.background)} 100%)`:`linear-gradient(to right, ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, ${kr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${kr(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${jt(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),t8=k.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),Uz=k(t8)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),qz=k.div({display:"flex",alignItems:"center",width:"100%"});function Wz(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var Gz=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:l,onFocus:s,argType:c})=>{var h;let d=v=>{r(nz(v.target.value))},f=t!==void 0,g=i.useMemo(()=>Wz(o),[o]),p=!!((h=c==null?void 0:c.table)!=null&&h.readonly);return m.createElement(qz,{"aria-readonly":p},m.createElement(t8,null,n),m.createElement(Vz,{id:it(e),type:"range",disabled:p,onChange:d,name:e,value:t,min:n,max:a,step:o,onFocus:s,onBlur:l}),m.createElement(Uz,{numberOFDecimalsPlaces:g,max:a},f?t.toFixed(g):"--"," / ",a))},Kz=k.label({display:"flex"}),Yz=k.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),Zz=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o,argType:l})=>{var h;let s=v=>{r(v.target.value)},c=!!((h=l==null?void 0:l.table)!=null&&h.readonly),[d,f]=i.useState(!1),g=i.useCallback(()=>{r(""),f(!0)},[f]);if(t===void 0)return m.createElement(hr,{variant:"outline",size:"medium",disabled:c,id:wi(e),onClick:g},"Set string");let p=typeof t=="string";return m.createElement(Kz,null,m.createElement(ta.Textarea,{id:it(e),maxLength:o,onChange:s,disabled:c,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:p?null:"error",name:e,value:p?t:"",onFocus:n,onBlur:a}),o&&m.createElement(Yz,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},Jz=k(ta.Input)({padding:10});function Xz(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var Qz=({onChange:e,name:t,accept:r="image/*",value:n,argType:a})=>{var c;let o=i.useRef(null),l=(c=a==null?void 0:a.control)==null?void 0:c.readOnly;function s(d){if(!d.target.files)return;let f=Array.from(d.target.files).map(g=>URL.createObjectURL(g));e(f),Xz(n)}return i.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),m.createElement(Jz,{ref:o,id:it(t),type:"file",name:t,multiple:!0,disabled:l,onChange:s,accept:r,size:"flex"})},eT=i.lazy(()=>Ad(()=>import("./Color-YHDXOIA2-BE_HiG-P.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url)),tT=e=>m.createElement(i.Suspense,{fallback:m.createElement("div",null)},m.createElement(eT,{...e})),rT={array:Q2,object:Q2,boolean:YR,color:tT,date:tz,number:oz,check:mn,"inline-check":mn,radio:mn,"inline-radio":mn,select:mn,"multi-select":mn,range:Gz,text:Zz,file:Qz},e4=()=>m.createElement(m.Fragment,null,"-"),nT=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var y;let{key:a,control:o}=e,[l,s]=i.useState(!1),[c,d]=i.useState({value:t});i.useEffect(()=>{l||d({value:t})},[l,t]);let f=i.useCallback(b=>(d({value:b}),r({[a]:b}),b),[r,a]),g=i.useCallback(()=>s(!1),[]),p=i.useCallback(()=>s(!0),[]);if(!o||o.disable){let b=(o==null?void 0:o.disable)!==!0&&((y=e==null?void 0:e.type)==null?void 0:y.name)!=="function";return n&&b?m.createElement(Tn,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):m.createElement(e4,null)}let h={name:a,argType:e,value:c.value,onChange:f,onBlur:g,onFocus:p},v=rT[o.type]||e4;return m.createElement(v,{...h,...o,controlType:o.type})},aT=k.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:Wt({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),oT=({tags:e})=>{let t=(e.params||[]).filter(o=>o.description),r=t.length!==0,n=e.deprecated!=null,a=e.returns!=null&&e.returns.description!=null;return!r&&!a&&!n?null:m.createElement(m.Fragment,null,m.createElement(aT,null,m.createElement("tbody",null,n&&m.createElement("tr",{key:"deprecated"},m.createElement("td",{colSpan:2},m.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(o=>m.createElement("tr",{key:o.name},m.createElement("td",null,m.createElement("code",null,o.name)),m.createElement("td",null,o.description))),a&&m.createElement("tr",{key:"returns"},m.createElement("td",null,m.createElement("code",null,"Returns")),m.createElement("td",null,e.returns.description)))))},lT=Bd(p6()),Cd=8,t4=k.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),iT=k.span(Wt,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),uT=k.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),sT=k.div(Wt,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),cT=k.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),dT=k(__)({marginLeft:4}),pT=k(c6)({marginLeft:4}),fT=()=>m.createElement("span",null,"-"),r8=({text:e,simple:t})=>m.createElement(iT,{simple:t},e),hT=(0,lT.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),mT=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return j8(t)},r4=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,Cd)),r.map(n=>m.createElement(r8,{key:n,text:n===""?'""':n}))},gT=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[a,o]=i.useState(!1),[l,s]=i.useState(t||!1);if(r==null)return null;let c=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(c))return m.createElement(r8,{text:c});let d=mT(c),f=d.length;return f>Cd?m.createElement(t4,{isExpanded:l},r4(d,l),m.createElement(uT,{onClick:()=>s(!l)},l?"Show less...":`Show ${f-Cd} more...`)):m.createElement(t4,null,r4(d))}return m.createElement(XD,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:d=>{o(d)},tooltip:m.createElement(cT,{width:hT(n)},m.createElement(au,{language:"jsx",format:!1},n))},m.createElement(sT,{className:"sbdocs-expandable"},m.createElement("span",null,c),a?m.createElement(dT,null):m.createElement(pT,null)))},Nc=({value:e,initialExpandedArgs:t})=>e==null?m.createElement(fT,null):m.createElement(gT,{value:e,initialExpandedArgs:t}),vT=k.span({fontWeight:"bold"}),yT=k.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),wT=k.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Wt({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),bT=k.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?Q(.1,e.color.defaultText):Q(.2,e.color.defaultText),marginTop:t?4:0})),DT=k.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?Q(.1,e.color.defaultText):Q(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),ET=k.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),CT=e=>e&&{summary:typeof e=="string"?e:e.name},gl=e=>{var y;let[t,r]=i.useState(!1),{row:n,updateArgs:a,compact:o,expandable:l,initialExpandedArgs:s}=e,{name:c,description:d}=n,f=n.table||{},g=f.type||CT(n.type),p=f.defaultValue||n.defaultValue,h=(y=n.type)==null?void 0:y.required,v=d!=null&&d!=="";return m.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},m.createElement(ET,{expandable:l},m.createElement(vT,null,c),h?m.createElement(yT,{title:"Required"},"*"):null),o?null:m.createElement("td",null,v&&m.createElement(wT,null,m.createElement(V6,null,d)),f.jsDocTags!=null?m.createElement(m.Fragment,null,m.createElement(DT,{hasDescription:v},m.createElement(Nc,{value:g,initialExpandedArgs:s})),m.createElement(oT,{tags:f.jsDocTags})):m.createElement(bT,{hasDescription:v},m.createElement(Nc,{value:g,initialExpandedArgs:s}))),o?null:m.createElement("td",null,m.createElement(Nc,{value:p,initialExpandedArgs:s})),a?m.createElement("td",null,m.createElement(nT,{...e,isHovered:t})):null)},xT=k.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),FT=k.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),ST=k.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),AT=({inAddonPanel:e})=>{let[t,r]=i.useState(!0);return i.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:m.createElement(xT,{inAddonPanel:e},m.createElement(kp,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:m.createElement(m.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:m.createElement(FT,null,e&&m.createElement(m.Fragment,null,m.createElement(Tn,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},m.createElement(x_,null)," Watch 5m video"),m.createElement(ST,null),m.createElement(Tn,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},m.createElement(hd,null)," Read docs")),!e&&m.createElement(Tn,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},m.createElement(hd,null)," Learn how to set that up"))}))},kT=k(k_)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?Q(.25,e.color.defaultText):Q(.3,e.color.defaultText),border:"none",display:"inline-block"})),BT=k(B_)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?Q(.25,e.color.defaultText):Q(.3,e.color.defaultText),border:"none",display:"inline-block"})),_T=k.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),IT=k.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?Q(.4,e.color.defaultText):Q(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),RT=k.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),zT=k.td({position:"relative"}),TT=k.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${kr(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),n4=k.button({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"}),Hc=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,l]=i.useState(n),s=e==="subsection"?RT:IT,c=(r==null?void 0:r.length)||0,d=e==="subsection"?`${c} item${c!==1?"s":""}`:"",f=`${o?"Hide":"Show"} ${e==="subsection"?c:t} item${c!==1?"s":""}`;return m.createElement(m.Fragment,null,m.createElement(TT,{title:f},m.createElement(s,{colSpan:1},m.createElement(n4,{onClick:g=>l(!o),tabIndex:0},f),m.createElement(_T,null,o?m.createElement(kT,null):m.createElement(BT,null),t)),m.createElement(zT,{colSpan:a-1},m.createElement(n4,{onClick:g=>l(!o),tabIndex:-1,style:{outline:"none"}},f),o?null:d)),o?r:null)},vl=k.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),we=k.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),ue=k.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),be=[2,4,2,2],LT=()=>m.createElement(m.Fragment,null,m.createElement(vl,null,m.createElement(we,{numColumn:be[0]},m.createElement(ue,{width:"60%"})),m.createElement(we,{numColumn:be[1]},m.createElement(ue,{width:"30%"})),m.createElement(we,{numColumn:be[2]},m.createElement(ue,{width:"60%"})),m.createElement(we,{numColumn:be[3]},m.createElement(ue,{width:"60%"}))),m.createElement(vl,null,m.createElement(we,{numColumn:be[0]},m.createElement(ue,{width:"60%"})),m.createElement(we,{numColumn:be[1]},m.createElement(ue,{width:"80%"}),m.createElement(ue,{width:"30%"})),m.createElement(we,{numColumn:be[2]},m.createElement(ue,{width:"60%"})),m.createElement(we,{numColumn:be[3]},m.createElement(ue,{width:"60%"}))),m.createElement(vl,null,m.createElement(we,{numColumn:be[0]},m.createElement(ue,{width:"60%"})),m.createElement(we,{numColumn:be[1]},m.createElement(ue,{width:"80%"}),m.createElement(ue,{width:"30%"})),m.createElement(we,{numColumn:be[2]},m.createElement(ue,{width:"60%"})),m.createElement(we,{numColumn:be[3]},m.createElement(ue,{width:"60%"}))),m.createElement(vl,null,m.createElement(we,{numColumn:be[0]},m.createElement(ue,{width:"60%"})),m.createElement(we,{numColumn:be[1]},m.createElement(ue,{width:"80%"}),m.createElement(ue,{width:"30%"})),m.createElement(we,{numColumn:be[2]},m.createElement(ue,{width:"60%"})),m.createElement(we,{numColumn:be[3]},m.createElement(ue,{width:"60%"})))),MT=k.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?Q(.25,e.color.defaultText):Q(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),OT=k(nr)(({theme:e})=>({margin:"-4px -12px -4px 0"})),PT=k.span({display:"flex",justifyContent:"space-between"}),NT={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},HT=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([o,l])=>{let{category:s,subcategory:c}=(l==null?void 0:l.table)||{};if(s){let d=r.sections[s]||{ungrouped:[],subsections:{}};if(!c)d.ungrouped.push({key:o,...l});else{let f=d.subsections[c]||[];f.push({key:o,...l}),d.subsections[c]=f}r.sections[s]=d}else if(c){let d=r.ungroupedSubsections[c]||[];d.push({key:o,...l}),r.ungroupedSubsections[c]=d}else r.ungrouped.push({key:o,...l})});let n=NT[t],a=o=>n?Object.keys(o).reduce((l,s)=>({...l,[s]:o[s].sort(n)}),{}):o;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((o,l)=>({...o,[l]:{ungrouped:r.sections[l].ungrouped.sort(n),subsections:a(r.sections[l].subsections)}}),{})}},jT=(e,t,r)=>{try{return k8(e,t,r)}catch(n){return z_.warn(n.message),!1}},xd=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:o,sort:l="none",isLoading:s}=e;if("error"in e){let{error:D}=e;return m.createElement(w6,null,D," ",m.createElement(Tn,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},m.createElement(hd,null)," Read the docs"))}if(s)return m.createElement(LT,null);let{rows:c,args:d,globals:f}="rows"in e&&e,g=HT($8(c||{},D=>{var E;return!((E=D==null?void 0:D.table)!=null&&E.disable)&&jT(D,d||{},f||{})}),l),p=g.ungrouped.length===0,h=Object.entries(g.sections).length===0,v=Object.entries(g.ungroupedSubsections).length===0;if(p&&h&&v)return m.createElement(AT,{inAddonPanel:a});let y=1;t&&(y+=1),n||(y+=2);let b=Object.keys(g.sections).length>0,C={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return m.createElement(Lo,null,m.createElement(MT,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},m.createElement("thead",{className:"docblock-argstable-head"},m.createElement("tr",null,m.createElement("th",null,m.createElement("span",null,"Name")),n?null:m.createElement("th",null,m.createElement("span",null,"Description")),n?null:m.createElement("th",null,m.createElement("span",null,"Default")),t?m.createElement("th",null,m.createElement(PT,null,"Control"," ",!s&&r&&m.createElement(OT,{onClick:()=>r(),title:"Reset controls"},m.createElement(I_,{"aria-hidden":!0})))):null)),m.createElement("tbody",{className:"docblock-argstable-body"},g.ungrouped.map(D=>m.createElement(gl,{key:D.key,row:D,arg:d&&d[D.key],...C})),Object.entries(g.ungroupedSubsections).map(([D,E])=>m.createElement(Hc,{key:D,label:D,level:"subsection",colSpan:y},E.map(w=>m.createElement(gl,{key:w.key,row:w,arg:d&&d[w.key],expandable:b,...C})))),Object.entries(g.sections).map(([D,E])=>m.createElement(Hc,{key:D,label:D,level:"section",colSpan:y},E.ungrouped.map(w=>m.createElement(gl,{key:w.key,row:w,arg:d&&d[w.key],...C})),Object.entries(E.subsections).map(([w,x])=>m.createElement(Hc,{key:w,label:w,level:"subsection",colSpan:y},x.map(F=>m.createElement(gl,{key:F.key,row:F,arg:d&&d[F.key],expandable:b,...C})))))))))},$T=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?m.createElement(xd,{...r[0][1],...t}):m.createElement(a6,null,r.map((n,a)=>{let[o,l]=n,s=`prop_table_div_${o}`,c="div",d=a===0?t:{sort:t.sort};return m.createElement(c,{key:s,id:s,title:o},({active:f})=>f?m.createElement(xd,{key:`prop_table_${o}`,...l,...d}):null)}))};k.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?Q(.4,e.color.defaultText):Q(.6,e.color.defaultText)}));k.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});k.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});k.div(te,({theme:e})=>({...pu(e),margin:"25px 0 40px",padding:"30px 20px"}));var VT=k.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText})),UT=k.div(({theme:e})=>({color:e.base==="light"?Q(.2,e.color.defaultText):Q(.6,e.color.defaultText)})),qT=k.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5}),WT=k.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?Q(.4,e.color.defaultText):Q(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}})),a4=k.div({display:"flex",flexDirection:"row"}),GT=k.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}})),o4=k.div(({theme:e})=>({...pu(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"})),l4=k.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30}),KT=k.div({flex:1,display:"flex",flexDirection:"row"}),YT=k.div({display:"flex",alignItems:"flex-start"}),ZT=k.div({flex:"0 0 30%"}),JT=k.div({flex:1}),XT=k.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?Q(.4,e.color.defaultText):Q(.6,e.color.defaultText)})),QT=k.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));function i4(e,t){return m.createElement(GT,{key:`${e}-${t}`,title:e,background:e})}function u4(e,t,r){return m.createElement(WT,{key:`${e}-${t}`,title:e},m.createElement("div",null,e,r&&m.createElement("span",null,r)))}function eL(e){if(Array.isArray(e))return m.createElement(l4,null,m.createElement(o4,null,e.map((n,a)=>i4(n,a))),m.createElement(a4,null,e.map((n,a)=>u4(n,a))));let t=[],r=[];for(let n in e){let a=e[n];t.push(i4(a,t.length)),r.push(u4(n,r.length,a))}return m.createElement(l4,null,m.createElement(o4,null,t),m.createElement(a4,null,r))}var jP=({title:e,subtitle:t,colors:r})=>m.createElement(YT,null,m.createElement(qT,null,m.createElement(VT,null,e),m.createElement(UT,null,t)),m.createElement(KT,null,eL(r))),$P=({children:e,...t})=>m.createElement(Lo,null,m.createElement(QT,{...t,className:"docblock-colorpalette sb-unstyled"},m.createElement(XT,null,m.createElement(ZT,null,"Name"),m.createElement(JT,null,"Swatches")),e)),tL=k.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2})),rL=k.div(({theme:e})=>({...pu(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}})),nL=k.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"}),aL=k.div({display:"flex",flexFlow:"row wrap"}),VP=({name:e,children:t})=>m.createElement(nL,null,m.createElement(rL,null,t),m.createElement(tL,null,e)),UP=({children:e,...t})=>m.createElement(Lo,null,m.createElement(aL,{...t,className:"docblock-icongallery sb-unstyled"},e)),oL=e=>`anchor--${e}`,n8=({storyId:e,children:t})=>m.createElement("div",{id:oL(e),className:"sb-anchor"},t);globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=i.createContext(null),globalThis.__DOCS_CONTEXT__.displayName="DocsContext");var ct=globalThis?globalThis.__DOCS_CONTEXT__:i.createContext(null),rn=(e,t)=>i.useContext(ct).resolveOf(e,t),lL=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),iL=e=>{if(e)return typeof e=="string"?e.includes("-")?lL(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function uL(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}var sL=Object.create,a8=Object.defineProperty,cL=Object.getOwnPropertyDescriptor,o8=Object.getOwnPropertyNames,dL=Object.getPrototypeOf,pL=Object.prototype.hasOwnProperty,Ge=(e,t)=>function(){return t||(0,e[o8(e)[0]])((t={exports:{}}).exports,t),t.exports},fL=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of o8(t))!pL.call(e,a)&&a!==r&&a8(e,a,{get:()=>t[a],enumerable:!(n=cL(t,a))||n.enumerable});return e},Op=(e,t,r)=>(r=e!=null?sL(dL(e)):{},fL(!e||!e.__esModule?a8(r,"default",{value:e,enumerable:!0}):r,e)),hL=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],mL=["detail"];function gL(e){let t=hL.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&mL.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var vL=Bd(p6(),1),l8=Ge({"node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),a=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var o=42;r[n]=o;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var l=Object.getOwnPropertySymbols(r);if(l.length!==1||l[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(r,n);if(s.value!==o||s.enumerable!==!0)return!1}return!0}}}),i8=Ge({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=l8();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),yL=Ge({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,a=Object.prototype.toString,o="[object Function]";t.exports=function(l){var s=this;if(typeof s!="function"||a.call(s)!==o)throw new TypeError(r+s);for(var c=n.call(arguments,1),d,f=function(){if(this instanceof d){var y=s.apply(this,c.concat(n.call(arguments)));return Object(y)===y?y:this}else return s.apply(l,c.concat(n.call(arguments)))},g=Math.max(0,s.length-c.length),p=[],h=0;h"u"?r:g(Uint8Array),v={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":f?g([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":p,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?g(g([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!f?r:g(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!f?r:g(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?g(""[Symbol.iterator]()):r,"%Symbol%":f?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":d,"%TypedArray%":h,"%TypeError%":o,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},y=function z(T){var M;if(T==="%AsyncFunction%")M=l("async function () {}");else if(T==="%GeneratorFunction%")M=l("function* () {}");else if(T==="%AsyncGeneratorFunction%")M=l("async function* () {}");else if(T==="%AsyncGenerator%"){var L=z("%AsyncGeneratorFunction%");L&&(M=L.prototype)}else if(T==="%AsyncIteratorPrototype%"){var O=z("%AsyncGenerator%");O&&(M=g(O.prototype))}return v[T]=M,M},b={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},C=Pp(),D=wL(),E=C.call(Function.call,Array.prototype.concat),w=C.call(Function.apply,Array.prototype.splice),x=C.call(Function.call,String.prototype.replace),F=C.call(Function.call,String.prototype.slice),S=C.call(Function.call,RegExp.prototype.exec),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,B=/\\(\\)?/g,_=function(z){var T=F(z,0,1),M=F(z,-1);if(T==="%"&&M!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(M==="%"&&T!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var L=[];return x(z,A,function(O,j,V,U){L[L.length]=V?x(U,B,"$1"):j||O}),L},I=function(z,T){var M=z,L;if(D(b,M)&&(L=b[M],M="%"+L[0]+"%"),D(v,M)){var O=v[M];if(O===p&&(O=y(M)),typeof O>"u"&&!T)throw new o("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:L,name:M,value:O}}throw new n("intrinsic "+z+" does not exist!")};t.exports=function(z,T){if(typeof z!="string"||z.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof T!="boolean")throw new o('"allowMissing" argument must be a boolean');if(S(/^%?[^%]*%?$/,z)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var M=_(z),L=M.length>0?M[0]:"",O=I("%"+L+"%",T),j=O.name,V=O.value,U=!1,G=O.alias;G&&(L=G[0],w(M,E([0,1],G)));for(var Z=1,re=!0;Z=M.length){var K=s(V,Y);re=!!K,re&&"get"in K&&!("originalValue"in K.get)?V=K.get:V=V[Y]}else re=D(V,Y),V=V[Y];re&&!U&&(v[j]=V)}}return V}}}),bL=Ge({"node_modules/call-bind/index.js"(e,t){var r=Pp(),n=u8(),a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),l=n("%Reflect.apply%",!0)||r.call(o,a),s=n("%Object.getOwnPropertyDescriptor%",!0),c=n("%Object.defineProperty%",!0),d=n("%Math.max%");if(c)try{c({},"a",{value:1})}catch{c=null}t.exports=function(g){var p=l(r,o,arguments);if(s&&c){var h=s(p,"length");h.configurable&&c(p,"length",{value:1+d(0,g.length-(arguments.length-1))})}return p};var f=function(){return l(r,a,arguments)};c?c(t.exports,"apply",{value:f}):t.exports.apply=f}}),DL=Ge({"node_modules/call-bind/callBound.js"(e,t){var r=u8(),n=bL(),a=n(r("String.prototype.indexOf"));t.exports=function(o,l){var s=r(o,!!l);return typeof s=="function"&&a(o,".prototype.")>-1?n(s):s}}}),EL=Ge({"node_modules/has-tostringtag/shams.js"(e,t){var r=l8();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),CL=Ge({"node_modules/is-regex/index.js"(e,t){var r=DL(),n=EL()(),a,o,l,s;n&&(a=r("Object.prototype.hasOwnProperty"),o=r("RegExp.prototype.exec"),l={},c=function(){throw l},s={toString:c,valueOf:c},typeof Symbol.toPrimitive=="symbol"&&(s[Symbol.toPrimitive]=c));var c,d=r("Object.prototype.toString"),f=Object.getOwnPropertyDescriptor,g="[object RegExp]";t.exports=n?function(p){if(!p||typeof p!="object")return!1;var h=f(p,"lastIndex"),v=h&&a(h,"value");if(!v)return!1;try{o(p,s)}catch(y){return y===l}}:function(p){return!p||typeof p!="object"&&typeof p!="function"?!1:d(p)===g}}}),xL=Ge({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(a){if(!a)return!1;var o=r.call(a);return o==="[object Function]"||typeof a=="function"&&o!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}}}),FL=Ge({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=i8()();n?(a=Symbol.prototype.toString,o=/^Symbol\(.*\)$/,l=function(s){return typeof s.valueOf()!="symbol"?!1:o.test(a.call(s))},t.exports=function(s){if(typeof s=="symbol")return!0;if(r.call(s)!=="[object Symbol]")return!1;try{return l(s)}catch{return!1}}):t.exports=function(s){return!1};var a,o,l}}),SL=Op(CL()),AL=Op(xL()),kL=Op(FL());function BL(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var _L=typeof global=="object"&&global&&global.Object===Object&&global,IL=_L,RL=typeof self=="object"&&self&&self.Object===Object&&self,zL=IL||RL||Function("return this")(),Np=zL,TL=Np.Symbol,Wn=TL,s8=Object.prototype,LL=s8.hasOwnProperty,ML=s8.toString,Aa=Wn?Wn.toStringTag:void 0;function OL(e){var t=LL.call(e,Aa),r=e[Aa];try{e[Aa]=void 0;var n=!0}catch{}var a=ML.call(e);return n&&(t?e[Aa]=r:delete e[Aa]),a}var PL=OL,NL=Object.prototype,HL=NL.toString;function jL(e){return HL.call(e)}var $L=jL,VL="[object Null]",UL="[object Undefined]",s4=Wn?Wn.toStringTag:void 0;function qL(e){return e==null?e===void 0?UL:VL:s4&&s4 in Object(e)?PL(e):$L(e)}var WL=qL,c4=Wn?Wn.prototype:void 0;c4&&c4.toString;function GL(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var c8=GL,KL="[object AsyncFunction]",YL="[object Function]",ZL="[object GeneratorFunction]",JL="[object Proxy]";function XL(e){if(!c8(e))return!1;var t=WL(e);return t==YL||t==ZL||t==KL||t==JL}var QL=XL,eM=Np["__core-js_shared__"],jc=eM,d4=function(){var e=/[^.]+$/.exec(jc&&jc.keys&&jc.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function tM(e){return!!d4&&d4 in e}var rM=tM,nM=Function.prototype,aM=nM.toString;function oM(e){if(e!=null){try{return aM.call(e)}catch{}try{return e+""}catch{}}return""}var lM=oM,iM=/[\\^$.*+?()[\]{}|]/g,uM=/^\[object .+?Constructor\]$/,sM=Function.prototype,cM=Object.prototype,dM=sM.toString,pM=cM.hasOwnProperty,fM=RegExp("^"+dM.call(pM).replace(iM,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function hM(e){if(!c8(e)||rM(e))return!1;var t=QL(e)?fM:uM;return t.test(lM(e))}var mM=hM;function gM(e,t){return e==null?void 0:e[t]}var vM=gM;function yM(e,t){var r=vM(e,t);return mM(r)?r:void 0}var d8=yM;function wM(e,t){return e===t||e!==e&&t!==t}var bM=wM,DM=d8(Object,"create"),fo=DM;function EM(){this.__data__=fo?fo(null):{},this.size=0}var CM=EM;function xM(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var FM=xM,SM="__lodash_hash_undefined__",AM=Object.prototype,kM=AM.hasOwnProperty;function BM(e){var t=this.__data__;if(fo){var r=t[e];return r===SM?void 0:r}return kM.call(t,e)?t[e]:void 0}var _M=BM,IM=Object.prototype,RM=IM.hasOwnProperty;function zM(e){var t=this.__data__;return fo?t[e]!==void 0:RM.call(t,e)}var TM=zM,LM="__lodash_hash_undefined__";function MM(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=fo&&t===void 0?LM:t,this}var OM=MM;function ra(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var KM=GM;function YM(e,t){var r=this.__data__,n=mu(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var ZM=YM;function na(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,a=!1,o="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let l=0;l({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),qz=k.div({display:"flex",alignItems:"center",width:"100%"});function Wz(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var Gz=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:l,onFocus:u,argType:c})=>{var h;let d=v=>{r(nz(v.target.value))},f=t!==void 0,g=i.useMemo(()=>Wz(o),[o]),p=!!((h=c==null?void 0:c.table)!=null&&h.readonly);return m.createElement(qz,{"aria-readonly":p},m.createElement(t8,null,n),m.createElement(Vz,{id:it(e),type:"range",disabled:p,onChange:d,name:e,value:t,min:n,max:a,step:o,onFocus:u,onBlur:l}),m.createElement(Uz,{numberOFDecimalsPlaces:g,max:a},f?t.toFixed(g):"--"," / ",a))},Kz=k.label({display:"flex"}),Yz=k.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),Zz=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o,argType:l})=>{var h;let u=v=>{r(v.target.value)},c=!!((h=l==null?void 0:l.table)!=null&&h.readonly),[d,f]=i.useState(!1),g=i.useCallback(()=>{r(""),f(!0)},[f]);if(t===void 0)return m.createElement(hr,{variant:"outline",size:"medium",disabled:c,id:wi(e),onClick:g},"Set string");let p=typeof t=="string";return m.createElement(Kz,null,m.createElement(ta.Textarea,{id:it(e),maxLength:o,onChange:u,disabled:c,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:p?null:"error",name:e,value:p?t:"",onFocus:n,onBlur:a}),o&&m.createElement(Yz,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},Jz=k(ta.Input)({padding:10});function Xz(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var Qz=({onChange:e,name:t,accept:r="image/*",value:n,argType:a})=>{var c;let o=i.useRef(null),l=(c=a==null?void 0:a.control)==null?void 0:c.readOnly;function u(d){if(!d.target.files)return;let f=Array.from(d.target.files).map(g=>URL.createObjectURL(g));e(f),Xz(n)}return i.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),m.createElement(Jz,{ref:o,id:it(t),type:"file",name:t,multiple:!0,disabled:l,onChange:u,accept:r,size:"flex"})},eT=i.lazy(()=>Ad(()=>import("./Color-YHDXOIA2-LQ0Hw68V.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url)),tT=e=>m.createElement(i.Suspense,{fallback:m.createElement("div",null)},m.createElement(eT,{...e})),rT={array:Q2,object:Q2,boolean:YR,color:tT,date:tz,number:oz,check:mn,"inline-check":mn,radio:mn,"inline-radio":mn,select:mn,"multi-select":mn,range:Gz,text:Zz,file:Qz},ev=()=>m.createElement(m.Fragment,null,"-"),nT=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var y;let{key:a,control:o}=e,[l,u]=i.useState(!1),[c,d]=i.useState({value:t});i.useEffect(()=>{l||d({value:t})},[l,t]);let f=i.useCallback(b=>(d({value:b}),r({[a]:b}),b),[r,a]),g=i.useCallback(()=>u(!1),[]),p=i.useCallback(()=>u(!0),[]);if(!o||o.disable){let b=(o==null?void 0:o.disable)!==!0&&((y=e==null?void 0:e.type)==null?void 0:y.name)!=="function";return n&&b?m.createElement(Tn,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):m.createElement(ev,null)}let h={name:a,argType:e,value:c.value,onChange:f,onBlur:g,onFocus:p},v=rT[o.type]||ev;return m.createElement(v,{...h,...o,controlType:o.type})},aT=k.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:Wt({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),oT=({tags:e})=>{let t=(e.params||[]).filter(o=>o.description),r=t.length!==0,n=e.deprecated!=null,a=e.returns!=null&&e.returns.description!=null;return!r&&!a&&!n?null:m.createElement(m.Fragment,null,m.createElement(aT,null,m.createElement("tbody",null,n&&m.createElement("tr",{key:"deprecated"},m.createElement("td",{colSpan:2},m.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(o=>m.createElement("tr",{key:o.name},m.createElement("td",null,m.createElement("code",null,o.name)),m.createElement("td",null,o.description))),a&&m.createElement("tr",{key:"returns"},m.createElement("td",null,m.createElement("code",null,"Returns")),m.createElement("td",null,e.returns.description)))))},lT=Bd(p6()),Cd=8,tv=k.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),iT=k.span(Wt,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),sT=k.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),uT=k.div(Wt,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),cT=k.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),dT=k(__)({marginLeft:4}),pT=k(c6)({marginLeft:4}),fT=()=>m.createElement("span",null,"-"),r8=({text:e,simple:t})=>m.createElement(iT,{simple:t},e),hT=(0,lT.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),mT=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return j8(t)},rv=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,Cd)),r.map(n=>m.createElement(r8,{key:n,text:n===""?'""':n}))},gT=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[a,o]=i.useState(!1),[l,u]=i.useState(t||!1);if(r==null)return null;let c=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(c))return m.createElement(r8,{text:c});let d=mT(c),f=d.length;return f>Cd?m.createElement(tv,{isExpanded:l},rv(d,l),m.createElement(sT,{onClick:()=>u(!l)},l?"Show less...":`Show ${f-Cd} more...`)):m.createElement(tv,null,rv(d))}return m.createElement(XD,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:d=>{o(d)},tooltip:m.createElement(cT,{width:hT(n)},m.createElement(as,{language:"jsx",format:!1},n))},m.createElement(uT,{className:"sbdocs-expandable"},m.createElement("span",null,c),a?m.createElement(dT,null):m.createElement(pT,null)))},Nc=({value:e,initialExpandedArgs:t})=>e==null?m.createElement(fT,null):m.createElement(gT,{value:e,initialExpandedArgs:t}),vT=k.span({fontWeight:"bold"}),yT=k.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),wT=k.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Wt({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),bT=k.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?Q(.1,e.color.defaultText):Q(.2,e.color.defaultText),marginTop:t?4:0})),DT=k.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?Q(.1,e.color.defaultText):Q(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),ET=k.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),CT=e=>e&&{summary:typeof e=="string"?e:e.name},gl=e=>{var y;let[t,r]=i.useState(!1),{row:n,updateArgs:a,compact:o,expandable:l,initialExpandedArgs:u}=e,{name:c,description:d}=n,f=n.table||{},g=f.type||CT(n.type),p=f.defaultValue||n.defaultValue,h=(y=n.type)==null?void 0:y.required,v=d!=null&&d!=="";return m.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},m.createElement(ET,{expandable:l},m.createElement(vT,null,c),h?m.createElement(yT,{title:"Required"},"*"):null),o?null:m.createElement("td",null,v&&m.createElement(wT,null,m.createElement(V6,null,d)),f.jsDocTags!=null?m.createElement(m.Fragment,null,m.createElement(DT,{hasDescription:v},m.createElement(Nc,{value:g,initialExpandedArgs:u})),m.createElement(oT,{tags:f.jsDocTags})):m.createElement(bT,{hasDescription:v},m.createElement(Nc,{value:g,initialExpandedArgs:u}))),o?null:m.createElement("td",null,m.createElement(Nc,{value:p,initialExpandedArgs:u})),a?m.createElement("td",null,m.createElement(nT,{...e,isHovered:t})):null)},xT=k.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),FT=k.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),ST=k.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),AT=({inAddonPanel:e})=>{let[t,r]=i.useState(!0);return i.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:m.createElement(xT,{inAddonPanel:e},m.createElement(kp,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:m.createElement(m.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:m.createElement(FT,null,e&&m.createElement(m.Fragment,null,m.createElement(Tn,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},m.createElement(x_,null)," Watch 5m video"),m.createElement(ST,null),m.createElement(Tn,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},m.createElement(hd,null)," Read docs")),!e&&m.createElement(Tn,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},m.createElement(hd,null)," Learn how to set that up"))}))},kT=k(k_)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?Q(.25,e.color.defaultText):Q(.3,e.color.defaultText),border:"none",display:"inline-block"})),BT=k(B_)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?Q(.25,e.color.defaultText):Q(.3,e.color.defaultText),border:"none",display:"inline-block"})),_T=k.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),IT=k.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?Q(.4,e.color.defaultText):Q(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),RT=k.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),zT=k.td({position:"relative"}),TT=k.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${kr(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),nv=k.button({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"}),Hc=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,l]=i.useState(n),u=e==="subsection"?RT:IT,c=(r==null?void 0:r.length)||0,d=e==="subsection"?`${c} item${c!==1?"s":""}`:"",f=`${o?"Hide":"Show"} ${e==="subsection"?c:t} item${c!==1?"s":""}`;return m.createElement(m.Fragment,null,m.createElement(TT,{title:f},m.createElement(u,{colSpan:1},m.createElement(nv,{onClick:g=>l(!o),tabIndex:0},f),m.createElement(_T,null,o?m.createElement(kT,null):m.createElement(BT,null),t)),m.createElement(zT,{colSpan:a-1},m.createElement(nv,{onClick:g=>l(!o),tabIndex:-1,style:{outline:"none"}},f),o?null:d)),o?r:null)},vl=k.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),we=k.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),se=k.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),be=[2,4,2,2],LT=()=>m.createElement(m.Fragment,null,m.createElement(vl,null,m.createElement(we,{numColumn:be[0]},m.createElement(se,{width:"60%"})),m.createElement(we,{numColumn:be[1]},m.createElement(se,{width:"30%"})),m.createElement(we,{numColumn:be[2]},m.createElement(se,{width:"60%"})),m.createElement(we,{numColumn:be[3]},m.createElement(se,{width:"60%"}))),m.createElement(vl,null,m.createElement(we,{numColumn:be[0]},m.createElement(se,{width:"60%"})),m.createElement(we,{numColumn:be[1]},m.createElement(se,{width:"80%"}),m.createElement(se,{width:"30%"})),m.createElement(we,{numColumn:be[2]},m.createElement(se,{width:"60%"})),m.createElement(we,{numColumn:be[3]},m.createElement(se,{width:"60%"}))),m.createElement(vl,null,m.createElement(we,{numColumn:be[0]},m.createElement(se,{width:"60%"})),m.createElement(we,{numColumn:be[1]},m.createElement(se,{width:"80%"}),m.createElement(se,{width:"30%"})),m.createElement(we,{numColumn:be[2]},m.createElement(se,{width:"60%"})),m.createElement(we,{numColumn:be[3]},m.createElement(se,{width:"60%"}))),m.createElement(vl,null,m.createElement(we,{numColumn:be[0]},m.createElement(se,{width:"60%"})),m.createElement(we,{numColumn:be[1]},m.createElement(se,{width:"80%"}),m.createElement(se,{width:"30%"})),m.createElement(we,{numColumn:be[2]},m.createElement(se,{width:"60%"})),m.createElement(we,{numColumn:be[3]},m.createElement(se,{width:"60%"})))),MT=k.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?Q(.25,e.color.defaultText):Q(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),OT=k(nr)(({theme:e})=>({margin:"-4px -12px -4px 0"})),PT=k.span({display:"flex",justifyContent:"space-between"}),NT={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},HT=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([o,l])=>{let{category:u,subcategory:c}=(l==null?void 0:l.table)||{};if(u){let d=r.sections[u]||{ungrouped:[],subsections:{}};if(!c)d.ungrouped.push({key:o,...l});else{let f=d.subsections[c]||[];f.push({key:o,...l}),d.subsections[c]=f}r.sections[u]=d}else if(c){let d=r.ungroupedSubsections[c]||[];d.push({key:o,...l}),r.ungroupedSubsections[c]=d}else r.ungrouped.push({key:o,...l})});let n=NT[t],a=o=>n?Object.keys(o).reduce((l,u)=>({...l,[u]:o[u].sort(n)}),{}):o;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((o,l)=>({...o,[l]:{ungrouped:r.sections[l].ungrouped.sort(n),subsections:a(r.sections[l].subsections)}}),{})}},jT=(e,t,r)=>{try{return k8(e,t,r)}catch(n){return z_.warn(n.message),!1}},xd=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:o,sort:l="none",isLoading:u}=e;if("error"in e){let{error:D}=e;return m.createElement(w6,null,D," ",m.createElement(Tn,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},m.createElement(hd,null)," Read the docs"))}if(u)return m.createElement(LT,null);let{rows:c,args:d,globals:f}="rows"in e&&e,g=HT($8(c||{},D=>{var E;return!((E=D==null?void 0:D.table)!=null&&E.disable)&&jT(D,d||{},f||{})}),l),p=g.ungrouped.length===0,h=Object.entries(g.sections).length===0,v=Object.entries(g.ungroupedSubsections).length===0;if(p&&h&&v)return m.createElement(AT,{inAddonPanel:a});let y=1;t&&(y+=1),n||(y+=2);let b=Object.keys(g.sections).length>0,C={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return m.createElement(Lo,null,m.createElement(MT,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},m.createElement("thead",{className:"docblock-argstable-head"},m.createElement("tr",null,m.createElement("th",null,m.createElement("span",null,"Name")),n?null:m.createElement("th",null,m.createElement("span",null,"Description")),n?null:m.createElement("th",null,m.createElement("span",null,"Default")),t?m.createElement("th",null,m.createElement(PT,null,"Control"," ",!u&&r&&m.createElement(OT,{onClick:()=>r(),title:"Reset controls"},m.createElement(I_,{"aria-hidden":!0})))):null)),m.createElement("tbody",{className:"docblock-argstable-body"},g.ungrouped.map(D=>m.createElement(gl,{key:D.key,row:D,arg:d&&d[D.key],...C})),Object.entries(g.ungroupedSubsections).map(([D,E])=>m.createElement(Hc,{key:D,label:D,level:"subsection",colSpan:y},E.map(w=>m.createElement(gl,{key:w.key,row:w,arg:d&&d[w.key],expandable:b,...C})))),Object.entries(g.sections).map(([D,E])=>m.createElement(Hc,{key:D,label:D,level:"section",colSpan:y},E.ungrouped.map(w=>m.createElement(gl,{key:w.key,row:w,arg:d&&d[w.key],...C})),Object.entries(E.subsections).map(([w,x])=>m.createElement(Hc,{key:w,label:w,level:"subsection",colSpan:y},x.map(F=>m.createElement(gl,{key:F.key,row:F,arg:d&&d[F.key],expandable:b,...C})))))))))},$T=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?m.createElement(xd,{...r[0][1],...t}):m.createElement(a6,null,r.map((n,a)=>{let[o,l]=n,u=`prop_table_div_${o}`,c="div",d=a===0?t:{sort:t.sort};return m.createElement(c,{key:u,id:u,title:o},({active:f})=>f?m.createElement(xd,{key:`prop_table_${o}`,...l,...d}):null)}))};k.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?Q(.4,e.color.defaultText):Q(.6,e.color.defaultText)}));k.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});k.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});k.div(te,({theme:e})=>({...ps(e),margin:"25px 0 40px",padding:"30px 20px"}));var VT=k.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText})),UT=k.div(({theme:e})=>({color:e.base==="light"?Q(.2,e.color.defaultText):Q(.6,e.color.defaultText)})),qT=k.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5}),WT=k.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?Q(.4,e.color.defaultText):Q(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}})),av=k.div({display:"flex",flexDirection:"row"}),GT=k.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}})),ov=k.div(({theme:e})=>({...ps(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"})),lv=k.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30}),KT=k.div({flex:1,display:"flex",flexDirection:"row"}),YT=k.div({display:"flex",alignItems:"flex-start"}),ZT=k.div({flex:"0 0 30%"}),JT=k.div({flex:1}),XT=k.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?Q(.4,e.color.defaultText):Q(.6,e.color.defaultText)})),QT=k.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));function iv(e,t){return m.createElement(GT,{key:`${e}-${t}`,title:e,background:e})}function sv(e,t,r){return m.createElement(WT,{key:`${e}-${t}`,title:e},m.createElement("div",null,e,r&&m.createElement("span",null,r)))}function eL(e){if(Array.isArray(e))return m.createElement(lv,null,m.createElement(ov,null,e.map((n,a)=>iv(n,a))),m.createElement(av,null,e.map((n,a)=>sv(n,a))));let t=[],r=[];for(let n in e){let a=e[n];t.push(iv(a,t.length)),r.push(sv(n,r.length,a))}return m.createElement(lv,null,m.createElement(ov,null,t),m.createElement(av,null,r))}var jP=({title:e,subtitle:t,colors:r})=>m.createElement(YT,null,m.createElement(qT,null,m.createElement(VT,null,e),m.createElement(UT,null,t)),m.createElement(KT,null,eL(r))),$P=({children:e,...t})=>m.createElement(Lo,null,m.createElement(QT,{...t,className:"docblock-colorpalette sb-unstyled"},m.createElement(XT,null,m.createElement(ZT,null,"Name"),m.createElement(JT,null,"Swatches")),e)),tL=k.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2})),rL=k.div(({theme:e})=>({...ps(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}})),nL=k.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"}),aL=k.div({display:"flex",flexFlow:"row wrap"}),VP=({name:e,children:t})=>m.createElement(nL,null,m.createElement(rL,null,t),m.createElement(tL,null,e)),UP=({children:e,...t})=>m.createElement(Lo,null,m.createElement(aL,{...t,className:"docblock-icongallery sb-unstyled"},e)),oL=e=>`anchor--${e}`,n8=({storyId:e,children:t})=>m.createElement("div",{id:oL(e),className:"sb-anchor"},t);globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=i.createContext(null),globalThis.__DOCS_CONTEXT__.displayName="DocsContext");var ct=globalThis?globalThis.__DOCS_CONTEXT__:i.createContext(null),rn=(e,t)=>i.useContext(ct).resolveOf(e,t),lL=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),iL=e=>{if(e)return typeof e=="string"?e.includes("-")?lL(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function sL(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}var uL=Object.create,a8=Object.defineProperty,cL=Object.getOwnPropertyDescriptor,o8=Object.getOwnPropertyNames,dL=Object.getPrototypeOf,pL=Object.prototype.hasOwnProperty,Ge=(e,t)=>function(){return t||(0,e[o8(e)[0]])((t={exports:{}}).exports,t),t.exports},fL=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of o8(t))!pL.call(e,a)&&a!==r&&a8(e,a,{get:()=>t[a],enumerable:!(n=cL(t,a))||n.enumerable});return e},Op=(e,t,r)=>(r=e!=null?uL(dL(e)):{},fL(!e||!e.__esModule?a8(r,"default",{value:e,enumerable:!0}):r,e)),hL=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],mL=["detail"];function gL(e){let t=hL.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&mL.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var vL=Bd(p6(),1),l8=Ge({"node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),a=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var o=42;r[n]=o;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var l=Object.getOwnPropertySymbols(r);if(l.length!==1||l[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(r,n);if(u.value!==o||u.enumerable!==!0)return!1}return!0}}}),i8=Ge({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=l8();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),yL=Ge({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,a=Object.prototype.toString,o="[object Function]";t.exports=function(l){var u=this;if(typeof u!="function"||a.call(u)!==o)throw new TypeError(r+u);for(var c=n.call(arguments,1),d,f=function(){if(this instanceof d){var y=u.apply(this,c.concat(n.call(arguments)));return Object(y)===y?y:this}else return u.apply(l,c.concat(n.call(arguments)))},g=Math.max(0,u.length-c.length),p=[],h=0;h"u"?r:g(Uint8Array),v={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":f?g([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":p,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?g(g([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!f?r:g(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!f?r:g(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?g(""[Symbol.iterator]()):r,"%Symbol%":f?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":d,"%TypedArray%":h,"%TypeError%":o,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},y=function z(T){var M;if(T==="%AsyncFunction%")M=l("async function () {}");else if(T==="%GeneratorFunction%")M=l("function* () {}");else if(T==="%AsyncGeneratorFunction%")M=l("async function* () {}");else if(T==="%AsyncGenerator%"){var L=z("%AsyncGeneratorFunction%");L&&(M=L.prototype)}else if(T==="%AsyncIteratorPrototype%"){var O=z("%AsyncGenerator%");O&&(M=g(O.prototype))}return v[T]=M,M},b={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},C=Pp(),D=wL(),E=C.call(Function.call,Array.prototype.concat),w=C.call(Function.apply,Array.prototype.splice),x=C.call(Function.call,String.prototype.replace),F=C.call(Function.call,String.prototype.slice),S=C.call(Function.call,RegExp.prototype.exec),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,B=/\\(\\)?/g,_=function(z){var T=F(z,0,1),M=F(z,-1);if(T==="%"&&M!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(M==="%"&&T!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var L=[];return x(z,A,function(O,j,V,U){L[L.length]=V?x(U,B,"$1"):j||O}),L},I=function(z,T){var M=z,L;if(D(b,M)&&(L=b[M],M="%"+L[0]+"%"),D(v,M)){var O=v[M];if(O===p&&(O=y(M)),typeof O>"u"&&!T)throw new o("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:L,name:M,value:O}}throw new n("intrinsic "+z+" does not exist!")};t.exports=function(z,T){if(typeof z!="string"||z.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof T!="boolean")throw new o('"allowMissing" argument must be a boolean');if(S(/^%?[^%]*%?$/,z)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var M=_(z),L=M.length>0?M[0]:"",O=I("%"+L+"%",T),j=O.name,V=O.value,U=!1,G=O.alias;G&&(L=G[0],w(M,E([0,1],G)));for(var Z=1,re=!0;Z=M.length){var K=u(V,Y);re=!!K,re&&"get"in K&&!("originalValue"in K.get)?V=K.get:V=V[Y]}else re=D(V,Y),V=V[Y];re&&!U&&(v[j]=V)}}return V}}}),bL=Ge({"node_modules/call-bind/index.js"(e,t){var r=Pp(),n=s8(),a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),l=n("%Reflect.apply%",!0)||r.call(o,a),u=n("%Object.getOwnPropertyDescriptor%",!0),c=n("%Object.defineProperty%",!0),d=n("%Math.max%");if(c)try{c({},"a",{value:1})}catch{c=null}t.exports=function(g){var p=l(r,o,arguments);if(u&&c){var h=u(p,"length");h.configurable&&c(p,"length",{value:1+d(0,g.length-(arguments.length-1))})}return p};var f=function(){return l(r,a,arguments)};c?c(t.exports,"apply",{value:f}):t.exports.apply=f}}),DL=Ge({"node_modules/call-bind/callBound.js"(e,t){var r=s8(),n=bL(),a=n(r("String.prototype.indexOf"));t.exports=function(o,l){var u=r(o,!!l);return typeof u=="function"&&a(o,".prototype.")>-1?n(u):u}}}),EL=Ge({"node_modules/has-tostringtag/shams.js"(e,t){var r=l8();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),CL=Ge({"node_modules/is-regex/index.js"(e,t){var r=DL(),n=EL()(),a,o,l,u;n&&(a=r("Object.prototype.hasOwnProperty"),o=r("RegExp.prototype.exec"),l={},c=function(){throw l},u={toString:c,valueOf:c},typeof Symbol.toPrimitive=="symbol"&&(u[Symbol.toPrimitive]=c));var c,d=r("Object.prototype.toString"),f=Object.getOwnPropertyDescriptor,g="[object RegExp]";t.exports=n?function(p){if(!p||typeof p!="object")return!1;var h=f(p,"lastIndex"),v=h&&a(h,"value");if(!v)return!1;try{o(p,u)}catch(y){return y===l}}:function(p){return!p||typeof p!="object"&&typeof p!="function"?!1:d(p)===g}}}),xL=Ge({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(a){if(!a)return!1;var o=r.call(a);return o==="[object Function]"||typeof a=="function"&&o!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}}}),FL=Ge({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=i8()();n?(a=Symbol.prototype.toString,o=/^Symbol\(.*\)$/,l=function(u){return typeof u.valueOf()!="symbol"?!1:o.test(a.call(u))},t.exports=function(u){if(typeof u=="symbol")return!0;if(r.call(u)!=="[object Symbol]")return!1;try{return l(u)}catch{return!1}}):t.exports=function(u){return!1};var a,o,l}}),SL=Op(CL()),AL=Op(xL()),kL=Op(FL());function BL(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var _L=typeof global=="object"&&global&&global.Object===Object&&global,IL=_L,RL=typeof self=="object"&&self&&self.Object===Object&&self,zL=IL||RL||Function("return this")(),Np=zL,TL=Np.Symbol,Wn=TL,u8=Object.prototype,LL=u8.hasOwnProperty,ML=u8.toString,Aa=Wn?Wn.toStringTag:void 0;function OL(e){var t=LL.call(e,Aa),r=e[Aa];try{e[Aa]=void 0;var n=!0}catch{}var a=ML.call(e);return n&&(t?e[Aa]=r:delete e[Aa]),a}var PL=OL,NL=Object.prototype,HL=NL.toString;function jL(e){return HL.call(e)}var $L=jL,VL="[object Null]",UL="[object Undefined]",uv=Wn?Wn.toStringTag:void 0;function qL(e){return e==null?e===void 0?UL:VL:uv&&uv in Object(e)?PL(e):$L(e)}var WL=qL,cv=Wn?Wn.prototype:void 0;cv&&cv.toString;function GL(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var c8=GL,KL="[object AsyncFunction]",YL="[object Function]",ZL="[object GeneratorFunction]",JL="[object Proxy]";function XL(e){if(!c8(e))return!1;var t=WL(e);return t==YL||t==ZL||t==KL||t==JL}var QL=XL,eM=Np["__core-js_shared__"],jc=eM,dv=function(){var e=/[^.]+$/.exec(jc&&jc.keys&&jc.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function tM(e){return!!dv&&dv in e}var rM=tM,nM=Function.prototype,aM=nM.toString;function oM(e){if(e!=null){try{return aM.call(e)}catch{}try{return e+""}catch{}}return""}var lM=oM,iM=/[\\^$.*+?()[\]{}|]/g,sM=/^\[object .+?Constructor\]$/,uM=Function.prototype,cM=Object.prototype,dM=uM.toString,pM=cM.hasOwnProperty,fM=RegExp("^"+dM.call(pM).replace(iM,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function hM(e){if(!c8(e)||rM(e))return!1;var t=QL(e)?fM:sM;return t.test(lM(e))}var mM=hM;function gM(e,t){return e==null?void 0:e[t]}var vM=gM;function yM(e,t){var r=vM(e,t);return mM(r)?r:void 0}var d8=yM;function wM(e,t){return e===t||e!==e&&t!==t}var bM=wM,DM=d8(Object,"create"),fo=DM;function EM(){this.__data__=fo?fo(null):{},this.size=0}var CM=EM;function xM(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var FM=xM,SM="__lodash_hash_undefined__",AM=Object.prototype,kM=AM.hasOwnProperty;function BM(e){var t=this.__data__;if(fo){var r=t[e];return r===SM?void 0:r}return kM.call(t,e)?t[e]:void 0}var _M=BM,IM=Object.prototype,RM=IM.hasOwnProperty;function zM(e){var t=this.__data__;return fo?t[e]!==void 0:RM.call(t,e)}var TM=zM,LM="__lodash_hash_undefined__";function MM(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=fo&&t===void 0?LM:t,this}var OM=MM;function ra(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var KM=GM;function YM(e,t){var r=this.__data__,n=ms(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var ZM=YM;function na(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,a=!1,o="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let l=0;lDO(e).replace(/\n\s*/g,"").trim()),CO=function(e,t){let r=t.slice(0,t.indexOf("{")),n=t.slice(t.indexOf("{"));if(r.includes("=>")||r.includes("function"))return t;let a=r;return a=a.replace(e,"function"),a+n},xO=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function f8(e){if(!bO(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=gL(t),r=!0),t=Object.keys(t).reduce((n,a)=>{try{t[a]&&t[a].toJSON,n[a]=t[a]}catch{r=!0}return n},{}),r?t:e}var FO=function(e){let t,r,n,a;return function(o,l){try{if(o==="")return a=[],t=new Map([[l,"[]"]]),r=new Map,n=[],l;let s=r.get(this)||this;for(;n.length&&s!==n[0];)n.shift(),a.pop();if(typeof l=="boolean")return l;if(l===void 0)return e.allowUndefined?"_undefined_":void 0;if(l===null)return null;if(typeof l=="number")return l===-1/0?"_-Infinity_":l===1/0?"_Infinity_":Number.isNaN(l)?"_NaN_":l;if(typeof l=="bigint")return`_bigint_${l.toString()}`;if(typeof l=="string")return xO.test(l)?e.allowDate?`_date_${l}`:void 0:l;if((0,SL.default)(l))return e.allowRegExp?`_regexp_${l.flags}|${l.source}`:void 0;if((0,AL.default)(l)){if(!e.allowFunction)return;let{name:d}=l,f=l.toString();return f.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${d}|${(()=>{}).toString()}`:`_function_${d}|${EO(CO(o,f))}`}if((0,kL.default)(l)){if(!e.allowSymbol)return;let d=Symbol.keyFor(l);return d!==void 0?`_gsymbol_${d}`:`_symbol_${l.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(l)?`[Array(${l.length})]`:"[Object]";if(l===this)return`_duplicate_${JSON.stringify(a)}`;if(l instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...l.cause?{cause:l.cause}:{},...l,name:l.name,message:l.message,stack:l.stack,"_constructor-name_":l.constructor.name}};if(l.constructor&&l.constructor.name&&l.constructor.name!=="Object"&&!Array.isArray(l)&&!e.allowClass)return;let c=t.get(l);if(!c){let d=Array.isArray(l)?l:f8(l);if(l.constructor&&l.constructor.name&&l.constructor.name!=="Object"&&!Array.isArray(l)&&e.allowClass)try{Object.assign(d,{"_constructor-name_":l.constructor.name})}catch{}return a.push(o),n.unshift(d),t.set(l,JSON.stringify(a)),l!==d&&r.set(l,d),d}return`_duplicate_${c}`}catch{return}}},SO={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},AO=(e,t={})=>{let r={...SO,...t};return JSON.stringify(f8(e),FO(r),t.space)};function h8(e){return AO(e,{allowFunction:!1})}var m8=i.createContext({sources:{}}),g8="--unknown--",kO=({children:e,channel:t})=>{let[r,n]=i.useState({});return i.useEffect(()=>{let a=(o,l=null,s=!1)=>{let{id:c,args:d=void 0,source:f,format:g}=typeof o=="string"?{id:o,source:l,format:s}:o,p=d?h8(d):g8;n(h=>({...h,[c]:{...h[c],[p]:{code:f,format:g}}}))};return t.on(Yp,a),()=>t.off(Yp,a)},[]),m.createElement(m8.Provider,{value:{sources:r}},e)},BO=(e,t,r)=>{let{sources:n}=r,a=n==null?void 0:n[e];return(a==null?void 0:a[h8(t)])||(a==null?void 0:a[g8])||{code:""}},_O=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var c,d;let{__isArgsStory:a}=t.parameters,o=((c=t.parameters.docs)==null?void 0:c.source)||{},l=r||o.type||wu.AUTO;if(o.code!==void 0)return o.code;let s=l===wu.DYNAMIC||l===wu.AUTO&&e&&a?e:o.originalSource||"";return((d=n??o.transform)==null?void 0:d(s,t))||s},IO=(e,t,r)=>{var h,v,y,b;let n,{of:a}=e;if("of"in e&&a===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(a)n=t.resolveOf(a,["story"]).story;else try{n=t.storyById()}catch{}let o=((v=(h=n==null?void 0:n.parameters)==null?void 0:h.docs)==null?void 0:v.source)||{},{code:l}=e,s=e.format??o.format,c=e.language??o.language??"jsx",d=e.dark??o.dark??!1;if(!l&&!n)return{error:"Oh no! The source is not available."};if(l)return{code:l,format:s,language:c,dark:d};let f=t.getStoryContext(n),g=e.__forceInitialArgs?f.initialArgs:f.unmappedArgs,p=BO(n.id,g,r);return s=p.format??((b=(y=n.parameters.docs)==null?void 0:y.source)==null?void 0:b.format)??!1,{code:_O({snippet:p.code,storyContext:{...f,args:g},typeFromProps:e.type,transformFromProps:e.transform}),format:s,language:c,dark:d}};function RO(e,t){let r=zO([e],t);return r&&r[0]}function zO(e,t){let[r,n]=i.useState({});return i.useEffect(()=>{Promise.all(e.map(async a=>{let o=await t.loadStory(a);n(l=>l[a]===o?l:{...l,[a]:o})}))}),e.map(a=>{if(r[a])return r[a];try{return t.storyById(a)}catch{return null}})}var TO=(e,t)=>{let{of:r,meta:n}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");return n&&t.referenceMeta(n,!1),t.resolveOf(r||"story",["story"]).story.id},LO=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:a={}}=n,o=a.story||{};if(a.disable)return null;if(e.inline??o.inline??!1){let s=e.height??o.height,c=e.autoplay??o.autoplay??!1;return{story:t,inline:!0,height:s,autoplay:c,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let l=e.height??o.height??o.iframeHeight??"100px";return{story:t,inline:!1,height:l,primary:!!e.__primary}},MO=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=i.useContext(ct),r=TO(e,t),n=RO(r,t);if(!n)return m.createElement(E6,null);let a=LO(e,n,t);return a?m.createElement(TI,{...a}):null},OO=e=>{var p,h,v,y,b,C,D,E,w,x;let t=i.useContext(ct),r=i.useContext(m8),{of:n,source:a}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{story:o}=rn(n||"story",["story"]),l=IO({...a,...n&&{of:n}},t,r),s=e.layout??o.parameters.layout??((h=(p=o.parameters.docs)==null?void 0:p.canvas)==null?void 0:h.layout)??"padded",c=e.withToolbar??((y=(v=o.parameters.docs)==null?void 0:v.canvas)==null?void 0:y.withToolbar)??!1,d=e.additionalActions??((C=(b=o.parameters.docs)==null?void 0:b.canvas)==null?void 0:C.additionalActions),f=e.sourceState??((E=(D=o.parameters.docs)==null?void 0:D.canvas)==null?void 0:E.sourceState)??"hidden",g=e.className??((x=(w=o.parameters.docs)==null?void 0:w.canvas)==null?void 0:x.className);return m.createElement(C6,{withSource:f==="none"?void 0:l,isExpanded:f==="shown",withToolbar:c,additionalActions:d,className:g,layout:s},m.createElement(MO,{of:n||o.moduleExport,meta:e.meta,...e.story}))},PO=(e,t)=>{let r=NO(e,t);if(!r)throw new Error("No result when story was defined");return r},NO=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[a,o]=i.useState(r.args);i.useEffect(()=>{let c=d=>{d.storyId===n&&o(d.args)};return t.channel.on(L2,c),()=>t.channel.off(L2,c)},[n,t.channel]);let l=i.useCallback(c=>t.channel.emit(T_,{storyId:n,updatedArgs:c}),[n,t.channel]),s=i.useCallback(c=>t.channel.emit(L_,{storyId:n,argNames:c}),[n,t.channel]);return e&&[a,l,s]},HO=(e,t)=>{let r=t.getStoryContext(e),[n,a]=i.useState(r.globals);return i.useEffect(()=>{let o=l=>{a(l.globals)};return t.channel.on(M2,o),()=>t.channel.off(M2,o)},[t.channel]),[n]};function jO(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var $O=e=>{var w;let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=i.useContext(ct),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:a,argTypes:o,component:l,subcomponents:s}=n,c=((w=a.docs)==null?void 0:w.controls)||{},d=e.include??c.include,f=e.exclude??c.exclude,g=e.sort??c.sort,[p,h,v]=PO(n,r),[y]=HO(n,r),b=T2(o,d,f);if(!(s&&Object.keys(s).length>0))return Object.keys(b).length>0||Object.keys(p).length>0?m.createElement(xd,{rows:b,sort:g,args:p,globals:y,updateArgs:h,resetArgs:v}):null;let C=iL(l),D=Object.fromEntries(Object.entries(s).map(([x,F])=>[x,{rows:T2(jO(F,a),d,f),sort:g}])),E={[C]:{rows:b,sort:g},...D};return m.createElement($T,{tabs:E,sort:g,args:p,globals:y,updateArgs:h,resetArgs:v})},{document:v8}=globalThis,y8=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return m.createElement(op,null,t);let n=e&&e.split("-");return m.createElement(b6,{language:n&&n[1]||"text",format:!1,code:t,...r})};function jp(e,t){e.channel.emit(d6,t)}var Fd=s6.a,VO=({hash:e,children:t})=>{let r=i.useContext(ct);return m.createElement(Fd,{href:e,target:"_self",onClick:n=>{let a=e.substring(1);v8.getElementById(a)&&jp(r,e)}},t)},w8=e=>{let{href:t,target:r,children:n,...a}=e,o=i.useContext(ct);return!t||r==="_blank"||/^https?:\/\//.test(t)?m.createElement(Fd,{...e}):t.startsWith("#")?m.createElement(VO,{hash:t},n):m.createElement(Fd,{href:t,onClick:l=>{l.button===0&&!l.altKey&&!l.ctrlKey&&!l.metaKey&&!l.shiftKey&&(l.preventDefault(),jp(o,l.currentTarget.getAttribute("href")))},target:r,...a},n)},b8=["h1","h2","h3","h4","h5","h6"],UO=b8.reduce((e,t)=>({...e,[t]:k(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),qO=k.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),WO=({as:e,id:t,children:r,...n})=>{let a=i.useContext(ct),o=UO[e],l=`#${t}`;return m.createElement(o,{id:t,...n},m.createElement(qO,{"aria-hidden":"true",href:l,tabIndex:-1,target:"_self",onClick:s=>{v8.getElementById(t)&&jp(a,l)}},m.createElement(A_,null)),r)},$p=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return m.createElement(WO,{as:t,id:r,...a},n);let o=t,{as:l,...s}=e;return m.createElement(o,{...ee(s,t)})},D8=b8.reduce((e,t)=>({...e,[t]:r=>m.createElement($p,{as:t,...r})}),{}),GO=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(R8`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}' +`&&(n=!1)),!r&&!n&&(o+=e[l]);else o=e;return o},EO=(0,vL.default)(1e4)(e=>DO(e).replace(/\n\s*/g,"").trim()),CO=function(e,t){let r=t.slice(0,t.indexOf("{")),n=t.slice(t.indexOf("{"));if(r.includes("=>")||r.includes("function"))return t;let a=r;return a=a.replace(e,"function"),a+n},xO=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function f8(e){if(!bO(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=gL(t),r=!0),t=Object.keys(t).reduce((n,a)=>{try{t[a]&&t[a].toJSON,n[a]=t[a]}catch{r=!0}return n},{}),r?t:e}var FO=function(e){let t,r,n,a;return function(o,l){try{if(o==="")return a=[],t=new Map([[l,"[]"]]),r=new Map,n=[],l;let u=r.get(this)||this;for(;n.length&&u!==n[0];)n.shift(),a.pop();if(typeof l=="boolean")return l;if(l===void 0)return e.allowUndefined?"_undefined_":void 0;if(l===null)return null;if(typeof l=="number")return l===-1/0?"_-Infinity_":l===1/0?"_Infinity_":Number.isNaN(l)?"_NaN_":l;if(typeof l=="bigint")return`_bigint_${l.toString()}`;if(typeof l=="string")return xO.test(l)?e.allowDate?`_date_${l}`:void 0:l;if((0,SL.default)(l))return e.allowRegExp?`_regexp_${l.flags}|${l.source}`:void 0;if((0,AL.default)(l)){if(!e.allowFunction)return;let{name:d}=l,f=l.toString();return f.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${d}|${(()=>{}).toString()}`:`_function_${d}|${EO(CO(o,f))}`}if((0,kL.default)(l)){if(!e.allowSymbol)return;let d=Symbol.keyFor(l);return d!==void 0?`_gsymbol_${d}`:`_symbol_${l.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(l)?`[Array(${l.length})]`:"[Object]";if(l===this)return`_duplicate_${JSON.stringify(a)}`;if(l instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...l.cause?{cause:l.cause}:{},...l,name:l.name,message:l.message,stack:l.stack,"_constructor-name_":l.constructor.name}};if(l.constructor&&l.constructor.name&&l.constructor.name!=="Object"&&!Array.isArray(l)&&!e.allowClass)return;let c=t.get(l);if(!c){let d=Array.isArray(l)?l:f8(l);if(l.constructor&&l.constructor.name&&l.constructor.name!=="Object"&&!Array.isArray(l)&&e.allowClass)try{Object.assign(d,{"_constructor-name_":l.constructor.name})}catch{}return a.push(o),n.unshift(d),t.set(l,JSON.stringify(a)),l!==d&&r.set(l,d),d}return`_duplicate_${c}`}catch{return}}},SO={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},AO=(e,t={})=>{let r={...SO,...t};return JSON.stringify(f8(e),FO(r),t.space)};function h8(e){return AO(e,{allowFunction:!1})}var m8=i.createContext({sources:{}}),g8="--unknown--",kO=({children:e,channel:t})=>{let[r,n]=i.useState({});return i.useEffect(()=>{let a=(o,l=null,u=!1)=>{let{id:c,args:d=void 0,source:f,format:g}=typeof o=="string"?{id:o,source:l,format:u}:o,p=d?h8(d):g8;n(h=>({...h,[c]:{...h[c],[p]:{code:f,format:g}}}))};return t.on(Yp,a),()=>t.off(Yp,a)},[]),m.createElement(m8.Provider,{value:{sources:r}},e)},BO=(e,t,r)=>{let{sources:n}=r,a=n==null?void 0:n[e];return(a==null?void 0:a[h8(t)])||(a==null?void 0:a[g8])||{code:""}},_O=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var c,d;let{__isArgsStory:a}=t.parameters,o=((c=t.parameters.docs)==null?void 0:c.source)||{},l=r||o.type||ws.AUTO;if(o.code!==void 0)return o.code;let u=l===ws.DYNAMIC||l===ws.AUTO&&e&&a?e:o.originalSource||"";return((d=n??o.transform)==null?void 0:d(u,t))||u},IO=(e,t,r)=>{var h,v,y,b;let n,{of:a}=e;if("of"in e&&a===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(a)n=t.resolveOf(a,["story"]).story;else try{n=t.storyById()}catch{}let o=((v=(h=n==null?void 0:n.parameters)==null?void 0:h.docs)==null?void 0:v.source)||{},{code:l}=e,u=e.format??o.format,c=e.language??o.language??"jsx",d=e.dark??o.dark??!1;if(!l&&!n)return{error:"Oh no! The source is not available."};if(l)return{code:l,format:u,language:c,dark:d};let f=t.getStoryContext(n),g=e.__forceInitialArgs?f.initialArgs:f.unmappedArgs,p=BO(n.id,g,r);return u=p.format??((b=(y=n.parameters.docs)==null?void 0:y.source)==null?void 0:b.format)??!1,{code:_O({snippet:p.code,storyContext:{...f,args:g},typeFromProps:e.type,transformFromProps:e.transform}),format:u,language:c,dark:d}};function RO(e,t){let r=zO([e],t);return r&&r[0]}function zO(e,t){let[r,n]=i.useState({});return i.useEffect(()=>{Promise.all(e.map(async a=>{let o=await t.loadStory(a);n(l=>l[a]===o?l:{...l,[a]:o})}))}),e.map(a=>{if(r[a])return r[a];try{return t.storyById(a)}catch{return null}})}var TO=(e,t)=>{let{of:r,meta:n}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");return n&&t.referenceMeta(n,!1),t.resolveOf(r||"story",["story"]).story.id},LO=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:a={}}=n,o=a.story||{};if(a.disable)return null;if(e.inline??o.inline??!1){let u=e.height??o.height,c=e.autoplay??o.autoplay??!1;return{story:t,inline:!0,height:u,autoplay:c,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let l=e.height??o.height??o.iframeHeight??"100px";return{story:t,inline:!1,height:l,primary:!!e.__primary}},MO=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=i.useContext(ct),r=TO(e,t),n=RO(r,t);if(!n)return m.createElement(E6,null);let a=LO(e,n,t);return a?m.createElement(TI,{...a}):null},OO=e=>{var p,h,v,y,b,C,D,E,w,x;let t=i.useContext(ct),r=i.useContext(m8),{of:n,source:a}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{story:o}=rn(n||"story",["story"]),l=IO({...a,...n&&{of:n}},t,r),u=e.layout??o.parameters.layout??((h=(p=o.parameters.docs)==null?void 0:p.canvas)==null?void 0:h.layout)??"padded",c=e.withToolbar??((y=(v=o.parameters.docs)==null?void 0:v.canvas)==null?void 0:y.withToolbar)??!1,d=e.additionalActions??((C=(b=o.parameters.docs)==null?void 0:b.canvas)==null?void 0:C.additionalActions),f=e.sourceState??((E=(D=o.parameters.docs)==null?void 0:D.canvas)==null?void 0:E.sourceState)??"hidden",g=e.className??((x=(w=o.parameters.docs)==null?void 0:w.canvas)==null?void 0:x.className);return m.createElement(C6,{withSource:f==="none"?void 0:l,isExpanded:f==="shown",withToolbar:c,additionalActions:d,className:g,layout:u},m.createElement(MO,{of:n||o.moduleExport,meta:e.meta,...e.story}))},PO=(e,t)=>{let r=NO(e,t);if(!r)throw new Error("No result when story was defined");return r},NO=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[a,o]=i.useState(r.args);i.useEffect(()=>{let c=d=>{d.storyId===n&&o(d.args)};return t.channel.on(L2,c),()=>t.channel.off(L2,c)},[n,t.channel]);let l=i.useCallback(c=>t.channel.emit(T_,{storyId:n,updatedArgs:c}),[n,t.channel]),u=i.useCallback(c=>t.channel.emit(L_,{storyId:n,argNames:c}),[n,t.channel]);return e&&[a,l,u]},HO=(e,t)=>{let r=t.getStoryContext(e),[n,a]=i.useState(r.globals);return i.useEffect(()=>{let o=l=>{a(l.globals)};return t.channel.on(M2,o),()=>t.channel.off(M2,o)},[t.channel]),[n]};function jO(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var $O=e=>{var w;let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=i.useContext(ct),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:a,argTypes:o,component:l,subcomponents:u}=n,c=((w=a.docs)==null?void 0:w.controls)||{},d=e.include??c.include,f=e.exclude??c.exclude,g=e.sort??c.sort,[p,h,v]=PO(n,r),[y]=HO(n,r),b=T2(o,d,f);if(!(u&&Object.keys(u).length>0))return Object.keys(b).length>0||Object.keys(p).length>0?m.createElement(xd,{rows:b,sort:g,args:p,globals:y,updateArgs:h,resetArgs:v}):null;let C=iL(l),D=Object.fromEntries(Object.entries(u).map(([x,F])=>[x,{rows:T2(jO(F,a),d,f),sort:g}])),E={[C]:{rows:b,sort:g},...D};return m.createElement($T,{tabs:E,sort:g,args:p,globals:y,updateArgs:h,resetArgs:v})},{document:v8}=globalThis,y8=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return m.createElement(op,null,t);let n=e&&e.split("-");return m.createElement(b6,{language:n&&n[1]||"text",format:!1,code:t,...r})};function jp(e,t){e.channel.emit(d6,t)}var Fd=u6.a,VO=({hash:e,children:t})=>{let r=i.useContext(ct);return m.createElement(Fd,{href:e,target:"_self",onClick:n=>{let a=e.substring(1);v8.getElementById(a)&&jp(r,e)}},t)},w8=e=>{let{href:t,target:r,children:n,...a}=e,o=i.useContext(ct);return!t||r==="_blank"||/^https?:\/\//.test(t)?m.createElement(Fd,{...e}):t.startsWith("#")?m.createElement(VO,{hash:t},n):m.createElement(Fd,{href:t,onClick:l=>{l.button===0&&!l.altKey&&!l.ctrlKey&&!l.metaKey&&!l.shiftKey&&(l.preventDefault(),jp(o,l.currentTarget.getAttribute("href")))},target:r,...a},n)},b8=["h1","h2","h3","h4","h5","h6"],UO=b8.reduce((e,t)=>({...e,[t]:k(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),qO=k.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),WO=({as:e,id:t,children:r,...n})=>{let a=i.useContext(ct),o=UO[e],l=`#${t}`;return m.createElement(o,{id:t,...n},m.createElement(qO,{"aria-hidden":"true",href:l,tabIndex:-1,target:"_self",onClick:u=>{v8.getElementById(t)&&jp(a,l)}},m.createElement(A_,null)),r)},$p=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return m.createElement(WO,{as:t,id:r,...a},n);let o=t,{as:l,...u}=e;return m.createElement(o,{...ee(u,t)})},D8=b8.reduce((e,t)=>({...e,[t]:r=>m.createElement($p,{as:t,...r})}),{}),GO=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(R8`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}' This is often caused by not wrapping the child in a template string. This is invalid: @@ -377,4 +377,4 @@ ${t}`);let r=t.match(aB);if(!r)return m.createElement(i.Fragment,null,t);let[,n, A paragraph \`} - `);return m.createElement(V6,{...e,options:{forceBlock:!0,overrides:{code:y8,a:w8,...D8,...(t=e==null?void 0:e.options)==null?void 0:t.overrides},...e==null?void 0:e.options}})},KO=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(KO||{}),YO=e=>{var t,r,n,a,o,l,s,c;switch(e.type){case"story":return((r=(t=e.story.parameters.docs)==null?void 0:t.description)==null?void 0:r.story)||null;case"meta":{let{parameters:d,component:f}=e.preparedMeta;return((a=(n=d.docs)==null?void 0:n.description)==null?void 0:a.component)||((l=(o=d.docs)==null?void 0:o.extractComponentDescription)==null?void 0:l.call(o,f,{component:f,parameters:d}))||null}case"component":{let{component:d,projectAnnotations:{parameters:f}}=e;return((c=(s=f.docs)==null?void 0:s.extractComponentDescription)==null?void 0:c.call(s,d,{component:d,parameters:f}))||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},Sd=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=rn(t||"meta"),n=YO(r);return n?m.createElement(GO,null,n):null},f4=Bd(j_()),ZO=k.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),JO=k.div(({theme:e})=>({position:"fixed",bottom:0,top:0,width:"10rem",paddingTop:"4rem",paddingBottom:"2rem",overflowY:"auto",fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch","& *":{boxSizing:"border-box"},"& > .toc-wrapper > .toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`}}},"& .toc-list-item":{position:"relative",listStyleType:"none",marginLeft:20,paddingTop:3,paddingBottom:3},"& .toc-list-item::before":{content:'""',position:"absolute",height:"100%",top:0,left:0,transform:"translateX(calc(-2px - 20px))",borderLeft:`solid 2px ${e.color.mediumdark}`,opacity:0,transition:"opacity 0.2s"},"& .toc-list-item.is-active-li::before":{opacity:1},"& .toc-list-item > a":{color:e.color.defaultText,textDecoration:"none"},"& .toc-list-item.is-active-li > a":{fontWeight:600,color:e.color.secondary,textDecoration:"none"}})),XO=k.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),QO=({title:e})=>e===null?null:typeof e=="string"?m.createElement(XO,null,e):e,eP=({title:e,disable:t,headingSelector:r,contentsSelector:n,ignoreSelector:a,unsafeTocbotOptions:o,channel:l})=>(i.useEffect(()=>{if(t)return()=>{};let s={tocSelector:".toc-wrapper",contentSelector:n??".sbdocs-content",headingSelector:r??"h3",ignoreSelector:a??".docs-story *, .skip-toc",headingsOffset:40,scrollSmoothOffset:-40,orderedList:!1,onClick:d=>{if(d.preventDefault(),d.currentTarget instanceof HTMLAnchorElement){let[,f]=d.currentTarget.href.split("#");f&&l.emit(d6,`#${f}`)}},...o},c=setTimeout(()=>f4.init(s),100);return()=>{clearTimeout(c),f4.destroy()}},[l,t,a,n,r,o]),m.createElement(m.Fragment,null,m.createElement(ZO,null,t?null:m.createElement(JO,null,m.createElement(QO,{title:e||null}),m.createElement("div",{className:"toc-wrapper"}))))),{document:tP,window:rP}=globalThis,nP=({context:e,theme:t,children:r})=>{var a,o,l,s,c;let n;try{n=(o=(a=e.resolveOf("meta",["meta"]).preparedMeta.parameters)==null?void 0:a.docs)==null?void 0:o.toc}catch{n=(c=(s=(l=e==null?void 0:e.projectAnnotations)==null?void 0:l.parameters)==null?void 0:s.docs)==null?void 0:c.toc}return i.useEffect(()=>{let d;try{if(d=new URL(rP.parent.location.toString()),d.hash){let f=tP.getElementById(decodeURIComponent(d.hash.substring(1)));f&&setTimeout(()=>{uL(f)},200)}}catch{}}),m.createElement(ct.Provider,{value:e},m.createElement(kO,{channel:e.channel},m.createElement(v4,{theme:I8(t)},m.createElement(SI,{toc:n?m.createElement(eP,{className:"sbdocs sbdocs-toc--custom",channel:e.channel,...n}):null},r))))},aP=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,oP=Object.hasOwnProperty,lP=class{constructor(){this.occurrences,this.reset()}slug(e,t){let r=this,n=iP(e,t===!0),a=n;for(;oP.call(r.occurrences,n);)r.occurrences[a]++,n=a+"-"+r.occurrences[a];return r.occurrences[n]=0,n}reset(){this.occurrences=Object.create(null)}};function iP(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(aP,"").replace(/ /g,"-"))}var E8=new lP,uP=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return m.createElement(lp,null,e);let n=E8.slug(e.toLowerCase());return m.createElement($p,{as:"h2",id:n,...r},e)},sP=({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return m.createElement(ip,null,e);let r=E8.slug(e.toLowerCase());return m.createElement($p,{as:"h3",id:r},e)},C8=({of:e,expanded:t=!0,withToolbar:r=!1,__forceInitialArgs:n=!1,__primary:a=!1})=>{var s,c;let{story:o}=rn(e||"story",["story"]),l=((c=(s=o.parameters.docs)==null?void 0:s.canvas)==null?void 0:c.withToolbar)??r;return m.createElement(n8,{storyId:o.id},t&&m.createElement(m.Fragment,null,m.createElement(sP,null,o.name),m.createElement(Sd,{of:e})),m.createElement(OO,{of:e,withToolbar:l,story:{__forceInitialArgs:n,__primary:a},source:{__forceInitialArgs:n}}))},cP=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{csfFile:r}=rn(t||"meta",["meta"]),n=i.useContext(ct).componentStoriesFromCSFFile(r)[0];return n?m.createElement(C8,{of:n.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},dP=k(uP)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,fontWeight:e.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:e.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}})),pP=({title:e="Stories",includePrimary:t=!0})=>{var s;let{componentStories:r,projectAnnotations:n,getStoryContext:a}=i.useContext(ct),o=r(),{stories:{filter:l}={filter:void 0}}=((s=n.parameters)==null?void 0:s.docs)||{};return l&&(o=o.filter(c=>l(c,a(c)))),o.some(c=>{var d;return(d=c.tags)==null?void 0:d.includes("autodocs")})&&(o=o.filter(c=>{var d;return((d=c.tags)==null?void 0:d.includes("autodocs"))&&!c.usesMount})),t||(o=o.slice(1)),!o||o.length===0?null:m.createElement(m.Fragment,null,m.createElement(dP,null,e),o.map(c=>c&&m.createElement(C8,{key:c.id,of:c.moduleExport,expanded:!0,__forceInitialArgs:!0})))},fP="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#subtitle-block-and-parameterscomponentsubtitle",hP=e=>{let{of:t,children:r}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=rn(t||"meta",["meta"]).preparedMeta}catch(s){if(r&&!s.message.includes("did you forget to use ?"))throw s}let{componentSubtitle:a,docs:o}=(n==null?void 0:n.parameters)||{};a&&R_(`Using 'parameters.componentSubtitle' property to subtitle stories is deprecated. See ${fP}`);let l=r||(o==null?void 0:o.subtitle)||a;return l?m.createElement(CI,{className:"sbdocs-subtitle sb-unstyled"},l):null},mP=/\s*\/\s*/,gP=e=>{let t=e.trim().split(mP);return(t==null?void 0:t[(t==null?void 0:t.length)-1])||e},vP=e=>{let{children:t,of:r}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=rn(r||"meta",["meta"]).preparedMeta}catch(o){if(t&&!o.message.includes("did you forget to use ?"))throw o}let a=t||gP(n==null?void 0:n.title);return a?m.createElement(EI,{className:"sbdocs-title sb-unstyled"},a):null},yP=()=>{let e=rn("meta",["meta"]),{stories:t}=e.csfFile,r=Object.keys(t).length===1;return m.createElement(m.Fragment,null,m.createElement(vP,null),m.createElement(hP,null),m.createElement(Sd,{of:"meta"}),r?m.createElement(Sd,{of:"story"}):null,m.createElement(cP,null),m.createElement($O,null),r?null:m.createElement(pP,null))};function wP({context:e,docsParameter:t}){let r=t.container||nP,n=t.page||yP;return m.createElement(r,{context:e,theme:t.theme},m.createElement(n,null))}var qP=({of:e})=>{let t=i.useContext(ct);e&&t.referenceMeta(e,!0);try{let r=t.storyById();return m.createElement(n8,{storyId:r.id})}catch{return null}},x8={code:y8,a:w8,...D8},bP=class extends i.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:m.createElement(m.Fragment,null,t)}},DP=class{constructor(){this.render=async(e,t,r)=>{let n={...x8,...t==null?void 0:t.components},a=wP;return new Promise((o,l)=>{Ad(async()=>{const{MDXProvider:s}=await import("./index-CrPz3I2A.js");return{MDXProvider:s}},__vite__mapDeps([11,1,2]),import.meta.url).then(({MDXProvider:s})=>z8(m.createElement(bP,{showException:l,key:Math.random()},m.createElement(s,{components:n},m.createElement(a,{context:e,docsParameter:t}))),r)).then(()=>o())})},this.unmount=e=>{T8(e)}}};const WP=Object.freeze(Object.defineProperty({__proto__:null,DocsRenderer:DP,defaultComponents:x8},Symbol.toStringTag,{value:"Module"}));export{$P as C,WP as D,UP as I,qP as M,ta as Y,Bd as _,jP as a,MP as b,Wr as c,IP as d,VP as e,it as g,LB as n,RB as q}; + `);return m.createElement(V6,{...e,options:{forceBlock:!0,overrides:{code:y8,a:w8,...D8,...(t=e==null?void 0:e.options)==null?void 0:t.overrides},...e==null?void 0:e.options}})},KO=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(KO||{}),YO=e=>{var t,r,n,a,o,l,u,c;switch(e.type){case"story":return((r=(t=e.story.parameters.docs)==null?void 0:t.description)==null?void 0:r.story)||null;case"meta":{let{parameters:d,component:f}=e.preparedMeta;return((a=(n=d.docs)==null?void 0:n.description)==null?void 0:a.component)||((l=(o=d.docs)==null?void 0:o.extractComponentDescription)==null?void 0:l.call(o,f,{component:f,parameters:d}))||null}case"component":{let{component:d,projectAnnotations:{parameters:f}}=e;return((c=(u=f.docs)==null?void 0:u.extractComponentDescription)==null?void 0:c.call(u,d,{component:d,parameters:f}))||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},Sd=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=rn(t||"meta"),n=YO(r);return n?m.createElement(GO,null,n):null},fv=Bd(j_()),ZO=k.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),JO=k.div(({theme:e})=>({position:"fixed",bottom:0,top:0,width:"10rem",paddingTop:"4rem",paddingBottom:"2rem",overflowY:"auto",fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch","& *":{boxSizing:"border-box"},"& > .toc-wrapper > .toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`}}},"& .toc-list-item":{position:"relative",listStyleType:"none",marginLeft:20,paddingTop:3,paddingBottom:3},"& .toc-list-item::before":{content:'""',position:"absolute",height:"100%",top:0,left:0,transform:"translateX(calc(-2px - 20px))",borderLeft:`solid 2px ${e.color.mediumdark}`,opacity:0,transition:"opacity 0.2s"},"& .toc-list-item.is-active-li::before":{opacity:1},"& .toc-list-item > a":{color:e.color.defaultText,textDecoration:"none"},"& .toc-list-item.is-active-li > a":{fontWeight:600,color:e.color.secondary,textDecoration:"none"}})),XO=k.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),QO=({title:e})=>e===null?null:typeof e=="string"?m.createElement(XO,null,e):e,eP=({title:e,disable:t,headingSelector:r,contentsSelector:n,ignoreSelector:a,unsafeTocbotOptions:o,channel:l})=>(i.useEffect(()=>{if(t)return()=>{};let u={tocSelector:".toc-wrapper",contentSelector:n??".sbdocs-content",headingSelector:r??"h3",ignoreSelector:a??".docs-story *, .skip-toc",headingsOffset:40,scrollSmoothOffset:-40,orderedList:!1,onClick:d=>{if(d.preventDefault(),d.currentTarget instanceof HTMLAnchorElement){let[,f]=d.currentTarget.href.split("#");f&&l.emit(d6,`#${f}`)}},...o},c=setTimeout(()=>fv.init(u),100);return()=>{clearTimeout(c),fv.destroy()}},[l,t,a,n,r,o]),m.createElement(m.Fragment,null,m.createElement(ZO,null,t?null:m.createElement(JO,null,m.createElement(QO,{title:e||null}),m.createElement("div",{className:"toc-wrapper"}))))),{document:tP,window:rP}=globalThis,nP=({context:e,theme:t,children:r})=>{var a,o,l,u,c;let n;try{n=(o=(a=e.resolveOf("meta",["meta"]).preparedMeta.parameters)==null?void 0:a.docs)==null?void 0:o.toc}catch{n=(c=(u=(l=e==null?void 0:e.projectAnnotations)==null?void 0:l.parameters)==null?void 0:u.docs)==null?void 0:c.toc}return i.useEffect(()=>{let d;try{if(d=new URL(rP.parent.location.toString()),d.hash){let f=tP.getElementById(decodeURIComponent(d.hash.substring(1)));f&&setTimeout(()=>{sL(f)},200)}}catch{}}),m.createElement(ct.Provider,{value:e},m.createElement(kO,{channel:e.channel},m.createElement(vv,{theme:I8(t)},m.createElement(SI,{toc:n?m.createElement(eP,{className:"sbdocs sbdocs-toc--custom",channel:e.channel,...n}):null},r))))},aP=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,oP=Object.hasOwnProperty,lP=class{constructor(){this.occurrences,this.reset()}slug(e,t){let r=this,n=iP(e,t===!0),a=n;for(;oP.call(r.occurrences,n);)r.occurrences[a]++,n=a+"-"+r.occurrences[a];return r.occurrences[n]=0,n}reset(){this.occurrences=Object.create(null)}};function iP(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(aP,"").replace(/ /g,"-"))}var E8=new lP,sP=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return m.createElement(lp,null,e);let n=E8.slug(e.toLowerCase());return m.createElement($p,{as:"h2",id:n,...r},e)},uP=({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return m.createElement(ip,null,e);let r=E8.slug(e.toLowerCase());return m.createElement($p,{as:"h3",id:r},e)},C8=({of:e,expanded:t=!0,withToolbar:r=!1,__forceInitialArgs:n=!1,__primary:a=!1})=>{var u,c;let{story:o}=rn(e||"story",["story"]),l=((c=(u=o.parameters.docs)==null?void 0:u.canvas)==null?void 0:c.withToolbar)??r;return m.createElement(n8,{storyId:o.id},t&&m.createElement(m.Fragment,null,m.createElement(uP,null,o.name),m.createElement(Sd,{of:e})),m.createElement(OO,{of:e,withToolbar:l,story:{__forceInitialArgs:n,__primary:a},source:{__forceInitialArgs:n}}))},cP=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{csfFile:r}=rn(t||"meta",["meta"]),n=i.useContext(ct).componentStoriesFromCSFFile(r)[0];return n?m.createElement(C8,{of:n.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},dP=k(sP)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,fontWeight:e.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:e.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}})),pP=({title:e="Stories",includePrimary:t=!0})=>{var u;let{componentStories:r,projectAnnotations:n,getStoryContext:a}=i.useContext(ct),o=r(),{stories:{filter:l}={filter:void 0}}=((u=n.parameters)==null?void 0:u.docs)||{};return l&&(o=o.filter(c=>l(c,a(c)))),o.some(c=>{var d;return(d=c.tags)==null?void 0:d.includes("autodocs")})&&(o=o.filter(c=>{var d;return((d=c.tags)==null?void 0:d.includes("autodocs"))&&!c.usesMount})),t||(o=o.slice(1)),!o||o.length===0?null:m.createElement(m.Fragment,null,m.createElement(dP,null,e),o.map(c=>c&&m.createElement(C8,{key:c.id,of:c.moduleExport,expanded:!0,__forceInitialArgs:!0})))},fP="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#subtitle-block-and-parameterscomponentsubtitle",hP=e=>{let{of:t,children:r}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=rn(t||"meta",["meta"]).preparedMeta}catch(u){if(r&&!u.message.includes("did you forget to use ?"))throw u}let{componentSubtitle:a,docs:o}=(n==null?void 0:n.parameters)||{};a&&R_(`Using 'parameters.componentSubtitle' property to subtitle stories is deprecated. See ${fP}`);let l=r||(o==null?void 0:o.subtitle)||a;return l?m.createElement(CI,{className:"sbdocs-subtitle sb-unstyled"},l):null},mP=/\s*\/\s*/,gP=e=>{let t=e.trim().split(mP);return(t==null?void 0:t[(t==null?void 0:t.length)-1])||e},vP=e=>{let{children:t,of:r}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=rn(r||"meta",["meta"]).preparedMeta}catch(o){if(t&&!o.message.includes("did you forget to use ?"))throw o}let a=t||gP(n==null?void 0:n.title);return a?m.createElement(EI,{className:"sbdocs-title sb-unstyled"},a):null},yP=()=>{let e=rn("meta",["meta"]),{stories:t}=e.csfFile,r=Object.keys(t).length===1;return m.createElement(m.Fragment,null,m.createElement(vP,null),m.createElement(hP,null),m.createElement(Sd,{of:"meta"}),r?m.createElement(Sd,{of:"story"}):null,m.createElement(cP,null),m.createElement($O,null),r?null:m.createElement(pP,null))};function wP({context:e,docsParameter:t}){let r=t.container||nP,n=t.page||yP;return m.createElement(r,{context:e,theme:t.theme},m.createElement(n,null))}var qP=({of:e})=>{let t=i.useContext(ct);e&&t.referenceMeta(e,!0);try{let r=t.storyById();return m.createElement(n8,{storyId:r.id})}catch{return null}},x8={code:y8,a:w8,...D8},bP=class extends i.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:m.createElement(m.Fragment,null,t)}},DP=class{constructor(){this.render=async(e,t,r)=>{let n={...x8,...t==null?void 0:t.components},a=wP;return new Promise((o,l)=>{Ad(async()=>{const{MDXProvider:u}=await import("./index-s_7BDCjm.js");return{MDXProvider:u}},__vite__mapDeps([11,1,2]),import.meta.url).then(({MDXProvider:u})=>z8(m.createElement(bP,{showException:l,key:Math.random()},m.createElement(u,{components:n},m.createElement(a,{context:e,docsParameter:t}))),r)).then(()=>o())})},this.unmount=e=>{T8(e)}}};const WP=Object.freeze(Object.defineProperty({__proto__:null,DocsRenderer:DP,defaultComponents:x8},Symbol.toStringTag,{value:"Module"}));export{$P as C,WP as D,UP as I,qP as M,ta as Y,Bd as _,jP as a,MP as b,Wr as c,IP as d,VP as e,it as g,LB as n,RB as q}; diff --git a/assets/DropdownMenu.stories-DjQ9VLcI.js b/assets/DropdownMenu.stories-CINkoAIL.js similarity index 86% rename from assets/DropdownMenu.stories-DjQ9VLcI.js rename to assets/DropdownMenu.stories-CINkoAIL.js index 248576ac5..6ecaafe78 100644 --- a/assets/DropdownMenu.stories-DjQ9VLcI.js +++ b/assets/DropdownMenu.stories-CINkoAIL.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-z8MfsBtr.js";import{r as s}from"./index-D1TSixAU.js";import{I as Sn}from"./IconButton-M16ADBdN.js";import{b as Pn,s as En}from"./WarningIcon-C-Bue-nz.js";import{b as je,c as M,a as Nn}from"./index-BWtkTp-R.js";import{u as G,S as jn,c as Te}from"./index-DEvaI7vP.js";import{c as Ae,P as j,d as Tn}from"./index-CuZtKiOG.js";import{c as An}from"./index-BFS5t9Ij.js";import{u as kn}from"./index-Bac_1hpE.js";import{D as On,P as Ln}from"./index-DCVWRiMv.js";import{h as Gn,u as Fn,R as Kn,F as $n}from"./Combination-DfJfzaFg.js";import{c as ke,R as Un,A as Bn,a as Vn,C as Wn}from"./index-4RitGr_c.js";import{P as J}from"./index-DogTl_U1.js";import{c as Oe,I as Xn,R as Yn}from"./index-BefANkT7.js";import{u as De}from"./index-VR-_z_Zs.js";import{c as Q}from"./classnames-Dx2cly0x.js";import"./index-DEpc0yGt.js";import{T as Y}from"./Text-DiY0ipGE.js";import{D as qn}from"./Divider-PXwLU2je.js";import"./index-C9rmetsa.js";import"./Button-e99vAgb9.js";import"./index-DKHC-OhD.js";import"./clsx-B-dksMZM.js";import"./index-Dcf1nc42.js";import"./index-D2m0ySOf.js";import"./index-CdSWItFS.js";var se=["Enter"," "],Hn=["ArrowDown","PageUp","Home"],Le=["ArrowUp","PageDown","End"],zn=[...Hn,...Le],Zn={ltr:[...se,"ArrowRight"],rtl:[...se,"ArrowLeft"]},Jn={ltr:["ArrowLeft"],rtl:["ArrowRight"]},F="Menu",[O,Qn,eo]=An(F),[b,Ge]=Ae(F,[eo,ke,Oe]),ee=ke(),Fe=Oe(),[no,S]=b(F),[oo,K]=b(F),Ke=e=>{const{__scopeMenu:o,open:n=!1,children:t,dir:a,onOpenChange:c,modal:u=!0}=e,l=ee(o),[m,h]=s.useState(null),p=s.useRef(!1),i=je(c),f=kn(a);return s.useEffect(()=>{const w=()=>{p.current=!0,document.addEventListener("pointerdown",_,{capture:!0,once:!0}),document.addEventListener("pointermove",_,{capture:!0,once:!0})},_=()=>p.current=!1;return document.addEventListener("keydown",w,{capture:!0}),()=>{document.removeEventListener("keydown",w,{capture:!0}),document.removeEventListener("pointerdown",_,{capture:!0}),document.removeEventListener("pointermove",_,{capture:!0})}},[]),r.jsx(Un,{...l,children:r.jsx(no,{scope:o,open:n,onOpenChange:i,content:m,onContentChange:h,children:r.jsx(oo,{scope:o,onClose:s.useCallback(()=>i(!1),[i]),isUsingKeyboardRef:p,dir:f,modal:u,children:t})})})};Ke.displayName=F;var ro="MenuAnchor",le=s.forwardRef((e,o)=>{const{__scopeMenu:n,...t}=e,a=ee(n);return r.jsx(Bn,{...a,...t,ref:o})});le.displayName=ro;var pe="MenuPortal",[to,$e]=b(pe,{forceMount:void 0}),Ue=e=>{const{__scopeMenu:o,forceMount:n,children:t,container:a}=e,c=S(pe,o);return r.jsx(to,{scope:o,forceMount:n,children:r.jsx(J,{present:n||c.open,children:r.jsx(Ln,{asChild:!0,container:a,children:t})})})};Ue.displayName=pe;var v="MenuContent",[ao,fe]=b(v),Be=s.forwardRef((e,o)=>{const n=$e(v,e.__scopeMenu),{forceMount:t=n.forceMount,...a}=e,c=S(v,e.__scopeMenu),u=K(v,e.__scopeMenu);return r.jsx(O.Provider,{scope:e.__scopeMenu,children:r.jsx(J,{present:t||c.open,children:r.jsx(O.Slot,{scope:e.__scopeMenu,children:u.modal?r.jsx(so,{...a,ref:o}):r.jsx(co,{...a,ref:o})})})})}),so=s.forwardRef((e,o)=>{const n=S(v,e.__scopeMenu),t=s.useRef(null),a=G(o,t);return s.useEffect(()=>{const c=t.current;if(c)return Gn(c)},[]),r.jsx(me,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:M(e.onFocusOutside,c=>c.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),co=s.forwardRef((e,o)=>{const n=S(v,e.__scopeMenu);return r.jsx(me,{...e,ref:o,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),me=s.forwardRef((e,o)=>{const{__scopeMenu:n,loop:t=!1,trapFocus:a,onOpenAutoFocus:c,onCloseAutoFocus:u,disableOutsidePointerEvents:l,onEntryFocus:m,onEscapeKeyDown:h,onPointerDownOutside:p,onFocusOutside:i,onInteractOutside:f,onDismiss:w,disableOutsideScroll:_,...D}=e,P=S(v,n),T=K(v,n),$=ee(n),U=Fe(n),xe=Qn(n),[Cn,ge]=s.useState(null),B=s.useRef(null),Rn=G(o,B,P.onContentChange),V=s.useRef(0),W=s.useRef(""),yn=s.useRef(0),oe=s.useRef(null),ve=s.useRef("right"),re=s.useRef(0),Dn=_?Kn:s.Fragment,In=_?{as:jn,allowPinchZoom:!0}:void 0,bn=d=>{var N,Re;const g=W.current+d,C=xe().filter(R=>!R.disabled),y=document.activeElement,te=(N=C.find(R=>R.ref.current===y))==null?void 0:N.textValue,ae=C.map(R=>R.textValue),Ce=go(ae,g,te),A=(Re=C.find(R=>R.textValue===Ce))==null?void 0:Re.ref.current;(function R(ye){W.current=ye,window.clearTimeout(V.current),ye!==""&&(V.current=window.setTimeout(()=>R(""),1e3))})(g),A&&setTimeout(()=>A.focus())};s.useEffect(()=>()=>window.clearTimeout(V.current),[]),Fn();const E=s.useCallback(d=>{var C,y;return ve.current===((C=oe.current)==null?void 0:C.side)&&Co(d,(y=oe.current)==null?void 0:y.area)},[]);return r.jsx(ao,{scope:n,searchRef:W,onItemEnter:s.useCallback(d=>{E(d)&&d.preventDefault()},[E]),onItemLeave:s.useCallback(d=>{var g;E(d)||((g=B.current)==null||g.focus(),ge(null))},[E]),onTriggerLeave:s.useCallback(d=>{E(d)&&d.preventDefault()},[E]),pointerGraceTimerRef:yn,onPointerGraceIntentChange:s.useCallback(d=>{oe.current=d},[]),children:r.jsx(Dn,{...In,children:r.jsx($n,{asChild:!0,trapped:a,onMountAutoFocus:M(c,d=>{var g;d.preventDefault(),(g=B.current)==null||g.focus({preventScroll:!0})}),onUnmountAutoFocus:u,children:r.jsx(On,{asChild:!0,disableOutsidePointerEvents:l,onEscapeKeyDown:h,onPointerDownOutside:p,onFocusOutside:i,onInteractOutside:f,onDismiss:w,children:r.jsx(Yn,{asChild:!0,...U,dir:T.dir,orientation:"vertical",loop:t,currentTabStopId:Cn,onCurrentTabStopIdChange:ge,onEntryFocus:M(m,d=>{T.isUsingKeyboardRef.current||d.preventDefault()}),preventScrollOnEntryFocus:!0,children:r.jsx(Wn,{role:"menu","aria-orientation":"vertical","data-state":an(P.open),"data-radix-menu-content":"",dir:T.dir,...$,...D,ref:Rn,style:{outline:"none",...D.style},onKeyDown:M(D.onKeyDown,d=>{const C=d.target.closest("[data-radix-menu-content]")===d.currentTarget,y=d.ctrlKey||d.altKey||d.metaKey,te=d.key.length===1;C&&(d.key==="Tab"&&d.preventDefault(),!y&&te&&bn(d.key));const ae=B.current;if(d.target!==ae||!zn.includes(d.key))return;d.preventDefault();const A=xe().filter(N=>!N.disabled).map(N=>N.ref.current);Le.includes(d.key)&&A.reverse(),wo(A)}),onBlur:M(e.onBlur,d=>{d.currentTarget.contains(d.target)||(window.clearTimeout(V.current),W.current="")}),onPointerMove:M(e.onPointerMove,L(d=>{const g=d.target,C=re.current!==d.clientX;if(d.currentTarget.contains(g)&&C){const y=d.clientX>re.current?"right":"left";ve.current=y,re.current=d.clientX}}))})})})})})})});Be.displayName=v;var io="MenuGroup",he=s.forwardRef((e,o)=>{const{__scopeMenu:n,...t}=e;return r.jsx(j.div,{role:"group",...t,ref:o})});he.displayName=io;var uo="MenuLabel",Ve=s.forwardRef((e,o)=>{const{__scopeMenu:n,...t}=e;return r.jsx(j.div,{...t,ref:o})});Ve.displayName=uo;var q="MenuItem",Ie="menu.itemSelect",ne=s.forwardRef((e,o)=>{const{disabled:n=!1,onSelect:t,...a}=e,c=s.useRef(null),u=K(q,e.__scopeMenu),l=fe(q,e.__scopeMenu),m=G(o,c),h=s.useRef(!1),p=()=>{const i=c.current;if(!n&&i){const f=new CustomEvent(Ie,{bubbles:!0,cancelable:!0});i.addEventListener(Ie,w=>t==null?void 0:t(w),{once:!0}),Tn(i,f),f.defaultPrevented?h.current=!1:u.onClose()}};return r.jsx(We,{...a,ref:m,disabled:n,onClick:M(e.onClick,p),onPointerDown:i=>{var f;(f=e.onPointerDown)==null||f.call(e,i),h.current=!0},onPointerUp:M(e.onPointerUp,i=>{var f;h.current||(f=i.currentTarget)==null||f.click()}),onKeyDown:M(e.onKeyDown,i=>{const f=l.searchRef.current!=="";n||f&&i.key===" "||se.includes(i.key)&&(i.currentTarget.click(),i.preventDefault())})})});ne.displayName=q;var We=s.forwardRef((e,o)=>{const{__scopeMenu:n,disabled:t=!1,textValue:a,...c}=e,u=fe(q,n),l=Fe(n),m=s.useRef(null),h=G(o,m),[p,i]=s.useState(!1),[f,w]=s.useState("");return s.useEffect(()=>{const _=m.current;_&&w((_.textContent??"").trim())},[c.children]),r.jsx(O.ItemSlot,{scope:n,disabled:t,textValue:a??f,children:r.jsx(Xn,{asChild:!0,...l,focusable:!t,children:r.jsx(j.div,{role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":t||void 0,"data-disabled":t?"":void 0,...c,ref:h,onPointerMove:M(e.onPointerMove,L(_=>{t?u.onItemLeave(_):(u.onItemEnter(_),_.defaultPrevented||_.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:M(e.onPointerLeave,L(_=>u.onItemLeave(_))),onFocus:M(e.onFocus,()=>i(!0)),onBlur:M(e.onBlur,()=>i(!1))})})})}),lo="MenuCheckboxItem",Xe=s.forwardRef((e,o)=>{const{checked:n=!1,onCheckedChange:t,...a}=e;return r.jsx(Ze,{scope:e.__scopeMenu,checked:n,children:r.jsx(ne,{role:"menuitemcheckbox","aria-checked":H(n)?"mixed":n,...a,ref:o,"data-state":_e(n),onSelect:M(a.onSelect,()=>t==null?void 0:t(H(n)?!0:!n),{checkForDefaultPrevented:!1})})})});Xe.displayName=lo;var Ye="MenuRadioGroup",[po,fo]=b(Ye,{value:void 0,onValueChange:()=>{}}),qe=s.forwardRef((e,o)=>{const{value:n,onValueChange:t,...a}=e,c=je(t);return r.jsx(po,{scope:e.__scopeMenu,value:n,onValueChange:c,children:r.jsx(he,{...a,ref:o})})});qe.displayName=Ye;var He="MenuRadioItem",ze=s.forwardRef((e,o)=>{const{value:n,...t}=e,a=fo(He,e.__scopeMenu),c=n===a.value;return r.jsx(Ze,{scope:e.__scopeMenu,checked:c,children:r.jsx(ne,{role:"menuitemradio","aria-checked":c,...t,ref:o,"data-state":_e(c),onSelect:M(t.onSelect,()=>{var u;return(u=a.onValueChange)==null?void 0:u.call(a,n)},{checkForDefaultPrevented:!1})})})});ze.displayName=He;var Me="MenuItemIndicator",[Ze,mo]=b(Me,{checked:!1}),Je=s.forwardRef((e,o)=>{const{__scopeMenu:n,forceMount:t,...a}=e,c=mo(Me,n);return r.jsx(J,{present:t||H(c.checked)||c.checked===!0,children:r.jsx(j.span,{...a,ref:o,"data-state":_e(c.checked)})})});Je.displayName=Me;var ho="MenuSeparator",Qe=s.forwardRef((e,o)=>{const{__scopeMenu:n,...t}=e;return r.jsx(j.div,{role:"separator","aria-orientation":"horizontal",...t,ref:o})});Qe.displayName=ho;var Mo="MenuArrow",en=s.forwardRef((e,o)=>{const{__scopeMenu:n,...t}=e,a=ee(n);return r.jsx(Vn,{...a,...t,ref:o})});en.displayName=Mo;var _o="MenuSub",[$r,nn]=b(_o),k="MenuSubTrigger",on=s.forwardRef((e,o)=>{const n=S(k,e.__scopeMenu),t=K(k,e.__scopeMenu),a=nn(k,e.__scopeMenu),c=fe(k,e.__scopeMenu),u=s.useRef(null),{pointerGraceTimerRef:l,onPointerGraceIntentChange:m}=c,h={__scopeMenu:e.__scopeMenu},p=s.useCallback(()=>{u.current&&window.clearTimeout(u.current),u.current=null},[]);return s.useEffect(()=>p,[p]),s.useEffect(()=>{const i=l.current;return()=>{window.clearTimeout(i),m(null)}},[l,m]),r.jsx(le,{asChild:!0,...h,children:r.jsx(We,{id:a.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":a.contentId,"data-state":an(n.open),...e,ref:Te(o,a.onTriggerChange),onClick:i=>{var f;(f=e.onClick)==null||f.call(e,i),!(e.disabled||i.defaultPrevented)&&(i.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:M(e.onPointerMove,L(i=>{c.onItemEnter(i),!i.defaultPrevented&&!e.disabled&&!n.open&&!u.current&&(c.onPointerGraceIntentChange(null),u.current=window.setTimeout(()=>{n.onOpenChange(!0),p()},100))})),onPointerLeave:M(e.onPointerLeave,L(i=>{var w,_;p();const f=(w=n.content)==null?void 0:w.getBoundingClientRect();if(f){const D=(_=n.content)==null?void 0:_.dataset.side,P=D==="right",T=P?-5:5,$=f[P?"left":"right"],U=f[P?"right":"left"];c.onPointerGraceIntentChange({area:[{x:i.clientX+T,y:i.clientY},{x:$,y:f.top},{x:U,y:f.top},{x:U,y:f.bottom},{x:$,y:f.bottom}],side:D}),window.clearTimeout(l.current),l.current=window.setTimeout(()=>c.onPointerGraceIntentChange(null),300)}else{if(c.onTriggerLeave(i),i.defaultPrevented)return;c.onPointerGraceIntentChange(null)}})),onKeyDown:M(e.onKeyDown,i=>{var w;const f=c.searchRef.current!=="";e.disabled||f&&i.key===" "||Zn[t.dir].includes(i.key)&&(n.onOpenChange(!0),(w=n.content)==null||w.focus(),i.preventDefault())})})})});on.displayName=k;var rn="MenuSubContent",tn=s.forwardRef((e,o)=>{const n=$e(v,e.__scopeMenu),{forceMount:t=n.forceMount,...a}=e,c=S(v,e.__scopeMenu),u=K(v,e.__scopeMenu),l=nn(rn,e.__scopeMenu),m=s.useRef(null),h=G(o,m);return r.jsx(O.Provider,{scope:e.__scopeMenu,children:r.jsx(J,{present:t||c.open,children:r.jsx(O.Slot,{scope:e.__scopeMenu,children:r.jsx(me,{id:l.contentId,"aria-labelledby":l.triggerId,...a,ref:h,align:"start",side:u.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:p=>{var i;u.isUsingKeyboardRef.current&&((i=m.current)==null||i.focus()),p.preventDefault()},onCloseAutoFocus:p=>p.preventDefault(),onFocusOutside:M(e.onFocusOutside,p=>{p.target!==l.trigger&&c.onOpenChange(!1)}),onEscapeKeyDown:M(e.onEscapeKeyDown,p=>{u.onClose(),p.preventDefault()}),onKeyDown:M(e.onKeyDown,p=>{var w;const i=p.currentTarget.contains(p.target),f=Jn[u.dir].includes(p.key);i&&f&&(c.onOpenChange(!1),(w=l.trigger)==null||w.focus(),p.preventDefault())})})})})})});tn.displayName=rn;function an(e){return e?"open":"closed"}function H(e){return e==="indeterminate"}function _e(e){return H(e)?"indeterminate":e?"checked":"unchecked"}function wo(e){const o=document.activeElement;for(const n of e)if(n===o||(n.focus(),document.activeElement!==o))return}function xo(e,o){return e.map((n,t)=>e[(o+t)%e.length])}function go(e,o,n){const a=o.length>1&&Array.from(o).every(h=>h===o[0])?o[0]:o,c=n?e.indexOf(n):-1;let u=xo(e,Math.max(c,0));a.length===1&&(u=u.filter(h=>h!==n));const m=u.find(h=>h.toLowerCase().startsWith(a.toLowerCase()));return m!==n?m:void 0}function vo(e,o){const{x:n,y:t}=e;let a=!1;for(let c=0,u=o.length-1;ct!=p>t&&n<(h-l)*(t-m)/(p-m)+l&&(a=!a)}return a}function Co(e,o){if(!o)return!1;const n={x:e.clientX,y:e.clientY};return vo(n,o)}function L(e){return o=>o.pointerType==="mouse"?e(o):void 0}var Ro=Ke,yo=le,Do=Ue,Io=Be,bo=he,So=Ve,Po=ne,Eo=Xe,No=qe,jo=ze,To=Je,Ao=Qe,ko=en,Oo=on,Lo=tn,we="DropdownMenu",[Go,Ur]=Ae(we,[Ge]),x=Ge(),[Fo,sn]=Go(we),cn=e=>{const{__scopeDropdownMenu:o,children:n,dir:t,open:a,defaultOpen:c,onOpenChange:u,modal:l=!0}=e,m=x(o),h=s.useRef(null),[p=!1,i]=Nn({prop:a,defaultProp:c,onChange:u});return r.jsx(Fo,{scope:o,triggerId:De(),triggerRef:h,contentId:De(),open:p,onOpenChange:i,onOpenToggle:s.useCallback(()=>i(f=>!f),[i]),modal:l,children:r.jsx(Ro,{...m,open:p,onOpenChange:i,dir:t,modal:l,children:n})})};cn.displayName=we;var un="DropdownMenuTrigger",dn=s.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,disabled:t=!1,...a}=e,c=sn(un,n),u=x(n);return r.jsx(yo,{asChild:!0,...u,children:r.jsx(j.button,{type:"button",id:c.triggerId,"aria-haspopup":"menu","aria-expanded":c.open,"aria-controls":c.open?c.contentId:void 0,"data-state":c.open?"open":"closed","data-disabled":t?"":void 0,disabled:t,...a,ref:Te(o,c.triggerRef),onPointerDown:M(e.onPointerDown,l=>{!t&&l.button===0&&l.ctrlKey===!1&&(c.onOpenToggle(),c.open||l.preventDefault())}),onKeyDown:M(e.onKeyDown,l=>{t||(["Enter"," "].includes(l.key)&&c.onOpenToggle(),l.key==="ArrowDown"&&c.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(l.key)&&l.preventDefault())})})})});dn.displayName=un;var Ko="DropdownMenuPortal",ln=e=>{const{__scopeDropdownMenu:o,...n}=e,t=x(o);return r.jsx(Do,{...t,...n})};ln.displayName=Ko;var pn="DropdownMenuContent",fn=s.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=sn(pn,n),c=x(n),u=s.useRef(!1);return r.jsx(Io,{id:a.contentId,"aria-labelledby":a.triggerId,...c,...t,ref:o,onCloseAutoFocus:M(e.onCloseAutoFocus,l=>{var m;u.current||(m=a.triggerRef.current)==null||m.focus(),u.current=!1,l.preventDefault()}),onInteractOutside:M(e.onInteractOutside,l=>{const m=l.detail.originalEvent,h=m.button===0&&m.ctrlKey===!0,p=m.button===2||h;(!a.modal||p)&&(u.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});fn.displayName=pn;var $o="DropdownMenuGroup",Uo=s.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=x(n);return r.jsx(bo,{...a,...t,ref:o})});Uo.displayName=$o;var Bo="DropdownMenuLabel",Vo=s.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=x(n);return r.jsx(So,{...a,...t,ref:o})});Vo.displayName=Bo;var Wo="DropdownMenuItem",mn=s.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=x(n);return r.jsx(Po,{...a,...t,ref:o})});mn.displayName=Wo;var Xo="DropdownMenuCheckboxItem",hn=s.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=x(n);return r.jsx(Eo,{...a,...t,ref:o})});hn.displayName=Xo;var Yo="DropdownMenuRadioGroup",Mn=s.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=x(n);return r.jsx(No,{...a,...t,ref:o})});Mn.displayName=Yo;var qo="DropdownMenuRadioItem",_n=s.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=x(n);return r.jsx(jo,{...a,...t,ref:o})});_n.displayName=qo;var Ho="DropdownMenuItemIndicator",wn=s.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=x(n);return r.jsx(To,{...a,...t,ref:o})});wn.displayName=Ho;var zo="DropdownMenuSeparator",xn=s.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=x(n);return r.jsx(Ao,{...a,...t,ref:o})});xn.displayName=zo;var Zo="DropdownMenuArrow",gn=s.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=x(n);return r.jsx(ko,{...a,...t,ref:o})});gn.displayName=Zo;var Jo="DropdownMenuSubTrigger",Qo=s.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=x(n);return r.jsx(Oo,{...a,...t,ref:o})});Qo.displayName=Jo;var er="DropdownMenuSubContent",nr=s.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=x(n);return r.jsx(Lo,{...a,...t,ref:o,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});nr.displayName=er;var or=cn,rr=dn,tr=ln,ar=fn,sr=mn,cr=hn,ir=Mn,ur=_n,vn=wn,dr=xn,lr=gn;const ce=or,ie=rr,be=tr,ue=({className:e,children:o,...n})=>r.jsxs(ar,{className:Q("w-40 backdrop-blur-xs bg-background-raised p-2 rounded-md",e),side:"bottom",sideOffset:4,align:"center",...n,children:[o,r.jsx(pr,{})]}),pr=()=>r.jsx(lr,{className:"fill-background-raised"}),I=({className:e,children:o,...n})=>r.jsx(sr,{className:Q("flex items-center justify-between rounded-xs px-2 py-1 cursor-pointer select-none pl-6 relative text-secondary outline-hidden","data-disabled:opacity-80 data-disabled:cursor-default data-disabled:pointer-events-none data-disabled:text-muted","data-highlighted:bg-background-contrast",e),...n,children:r.jsx(Y,{variant:"small",children:o})}),fr=({children:e})=>r.jsx(vn,{className:"absolute left-0 w-6 inline-flex items-center justify-center",children:e}),Se=()=>r.jsx(dr,{asChild:!0,children:r.jsx(qn,{className:"my-1"})}),z=s.forwardRef(({className:e,children:o,...n},t)=>r.jsxs(cr,{className:Q("flex items-center justify-between rounded-xs px-2 py-1 cursor-pointer select-none pl-6 relative text-secondary outline-hidden","data-disabled:opacity-80 data-disabled:cursor-default data-disabled:pointer-events-none data-disabled:text-muted","data-highlighted:bg-background-contrast",e),...n,ref:t,children:[r.jsx(fr,{children:r.jsx(Pn,{size:"xs"})}),r.jsx(Y,{variant:"small",children:o})]})),de=ir,Z=s.forwardRef(({className:e,children:o,...n},t)=>r.jsxs(ur,{className:Q("flex items-center justify-between rounded-xs px-2 py-1 cursor-pointer select-none pl-6 relative text-secondary outline-hidden","data-disabled:opacity-80 data-disabled:cursor-default data-disabled:pointer-events-none data-disabled:text-muted","data-highlighted:bg-background-contrast",e),...n,ref:t,children:[r.jsx(vn,{className:"absolute left-0 w-6 inline-flex items-center justify-center",children:r.jsx(Y,{children:"•"})}),r.jsx(Y,{variant:"small",children:o})]}));try{ce.displayName="DropdownMenuRoot",ce.__docgenInfo={description:"",displayName:"DropdownMenuRoot",props:{}}}catch{}try{ie.displayName="DropdownMenuTrigger",ie.__docgenInfo={description:"",displayName:"DropdownMenuTrigger",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}}}}}catch{}try{be.displayName="DropdownMenuPortal",be.__docgenInfo={description:"",displayName:"DropdownMenuPortal",props:{}}}catch{}try{ue.displayName="DropdownMenuContent",ue.__docgenInfo={description:"",displayName:"DropdownMenuContent",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}}}}}catch{}try{I.displayName="DropdownMenuItem",I.__docgenInfo={description:"",displayName:"DropdownMenuItem",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}}}}}catch{}try{z.displayName="DropdownMenuCheckboxItem",z.__docgenInfo={description:"",displayName:"DropdownMenuCheckboxItem",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}}}}}catch{}try{de.displayName="DropdownMenuRadioGroup",de.__docgenInfo={description:"",displayName:"DropdownMenuRadioGroup",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}}}}}catch{}try{Z.displayName="DropdownMenuRadioItem",Z.__docgenInfo={description:"",displayName:"DropdownMenuRadioItem",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}}}}}catch{}const Br={title:"Components/DropdownMenu"},mr=()=>{const[e,o]=s.useState(!0),[n,t]=s.useState(!1),[a,c]=s.useState("list");return r.jsx("div",{className:"flex justify-center",children:r.jsxs(ce,{children:[r.jsx(ie,{asChild:!0,children:r.jsx(Sn,{icon:En})}),r.jsxs(ue,{children:[r.jsx(I,{children:"New Tab"}),r.jsx(I,{children:"New Window"}),r.jsx(I,{disabled:!0,children:"New Private Tab"}),r.jsx(I,{children:"Item 4"}),r.jsx(I,{children:"Item 5"}),r.jsx(Se,{}),r.jsx(z,{checked:e,onCheckedChange:u=>o(!!u),children:"Show Bookmarks"}),r.jsx(z,{checked:n,onCheckedChange:u=>t(!!u),children:"Show Full URLs"}),r.jsx(Se,{}),r.jsxs(de,{value:a,onValueChange:u=>c(u),children:[r.jsx(Z,{value:"list",children:"List"}),r.jsx(Z,{value:"grid",children:"Grid"})]})]})]})})},X={render:mr,args:{}};var Pe,Ee,Ne;X.parameters={...X.parameters,docs:{...(Pe=X.parameters)==null?void 0:Pe.docs,source:{originalSource:`{ +import{j as r}from"./jsx-runtime-Cf8x2fCZ.js";import{r as s}from"./index-DubqEmGm.js";import{I as Sn}from"./IconButton-tt72d-YU.js";import{b as Pn,s as En}from"./WarningIcon-Z1cZGh4-.js";import{b as je,c as M,a as Nn}from"./index-DKEAZgBW.js";import{u as G,S as jn,c as Te}from"./index-BkTKsPvT.js";import{c as Ae,P as j,d as Tn}from"./index-EKtyzmkF.js";import{c as An}from"./index-BKFtrmjf.js";import{u as kn}from"./index-BPXglf9v.js";import{D as On,P as Ln}from"./index-DC1_uW73.js";import{h as Gn,u as Fn,R as Kn,F as $n}from"./Combination-B30zI8Yx.js";import{c as ke,R as Un,A as Bn,a as Vn,C as Wn}from"./index-Cbr3GIiu.js";import{P as J}from"./index-SbpNQzLY.js";import{c as Oe,I as Xn,R as Yn}from"./index-h6D3frV-.js";import{u as De}from"./index-Cbw-VAaK.js";import{c as Q}from"./classnames-Dx2cly0x.js";import"./index-DeHG_5CV.js";import{T as Y}from"./Text-c-Dt_3pd.js";import{D as qn}from"./Divider-CiKhk90j.js";import"./index-yBjzXJbu.js";import"./Button-CJ_2iam3.js";import"./index-Dp3B9jqt.js";import"./clsx-B-dksMZM.js";import"./index-e5epXPAg.js";import"./index-fNjTmf9T.js";import"./index-JD-fg0In.js";var se=["Enter"," "],Hn=["ArrowDown","PageUp","Home"],Le=["ArrowUp","PageDown","End"],zn=[...Hn,...Le],Zn={ltr:[...se,"ArrowRight"],rtl:[...se,"ArrowLeft"]},Jn={ltr:["ArrowLeft"],rtl:["ArrowRight"]},F="Menu",[O,Qn,eo]=An(F),[b,Ge]=Ae(F,[eo,ke,Oe]),ee=ke(),Fe=Oe(),[no,S]=b(F),[oo,K]=b(F),Ke=e=>{const{__scopeMenu:o,open:n=!1,children:t,dir:a,onOpenChange:c,modal:u=!0}=e,l=ee(o),[m,h]=s.useState(null),p=s.useRef(!1),i=je(c),f=kn(a);return s.useEffect(()=>{const w=()=>{p.current=!0,document.addEventListener("pointerdown",_,{capture:!0,once:!0}),document.addEventListener("pointermove",_,{capture:!0,once:!0})},_=()=>p.current=!1;return document.addEventListener("keydown",w,{capture:!0}),()=>{document.removeEventListener("keydown",w,{capture:!0}),document.removeEventListener("pointerdown",_,{capture:!0}),document.removeEventListener("pointermove",_,{capture:!0})}},[]),r.jsx(Un,{...l,children:r.jsx(no,{scope:o,open:n,onOpenChange:i,content:m,onContentChange:h,children:r.jsx(oo,{scope:o,onClose:s.useCallback(()=>i(!1),[i]),isUsingKeyboardRef:p,dir:f,modal:u,children:t})})})};Ke.displayName=F;var ro="MenuAnchor",le=s.forwardRef((e,o)=>{const{__scopeMenu:n,...t}=e,a=ee(n);return r.jsx(Bn,{...a,...t,ref:o})});le.displayName=ro;var pe="MenuPortal",[to,$e]=b(pe,{forceMount:void 0}),Ue=e=>{const{__scopeMenu:o,forceMount:n,children:t,container:a}=e,c=S(pe,o);return r.jsx(to,{scope:o,forceMount:n,children:r.jsx(J,{present:n||c.open,children:r.jsx(Ln,{asChild:!0,container:a,children:t})})})};Ue.displayName=pe;var g="MenuContent",[ao,fe]=b(g),Be=s.forwardRef((e,o)=>{const n=$e(g,e.__scopeMenu),{forceMount:t=n.forceMount,...a}=e,c=S(g,e.__scopeMenu),u=K(g,e.__scopeMenu);return r.jsx(O.Provider,{scope:e.__scopeMenu,children:r.jsx(J,{present:t||c.open,children:r.jsx(O.Slot,{scope:e.__scopeMenu,children:u.modal?r.jsx(so,{...a,ref:o}):r.jsx(co,{...a,ref:o})})})})}),so=s.forwardRef((e,o)=>{const n=S(g,e.__scopeMenu),t=s.useRef(null),a=G(o,t);return s.useEffect(()=>{const c=t.current;if(c)return Gn(c)},[]),r.jsx(me,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:M(e.onFocusOutside,c=>c.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),co=s.forwardRef((e,o)=>{const n=S(g,e.__scopeMenu);return r.jsx(me,{...e,ref:o,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),me=s.forwardRef((e,o)=>{const{__scopeMenu:n,loop:t=!1,trapFocus:a,onOpenAutoFocus:c,onCloseAutoFocus:u,disableOutsidePointerEvents:l,onEntryFocus:m,onEscapeKeyDown:h,onPointerDownOutside:p,onFocusOutside:i,onInteractOutside:f,onDismiss:w,disableOutsideScroll:_,...D}=e,P=S(g,n),T=K(g,n),$=ee(n),U=Fe(n),xe=Qn(n),[Cn,ve]=s.useState(null),B=s.useRef(null),Rn=G(o,B,P.onContentChange),V=s.useRef(0),W=s.useRef(""),yn=s.useRef(0),oe=s.useRef(null),ge=s.useRef("right"),re=s.useRef(0),Dn=_?Kn:s.Fragment,In=_?{as:jn,allowPinchZoom:!0}:void 0,bn=d=>{var N,Re;const v=W.current+d,C=xe().filter(R=>!R.disabled),y=document.activeElement,te=(N=C.find(R=>R.ref.current===y))==null?void 0:N.textValue,ae=C.map(R=>R.textValue),Ce=vo(ae,v,te),A=(Re=C.find(R=>R.textValue===Ce))==null?void 0:Re.ref.current;(function R(ye){W.current=ye,window.clearTimeout(V.current),ye!==""&&(V.current=window.setTimeout(()=>R(""),1e3))})(v),A&&setTimeout(()=>A.focus())};s.useEffect(()=>()=>window.clearTimeout(V.current),[]),Fn();const E=s.useCallback(d=>{var C,y;return ge.current===((C=oe.current)==null?void 0:C.side)&&Co(d,(y=oe.current)==null?void 0:y.area)},[]);return r.jsx(ao,{scope:n,searchRef:W,onItemEnter:s.useCallback(d=>{E(d)&&d.preventDefault()},[E]),onItemLeave:s.useCallback(d=>{var v;E(d)||((v=B.current)==null||v.focus(),ve(null))},[E]),onTriggerLeave:s.useCallback(d=>{E(d)&&d.preventDefault()},[E]),pointerGraceTimerRef:yn,onPointerGraceIntentChange:s.useCallback(d=>{oe.current=d},[]),children:r.jsx(Dn,{...In,children:r.jsx($n,{asChild:!0,trapped:a,onMountAutoFocus:M(c,d=>{var v;d.preventDefault(),(v=B.current)==null||v.focus({preventScroll:!0})}),onUnmountAutoFocus:u,children:r.jsx(On,{asChild:!0,disableOutsidePointerEvents:l,onEscapeKeyDown:h,onPointerDownOutside:p,onFocusOutside:i,onInteractOutside:f,onDismiss:w,children:r.jsx(Yn,{asChild:!0,...U,dir:T.dir,orientation:"vertical",loop:t,currentTabStopId:Cn,onCurrentTabStopIdChange:ve,onEntryFocus:M(m,d=>{T.isUsingKeyboardRef.current||d.preventDefault()}),preventScrollOnEntryFocus:!0,children:r.jsx(Wn,{role:"menu","aria-orientation":"vertical","data-state":an(P.open),"data-radix-menu-content":"",dir:T.dir,...$,...D,ref:Rn,style:{outline:"none",...D.style},onKeyDown:M(D.onKeyDown,d=>{const C=d.target.closest("[data-radix-menu-content]")===d.currentTarget,y=d.ctrlKey||d.altKey||d.metaKey,te=d.key.length===1;C&&(d.key==="Tab"&&d.preventDefault(),!y&&te&&bn(d.key));const ae=B.current;if(d.target!==ae||!zn.includes(d.key))return;d.preventDefault();const A=xe().filter(N=>!N.disabled).map(N=>N.ref.current);Le.includes(d.key)&&A.reverse(),wo(A)}),onBlur:M(e.onBlur,d=>{d.currentTarget.contains(d.target)||(window.clearTimeout(V.current),W.current="")}),onPointerMove:M(e.onPointerMove,L(d=>{const v=d.target,C=re.current!==d.clientX;if(d.currentTarget.contains(v)&&C){const y=d.clientX>re.current?"right":"left";ge.current=y,re.current=d.clientX}}))})})})})})})});Be.displayName=g;var io="MenuGroup",he=s.forwardRef((e,o)=>{const{__scopeMenu:n,...t}=e;return r.jsx(j.div,{role:"group",...t,ref:o})});he.displayName=io;var uo="MenuLabel",Ve=s.forwardRef((e,o)=>{const{__scopeMenu:n,...t}=e;return r.jsx(j.div,{...t,ref:o})});Ve.displayName=uo;var q="MenuItem",Ie="menu.itemSelect",ne=s.forwardRef((e,o)=>{const{disabled:n=!1,onSelect:t,...a}=e,c=s.useRef(null),u=K(q,e.__scopeMenu),l=fe(q,e.__scopeMenu),m=G(o,c),h=s.useRef(!1),p=()=>{const i=c.current;if(!n&&i){const f=new CustomEvent(Ie,{bubbles:!0,cancelable:!0});i.addEventListener(Ie,w=>t==null?void 0:t(w),{once:!0}),Tn(i,f),f.defaultPrevented?h.current=!1:u.onClose()}};return r.jsx(We,{...a,ref:m,disabled:n,onClick:M(e.onClick,p),onPointerDown:i=>{var f;(f=e.onPointerDown)==null||f.call(e,i),h.current=!0},onPointerUp:M(e.onPointerUp,i=>{var f;h.current||(f=i.currentTarget)==null||f.click()}),onKeyDown:M(e.onKeyDown,i=>{const f=l.searchRef.current!=="";n||f&&i.key===" "||se.includes(i.key)&&(i.currentTarget.click(),i.preventDefault())})})});ne.displayName=q;var We=s.forwardRef((e,o)=>{const{__scopeMenu:n,disabled:t=!1,textValue:a,...c}=e,u=fe(q,n),l=Fe(n),m=s.useRef(null),h=G(o,m),[p,i]=s.useState(!1),[f,w]=s.useState("");return s.useEffect(()=>{const _=m.current;_&&w((_.textContent??"").trim())},[c.children]),r.jsx(O.ItemSlot,{scope:n,disabled:t,textValue:a??f,children:r.jsx(Xn,{asChild:!0,...l,focusable:!t,children:r.jsx(j.div,{role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":t||void 0,"data-disabled":t?"":void 0,...c,ref:h,onPointerMove:M(e.onPointerMove,L(_=>{t?u.onItemLeave(_):(u.onItemEnter(_),_.defaultPrevented||_.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:M(e.onPointerLeave,L(_=>u.onItemLeave(_))),onFocus:M(e.onFocus,()=>i(!0)),onBlur:M(e.onBlur,()=>i(!1))})})})}),lo="MenuCheckboxItem",Xe=s.forwardRef((e,o)=>{const{checked:n=!1,onCheckedChange:t,...a}=e;return r.jsx(Ze,{scope:e.__scopeMenu,checked:n,children:r.jsx(ne,{role:"menuitemcheckbox","aria-checked":H(n)?"mixed":n,...a,ref:o,"data-state":_e(n),onSelect:M(a.onSelect,()=>t==null?void 0:t(H(n)?!0:!n),{checkForDefaultPrevented:!1})})})});Xe.displayName=lo;var Ye="MenuRadioGroup",[po,fo]=b(Ye,{value:void 0,onValueChange:()=>{}}),qe=s.forwardRef((e,o)=>{const{value:n,onValueChange:t,...a}=e,c=je(t);return r.jsx(po,{scope:e.__scopeMenu,value:n,onValueChange:c,children:r.jsx(he,{...a,ref:o})})});qe.displayName=Ye;var He="MenuRadioItem",ze=s.forwardRef((e,o)=>{const{value:n,...t}=e,a=fo(He,e.__scopeMenu),c=n===a.value;return r.jsx(Ze,{scope:e.__scopeMenu,checked:c,children:r.jsx(ne,{role:"menuitemradio","aria-checked":c,...t,ref:o,"data-state":_e(c),onSelect:M(t.onSelect,()=>{var u;return(u=a.onValueChange)==null?void 0:u.call(a,n)},{checkForDefaultPrevented:!1})})})});ze.displayName=He;var Me="MenuItemIndicator",[Ze,mo]=b(Me,{checked:!1}),Je=s.forwardRef((e,o)=>{const{__scopeMenu:n,forceMount:t,...a}=e,c=mo(Me,n);return r.jsx(J,{present:t||H(c.checked)||c.checked===!0,children:r.jsx(j.span,{...a,ref:o,"data-state":_e(c.checked)})})});Je.displayName=Me;var ho="MenuSeparator",Qe=s.forwardRef((e,o)=>{const{__scopeMenu:n,...t}=e;return r.jsx(j.div,{role:"separator","aria-orientation":"horizontal",...t,ref:o})});Qe.displayName=ho;var Mo="MenuArrow",en=s.forwardRef((e,o)=>{const{__scopeMenu:n,...t}=e,a=ee(n);return r.jsx(Vn,{...a,...t,ref:o})});en.displayName=Mo;var _o="MenuSub",[$r,nn]=b(_o),k="MenuSubTrigger",on=s.forwardRef((e,o)=>{const n=S(k,e.__scopeMenu),t=K(k,e.__scopeMenu),a=nn(k,e.__scopeMenu),c=fe(k,e.__scopeMenu),u=s.useRef(null),{pointerGraceTimerRef:l,onPointerGraceIntentChange:m}=c,h={__scopeMenu:e.__scopeMenu},p=s.useCallback(()=>{u.current&&window.clearTimeout(u.current),u.current=null},[]);return s.useEffect(()=>p,[p]),s.useEffect(()=>{const i=l.current;return()=>{window.clearTimeout(i),m(null)}},[l,m]),r.jsx(le,{asChild:!0,...h,children:r.jsx(We,{id:a.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":a.contentId,"data-state":an(n.open),...e,ref:Te(o,a.onTriggerChange),onClick:i=>{var f;(f=e.onClick)==null||f.call(e,i),!(e.disabled||i.defaultPrevented)&&(i.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:M(e.onPointerMove,L(i=>{c.onItemEnter(i),!i.defaultPrevented&&!e.disabled&&!n.open&&!u.current&&(c.onPointerGraceIntentChange(null),u.current=window.setTimeout(()=>{n.onOpenChange(!0),p()},100))})),onPointerLeave:M(e.onPointerLeave,L(i=>{var w,_;p();const f=(w=n.content)==null?void 0:w.getBoundingClientRect();if(f){const D=(_=n.content)==null?void 0:_.dataset.side,P=D==="right",T=P?-5:5,$=f[P?"left":"right"],U=f[P?"right":"left"];c.onPointerGraceIntentChange({area:[{x:i.clientX+T,y:i.clientY},{x:$,y:f.top},{x:U,y:f.top},{x:U,y:f.bottom},{x:$,y:f.bottom}],side:D}),window.clearTimeout(l.current),l.current=window.setTimeout(()=>c.onPointerGraceIntentChange(null),300)}else{if(c.onTriggerLeave(i),i.defaultPrevented)return;c.onPointerGraceIntentChange(null)}})),onKeyDown:M(e.onKeyDown,i=>{var w;const f=c.searchRef.current!=="";e.disabled||f&&i.key===" "||Zn[t.dir].includes(i.key)&&(n.onOpenChange(!0),(w=n.content)==null||w.focus(),i.preventDefault())})})})});on.displayName=k;var rn="MenuSubContent",tn=s.forwardRef((e,o)=>{const n=$e(g,e.__scopeMenu),{forceMount:t=n.forceMount,...a}=e,c=S(g,e.__scopeMenu),u=K(g,e.__scopeMenu),l=nn(rn,e.__scopeMenu),m=s.useRef(null),h=G(o,m);return r.jsx(O.Provider,{scope:e.__scopeMenu,children:r.jsx(J,{present:t||c.open,children:r.jsx(O.Slot,{scope:e.__scopeMenu,children:r.jsx(me,{id:l.contentId,"aria-labelledby":l.triggerId,...a,ref:h,align:"start",side:u.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:p=>{var i;u.isUsingKeyboardRef.current&&((i=m.current)==null||i.focus()),p.preventDefault()},onCloseAutoFocus:p=>p.preventDefault(),onFocusOutside:M(e.onFocusOutside,p=>{p.target!==l.trigger&&c.onOpenChange(!1)}),onEscapeKeyDown:M(e.onEscapeKeyDown,p=>{u.onClose(),p.preventDefault()}),onKeyDown:M(e.onKeyDown,p=>{var w;const i=p.currentTarget.contains(p.target),f=Jn[u.dir].includes(p.key);i&&f&&(c.onOpenChange(!1),(w=l.trigger)==null||w.focus(),p.preventDefault())})})})})})});tn.displayName=rn;function an(e){return e?"open":"closed"}function H(e){return e==="indeterminate"}function _e(e){return H(e)?"indeterminate":e?"checked":"unchecked"}function wo(e){const o=document.activeElement;for(const n of e)if(n===o||(n.focus(),document.activeElement!==o))return}function xo(e,o){return e.map((n,t)=>e[(o+t)%e.length])}function vo(e,o,n){const a=o.length>1&&Array.from(o).every(h=>h===o[0])?o[0]:o,c=n?e.indexOf(n):-1;let u=xo(e,Math.max(c,0));a.length===1&&(u=u.filter(h=>h!==n));const m=u.find(h=>h.toLowerCase().startsWith(a.toLowerCase()));return m!==n?m:void 0}function go(e,o){const{x:n,y:t}=e;let a=!1;for(let c=0,u=o.length-1;ct!=p>t&&n<(h-l)*(t-m)/(p-m)+l&&(a=!a)}return a}function Co(e,o){if(!o)return!1;const n={x:e.clientX,y:e.clientY};return go(n,o)}function L(e){return o=>o.pointerType==="mouse"?e(o):void 0}var Ro=Ke,yo=le,Do=Ue,Io=Be,bo=he,So=Ve,Po=ne,Eo=Xe,No=qe,jo=ze,To=Je,Ao=Qe,ko=en,Oo=on,Lo=tn,we="DropdownMenu",[Go,Ur]=Ae(we,[Ge]),x=Ge(),[Fo,sn]=Go(we),cn=e=>{const{__scopeDropdownMenu:o,children:n,dir:t,open:a,defaultOpen:c,onOpenChange:u,modal:l=!0}=e,m=x(o),h=s.useRef(null),[p=!1,i]=Nn({prop:a,defaultProp:c,onChange:u});return r.jsx(Fo,{scope:o,triggerId:De(),triggerRef:h,contentId:De(),open:p,onOpenChange:i,onOpenToggle:s.useCallback(()=>i(f=>!f),[i]),modal:l,children:r.jsx(Ro,{...m,open:p,onOpenChange:i,dir:t,modal:l,children:n})})};cn.displayName=we;var un="DropdownMenuTrigger",dn=s.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,disabled:t=!1,...a}=e,c=sn(un,n),u=x(n);return r.jsx(yo,{asChild:!0,...u,children:r.jsx(j.button,{type:"button",id:c.triggerId,"aria-haspopup":"menu","aria-expanded":c.open,"aria-controls":c.open?c.contentId:void 0,"data-state":c.open?"open":"closed","data-disabled":t?"":void 0,disabled:t,...a,ref:Te(o,c.triggerRef),onPointerDown:M(e.onPointerDown,l=>{!t&&l.button===0&&l.ctrlKey===!1&&(c.onOpenToggle(),c.open||l.preventDefault())}),onKeyDown:M(e.onKeyDown,l=>{t||(["Enter"," "].includes(l.key)&&c.onOpenToggle(),l.key==="ArrowDown"&&c.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(l.key)&&l.preventDefault())})})})});dn.displayName=un;var Ko="DropdownMenuPortal",ln=e=>{const{__scopeDropdownMenu:o,...n}=e,t=x(o);return r.jsx(Do,{...t,...n})};ln.displayName=Ko;var pn="DropdownMenuContent",fn=s.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=sn(pn,n),c=x(n),u=s.useRef(!1);return r.jsx(Io,{id:a.contentId,"aria-labelledby":a.triggerId,...c,...t,ref:o,onCloseAutoFocus:M(e.onCloseAutoFocus,l=>{var m;u.current||(m=a.triggerRef.current)==null||m.focus(),u.current=!1,l.preventDefault()}),onInteractOutside:M(e.onInteractOutside,l=>{const m=l.detail.originalEvent,h=m.button===0&&m.ctrlKey===!0,p=m.button===2||h;(!a.modal||p)&&(u.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});fn.displayName=pn;var $o="DropdownMenuGroup",Uo=s.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=x(n);return r.jsx(bo,{...a,...t,ref:o})});Uo.displayName=$o;var Bo="DropdownMenuLabel",Vo=s.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=x(n);return r.jsx(So,{...a,...t,ref:o})});Vo.displayName=Bo;var Wo="DropdownMenuItem",mn=s.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=x(n);return r.jsx(Po,{...a,...t,ref:o})});mn.displayName=Wo;var Xo="DropdownMenuCheckboxItem",hn=s.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=x(n);return r.jsx(Eo,{...a,...t,ref:o})});hn.displayName=Xo;var Yo="DropdownMenuRadioGroup",Mn=s.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=x(n);return r.jsx(No,{...a,...t,ref:o})});Mn.displayName=Yo;var qo="DropdownMenuRadioItem",_n=s.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=x(n);return r.jsx(jo,{...a,...t,ref:o})});_n.displayName=qo;var Ho="DropdownMenuItemIndicator",wn=s.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=x(n);return r.jsx(To,{...a,...t,ref:o})});wn.displayName=Ho;var zo="DropdownMenuSeparator",xn=s.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=x(n);return r.jsx(Ao,{...a,...t,ref:o})});xn.displayName=zo;var Zo="DropdownMenuArrow",vn=s.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=x(n);return r.jsx(ko,{...a,...t,ref:o})});vn.displayName=Zo;var Jo="DropdownMenuSubTrigger",Qo=s.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=x(n);return r.jsx(Oo,{...a,...t,ref:o})});Qo.displayName=Jo;var er="DropdownMenuSubContent",nr=s.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=x(n);return r.jsx(Lo,{...a,...t,ref:o,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});nr.displayName=er;var or=cn,rr=dn,tr=ln,ar=fn,sr=mn,cr=hn,ir=Mn,ur=_n,gn=wn,dr=xn,lr=vn;const ce=or,ie=rr,be=tr,ue=({className:e,children:o,...n})=>r.jsxs(ar,{className:Q("w-40 backdrop-blur-xs bg-background-raised p-2 rounded-md",e),side:"bottom",sideOffset:4,align:"center",...n,children:[o,r.jsx(pr,{})]}),pr=()=>r.jsx(lr,{className:"fill-background-raised"}),I=({className:e,children:o,...n})=>r.jsx(sr,{className:Q("flex items-center justify-between rounded-xs px-2 py-1 cursor-pointer select-none pl-6 relative text-secondary outline-hidden","data-disabled:opacity-80 data-disabled:cursor-default data-disabled:pointer-events-none data-disabled:text-muted","data-highlighted:bg-background-contrast",e),...n,children:r.jsx(Y,{variant:"small",children:o})}),fr=({children:e})=>r.jsx(gn,{className:"absolute left-0 w-6 inline-flex items-center justify-center",children:e}),Se=()=>r.jsx(dr,{asChild:!0,children:r.jsx(qn,{className:"my-1"})}),z=s.forwardRef(({className:e,children:o,...n},t)=>r.jsxs(cr,{className:Q("flex items-center justify-between rounded-xs px-2 py-1 cursor-pointer select-none pl-6 relative text-secondary outline-hidden","data-disabled:opacity-80 data-disabled:cursor-default data-disabled:pointer-events-none data-disabled:text-muted","data-highlighted:bg-background-contrast",e),...n,ref:t,children:[r.jsx(fr,{children:r.jsx(Pn,{size:"xs"})}),r.jsx(Y,{variant:"small",children:o})]})),de=ir,Z=s.forwardRef(({className:e,children:o,...n},t)=>r.jsxs(ur,{className:Q("flex items-center justify-between rounded-xs px-2 py-1 cursor-pointer select-none pl-6 relative text-secondary outline-hidden","data-disabled:opacity-80 data-disabled:cursor-default data-disabled:pointer-events-none data-disabled:text-muted","data-highlighted:bg-background-contrast",e),...n,ref:t,children:[r.jsx(gn,{className:"absolute left-0 w-6 inline-flex items-center justify-center",children:r.jsx(Y,{children:"•"})}),r.jsx(Y,{variant:"small",children:o})]}));try{ce.displayName="DropdownMenuRoot",ce.__docgenInfo={description:"",displayName:"DropdownMenuRoot",props:{}}}catch{}try{ie.displayName="DropdownMenuTrigger",ie.__docgenInfo={description:"",displayName:"DropdownMenuTrigger",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}}}}}catch{}try{be.displayName="DropdownMenuPortal",be.__docgenInfo={description:"",displayName:"DropdownMenuPortal",props:{}}}catch{}try{ue.displayName="DropdownMenuContent",ue.__docgenInfo={description:"",displayName:"DropdownMenuContent",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}}}}}catch{}try{I.displayName="DropdownMenuItem",I.__docgenInfo={description:"",displayName:"DropdownMenuItem",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}}}}}catch{}try{z.displayName="DropdownMenuCheckboxItem",z.__docgenInfo={description:"",displayName:"DropdownMenuCheckboxItem",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}}}}}catch{}try{de.displayName="DropdownMenuRadioGroup",de.__docgenInfo={description:"",displayName:"DropdownMenuRadioGroup",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}}}}}catch{}try{Z.displayName="DropdownMenuRadioItem",Z.__docgenInfo={description:"",displayName:"DropdownMenuRadioItem",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}}}}}catch{}const Br={title:"Components/DropdownMenu"},mr=()=>{const[e,o]=s.useState(!0),[n,t]=s.useState(!1),[a,c]=s.useState("list");return r.jsx("div",{className:"flex justify-center",children:r.jsxs(ce,{children:[r.jsx(ie,{asChild:!0,children:r.jsx(Sn,{icon:En})}),r.jsxs(ue,{children:[r.jsx(I,{children:"New Tab"}),r.jsx(I,{children:"New Window"}),r.jsx(I,{disabled:!0,children:"New Private Tab"}),r.jsx(I,{children:"Item 4"}),r.jsx(I,{children:"Item 5"}),r.jsx(Se,{}),r.jsx(z,{checked:e,onCheckedChange:u=>o(!!u),children:"Show Bookmarks"}),r.jsx(z,{checked:n,onCheckedChange:u=>t(!!u),children:"Show Full URLs"}),r.jsx(Se,{}),r.jsxs(de,{value:a,onValueChange:u=>c(u),children:[r.jsx(Z,{value:"list",children:"List"}),r.jsx(Z,{value:"grid",children:"Grid"})]})]})]})})},X={render:mr,args:{}};var Pe,Ee,Ne;X.parameters={...X.parameters,docs:{...(Pe=X.parameters)==null?void 0:Pe.docs,source:{originalSource:`{ render: StoryWrapper, args: {} }`,...(Ne=(Ee=X.parameters)==null?void 0:Ee.docs)==null?void 0:Ne.source}}};const Vr=["Default"];export{X as Default,Vr as __namedExportsOrder,Br as default}; diff --git a/assets/Field-Dz_fFMgk.js b/assets/Field-BUPg2hwy.js similarity index 92% rename from assets/Field-Dz_fFMgk.js rename to assets/Field-BUPg2hwy.js index 53168a06b..ac3dcd529 100644 --- a/assets/Field-Dz_fFMgk.js +++ b/assets/Field-BUPg2hwy.js @@ -1 +1 @@ -import{j as l}from"./jsx-runtime-z8MfsBtr.js";import{c as m}from"./index-DKHC-OhD.js";import{T as n}from"./Text-DiY0ipGE.js";import{c as u}from"./classnames-Dx2cly0x.js";const f=m("flex",{variants:{labelLocation:{top:["flex-col","items-stretch","gap-3"],left:["flex-row","items-center","gap-3","grid-cols-[1fr_2fr]"],right:["flex-row","items-center","gap-3","grid-cols-[2fr_1fr]"],hidden:["gap-0"]}}}),d=i=>{const{id:s,label:a,description:r,labelLocation:e="top",children:o,className:c,...p}=i,t=()=>a||r?l.jsxs("div",{className:"flex flex-col gap-0.5",children:[a&&l.jsx(n,{variant:"small",color:"primary",hidden:e==="hidden",children:a}),r&&l.jsx(n,{variant:"small",color:"muted",hidden:e==="hidden",children:r})]}):null;return l.jsxs("label",{className:u(f({labelLocation:e}),c),htmlFor:s,...p,children:[["left","top","hidden"].includes(e)&&t(),o,e==="right"&&t()]})};try{d.displayName="Field",d.__docgenInfo={description:"",displayName:"Field",props:{id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"boolean"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:'"hidden" | "top" | "left" | "right" | null'}}}}}catch{}export{d as F}; +import{j as l}from"./jsx-runtime-Cf8x2fCZ.js";import{c as m}from"./index-Dp3B9jqt.js";import{T as n}from"./Text-c-Dt_3pd.js";import{c as u}from"./classnames-Dx2cly0x.js";const f=m("flex",{variants:{labelLocation:{top:["flex-col","items-stretch","gap-3"],left:["flex-row","items-center","gap-3","grid-cols-[1fr_2fr]"],right:["flex-row","items-center","gap-3","grid-cols-[2fr_1fr]"],hidden:["gap-0"]}}}),d=i=>{const{id:s,label:a,description:r,labelLocation:e="top",children:o,className:c,...p}=i,t=()=>a||r?l.jsxs("div",{className:"flex flex-col gap-0.5",children:[a&&l.jsx(n,{variant:"small",color:"primary",hidden:e==="hidden",children:a}),r&&l.jsx(n,{variant:"small",color:"muted",hidden:e==="hidden",children:r})]}):null;return l.jsxs("label",{className:u(f({labelLocation:e}),c),htmlFor:s,...p,children:[["left","top","hidden"].includes(e)&&t(),o,e==="right"&&t()]})};try{d.displayName="Field",d.__docgenInfo={description:"",displayName:"Field",props:{id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"boolean"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:'"hidden" | "top" | "left" | "right" | null'}}}}}catch{}export{d as F}; diff --git a/assets/FileInput-oBomNnLv.js b/assets/FileInput-DuLFNLxK.js similarity index 89% rename from assets/FileInput-oBomNnLv.js rename to assets/FileInput-DuLFNLxK.js index 624095a82..130bebcd7 100644 --- a/assets/FileInput-oBomNnLv.js +++ b/assets/FileInput-DuLFNLxK.js @@ -1 +1 @@ -import{j as e}from"./jsx-runtime-z8MfsBtr.js";import{r as c}from"./index-D1TSixAU.js";import{F as R}from"./Field-Dz_fFMgk.js";import{I as q}from"./IconButton-M16ADBdN.js";import{T as u,t as V}from"./Text-DiY0ipGE.js";import{d as z}from"./WarningIcon-C-Bue-nz.js";import{c as C}from"./classnames-Dx2cly0x.js";const T=(...r)=>l=>r.forEach(i=>{i&&(typeof i=="function"?i(l):i.current=l)}),D={png:".png,image/png",jpeg:".jpeg,image/jpeg",jpg:".jpg,image/jpg",images:"image/*, video/*",pdf:".pdf,application/pdf",mp4:".mp4,video/mp4",csv:".csv,text/csv",json:".json,application/json",gif:".gif,image/gif"},j=c.forwardRef((r,l)=>{const{description:i,disabled:m=!1,id:f,label:h="",labelLocation:b="hidden",name:o,onValueChange:t,placeholder:v="Upload a file",validExtensions:y,className:w,...N}=r,d=c.useRef(null),F=T(d,l),[n,g]=c.useState(null),_=a=>{const s=a.currentTarget.files;if(!s||!s[0])return;const p=s[0],x=p.name,I=p.size/1e3;g({name:x,size:I,extension:x.split(".").pop()??""}),t==null||t(p)},E=y.map(a=>D[a]).join(",");return e.jsx(R,{description:i,disabled:m,id:f??o,label:h,labelLocation:b,className:"grid",children:e.jsx("div",{className:"w-full min-w-0",children:e.jsxs("div",{className:C(V({variant:"normal"}),"inline-flex items-center flex-row justify-start min-w-full p-4 relative h-[52px]","border border-dashed border-border-normal rounded-xl","[&:has(:disabled)]:cursor-default [&:has(:disabled)]:opacity-50","focus-within:opacity-100 focus-within:ring-2 focus-within:ring-border-focus focus-within:ring-inset focus-within:border-transparent",n?"justify-between":"justify-start",n?"text-primary":"text-muted",w),children:[n?e.jsxs("div",{className:"flex flex-row gap-2 items-center min-w-0",children:[e.jsx(u,{ellipsis:!0,children:n.name}),e.jsxs(u,{color:"muted",variant:"xsmall",nowrap:!0,children:[n.size.toFixed(2)," kb"]})]}):e.jsx(u,{ellipsis:!0,children:v}),e.jsx("input",{accept:E,className:"absolute inset-0 opacity-0 cursor-pointer focus:outline-hidden",disabled:m,id:f??o,name:o,onChange:_,ref:F,type:"file",...N}),n&&e.jsx(q,{className:"cursor-pointer z-10",icon:z,size:"xs",onClick:a=>{var s;a.preventDefault(),a.stopPropagation(),(s=d.current)!=null&&s.value&&(d.current.value=""),t==null||t(null),g(null)}})]})})})});try{j.displayName="FileInput",j.__docgenInfo={description:"",displayName:"FileInput",props:{name:{defaultValue:null,description:"",name:"name",required:!0,type:{name:"string"}},validExtensions:{defaultValue:null,description:"",name:"validExtensions",required:!0,type:{name:'("png" | "jpeg" | "jpg" | "images" | "pdf" | "mp4" | "csv" | "json" | "gif")[]'}},onValueChange:{defaultValue:null,description:"",name:"onValueChange",required:!1,type:{name:"((value: File | null) => void)"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:'"hidden" | "top" | "left" | "right" | null'}}}}}catch{}export{j as F}; +import{j as e}from"./jsx-runtime-Cf8x2fCZ.js";import{r as c}from"./index-DubqEmGm.js";import{F as R}from"./Field-BUPg2hwy.js";import{I as q}from"./IconButton-tt72d-YU.js";import{T as u,t as V}from"./Text-c-Dt_3pd.js";import{d as z}from"./WarningIcon-Z1cZGh4-.js";import{c as C}from"./classnames-Dx2cly0x.js";const T=(...r)=>l=>r.forEach(i=>{i&&(typeof i=="function"?i(l):i.current=l)}),D={png:".png,image/png",jpeg:".jpeg,image/jpeg",jpg:".jpg,image/jpg",images:"image/*, video/*",pdf:".pdf,application/pdf",mp4:".mp4,video/mp4",csv:".csv,text/csv",json:".json,application/json",gif:".gif,image/gif"},j=c.forwardRef((r,l)=>{const{description:i,disabled:m=!1,id:f,label:h="",labelLocation:b="hidden",name:o,onValueChange:t,placeholder:v="Upload a file",validExtensions:y,className:w,...N}=r,d=c.useRef(null),F=T(d,l),[n,g]=c.useState(null),_=a=>{const s=a.currentTarget.files;if(!s||!s[0])return;const p=s[0],x=p.name,I=p.size/1e3;g({name:x,size:I,extension:x.split(".").pop()??""}),t==null||t(p)},E=y.map(a=>D[a]).join(",");return e.jsx(R,{description:i,disabled:m,id:f??o,label:h,labelLocation:b,className:"grid",children:e.jsx("div",{className:"w-full min-w-0",children:e.jsxs("div",{className:C(V({variant:"normal"}),"inline-flex items-center flex-row justify-start min-w-full p-4 relative h-[52px]","border border-dashed border-border-normal rounded-xl","[&:has(:disabled)]:cursor-default [&:has(:disabled)]:opacity-50","focus-within:opacity-100 focus-within:ring-2 focus-within:ring-border-focus focus-within:ring-inset focus-within:border-transparent",n?"justify-between":"justify-start",n?"text-primary":"text-muted",w),children:[n?e.jsxs("div",{className:"flex flex-row gap-2 items-center min-w-0",children:[e.jsx(u,{ellipsis:!0,children:n.name}),e.jsxs(u,{color:"muted",variant:"xsmall",nowrap:!0,children:[n.size.toFixed(2)," kb"]})]}):e.jsx(u,{ellipsis:!0,children:v}),e.jsx("input",{accept:E,className:"absolute inset-0 opacity-0 cursor-pointer focus:outline-hidden",disabled:m,id:f??o,name:o,onChange:_,ref:F,type:"file",...N}),n&&e.jsx(q,{className:"cursor-pointer z-10",icon:z,size:"xs",onClick:a=>{var s;a.preventDefault(),a.stopPropagation(),(s=d.current)!=null&&s.value&&(d.current.value=""),t==null||t(null),g(null)}})]})})})});try{j.displayName="FileInput",j.__docgenInfo={description:"",displayName:"FileInput",props:{name:{defaultValue:null,description:"",name:"name",required:!0,type:{name:"string"}},validExtensions:{defaultValue:null,description:"",name:"validExtensions",required:!0,type:{name:'("png" | "jpeg" | "jpg" | "images" | "pdf" | "mp4" | "csv" | "json" | "gif")[]'}},onValueChange:{defaultValue:null,description:"",name:"onValueChange",required:!1,type:{name:"((value: File | null) => void)"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:'"hidden" | "top" | "left" | "right" | null'}}}}}catch{}export{j as F}; diff --git a/assets/FileInput.stories-Cv7WunCO.js b/assets/FileInput.stories-KM4XbV5y.js similarity index 55% rename from assets/FileInput.stories-Cv7WunCO.js rename to assets/FileInput.stories-KM4XbV5y.js index 6655ad4f2..10b6cdd78 100644 --- a/assets/FileInput.stories-Cv7WunCO.js +++ b/assets/FileInput.stories-KM4XbV5y.js @@ -1,4 +1,4 @@ -import{F as r}from"./FileInput-oBomNnLv.js";import"./jsx-runtime-z8MfsBtr.js";import"./index-C9rmetsa.js";import"./index-D1TSixAU.js";import"./Field-Dz_fFMgk.js";import"./index-DKHC-OhD.js";import"./clsx-B-dksMZM.js";import"./Text-DiY0ipGE.js";import"./index-DEvaI7vP.js";import"./classnames-Dx2cly0x.js";import"./IconButton-M16ADBdN.js";import"./Button-e99vAgb9.js";import"./WarningIcon-C-Bue-nz.js";const x={title:"Forms/FileInput",component:r},o={args:{name:"myFileInput",label:"File input",labelLocation:"top",validExtensions:["images"],onValueChange:n=>console.log(n)}};var e,t,i;o.parameters={...o.parameters,docs:{...(e=o.parameters)==null?void 0:e.docs,source:{originalSource:`{ +import{F as r}from"./FileInput-DuLFNLxK.js";import"./jsx-runtime-Cf8x2fCZ.js";import"./index-yBjzXJbu.js";import"./index-DubqEmGm.js";import"./Field-BUPg2hwy.js";import"./index-Dp3B9jqt.js";import"./clsx-B-dksMZM.js";import"./Text-c-Dt_3pd.js";import"./index-BkTKsPvT.js";import"./classnames-Dx2cly0x.js";import"./IconButton-tt72d-YU.js";import"./Button-CJ_2iam3.js";import"./WarningIcon-Z1cZGh4-.js";const x={title:"Forms/FileInput",component:r},o={args:{name:"myFileInput",label:"File input",labelLocation:"top",validExtensions:["images"],onValueChange:n=>console.log(n)}};var e,t,i;o.parameters={...o.parameters,docs:{...(e=o.parameters)==null?void 0:e.docs,source:{originalSource:`{ args: { name: 'myFileInput', label: 'File input', diff --git a/assets/Form.stories-B92uvuzD.js b/assets/Form.stories-4aM0i1ze.js similarity index 86% rename from assets/Form.stories-B92uvuzD.js rename to assets/Form.stories-4aM0i1ze.js index 93214680a..ad0039e96 100644 --- a/assets/Form.stories-B92uvuzD.js +++ b/assets/Form.stories-4aM0i1ze.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-z8MfsBtr.js";import{B as _}from"./Button-e99vAgb9.js";import{C as F}from"./Checkbox-e7ATDock.js";import{C as d,u as I,a as C}from"./ControlledTextInput-DjDjk1YM.js";import{F as L}from"./FileInput-oBomNnLv.js";import{R as k}from"./RadioGroup-DXxc1nEu.js";import{S as R}from"./Select-Cu4ORgJB.js";import{S as T}from"./Switch-DB8XdH2V.js";import{T as p}from"./Text-DiY0ipGE.js";import"./TextInput-yPmOWNKY.js";import{T as S}from"./TextArea-eR4gtFpK.js";import"./index-C9rmetsa.js";import"./index-DEvaI7vP.js";import"./index-D1TSixAU.js";import"./index-DKHC-OhD.js";import"./clsx-B-dksMZM.js";import"./classnames-Dx2cly0x.js";import"./index-CuZtKiOG.js";import"./index-Dcf1nc42.js";import"./index-D2m0ySOf.js";import"./index-BWtkTp-R.js";import"./index-CpZK5cx3.js";import"./index-CdSWItFS.js";import"./index-DogTl_U1.js";import"./Field-Dz_fFMgk.js";import"./WarningIcon-C-Bue-nz.js";import"./IconButton-M16ADBdN.js";import"./index-BefANkT7.js";import"./index-BFS5t9Ij.js";import"./index-VR-_z_Zs.js";import"./index-Bac_1hpE.js";import"./index-DCVWRiMv.js";import"./Combination-DfJfzaFg.js";import"./index-4RitGr_c.js";import"./index--wnn4zir.js";import"./ThemeProvider-CHaDE3bZ.js";import"./color-CiP8tUik.js";const g=({control:l,defaultChecked:r,onCheckedChange:a,name:n,rules:t,...o})=>e.jsx(d,{defaultValue:r,name:n,control:l,rules:t,render:({field:{ref:i,...u}})=>e.jsx(F,{onCheckedChange:a,defaultChecked:r,...u,...o})});try{g.displayName="ControlledCheckbox",g.__docgenInfo={description:"",displayName:"ControlledCheckbox",props:{id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"boolean"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:'"hidden" | "top" | "left" | "right" | null'}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"sm" | "lg" | null'}},asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}},control:{defaultValue:null,description:"",name:"control",required:!0,type:{name:"Control"}},rules:{defaultValue:null,description:"",name:"rules",required:!1,type:{name:"{}"}}}}}catch{}const b=({defaultValue:l,name:r,control:a,rules:n,...t})=>e.jsx(d,{defaultValue:l,name:r,control:a,rules:n,render:({field:{value:o,onChange:i,...u}})=>e.jsx(L,{...u,...t})});try{b.displayName="ControlledFileInput",b.__docgenInfo={description:"",displayName:"ControlledFileInput",props:{control:{defaultValue:null,description:"",name:"control",required:!0,type:{name:"Control"}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"string"}},name:{defaultValue:null,description:"",name:"name",required:!0,type:{name:"string"}},rules:{defaultValue:null,description:"",name:"rules",required:!1,type:{name:"{}"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:'"hidden" | "top" | "left" | "right" | null'}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},onValueChange:{defaultValue:null,description:"",name:"onValueChange",required:!1,type:{name:"((value: File | null) => void)"}},validExtensions:{defaultValue:null,description:"",name:"validExtensions",required:!0,type:{name:'("png" | "jpeg" | "jpg" | "images" | "pdf" | "mp4" | "csv" | "json" | "gif")[]'}}}}}catch{}const y=({control:l,defaultValue:r,name:a,onValueChange:n,rules:t,...o})=>e.jsx(d,{defaultValue:r,name:a,control:l,rules:t,render:({field:i})=>e.jsx(k,{onValueChange:n,defaultValue:r,...i,...o})});try{y.displayName="ControlledRadioGroup",y.__docgenInfo={description:"",displayName:"ControlledRadioGroup",props:{size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"sm" | "lg" | null'}},asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}},options:{defaultValue:null,description:"",name:"options",required:!0,type:{name:"RadioOption[]"}},control:{defaultValue:null,description:"",name:"control",required:!0,type:{name:"Control"}},rules:{defaultValue:null,description:"",name:"rules",required:!1,type:{name:"{}"}}}}}catch{}const h=({control:l,defaultValue:r,name:a,onValueChange:n,rules:t,...o})=>e.jsx(d,{defaultValue:r,name:a,control:l,rules:t,render:({field:i})=>e.jsx(R,{onValueChange:n,defaultValue:r,...i,...o})});try{h.displayName="ControlledSelect",h.__docgenInfo={description:"",displayName:"ControlledSelect",props:{id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"boolean"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:'"hidden" | "top" | "left" | "right" | null'}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!1,type:{name:"string"}},options:{defaultValue:null,description:"",name:"options",required:!0,type:{name:"SelectOption[]"}},control:{defaultValue:null,description:"",name:"control",required:!0,type:{name:"Control"}},rules:{defaultValue:null,description:"",name:"rules",required:!1,type:{name:"{}"}}}}}catch{}const x=({control:l,defaultChecked:r,onCheckedChange:a,name:n,rules:t,...o})=>e.jsx(d,{defaultValue:r,name:n,control:l,rules:t,render:({field:{ref:i,...u}})=>e.jsx(T,{onCheckedChange:a,defaultChecked:r,...u,...o})});try{x.displayName="ControlledSwitch",x.__docgenInfo={description:"",displayName:"ControlledSwitch",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}},control:{defaultValue:null,description:"",name:"control",required:!0,type:{name:"Control"}},rules:{defaultValue:null,description:"",name:"rules",required:!1,type:{name:"{}"}}}}}catch{}const N=({defaultValue:l,name:r,control:a,rules:n,...t})=>e.jsx(d,{defaultValue:l,name:r,control:a,rules:n,render:({field:o})=>e.jsx(S,{...o,...t})});try{N.displayName="ControlledTextArea",N.__docgenInfo={description:"",displayName:"ControlledTextArea",props:{name:{defaultValue:null,description:"",name:"name",required:!0,type:{name:"string"}},controls:{defaultValue:null,description:"",name:"controls",required:!1,type:{name:"ReactNode"}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"string"}},rows:{defaultValue:null,description:"",name:"rows",required:!1,type:{name:"number"}},resize:{defaultValue:null,description:"",name:"resize",required:!1,type:{name:"boolean"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:'"hidden" | "top" | "left" | "right" | null'}},control:{defaultValue:null,description:"",name:"control",required:!0,type:{name:"Control"}},rules:{defaultValue:null,description:"",name:"rules",required:!1,type:{name:"{}"}}}}}catch{}const f=({children:l,defaultValues:r={},onSubmit:a})=>{const n=I({defaultValues:r});return e.jsx("form",{onSubmit:n.handleSubmit(a),children:l(n)})};try{f.displayName="Form",f.__docgenInfo={description:"",displayName:"Form",props:{onSubmit:{defaultValue:null,description:"",name:"onSubmit",required:!0,type:{name:"SubmitHandler"}},defaultValues:{defaultValue:{value:"{}"},description:"",name:"defaultValues",required:!1,type:{name:"FieldValues"}}}}}catch{}const he={title:"Forms/Form",component:f},m=[{label:"Option 1",value:"option-1"},{label:"Option 2",value:"option-2"},{label:"Option 3",value:"option-3"}],c={render:({onSubmit:l,...r})=>e.jsx("div",{className:"bg-background-secondary rounded-xl flex flex-col gap-4 p-4",children:e.jsx(f,{defaultValues:{firstName:""},onSubmit:l,...r,children:({control:a,reset:n,formState:{errors:t},setValue:o})=>{var i,u,V,q;return e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx(C,{control:a,label:"First Name",labelLocation:"top",name:"firstName",placeholder:"Enter first name",rules:{required:"First name is required"}}),((i=t.firstName)==null?void 0:i.message)&&e.jsx(p,{color:"negative",children:t.firstName.message}),e.jsx(C,{control:a,defaultValue:"",label:"Last Name",labelLocation:"top",name:"lastName",placeholder:"Enter last name",rules:{required:"Last name is required"}}),((u=t.lastName)==null?void 0:u.message)&&e.jsx(p,{color:"negative",children:t.lastName.message}),e.jsx(b,{defaultValue:"",control:a,label:"File Input",labelLocation:"top",name:"fileInput",onValueChange:s=>o("fileInput",s),rules:{required:"A file is required"},validExtensions:["images"]}),((V=t.fileInput)==null?void 0:V.message)&&e.jsx(p,{color:"negative",children:t.fileInput.message}),e.jsx(S,{defaultValue:"",label:"Message",labelLocation:"top",name:"message",placeholder:"Enter a message"}),e.jsx(h,{control:a,defaultValue:m[0].value,label:"Select Option",labelLocation:"top",name:"selectOption",onValueChange:s=>o("selectOption",s),options:m,placeholder:"Select an option",rules:{required:"A selection is required"}}),((q=t.selectOption)==null?void 0:q.message)&&e.jsx(p,{color:"negative",children:t.selectOption.message}),e.jsx(x,{control:a,name:"switchOption",onCheckedChange:s=>o("switchOption",s),defaultChecked:!1}),e.jsx(g,{control:a,label:"Checkbox Option",labelLocation:"right",name:"checkboxOption",onCheckedChange:s=>o("checkboxOption",s),defaultChecked:!1}),e.jsx(y,{control:a,defaultValue:m[0].value,onValueChange:s=>o("radioOption",s),options:m,name:"radioOption",className:"flex-row gap-4"}),e.jsxs("div",{className:"flex flex-row-reverse gap-2",children:[e.jsx(_,{type:"submit",label:"Submit",variant:"primary"}),e.jsx(_,{type:"reset",label:"Reset",onClick:()=>n()})]})]})}})}),args:{onSubmit:l=>console.log(l)}};var v,j,O;c.parameters={...c.parameters,docs:{...(v=c.parameters)==null?void 0:v.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-Cf8x2fCZ.js";import{B as _}from"./Button-CJ_2iam3.js";import{C as F}from"./Checkbox-CmCsx5-l.js";import{C as d,u as I,a as C}from"./ControlledTextInput-Rh4_ZXKu.js";import{F as L}from"./FileInput-DuLFNLxK.js";import{R as k}from"./RadioGroup-Cax5XL0Y.js";import{S as R}from"./Select-DxvlIVLn.js";import{S as T}from"./Switch-BPf1v6yw.js";import{T as p}from"./Text-c-Dt_3pd.js";import"./TextInput-DuktM35c.js";import{T as S}from"./TextArea-BpNyW7g9.js";import"./index-yBjzXJbu.js";import"./index-BkTKsPvT.js";import"./index-DubqEmGm.js";import"./index-Dp3B9jqt.js";import"./clsx-B-dksMZM.js";import"./classnames-Dx2cly0x.js";import"./index-EKtyzmkF.js";import"./index-e5epXPAg.js";import"./index-fNjTmf9T.js";import"./index-DKEAZgBW.js";import"./index-CfbYICbs.js";import"./index-JD-fg0In.js";import"./index-SbpNQzLY.js";import"./Field-BUPg2hwy.js";import"./WarningIcon-Z1cZGh4-.js";import"./IconButton-tt72d-YU.js";import"./index-h6D3frV-.js";import"./index-BKFtrmjf.js";import"./index-Cbw-VAaK.js";import"./index-BPXglf9v.js";import"./index-DC1_uW73.js";import"./Combination-B30zI8Yx.js";import"./index-Cbr3GIiu.js";import"./index-uUNwjQTH.js";import"./ThemeProvider-BFEsm4Z9.js";import"./color-CiP8tUik.js";const g=({control:l,defaultChecked:r,onCheckedChange:a,name:n,rules:t,...o})=>e.jsx(d,{defaultValue:r,name:n,control:l,rules:t,render:({field:{ref:i,...u}})=>e.jsx(F,{onCheckedChange:a,defaultChecked:r,...u,...o})});try{g.displayName="ControlledCheckbox",g.__docgenInfo={description:"",displayName:"ControlledCheckbox",props:{id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"boolean"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:'"hidden" | "top" | "left" | "right" | null'}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"sm" | "lg" | null'}},asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}},control:{defaultValue:null,description:"",name:"control",required:!0,type:{name:"Control"}},rules:{defaultValue:null,description:"",name:"rules",required:!1,type:{name:"{}"}}}}}catch{}const b=({defaultValue:l,name:r,control:a,rules:n,...t})=>e.jsx(d,{defaultValue:l,name:r,control:a,rules:n,render:({field:{value:o,onChange:i,...u}})=>e.jsx(L,{...u,...t})});try{b.displayName="ControlledFileInput",b.__docgenInfo={description:"",displayName:"ControlledFileInput",props:{control:{defaultValue:null,description:"",name:"control",required:!0,type:{name:"Control"}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"string"}},name:{defaultValue:null,description:"",name:"name",required:!0,type:{name:"string"}},rules:{defaultValue:null,description:"",name:"rules",required:!1,type:{name:"{}"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:'"hidden" | "top" | "left" | "right" | null'}},validExtensions:{defaultValue:null,description:"",name:"validExtensions",required:!0,type:{name:'("png" | "jpeg" | "jpg" | "images" | "pdf" | "mp4" | "csv" | "json" | "gif")[]'}},onValueChange:{defaultValue:null,description:"",name:"onValueChange",required:!1,type:{name:"((value: File | null) => void)"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}}}}}catch{}const y=({control:l,defaultValue:r,name:a,onValueChange:n,rules:t,...o})=>e.jsx(d,{defaultValue:r,name:a,control:l,rules:t,render:({field:i})=>e.jsx(k,{onValueChange:n,defaultValue:r,...i,...o})});try{y.displayName="ControlledRadioGroup",y.__docgenInfo={description:"",displayName:"ControlledRadioGroup",props:{size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"sm" | "lg" | null'}},asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}},options:{defaultValue:null,description:"",name:"options",required:!0,type:{name:"RadioOption[]"}},control:{defaultValue:null,description:"",name:"control",required:!0,type:{name:"Control"}},rules:{defaultValue:null,description:"",name:"rules",required:!1,type:{name:"{}"}}}}}catch{}const h=({control:l,defaultValue:r,name:a,onValueChange:n,rules:t,...o})=>e.jsx(d,{defaultValue:r,name:a,control:l,rules:t,render:({field:i})=>e.jsx(R,{onValueChange:n,defaultValue:r,...i,...o})});try{h.displayName="ControlledSelect",h.__docgenInfo={description:"",displayName:"ControlledSelect",props:{id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"boolean"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:'"hidden" | "top" | "left" | "right" | null'}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!1,type:{name:"string"}},options:{defaultValue:null,description:"",name:"options",required:!0,type:{name:"SelectOption[]"}},control:{defaultValue:null,description:"",name:"control",required:!0,type:{name:"Control"}},rules:{defaultValue:null,description:"",name:"rules",required:!1,type:{name:"{}"}}}}}catch{}const x=({control:l,defaultChecked:r,onCheckedChange:a,name:n,rules:t,...o})=>e.jsx(d,{defaultValue:r,name:n,control:l,rules:t,render:({field:{ref:i,...u}})=>e.jsx(T,{onCheckedChange:a,defaultChecked:r,...u,...o})});try{x.displayName="ControlledSwitch",x.__docgenInfo={description:"",displayName:"ControlledSwitch",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}},control:{defaultValue:null,description:"",name:"control",required:!0,type:{name:"Control"}},rules:{defaultValue:null,description:"",name:"rules",required:!1,type:{name:"{}"}}}}}catch{}const N=({defaultValue:l,name:r,control:a,rules:n,...t})=>e.jsx(d,{defaultValue:l,name:r,control:a,rules:n,render:({field:o})=>e.jsx(S,{...o,...t})});try{N.displayName="ControlledTextArea",N.__docgenInfo={description:"",displayName:"ControlledTextArea",props:{name:{defaultValue:null,description:"",name:"name",required:!0,type:{name:"string"}},controls:{defaultValue:null,description:"",name:"controls",required:!1,type:{name:"ReactNode"}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"string"}},rows:{defaultValue:null,description:"",name:"rows",required:!1,type:{name:"number"}},resize:{defaultValue:null,description:"",name:"resize",required:!1,type:{name:"boolean"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:'"hidden" | "top" | "left" | "right" | null'}},control:{defaultValue:null,description:"",name:"control",required:!0,type:{name:"Control"}},rules:{defaultValue:null,description:"",name:"rules",required:!1,type:{name:"{}"}}}}}catch{}const f=({children:l,defaultValues:r={},onSubmit:a})=>{const n=I({defaultValues:r});return e.jsx("form",{onSubmit:n.handleSubmit(a),children:l(n)})};try{f.displayName="Form",f.__docgenInfo={description:"",displayName:"Form",props:{onSubmit:{defaultValue:null,description:"",name:"onSubmit",required:!0,type:{name:"SubmitHandler"}},defaultValues:{defaultValue:{value:"{}"},description:"",name:"defaultValues",required:!1,type:{name:"FieldValues"}}}}}catch{}const he={title:"Forms/Form",component:f},m=[{label:"Option 1",value:"option-1"},{label:"Option 2",value:"option-2"},{label:"Option 3",value:"option-3"}],c={render:({onSubmit:l,...r})=>e.jsx("div",{className:"bg-background-secondary rounded-xl flex flex-col gap-4 p-4",children:e.jsx(f,{defaultValues:{firstName:""},onSubmit:l,...r,children:({control:a,reset:n,formState:{errors:t},setValue:o})=>{var i,u,V,q;return e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx(C,{control:a,label:"First Name",labelLocation:"top",name:"firstName",placeholder:"Enter first name",rules:{required:"First name is required"}}),((i=t.firstName)==null?void 0:i.message)&&e.jsx(p,{color:"negative",children:t.firstName.message}),e.jsx(C,{control:a,defaultValue:"",label:"Last Name",labelLocation:"top",name:"lastName",placeholder:"Enter last name",rules:{required:"Last name is required"}}),((u=t.lastName)==null?void 0:u.message)&&e.jsx(p,{color:"negative",children:t.lastName.message}),e.jsx(b,{defaultValue:"",control:a,label:"File Input",labelLocation:"top",name:"fileInput",onValueChange:s=>o("fileInput",s),rules:{required:"A file is required"},validExtensions:["images"]}),((V=t.fileInput)==null?void 0:V.message)&&e.jsx(p,{color:"negative",children:t.fileInput.message}),e.jsx(S,{defaultValue:"",label:"Message",labelLocation:"top",name:"message",placeholder:"Enter a message"}),e.jsx(h,{control:a,defaultValue:m[0].value,label:"Select Option",labelLocation:"top",name:"selectOption",onValueChange:s=>o("selectOption",s),options:m,placeholder:"Select an option",rules:{required:"A selection is required"}}),((q=t.selectOption)==null?void 0:q.message)&&e.jsx(p,{color:"negative",children:t.selectOption.message}),e.jsx(x,{control:a,name:"switchOption",onCheckedChange:s=>o("switchOption",s),defaultChecked:!1}),e.jsx(g,{control:a,label:"Checkbox Option",labelLocation:"right",name:"checkboxOption",onCheckedChange:s=>o("checkboxOption",s),defaultChecked:!1}),e.jsx(y,{control:a,defaultValue:m[0].value,onValueChange:s=>o("radioOption",s),options:m,name:"radioOption",className:"flex-row gap-4"}),e.jsxs("div",{className:"flex flex-row-reverse gap-2",children:[e.jsx(_,{type:"submit",label:"Submit",variant:"primary"}),e.jsx(_,{type:"reset",label:"Reset",onClick:()=>n()})]})]})}})}),args:{onSubmit:l=>console.log(l)}};var v,j,O;c.parameters={...c.parameters,docs:{...(v=c.parameters)==null?void 0:v.docs,source:{originalSource:`{ render: ({ onSubmit, ...args diff --git a/assets/GradientAvatar.stories-DDVuN9rj.js b/assets/GradientAvatar.stories-CFRNfq8H.js similarity index 99% rename from assets/GradientAvatar.stories-DDVuN9rj.js rename to assets/GradientAvatar.stories-CFRNfq8H.js index 60a2fddaf..0e763c951 100644 --- a/assets/GradientAvatar.stories-DDVuN9rj.js +++ b/assets/GradientAvatar.stories-CFRNfq8H.js @@ -1,4 +1,4 @@ -import{j as L}from"./jsx-runtime-z8MfsBtr.js";import{T as an}from"./Text-DiY0ipGE.js";import{c as fn}from"./index-DKHC-OhD.js";import{r as qe}from"./index-D1TSixAU.js";import{c as un}from"./classnames-Dx2cly0x.js";import"./index-C9rmetsa.js";import"./index-DEvaI7vP.js";import"./clsx-B-dksMZM.js";const ln="0.1.1";function dn(){return ln}class _ extends Error{constructor(t,r={}){const n=(()=>{var a;if(r.cause instanceof _){if(r.cause.details)return r.cause.details;if(r.cause.shortMessage)return r.cause.shortMessage}return(a=r.cause)!=null&&a.message?r.cause.message:r.details})(),i=r.cause instanceof _&&r.cause.docsPath||r.docsPath,o=`https://oxlib.sh${i??""}`,c=[t||"An error occurred.",...r.metaMessages?["",...r.metaMessages]:[],...n||i?["",n?`Details: ${n}`:void 0,i?`See: ${o}`:void 0]:[]].filter(a=>typeof a=="string").join(` +import{j as L}from"./jsx-runtime-Cf8x2fCZ.js";import{T as an}from"./Text-c-Dt_3pd.js";import{c as fn}from"./index-Dp3B9jqt.js";import{r as qe}from"./index-DubqEmGm.js";import{c as un}from"./classnames-Dx2cly0x.js";import"./index-yBjzXJbu.js";import"./index-BkTKsPvT.js";import"./clsx-B-dksMZM.js";const ln="0.1.1";function dn(){return ln}class _ extends Error{constructor(t,r={}){const n=(()=>{var a;if(r.cause instanceof _){if(r.cause.details)return r.cause.details;if(r.cause.shortMessage)return r.cause.shortMessage}return(a=r.cause)!=null&&a.message?r.cause.message:r.details})(),i=r.cause instanceof _&&r.cause.docsPath||r.docsPath,o=`https://oxlib.sh${i??""}`,c=[t||"An error occurred.",...r.metaMessages?["",...r.metaMessages]:[],...n||i?["",n?`Details: ${n}`:void 0,i?`See: ${o}`:void 0]:[]].filter(a=>typeof a=="string").join(` `);super(c,r.cause?{cause:r.cause}:void 0),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docs",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseError"}),Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:`ox@${dn()}`}),this.cause=r.cause,this.details=n,this.docs=o,this.docsPath=i,this.shortMessage=t}walk(t){return yr(this,t)}}function yr(e,t){return t!=null&&t(e)?e:e&&typeof e=="object"&&"cause"in e&&e.cause?yr(e.cause,t):t?null:e}function be(e){if(!Number.isSafeInteger(e)||e<0)throw new Error("positive integer expected, got "+e)}function hn(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function G(e,...t){if(!hn(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error("Uint8Array expected of length "+t+", got length="+e.length)}function mr(e){if(typeof e!="function"||typeof e.create!="function")throw new Error("Hash should be wrapped by utils.wrapConstructor");be(e.outputLen),be(e.blockLen)}function He(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function Er(e,t){G(e);const r=t.outputLen;if(e.length>>t}function Ve(e,t){return e<>>32-t>>>0}const qt=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function bn(e){return e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255}function Vt(e){for(let t=0;tt.toString(16).padStart(2,"0"));function wn(e){G(e);let t="";for(let r=0;r=ee._0&&e<=ee._9)return e-ee._0;if(e>=ee.A&&e<=ee.F)return e-(ee.A-10);if(e>=ee.a&&e<=ee.f)return e-(ee.a-10)}function xn(e){if(typeof e!="string")throw new Error("hex string expected, got "+typeof e);const t=e.length,r=t/2;if(t%2)throw new Error("hex string expected, got unpadded hex of length "+t);const n=new Uint8Array(r);for(let i=0,s=0;ie().update(Ce(n)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}function mn(e=32){if(Se&&typeof Se.getRandomValues=="function")return Se.getRandomValues(new Uint8Array(e));if(Se&&typeof Se.randomBytes=="function")return Se.randomBytes(e);throw new Error("crypto.getRandomValues must be defined")}function En(e,t,r,n){if(typeof e.setBigUint64=="function")return e.setBigUint64(t,r,n);const i=BigInt(32),s=BigInt(4294967295),o=Number(r>>i&s),c=Number(r&s),a=n?4:0,f=n?0:4;e.setUint32(t+a,o,n),e.setUint32(t+f,c,n)}function Bn(e,t,r){return e&t^~e&r}function vn(e,t,r){return e&t^e&r^t&r}class kt extends Ut{constructor(t,r,n,i){super(),this.blockLen=t,this.outputLen=r,this.padOffset=n,this.isLE=i,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(t),this.view=ge(this.buffer)}update(t){He(this);const{view:r,buffer:n,blockLen:i}=this;t=Ce(t);const s=t.length;for(let o=0;oi-o&&(this.process(n,0),o=0);for(let d=o;dh.length)throw new Error("_sha2: outputLen bigger than state");for(let d=0;dt)),Sn=vr.map(e=>(9*e+5)%16);let Lt=[vr],Nt=[Sn];for(let e=0;e<4;e++)for(let t of[Lt,Nt])t.push(t[e].map(r=>An[r]));const Ar=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map(e=>new Uint8Array(e)),In=Lt.map((e,t)=>e.map(r=>Ar[t][r])),$n=Nt.map((e,t)=>e.map(r=>Ar[t][r])),On=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),Hn=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]);function Gt(e,t,r,n){return e===0?t^r^n:e===1?t&r|~t&n:e===2?(t|~r)^n:e===3?t&n|r&~n:t^(r|~n)}const De=new Uint32Array(16);class Cn extends kt{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:t,h1:r,h2:n,h3:i,h4:s}=this;return[t,r,n,i,s]}set(t,r,n,i,s){this.h0=t|0,this.h1=r|0,this.h2=n|0,this.h3=i|0,this.h4=s|0}process(t,r){for(let p=0;p<16;p++,r+=4)De[p]=t.getUint32(r,!0);let n=this.h0|0,i=n,s=this.h1|0,o=s,c=this.h2|0,a=c,f=this.h3|0,h=f,d=this.h4|0,l=d;for(let p=0;p<5;p++){const m=4-p,g=On[p],u=Hn[p],b=Lt[p],B=Nt[p],w=In[p],$=$n[p];for(let A=0;A<16;A++){const O=Ve(n+Gt(p,s,c,f)+De[b[A]]+g,w[A])+d|0;n=d,d=f,f=Ve(c,10)|0,c=s,s=O}for(let A=0;A<16;A++){const O=Ve(i+Gt(m,o,a,h)+De[B[A]]+u,$[A])+l|0;i=l,l=h,h=Ve(a,10)|0,a=o,o=O}}this.set(this.h1+c+h|0,this.h2+f+l|0,this.h3+d+i|0,this.h4+n+o|0,this.h0+s+a|0)}roundClean(){De.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}}const Un=tt(()=>new Cn),Ge=BigInt(2**32-1),mt=BigInt(32);function Sr(e,t=!1){return t?{h:Number(e&Ge),l:Number(e>>mt&Ge)}:{h:Number(e>>mt&Ge)|0,l:Number(e&Ge)|0}}function Ir(e,t=!1){let r=new Uint32Array(e.length),n=new Uint32Array(e.length);for(let i=0;iBigInt(e>>>0)<>>0),Ln=(e,t,r)=>e>>>r,Nn=(e,t,r)=>e<<32-r|t>>>r,zn=(e,t,r)=>e>>>r|t<<32-r,jn=(e,t,r)=>e<<32-r|t>>>r,_n=(e,t,r)=>e<<64-r|t>>>r-32,Pn=(e,t,r)=>e>>>r-32|t<<64-r,Kn=(e,t)=>t,Tn=(e,t)=>e,$r=(e,t,r)=>e<>>32-r,Or=(e,t,r)=>t<>>32-r,Hr=(e,t,r)=>t<>>64-r,Cr=(e,t,r)=>e<>>64-r;function Fn(e,t,r,n){const i=(t>>>0)+(n>>>0);return{h:e+r+(i/2**32|0)|0,l:i|0}}const Rn=(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0),Mn=(e,t,r,n)=>t+r+n+(e/2**32|0)|0,qn=(e,t,r,n)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0),Vn=(e,t,r,n,i)=>t+r+n+i+(e/2**32|0)|0,Dn=(e,t,r,n,i)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0)+(i>>>0),Gn=(e,t,r,n,i,s)=>t+r+n+i+s+(e/2**32|0)|0,H={fromBig:Sr,split:Ir,toBig:kn,shrSH:Ln,shrSL:Nn,rotrSH:zn,rotrSL:jn,rotrBH:_n,rotrBL:Pn,rotr32H:Kn,rotr32L:Tn,rotlSH:$r,rotlSL:Or,rotlBH:Hr,rotlBL:Cr,add:Fn,add3L:Rn,add3H:Mn,add4L:qn,add4H:Vn,add5H:Gn,add5L:Dn},Ur=[],kr=[],Lr=[],Zn=BigInt(0),Pe=BigInt(1),Yn=BigInt(2),Wn=BigInt(7),Xn=BigInt(256),Jn=BigInt(113);for(let e=0,t=Pe,r=1,n=0;e<24;e++){[r,n]=[n,(2*r+3*n)%5],Ur.push(2*(5*n+r)),kr.push((e+1)*(e+2)/2%64);let i=Zn;for(let s=0;s<7;s++)t=(t<>Wn)*Jn)%Xn,t&Yn&&(i^=Pe<<(Pe<r>32?Hr(e,t,r):$r(e,t,r),Yt=(e,t,r)=>r>32?Cr(e,t,r):Or(e,t,r);function ti(e,t=24){const r=new Uint32Array(10);for(let n=24-t;n<24;n++){for(let o=0;o<10;o++)r[o]=e[o]^e[o+10]^e[o+20]^e[o+30]^e[o+40];for(let o=0;o<10;o+=2){const c=(o+8)%10,a=(o+2)%10,f=r[a],h=r[a+1],d=Zt(f,h,1)^r[c],l=Yt(f,h,1)^r[c+1];for(let p=0;p<50;p+=10)e[o+p]^=d,e[o+p+1]^=l}let i=e[2],s=e[3];for(let o=0;o<24;o++){const c=kr[o],a=Zt(i,s,c),f=Yt(i,s,c),h=Ur[o];i=e[h],s=e[h+1],e[h]=a,e[h+1]=f}for(let o=0;o<50;o+=10){for(let c=0;c<10;c++)r[c]=e[o+c];for(let c=0;c<10;c++)e[o+c]^=~r[(c+2)%10]&r[(c+4)%10]}e[0]^=Qn[n],e[1]^=ei[n]}r.fill(0)}class zt extends Ut{constructor(t,r,n,i=!1,s=24){if(super(),this.blockLen=t,this.suffix=r,this.outputLen=n,this.enableXOF=i,this.rounds=s,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,be(n),0>=this.blockLen||this.blockLen>=200)throw new Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=pn(this.state)}keccak(){qt||Vt(this.state32),ti(this.state32,this.rounds),qt||Vt(this.state32),this.posOut=0,this.pos=0}update(t){He(this);const{blockLen:r,state:n}=this;t=Ce(t);const i=t.length;for(let s=0;s=n&&this.keccak();const o=Math.min(n-this.posOut,s-i);t.set(r.subarray(this.posOut,this.posOut+o),i),this.posOut+=o,i+=o}return t}xofInto(t){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(t)}xof(t){return be(t),this.xofInto(new Uint8Array(t))}digestInto(t){if(Er(t,this),this.finished)throw new Error("digest() was already called");return this.writeInto(t),this.destroy(),t}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(t){const{blockLen:r,suffix:n,outputLen:i,rounds:s,enableXOF:o}=this;return t||(t=new zt(r,n,i,o,s)),t.state32.set(this.state32),t.pos=this.pos,t.posOut=this.posOut,t.finished=this.finished,t.rounds=s,t.suffix=n,t.outputLen=i,t.enableXOF=o,t.destroyed=this.destroyed,t}}const ri=(e,t,r)=>tt(()=>new zt(t,e,r)),ni=ri(1,136,256/8),ii=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),oe=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),ce=new Uint32Array(64);class si extends kt{constructor(){super(64,32,8,!1),this.A=oe[0]|0,this.B=oe[1]|0,this.C=oe[2]|0,this.D=oe[3]|0,this.E=oe[4]|0,this.F=oe[5]|0,this.G=oe[6]|0,this.H=oe[7]|0}get(){const{A:t,B:r,C:n,D:i,E:s,F:o,G:c,H:a}=this;return[t,r,n,i,s,o,c,a]}set(t,r,n,i,s,o,c,a){this.A=t|0,this.B=r|0,this.C=n|0,this.D=i|0,this.E=s|0,this.F=o|0,this.G=c|0,this.H=a|0}process(t,r){for(let d=0;d<16;d++,r+=4)ce[d]=t.getUint32(r,!1);for(let d=16;d<64;d++){const l=ce[d-15],p=ce[d-2],m=X(l,7)^X(l,18)^l>>>3,g=X(p,17)^X(p,19)^p>>>10;ce[d]=g+ce[d-7]+m+ce[d-16]|0}let{A:n,B:i,C:s,D:o,E:c,F:a,G:f,H:h}=this;for(let d=0;d<64;d++){const l=X(c,6)^X(c,11)^X(c,25),p=h+l+Bn(c,a,f)+ii[d]+ce[d]|0,g=(X(n,2)^X(n,13)^X(n,22))+vn(n,i,s)|0;h=f,f=a,a=c,c=o+p|0,o=s,s=i,i=n,n=p+g|0}n=n+this.A|0,i=i+this.B|0,s=s+this.C|0,o=o+this.D|0,c=c+this.E|0,a=a+this.F|0,f=f+this.G|0,h=h+this.H|0,this.set(n,i,s,o,c,a,f,h)}roundClean(){ce.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const jt=tt(()=>new si);/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const rt=BigInt(0),nt=BigInt(1),oi=BigInt(2);function ye(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function Re(e){if(!ye(e))throw new Error("Uint8Array expected")}function Ue(e,t){if(typeof t!="boolean")throw new Error(e+" boolean expected, got "+t)}const ci=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function ke(e){Re(e);let t="";for(let r=0;r=te._0&&e<=te._9)return e-te._0;if(e>=te.A&&e<=te.F)return e-(te.A-10);if(e>=te.a&&e<=te.f)return e-(te.a-10)}function Le(e){if(typeof e!="string")throw new Error("hex string expected, got "+typeof e);const t=e.length,r=t/2;if(t%2)throw new Error("hex string expected, got unpadded hex of length "+t);const n=new Uint8Array(r);for(let i=0,s=0;itypeof e=="bigint"&&rt<=e;function it(e,t,r){return ct(e)&&ct(t)&&ct(r)&&t<=e&&ert;e>>=nt,t+=1);return t}function li(e,t){return e>>BigInt(t)&nt}function di(e,t,r){return e|(r?nt:rt)<(oi<new Uint8Array(e),Xt=e=>Uint8Array.from(e);function zr(e,t,r){if(typeof e!="number"||e<2)throw new Error("hashLen must be a number");if(typeof t!="number"||t<2)throw new Error("qByteLen must be a number");if(typeof r!="function")throw new Error("hmacFn must be a function");let n=at(e),i=at(e),s=0;const o=()=>{n.fill(1),i.fill(0),s=0},c=(...d)=>r(i,n,...d),a=(d=at())=>{i=c(Xt([0]),d),n=c(),d.length!==0&&(i=c(Xt([1]),d),n=c())},f=()=>{if(s++>=1e3)throw new Error("drbg: tried 1000 values");let d=0;const l=[];for(;d{o(),a(d);let p;for(;!(p=l(f()));)a();return o(),p}}const hi={bigint:e=>typeof e=="bigint",function:e=>typeof e=="function",boolean:e=>typeof e=="boolean",string:e=>typeof e=="string",stringOrUint8Array:e=>typeof e=="string"||ye(e),isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>typeof e=="function"&&Number.isSafeInteger(e.outputLen)};function Me(e,t,r={}){const n=(i,s,o)=>{const c=hi[s];if(typeof c!="function")throw new Error("invalid validator function");const a=e[i];if(!(o&&a===void 0)&&!c(a,e))throw new Error("param "+String(i)+" is invalid. Expected "+s+", got "+a)};for(const[i,s]of Object.entries(t))n(i,s,!1);for(const[i,s]of Object.entries(r))n(i,s,!0);return e}const pi=()=>{throw new Error("not implemented")};function Et(e){const t=new WeakMap;return(r,...n)=>{const i=t.get(r);if(i!==void 0)return i;const s=e(r,...n);return t.set(r,s),s}}const bi=Object.freeze(Object.defineProperty({__proto__:null,aInRange:xe,abool:Ue,abytes:Re,bitGet:li,bitLen:Nr,bitMask:Tt,bitSet:di,bytesToHex:ke,bytesToNumberBE:we,bytesToNumberLE:Pt,concatBytes:Te,createHmacDrbg:zr,ensureBytes:Y,equalBytes:fi,hexToBytes:Le,hexToNumber:_t,inRange:it,isBytes:ye,memoized:Et,notImplemented:pi,numberToBytesBE:Ne,numberToBytesLE:Kt,numberToHexUnpadded:$e,numberToVarBytesBE:ai,utf8ToBytes:ui,validateObject:Me},Symbol.toStringTag,{value:"Module"})),gi="#__bigint";function Ft(e,t,r){return JSON.stringify(e,(n,i)=>typeof i=="bigint"?i.toString()+gi:i,r)}function wi(e,t){if(tr(e)>t)throw new _i({givenSize:tr(e),maxSize:t})}const re={zero:48,nine:57,A:65,F:70,a:97,f:102};function Jt(e){if(e>=re.zero&&e<=re.nine)return e-re.zero;if(e>=re.A&&e<=re.F)return e-(re.A-10);if(e>=re.a&&e<=re.f)return e-(re.a-10)}function xi(e,t={}){const{dir:r,size:n=32}=t;if(n===0)return e;if(e.length>n)throw new Pi({size:e.length,targetSize:n,type:"Bytes"});const i=new Uint8Array(n);for(let s=0;st)throw new $i({givenSize:Ee(e),maxSize:t})}function yi(e,t){if(typeof t=="number"&&t>0&&t>Ee(e)-1)throw new Tr({offset:t,position:"start",size:Ee(e)})}function mi(e,t,r){if(typeof t=="number"&&typeof r=="number"&&Ee(e)!==r-t)throw new Tr({offset:r,position:"end",size:Ee(e)})}function _r(e,t={}){const{dir:r,size:n=32}=t;if(n===0)return e;const i=e.replace("0x","");if(i.length>n*2)throw new Oi({size:Math.ceil(i.length/2),targetSize:n,type:"Hex"});return`0x${i[r==="right"?"padEnd":"padStart"](n*2,"0")}`}const Ei=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function Bi(e,t={}){const{strict:r=!1}=t;if(!e)throw new Qt(e);if(typeof e!="string")throw new Qt(e);if(r&&!/^0x[0-9a-fA-F]*$/.test(e))throw new er(e);if(!e.startsWith("0x"))throw new er(e)}function vi(...e){return`0x${e.reduce((t,r)=>t+r.replace("0x",""),"")}`}function Pr(e){return e instanceof Uint8Array?me(e):Array.isArray(e)?me(new Uint8Array(e)):e}function me(e,t={}){let r="";for(let i=0;is||ithis.maxSize){const n=this.keys().next().value;n&&this.delete(n)}return this}}const Ti={checksum:new Ki(8192)},ut=Ti.checksum;function Mr(e,t={}){const{compressed:r}=t,{prefix:n,x:i,y:s}=e;if(r===!1||typeof i=="bigint"&&typeof s=="bigint"){if(n!==4)throw new rr({prefix:n,cause:new Di});return}if(r===!0||typeof i=="bigint"&&typeof s>"u"){if(n!==3&&n!==2)throw new rr({prefix:n,cause:new Vi});return}throw new qi({publicKey:e})}function Fi(e){const t=(()=>{if(Si(e))return qr(e);if(ji(e))return Ri(e);const{prefix:r,x:n,y:i}=e;return typeof n=="bigint"&&typeof i=="bigint"?{prefix:r??4,x:n,y:i}:{prefix:r,x:n}})();return Mr(t),t}function Ri(e){return qr(me(e))}function qr(e){if(e.length!==132&&e.length!==130&&e.length!==68)throw new Gi({publicKey:e});if(e.length===130){const n=BigInt(de(e,0,32)),i=BigInt(de(e,32,64));return{prefix:4,x:n,y:i}}if(e.length===132){const n=Number(de(e,0,1)),i=BigInt(de(e,1,33)),s=BigInt(de(e,33,65));return{prefix:n,x:i,y:s}}const t=Number(de(e,0,1)),r=BigInt(de(e,1,33));return{prefix:t,x:r}}function Mi(e,t={}){Mr(e);const{prefix:r,x:n,y:i}=e,{includePrefix:s=!0}=t;return vi(s?ft(r,{size:1}):"0x",ft(n,{size:32}),typeof i=="bigint"?ft(i,{size:32}):"0x")}class qi extends _{constructor({publicKey:t}){super(`Value \`${Ft(t)}\` is not a valid public key.`,{metaMessages:["Public key must contain:","- an `x` and `prefix` value (compressed)","- an `x`, `y`, and `prefix` value (uncompressed)"]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidError"})}}class rr extends _{constructor({prefix:t,cause:r}){super(`Prefix "${t}" is invalid.`,{cause:r}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidPrefixError"})}}class Vi extends _{constructor(){super("Prefix must be 2 or 3 for compressed public keys."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidCompressedPrefixError"})}}class Di extends _{constructor(){super("Prefix must be 4 for uncompressed public keys."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidUncompressedPrefixError"})}}class Gi extends _{constructor({publicKey:t}){super(`Value \`${t}\` is an invalid public key size.`,{metaMessages:["Expected: 33 bytes (compressed + prefix), 64 bytes (uncompressed) or 65 bytes (uncompressed + prefix).",`Received ${Ee(Pr(t))} bytes.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidSerializedSizeError"})}}const Zi=/^0x[a-fA-F0-9]{40}$/;function Vr(e,t={}){const{strict:r=!0}=t;if(!Zi.test(e))throw new nr({address:e,cause:new Xi});if(r){if(e.toLowerCase()===e)return;if(Rt(e)!==e)throw new nr({address:e,cause:new Ji})}}function Rt(e){if(ut.has(e))return ut.get(e);Vr(e,{strict:!1});const t=e.substring(2).toLowerCase(),r=Rr(Li(t),{as:"Bytes"}),n=t.split("");for(let s=0;s<40;s+=2)r[s>>1]>>4>=8&&n[s]&&(n[s]=n[s].toUpperCase()),(r[s>>1]&15)>=8&&n[s+1]&&(n[s+1]=n[s+1].toUpperCase());const i=`0x${n.join("")}`;return ut.set(e,i),i}function Yi(e,t={}){const{checksum:r=!1}=t;return Vr(e),r?Rt(e):e}function Wi(e,t={}){const r=Rr(`0x${Mi(e).slice(4)}`).substring(26);return Yi(`0x${r}`,t)}class nr extends _{constructor({address:t,cause:r}){super(`Address "${t}" is invalid.`,{cause:r}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidAddressError"})}}class Xi extends _{constructor(){super("Address is not a 20 byte (40 hexadecimal character) value."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidInputError"})}}class Ji extends _{constructor(){super("Address does not match its checksum counterpart."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidChecksumError"})}}class Dr extends Ut{constructor(t,r){super(),this.finished=!1,this.destroyed=!1,mr(t);const n=Ce(r);if(this.iHash=t.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const i=this.blockLen,s=new Uint8Array(i);s.set(n.length>i?t.create().update(n).digest():n);for(let o=0;onew Dr(e,t).update(r).digest();Fe.create=(e,t)=>new Dr(e,t);/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const T=BigInt(0),j=BigInt(1),he=BigInt(2),Qi=BigInt(3),Bt=BigInt(4),ir=BigInt(5),sr=BigInt(8);function M(e,t){const r=e%t;return r>=T?r:t+r}function es(e,t,r){if(tT;)t&j&&(n=n*e%r),e=e*e%r,t>>=j;return n}function D(e,t,r){let n=e;for(;t-- >T;)n*=n,n%=r;return n}function vt(e,t){if(e===T)throw new Error("invert: expected non-zero number");if(t<=T)throw new Error("invert: expected positive modulus, got "+t);let r=M(e,t),n=t,i=T,s=j;for(;r!==T;){const c=n/r,a=n%r,f=i-s*c;n=r,r=a,i=s,s=f}if(n!==j)throw new Error("invert: does not exist");return M(i,t)}function ts(e){const t=(e-j)/he;let r,n,i;for(r=e-j,n=0;r%he===T;r/=he,n++);for(i=he;i1e3)throw new Error("Cannot find square root: likely non-prime P");if(n===1){const o=(e+j)/Bt;return function(a,f){const h=a.pow(f,o);if(!a.eql(a.sqr(h),f))throw new Error("Cannot find square root");return h}}const s=(r+j)/he;return function(c,a){if(c.pow(a,t)===c.neg(c.ONE))throw new Error("Cannot find square root");let f=n,h=c.pow(c.mul(c.ONE,i),r),d=c.pow(a,s),l=c.pow(a,r);for(;!c.eql(l,c.ONE);){if(c.eql(l,c.ZERO))return c.ZERO;let p=1;for(let g=c.sqr(l);p(n[i]="function",n),t);return Me(e,r)}function ss(e,t,r){if(rT;)r&j&&(n=e.mul(n,i)),i=e.sqr(i),r>>=j;return n}function os(e,t){const r=new Array(t.length),n=t.reduce((s,o,c)=>e.is0(o)?s:(r[c]=s,e.mul(s,o)),e.ONE),i=e.inv(n);return t.reduceRight((s,o,c)=>e.is0(o)?s:(r[c]=e.mul(s,r[c]),e.mul(s,o)),i),r}function Gr(e,t){const r=t!==void 0?t:e.toString(2).length,n=Math.ceil(r/8);return{nBitLength:r,nByteLength:n}}function Zr(e,t,r=!1,n={}){if(e<=T)throw new Error("invalid field: expected ORDER > 0, got "+e);const{nBitLength:i,nByteLength:s}=Gr(e,t);if(s>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let o;const c=Object.freeze({ORDER:e,isLE:r,BITS:i,BYTES:s,MASK:Tt(i),ZERO:T,ONE:j,create:a=>M(a,e),isValid:a=>{if(typeof a!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof a);return T<=a&&aa===T,isOdd:a=>(a&j)===j,neg:a=>M(-a,e),eql:(a,f)=>a===f,sqr:a=>M(a*a,e),add:(a,f)=>M(a+f,e),sub:(a,f)=>M(a-f,e),mul:(a,f)=>M(a*f,e),pow:(a,f)=>ss(c,a,f),div:(a,f)=>M(a*vt(f,e),e),sqrN:a=>a*a,addN:(a,f)=>a+f,subN:(a,f)=>a-f,mulN:(a,f)=>a*f,inv:a=>vt(a,e),sqrt:n.sqrt||(a=>(o||(o=rs(e)),o(c,a))),invertBatch:a=>os(c,a),cmov:(a,f,h)=>h?f:a,toBytes:a=>r?Kt(a,s):Ne(a,s),fromBytes:a=>{if(a.length!==s)throw new Error("Field.fromBytes: expected "+s+" bytes, got "+a.length);return r?Pt(a):we(a)}});return Object.freeze(c)}function Yr(e){if(typeof e!="bigint")throw new Error("field order must be bigint");const t=e.toString(2).length;return Math.ceil(t/8)}function Wr(e){const t=Yr(e);return t+Math.ceil(t/2)}function cs(e,t,r=!1){const n=e.length,i=Yr(t),s=Wr(t);if(n<16||n1024)throw new Error("expected "+s+"-1024 bytes of input, got "+n);const o=r?Pt(e):we(e),c=M(o,t-j)+j;return r?Kt(c,i):Ne(c,i)}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const or=BigInt(0),Ye=BigInt(1);function lt(e,t){const r=t.negate();return e?r:t}function Xr(e,t){if(!Number.isSafeInteger(e)||e<=0||e>t)throw new Error("invalid window size, expected [1.."+t+"], got W="+e)}function dt(e,t){Xr(e,t);const r=Math.ceil(t/e)+1,n=2**(e-1);return{windows:r,windowSize:n}}function as(e,t){if(!Array.isArray(e))throw new Error("array expected");e.forEach((r,n)=>{if(!(r instanceof t))throw new Error("invalid point at index "+n)})}function fs(e,t){if(!Array.isArray(e))throw new Error("array of scalars expected");e.forEach((r,n)=>{if(!t.isValid(r))throw new Error("invalid scalar at index "+n)})}const ht=new WeakMap,Jr=new WeakMap;function pt(e){return Jr.get(e)||1}function us(e,t){return{constTimeNegate:lt,hasPrecomputes(r){return pt(r)!==1},unsafeLadder(r,n,i=e.ZERO){let s=r;for(;n>or;)n&Ye&&(i=i.add(s)),s=s.double(),n>>=Ye;return i},precomputeWindow(r,n){const{windows:i,windowSize:s}=dt(n,t),o=[];let c=r,a=c;for(let f=0;f>=d,m>o&&(m-=h,i+=Ye);const g=p,u=p+Math.abs(m)-1,b=l%2!==0,B=m<0;m===0?a=a.add(lt(b,n[g])):c=c.add(lt(B,n[u]))}return{p:c,f:a}},wNAFUnsafe(r,n,i,s=e.ZERO){const{windows:o,windowSize:c}=dt(r,t),a=BigInt(2**r-1),f=2**r,h=BigInt(r);for(let d=0;d>=h,p>c&&(p-=f,i+=Ye),p===0)continue;let m=n[l+Math.abs(p)-1];p<0&&(m=m.negate()),s=s.add(m)}return s},getPrecomputes(r,n,i){let s=ht.get(n);return s||(s=this.precomputeWindow(n,r),r!==1&&ht.set(n,i(s))),s},wNAFCached(r,n,i){const s=pt(r);return this.wNAF(s,this.getPrecomputes(s,r,i),n)},wNAFCachedUnsafe(r,n,i,s){const o=pt(r);return o===1?this.unsafeLadder(r,n,s):this.wNAFUnsafe(o,this.getPrecomputes(o,r,i),n,s)},setWindowSize(r,n){Xr(n,t),Jr.set(r,n),ht.delete(r)}}}function ls(e,t,r,n){if(as(r,e),fs(n,t),r.length!==n.length)throw new Error("arrays of points and scalars must have equal length");const i=e.ZERO,s=Nr(BigInt(r.length)),o=s>12?s-3:s>4?s-2:s?2:1,c=(1<=0;d-=o){a.fill(i);for(let p=0;p>BigInt(d)&BigInt(c));a[g]=a[g].add(r[p])}let l=i;for(let p=a.length-1,m=i;p>0;p--)m=m.add(a[p]),l=l.add(m);if(h=h.add(l),d!==0)for(let p=0;p{const{Err:r}=ne;if(e<0||e>256)throw new r("tlv.encode: wrong tag");if(t.length&1)throw new r("tlv.encode: unpadded data");const n=t.length/2,i=$e(n);if(i.length/2&128)throw new r("tlv.encode: long form length too big");const s=n>127?$e(i.length/2|128):"";return $e(e)+s+i+t},decode(e,t){const{Err:r}=ne;let n=0;if(e<0||e>256)throw new r("tlv.encode: wrong tag");if(t.length<2||t[n++]!==e)throw new r("tlv.decode: wrong tlv");const i=t[n++],s=!!(i&128);let o=0;if(!s)o=i;else{const a=i&127;if(!a)throw new r("tlv.decode(long): indefinite length not supported");if(a>4)throw new r("tlv.decode(long): byte length is too big");const f=t.subarray(n,n+a);if(f.length!==a)throw new r("tlv.decode: length bytes not complete");if(f[0]===0)throw new r("tlv.decode(long): zero leftmost byte");for(const h of f)o=o<<8|h;if(n+=a,o<128)throw new r("tlv.decode(long): not minimal encoding")}const c=t.subarray(n,n+o);if(c.length!==o)throw new r("tlv.decode: wrong value length");return{v:c,l:t.subarray(n+o)}}},_int:{encode(e){const{Err:t}=ne;if(e{const B=u.toAffine();return Te(Uint8Array.from([4]),r.toBytes(B.x),r.toBytes(B.y))}),s=t.fromBytes||(g=>{const u=g.subarray(1),b=r.fromBytes(u.subarray(0,r.BYTES)),B=r.fromBytes(u.subarray(r.BYTES,2*r.BYTES));return{x:b,y:B}});function o(g){const{a:u,b}=t,B=r.sqr(g),w=r.mul(B,g);return r.add(r.add(w,r.mul(g,u)),b)}if(!r.eql(r.sqr(t.Gy),o(t.Gx)))throw new Error("bad generator point: equation left != right");function c(g){return it(g,K,t.n)}function a(g){const{allowedPrivateKeyLengths:u,nByteLength:b,wrapPrivateKey:B,n:w}=t;if(u&&typeof g!="bigint"){if(ye(g)&&(g=ke(g)),typeof g!="string"||!u.includes(g.length))throw new Error("invalid private key");g=g.padStart(b*2,"0")}let $;try{$=typeof g=="bigint"?g:we(Y("private key",g,b))}catch{throw new Error("invalid private key, expected hex or "+b+" bytes, got "+typeof g)}return B&&($=M($,w)),xe("private key",$,K,w),$}function f(g){if(!(g instanceof l))throw new Error("ProjectivePoint expected")}const h=Et((g,u)=>{const{px:b,py:B,pz:w}=g;if(r.eql(w,r.ONE))return{x:b,y:B};const $=g.is0();u==null&&(u=$?r.ONE:r.inv(w));const A=r.mul(b,u),O=r.mul(B,u),S=r.mul(w,u);if($)return{x:r.ZERO,y:r.ZERO};if(!r.eql(S,r.ONE))throw new Error("invZ was invalid");return{x:A,y:O}}),d=Et(g=>{if(g.is0()){if(t.allowInfinityPoint&&!r.is0(g.py))return;throw new Error("bad point: ZERO")}const{x:u,y:b}=g.toAffine();if(!r.isValid(u)||!r.isValid(b))throw new Error("bad point: x or y not FE");const B=r.sqr(b),w=o(u);if(!r.eql(B,w))throw new Error("bad point: equation left != right");if(!g.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});class l{constructor(u,b,B){if(this.px=u,this.py=b,this.pz=B,u==null||!r.isValid(u))throw new Error("x required");if(b==null||!r.isValid(b))throw new Error("y required");if(B==null||!r.isValid(B))throw new Error("z required");Object.freeze(this)}static fromAffine(u){const{x:b,y:B}=u||{};if(!u||!r.isValid(b)||!r.isValid(B))throw new Error("invalid affine point");if(u instanceof l)throw new Error("projective point not allowed");const w=$=>r.eql($,r.ZERO);return w(b)&&w(B)?l.ZERO:new l(b,B,r.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(u){const b=r.invertBatch(u.map(B=>B.pz));return u.map((B,w)=>B.toAffine(b[w])).map(l.fromAffine)}static fromHex(u){const b=l.fromAffine(s(Y("pointHex",u)));return b.assertValidity(),b}static fromPrivateKey(u){return l.BASE.multiply(a(u))}static msm(u,b){return ls(l,n,u,b)}_setWindowSize(u){m.setWindowSize(this,u)}assertValidity(){d(this)}hasEvenY(){const{y:u}=this.toAffine();if(r.isOdd)return!r.isOdd(u);throw new Error("Field doesn't support isOdd")}equals(u){f(u);const{px:b,py:B,pz:w}=this,{px:$,py:A,pz:O}=u,S=r.eql(r.mul(b,O),r.mul($,w)),I=r.eql(r.mul(B,O),r.mul(A,w));return S&&I}negate(){return new l(this.px,r.neg(this.py),this.pz)}double(){const{a:u,b}=t,B=r.mul(b,ar),{px:w,py:$,pz:A}=this;let O=r.ZERO,S=r.ZERO,I=r.ZERO,v=r.mul(w,w),z=r.mul($,$),N=r.mul(A,A),U=r.mul(w,$);return U=r.add(U,U),I=r.mul(w,A),I=r.add(I,I),O=r.mul(u,I),S=r.mul(B,N),S=r.add(O,S),O=r.sub(z,S),S=r.add(z,S),S=r.mul(O,S),O=r.mul(U,O),I=r.mul(B,I),N=r.mul(u,N),U=r.sub(v,N),U=r.mul(u,U),U=r.add(U,I),I=r.add(v,v),v=r.add(I,v),v=r.add(v,N),v=r.mul(v,U),S=r.add(S,v),N=r.mul($,A),N=r.add(N,N),v=r.mul(N,U),O=r.sub(O,v),I=r.mul(N,z),I=r.add(I,I),I=r.add(I,I),new l(O,S,I)}add(u){f(u);const{px:b,py:B,pz:w}=this,{px:$,py:A,pz:O}=u;let S=r.ZERO,I=r.ZERO,v=r.ZERO;const z=t.a,N=r.mul(t.b,ar);let U=r.mul(b,$),F=r.mul(B,A),x=r.mul(w,O),y=r.add(b,B),E=r.add($,A);y=r.mul(y,E),E=r.add(U,F),y=r.sub(y,E),E=r.add(b,w);let C=r.add($,O);return E=r.mul(E,C),C=r.add(U,x),E=r.sub(E,C),C=r.add(B,w),S=r.add(A,O),C=r.mul(C,S),S=r.add(F,x),C=r.sub(C,S),v=r.mul(z,E),S=r.mul(N,x),v=r.add(S,v),S=r.sub(F,v),v=r.add(F,v),I=r.mul(S,v),F=r.add(U,U),F=r.add(F,U),x=r.mul(z,x),E=r.mul(N,E),F=r.add(F,x),x=r.sub(U,x),x=r.mul(z,x),E=r.add(E,x),U=r.mul(F,E),I=r.add(I,U),U=r.mul(C,E),S=r.mul(y,S),S=r.sub(S,U),U=r.mul(y,F),v=r.mul(C,v),v=r.add(v,U),new l(S,I,v)}subtract(u){return this.add(u.negate())}is0(){return this.equals(l.ZERO)}wNAF(u){return m.wNAFCached(this,u,l.normalizeZ)}multiplyUnsafe(u){const{endo:b,n:B}=t;xe("scalar",u,ie,B);const w=l.ZERO;if(u===ie)return w;if(this.is0()||u===K)return this;if(!b||m.hasPrecomputes(this))return m.wNAFCachedUnsafe(this,u,l.normalizeZ);let{k1neg:$,k1:A,k2neg:O,k2:S}=b.splitScalar(u),I=w,v=w,z=this;for(;A>ie||S>ie;)A&K&&(I=I.add(z)),S&K&&(v=v.add(z)),z=z.double(),A>>=K,S>>=K;return $&&(I=I.negate()),O&&(v=v.negate()),v=new l(r.mul(v.px,b.beta),v.py,v.pz),I.add(v)}multiply(u){const{endo:b,n:B}=t;xe("scalar",u,K,B);let w,$;if(b){const{k1neg:A,k1:O,k2neg:S,k2:I}=b.splitScalar(u);let{p:v,f:z}=this.wNAF(O),{p:N,f:U}=this.wNAF(I);v=m.constTimeNegate(A,v),N=m.constTimeNegate(S,N),N=new l(r.mul(N.px,b.beta),N.py,N.pz),w=v.add(N),$=z.add(U)}else{const{p:A,f:O}=this.wNAF(u);w=A,$=O}return l.normalizeZ([w,$])[0]}multiplyAndAddUnsafe(u,b,B){const w=l.BASE,$=(O,S)=>S===ie||S===K||!O.equals(w)?O.multiplyUnsafe(S):O.multiply(S),A=$(this,b).add($(u,B));return A.is0()?void 0:A}toAffine(u){return h(this,u)}isTorsionFree(){const{h:u,isTorsionFree:b}=t;if(u===K)return!0;if(b)return b(l,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:u,clearCofactor:b}=t;return u===K?this:b?b(l,this):this.multiplyUnsafe(t.h)}toRawBytes(u=!0){return Ue("isCompressed",u),this.assertValidity(),i(l,this,u)}toHex(u=!0){return Ue("isCompressed",u),ke(this.toRawBytes(u))}}l.BASE=new l(t.Gx,t.Gy,r.ONE),l.ZERO=new l(r.ZERO,r.ONE,r.ZERO);const p=t.nBitLength,m=us(l,t.endo?Math.ceil(p/2):p);return{CURVE:t,ProjectivePoint:l,normPrivateKeyToScalar:a,weierstrassEquation:o,isWithinCurveOrder:c}}function ws(e){const t=Qr(e);return Me(t,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...t})}function xs(e){const t=ws(e),{Fp:r,n}=t,i=r.BYTES+1,s=2*r.BYTES+1;function o(x){return M(x,n)}function c(x){return vt(x,n)}const{ProjectivePoint:a,normPrivateKeyToScalar:f,weierstrassEquation:h,isWithinCurveOrder:d}=gs({...t,toBytes(x,y,E){const C=y.toAffine(),k=r.toBytes(C.x),P=Te;return Ue("isCompressed",E),E?P(Uint8Array.from([y.hasEvenY()?2:3]),k):P(Uint8Array.from([4]),k,r.toBytes(C.y))},fromBytes(x){const y=x.length,E=x[0],C=x.subarray(1);if(y===i&&(E===2||E===3)){const k=we(C);if(!it(k,K,r.ORDER))throw new Error("Point is not on curve");const P=h(k);let q;try{q=r.sqrt(P)}catch(Z){const V=Z instanceof Error?": "+Z.message:"";throw new Error("Point is not on curve"+V)}const R=(q&K)===K;return(E&1)===1!==R&&(q=r.neg(q)),{x:k,y:q}}else if(y===s&&E===4){const k=r.fromBytes(C.subarray(0,r.BYTES)),P=r.fromBytes(C.subarray(r.BYTES,2*r.BYTES));return{x:k,y:P}}else{const k=i,P=s;throw new Error("invalid Point, expected length of "+k+", or uncompressed "+P+", got "+y)}}}),l=x=>ke(Ne(x,t.nByteLength));function p(x){const y=n>>K;return x>y}function m(x){return p(x)?o(-x):x}const g=(x,y,E)=>we(x.slice(y,E));class u{constructor(y,E,C){this.r=y,this.s=E,this.recovery=C,this.assertValidity()}static fromCompact(y){const E=t.nByteLength;return y=Y("compactSignature",y,E*2),new u(g(y,0,E),g(y,E,2*E))}static fromDER(y){const{r:E,s:C}=ne.toSig(Y("DER",y));return new u(E,C)}assertValidity(){xe("r",this.r,K,n),xe("s",this.s,K,n)}addRecoveryBit(y){return new u(this.r,this.s,y)}recoverPublicKey(y){const{r:E,s:C,recovery:k}=this,P=O(Y("msgHash",y));if(k==null||![0,1,2,3].includes(k))throw new Error("recovery id invalid");const q=k===2||k===3?E+t.n:E;if(q>=r.ORDER)throw new Error("recovery id 2 or 3 invalid");const R=(k&1)===0?"02":"03",Q=a.fromHex(R+l(q)),Z=c(q),V=o(-P*Z),Be=o(C*Z),se=a.BASE.multiplyAndAddUnsafe(Q,V,Be);if(!se)throw new Error("point at infinify");return se.assertValidity(),se}hasHighS(){return p(this.s)}normalizeS(){return this.hasHighS()?new u(this.r,o(-this.s),this.recovery):this}toDERRawBytes(){return Le(this.toDERHex())}toDERHex(){return ne.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return Le(this.toCompactHex())}toCompactHex(){return l(this.r)+l(this.s)}}const b={isValidPrivateKey(x){try{return f(x),!0}catch{return!1}},normPrivateKeyToScalar:f,randomPrivateKey:()=>{const x=Wr(t.n);return cs(t.randomBytes(x),t.n)},precompute(x=8,y=a.BASE){return y._setWindowSize(x),y.multiply(BigInt(3)),y}};function B(x,y=!0){return a.fromPrivateKey(x).toRawBytes(y)}function w(x){const y=ye(x),E=typeof x=="string",C=(y||E)&&x.length;return y?C===i||C===s:E?C===2*i||C===2*s:x instanceof a}function $(x,y,E=!0){if(w(x))throw new Error("first arg must be private key");if(!w(y))throw new Error("second arg must be public key");return a.fromHex(y).multiply(f(x)).toRawBytes(E)}const A=t.bits2int||function(x){if(x.length>8192)throw new Error("input is too large");const y=we(x),E=x.length*8-t.nBitLength;return E>0?y>>BigInt(E):y},O=t.bits2int_modN||function(x){return o(A(x))},S=Tt(t.nBitLength);function I(x){return xe("num < 2^"+t.nBitLength,x,ie,S),Ne(x,t.nByteLength)}function v(x,y,E=z){if(["recovered","canonical"].some(ue=>ue in E))throw new Error("sign() legacy options not supported");const{hash:C,randomBytes:k}=t;let{lowS:P,prehash:q,extraEntropy:R}=E;P==null&&(P=!0),x=Y("msgHash",x),cr(E),q&&(x=Y("prehashed msgHash",C(x)));const Q=O(x),Z=f(y),V=[I(Z),I(Q)];if(R!=null&&R!==!1){const ue=R===!0?k(r.BYTES):R;V.push(Y("extraEntropy",ue))}const Be=Te(...V),se=Q;function st(ue){const ve=A(ue);if(!d(ve))return;const ot=c(ve),ze=a.BASE.multiply(ve).toAffine(),le=o(ze.x);if(le===ie)return;const je=o(ot*o(se+le*Z));if(je===ie)return;let _e=(ze.x===le?0:2)|Number(ze.y&K),Ae=je;return P&&p(je)&&(Ae=m(je),_e^=1),new u(le,Ae,_e)}return{seed:Be,k2sig:st}}const z={lowS:t.lowS,prehash:!1},N={lowS:t.lowS,prehash:!1};function U(x,y,E=z){const{seed:C,k2sig:k}=v(x,y,E),P=t;return zr(P.hash.outputLen,P.nByteLength,P.hmac)(C,k)}a.BASE._setWindowSize(8);function F(x,y,E,C=N){var _e;const k=x;y=Y("msgHash",y),E=Y("publicKey",E);const{lowS:P,prehash:q,format:R}=C;if(cr(C),"strict"in C)throw new Error("options.strict was renamed to lowS");if(R!==void 0&&R!=="compact"&&R!=="der")throw new Error("format must be compact or der");const Q=typeof k=="string"||ye(k),Z=!Q&&!R&&typeof k=="object"&&k!==null&&typeof k.r=="bigint"&&typeof k.s=="bigint";if(!Q&&!Z)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");let V,Be;try{if(Z&&(V=new u(k.r,k.s)),Q){try{R!=="compact"&&(V=u.fromDER(k))}catch(Ae){if(!(Ae instanceof ne.Err))throw Ae}!V&&R!=="der"&&(V=u.fromCompact(k))}Be=a.fromHex(E)}catch{return!1}if(!V||P&&V.hasHighS())return!1;q&&(y=t.hash(y));const{r:se,s:st}=V,ue=O(y),ve=c(st),ot=o(ue*ve),ze=o(se*ve),le=(_e=a.BASE.multiplyAndAddUnsafe(Be,ot,ze))==null?void 0:_e.toAffine();return le?o(le.x)===se:!1}return{CURVE:t,getPublicKey:B,getSharedSecret:$,sign:U,verify:F,ProjectivePoint:a,Signature:u,utils:b}}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */function ys(e){return{hash:e,hmac:(t,...r)=>Fe(e,t,Ke(...r)),randomBytes:mn}}function ms(e,t){const r=n=>xs({...e,...ys(n)});return{...r(t),create:r}}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const en=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),fr=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),Es=BigInt(1),At=BigInt(2),ur=(e,t)=>(e+t/At)/t;function Bs(e){const t=en,r=BigInt(3),n=BigInt(6),i=BigInt(11),s=BigInt(22),o=BigInt(23),c=BigInt(44),a=BigInt(88),f=e*e*e%t,h=f*f*e%t,d=D(h,r,t)*h%t,l=D(d,r,t)*h%t,p=D(l,At,t)*f%t,m=D(p,i,t)*p%t,g=D(m,s,t)*m%t,u=D(g,c,t)*g%t,b=D(u,a,t)*u%t,B=D(b,c,t)*g%t,w=D(B,r,t)*h%t,$=D(w,o,t)*m%t,A=D($,n,t)*f%t,O=D(A,At,t);if(!St.eql(St.sqr(O),e))throw new Error("Cannot find square root");return O}const St=Zr(en,void 0,void 0,{sqrt:Bs}),W=ms({a:BigInt(0),b:BigInt(7),Fp:St,n:fr,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{const t=fr,r=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),n=-Es*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),i=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),s=r,o=BigInt("0x100000000000000000000000000000000"),c=ur(s*e,t),a=ur(-n*e,t);let f=M(e-c*r-a*i,t),h=M(-c*n-a*s,t);const d=f>o,l=h>o;if(d&&(f=t-f),l&&(h=t-h),f>o||h>o)throw new Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:d,k1:f,k2neg:l,k2:h}}}},jt);BigInt(0);W.ProjectivePoint;const[vs,As]=H.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(e=>BigInt(e))),ae=new Uint32Array(80),fe=new Uint32Array(80);class Ss extends kt{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:t,Al:r,Bh:n,Bl:i,Ch:s,Cl:o,Dh:c,Dl:a,Eh:f,El:h,Fh:d,Fl:l,Gh:p,Gl:m,Hh:g,Hl:u}=this;return[t,r,n,i,s,o,c,a,f,h,d,l,p,m,g,u]}set(t,r,n,i,s,o,c,a,f,h,d,l,p,m,g,u){this.Ah=t|0,this.Al=r|0,this.Bh=n|0,this.Bl=i|0,this.Ch=s|0,this.Cl=o|0,this.Dh=c|0,this.Dl=a|0,this.Eh=f|0,this.El=h|0,this.Fh=d|0,this.Fl=l|0,this.Gh=p|0,this.Gl=m|0,this.Hh=g|0,this.Hl=u|0}process(t,r){for(let w=0;w<16;w++,r+=4)ae[w]=t.getUint32(r),fe[w]=t.getUint32(r+=4);for(let w=16;w<80;w++){const $=ae[w-15]|0,A=fe[w-15]|0,O=H.rotrSH($,A,1)^H.rotrSH($,A,8)^H.shrSH($,A,7),S=H.rotrSL($,A,1)^H.rotrSL($,A,8)^H.shrSL($,A,7),I=ae[w-2]|0,v=fe[w-2]|0,z=H.rotrSH(I,v,19)^H.rotrBH(I,v,61)^H.shrSH(I,v,6),N=H.rotrSL(I,v,19)^H.rotrBL(I,v,61)^H.shrSL(I,v,6),U=H.add4L(S,N,fe[w-7],fe[w-16]),F=H.add4H(U,O,z,ae[w-7],ae[w-16]);ae[w]=F|0,fe[w]=U|0}let{Ah:n,Al:i,Bh:s,Bl:o,Ch:c,Cl:a,Dh:f,Dl:h,Eh:d,El:l,Fh:p,Fl:m,Gh:g,Gl:u,Hh:b,Hl:B}=this;for(let w=0;w<80;w++){const $=H.rotrSH(d,l,14)^H.rotrSH(d,l,18)^H.rotrBH(d,l,41),A=H.rotrSL(d,l,14)^H.rotrSL(d,l,18)^H.rotrBL(d,l,41),O=d&p^~d&g,S=l&m^~l&u,I=H.add5L(B,A,S,As[w],fe[w]),v=H.add5H(I,b,$,O,vs[w],ae[w]),z=I|0,N=H.rotrSH(n,i,28)^H.rotrBH(n,i,34)^H.rotrBH(n,i,39),U=H.rotrSL(n,i,28)^H.rotrBL(n,i,34)^H.rotrBL(n,i,39),F=n&s^n&c^s&c,x=i&o^i&a^o&a;b=g|0,B=u|0,g=p|0,u=m|0,p=d|0,m=l|0,{h:d,l}=H.add(f|0,h|0,v|0,z|0),f=c|0,h=a|0,c=s|0,a=o|0,s=n|0,o=i|0;const y=H.add3L(z,U,x);n=H.add3H(y,v,N,F),i=y|0}({h:n,l:i}=H.add(this.Ah|0,this.Al|0,n|0,i|0)),{h:s,l:o}=H.add(this.Bh|0,this.Bl|0,s|0,o|0),{h:c,l:a}=H.add(this.Ch|0,this.Cl|0,c|0,a|0),{h:f,l:h}=H.add(this.Dh|0,this.Dl|0,f|0,h|0),{h:d,l}=H.add(this.Eh|0,this.El|0,d|0,l|0),{h:p,l:m}=H.add(this.Fh|0,this.Fl|0,p|0,m|0),{h:g,l:u}=H.add(this.Gh|0,this.Gl|0,g|0,u|0),{h:b,l:B}=H.add(this.Hh|0,this.Hl|0,b|0,B|0),this.set(n,i,s,o,c,a,f,h,d,l,p,m,g,u,b,B)}roundClean(){ae.fill(0),fe.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const It=tt(()=>new Ss);/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */function $t(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function tn(e,t){return Array.isArray(t)?t.length===0?!0:e?t.every(r=>typeof r=="string"):t.every(r=>Number.isSafeInteger(r)):!1}function Is(e){if(typeof e!="function")throw new Error("function expected");return!0}function Ot(e,t){if(typeof t!="string")throw new Error(`${e}: string expected`);return!0}function Mt(e){if(!Number.isSafeInteger(e))throw new Error(`invalid integer: ${e}`)}function Ht(e){if(!Array.isArray(e))throw new Error("array expected")}function rn(e,t){if(!tn(!0,t))throw new Error(`${e}: array of strings expected`)}function $s(e,t){if(!tn(!1,t))throw new Error(`${e}: array of numbers expected`)}function nn(...e){const t=s=>s,r=(s,o)=>c=>s(o(c)),n=e.map(s=>s.encode).reduceRight(r,t),i=e.map(s=>s.decode).reduce(r,t);return{encode:n,decode:i}}function Os(e){const t=typeof e=="string"?e.split(""):e,r=t.length;rn("alphabet",t);const n=new Map(t.map((i,s)=>[i,s]));return{encode:i=>(Ht(i),i.map(s=>{if(!Number.isSafeInteger(s)||s<0||s>=r)throw new Error(`alphabet.encode: digit index outside alphabet "${s}". Allowed: ${e}`);return t[s]})),decode:i=>(Ht(i),i.map(s=>{Ot("alphabet.decode",s);const o=n.get(s);if(o===void 0)throw new Error(`Unknown letter: "${s}". Allowed: ${e}`);return o}))}}function Hs(e=""){return Ot("join",e),{encode:t=>(rn("join.decode",t),t.join(e)),decode:t=>(Ot("join.decode",t),t.split(e))}}function lr(e,t,r){if(t<2)throw new Error(`convertRadix: invalid from=${t}, base cannot be less than 2`);if(r<2)throw new Error(`convertRadix: invalid to=${r}, base cannot be less than 2`);if(Ht(e),!e.length)return[];let n=0;const i=[],s=Array.from(e,c=>{if(Mt(c),c<0||c>=t)throw new Error(`invalid integer: ${c}`);return c}),o=s.length;for(;;){let c=0,a=!0;for(let f=n;f{if(!$t(r))throw new Error("radix.encode input should be Uint8Array");return lr(Array.from(r),t,e)},decode:r=>($s("radix.decode",r),Uint8Array.from(lr(r,e,t)))}}function Us(e,t){return Mt(e),Is(t),{encode(r){if(!$t(r))throw new Error("checksum.encode: input should be Uint8Array");const n=t(r).slice(0,e),i=new Uint8Array(r.length+e);return i.set(r),i.set(n,r.length),i},decode(r){if(!$t(r))throw new Error("checksum.decode: input should be Uint8Array");const n=r.slice(0,-e),i=r.slice(-e),s=t(n).slice(0,e);for(let o=0;onn(Cs(58),Os(e),Hs("")),Ls=ks("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),Ns=e=>nn(Us(4,t=>e(e(t))),Ls);/*! scure-bip32 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) */const We=W.ProjectivePoint,bt=Ns(jt);function dr(e){G(e);const t=e.length===0?"0":wn(e);return BigInt("0x"+t)}function zs(e){if(typeof e!="bigint")throw new Error("bigint expected");return xn(e.toString(16).padStart(64,"0"))}const js=Br("Bitcoin seed"),gt={private:76066276,public:76067358},wt=2147483648,_s=e=>Un(jt(e)),Ps=e=>ge(e).getUint32(0,!1),Xe=e=>{if(!Number.isSafeInteger(e)||e<0||e>2**32-1)throw new Error("invalid number, should be from 0 to 2**32-1, got "+e);const t=new Uint8Array(4);return ge(t).setUint32(0,e,!1),t};class pe{get fingerprint(){if(!this.pubHash)throw new Error("No publicKey set!");return Ps(this.pubHash)}get identifier(){return this.pubHash}get pubKeyHash(){return this.pubHash}get privateKey(){return this.privKeyBytes||null}get publicKey(){return this.pubKey||null}get privateExtendedKey(){const t=this.privateKey;if(!t)throw new Error("No private key");return bt.encode(this.serialize(this.versions.private,Ke(new Uint8Array([0]),t)))}get publicExtendedKey(){if(!this.pubKey)throw new Error("No public key");return bt.encode(this.serialize(this.versions.public,this.pubKey))}static fromMasterSeed(t,r=gt){if(G(t),8*t.length<128||8*t.length>512)throw new Error("HDKey: seed length must be between 128 and 512 bits; 256 bits is advised, got "+t.length);const n=Fe(It,js,t);return new pe({versions:r,chainCode:n.slice(32),privateKey:n.slice(0,32)})}static fromExtendedKey(t,r=gt){const n=bt.decode(t),i=ge(n),s=i.getUint32(0,!1),o={versions:r,depth:n[4],parentFingerprint:i.getUint32(5,!1),index:i.getUint32(9,!1),chainCode:n.slice(13,45)},c=n.slice(45),a=c[0]===0;if(s!==r[a?"private":"public"])throw new Error("Version mismatch");return a?new pe({...o,privateKey:c.slice(1)}):new pe({...o,publicKey:c})}static fromJSON(t){return pe.fromExtendedKey(t.xpriv)}constructor(t){if(this.depth=0,this.index=0,this.chainCode=null,this.parentFingerprint=0,!t||typeof t!="object")throw new Error("HDKey.constructor must not be called directly");if(this.versions=t.versions||gt,this.depth=t.depth||0,this.chainCode=t.chainCode||null,this.index=t.index||0,this.parentFingerprint=t.parentFingerprint||0,!this.depth&&(this.parentFingerprint||this.index))throw new Error("HDKey: zero depth with non-zero index/parent fingerprint");if(t.publicKey&&t.privateKey)throw new Error("HDKey: publicKey and privateKey at same time.");if(t.privateKey){if(!W.utils.isValidPrivateKey(t.privateKey))throw new Error("Invalid private key");this.privKey=typeof t.privateKey=="bigint"?t.privateKey:dr(t.privateKey),this.privKeyBytes=zs(this.privKey),this.pubKey=W.getPublicKey(t.privateKey,!0)}else if(t.publicKey)this.pubKey=We.fromHex(t.publicKey).toRawBytes(!0);else throw new Error("HDKey: no public or private key provided");this.pubHash=_s(this.pubKey)}derive(t){if(!/^[mM]'?/.test(t))throw new Error('Path must start with "m" or "M"');if(/^[mM]'?$/.test(t))return this;const r=t.replace(/^[mM]'?\//,"").split("/");let n=this;for(const i of r){const s=/^(\d+)('?)$/.exec(i),o=s&&s[1];if(!s||s.length!==3||typeof o!="string")throw new Error("invalid child index: "+i);let c=+o;if(!Number.isSafeInteger(c)||c>=wt)throw new Error("Invalid index");s[2]==="'"&&(c+=wt),n=n.deriveChild(c)}return n}deriveChild(t){if(!this.pubKey||!this.chainCode)throw new Error("No publicKey or chainCode set");let r=Xe(t);if(t>=wt){const c=this.privateKey;if(!c)throw new Error("Could not derive hardened child key");r=Ke(new Uint8Array([0]),c,r)}else r=Ke(this.pubKey,r);const n=Fe(It,this.chainCode,r),i=dr(n.slice(0,32)),s=n.slice(32);if(!W.utils.isValidPrivateKey(i))throw new Error("Tweak bigger than curve order");const o={versions:this.versions,chainCode:s,depth:this.depth+1,parentFingerprint:this.fingerprint,index:t};try{if(this.privateKey){const c=M(this.privKey+i,W.CURVE.n);if(!W.utils.isValidPrivateKey(c))throw new Error("The tweak was out of range or the resulted private key is invalid");o.privateKey=c}else{const c=We.fromHex(this.pubKey).add(We.fromPrivateKey(i));if(c.equals(We.ZERO))throw new Error("The tweak was equal to negative P, which made the result key invalid");o.publicKey=c.toRawBytes(!0)}return new pe(o)}catch{return this.deriveChild(t+1)}}sign(t){if(!this.privateKey)throw new Error("No privateKey set!");return G(t,32),W.sign(t,this.privKey).toCompactRawBytes()}verify(t,r){if(G(t,32),G(r,64),!this.publicKey)throw new Error("No publicKey set!");let n;try{n=W.Signature.fromCompact(r)}catch{return!1}return W.verify(n,t,this.publicKey)}wipePrivateData(){return this.privKey=void 0,this.privKeyBytes&&(this.privKeyBytes.fill(0),this.privKeyBytes=void 0),this}toJSON(){return{xpriv:this.privateExtendedKey,xpub:this.publicExtendedKey}}serialize(t,r){if(!this.chainCode)throw new Error("No chainCode set");return G(r,33),Ke(Xe(t),new Uint8Array([this.depth]),Xe(this.parentFingerprint),Xe(this.index),this.chainCode,r)}}function Ks(e){const{privateKey:t}=e,r=W.ProjectivePoint.fromPrivateKey(Pr(t).slice(2));return Fi(r)}function sn(e){return{derive:t=>sn(e.derive(t)),depth:e.depth,identifier:me(e.identifier),index:e.index,privateKey:me(e.privateKey),privateExtendedKey:e.privateExtendedKey,publicKey:Ks({privateKey:e.privateKey}),publicExtendedKey:e.publicExtendedKey,versions:e.versions}}function Ts(e,t={}){const{versions:r}=t,n=pe.fromMasterSeed(Fr(e),r);return sn(n)}function Fs(e={}){const{account:t=0,change:r=0,index:n=0}=e;return`m/44'/60'/${t}'/${r}/${n}`}function Rs(e,t,r,n){mr(e);const i=yn({dkLen:32,asyncTick:10},n),{c:s,dkLen:o,asyncTick:c}=i;if(be(s),be(o),be(c),s<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const a=Ce(t),f=Ce(r),h=new Uint8Array(o),d=Fe.create(e,a),l=d._cloneInto().update(f);return{c:s,dkLen:o,asyncTick:c,DK:h,PRF:d,PRFSalt:l}}function Ms(e,t,r,n,i){return e.destroy(),t.destroy(),n&&n.destroy(),i.fill(0),r}function qs(e,t,r,n){const{c:i,dkLen:s,DK:o,PRF:c,PRFSalt:a}=Rs(e,t,r,n);let f;const h=new Uint8Array(4),d=ge(h),l=new Uint8Array(c.outputLen);for(let p=1,m=0;mon("mnemonic"+e);function Gs(e,t=""){return qs(It,Vs(e).nfkd,Ds(t),{c:2048,dkLen:64})}function Zs(e,t={}){const{passphrase:r}=t,n=Ys(e,{passphrase:r});return Ts(n)}function Ys(e,t={}){const{passphrase:r}=t,n=Gs(e,r);return t.as==="Hex"?zi(n):n}const Ct=1e3,Oe=64,xt=Oe/2,J="gradient-avatar-",Ws=fn(["shrink-0 rounded-full overflow-hidden"],{variants:{size:{xs:"w-3 h-3",sm:"w-5 h-5",md:"w-8 h-8",lg:"w-10 h-10",xl:"w-[52px] h-[52px]"}},defaultVariants:{size:"md"}}),yt=(e,t=Ct)=>e%t/(Ct/Oe),Ie=(e,t=0)=>{let r=3735928559^t,n=1103547991^t;for(let i=0,s;i>>16,2246822507)^Math.imul(n^n>>>13,3266489909),n=Math.imul(n^n>>>16,2246822507)^Math.imul(r^r>>>13,3266489909),4294967296*(2097151&n)+(r>>>0)},Xs=(e,t,r)=>{const n=e%360,i=(e+120)%360,s=r%360;return{a:`hsl(${n}deg 100% 40%)`,b:`hsl(${i}deg 100% 50%)`,c:`hsl(${s}deg 100% 50%)`}},Js=(e,t)=>{const r=[];for(let n=0;n{const s=Oe/10+yt(n.r,Ct*1.5/(i+1));return{...Xs(n.a,n.b,n.c),x:yt(n.x),y:yt(n.y),r:s}})},et=qe.memo(e=>{const{className:t,address:r,size:n="md",complexity:i=1,...s}=e,o=Js(r,i),c=qe.useId();return L.jsxs("svg",{className:un(Ws({size:n}),t),viewBox:`0 0 ${Oe} ${Oe}`,version:"1.1",xmlns:"http://www.w3.org/2000/svg",...s,children:[L.jsxs("defs",{children:[L.jsx("clipPath",{id:`${J}circle-clip${c}`,children:L.jsx("circle",{cx:xt,cy:xt,r:xt})}),L.jsxs("filter",{id:`${J}blur-xs${c}`,x:"-10%",y:"-10%",width:"120%",height:"120%",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[L.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),L.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),L.jsx("feGaussianBlur",{stdDeviation:Oe/10,result:"effect1_foregroundBlur"})]}),L.jsxs("linearGradient",{id:`${J}background${c}`,x1:"0",y1:"0",x2:"1",y2:"1",children:[L.jsx("stop",{offset:"0",stopColor:o[0].c}),L.jsx("stop",{offset:"1",stopColor:o[0].a})]}),o.map((a,f)=>L.jsxs(qe.Fragment,{children:[L.jsxs("radialGradient",{id:`${J}primary${c}${f}`,children:[L.jsx("stop",{offset:"0",stopColor:a.a}),L.jsx("stop",{offset:"1",stopColor:a.b})]}),L.jsxs("radialGradient",{id:`${J}secondary${c}${f}`,children:[L.jsx("stop",{offset:"0",stopColor:a.c}),L.jsx("stop",{offset:"1",stopColor:a.b})]})]},f))]}),L.jsxs("g",{clipPath:`url(#${J}circle-clip${c})`,children:[L.jsx("rect",{width:"100%",height:"100%",fill:`url(#${J}background${c})`}),L.jsx("g",{filter:`url(#${J}blur-xs${c})`,children:o.map((a,f)=>L.jsxs(qe.Fragment,{children:[L.jsx("circle",{fill:`url(#${J}primary${c}${f})`,cx:a.x,cy:a.y,r:a.r}),L.jsx("circle",{fill:`url(#${J}secondary${c}${f})`,cx:a.y,cy:a.x,r:a.r/2})]},f))})]})]})});try{et.displayName="GradientAvatar",et.__docgenInfo={description:"",displayName:"GradientAvatar",props:{address:{defaultValue:null,description:"",name:"address",required:!0,type:{name:"string"}},initials:{defaultValue:null,description:"",name:"initials",required:!1,type:{name:"string"}},complexity:{defaultValue:null,description:"",name:"complexity",required:!1,type:{name:"number"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"sm" | "md" | "lg" | "xs" | "xl" | null'}}}}}catch{}const Qs="bulb cute board file buddy subway memory exercise busy repair foam item",po={title:"Components/GradientAvatar",component:et},Je={args:{address:"0x1234567890123456789012345678901234567890"}},eo=3,to=8,cn=[["0x8e3E38fe7367dd3b52D1e281E4e8400447C8d8B9","0x73F8E47dEe63002378E047fA74e6DFb24F88f496","0x9Cb019C2FfcD9E9BB83e269625a170179Ff3ECD0","0x9b436D9599FAc498e1e0Ab4D48cDFC72922a6F1e","0x9aB58Bda3eeCbF391a17592ed7626727b922a18f","0x468E8e29F6cfb0F6b7ff10ec6A1AB516ec849c04","0x450cB9fbB2D44d166AACA1f6cDb1dBd9Ff168e4C","0x88cc3E896C4C178AB98333dCD29C33d2cc2102A8"],["0x8e3E38fe7367dd3b52D1e281E4e8400447C8d8Bx","0x73F8E47dEe63002378E047fA74e6DFb24F88f49x","0x9Cb019C2FfcD9E9BB83e269625a170179Ff3ECDx","0x9b436D9599FAc498e1e0Ab4D48cDFC72922a6F1x","0x9aB58Bda3eeCbF391a17592ed7626727b922a18x","0x468E8e29F6cfb0F6b7ff10ec6A1AB516ec849c0x","0x450cB9fbB2D44d166AACA1f6cDb1dBd9Ff168e4x","0x88cc3E896C4C178AB98333dCD29C33d2cc2102Ax"]],ro=(e,t,r)=>{const{publicKey:n}=Zs(e).derive(Fs({account:t,change:r})),i=Wi(n);return Rt(i)};for(let e=0;eL.jsxs(L.Fragment,{children:[L.jsx(an,{variant:"normal",color:"primary",fontWeight:"bold",asChild:!0,children:L.jsx("div",{children:"SVG"})}),L.jsx("div",{className:"flex flex-col gap-4",children:cn.map((e,t)=>L.jsx("div",{className:"flex gap-4",children:e.map(r=>L.jsx(et,{address:r,size:"xl"},r))},t))})]});var hr,pr,br;Je.parameters={...Je.parameters,docs:{...(hr=Je.parameters)==null?void 0:hr.docs,source:{originalSource:`{ args: { address: '0x1234567890123456789012345678901234567890' diff --git a/assets/Icon.stories-BN4MVxC-.js b/assets/Icon.stories-C0fvkfeJ.js similarity index 68% rename from assets/Icon.stories-BN4MVxC-.js rename to assets/Icon.stories-C0fvkfeJ.js index 22029b79a..f3dc7cde2 100644 --- a/assets/Icon.stories-BN4MVxC-.js +++ b/assets/Icon.stories-C0fvkfeJ.js @@ -1,4 +1,4 @@ -import{e as o}from"./WarningIcon-C-Bue-nz.js";import"./jsx-runtime-z8MfsBtr.js";import"./index-C9rmetsa.js";import"./classnames-Dx2cly0x.js";import"./clsx-B-dksMZM.js";import"./index-DKHC-OhD.js";const d={title:"Components/Icons",component:o},r={args:{className:"text-primary",size:"md"}};var e,t,s;r.parameters={...r.parameters,docs:{...(e=r.parameters)==null?void 0:e.docs,source:{originalSource:`{ +import{e as o}from"./WarningIcon-Z1cZGh4-.js";import"./jsx-runtime-Cf8x2fCZ.js";import"./index-yBjzXJbu.js";import"./classnames-Dx2cly0x.js";import"./clsx-B-dksMZM.js";import"./index-Dp3B9jqt.js";const d={title:"Components/Icons",component:o},r={args:{className:"text-primary",size:"md"}};var e,t,s;r.parameters={...r.parameters,docs:{...(e=r.parameters)==null?void 0:e.docs,source:{originalSource:`{ args: { className: 'text-primary', size: 'md' diff --git a/assets/IconButton-M16ADBdN.js b/assets/IconButton-tt72d-YU.js similarity index 82% rename from assets/IconButton-M16ADBdN.js rename to assets/IconButton-tt72d-YU.js index 342728477..e0cc2c9c8 100644 --- a/assets/IconButton-M16ADBdN.js +++ b/assets/IconButton-tt72d-YU.js @@ -1 +1 @@ -import{j as o}from"./jsx-runtime-z8MfsBtr.js";import{r as i}from"./index-D1TSixAU.js";import{B as s}from"./Button-e99vAgb9.js";const a=i.forwardRef((e,n)=>{const{icon:t,size:r="md",...l}=e;return o.jsx(s,{leftIcon:t,size:r,ref:n,...l})});try{a.displayName="IconButton",a.__docgenInfo={description:"",displayName:"IconButton",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},pending:{defaultValue:null,description:"",name:"pending",required:!1,type:{name:"boolean"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xs"'}]}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:'"text" | "primary" | "base" | "ghost" | "feature" | "glass" | "emphasis" | "raised" | "danger" | null'}},icon:{defaultValue:null,description:"",name:"icon",required:!0,type:{name:"ComponentType"}}}}}catch{}export{a as I}; +import{j as o}from"./jsx-runtime-Cf8x2fCZ.js";import{r as i}from"./index-DubqEmGm.js";import{B as s}from"./Button-CJ_2iam3.js";const a=i.forwardRef((e,n)=>{const{icon:t,size:r="md",...l}=e;return o.jsx(s,{leftIcon:t,size:r,ref:n,...l})});try{a.displayName="IconButton",a.__docgenInfo={description:"",displayName:"IconButton",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},pending:{defaultValue:null,description:"",name:"pending",required:!1,type:{name:"boolean"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xs"'}]}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:'"primary" | "text" | "base" | "ghost" | "feature" | "glass" | "emphasis" | "raised" | "danger" | null'}},icon:{defaultValue:null,description:"",name:"icon",required:!0,type:{name:"ComponentType"}}}}}catch{}export{a as I}; diff --git a/assets/IconButton.stories-D5ifWW6r.js b/assets/IconButton.stories-DuhcIAQW.js similarity index 70% rename from assets/IconButton.stories-D5ifWW6r.js rename to assets/IconButton.stories-DuhcIAQW.js index 30626da4f..d4ae27697 100644 --- a/assets/IconButton.stories-D5ifWW6r.js +++ b/assets/IconButton.stories-DuhcIAQW.js @@ -1,4 +1,4 @@ -import{j as m}from"./jsx-runtime-z8MfsBtr.js";import{a as c}from"./WarningIcon-C-Bue-nz.js";import{I as l}from"./IconButton-M16ADBdN.js";import"./index-C9rmetsa.js";import"./classnames-Dx2cly0x.js";import"./clsx-B-dksMZM.js";import"./index-DKHC-OhD.js";import"./index-D1TSixAU.js";import"./Button-e99vAgb9.js";import"./index-DEvaI7vP.js";import"./Text-DiY0ipGE.js";const C={title:"Components/IconButton",component:l},o={args:{icon:c,disabled:!1,size:"md",onClick:()=>console.log("ouch!"),variant:"raised"}},r={args:{icon:c,size:"md",asChild:!0,children:m.jsx("a",{href:"/wallet"})}};var t,e,s;o.parameters={...o.parameters,docs:{...(t=o.parameters)==null?void 0:t.docs,source:{originalSource:`{ +import{j as m}from"./jsx-runtime-Cf8x2fCZ.js";import{a as c}from"./WarningIcon-Z1cZGh4-.js";import{I as l}from"./IconButton-tt72d-YU.js";import"./index-yBjzXJbu.js";import"./classnames-Dx2cly0x.js";import"./clsx-B-dksMZM.js";import"./index-Dp3B9jqt.js";import"./index-DubqEmGm.js";import"./Button-CJ_2iam3.js";import"./index-BkTKsPvT.js";import"./Text-c-Dt_3pd.js";const C={title:"Components/IconButton",component:l},o={args:{icon:c,disabled:!1,size:"md",onClick:()=>console.log("ouch!"),variant:"raised"}},r={args:{icon:c,size:"md",asChild:!0,children:m.jsx("a",{href:"/wallet"})}};var t,e,s;o.parameters={...o.parameters,docs:{...(t=o.parameters)==null?void 0:t.docs,source:{originalSource:`{ args: { icon: ArrowRightIcon, disabled: false, diff --git a/assets/Iconography-QyRnV4ha.js b/assets/Iconography-UBAOWVH4.js similarity index 76% rename from assets/Iconography-QyRnV4ha.js rename to assets/Iconography-UBAOWVH4.js index 2edf30b6b..339587e99 100644 --- a/assets/Iconography-QyRnV4ha.js +++ b/assets/Iconography-UBAOWVH4.js @@ -1,4 +1,4 @@ -import{j as o}from"./jsx-runtime-z8MfsBtr.js";import{useMDXComponents as I}from"./index-CrPz3I2A.js";import"./index-Dzx0UDTo.js";import{T as r}from"./ThemeProvider-CHaDE3bZ.js";import{i as t,j as g,k as i,l as S,a as v,m as l,b as p,f as d,n as m,o as h,p as C,d as u,q as D,r as x,s as y,t as M,u as f,v as k,w,x as j,y as b,z as T,A as E,B as G,C as R,D as A,E as L,F as P,G as H,H as W,I as _,J as N,K as U,L as F,M as O,N as X,O as q,P as B,Q as K,R as Q,T as V,U as z,V as J,W as Y,X as Z,Y as $,Z as oo,_ as no,$ as co,a0 as ao,a1 as eo,a2 as Io,a3 as so,h as ro,a4 as to,a5 as go,a6 as io,a7 as So,S as vo,c as lo,a8 as po,a9 as mo,e as ho,aa as Co,ab as uo,ac as Do,ad as xo,ae as yo,af as Mo,g as fo,ag as ko,ah as wo,ai as jo,aj as bo,ak as To,al as Eo,am as Go,an as Ro}from"./WarningIcon-C-Bue-nz.js";import{M as Ao,I as Lo,e as Po}from"./DocsRenderer-CFRXHY34-jNd1DwDx.js";import"./index-C9rmetsa.js";import"./index-D1TSixAU.js";import"./preview-shdZu16F.js";import"./iframe-CqSFuqlf.js";import"./color-CiP8tUik.js";import"./classnames-Dx2cly0x.js";import"./clsx-B-dksMZM.js";import"./index-DKHC-OhD.js";import"./index-BWPEG51O.js";import"./index-Dcf1nc42.js";import"./index-D2m0ySOf.js";import"./index-Brs1icLk.js";import"./index-ogSvIofg.js";import"./react-18-Bd5J0FWG.js";const Ho=Object.freeze(Object.defineProperty({__proto__:null,AddIcon:t,AirDropperIcon:g,AppleIcon:i,ArrowDownIcon:S,ArrowRightIcon:v,BridgeIcon:l,CheckmarkIcon:p,ChevronDownIcon:d,ChevronLeftIcon:m,ChevronRightIcon:h,ChevronUpIcon:C,CloseIcon:u,CollaboratorsIcon:D,ContactsIcon:x,ContextMenuIcon:y,ContractIcon:M,CopyIcon:f,CurrencyIcon:k,DashedCircleIcon:w,DeployIcon:j,DeviceIcon:b,DiscordIcon:T,DocsIcon:E,DotIcon:G,DownloadIcon:R,DragIcon:A,EditIcon:L,EllipsisIcon:P,EmailIcon:H,ExpandIcon:W,ExternalLinkIcon:_,FacebookIcon:N,GasTankIcon:U,GearIcon:F,GlobeIcon:O,GoogleIcon:X,GridIcon:q,HelpIcon:B,HiddenIcon:K,HomeIcon:Q,IndexerIcon:V,KeyIcon:z,LinkIcon:J,ListIcon:Y,MarketplaceIcon:Z,MarketplacesIcon:$,MenuIcon:oo,MinterIcon:no,MoonIcon:co,NetworkIcon:ao,NodeIcon:eo,PaymentsIcon:Io,PinIcon:so,ProfileIcon:ro,QrCodeIcon:to,ReceiveIcon:go,RefreshIcon:io,RelayerIcon:So,ScanIcon:vo,SearchIcon:lo,SendIcon:po,SequenceIcon:mo,SettingsIcon:ho,ShareIcon:Co,ShieldIcon:uo,SignoutIcon:Do,SubtractIcon:xo,SunIcon:yo,SwapIcon:Mo,TransactionIcon:fo,TransactionsIcon:ko,TrashIcon:wo,TwitchIcon:jo,UploadIcon:bo,VisibleIcon:To,WalletConnectIcon:Eo,WalletIcon:Go,WarningIcon:Ro},Symbol.toStringTag,{value:"Module"}));function e(n){const c={h1:"h1",p:"p",...I(),...n.components};return o.jsxs(o.Fragment,{children:[o.jsx(Ao,{title:"Design System/Iconography"}),` +import{j as o}from"./jsx-runtime-Cf8x2fCZ.js";import{useMDXComponents as I}from"./index-s_7BDCjm.js";import"./index-BH4yqkGc.js";import{T as r}from"./ThemeProvider-BFEsm4Z9.js";import{i as t,j as g,k as i,l as S,a as v,m as l,b as p,f as d,n as m,o as h,p as C,d as u,q as D,r as x,s as y,t as M,u as f,v as k,w,x as j,y as b,z as T,A as E,B as G,C as R,D as A,E as L,F as P,G as H,H as W,I as _,J as N,K as U,L as F,M as O,N as X,O as q,P as B,Q as K,R as Q,T as V,U as z,V as J,W as Y,X as Z,Y as $,Z as oo,_ as no,$ as co,a0 as ao,a1 as eo,a2 as Io,a3 as so,h as ro,a4 as to,a5 as go,a6 as io,a7 as So,S as vo,c as lo,a8 as po,a9 as mo,e as ho,aa as Co,ab as uo,ac as Do,ad as xo,ae as yo,af as Mo,g as fo,ag as ko,ah as wo,ai as jo,aj as bo,ak as To,al as Eo,am as Go,an as Ro}from"./WarningIcon-Z1cZGh4-.js";import{M as Ao,I as Lo,e as Po}from"./DocsRenderer-CFRXHY34-ByjBGumv.js";import"./index-yBjzXJbu.js";import"./index-DubqEmGm.js";import"./preview-58RC1v3k.js";import"./iframe-DBaV6xvg.js";import"./color-CiP8tUik.js";import"./classnames-Dx2cly0x.js";import"./clsx-B-dksMZM.js";import"./index-Dp3B9jqt.js";import"./index-BQhnwxuj.js";import"./index-e5epXPAg.js";import"./index-fNjTmf9T.js";import"./index-CXQShRbs.js";import"./index-DrFu-skq.js";import"./react-18-DbvqzeU0.js";const Ho=Object.freeze(Object.defineProperty({__proto__:null,AddIcon:t,AirDropperIcon:g,AppleIcon:i,ArrowDownIcon:S,ArrowRightIcon:v,BridgeIcon:l,CheckmarkIcon:p,ChevronDownIcon:d,ChevronLeftIcon:m,ChevronRightIcon:h,ChevronUpIcon:C,CloseIcon:u,CollaboratorsIcon:D,ContactsIcon:x,ContextMenuIcon:y,ContractIcon:M,CopyIcon:f,CurrencyIcon:k,DashedCircleIcon:w,DeployIcon:j,DeviceIcon:b,DiscordIcon:T,DocsIcon:E,DotIcon:G,DownloadIcon:R,DragIcon:A,EditIcon:L,EllipsisIcon:P,EmailIcon:H,ExpandIcon:W,ExternalLinkIcon:_,FacebookIcon:N,GasTankIcon:U,GearIcon:F,GlobeIcon:O,GoogleIcon:X,GridIcon:q,HelpIcon:B,HiddenIcon:K,HomeIcon:Q,IndexerIcon:V,KeyIcon:z,LinkIcon:J,ListIcon:Y,MarketplaceIcon:Z,MarketplacesIcon:$,MenuIcon:oo,MinterIcon:no,MoonIcon:co,NetworkIcon:ao,NodeIcon:eo,PaymentsIcon:Io,PinIcon:so,ProfileIcon:ro,QrCodeIcon:to,ReceiveIcon:go,RefreshIcon:io,RelayerIcon:So,ScanIcon:vo,SearchIcon:lo,SendIcon:po,SequenceIcon:mo,SettingsIcon:ho,ShareIcon:Co,ShieldIcon:uo,SignoutIcon:Do,SubtractIcon:xo,SunIcon:yo,SwapIcon:Mo,TransactionIcon:fo,TransactionsIcon:ko,TrashIcon:wo,TwitchIcon:jo,UploadIcon:bo,VisibleIcon:To,WalletConnectIcon:Eo,WalletIcon:Go,WarningIcon:Ro},Symbol.toStringTag,{value:"Module"}));function e(n){const c={h1:"h1",p:"p",...I(),...n.components};return o.jsxs(o.Fragment,{children:[o.jsx(Ao,{title:"Design System/Iconography"}),` `,o.jsx(c.h1,{id:"iconography",children:"Iconography"}),` `,o.jsx(c.p,{children:"Collection of icons used in the design system."}),` `,o.jsx(r,{theme:"light",children:o.jsx(Lo,{children:Object.entries(Ho).map(([a,s])=>o.jsx(Po,{name:a,children:o.jsx(s,{})},a))})})]})}function an(n={}){const{wrapper:c}={...I(),...n.components};return c?o.jsx(c,{...n,children:o.jsx(e,{...n})}):e(n)}export{an as default}; diff --git a/assets/Image-BYRrYa8a.js b/assets/Image-BYRrYa8a.js new file mode 100644 index 000000000..65790d009 --- /dev/null +++ b/assets/Image-BYRrYa8a.js @@ -0,0 +1 @@ +import{j as m}from"./jsx-runtime-Cf8x2fCZ.js";import{r as s}from"./index-DubqEmGm.js";import{m as p}from"./proxy-71i4uxHe.js";const l=n=>{const{disableAnimation:e=!1,onLoad:a,className:t,...r}=n,[u,i]=s.useState(!1),d=o=>{i(!0),a==null||a(o)};return m.jsx(p.img,{className:t,initial:e?void 0:{opacity:0},animate:e?void 0:{opacity:u?1:0},transition:{duration:.2},onLoad:e?void 0:d,...r})};try{l.displayName="Image",l.__docgenInfo={description:"",displayName:"Image",props:{disableAnimation:{defaultValue:null,description:"",name:"disableAnimation",required:!1,type:{name:"boolean"}},color:{defaultValue:null,description:"",name:"color",required:!1,type:{name:"string"}},hidden:{defaultValue:null,description:"",name:"hidden",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"LegacyRef"}},defaultChecked:{defaultValue:null,description:"",name:"defaultChecked",required:!1,type:{name:"boolean"}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"string | number | readonly string[]"}},suppressContentEditableWarning:{defaultValue:null,description:"",name:"suppressContentEditableWarning",required:!1,type:{name:"boolean"}},suppressHydrationWarning:{defaultValue:null,description:"",name:"suppressHydrationWarning",required:!1,type:{name:"boolean"}},accessKey:{defaultValue:null,description:"",name:"accessKey",required:!1,type:{name:"string"}},autoCapitalize:{defaultValue:null,description:"",name:"autoCapitalize",required:!1,type:{name:'"off" | "none" | "on" | "sentences" | "words" | "characters" | (string & {})'}},autoFocus:{defaultValue:null,description:"",name:"autoFocus",required:!1,type:{name:"boolean"}},contentEditable:{defaultValue:null,description:"",name:"contentEditable",required:!1,type:{name:'"inherit" | Booleanish | "plaintext-only"'}},contextMenu:{defaultValue:null,description:"",name:"contextMenu",required:!1,type:{name:"string"}},dir:{defaultValue:null,description:"",name:"dir",required:!1,type:{name:"string"}},draggable:{defaultValue:null,description:"",name:"draggable",required:!1,type:{name:"Booleanish"}},enterKeyHint:{defaultValue:null,description:"",name:"enterKeyHint",required:!1,type:{name:"enum",value:[{value:'"enter"'},{value:'"done"'},{value:'"go"'},{value:'"next"'},{value:'"previous"'},{value:'"search"'},{value:'"send"'}]}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},lang:{defaultValue:null,description:"",name:"lang",required:!1,type:{name:"string"}},nonce:{defaultValue:null,description:"",name:"nonce",required:!1,type:{name:"string"}},slot:{defaultValue:null,description:"",name:"slot",required:!1,type:{name:"string"}},spellCheck:{defaultValue:null,description:"",name:"spellCheck",required:!1,type:{name:"Booleanish"}},tabIndex:{defaultValue:null,description:"",name:"tabIndex",required:!1,type:{name:"number"}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},translate:{defaultValue:null,description:"",name:"translate",required:!1,type:{name:"enum",value:[{value:'"yes"'},{value:'"no"'}]}},radioGroup:{defaultValue:null,description:"",name:"radioGroup",required:!1,type:{name:"string"}},role:{defaultValue:null,description:"",name:"role",required:!1,type:{name:"AriaRole"}},about:{defaultValue:null,description:"",name:"about",required:!1,type:{name:"string"}},content:{defaultValue:null,description:"",name:"content",required:!1,type:{name:"string"}},datatype:{defaultValue:null,description:"",name:"datatype",required:!1,type:{name:"string"}},inlist:{defaultValue:null,description:"",name:"inlist",required:!1,type:{name:"any"}},prefix:{defaultValue:null,description:"",name:"prefix",required:!1,type:{name:"string"}},property:{defaultValue:null,description:"",name:"property",required:!1,type:{name:"string"}},rel:{defaultValue:null,description:"",name:"rel",required:!1,type:{name:"string"}},resource:{defaultValue:null,description:"",name:"resource",required:!1,type:{name:"string"}},rev:{defaultValue:null,description:"",name:"rev",required:!1,type:{name:"string"}},typeof:{defaultValue:null,description:"",name:"typeof",required:!1,type:{name:"string"}},vocab:{defaultValue:null,description:"",name:"vocab",required:!1,type:{name:"string"}},autoCorrect:{defaultValue:null,description:"",name:"autoCorrect",required:!1,type:{name:"string"}},autoSave:{defaultValue:null,description:"",name:"autoSave",required:!1,type:{name:"string"}},itemProp:{defaultValue:null,description:"",name:"itemProp",required:!1,type:{name:"string"}},itemScope:{defaultValue:null,description:"",name:"itemScope",required:!1,type:{name:"boolean"}},itemType:{defaultValue:null,description:"",name:"itemType",required:!1,type:{name:"string"}},itemID:{defaultValue:null,description:"",name:"itemID",required:!1,type:{name:"string"}},itemRef:{defaultValue:null,description:"",name:"itemRef",required:!1,type:{name:"string"}},results:{defaultValue:null,description:"",name:"results",required:!1,type:{name:"number"}},security:{defaultValue:null,description:"",name:"security",required:!1,type:{name:"string"}},unselectable:{defaultValue:null,description:"",name:"unselectable",required:!1,type:{name:"enum",value:[{value:'"off"'},{value:'"on"'}]}},inputMode:{defaultValue:null,description:"",name:"inputMode",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"search"'},{value:'"text"'},{value:'"tel"'},{value:'"url"'},{value:'"email"'},{value:'"numeric"'},{value:'"decimal"'}]}},is:{defaultValue:null,description:"",name:"is",required:!1,type:{name:"string"}},"aria-activedescendant":{defaultValue:null,description:"",name:"aria-activedescendant",required:!1,type:{name:"string"}},"aria-atomic":{defaultValue:null,description:"",name:"aria-atomic",required:!1,type:{name:"Booleanish"}},"aria-autocomplete":{defaultValue:null,description:"",name:"aria-autocomplete",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"list"'},{value:'"inline"'},{value:'"both"'}]}},"aria-braillelabel":{defaultValue:null,description:"",name:"aria-braillelabel",required:!1,type:{name:"string"}},"aria-brailleroledescription":{defaultValue:null,description:"",name:"aria-brailleroledescription",required:!1,type:{name:"string"}},"aria-busy":{defaultValue:null,description:"",name:"aria-busy",required:!1,type:{name:"Booleanish"}},"aria-checked":{defaultValue:null,description:"",name:"aria-checked",required:!1,type:{name:'boolean | "true" | "false" | "mixed"'}},"aria-colcount":{defaultValue:null,description:"",name:"aria-colcount",required:!1,type:{name:"number"}},"aria-colindex":{defaultValue:null,description:"",name:"aria-colindex",required:!1,type:{name:"number"}},"aria-colindextext":{defaultValue:null,description:"",name:"aria-colindextext",required:!1,type:{name:"string"}},"aria-colspan":{defaultValue:null,description:"",name:"aria-colspan",required:!1,type:{name:"number"}},"aria-controls":{defaultValue:null,description:"",name:"aria-controls",required:!1,type:{name:"string"}},"aria-current":{defaultValue:null,description:"",name:"aria-current",required:!1,type:{name:'boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time"'}},"aria-describedby":{defaultValue:null,description:"",name:"aria-describedby",required:!1,type:{name:"string"}},"aria-description":{defaultValue:null,description:"",name:"aria-description",required:!1,type:{name:"string"}},"aria-details":{defaultValue:null,description:"",name:"aria-details",required:!1,type:{name:"string"}},"aria-disabled":{defaultValue:null,description:"",name:"aria-disabled",required:!1,type:{name:"Booleanish"}},"aria-dropeffect":{defaultValue:null,description:"",name:"aria-dropeffect",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"link"'},{value:'"copy"'},{value:'"execute"'},{value:'"move"'},{value:'"popup"'}]}},"aria-errormessage":{defaultValue:null,description:"",name:"aria-errormessage",required:!1,type:{name:"string"}},"aria-expanded":{defaultValue:null,description:"",name:"aria-expanded",required:!1,type:{name:"Booleanish"}},"aria-flowto":{defaultValue:null,description:"",name:"aria-flowto",required:!1,type:{name:"string"}},"aria-grabbed":{defaultValue:null,description:"",name:"aria-grabbed",required:!1,type:{name:"Booleanish"}},"aria-haspopup":{defaultValue:null,description:"",name:"aria-haspopup",required:!1,type:{name:'boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree"'}},"aria-hidden":{defaultValue:null,description:"",name:"aria-hidden",required:!1,type:{name:"Booleanish"}},"aria-invalid":{defaultValue:null,description:"",name:"aria-invalid",required:!1,type:{name:'boolean | "true" | "false" | "grammar" | "spelling"'}},"aria-keyshortcuts":{defaultValue:null,description:"",name:"aria-keyshortcuts",required:!1,type:{name:"string"}},"aria-label":{defaultValue:null,description:"",name:"aria-label",required:!1,type:{name:"string"}},"aria-labelledby":{defaultValue:null,description:"",name:"aria-labelledby",required:!1,type:{name:"string"}},"aria-level":{defaultValue:null,description:"",name:"aria-level",required:!1,type:{name:"number"}},"aria-live":{defaultValue:null,description:"",name:"aria-live",required:!1,type:{name:"enum",value:[{value:'"off"'},{value:'"assertive"'},{value:'"polite"'}]}},"aria-modal":{defaultValue:null,description:"",name:"aria-modal",required:!1,type:{name:"Booleanish"}},"aria-multiline":{defaultValue:null,description:"",name:"aria-multiline",required:!1,type:{name:"Booleanish"}},"aria-multiselectable":{defaultValue:null,description:"",name:"aria-multiselectable",required:!1,type:{name:"Booleanish"}},"aria-orientation":{defaultValue:null,description:"",name:"aria-orientation",required:!1,type:{name:"enum",value:[{value:'"horizontal"'},{value:'"vertical"'}]}},"aria-owns":{defaultValue:null,description:"",name:"aria-owns",required:!1,type:{name:"string"}},"aria-placeholder":{defaultValue:null,description:"",name:"aria-placeholder",required:!1,type:{name:"string"}},"aria-posinset":{defaultValue:null,description:"",name:"aria-posinset",required:!1,type:{name:"number"}},"aria-pressed":{defaultValue:null,description:"",name:"aria-pressed",required:!1,type:{name:'boolean | "true" | "false" | "mixed"'}},"aria-readonly":{defaultValue:null,description:"",name:"aria-readonly",required:!1,type:{name:"Booleanish"}},"aria-relevant":{defaultValue:null,description:"",name:"aria-relevant",required:!1,type:{name:"enum",value:[{value:'"text"'},{value:'"additions"'},{value:'"additions removals"'},{value:'"additions text"'},{value:'"all"'},{value:'"removals"'},{value:'"removals additions"'},{value:'"removals text"'},{value:'"text additions"'},{value:'"text removals"'}]}},"aria-required":{defaultValue:null,description:"",name:"aria-required",required:!1,type:{name:"Booleanish"}},"aria-roledescription":{defaultValue:null,description:"",name:"aria-roledescription",required:!1,type:{name:"string"}},"aria-rowcount":{defaultValue:null,description:"",name:"aria-rowcount",required:!1,type:{name:"number"}},"aria-rowindex":{defaultValue:null,description:"",name:"aria-rowindex",required:!1,type:{name:"number"}},"aria-rowindextext":{defaultValue:null,description:"",name:"aria-rowindextext",required:!1,type:{name:"string"}},"aria-rowspan":{defaultValue:null,description:"",name:"aria-rowspan",required:!1,type:{name:"number"}},"aria-selected":{defaultValue:null,description:"",name:"aria-selected",required:!1,type:{name:"Booleanish"}},"aria-setsize":{defaultValue:null,description:"",name:"aria-setsize",required:!1,type:{name:"number"}},"aria-sort":{defaultValue:null,description:"",name:"aria-sort",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"ascending"'},{value:'"descending"'},{value:'"other"'}]}},"aria-valuemax":{defaultValue:null,description:"",name:"aria-valuemax",required:!1,type:{name:"number"}},"aria-valuemin":{defaultValue:null,description:"",name:"aria-valuemin",required:!1,type:{name:"number"}},"aria-valuenow":{defaultValue:null,description:"",name:"aria-valuenow",required:!1,type:{name:"number"}},"aria-valuetext":{defaultValue:null,description:"",name:"aria-valuetext",required:!1,type:{name:"string"}},dangerouslySetInnerHTML:{defaultValue:null,description:"",name:"dangerouslySetInnerHTML",required:!1,type:{name:"{ __html: string | TrustedHTML; }"}},onCopy:{defaultValue:null,description:"",name:"onCopy",required:!1,type:{name:"ClipboardEventHandler"}},onCopyCapture:{defaultValue:null,description:"",name:"onCopyCapture",required:!1,type:{name:"ClipboardEventHandler"}},onCut:{defaultValue:null,description:"",name:"onCut",required:!1,type:{name:"ClipboardEventHandler"}},onCutCapture:{defaultValue:null,description:"",name:"onCutCapture",required:!1,type:{name:"ClipboardEventHandler"}},onPaste:{defaultValue:null,description:"",name:"onPaste",required:!1,type:{name:"ClipboardEventHandler"}},onPasteCapture:{defaultValue:null,description:"",name:"onPasteCapture",required:!1,type:{name:"ClipboardEventHandler"}},onCompositionEnd:{defaultValue:null,description:"",name:"onCompositionEnd",required:!1,type:{name:"CompositionEventHandler"}},onCompositionEndCapture:{defaultValue:null,description:"",name:"onCompositionEndCapture",required:!1,type:{name:"CompositionEventHandler"}},onCompositionStart:{defaultValue:null,description:"",name:"onCompositionStart",required:!1,type:{name:"CompositionEventHandler"}},onCompositionStartCapture:{defaultValue:null,description:"",name:"onCompositionStartCapture",required:!1,type:{name:"CompositionEventHandler"}},onCompositionUpdate:{defaultValue:null,description:"",name:"onCompositionUpdate",required:!1,type:{name:"CompositionEventHandler"}},onCompositionUpdateCapture:{defaultValue:null,description:"",name:"onCompositionUpdateCapture",required:!1,type:{name:"CompositionEventHandler"}},onFocus:{defaultValue:null,description:"",name:"onFocus",required:!1,type:{name:"FocusEventHandler"}},onFocusCapture:{defaultValue:null,description:"",name:"onFocusCapture",required:!1,type:{name:"FocusEventHandler"}},onBlur:{defaultValue:null,description:"",name:"onBlur",required:!1,type:{name:"FocusEventHandler"}},onBlurCapture:{defaultValue:null,description:"",name:"onBlurCapture",required:!1,type:{name:"FocusEventHandler"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"FormEventHandler"}},onChangeCapture:{defaultValue:null,description:"",name:"onChangeCapture",required:!1,type:{name:"FormEventHandler"}},onBeforeInput:{defaultValue:null,description:"",name:"onBeforeInput",required:!1,type:{name:"FormEventHandler"}},onBeforeInputCapture:{defaultValue:null,description:"",name:"onBeforeInputCapture",required:!1,type:{name:"FormEventHandler"}},onInput:{defaultValue:null,description:"",name:"onInput",required:!1,type:{name:"FormEventHandler"}},onInputCapture:{defaultValue:null,description:"",name:"onInputCapture",required:!1,type:{name:"FormEventHandler"}},onReset:{defaultValue:null,description:"",name:"onReset",required:!1,type:{name:"FormEventHandler"}},onResetCapture:{defaultValue:null,description:"",name:"onResetCapture",required:!1,type:{name:"FormEventHandler"}},onSubmit:{defaultValue:null,description:"",name:"onSubmit",required:!1,type:{name:"FormEventHandler"}},onSubmitCapture:{defaultValue:null,description:"",name:"onSubmitCapture",required:!1,type:{name:"FormEventHandler"}},onInvalid:{defaultValue:null,description:"",name:"onInvalid",required:!1,type:{name:"FormEventHandler"}},onInvalidCapture:{defaultValue:null,description:"",name:"onInvalidCapture",required:!1,type:{name:"FormEventHandler"}},onLoad:{defaultValue:null,description:"",name:"onLoad",required:!1,type:{name:"ReactEventHandler"}},onLoadCapture:{defaultValue:null,description:"",name:"onLoadCapture",required:!1,type:{name:"ReactEventHandler"}},onError:{defaultValue:null,description:"",name:"onError",required:!1,type:{name:"ReactEventHandler"}},onErrorCapture:{defaultValue:null,description:"",name:"onErrorCapture",required:!1,type:{name:"ReactEventHandler"}},onKeyDown:{defaultValue:null,description:"",name:"onKeyDown",required:!1,type:{name:"KeyboardEventHandler"}},onKeyDownCapture:{defaultValue:null,description:"",name:"onKeyDownCapture",required:!1,type:{name:"KeyboardEventHandler"}},onKeyPress:{defaultValue:null,description:"",name:"onKeyPress",required:!1,type:{name:"KeyboardEventHandler"}},onKeyPressCapture:{defaultValue:null,description:"",name:"onKeyPressCapture",required:!1,type:{name:"KeyboardEventHandler"}},onKeyUp:{defaultValue:null,description:"",name:"onKeyUp",required:!1,type:{name:"KeyboardEventHandler"}},onKeyUpCapture:{defaultValue:null,description:"",name:"onKeyUpCapture",required:!1,type:{name:"KeyboardEventHandler"}},onAbort:{defaultValue:null,description:"",name:"onAbort",required:!1,type:{name:"ReactEventHandler"}},onAbortCapture:{defaultValue:null,description:"",name:"onAbortCapture",required:!1,type:{name:"ReactEventHandler"}},onCanPlay:{defaultValue:null,description:"",name:"onCanPlay",required:!1,type:{name:"ReactEventHandler"}},onCanPlayCapture:{defaultValue:null,description:"",name:"onCanPlayCapture",required:!1,type:{name:"ReactEventHandler"}},onCanPlayThrough:{defaultValue:null,description:"",name:"onCanPlayThrough",required:!1,type:{name:"ReactEventHandler"}},onCanPlayThroughCapture:{defaultValue:null,description:"",name:"onCanPlayThroughCapture",required:!1,type:{name:"ReactEventHandler"}},onDurationChange:{defaultValue:null,description:"",name:"onDurationChange",required:!1,type:{name:"ReactEventHandler"}},onDurationChangeCapture:{defaultValue:null,description:"",name:"onDurationChangeCapture",required:!1,type:{name:"ReactEventHandler"}},onEmptied:{defaultValue:null,description:"",name:"onEmptied",required:!1,type:{name:"ReactEventHandler"}},onEmptiedCapture:{defaultValue:null,description:"",name:"onEmptiedCapture",required:!1,type:{name:"ReactEventHandler"}},onEncrypted:{defaultValue:null,description:"",name:"onEncrypted",required:!1,type:{name:"ReactEventHandler"}},onEncryptedCapture:{defaultValue:null,description:"",name:"onEncryptedCapture",required:!1,type:{name:"ReactEventHandler"}},onEnded:{defaultValue:null,description:"",name:"onEnded",required:!1,type:{name:"ReactEventHandler"}},onEndedCapture:{defaultValue:null,description:"",name:"onEndedCapture",required:!1,type:{name:"ReactEventHandler"}},onLoadedData:{defaultValue:null,description:"",name:"onLoadedData",required:!1,type:{name:"ReactEventHandler"}},onLoadedDataCapture:{defaultValue:null,description:"",name:"onLoadedDataCapture",required:!1,type:{name:"ReactEventHandler"}},onLoadedMetadata:{defaultValue:null,description:"",name:"onLoadedMetadata",required:!1,type:{name:"ReactEventHandler"}},onLoadedMetadataCapture:{defaultValue:null,description:"",name:"onLoadedMetadataCapture",required:!1,type:{name:"ReactEventHandler"}},onLoadStart:{defaultValue:null,description:"",name:"onLoadStart",required:!1,type:{name:"ReactEventHandler"}},onLoadStartCapture:{defaultValue:null,description:"",name:"onLoadStartCapture",required:!1,type:{name:"ReactEventHandler"}},onPause:{defaultValue:null,description:"",name:"onPause",required:!1,type:{name:"ReactEventHandler"}},onPauseCapture:{defaultValue:null,description:"",name:"onPauseCapture",required:!1,type:{name:"ReactEventHandler"}},onPlay:{defaultValue:null,description:"",name:"onPlay",required:!1,type:{name:"ReactEventHandler"}},onPlayCapture:{defaultValue:null,description:"",name:"onPlayCapture",required:!1,type:{name:"ReactEventHandler"}},onPlaying:{defaultValue:null,description:"",name:"onPlaying",required:!1,type:{name:"ReactEventHandler"}},onPlayingCapture:{defaultValue:null,description:"",name:"onPlayingCapture",required:!1,type:{name:"ReactEventHandler"}},onProgress:{defaultValue:null,description:"",name:"onProgress",required:!1,type:{name:"ReactEventHandler"}},onProgressCapture:{defaultValue:null,description:"",name:"onProgressCapture",required:!1,type:{name:"ReactEventHandler"}},onRateChange:{defaultValue:null,description:"",name:"onRateChange",required:!1,type:{name:"ReactEventHandler"}},onRateChangeCapture:{defaultValue:null,description:"",name:"onRateChangeCapture",required:!1,type:{name:"ReactEventHandler"}},onResize:{defaultValue:null,description:"",name:"onResize",required:!1,type:{name:"ReactEventHandler"}},onResizeCapture:{defaultValue:null,description:"",name:"onResizeCapture",required:!1,type:{name:"ReactEventHandler"}},onSeeked:{defaultValue:null,description:"",name:"onSeeked",required:!1,type:{name:"ReactEventHandler"}},onSeekedCapture:{defaultValue:null,description:"",name:"onSeekedCapture",required:!1,type:{name:"ReactEventHandler"}},onSeeking:{defaultValue:null,description:"",name:"onSeeking",required:!1,type:{name:"ReactEventHandler"}},onSeekingCapture:{defaultValue:null,description:"",name:"onSeekingCapture",required:!1,type:{name:"ReactEventHandler"}},onStalled:{defaultValue:null,description:"",name:"onStalled",required:!1,type:{name:"ReactEventHandler"}},onStalledCapture:{defaultValue:null,description:"",name:"onStalledCapture",required:!1,type:{name:"ReactEventHandler"}},onSuspend:{defaultValue:null,description:"",name:"onSuspend",required:!1,type:{name:"ReactEventHandler"}},onSuspendCapture:{defaultValue:null,description:"",name:"onSuspendCapture",required:!1,type:{name:"ReactEventHandler"}},onTimeUpdate:{defaultValue:null,description:"",name:"onTimeUpdate",required:!1,type:{name:"ReactEventHandler"}},onTimeUpdateCapture:{defaultValue:null,description:"",name:"onTimeUpdateCapture",required:!1,type:{name:"ReactEventHandler"}},onVolumeChange:{defaultValue:null,description:"",name:"onVolumeChange",required:!1,type:{name:"ReactEventHandler"}},onVolumeChangeCapture:{defaultValue:null,description:"",name:"onVolumeChangeCapture",required:!1,type:{name:"ReactEventHandler"}},onWaiting:{defaultValue:null,description:"",name:"onWaiting",required:!1,type:{name:"ReactEventHandler"}},onWaitingCapture:{defaultValue:null,description:"",name:"onWaitingCapture",required:!1,type:{name:"ReactEventHandler"}},onAuxClick:{defaultValue:null,description:"",name:"onAuxClick",required:!1,type:{name:"MouseEventHandler"}},onAuxClickCapture:{defaultValue:null,description:"",name:"onAuxClickCapture",required:!1,type:{name:"MouseEventHandler"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"MouseEventHandler"}},onClickCapture:{defaultValue:null,description:"",name:"onClickCapture",required:!1,type:{name:"MouseEventHandler"}},onContextMenu:{defaultValue:null,description:"",name:"onContextMenu",required:!1,type:{name:"MouseEventHandler"}},onContextMenuCapture:{defaultValue:null,description:"",name:"onContextMenuCapture",required:!1,type:{name:"MouseEventHandler"}},onDoubleClick:{defaultValue:null,description:"",name:"onDoubleClick",required:!1,type:{name:"MouseEventHandler"}},onDoubleClickCapture:{defaultValue:null,description:"",name:"onDoubleClickCapture",required:!1,type:{name:"MouseEventHandler"}},onDragCapture:{defaultValue:null,description:"",name:"onDragCapture",required:!1,type:{name:"DragEventHandler"}},onDragEndCapture:{defaultValue:null,description:"",name:"onDragEndCapture",required:!1,type:{name:"DragEventHandler"}},onDragEnter:{defaultValue:null,description:"",name:"onDragEnter",required:!1,type:{name:"DragEventHandler"}},onDragEnterCapture:{defaultValue:null,description:"",name:"onDragEnterCapture",required:!1,type:{name:"DragEventHandler"}},onDragExit:{defaultValue:null,description:"",name:"onDragExit",required:!1,type:{name:"DragEventHandler"}},onDragExitCapture:{defaultValue:null,description:"",name:"onDragExitCapture",required:!1,type:{name:"DragEventHandler"}},onDragLeave:{defaultValue:null,description:"",name:"onDragLeave",required:!1,type:{name:"DragEventHandler"}},onDragLeaveCapture:{defaultValue:null,description:"",name:"onDragLeaveCapture",required:!1,type:{name:"DragEventHandler"}},onDragOver:{defaultValue:null,description:"",name:"onDragOver",required:!1,type:{name:"DragEventHandler"}},onDragOverCapture:{defaultValue:null,description:"",name:"onDragOverCapture",required:!1,type:{name:"DragEventHandler"}},onDragStartCapture:{defaultValue:null,description:"",name:"onDragStartCapture",required:!1,type:{name:"DragEventHandler"}},onDrop:{defaultValue:null,description:"",name:"onDrop",required:!1,type:{name:"DragEventHandler"}},onDropCapture:{defaultValue:null,description:"",name:"onDropCapture",required:!1,type:{name:"DragEventHandler"}},onMouseDown:{defaultValue:null,description:"",name:"onMouseDown",required:!1,type:{name:"MouseEventHandler"}},onMouseDownCapture:{defaultValue:null,description:"",name:"onMouseDownCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseEnter:{defaultValue:null,description:"",name:"onMouseEnter",required:!1,type:{name:"MouseEventHandler"}},onMouseLeave:{defaultValue:null,description:"",name:"onMouseLeave",required:!1,type:{name:"MouseEventHandler"}},onMouseMove:{defaultValue:null,description:"",name:"onMouseMove",required:!1,type:{name:"MouseEventHandler"}},onMouseMoveCapture:{defaultValue:null,description:"",name:"onMouseMoveCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseOut:{defaultValue:null,description:"",name:"onMouseOut",required:!1,type:{name:"MouseEventHandler"}},onMouseOutCapture:{defaultValue:null,description:"",name:"onMouseOutCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseOver:{defaultValue:null,description:"",name:"onMouseOver",required:!1,type:{name:"MouseEventHandler"}},onMouseOverCapture:{defaultValue:null,description:"",name:"onMouseOverCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseUp:{defaultValue:null,description:"",name:"onMouseUp",required:!1,type:{name:"MouseEventHandler"}},onMouseUpCapture:{defaultValue:null,description:"",name:"onMouseUpCapture",required:!1,type:{name:"MouseEventHandler"}},onSelect:{defaultValue:null,description:"",name:"onSelect",required:!1,type:{name:"ReactEventHandler"}},onSelectCapture:{defaultValue:null,description:"",name:"onSelectCapture",required:!1,type:{name:"ReactEventHandler"}},onTouchCancel:{defaultValue:null,description:"",name:"onTouchCancel",required:!1,type:{name:"TouchEventHandler"}},onTouchCancelCapture:{defaultValue:null,description:"",name:"onTouchCancelCapture",required:!1,type:{name:"TouchEventHandler"}},onTouchEnd:{defaultValue:null,description:"",name:"onTouchEnd",required:!1,type:{name:"TouchEventHandler"}},onTouchEndCapture:{defaultValue:null,description:"",name:"onTouchEndCapture",required:!1,type:{name:"TouchEventHandler"}},onTouchMove:{defaultValue:null,description:"",name:"onTouchMove",required:!1,type:{name:"TouchEventHandler"}},onTouchMoveCapture:{defaultValue:null,description:"",name:"onTouchMoveCapture",required:!1,type:{name:"TouchEventHandler"}},onTouchStart:{defaultValue:null,description:"",name:"onTouchStart",required:!1,type:{name:"TouchEventHandler"}},onTouchStartCapture:{defaultValue:null,description:"",name:"onTouchStartCapture",required:!1,type:{name:"TouchEventHandler"}},onPointerDown:{defaultValue:null,description:"",name:"onPointerDown",required:!1,type:{name:"PointerEventHandler"}},onPointerDownCapture:{defaultValue:null,description:"",name:"onPointerDownCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerMove:{defaultValue:null,description:"",name:"onPointerMove",required:!1,type:{name:"PointerEventHandler"}},onPointerMoveCapture:{defaultValue:null,description:"",name:"onPointerMoveCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerUp:{defaultValue:null,description:"",name:"onPointerUp",required:!1,type:{name:"PointerEventHandler"}},onPointerUpCapture:{defaultValue:null,description:"",name:"onPointerUpCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerCancel:{defaultValue:null,description:"",name:"onPointerCancel",required:!1,type:{name:"PointerEventHandler"}},onPointerCancelCapture:{defaultValue:null,description:"",name:"onPointerCancelCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerEnter:{defaultValue:null,description:"",name:"onPointerEnter",required:!1,type:{name:"PointerEventHandler"}},onPointerLeave:{defaultValue:null,description:"",name:"onPointerLeave",required:!1,type:{name:"PointerEventHandler"}},onPointerOver:{defaultValue:null,description:"",name:"onPointerOver",required:!1,type:{name:"PointerEventHandler"}},onPointerOverCapture:{defaultValue:null,description:"",name:"onPointerOverCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerOut:{defaultValue:null,description:"",name:"onPointerOut",required:!1,type:{name:"PointerEventHandler"}},onPointerOutCapture:{defaultValue:null,description:"",name:"onPointerOutCapture",required:!1,type:{name:"PointerEventHandler"}},onGotPointerCapture:{defaultValue:null,description:"",name:"onGotPointerCapture",required:!1,type:{name:"PointerEventHandler"}},onGotPointerCaptureCapture:{defaultValue:null,description:"",name:"onGotPointerCaptureCapture",required:!1,type:{name:"PointerEventHandler"}},onLostPointerCapture:{defaultValue:null,description:"",name:"onLostPointerCapture",required:!1,type:{name:"PointerEventHandler"}},onLostPointerCaptureCapture:{defaultValue:null,description:"",name:"onLostPointerCaptureCapture",required:!1,type:{name:"PointerEventHandler"}},onScroll:{defaultValue:null,description:"",name:"onScroll",required:!1,type:{name:"UIEventHandler"}},onScrollCapture:{defaultValue:null,description:"",name:"onScrollCapture",required:!1,type:{name:"UIEventHandler"}},onWheel:{defaultValue:null,description:"",name:"onWheel",required:!1,type:{name:"WheelEventHandler"}},onWheelCapture:{defaultValue:null,description:"",name:"onWheelCapture",required:!1,type:{name:"WheelEventHandler"}},onAnimationStartCapture:{defaultValue:null,description:"",name:"onAnimationStartCapture",required:!1,type:{name:"AnimationEventHandler"}},onAnimationEnd:{defaultValue:null,description:"",name:"onAnimationEnd",required:!1,type:{name:"AnimationEventHandler"}},onAnimationEndCapture:{defaultValue:null,description:"",name:"onAnimationEndCapture",required:!1,type:{name:"AnimationEventHandler"}},onAnimationIteration:{defaultValue:null,description:"",name:"onAnimationIteration",required:!1,type:{name:"AnimationEventHandler"}},onAnimationIterationCapture:{defaultValue:null,description:"",name:"onAnimationIterationCapture",required:!1,type:{name:"AnimationEventHandler"}},onTransitionEnd:{defaultValue:null,description:"",name:"onTransitionEnd",required:!1,type:{name:"TransitionEventHandler"}},onTransitionEndCapture:{defaultValue:null,description:"",name:"onTransitionEndCapture",required:!1,type:{name:"TransitionEventHandler"}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"Key | null"}},alt:{defaultValue:null,description:"",name:"alt",required:!1,type:{name:"string"}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:"string | number"}},src:{defaultValue:null,description:"",name:"src",required:!1,type:{name:"string"}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"string | number"}},crossOrigin:{defaultValue:null,description:"",name:"crossOrigin",required:!1,type:{name:"enum",value:[{value:'""'},{value:'"anonymous"'},{value:'"use-credentials"'}]}},decoding:{defaultValue:null,description:"",name:"decoding",required:!1,type:{name:"enum",value:[{value:'"async"'},{value:'"auto"'},{value:'"sync"'}]}},fetchPriority:{defaultValue:null,description:"",name:"fetchPriority",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"high"'},{value:'"low"'}]}},loading:{defaultValue:null,description:"",name:"loading",required:!1,type:{name:"enum",value:[{value:'"eager"'},{value:'"lazy"'}]}},referrerPolicy:{defaultValue:null,description:"",name:"referrerPolicy",required:!1,type:{name:"enum",value:[{value:'""'},{value:'"no-referrer"'},{value:'"no-referrer-when-downgrade"'},{value:'"origin"'},{value:'"origin-when-cross-origin"'},{value:'"same-origin"'},{value:'"strict-origin"'},{value:'"strict-origin-when-cross-origin"'},{value:'"unsafe-url"'}]}},sizes:{defaultValue:null,description:"",name:"sizes",required:!1,type:{name:"string"}},srcSet:{defaultValue:null,description:"",name:"srcSet",required:!1,type:{name:"string"}},useMap:{defaultValue:null,description:"",name:"useMap",required:!1,type:{name:"string"}}}}}catch{}export{l as I}; diff --git a/assets/Image-DPd_KzxQ.js b/assets/Image-DPd_KzxQ.js deleted file mode 100644 index de459bc9d..000000000 --- a/assets/Image-DPd_KzxQ.js +++ /dev/null @@ -1 +0,0 @@ -import{j as m}from"./jsx-runtime-z8MfsBtr.js";import{r as s}from"./index-D1TSixAU.js";import{m as p}from"./proxy-DndLXkKn.js";const l=n=>{const{disableAnimation:e=!1,onLoad:a,className:t,...r}=n,[u,i]=s.useState(!1),d=o=>{i(!0),a==null||a(o)};return m.jsx(p.img,{className:t,initial:e?void 0:{opacity:0},animate:e?void 0:{opacity:u?1:0},transition:{duration:.2},onLoad:e?void 0:d,...r})};try{l.displayName="Image",l.__docgenInfo={description:"",displayName:"Image",props:{disableAnimation:{defaultValue:null,description:"",name:"disableAnimation",required:!1,type:{name:"boolean"}},color:{defaultValue:null,description:"",name:"color",required:!1,type:{name:"string"}},hidden:{defaultValue:null,description:"",name:"hidden",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"LegacyRef"}},slot:{defaultValue:null,description:"",name:"slot",required:!1,type:{name:"string"}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"Key | null"}},defaultChecked:{defaultValue:null,description:"",name:"defaultChecked",required:!1,type:{name:"boolean"}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"string | number | readonly string[]"}},suppressContentEditableWarning:{defaultValue:null,description:"",name:"suppressContentEditableWarning",required:!1,type:{name:"boolean"}},suppressHydrationWarning:{defaultValue:null,description:"",name:"suppressHydrationWarning",required:!1,type:{name:"boolean"}},accessKey:{defaultValue:null,description:"",name:"accessKey",required:!1,type:{name:"string"}},autoCapitalize:{defaultValue:null,description:"",name:"autoCapitalize",required:!1,type:{name:'"off" | "none" | "on" | "sentences" | "words" | "characters" | (string & {})'}},autoFocus:{defaultValue:null,description:"",name:"autoFocus",required:!1,type:{name:"boolean"}},contentEditable:{defaultValue:null,description:"",name:"contentEditable",required:!1,type:{name:'Booleanish | "inherit" | "plaintext-only"'}},contextMenu:{defaultValue:null,description:"",name:"contextMenu",required:!1,type:{name:"string"}},dir:{defaultValue:null,description:"",name:"dir",required:!1,type:{name:"string"}},draggable:{defaultValue:null,description:"",name:"draggable",required:!1,type:{name:"Booleanish"}},enterKeyHint:{defaultValue:null,description:"",name:"enterKeyHint",required:!1,type:{name:"enum",value:[{value:'"enter"'},{value:'"done"'},{value:'"go"'},{value:'"next"'},{value:'"previous"'},{value:'"search"'},{value:'"send"'}]}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},lang:{defaultValue:null,description:"",name:"lang",required:!1,type:{name:"string"}},nonce:{defaultValue:null,description:"",name:"nonce",required:!1,type:{name:"string"}},spellCheck:{defaultValue:null,description:"",name:"spellCheck",required:!1,type:{name:"Booleanish"}},tabIndex:{defaultValue:null,description:"",name:"tabIndex",required:!1,type:{name:"number"}},translate:{defaultValue:null,description:"",name:"translate",required:!1,type:{name:"enum",value:[{value:'"yes"'},{value:'"no"'}]}},radioGroup:{defaultValue:null,description:"",name:"radioGroup",required:!1,type:{name:"string"}},role:{defaultValue:null,description:"",name:"role",required:!1,type:{name:"AriaRole"}},about:{defaultValue:null,description:"",name:"about",required:!1,type:{name:"string"}},content:{defaultValue:null,description:"",name:"content",required:!1,type:{name:"string"}},datatype:{defaultValue:null,description:"",name:"datatype",required:!1,type:{name:"string"}},inlist:{defaultValue:null,description:"",name:"inlist",required:!1,type:{name:"any"}},prefix:{defaultValue:null,description:"",name:"prefix",required:!1,type:{name:"string"}},property:{defaultValue:null,description:"",name:"property",required:!1,type:{name:"string"}},rel:{defaultValue:null,description:"",name:"rel",required:!1,type:{name:"string"}},resource:{defaultValue:null,description:"",name:"resource",required:!1,type:{name:"string"}},rev:{defaultValue:null,description:"",name:"rev",required:!1,type:{name:"string"}},typeof:{defaultValue:null,description:"",name:"typeof",required:!1,type:{name:"string"}},vocab:{defaultValue:null,description:"",name:"vocab",required:!1,type:{name:"string"}},autoCorrect:{defaultValue:null,description:"",name:"autoCorrect",required:!1,type:{name:"string"}},autoSave:{defaultValue:null,description:"",name:"autoSave",required:!1,type:{name:"string"}},itemProp:{defaultValue:null,description:"",name:"itemProp",required:!1,type:{name:"string"}},itemScope:{defaultValue:null,description:"",name:"itemScope",required:!1,type:{name:"boolean"}},itemType:{defaultValue:null,description:"",name:"itemType",required:!1,type:{name:"string"}},itemID:{defaultValue:null,description:"",name:"itemID",required:!1,type:{name:"string"}},itemRef:{defaultValue:null,description:"",name:"itemRef",required:!1,type:{name:"string"}},results:{defaultValue:null,description:"",name:"results",required:!1,type:{name:"number"}},security:{defaultValue:null,description:"",name:"security",required:!1,type:{name:"string"}},unselectable:{defaultValue:null,description:"",name:"unselectable",required:!1,type:{name:"enum",value:[{value:'"off"'},{value:'"on"'}]}},inputMode:{defaultValue:null,description:"",name:"inputMode",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"search"'},{value:'"text"'},{value:'"tel"'},{value:'"url"'},{value:'"email"'},{value:'"numeric"'},{value:'"decimal"'}]}},is:{defaultValue:null,description:"",name:"is",required:!1,type:{name:"string"}},"aria-activedescendant":{defaultValue:null,description:"",name:"aria-activedescendant",required:!1,type:{name:"string"}},"aria-atomic":{defaultValue:null,description:"",name:"aria-atomic",required:!1,type:{name:"Booleanish"}},"aria-autocomplete":{defaultValue:null,description:"",name:"aria-autocomplete",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"list"'},{value:'"inline"'},{value:'"both"'}]}},"aria-braillelabel":{defaultValue:null,description:"",name:"aria-braillelabel",required:!1,type:{name:"string"}},"aria-brailleroledescription":{defaultValue:null,description:"",name:"aria-brailleroledescription",required:!1,type:{name:"string"}},"aria-busy":{defaultValue:null,description:"",name:"aria-busy",required:!1,type:{name:"Booleanish"}},"aria-checked":{defaultValue:null,description:"",name:"aria-checked",required:!1,type:{name:'boolean | "true" | "false" | "mixed"'}},"aria-colcount":{defaultValue:null,description:"",name:"aria-colcount",required:!1,type:{name:"number"}},"aria-colindex":{defaultValue:null,description:"",name:"aria-colindex",required:!1,type:{name:"number"}},"aria-colindextext":{defaultValue:null,description:"",name:"aria-colindextext",required:!1,type:{name:"string"}},"aria-colspan":{defaultValue:null,description:"",name:"aria-colspan",required:!1,type:{name:"number"}},"aria-controls":{defaultValue:null,description:"",name:"aria-controls",required:!1,type:{name:"string"}},"aria-current":{defaultValue:null,description:"",name:"aria-current",required:!1,type:{name:'boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time"'}},"aria-describedby":{defaultValue:null,description:"",name:"aria-describedby",required:!1,type:{name:"string"}},"aria-description":{defaultValue:null,description:"",name:"aria-description",required:!1,type:{name:"string"}},"aria-details":{defaultValue:null,description:"",name:"aria-details",required:!1,type:{name:"string"}},"aria-disabled":{defaultValue:null,description:"",name:"aria-disabled",required:!1,type:{name:"Booleanish"}},"aria-dropeffect":{defaultValue:null,description:"",name:"aria-dropeffect",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"link"'},{value:'"copy"'},{value:'"execute"'},{value:'"move"'},{value:'"popup"'}]}},"aria-errormessage":{defaultValue:null,description:"",name:"aria-errormessage",required:!1,type:{name:"string"}},"aria-expanded":{defaultValue:null,description:"",name:"aria-expanded",required:!1,type:{name:"Booleanish"}},"aria-flowto":{defaultValue:null,description:"",name:"aria-flowto",required:!1,type:{name:"string"}},"aria-grabbed":{defaultValue:null,description:"",name:"aria-grabbed",required:!1,type:{name:"Booleanish"}},"aria-haspopup":{defaultValue:null,description:"",name:"aria-haspopup",required:!1,type:{name:'boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree"'}},"aria-hidden":{defaultValue:null,description:"",name:"aria-hidden",required:!1,type:{name:"Booleanish"}},"aria-invalid":{defaultValue:null,description:"",name:"aria-invalid",required:!1,type:{name:'boolean | "true" | "false" | "grammar" | "spelling"'}},"aria-keyshortcuts":{defaultValue:null,description:"",name:"aria-keyshortcuts",required:!1,type:{name:"string"}},"aria-label":{defaultValue:null,description:"",name:"aria-label",required:!1,type:{name:"string"}},"aria-labelledby":{defaultValue:null,description:"",name:"aria-labelledby",required:!1,type:{name:"string"}},"aria-level":{defaultValue:null,description:"",name:"aria-level",required:!1,type:{name:"number"}},"aria-live":{defaultValue:null,description:"",name:"aria-live",required:!1,type:{name:"enum",value:[{value:'"off"'},{value:'"assertive"'},{value:'"polite"'}]}},"aria-modal":{defaultValue:null,description:"",name:"aria-modal",required:!1,type:{name:"Booleanish"}},"aria-multiline":{defaultValue:null,description:"",name:"aria-multiline",required:!1,type:{name:"Booleanish"}},"aria-multiselectable":{defaultValue:null,description:"",name:"aria-multiselectable",required:!1,type:{name:"Booleanish"}},"aria-orientation":{defaultValue:null,description:"",name:"aria-orientation",required:!1,type:{name:"enum",value:[{value:'"horizontal"'},{value:'"vertical"'}]}},"aria-owns":{defaultValue:null,description:"",name:"aria-owns",required:!1,type:{name:"string"}},"aria-placeholder":{defaultValue:null,description:"",name:"aria-placeholder",required:!1,type:{name:"string"}},"aria-posinset":{defaultValue:null,description:"",name:"aria-posinset",required:!1,type:{name:"number"}},"aria-pressed":{defaultValue:null,description:"",name:"aria-pressed",required:!1,type:{name:'boolean | "true" | "false" | "mixed"'}},"aria-readonly":{defaultValue:null,description:"",name:"aria-readonly",required:!1,type:{name:"Booleanish"}},"aria-relevant":{defaultValue:null,description:"",name:"aria-relevant",required:!1,type:{name:"enum",value:[{value:'"text"'},{value:'"additions"'},{value:'"additions removals"'},{value:'"additions text"'},{value:'"all"'},{value:'"removals"'},{value:'"removals additions"'},{value:'"removals text"'},{value:'"text additions"'},{value:'"text removals"'}]}},"aria-required":{defaultValue:null,description:"",name:"aria-required",required:!1,type:{name:"Booleanish"}},"aria-roledescription":{defaultValue:null,description:"",name:"aria-roledescription",required:!1,type:{name:"string"}},"aria-rowcount":{defaultValue:null,description:"",name:"aria-rowcount",required:!1,type:{name:"number"}},"aria-rowindex":{defaultValue:null,description:"",name:"aria-rowindex",required:!1,type:{name:"number"}},"aria-rowindextext":{defaultValue:null,description:"",name:"aria-rowindextext",required:!1,type:{name:"string"}},"aria-rowspan":{defaultValue:null,description:"",name:"aria-rowspan",required:!1,type:{name:"number"}},"aria-selected":{defaultValue:null,description:"",name:"aria-selected",required:!1,type:{name:"Booleanish"}},"aria-setsize":{defaultValue:null,description:"",name:"aria-setsize",required:!1,type:{name:"number"}},"aria-sort":{defaultValue:null,description:"",name:"aria-sort",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"ascending"'},{value:'"descending"'},{value:'"other"'}]}},"aria-valuemax":{defaultValue:null,description:"",name:"aria-valuemax",required:!1,type:{name:"number"}},"aria-valuemin":{defaultValue:null,description:"",name:"aria-valuemin",required:!1,type:{name:"number"}},"aria-valuenow":{defaultValue:null,description:"",name:"aria-valuenow",required:!1,type:{name:"number"}},"aria-valuetext":{defaultValue:null,description:"",name:"aria-valuetext",required:!1,type:{name:"string"}},dangerouslySetInnerHTML:{defaultValue:null,description:"",name:"dangerouslySetInnerHTML",required:!1,type:{name:"{ __html: string | TrustedHTML; }"}},onCopy:{defaultValue:null,description:"",name:"onCopy",required:!1,type:{name:"ClipboardEventHandler"}},onCopyCapture:{defaultValue:null,description:"",name:"onCopyCapture",required:!1,type:{name:"ClipboardEventHandler"}},onCut:{defaultValue:null,description:"",name:"onCut",required:!1,type:{name:"ClipboardEventHandler"}},onCutCapture:{defaultValue:null,description:"",name:"onCutCapture",required:!1,type:{name:"ClipboardEventHandler"}},onPaste:{defaultValue:null,description:"",name:"onPaste",required:!1,type:{name:"ClipboardEventHandler"}},onPasteCapture:{defaultValue:null,description:"",name:"onPasteCapture",required:!1,type:{name:"ClipboardEventHandler"}},onCompositionEnd:{defaultValue:null,description:"",name:"onCompositionEnd",required:!1,type:{name:"CompositionEventHandler"}},onCompositionEndCapture:{defaultValue:null,description:"",name:"onCompositionEndCapture",required:!1,type:{name:"CompositionEventHandler"}},onCompositionStart:{defaultValue:null,description:"",name:"onCompositionStart",required:!1,type:{name:"CompositionEventHandler"}},onCompositionStartCapture:{defaultValue:null,description:"",name:"onCompositionStartCapture",required:!1,type:{name:"CompositionEventHandler"}},onCompositionUpdate:{defaultValue:null,description:"",name:"onCompositionUpdate",required:!1,type:{name:"CompositionEventHandler"}},onCompositionUpdateCapture:{defaultValue:null,description:"",name:"onCompositionUpdateCapture",required:!1,type:{name:"CompositionEventHandler"}},onFocus:{defaultValue:null,description:"",name:"onFocus",required:!1,type:{name:"FocusEventHandler"}},onFocusCapture:{defaultValue:null,description:"",name:"onFocusCapture",required:!1,type:{name:"FocusEventHandler"}},onBlur:{defaultValue:null,description:"",name:"onBlur",required:!1,type:{name:"FocusEventHandler"}},onBlurCapture:{defaultValue:null,description:"",name:"onBlurCapture",required:!1,type:{name:"FocusEventHandler"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"FormEventHandler"}},onChangeCapture:{defaultValue:null,description:"",name:"onChangeCapture",required:!1,type:{name:"FormEventHandler"}},onBeforeInput:{defaultValue:null,description:"",name:"onBeforeInput",required:!1,type:{name:"FormEventHandler"}},onBeforeInputCapture:{defaultValue:null,description:"",name:"onBeforeInputCapture",required:!1,type:{name:"FormEventHandler"}},onInput:{defaultValue:null,description:"",name:"onInput",required:!1,type:{name:"FormEventHandler"}},onInputCapture:{defaultValue:null,description:"",name:"onInputCapture",required:!1,type:{name:"FormEventHandler"}},onReset:{defaultValue:null,description:"",name:"onReset",required:!1,type:{name:"FormEventHandler"}},onResetCapture:{defaultValue:null,description:"",name:"onResetCapture",required:!1,type:{name:"FormEventHandler"}},onSubmit:{defaultValue:null,description:"",name:"onSubmit",required:!1,type:{name:"FormEventHandler"}},onSubmitCapture:{defaultValue:null,description:"",name:"onSubmitCapture",required:!1,type:{name:"FormEventHandler"}},onInvalid:{defaultValue:null,description:"",name:"onInvalid",required:!1,type:{name:"FormEventHandler"}},onInvalidCapture:{defaultValue:null,description:"",name:"onInvalidCapture",required:!1,type:{name:"FormEventHandler"}},onLoad:{defaultValue:null,description:"",name:"onLoad",required:!1,type:{name:"ReactEventHandler"}},onLoadCapture:{defaultValue:null,description:"",name:"onLoadCapture",required:!1,type:{name:"ReactEventHandler"}},onError:{defaultValue:null,description:"",name:"onError",required:!1,type:{name:"ReactEventHandler"}},onErrorCapture:{defaultValue:null,description:"",name:"onErrorCapture",required:!1,type:{name:"ReactEventHandler"}},onKeyDown:{defaultValue:null,description:"",name:"onKeyDown",required:!1,type:{name:"KeyboardEventHandler"}},onKeyDownCapture:{defaultValue:null,description:"",name:"onKeyDownCapture",required:!1,type:{name:"KeyboardEventHandler"}},onKeyPress:{defaultValue:null,description:"",name:"onKeyPress",required:!1,type:{name:"KeyboardEventHandler"}},onKeyPressCapture:{defaultValue:null,description:"",name:"onKeyPressCapture",required:!1,type:{name:"KeyboardEventHandler"}},onKeyUp:{defaultValue:null,description:"",name:"onKeyUp",required:!1,type:{name:"KeyboardEventHandler"}},onKeyUpCapture:{defaultValue:null,description:"",name:"onKeyUpCapture",required:!1,type:{name:"KeyboardEventHandler"}},onAbort:{defaultValue:null,description:"",name:"onAbort",required:!1,type:{name:"ReactEventHandler"}},onAbortCapture:{defaultValue:null,description:"",name:"onAbortCapture",required:!1,type:{name:"ReactEventHandler"}},onCanPlay:{defaultValue:null,description:"",name:"onCanPlay",required:!1,type:{name:"ReactEventHandler"}},onCanPlayCapture:{defaultValue:null,description:"",name:"onCanPlayCapture",required:!1,type:{name:"ReactEventHandler"}},onCanPlayThrough:{defaultValue:null,description:"",name:"onCanPlayThrough",required:!1,type:{name:"ReactEventHandler"}},onCanPlayThroughCapture:{defaultValue:null,description:"",name:"onCanPlayThroughCapture",required:!1,type:{name:"ReactEventHandler"}},onDurationChange:{defaultValue:null,description:"",name:"onDurationChange",required:!1,type:{name:"ReactEventHandler"}},onDurationChangeCapture:{defaultValue:null,description:"",name:"onDurationChangeCapture",required:!1,type:{name:"ReactEventHandler"}},onEmptied:{defaultValue:null,description:"",name:"onEmptied",required:!1,type:{name:"ReactEventHandler"}},onEmptiedCapture:{defaultValue:null,description:"",name:"onEmptiedCapture",required:!1,type:{name:"ReactEventHandler"}},onEncrypted:{defaultValue:null,description:"",name:"onEncrypted",required:!1,type:{name:"ReactEventHandler"}},onEncryptedCapture:{defaultValue:null,description:"",name:"onEncryptedCapture",required:!1,type:{name:"ReactEventHandler"}},onEnded:{defaultValue:null,description:"",name:"onEnded",required:!1,type:{name:"ReactEventHandler"}},onEndedCapture:{defaultValue:null,description:"",name:"onEndedCapture",required:!1,type:{name:"ReactEventHandler"}},onLoadedData:{defaultValue:null,description:"",name:"onLoadedData",required:!1,type:{name:"ReactEventHandler"}},onLoadedDataCapture:{defaultValue:null,description:"",name:"onLoadedDataCapture",required:!1,type:{name:"ReactEventHandler"}},onLoadedMetadata:{defaultValue:null,description:"",name:"onLoadedMetadata",required:!1,type:{name:"ReactEventHandler"}},onLoadedMetadataCapture:{defaultValue:null,description:"",name:"onLoadedMetadataCapture",required:!1,type:{name:"ReactEventHandler"}},onLoadStart:{defaultValue:null,description:"",name:"onLoadStart",required:!1,type:{name:"ReactEventHandler"}},onLoadStartCapture:{defaultValue:null,description:"",name:"onLoadStartCapture",required:!1,type:{name:"ReactEventHandler"}},onPause:{defaultValue:null,description:"",name:"onPause",required:!1,type:{name:"ReactEventHandler"}},onPauseCapture:{defaultValue:null,description:"",name:"onPauseCapture",required:!1,type:{name:"ReactEventHandler"}},onPlay:{defaultValue:null,description:"",name:"onPlay",required:!1,type:{name:"ReactEventHandler"}},onPlayCapture:{defaultValue:null,description:"",name:"onPlayCapture",required:!1,type:{name:"ReactEventHandler"}},onPlaying:{defaultValue:null,description:"",name:"onPlaying",required:!1,type:{name:"ReactEventHandler"}},onPlayingCapture:{defaultValue:null,description:"",name:"onPlayingCapture",required:!1,type:{name:"ReactEventHandler"}},onProgress:{defaultValue:null,description:"",name:"onProgress",required:!1,type:{name:"ReactEventHandler"}},onProgressCapture:{defaultValue:null,description:"",name:"onProgressCapture",required:!1,type:{name:"ReactEventHandler"}},onRateChange:{defaultValue:null,description:"",name:"onRateChange",required:!1,type:{name:"ReactEventHandler"}},onRateChangeCapture:{defaultValue:null,description:"",name:"onRateChangeCapture",required:!1,type:{name:"ReactEventHandler"}},onResize:{defaultValue:null,description:"",name:"onResize",required:!1,type:{name:"ReactEventHandler"}},onResizeCapture:{defaultValue:null,description:"",name:"onResizeCapture",required:!1,type:{name:"ReactEventHandler"}},onSeeked:{defaultValue:null,description:"",name:"onSeeked",required:!1,type:{name:"ReactEventHandler"}},onSeekedCapture:{defaultValue:null,description:"",name:"onSeekedCapture",required:!1,type:{name:"ReactEventHandler"}},onSeeking:{defaultValue:null,description:"",name:"onSeeking",required:!1,type:{name:"ReactEventHandler"}},onSeekingCapture:{defaultValue:null,description:"",name:"onSeekingCapture",required:!1,type:{name:"ReactEventHandler"}},onStalled:{defaultValue:null,description:"",name:"onStalled",required:!1,type:{name:"ReactEventHandler"}},onStalledCapture:{defaultValue:null,description:"",name:"onStalledCapture",required:!1,type:{name:"ReactEventHandler"}},onSuspend:{defaultValue:null,description:"",name:"onSuspend",required:!1,type:{name:"ReactEventHandler"}},onSuspendCapture:{defaultValue:null,description:"",name:"onSuspendCapture",required:!1,type:{name:"ReactEventHandler"}},onTimeUpdate:{defaultValue:null,description:"",name:"onTimeUpdate",required:!1,type:{name:"ReactEventHandler"}},onTimeUpdateCapture:{defaultValue:null,description:"",name:"onTimeUpdateCapture",required:!1,type:{name:"ReactEventHandler"}},onVolumeChange:{defaultValue:null,description:"",name:"onVolumeChange",required:!1,type:{name:"ReactEventHandler"}},onVolumeChangeCapture:{defaultValue:null,description:"",name:"onVolumeChangeCapture",required:!1,type:{name:"ReactEventHandler"}},onWaiting:{defaultValue:null,description:"",name:"onWaiting",required:!1,type:{name:"ReactEventHandler"}},onWaitingCapture:{defaultValue:null,description:"",name:"onWaitingCapture",required:!1,type:{name:"ReactEventHandler"}},onAuxClick:{defaultValue:null,description:"",name:"onAuxClick",required:!1,type:{name:"MouseEventHandler"}},onAuxClickCapture:{defaultValue:null,description:"",name:"onAuxClickCapture",required:!1,type:{name:"MouseEventHandler"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"MouseEventHandler"}},onClickCapture:{defaultValue:null,description:"",name:"onClickCapture",required:!1,type:{name:"MouseEventHandler"}},onContextMenu:{defaultValue:null,description:"",name:"onContextMenu",required:!1,type:{name:"MouseEventHandler"}},onContextMenuCapture:{defaultValue:null,description:"",name:"onContextMenuCapture",required:!1,type:{name:"MouseEventHandler"}},onDoubleClick:{defaultValue:null,description:"",name:"onDoubleClick",required:!1,type:{name:"MouseEventHandler"}},onDoubleClickCapture:{defaultValue:null,description:"",name:"onDoubleClickCapture",required:!1,type:{name:"MouseEventHandler"}},onDragCapture:{defaultValue:null,description:"",name:"onDragCapture",required:!1,type:{name:"DragEventHandler"}},onDragEndCapture:{defaultValue:null,description:"",name:"onDragEndCapture",required:!1,type:{name:"DragEventHandler"}},onDragEnter:{defaultValue:null,description:"",name:"onDragEnter",required:!1,type:{name:"DragEventHandler"}},onDragEnterCapture:{defaultValue:null,description:"",name:"onDragEnterCapture",required:!1,type:{name:"DragEventHandler"}},onDragExit:{defaultValue:null,description:"",name:"onDragExit",required:!1,type:{name:"DragEventHandler"}},onDragExitCapture:{defaultValue:null,description:"",name:"onDragExitCapture",required:!1,type:{name:"DragEventHandler"}},onDragLeave:{defaultValue:null,description:"",name:"onDragLeave",required:!1,type:{name:"DragEventHandler"}},onDragLeaveCapture:{defaultValue:null,description:"",name:"onDragLeaveCapture",required:!1,type:{name:"DragEventHandler"}},onDragOver:{defaultValue:null,description:"",name:"onDragOver",required:!1,type:{name:"DragEventHandler"}},onDragOverCapture:{defaultValue:null,description:"",name:"onDragOverCapture",required:!1,type:{name:"DragEventHandler"}},onDragStartCapture:{defaultValue:null,description:"",name:"onDragStartCapture",required:!1,type:{name:"DragEventHandler"}},onDrop:{defaultValue:null,description:"",name:"onDrop",required:!1,type:{name:"DragEventHandler"}},onDropCapture:{defaultValue:null,description:"",name:"onDropCapture",required:!1,type:{name:"DragEventHandler"}},onMouseDown:{defaultValue:null,description:"",name:"onMouseDown",required:!1,type:{name:"MouseEventHandler"}},onMouseDownCapture:{defaultValue:null,description:"",name:"onMouseDownCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseEnter:{defaultValue:null,description:"",name:"onMouseEnter",required:!1,type:{name:"MouseEventHandler"}},onMouseLeave:{defaultValue:null,description:"",name:"onMouseLeave",required:!1,type:{name:"MouseEventHandler"}},onMouseMove:{defaultValue:null,description:"",name:"onMouseMove",required:!1,type:{name:"MouseEventHandler"}},onMouseMoveCapture:{defaultValue:null,description:"",name:"onMouseMoveCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseOut:{defaultValue:null,description:"",name:"onMouseOut",required:!1,type:{name:"MouseEventHandler"}},onMouseOutCapture:{defaultValue:null,description:"",name:"onMouseOutCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseOver:{defaultValue:null,description:"",name:"onMouseOver",required:!1,type:{name:"MouseEventHandler"}},onMouseOverCapture:{defaultValue:null,description:"",name:"onMouseOverCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseUp:{defaultValue:null,description:"",name:"onMouseUp",required:!1,type:{name:"MouseEventHandler"}},onMouseUpCapture:{defaultValue:null,description:"",name:"onMouseUpCapture",required:!1,type:{name:"MouseEventHandler"}},onSelect:{defaultValue:null,description:"",name:"onSelect",required:!1,type:{name:"ReactEventHandler"}},onSelectCapture:{defaultValue:null,description:"",name:"onSelectCapture",required:!1,type:{name:"ReactEventHandler"}},onTouchCancel:{defaultValue:null,description:"",name:"onTouchCancel",required:!1,type:{name:"TouchEventHandler"}},onTouchCancelCapture:{defaultValue:null,description:"",name:"onTouchCancelCapture",required:!1,type:{name:"TouchEventHandler"}},onTouchEnd:{defaultValue:null,description:"",name:"onTouchEnd",required:!1,type:{name:"TouchEventHandler"}},onTouchEndCapture:{defaultValue:null,description:"",name:"onTouchEndCapture",required:!1,type:{name:"TouchEventHandler"}},onTouchMove:{defaultValue:null,description:"",name:"onTouchMove",required:!1,type:{name:"TouchEventHandler"}},onTouchMoveCapture:{defaultValue:null,description:"",name:"onTouchMoveCapture",required:!1,type:{name:"TouchEventHandler"}},onTouchStart:{defaultValue:null,description:"",name:"onTouchStart",required:!1,type:{name:"TouchEventHandler"}},onTouchStartCapture:{defaultValue:null,description:"",name:"onTouchStartCapture",required:!1,type:{name:"TouchEventHandler"}},onPointerDown:{defaultValue:null,description:"",name:"onPointerDown",required:!1,type:{name:"PointerEventHandler"}},onPointerDownCapture:{defaultValue:null,description:"",name:"onPointerDownCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerMove:{defaultValue:null,description:"",name:"onPointerMove",required:!1,type:{name:"PointerEventHandler"}},onPointerMoveCapture:{defaultValue:null,description:"",name:"onPointerMoveCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerUp:{defaultValue:null,description:"",name:"onPointerUp",required:!1,type:{name:"PointerEventHandler"}},onPointerUpCapture:{defaultValue:null,description:"",name:"onPointerUpCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerCancel:{defaultValue:null,description:"",name:"onPointerCancel",required:!1,type:{name:"PointerEventHandler"}},onPointerCancelCapture:{defaultValue:null,description:"",name:"onPointerCancelCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerEnter:{defaultValue:null,description:"",name:"onPointerEnter",required:!1,type:{name:"PointerEventHandler"}},onPointerLeave:{defaultValue:null,description:"",name:"onPointerLeave",required:!1,type:{name:"PointerEventHandler"}},onPointerOver:{defaultValue:null,description:"",name:"onPointerOver",required:!1,type:{name:"PointerEventHandler"}},onPointerOverCapture:{defaultValue:null,description:"",name:"onPointerOverCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerOut:{defaultValue:null,description:"",name:"onPointerOut",required:!1,type:{name:"PointerEventHandler"}},onPointerOutCapture:{defaultValue:null,description:"",name:"onPointerOutCapture",required:!1,type:{name:"PointerEventHandler"}},onGotPointerCapture:{defaultValue:null,description:"",name:"onGotPointerCapture",required:!1,type:{name:"PointerEventHandler"}},onGotPointerCaptureCapture:{defaultValue:null,description:"",name:"onGotPointerCaptureCapture",required:!1,type:{name:"PointerEventHandler"}},onLostPointerCapture:{defaultValue:null,description:"",name:"onLostPointerCapture",required:!1,type:{name:"PointerEventHandler"}},onLostPointerCaptureCapture:{defaultValue:null,description:"",name:"onLostPointerCaptureCapture",required:!1,type:{name:"PointerEventHandler"}},onScroll:{defaultValue:null,description:"",name:"onScroll",required:!1,type:{name:"UIEventHandler"}},onScrollCapture:{defaultValue:null,description:"",name:"onScrollCapture",required:!1,type:{name:"UIEventHandler"}},onWheel:{defaultValue:null,description:"",name:"onWheel",required:!1,type:{name:"WheelEventHandler"}},onWheelCapture:{defaultValue:null,description:"",name:"onWheelCapture",required:!1,type:{name:"WheelEventHandler"}},onAnimationStartCapture:{defaultValue:null,description:"",name:"onAnimationStartCapture",required:!1,type:{name:"AnimationEventHandler"}},onAnimationEnd:{defaultValue:null,description:"",name:"onAnimationEnd",required:!1,type:{name:"AnimationEventHandler"}},onAnimationEndCapture:{defaultValue:null,description:"",name:"onAnimationEndCapture",required:!1,type:{name:"AnimationEventHandler"}},onAnimationIteration:{defaultValue:null,description:"",name:"onAnimationIteration",required:!1,type:{name:"AnimationEventHandler"}},onAnimationIterationCapture:{defaultValue:null,description:"",name:"onAnimationIterationCapture",required:!1,type:{name:"AnimationEventHandler"}},onTransitionEnd:{defaultValue:null,description:"",name:"onTransitionEnd",required:!1,type:{name:"TransitionEventHandler"}},onTransitionEndCapture:{defaultValue:null,description:"",name:"onTransitionEndCapture",required:!1,type:{name:"TransitionEventHandler"}},alt:{defaultValue:null,description:"",name:"alt",required:!1,type:{name:"string"}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:"string | number"}},src:{defaultValue:null,description:"",name:"src",required:!1,type:{name:"string"}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"string | number"}},crossOrigin:{defaultValue:null,description:"",name:"crossOrigin",required:!1,type:{name:"enum",value:[{value:'""'},{value:'"anonymous"'},{value:'"use-credentials"'}]}},decoding:{defaultValue:null,description:"",name:"decoding",required:!1,type:{name:"enum",value:[{value:'"async"'},{value:'"auto"'},{value:'"sync"'}]}},fetchPriority:{defaultValue:null,description:"",name:"fetchPriority",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"high"'},{value:'"low"'}]}},loading:{defaultValue:null,description:"",name:"loading",required:!1,type:{name:"enum",value:[{value:'"eager"'},{value:'"lazy"'}]}},referrerPolicy:{defaultValue:null,description:"",name:"referrerPolicy",required:!1,type:{name:"enum",value:[{value:'""'},{value:'"no-referrer"'},{value:'"no-referrer-when-downgrade"'},{value:'"origin"'},{value:'"origin-when-cross-origin"'},{value:'"same-origin"'},{value:'"strict-origin"'},{value:'"strict-origin-when-cross-origin"'},{value:'"unsafe-url"'}]}},sizes:{defaultValue:null,description:"",name:"sizes",required:!1,type:{name:"string"}},srcSet:{defaultValue:null,description:"",name:"srcSet",required:!1,type:{name:"string"}},useMap:{defaultValue:null,description:"",name:"useMap",required:!1,type:{name:"string"}}}}}catch{}export{l as I}; diff --git a/assets/Image.stories-BTGlEkL5.js b/assets/Image.stories-UExRAIHJ.js similarity index 67% rename from assets/Image.stories-BTGlEkL5.js rename to assets/Image.stories-UExRAIHJ.js index 26bb3f8da..154725924 100644 --- a/assets/Image.stories-BTGlEkL5.js +++ b/assets/Image.stories-UExRAIHJ.js @@ -1,4 +1,4 @@ -import{I as t}from"./Image-DPd_KzxQ.js";import"./jsx-runtime-z8MfsBtr.js";import"./index-C9rmetsa.js";import"./index-D1TSixAU.js";import"./proxy-DndLXkKn.js";const g={title:"Components/Image",component:t},a="https://skyweaver.ghost.io/content/images/size/w600/2023/01/hexbound_promo.png",e={args:{src:a}};var o,r,s;e.parameters={...e.parameters,docs:{...(o=e.parameters)==null?void 0:o.docs,source:{originalSource:`{ +import{I as t}from"./Image-BYRrYa8a.js";import"./jsx-runtime-Cf8x2fCZ.js";import"./index-yBjzXJbu.js";import"./index-DubqEmGm.js";import"./proxy-71i4uxHe.js";const g={title:"Components/Image",component:t},a="https://skyweaver.ghost.io/content/images/size/w600/2023/01/hexbound_promo.png",e={args:{src:a}};var o,r,s;e.parameters={...e.parameters,docs:{...(o=e.parameters)==null?void 0:o.docs,source:{originalSource:`{ args: { src } diff --git a/assets/Introduction-CHa9Z6aZ.js b/assets/Introduction-DHTlWsmw.js similarity index 85% rename from assets/Introduction-CHa9Z6aZ.js rename to assets/Introduction-DHTlWsmw.js index f8f5e995e..210c795f6 100644 --- a/assets/Introduction-CHa9Z6aZ.js +++ b/assets/Introduction-DHTlWsmw.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-z8MfsBtr.js";import{useMDXComponents as t}from"./index-CrPz3I2A.js";import"./index-Dzx0UDTo.js";import{M as r}from"./DocsRenderer-CFRXHY34-jNd1DwDx.js";import"./index-C9rmetsa.js";import"./index-D1TSixAU.js";import"./preview-shdZu16F.js";import"./iframe-CqSFuqlf.js";import"./index-BWPEG51O.js";import"./index-Dcf1nc42.js";import"./index-D2m0ySOf.js";import"./index-Brs1icLk.js";import"./index-ogSvIofg.js";import"./react-18-Bd5J0FWG.js";function s(o){const n={a:"a",code:"code",h1:"h1",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...t(),...o.components};return e.jsxs(e.Fragment,{children:[e.jsx(r,{title:"Introduction"}),` +import{j as e}from"./jsx-runtime-Cf8x2fCZ.js";import{useMDXComponents as t}from"./index-s_7BDCjm.js";import"./index-BH4yqkGc.js";import{M as r}from"./DocsRenderer-CFRXHY34-ByjBGumv.js";import"./index-yBjzXJbu.js";import"./index-DubqEmGm.js";import"./preview-58RC1v3k.js";import"./iframe-DBaV6xvg.js";import"./index-BQhnwxuj.js";import"./index-e5epXPAg.js";import"./index-fNjTmf9T.js";import"./index-CXQShRbs.js";import"./index-DrFu-skq.js";import"./react-18-DbvqzeU0.js";function s(o){const n={a:"a",code:"code",h1:"h1",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...t(),...o.components};return e.jsxs(e.Fragment,{children:[e.jsx(r,{title:"Introduction"}),` `,e.jsx(n.h1,{id:"sequence-design-system",children:"Sequence Design System"}),` `,e.jsx(n.p,{children:"Sequence Design System is a reusable component library uses across the Sequence product suite."}),` `,e.jsxs(n.p,{children:["Components are written in ",e.jsx(n.a,{href:"https://reactjs.org/",rel:"nofollow",children:"React"})," with ",e.jsx(n.a,{href:"https://tailwindcss.com/",rel:"nofollow",children:"Tailwind"}),", and its stories are written in ",e.jsx(n.a,{href:"https://medium.com/storybookjs/component-story-format-66f4c32366df",rel:"nofollow",children:"Component Story Format"}),"."]}),` diff --git a/assets/Modal-CAKXAecG.js b/assets/Modal-BuzFD6wO.js similarity index 52% rename from assets/Modal-CAKXAecG.js rename to assets/Modal-BuzFD6wO.js index bb4b73607..70ce7b375 100644 --- a/assets/Modal-CAKXAecG.js +++ b/assets/Modal-BuzFD6wO.js @@ -1,5 +1,5 @@ -import{j as t}from"./jsx-runtime-z8MfsBtr.js";import{r as l}from"./index-D1TSixAU.js";import{a as U,c as g}from"./index-BWtkTp-R.js";import{S as Y,u as N}from"./index-DEvaI7vP.js";import{c as J,P as x,a as Q}from"./index-CuZtKiOG.js";import{u as C}from"./index-VR-_z_Zs.js";import{P as X,D as ee}from"./index-DCVWRiMv.js";import{R as te,h as oe,u as re,F as ne}from"./Combination-DfJfzaFg.js";import{P as _}from"./index-DogTl_U1.js";import{c as ae}from"./index-DKHC-OhD.js";import{c as j}from"./clsx-B-dksMZM.js";import{d as se}from"./WarningIcon-C-Bue-nz.js";import{c as O}from"./classnames-Dx2cly0x.js";import{I as ie}from"./IconButton-M16ADBdN.js";import{S as le}from"./Scroll-HNtTmBVf.js";import{T as ce}from"./Text-DiY0ipGE.js";import{u as de}from"./ThemeProvider-CHaDE3bZ.js";import{m as w}from"./proxy-DndLXkKn.js";var R="Dialog",[T,Ue]=J(R),[ue,u]=T(R),k=e=>{const{__scopeDialog:o,children:a,open:s,defaultOpen:n,onOpenChange:r,modal:i=!0}=e,c=l.useRef(null),d=l.useRef(null),[f=!1,p]=U({prop:s,defaultProp:n,onChange:r});return t.jsx(ue,{scope:o,triggerRef:c,contentRef:d,contentId:C(),titleId:C(),descriptionId:C(),open:f,onOpenChange:p,onOpenToggle:l.useCallback(()=>p(D=>!D),[p]),modal:i,children:a})};k.displayName=R;var F="DialogTrigger",fe=l.forwardRef((e,o)=>{const{__scopeDialog:a,...s}=e,n=u(F,a),r=N(o,n.triggerRef);return t.jsx(x.button,{type:"button","aria-haspopup":"dialog","aria-expanded":n.open,"aria-controls":n.contentId,"data-state":I(n.open),...s,ref:r,onClick:g(e.onClick,n.onOpenToggle)})});fe.displayName=F;var P="DialogPortal",[pe,S]=T(P,{forceMount:void 0}),V=e=>{const{__scopeDialog:o,forceMount:a,children:s,container:n}=e,r=u(P,o);return t.jsx(pe,{scope:o,forceMount:a,children:l.Children.map(s,i=>t.jsx(_,{present:a||r.open,children:t.jsx(X,{asChild:!0,container:n,children:i})}))})};V.displayName=P;var y="DialogOverlay",q=l.forwardRef((e,o)=>{const a=S(y,e.__scopeDialog),{forceMount:s=a.forceMount,...n}=e,r=u(y,e.__scopeDialog);return r.modal?t.jsx(_,{present:s||r.open,children:t.jsx(me,{...n,ref:o})}):null});q.displayName=y;var me=l.forwardRef((e,o)=>{const{__scopeDialog:a,...s}=e,n=u(y,a);return t.jsx(te,{as:Y,allowPinchZoom:!0,shards:[n.contentRef],children:t.jsx(x.div,{"data-state":I(n.open),...s,ref:o,style:{pointerEvents:"auto",...s.style}})})}),m="DialogContent",W=l.forwardRef((e,o)=>{const a=S(m,e.__scopeDialog),{forceMount:s=a.forceMount,...n}=e,r=u(m,e.__scopeDialog);return t.jsx(_,{present:s||r.open,children:r.modal?t.jsx(ge,{...n,ref:o}):t.jsx(xe,{...n,ref:o})})});W.displayName=m;var ge=l.forwardRef((e,o)=>{const a=u(m,e.__scopeDialog),s=l.useRef(null),n=N(o,a.contentRef,s);return l.useEffect(()=>{const r=s.current;if(r)return oe(r)},[]),t.jsx(z,{...e,ref:n,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:g(e.onCloseAutoFocus,r=>{var i;r.preventDefault(),(i=a.triggerRef.current)==null||i.focus()}),onPointerDownOutside:g(e.onPointerDownOutside,r=>{const i=r.detail.originalEvent,c=i.button===0&&i.ctrlKey===!0;(i.button===2||c)&&r.preventDefault()}),onFocusOutside:g(e.onFocusOutside,r=>r.preventDefault())})}),xe=l.forwardRef((e,o)=>{const a=u(m,e.__scopeDialog),s=l.useRef(!1),n=l.useRef(!1);return t.jsx(z,{...e,ref:o,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:r=>{var i,c;(i=e.onCloseAutoFocus)==null||i.call(e,r),r.defaultPrevented||(s.current||(c=a.triggerRef.current)==null||c.focus(),r.preventDefault()),s.current=!1,n.current=!1},onInteractOutside:r=>{var d,f;(d=e.onInteractOutside)==null||d.call(e,r),r.defaultPrevented||(s.current=!0,r.detail.originalEvent.type==="pointerdown"&&(n.current=!0));const i=r.target;((f=a.triggerRef.current)==null?void 0:f.contains(i))&&r.preventDefault(),r.detail.originalEvent.type==="focusin"&&n.current&&r.preventDefault()}})}),z=l.forwardRef((e,o)=>{const{__scopeDialog:a,trapFocus:s,onOpenAutoFocus:n,onCloseAutoFocus:r,...i}=e,c=u(m,a),d=l.useRef(null),f=N(o,d);return re(),t.jsxs(t.Fragment,{children:[t.jsx(ne,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:n,onUnmountAutoFocus:r,children:t.jsx(ee,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":I(c.open),...i,ref:f,onDismiss:()=>c.onOpenChange(!1)})}),t.jsxs(t.Fragment,{children:[t.jsx(ve,{titleId:c.titleId}),t.jsx(De,{contentRef:d,descriptionId:c.descriptionId})]})]})}),E="DialogTitle",be=l.forwardRef((e,o)=>{const{__scopeDialog:a,...s}=e,n=u(E,a);return t.jsx(x.h2,{id:n.titleId,...s,ref:o})});be.displayName=E;var H="DialogDescription",he=l.forwardRef((e,o)=>{const{__scopeDialog:a,...s}=e,n=u(H,a);return t.jsx(x.p,{id:n.descriptionId,...s,ref:o})});he.displayName=H;var L="DialogClose",G=l.forwardRef((e,o)=>{const{__scopeDialog:a,...s}=e,n=u(L,a);return t.jsx(x.button,{type:"button",...s,ref:o,onClick:g(e.onClick,()=>n.onOpenChange(!1))})});G.displayName=L;function I(e){return e?"open":"closed"}var $="DialogTitleWarning",[Ye,B]=Q($,{contentName:m,titleName:E,docsSlug:"dialog"}),ve=({titleId:e})=>{const o=B($),a=`\`${o.contentName}\` requires a \`${o.titleName}\` for the component to be accessible for screen reader users. +import{j as o}from"./jsx-runtime-Cf8x2fCZ.js";import{r as l}from"./index-DubqEmGm.js";import{a as U,c as g}from"./index-DKEAZgBW.js";import{S as Y,u as N}from"./index-BkTKsPvT.js";import{c as J,P as x,a as Q}from"./index-EKtyzmkF.js";import{u as C}from"./index-Cbw-VAaK.js";import{P as X,D as ee}from"./index-DC1_uW73.js";import{R as oe,h as te,u as re,F as ne}from"./Combination-B30zI8Yx.js";import{P as _}from"./index-SbpNQzLY.js";import{c as ae}from"./index-Dp3B9jqt.js";import{c as j}from"./clsx-B-dksMZM.js";import{d as se}from"./WarningIcon-Z1cZGh4-.js";import{c as O}from"./classnames-Dx2cly0x.js";import{I as ie}from"./IconButton-tt72d-YU.js";import{S as le}from"./Scroll-CD1l9_-j.js";import{T as ce}from"./Text-c-Dt_3pd.js";import{u as de}from"./ThemeProvider-BFEsm4Z9.js";import{m as w}from"./proxy-71i4uxHe.js";var R="Dialog",[T,Ue]=J(R),[ue,u]=T(R),k=e=>{const{__scopeDialog:t,children:a,open:s,defaultOpen:n,onOpenChange:r,modal:i=!0}=e,c=l.useRef(null),d=l.useRef(null),[f=!1,p]=U({prop:s,defaultProp:n,onChange:r});return o.jsx(ue,{scope:t,triggerRef:c,contentRef:d,contentId:C(),titleId:C(),descriptionId:C(),open:f,onOpenChange:p,onOpenToggle:l.useCallback(()=>p(D=>!D),[p]),modal:i,children:a})};k.displayName=R;var F="DialogTrigger",fe=l.forwardRef((e,t)=>{const{__scopeDialog:a,...s}=e,n=u(F,a),r=N(t,n.triggerRef);return o.jsx(x.button,{type:"button","aria-haspopup":"dialog","aria-expanded":n.open,"aria-controls":n.contentId,"data-state":I(n.open),...s,ref:r,onClick:g(e.onClick,n.onOpenToggle)})});fe.displayName=F;var P="DialogPortal",[pe,S]=T(P,{forceMount:void 0}),V=e=>{const{__scopeDialog:t,forceMount:a,children:s,container:n}=e,r=u(P,t);return o.jsx(pe,{scope:t,forceMount:a,children:l.Children.map(s,i=>o.jsx(_,{present:a||r.open,children:o.jsx(X,{asChild:!0,container:n,children:i})}))})};V.displayName=P;var y="DialogOverlay",q=l.forwardRef((e,t)=>{const a=S(y,e.__scopeDialog),{forceMount:s=a.forceMount,...n}=e,r=u(y,e.__scopeDialog);return r.modal?o.jsx(_,{present:s||r.open,children:o.jsx(me,{...n,ref:t})}):null});q.displayName=y;var me=l.forwardRef((e,t)=>{const{__scopeDialog:a,...s}=e,n=u(y,a);return o.jsx(oe,{as:Y,allowPinchZoom:!0,shards:[n.contentRef],children:o.jsx(x.div,{"data-state":I(n.open),...s,ref:t,style:{pointerEvents:"auto",...s.style}})})}),m="DialogContent",W=l.forwardRef((e,t)=>{const a=S(m,e.__scopeDialog),{forceMount:s=a.forceMount,...n}=e,r=u(m,e.__scopeDialog);return o.jsx(_,{present:s||r.open,children:r.modal?o.jsx(ge,{...n,ref:t}):o.jsx(xe,{...n,ref:t})})});W.displayName=m;var ge=l.forwardRef((e,t)=>{const a=u(m,e.__scopeDialog),s=l.useRef(null),n=N(t,a.contentRef,s);return l.useEffect(()=>{const r=s.current;if(r)return te(r)},[]),o.jsx(z,{...e,ref:n,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:g(e.onCloseAutoFocus,r=>{var i;r.preventDefault(),(i=a.triggerRef.current)==null||i.focus()}),onPointerDownOutside:g(e.onPointerDownOutside,r=>{const i=r.detail.originalEvent,c=i.button===0&&i.ctrlKey===!0;(i.button===2||c)&&r.preventDefault()}),onFocusOutside:g(e.onFocusOutside,r=>r.preventDefault())})}),xe=l.forwardRef((e,t)=>{const a=u(m,e.__scopeDialog),s=l.useRef(!1),n=l.useRef(!1);return o.jsx(z,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:r=>{var i,c;(i=e.onCloseAutoFocus)==null||i.call(e,r),r.defaultPrevented||(s.current||(c=a.triggerRef.current)==null||c.focus(),r.preventDefault()),s.current=!1,n.current=!1},onInteractOutside:r=>{var d,f;(d=e.onInteractOutside)==null||d.call(e,r),r.defaultPrevented||(s.current=!0,r.detail.originalEvent.type==="pointerdown"&&(n.current=!0));const i=r.target;((f=a.triggerRef.current)==null?void 0:f.contains(i))&&r.preventDefault(),r.detail.originalEvent.type==="focusin"&&n.current&&r.preventDefault()}})}),z=l.forwardRef((e,t)=>{const{__scopeDialog:a,trapFocus:s,onOpenAutoFocus:n,onCloseAutoFocus:r,...i}=e,c=u(m,a),d=l.useRef(null),f=N(t,d);return re(),o.jsxs(o.Fragment,{children:[o.jsx(ne,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:n,onUnmountAutoFocus:r,children:o.jsx(ee,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":I(c.open),...i,ref:f,onDismiss:()=>c.onOpenChange(!1)})}),o.jsxs(o.Fragment,{children:[o.jsx(he,{titleId:c.titleId}),o.jsx(De,{contentRef:d,descriptionId:c.descriptionId})]})]})}),E="DialogTitle",be=l.forwardRef((e,t)=>{const{__scopeDialog:a,...s}=e,n=u(E,a);return o.jsx(x.h2,{id:n.titleId,...s,ref:t})});be.displayName=E;var H="DialogDescription",ve=l.forwardRef((e,t)=>{const{__scopeDialog:a,...s}=e,n=u(H,a);return o.jsx(x.p,{id:n.descriptionId,...s,ref:t})});ve.displayName=H;var L="DialogClose",G=l.forwardRef((e,t)=>{const{__scopeDialog:a,...s}=e,n=u(L,a);return o.jsx(x.button,{type:"button",...s,ref:t,onClick:g(e.onClick,()=>n.onOpenChange(!1))})});G.displayName=L;function I(e){return e?"open":"closed"}var $="DialogTitleWarning",[Ye,B]=Q($,{contentName:m,titleName:E,docsSlug:"dialog"}),he=({titleId:e})=>{const t=B($),a=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. -If you want to hide the \`${o.titleName}\`, you can wrap it with our VisuallyHidden component. +If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. -For more information, see https://radix-ui.com/primitives/docs/components/${o.docsSlug}`;return l.useEffect(()=>{e&&(document.getElementById(e)||console.error(a))},[a,e]),null},ye="DialogDescriptionWarning",De=({contentRef:e,descriptionId:o})=>{const s=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${B(ye).contentName}}.`;return l.useEffect(()=>{var r;const n=(r=e.current)==null?void 0:r.getAttribute("aria-describedby");o&&n&&(document.getElementById(o)||console.warn(s))},[s,e,o]),null},Ce=k,Ne=V,_e=q,je=W,Re=G;const Pe=ae(["flex","flex-col","fixed","overflow-hidden","bg-background-primary","focus:outline-hidden","scrollbar-none","bottom-0 md:bottom-auto","rounded-t-2xl rounded-b-none md:rounded-b-2xl"],{variants:{size:{sm:["w-screen md:w-[540px]","min-h-[100px] max-h-[calc(100dvh-80px)] md:max-h-[min(800px,calc(100dvh-80px))]"],lg:["w-screen md:w-[720px]","h-[calc(100dvh-70px)] md:h-[800px] md:max-h-[min(800px,calc(100dvh-80px))]"]},autoHeight:{true:"lg:h-auto!"}},defaultVariants:{size:"lg"}}),A=e=>{const{header:o,footer:a,autoHeight:s=!1,backdropColor:n="bg-background-backdrop",children:r,disableAnimation:i=!1,isDismissible:c=!0,onClose:d,scroll:f=!0,size:p="lg",overlayProps:D,contentProps:b,rootProps:h={}}=e,{container:M}=de(),K=f?le:l.Fragment;return M?t.jsx(Ce,{modal:!0,defaultOpen:!0,onOpenChange:d,children:t.jsx(Ne,{forceMount:!0,container:M,children:t.jsxs("div",{...h,className:O("seq-root","fixed inset-0 z-20 flex items-center justify-center",h==null?void 0:h.className),children:[t.jsx(_e,{asChild:!0,forceMount:!0,children:t.jsx(w.div,{className:j("fixed inset-0",n),initial:i?!1:{opacity:0},animate:i?!1:{opacity:1},exit:i?void 0:{opacity:0},transition:{type:"tween",ease:"linear"},...D},"modal-overlay")}),t.jsx(je,{asChild:!0,forceMount:!0,onEscapeKeyDown:v=>{c?d==null||d():v.preventDefault()},onInteractOutside:v=>{c||v.preventDefault()},children:t.jsxs(w.div,{initial:i?!1:{y:"100%",opacity:p==="sm"?0:1},animate:i?!1:{y:0,opacity:1},exit:i?void 0:{y:"100%",opacity:p==="sm"?0:1},transition:{type:"tween",ease:"easeOut"},transformTemplate:(v,Z)=>`${Z} translateZ(0)`,...b,className:O(Pe({size:p,autoHeight:s}),b==null?void 0:b.className),children:[o&&t.jsx(Ee,{children:o}),t.jsxs(K,{children:[o&&t.jsx(Ie,{}),r]}),a&&t.jsx(Me,{children:a}),c&&t.jsx(Re,{asChild:!0,children:t.jsx(ie,{icon:se,size:"xs",className:"absolute right-4 top-4 z-20 backdrop-blur-xs","aria-label":"Close"})})]},"modal-content")})]})})}):null},Ee=e=>{const{children:o}=e;return t.jsxs("div",{className:j("absolute top-0 left-0 right-0 h-[60px] p-4 z-10","before:absolute before:left-0 before:-bottom-4 before:w-full before:h-4 before:z-[11] before:pointer-events-none before:bg-gradient-to-t before:from-transparent before:to-background-overlay"),children:[t.jsx("div",{className:"backdrop-blur-md bg-background-overlay absolute w-full h-full top-0 left-0"}),t.jsx("div",{className:"relative h-full w-full z-10 flex items-center justify-center",children:typeof o=="string"?t.jsx(ce,{variant:"normal",fontWeight:"bold",color:"primary",block:!0,children:o}):o})]})},Ie=()=>t.jsx("div",{className:"pt-[60px]"}),Me=e=>{const{children:o}=e;return t.jsxs("div",{className:j("absolute bottom-0 left-0 right-0 p-4","before:absolute before:left-0 before:-top-4 before:w-full before:h-4 before:z-[11] before:pointer-events-none before:bg-gradient-to-b before:from-transparent before:to-background-overlay"),children:[t.jsx("div",{className:"backdrop-blur-md bg-background-overlay absolute w-full h-full top-0 left-0"}),t.jsx("div",{className:"relative w-full z-10 pb-[calc(env(safe-area-inset-bottom))]",children:o})]})};try{A.displayName="Modal",A.__docgenInfo={description:"",displayName:"Modal",props:{header:{defaultValue:null,description:"",name:"header",required:!1,type:{name:"ReactNode"}},footer:{defaultValue:null,description:"",name:"footer",required:!1,type:{name:"ReactNode"}},scroll:{defaultValue:null,description:"",name:"scroll",required:!1,type:{name:"boolean"}},isDismissible:{defaultValue:null,description:"",name:"isDismissible",required:!1,type:{name:"boolean"}},onClose:{defaultValue:null,description:"",name:"onClose",required:!1,type:{name:"(() => void)"}},backdropColor:{defaultValue:null,description:"",name:"backdropColor",required:!1,type:{name:"string"}},disableAnimation:{defaultValue:null,description:"",name:"disableAnimation",required:!1,type:{name:"boolean"}},overlayProps:{defaultValue:null,description:"",name:"overlayProps",required:!1,type:{name:'HTMLMotionProps<"div">'}},contentProps:{defaultValue:null,description:"",name:"contentProps",required:!1,type:{name:'HTMLMotionProps<"div">'}},rootProps:{defaultValue:null,description:"",name:"rootProps",required:!1,type:{name:"{ [key: string]: unknown; className?: string; }"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"sm" | "lg" | null'}},autoHeight:{defaultValue:null,description:"",name:"autoHeight",required:!1,type:{name:"boolean | null"}}}}}catch{}export{A as M}; +For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return l.useEffect(()=>{e&&(document.getElementById(e)||console.error(a))},[a,e]),null},ye="DialogDescriptionWarning",De=({contentRef:e,descriptionId:t})=>{const s=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${B(ye).contentName}}.`;return l.useEffect(()=>{var r;const n=(r=e.current)==null?void 0:r.getAttribute("aria-describedby");t&&n&&(document.getElementById(t)||console.warn(s))},[s,e,t]),null},Ce=k,Ne=V,_e=q,je=W,Re=G;const Pe=ae(["flex","flex-col","fixed","overflow-hidden","bg-background-primary","focus:outline-hidden","scrollbar-none","bottom-0 md:bottom-auto","rounded-t-2xl rounded-b-none md:rounded-b-2xl"],{variants:{size:{sm:["w-screen md:w-[540px]","min-h-[100px] max-h-[calc(100dvh-80px)] md:max-h-[min(800px,calc(100dvh-80px))]"],lg:["w-screen md:w-[720px]","h-[calc(100dvh-70px)] md:h-[800px] md:max-h-[min(800px,calc(100dvh-80px))]"]},autoHeight:{true:"lg:h-auto!"}},defaultVariants:{size:"lg"}}),A=e=>{const{header:t,footer:a,autoHeight:s=!1,backdropColor:n="bg-background-backdrop",children:r,disableAnimation:i=!1,isDismissible:c=!0,onClose:d,scroll:f=!0,size:p="lg",overlayProps:D,contentProps:b,rootProps:v={}}=e,{container:M}=de(),K=f?le:l.Fragment;return M?o.jsx(Ce,{modal:!0,defaultOpen:!0,onOpenChange:d,children:o.jsx(Ne,{forceMount:!0,container:M,children:o.jsxs("div",{...v,className:O("seq-root","fixed inset-0 z-20 flex items-center justify-center",v==null?void 0:v.className),children:[o.jsx(_e,{asChild:!0,forceMount:!0,children:o.jsx(w.div,{className:j("fixed inset-0",n),initial:i?!1:{opacity:0},animate:i?!1:{opacity:1},exit:i?void 0:{opacity:0},transition:{type:"tween",ease:"linear"},...D},"modal-overlay")}),o.jsx(je,{asChild:!0,forceMount:!0,onEscapeKeyDown:h=>{c?d==null||d():h.preventDefault()},onInteractOutside:h=>{c||h.preventDefault()},children:o.jsxs(w.div,{initial:i?!1:{y:"100%",opacity:p==="sm"?0:1},animate:i?!1:{y:0,opacity:1},exit:i?void 0:{y:"100%",opacity:p==="sm"?0:1},transition:{type:"tween",ease:"easeOut"},transformTemplate:(h,Z)=>`${Z} translateZ(0)`,...b,className:O(Pe({size:p,autoHeight:s}),b==null?void 0:b.className),children:[t&&o.jsx(Ee,{children:t}),o.jsxs(K,{children:[t&&o.jsx(Ie,{}),r]}),a&&o.jsx(Me,{children:a}),c&&o.jsx(Re,{asChild:!0,children:o.jsx(ie,{icon:se,size:"xs",className:"absolute right-4 top-4 z-20 backdrop-blur-xs","aria-label":"Close"})})]},"modal-content")})]})})}):null},Ee=e=>{const{children:t}=e;return o.jsxs("div",{className:j("absolute top-0 left-0 right-0 h-[60px] p-4 z-10","before:absolute before:left-0 before:-bottom-4 before:w-full before:h-4 before:z-[11] before:pointer-events-none before:bg-gradient-to-t before:from-transparent before:to-background-overlay"),children:[o.jsx("div",{className:"backdrop-blur-md bg-background-overlay absolute w-full h-full top-0 left-0"}),o.jsx("div",{className:"relative h-full w-full z-10 flex items-center justify-center",children:typeof t=="string"?o.jsx(ce,{variant:"normal",fontWeight:"bold",color:"primary",block:!0,children:t}):t})]})},Ie=()=>o.jsx("div",{className:"pt-[60px]"}),Me=e=>{const{children:t}=e;return o.jsxs("div",{className:j("absolute bottom-0 left-0 right-0 p-4","before:absolute before:left-0 before:-top-4 before:w-full before:h-4 before:z-[11] before:pointer-events-none before:bg-gradient-to-b before:from-transparent before:to-background-overlay"),children:[o.jsx("div",{className:"backdrop-blur-md bg-background-overlay absolute w-full h-full top-0 left-0"}),o.jsx("div",{className:"relative w-full z-10 pb-[calc(env(safe-area-inset-bottom))]",children:t})]})};try{A.displayName="Modal",A.__docgenInfo={description:"",displayName:"Modal",props:{header:{defaultValue:null,description:"",name:"header",required:!1,type:{name:"ReactNode"}},footer:{defaultValue:null,description:"",name:"footer",required:!1,type:{name:"ReactNode"}},scroll:{defaultValue:null,description:"",name:"scroll",required:!1,type:{name:"boolean"}},isDismissible:{defaultValue:null,description:"",name:"isDismissible",required:!1,type:{name:"boolean"}},onClose:{defaultValue:null,description:"",name:"onClose",required:!1,type:{name:"(() => void)"}},backdropColor:{defaultValue:null,description:"",name:"backdropColor",required:!1,type:{name:"string"}},disableAnimation:{defaultValue:null,description:"",name:"disableAnimation",required:!1,type:{name:"boolean"}},overlayProps:{defaultValue:null,description:"",name:"overlayProps",required:!1,type:{name:'HTMLMotionProps<"div">'}},contentProps:{defaultValue:null,description:"",name:"contentProps",required:!1,type:{name:'HTMLMotionProps<"div">'}},rootProps:{defaultValue:null,description:"",name:"rootProps",required:!1,type:{name:"{ [key: string]: unknown; className?: string; }"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"sm" | "lg" | null'}},autoHeight:{defaultValue:null,description:"",name:"autoHeight",required:!1,type:{name:"boolean | null"}}}}}catch{}export{A as M}; diff --git a/assets/Modal.stories-C-tj4bbN.js b/assets/Modal.stories-DPWONE-H.js similarity index 85% rename from assets/Modal.stories-C-tj4bbN.js rename to assets/Modal.stories-DPWONE-H.js index 15f3641f8..a541fa074 100644 --- a/assets/Modal.stories-C-tj4bbN.js +++ b/assets/Modal.stories-DPWONE-H.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-z8MfsBtr.js";import{r as y}from"./index-D1TSixAU.js";import{B as r}from"./Button-e99vAgb9.js";import{T as a}from"./Text-DiY0ipGE.js";import{b as C}from"./WarningIcon-C-Bue-nz.js";import{C as N}from"./Card-DDkzOCNp.js";import{M as g}from"./Modal-CAKXAecG.js";import{A as b}from"./index-0Y1j60H7.js";import"./index-C9rmetsa.js";import"./index-DEvaI7vP.js";import"./index-DKHC-OhD.js";import"./clsx-B-dksMZM.js";import"./classnames-Dx2cly0x.js";import"./index-BWtkTp-R.js";import"./index-CuZtKiOG.js";import"./index-Dcf1nc42.js";import"./index-D2m0ySOf.js";import"./index-VR-_z_Zs.js";import"./index-DCVWRiMv.js";import"./Combination-DfJfzaFg.js";import"./index-DogTl_U1.js";import"./IconButton-M16ADBdN.js";import"./Scroll-HNtTmBVf.js";import"./ThemeProvider-CHaDE3bZ.js";import"./color-CiP8tUik.js";import"./proxy-DndLXkKn.js";const U={title:"Components/Modal",component:g},o=i=>{const[n,c]=y.useState(!1);return e.jsxs(e.Fragment,{children:[e.jsx(r,{label:"Open Modal",onClick:()=>c(!n)}),e.jsx(b,{children:n&&e.jsx(g,{...i,onClose:()=>c(!1)})})]})},s={render:o,args:{size:"lg",children:e.jsxs("div",{className:"flex flex-col justify-between h-full p-4",children:[e.jsxs("div",{children:[e.jsx(a,{variant:"medium",color:"primary",asChild:!0,children:e.jsx("h1",{children:"New Dapp"})}),e.jsx(a,{variant:"normal",color:"muted",asChild:!0,children:e.jsx("p",{children:"You can always change these settings later."})})]}),e.jsx("div",{className:"flex justify-end",children:e.jsx(r,{variant:"primary",shape:"square",label:"Create"})})]})}},t={render:o,args:{header:"Task list",footer:e.jsxs("div",{className:"flex gap-2",children:[e.jsx(r,{className:"w-full",shape:"square",label:"Cancel"}),e.jsx(r,{className:"w-full",variant:"primary",shape:"square",label:"Confirm"})]}),children:e.jsx("div",{className:"flex flex-col gap-2 p-4",children:[1,2,3,4,5,6,7,8,9].map(i=>e.jsxs(N,{className:"flex gap-2 items-center",children:[e.jsx("div",{className:"flex items-center justify-center rounded-full bg-positive w-8 h-8 text-white",children:e.jsx(C,{})}),e.jsxs("div",{className:"flex flex-col",children:[e.jsxs(a,{variant:"normal",fontWeight:"bold",color:"primary",block:!0,children:["Item ",i]}),e.jsx(a,{variant:"small",color:"muted",children:"Description"})]})]}))})}},l={render:o,args:{size:"lg",children:e.jsxs("div",{className:"flex flex-col justify-between h-full p-4",children:[e.jsxs("div",{children:[e.jsx(a,{variant:"medium",color:"primary",asChild:!0,children:e.jsx("h1",{children:"New Dapp"})}),e.jsx(a,{variant:"normal",color:"muted",asChild:!0,children:e.jsx("p",{children:"Custom Open & Close Animated Modal. You can always change these settings later."})})]}),e.jsx("div",{className:"flex justify-end",children:e.jsx(r,{variant:"primary",shape:"square",label:"Create"})})]}),overlayProps:{},contentProps:{initial:{scale:0,rotateZ:0},animate:{scale:1,rotateZ:360},exit:{scale:0,rotateZ:0},transition:{type:"spring"}}}};var m,d,p;s.parameters={...s.parameters,docs:{...(m=s.parameters)==null?void 0:m.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-Cf8x2fCZ.js";import{r as y}from"./index-DubqEmGm.js";import{B as r}from"./Button-CJ_2iam3.js";import{T as a}from"./Text-c-Dt_3pd.js";import{b as C}from"./WarningIcon-Z1cZGh4-.js";import{C as N}from"./Card-BcrLDAIN.js";import{M as g}from"./Modal-BuzFD6wO.js";import{A as b}from"./index-D5x9zqoE.js";import"./index-yBjzXJbu.js";import"./index-BkTKsPvT.js";import"./index-Dp3B9jqt.js";import"./clsx-B-dksMZM.js";import"./classnames-Dx2cly0x.js";import"./index-DKEAZgBW.js";import"./index-EKtyzmkF.js";import"./index-e5epXPAg.js";import"./index-fNjTmf9T.js";import"./index-Cbw-VAaK.js";import"./index-DC1_uW73.js";import"./Combination-B30zI8Yx.js";import"./index-SbpNQzLY.js";import"./IconButton-tt72d-YU.js";import"./Scroll-CD1l9_-j.js";import"./ThemeProvider-BFEsm4Z9.js";import"./color-CiP8tUik.js";import"./proxy-71i4uxHe.js";const U={title:"Components/Modal",component:g},o=i=>{const[n,c]=y.useState(!1);return e.jsxs(e.Fragment,{children:[e.jsx(r,{label:"Open Modal",onClick:()=>c(!n)}),e.jsx(b,{children:n&&e.jsx(g,{...i,onClose:()=>c(!1)})})]})},s={render:o,args:{size:"lg",children:e.jsxs("div",{className:"flex flex-col justify-between h-full p-4",children:[e.jsxs("div",{children:[e.jsx(a,{variant:"medium",color:"primary",asChild:!0,children:e.jsx("h1",{children:"New Dapp"})}),e.jsx(a,{variant:"normal",color:"muted",asChild:!0,children:e.jsx("p",{children:"You can always change these settings later."})})]}),e.jsx("div",{className:"flex justify-end",children:e.jsx(r,{variant:"primary",shape:"square",label:"Create"})})]})}},t={render:o,args:{header:"Task list",footer:e.jsxs("div",{className:"flex gap-2",children:[e.jsx(r,{className:"w-full",shape:"square",label:"Cancel"}),e.jsx(r,{className:"w-full",variant:"primary",shape:"square",label:"Confirm"})]}),children:e.jsx("div",{className:"flex flex-col gap-2 p-4",children:[1,2,3,4,5,6,7,8,9].map(i=>e.jsxs(N,{className:"flex gap-2 items-center",children:[e.jsx("div",{className:"flex items-center justify-center rounded-full bg-positive w-8 h-8 text-white",children:e.jsx(C,{})}),e.jsxs("div",{className:"flex flex-col",children:[e.jsxs(a,{variant:"normal",fontWeight:"bold",color:"primary",block:!0,children:["Item ",i]}),e.jsx(a,{variant:"small",color:"muted",children:"Description"})]})]}))})}},l={render:o,args:{size:"lg",children:e.jsxs("div",{className:"flex flex-col justify-between h-full p-4",children:[e.jsxs("div",{children:[e.jsx(a,{variant:"medium",color:"primary",asChild:!0,children:e.jsx("h1",{children:"New Dapp"})}),e.jsx(a,{variant:"normal",color:"muted",asChild:!0,children:e.jsx("p",{children:"Custom Open & Close Animated Modal. You can always change these settings later."})})]}),e.jsx("div",{className:"flex justify-end",children:e.jsx(r,{variant:"primary",shape:"square",label:"Create"})})]}),overlayProps:{},contentProps:{initial:{scale:0,rotateZ:0},animate:{scale:1,rotateZ:360},exit:{scale:0,rotateZ:0},transition:{type:"spring"}}}};var m,d,p;s.parameters={...s.parameters,docs:{...(m=s.parameters)==null?void 0:m.docs,source:{originalSource:`{ render: StoryWrapper, args: { size: 'lg', diff --git a/assets/NetworkImage-CSZhsnM7.js b/assets/NetworkImage-CSZhsnM7.js deleted file mode 100644 index 29b8f9eb7..000000000 --- a/assets/NetworkImage-CSZhsnM7.js +++ /dev/null @@ -1 +0,0 @@ -import{j as l}from"./jsx-runtime-z8MfsBtr.js";import{c as p}from"./index-DKHC-OhD.js";import{r as f}from"./index-D1TSixAU.js";import{c}from"./classnames-Dx2cly0x.js";import{I as y}from"./Image-DPd_KzxQ.js";const E="https://assets.sequence.info/",g=5,H={xs:"small",sm:"small",md:"medium",lg:"large",xl:"large"},r=e=>e?H[e]||e:"medium",v=(e,a)=>e.replace(/\/(small|medium|large)\//,`/${r(a)}/`),V=(e,a)=>E+`images/networks/${r(a)}/${e}.webp?v${g}`;try{Image.displayName="Image",Image.__docgenInfo={description:"",displayName:"Image",props:{disableAnimation:{defaultValue:null,description:"",name:"disableAnimation",required:!1,type:{name:"boolean"}},color:{defaultValue:null,description:"",name:"color",required:!1,type:{name:"string"}},hidden:{defaultValue:null,description:"",name:"hidden",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"LegacyRef"}},slot:{defaultValue:null,description:"",name:"slot",required:!1,type:{name:"string"}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"Key | null"}},defaultChecked:{defaultValue:null,description:"",name:"defaultChecked",required:!1,type:{name:"boolean"}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"string | number | readonly string[]"}},suppressContentEditableWarning:{defaultValue:null,description:"",name:"suppressContentEditableWarning",required:!1,type:{name:"boolean"}},suppressHydrationWarning:{defaultValue:null,description:"",name:"suppressHydrationWarning",required:!1,type:{name:"boolean"}},accessKey:{defaultValue:null,description:"",name:"accessKey",required:!1,type:{name:"string"}},autoCapitalize:{defaultValue:null,description:"",name:"autoCapitalize",required:!1,type:{name:'"off" | "none" | "on" | "sentences" | "words" | "characters" | (string & {})'}},autoFocus:{defaultValue:null,description:"",name:"autoFocus",required:!1,type:{name:"boolean"}},contentEditable:{defaultValue:null,description:"",name:"contentEditable",required:!1,type:{name:'Booleanish | "inherit" | "plaintext-only"'}},contextMenu:{defaultValue:null,description:"",name:"contextMenu",required:!1,type:{name:"string"}},dir:{defaultValue:null,description:"",name:"dir",required:!1,type:{name:"string"}},draggable:{defaultValue:null,description:"",name:"draggable",required:!1,type:{name:"Booleanish"}},enterKeyHint:{defaultValue:null,description:"",name:"enterKeyHint",required:!1,type:{name:"enum",value:[{value:'"enter"'},{value:'"done"'},{value:'"go"'},{value:'"next"'},{value:'"previous"'},{value:'"search"'},{value:'"send"'}]}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},lang:{defaultValue:null,description:"",name:"lang",required:!1,type:{name:"string"}},nonce:{defaultValue:null,description:"",name:"nonce",required:!1,type:{name:"string"}},spellCheck:{defaultValue:null,description:"",name:"spellCheck",required:!1,type:{name:"Booleanish"}},tabIndex:{defaultValue:null,description:"",name:"tabIndex",required:!1,type:{name:"number"}},translate:{defaultValue:null,description:"",name:"translate",required:!1,type:{name:"enum",value:[{value:'"yes"'},{value:'"no"'}]}},radioGroup:{defaultValue:null,description:"",name:"radioGroup",required:!1,type:{name:"string"}},role:{defaultValue:null,description:"",name:"role",required:!1,type:{name:"AriaRole"}},about:{defaultValue:null,description:"",name:"about",required:!1,type:{name:"string"}},content:{defaultValue:null,description:"",name:"content",required:!1,type:{name:"string"}},datatype:{defaultValue:null,description:"",name:"datatype",required:!1,type:{name:"string"}},inlist:{defaultValue:null,description:"",name:"inlist",required:!1,type:{name:"any"}},prefix:{defaultValue:null,description:"",name:"prefix",required:!1,type:{name:"string"}},property:{defaultValue:null,description:"",name:"property",required:!1,type:{name:"string"}},rel:{defaultValue:null,description:"",name:"rel",required:!1,type:{name:"string"}},resource:{defaultValue:null,description:"",name:"resource",required:!1,type:{name:"string"}},rev:{defaultValue:null,description:"",name:"rev",required:!1,type:{name:"string"}},typeof:{defaultValue:null,description:"",name:"typeof",required:!1,type:{name:"string"}},vocab:{defaultValue:null,description:"",name:"vocab",required:!1,type:{name:"string"}},autoCorrect:{defaultValue:null,description:"",name:"autoCorrect",required:!1,type:{name:"string"}},autoSave:{defaultValue:null,description:"",name:"autoSave",required:!1,type:{name:"string"}},itemProp:{defaultValue:null,description:"",name:"itemProp",required:!1,type:{name:"string"}},itemScope:{defaultValue:null,description:"",name:"itemScope",required:!1,type:{name:"boolean"}},itemType:{defaultValue:null,description:"",name:"itemType",required:!1,type:{name:"string"}},itemID:{defaultValue:null,description:"",name:"itemID",required:!1,type:{name:"string"}},itemRef:{defaultValue:null,description:"",name:"itemRef",required:!1,type:{name:"string"}},results:{defaultValue:null,description:"",name:"results",required:!1,type:{name:"number"}},security:{defaultValue:null,description:"",name:"security",required:!1,type:{name:"string"}},unselectable:{defaultValue:null,description:"",name:"unselectable",required:!1,type:{name:"enum",value:[{value:'"off"'},{value:'"on"'}]}},inputMode:{defaultValue:null,description:"",name:"inputMode",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"search"'},{value:'"text"'},{value:'"tel"'},{value:'"url"'},{value:'"email"'},{value:'"numeric"'},{value:'"decimal"'}]}},is:{defaultValue:null,description:"",name:"is",required:!1,type:{name:"string"}},"aria-activedescendant":{defaultValue:null,description:"",name:"aria-activedescendant",required:!1,type:{name:"string"}},"aria-atomic":{defaultValue:null,description:"",name:"aria-atomic",required:!1,type:{name:"Booleanish"}},"aria-autocomplete":{defaultValue:null,description:"",name:"aria-autocomplete",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"list"'},{value:'"inline"'},{value:'"both"'}]}},"aria-braillelabel":{defaultValue:null,description:"",name:"aria-braillelabel",required:!1,type:{name:"string"}},"aria-brailleroledescription":{defaultValue:null,description:"",name:"aria-brailleroledescription",required:!1,type:{name:"string"}},"aria-busy":{defaultValue:null,description:"",name:"aria-busy",required:!1,type:{name:"Booleanish"}},"aria-checked":{defaultValue:null,description:"",name:"aria-checked",required:!1,type:{name:'boolean | "true" | "false" | "mixed"'}},"aria-colcount":{defaultValue:null,description:"",name:"aria-colcount",required:!1,type:{name:"number"}},"aria-colindex":{defaultValue:null,description:"",name:"aria-colindex",required:!1,type:{name:"number"}},"aria-colindextext":{defaultValue:null,description:"",name:"aria-colindextext",required:!1,type:{name:"string"}},"aria-colspan":{defaultValue:null,description:"",name:"aria-colspan",required:!1,type:{name:"number"}},"aria-controls":{defaultValue:null,description:"",name:"aria-controls",required:!1,type:{name:"string"}},"aria-current":{defaultValue:null,description:"",name:"aria-current",required:!1,type:{name:'boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time"'}},"aria-describedby":{defaultValue:null,description:"",name:"aria-describedby",required:!1,type:{name:"string"}},"aria-description":{defaultValue:null,description:"",name:"aria-description",required:!1,type:{name:"string"}},"aria-details":{defaultValue:null,description:"",name:"aria-details",required:!1,type:{name:"string"}},"aria-disabled":{defaultValue:null,description:"",name:"aria-disabled",required:!1,type:{name:"Booleanish"}},"aria-dropeffect":{defaultValue:null,description:"",name:"aria-dropeffect",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"link"'},{value:'"copy"'},{value:'"execute"'},{value:'"move"'},{value:'"popup"'}]}},"aria-errormessage":{defaultValue:null,description:"",name:"aria-errormessage",required:!1,type:{name:"string"}},"aria-expanded":{defaultValue:null,description:"",name:"aria-expanded",required:!1,type:{name:"Booleanish"}},"aria-flowto":{defaultValue:null,description:"",name:"aria-flowto",required:!1,type:{name:"string"}},"aria-grabbed":{defaultValue:null,description:"",name:"aria-grabbed",required:!1,type:{name:"Booleanish"}},"aria-haspopup":{defaultValue:null,description:"",name:"aria-haspopup",required:!1,type:{name:'boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree"'}},"aria-hidden":{defaultValue:null,description:"",name:"aria-hidden",required:!1,type:{name:"Booleanish"}},"aria-invalid":{defaultValue:null,description:"",name:"aria-invalid",required:!1,type:{name:'boolean | "true" | "false" | "grammar" | "spelling"'}},"aria-keyshortcuts":{defaultValue:null,description:"",name:"aria-keyshortcuts",required:!1,type:{name:"string"}},"aria-label":{defaultValue:null,description:"",name:"aria-label",required:!1,type:{name:"string"}},"aria-labelledby":{defaultValue:null,description:"",name:"aria-labelledby",required:!1,type:{name:"string"}},"aria-level":{defaultValue:null,description:"",name:"aria-level",required:!1,type:{name:"number"}},"aria-live":{defaultValue:null,description:"",name:"aria-live",required:!1,type:{name:"enum",value:[{value:'"off"'},{value:'"assertive"'},{value:'"polite"'}]}},"aria-modal":{defaultValue:null,description:"",name:"aria-modal",required:!1,type:{name:"Booleanish"}},"aria-multiline":{defaultValue:null,description:"",name:"aria-multiline",required:!1,type:{name:"Booleanish"}},"aria-multiselectable":{defaultValue:null,description:"",name:"aria-multiselectable",required:!1,type:{name:"Booleanish"}},"aria-orientation":{defaultValue:null,description:"",name:"aria-orientation",required:!1,type:{name:"enum",value:[{value:'"horizontal"'},{value:'"vertical"'}]}},"aria-owns":{defaultValue:null,description:"",name:"aria-owns",required:!1,type:{name:"string"}},"aria-placeholder":{defaultValue:null,description:"",name:"aria-placeholder",required:!1,type:{name:"string"}},"aria-posinset":{defaultValue:null,description:"",name:"aria-posinset",required:!1,type:{name:"number"}},"aria-pressed":{defaultValue:null,description:"",name:"aria-pressed",required:!1,type:{name:'boolean | "true" | "false" | "mixed"'}},"aria-readonly":{defaultValue:null,description:"",name:"aria-readonly",required:!1,type:{name:"Booleanish"}},"aria-relevant":{defaultValue:null,description:"",name:"aria-relevant",required:!1,type:{name:"enum",value:[{value:'"text"'},{value:'"additions"'},{value:'"additions removals"'},{value:'"additions text"'},{value:'"all"'},{value:'"removals"'},{value:'"removals additions"'},{value:'"removals text"'},{value:'"text additions"'},{value:'"text removals"'}]}},"aria-required":{defaultValue:null,description:"",name:"aria-required",required:!1,type:{name:"Booleanish"}},"aria-roledescription":{defaultValue:null,description:"",name:"aria-roledescription",required:!1,type:{name:"string"}},"aria-rowcount":{defaultValue:null,description:"",name:"aria-rowcount",required:!1,type:{name:"number"}},"aria-rowindex":{defaultValue:null,description:"",name:"aria-rowindex",required:!1,type:{name:"number"}},"aria-rowindextext":{defaultValue:null,description:"",name:"aria-rowindextext",required:!1,type:{name:"string"}},"aria-rowspan":{defaultValue:null,description:"",name:"aria-rowspan",required:!1,type:{name:"number"}},"aria-selected":{defaultValue:null,description:"",name:"aria-selected",required:!1,type:{name:"Booleanish"}},"aria-setsize":{defaultValue:null,description:"",name:"aria-setsize",required:!1,type:{name:"number"}},"aria-sort":{defaultValue:null,description:"",name:"aria-sort",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"ascending"'},{value:'"descending"'},{value:'"other"'}]}},"aria-valuemax":{defaultValue:null,description:"",name:"aria-valuemax",required:!1,type:{name:"number"}},"aria-valuemin":{defaultValue:null,description:"",name:"aria-valuemin",required:!1,type:{name:"number"}},"aria-valuenow":{defaultValue:null,description:"",name:"aria-valuenow",required:!1,type:{name:"number"}},"aria-valuetext":{defaultValue:null,description:"",name:"aria-valuetext",required:!1,type:{name:"string"}},dangerouslySetInnerHTML:{defaultValue:null,description:"",name:"dangerouslySetInnerHTML",required:!1,type:{name:"{ __html: string | TrustedHTML; }"}},onCopy:{defaultValue:null,description:"",name:"onCopy",required:!1,type:{name:"ClipboardEventHandler"}},onCopyCapture:{defaultValue:null,description:"",name:"onCopyCapture",required:!1,type:{name:"ClipboardEventHandler"}},onCut:{defaultValue:null,description:"",name:"onCut",required:!1,type:{name:"ClipboardEventHandler"}},onCutCapture:{defaultValue:null,description:"",name:"onCutCapture",required:!1,type:{name:"ClipboardEventHandler"}},onPaste:{defaultValue:null,description:"",name:"onPaste",required:!1,type:{name:"ClipboardEventHandler"}},onPasteCapture:{defaultValue:null,description:"",name:"onPasteCapture",required:!1,type:{name:"ClipboardEventHandler"}},onCompositionEnd:{defaultValue:null,description:"",name:"onCompositionEnd",required:!1,type:{name:"CompositionEventHandler"}},onCompositionEndCapture:{defaultValue:null,description:"",name:"onCompositionEndCapture",required:!1,type:{name:"CompositionEventHandler"}},onCompositionStart:{defaultValue:null,description:"",name:"onCompositionStart",required:!1,type:{name:"CompositionEventHandler"}},onCompositionStartCapture:{defaultValue:null,description:"",name:"onCompositionStartCapture",required:!1,type:{name:"CompositionEventHandler"}},onCompositionUpdate:{defaultValue:null,description:"",name:"onCompositionUpdate",required:!1,type:{name:"CompositionEventHandler"}},onCompositionUpdateCapture:{defaultValue:null,description:"",name:"onCompositionUpdateCapture",required:!1,type:{name:"CompositionEventHandler"}},onFocus:{defaultValue:null,description:"",name:"onFocus",required:!1,type:{name:"FocusEventHandler"}},onFocusCapture:{defaultValue:null,description:"",name:"onFocusCapture",required:!1,type:{name:"FocusEventHandler"}},onBlur:{defaultValue:null,description:"",name:"onBlur",required:!1,type:{name:"FocusEventHandler"}},onBlurCapture:{defaultValue:null,description:"",name:"onBlurCapture",required:!1,type:{name:"FocusEventHandler"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"FormEventHandler"}},onChangeCapture:{defaultValue:null,description:"",name:"onChangeCapture",required:!1,type:{name:"FormEventHandler"}},onBeforeInput:{defaultValue:null,description:"",name:"onBeforeInput",required:!1,type:{name:"FormEventHandler"}},onBeforeInputCapture:{defaultValue:null,description:"",name:"onBeforeInputCapture",required:!1,type:{name:"FormEventHandler"}},onInput:{defaultValue:null,description:"",name:"onInput",required:!1,type:{name:"FormEventHandler"}},onInputCapture:{defaultValue:null,description:"",name:"onInputCapture",required:!1,type:{name:"FormEventHandler"}},onReset:{defaultValue:null,description:"",name:"onReset",required:!1,type:{name:"FormEventHandler"}},onResetCapture:{defaultValue:null,description:"",name:"onResetCapture",required:!1,type:{name:"FormEventHandler"}},onSubmit:{defaultValue:null,description:"",name:"onSubmit",required:!1,type:{name:"FormEventHandler"}},onSubmitCapture:{defaultValue:null,description:"",name:"onSubmitCapture",required:!1,type:{name:"FormEventHandler"}},onInvalid:{defaultValue:null,description:"",name:"onInvalid",required:!1,type:{name:"FormEventHandler"}},onInvalidCapture:{defaultValue:null,description:"",name:"onInvalidCapture",required:!1,type:{name:"FormEventHandler"}},onLoad:{defaultValue:null,description:"",name:"onLoad",required:!1,type:{name:"ReactEventHandler"}},onLoadCapture:{defaultValue:null,description:"",name:"onLoadCapture",required:!1,type:{name:"ReactEventHandler"}},onError:{defaultValue:null,description:"",name:"onError",required:!1,type:{name:"ReactEventHandler"}},onErrorCapture:{defaultValue:null,description:"",name:"onErrorCapture",required:!1,type:{name:"ReactEventHandler"}},onKeyDown:{defaultValue:null,description:"",name:"onKeyDown",required:!1,type:{name:"KeyboardEventHandler"}},onKeyDownCapture:{defaultValue:null,description:"",name:"onKeyDownCapture",required:!1,type:{name:"KeyboardEventHandler"}},onKeyPress:{defaultValue:null,description:"",name:"onKeyPress",required:!1,type:{name:"KeyboardEventHandler"}},onKeyPressCapture:{defaultValue:null,description:"",name:"onKeyPressCapture",required:!1,type:{name:"KeyboardEventHandler"}},onKeyUp:{defaultValue:null,description:"",name:"onKeyUp",required:!1,type:{name:"KeyboardEventHandler"}},onKeyUpCapture:{defaultValue:null,description:"",name:"onKeyUpCapture",required:!1,type:{name:"KeyboardEventHandler"}},onAbort:{defaultValue:null,description:"",name:"onAbort",required:!1,type:{name:"ReactEventHandler"}},onAbortCapture:{defaultValue:null,description:"",name:"onAbortCapture",required:!1,type:{name:"ReactEventHandler"}},onCanPlay:{defaultValue:null,description:"",name:"onCanPlay",required:!1,type:{name:"ReactEventHandler"}},onCanPlayCapture:{defaultValue:null,description:"",name:"onCanPlayCapture",required:!1,type:{name:"ReactEventHandler"}},onCanPlayThrough:{defaultValue:null,description:"",name:"onCanPlayThrough",required:!1,type:{name:"ReactEventHandler"}},onCanPlayThroughCapture:{defaultValue:null,description:"",name:"onCanPlayThroughCapture",required:!1,type:{name:"ReactEventHandler"}},onDurationChange:{defaultValue:null,description:"",name:"onDurationChange",required:!1,type:{name:"ReactEventHandler"}},onDurationChangeCapture:{defaultValue:null,description:"",name:"onDurationChangeCapture",required:!1,type:{name:"ReactEventHandler"}},onEmptied:{defaultValue:null,description:"",name:"onEmptied",required:!1,type:{name:"ReactEventHandler"}},onEmptiedCapture:{defaultValue:null,description:"",name:"onEmptiedCapture",required:!1,type:{name:"ReactEventHandler"}},onEncrypted:{defaultValue:null,description:"",name:"onEncrypted",required:!1,type:{name:"ReactEventHandler"}},onEncryptedCapture:{defaultValue:null,description:"",name:"onEncryptedCapture",required:!1,type:{name:"ReactEventHandler"}},onEnded:{defaultValue:null,description:"",name:"onEnded",required:!1,type:{name:"ReactEventHandler"}},onEndedCapture:{defaultValue:null,description:"",name:"onEndedCapture",required:!1,type:{name:"ReactEventHandler"}},onLoadedData:{defaultValue:null,description:"",name:"onLoadedData",required:!1,type:{name:"ReactEventHandler"}},onLoadedDataCapture:{defaultValue:null,description:"",name:"onLoadedDataCapture",required:!1,type:{name:"ReactEventHandler"}},onLoadedMetadata:{defaultValue:null,description:"",name:"onLoadedMetadata",required:!1,type:{name:"ReactEventHandler"}},onLoadedMetadataCapture:{defaultValue:null,description:"",name:"onLoadedMetadataCapture",required:!1,type:{name:"ReactEventHandler"}},onLoadStart:{defaultValue:null,description:"",name:"onLoadStart",required:!1,type:{name:"ReactEventHandler"}},onLoadStartCapture:{defaultValue:null,description:"",name:"onLoadStartCapture",required:!1,type:{name:"ReactEventHandler"}},onPause:{defaultValue:null,description:"",name:"onPause",required:!1,type:{name:"ReactEventHandler"}},onPauseCapture:{defaultValue:null,description:"",name:"onPauseCapture",required:!1,type:{name:"ReactEventHandler"}},onPlay:{defaultValue:null,description:"",name:"onPlay",required:!1,type:{name:"ReactEventHandler"}},onPlayCapture:{defaultValue:null,description:"",name:"onPlayCapture",required:!1,type:{name:"ReactEventHandler"}},onPlaying:{defaultValue:null,description:"",name:"onPlaying",required:!1,type:{name:"ReactEventHandler"}},onPlayingCapture:{defaultValue:null,description:"",name:"onPlayingCapture",required:!1,type:{name:"ReactEventHandler"}},onProgress:{defaultValue:null,description:"",name:"onProgress",required:!1,type:{name:"ReactEventHandler"}},onProgressCapture:{defaultValue:null,description:"",name:"onProgressCapture",required:!1,type:{name:"ReactEventHandler"}},onRateChange:{defaultValue:null,description:"",name:"onRateChange",required:!1,type:{name:"ReactEventHandler"}},onRateChangeCapture:{defaultValue:null,description:"",name:"onRateChangeCapture",required:!1,type:{name:"ReactEventHandler"}},onResize:{defaultValue:null,description:"",name:"onResize",required:!1,type:{name:"ReactEventHandler"}},onResizeCapture:{defaultValue:null,description:"",name:"onResizeCapture",required:!1,type:{name:"ReactEventHandler"}},onSeeked:{defaultValue:null,description:"",name:"onSeeked",required:!1,type:{name:"ReactEventHandler"}},onSeekedCapture:{defaultValue:null,description:"",name:"onSeekedCapture",required:!1,type:{name:"ReactEventHandler"}},onSeeking:{defaultValue:null,description:"",name:"onSeeking",required:!1,type:{name:"ReactEventHandler"}},onSeekingCapture:{defaultValue:null,description:"",name:"onSeekingCapture",required:!1,type:{name:"ReactEventHandler"}},onStalled:{defaultValue:null,description:"",name:"onStalled",required:!1,type:{name:"ReactEventHandler"}},onStalledCapture:{defaultValue:null,description:"",name:"onStalledCapture",required:!1,type:{name:"ReactEventHandler"}},onSuspend:{defaultValue:null,description:"",name:"onSuspend",required:!1,type:{name:"ReactEventHandler"}},onSuspendCapture:{defaultValue:null,description:"",name:"onSuspendCapture",required:!1,type:{name:"ReactEventHandler"}},onTimeUpdate:{defaultValue:null,description:"",name:"onTimeUpdate",required:!1,type:{name:"ReactEventHandler"}},onTimeUpdateCapture:{defaultValue:null,description:"",name:"onTimeUpdateCapture",required:!1,type:{name:"ReactEventHandler"}},onVolumeChange:{defaultValue:null,description:"",name:"onVolumeChange",required:!1,type:{name:"ReactEventHandler"}},onVolumeChangeCapture:{defaultValue:null,description:"",name:"onVolumeChangeCapture",required:!1,type:{name:"ReactEventHandler"}},onWaiting:{defaultValue:null,description:"",name:"onWaiting",required:!1,type:{name:"ReactEventHandler"}},onWaitingCapture:{defaultValue:null,description:"",name:"onWaitingCapture",required:!1,type:{name:"ReactEventHandler"}},onAuxClick:{defaultValue:null,description:"",name:"onAuxClick",required:!1,type:{name:"MouseEventHandler"}},onAuxClickCapture:{defaultValue:null,description:"",name:"onAuxClickCapture",required:!1,type:{name:"MouseEventHandler"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"MouseEventHandler"}},onClickCapture:{defaultValue:null,description:"",name:"onClickCapture",required:!1,type:{name:"MouseEventHandler"}},onContextMenu:{defaultValue:null,description:"",name:"onContextMenu",required:!1,type:{name:"MouseEventHandler"}},onContextMenuCapture:{defaultValue:null,description:"",name:"onContextMenuCapture",required:!1,type:{name:"MouseEventHandler"}},onDoubleClick:{defaultValue:null,description:"",name:"onDoubleClick",required:!1,type:{name:"MouseEventHandler"}},onDoubleClickCapture:{defaultValue:null,description:"",name:"onDoubleClickCapture",required:!1,type:{name:"MouseEventHandler"}},onDragCapture:{defaultValue:null,description:"",name:"onDragCapture",required:!1,type:{name:"DragEventHandler"}},onDragEndCapture:{defaultValue:null,description:"",name:"onDragEndCapture",required:!1,type:{name:"DragEventHandler"}},onDragEnter:{defaultValue:null,description:"",name:"onDragEnter",required:!1,type:{name:"DragEventHandler"}},onDragEnterCapture:{defaultValue:null,description:"",name:"onDragEnterCapture",required:!1,type:{name:"DragEventHandler"}},onDragExit:{defaultValue:null,description:"",name:"onDragExit",required:!1,type:{name:"DragEventHandler"}},onDragExitCapture:{defaultValue:null,description:"",name:"onDragExitCapture",required:!1,type:{name:"DragEventHandler"}},onDragLeave:{defaultValue:null,description:"",name:"onDragLeave",required:!1,type:{name:"DragEventHandler"}},onDragLeaveCapture:{defaultValue:null,description:"",name:"onDragLeaveCapture",required:!1,type:{name:"DragEventHandler"}},onDragOver:{defaultValue:null,description:"",name:"onDragOver",required:!1,type:{name:"DragEventHandler"}},onDragOverCapture:{defaultValue:null,description:"",name:"onDragOverCapture",required:!1,type:{name:"DragEventHandler"}},onDragStartCapture:{defaultValue:null,description:"",name:"onDragStartCapture",required:!1,type:{name:"DragEventHandler"}},onDrop:{defaultValue:null,description:"",name:"onDrop",required:!1,type:{name:"DragEventHandler"}},onDropCapture:{defaultValue:null,description:"",name:"onDropCapture",required:!1,type:{name:"DragEventHandler"}},onMouseDown:{defaultValue:null,description:"",name:"onMouseDown",required:!1,type:{name:"MouseEventHandler"}},onMouseDownCapture:{defaultValue:null,description:"",name:"onMouseDownCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseEnter:{defaultValue:null,description:"",name:"onMouseEnter",required:!1,type:{name:"MouseEventHandler"}},onMouseLeave:{defaultValue:null,description:"",name:"onMouseLeave",required:!1,type:{name:"MouseEventHandler"}},onMouseMove:{defaultValue:null,description:"",name:"onMouseMove",required:!1,type:{name:"MouseEventHandler"}},onMouseMoveCapture:{defaultValue:null,description:"",name:"onMouseMoveCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseOut:{defaultValue:null,description:"",name:"onMouseOut",required:!1,type:{name:"MouseEventHandler"}},onMouseOutCapture:{defaultValue:null,description:"",name:"onMouseOutCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseOver:{defaultValue:null,description:"",name:"onMouseOver",required:!1,type:{name:"MouseEventHandler"}},onMouseOverCapture:{defaultValue:null,description:"",name:"onMouseOverCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseUp:{defaultValue:null,description:"",name:"onMouseUp",required:!1,type:{name:"MouseEventHandler"}},onMouseUpCapture:{defaultValue:null,description:"",name:"onMouseUpCapture",required:!1,type:{name:"MouseEventHandler"}},onSelect:{defaultValue:null,description:"",name:"onSelect",required:!1,type:{name:"ReactEventHandler"}},onSelectCapture:{defaultValue:null,description:"",name:"onSelectCapture",required:!1,type:{name:"ReactEventHandler"}},onTouchCancel:{defaultValue:null,description:"",name:"onTouchCancel",required:!1,type:{name:"TouchEventHandler"}},onTouchCancelCapture:{defaultValue:null,description:"",name:"onTouchCancelCapture",required:!1,type:{name:"TouchEventHandler"}},onTouchEnd:{defaultValue:null,description:"",name:"onTouchEnd",required:!1,type:{name:"TouchEventHandler"}},onTouchEndCapture:{defaultValue:null,description:"",name:"onTouchEndCapture",required:!1,type:{name:"TouchEventHandler"}},onTouchMove:{defaultValue:null,description:"",name:"onTouchMove",required:!1,type:{name:"TouchEventHandler"}},onTouchMoveCapture:{defaultValue:null,description:"",name:"onTouchMoveCapture",required:!1,type:{name:"TouchEventHandler"}},onTouchStart:{defaultValue:null,description:"",name:"onTouchStart",required:!1,type:{name:"TouchEventHandler"}},onTouchStartCapture:{defaultValue:null,description:"",name:"onTouchStartCapture",required:!1,type:{name:"TouchEventHandler"}},onPointerDown:{defaultValue:null,description:"",name:"onPointerDown",required:!1,type:{name:"PointerEventHandler"}},onPointerDownCapture:{defaultValue:null,description:"",name:"onPointerDownCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerMove:{defaultValue:null,description:"",name:"onPointerMove",required:!1,type:{name:"PointerEventHandler"}},onPointerMoveCapture:{defaultValue:null,description:"",name:"onPointerMoveCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerUp:{defaultValue:null,description:"",name:"onPointerUp",required:!1,type:{name:"PointerEventHandler"}},onPointerUpCapture:{defaultValue:null,description:"",name:"onPointerUpCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerCancel:{defaultValue:null,description:"",name:"onPointerCancel",required:!1,type:{name:"PointerEventHandler"}},onPointerCancelCapture:{defaultValue:null,description:"",name:"onPointerCancelCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerEnter:{defaultValue:null,description:"",name:"onPointerEnter",required:!1,type:{name:"PointerEventHandler"}},onPointerLeave:{defaultValue:null,description:"",name:"onPointerLeave",required:!1,type:{name:"PointerEventHandler"}},onPointerOver:{defaultValue:null,description:"",name:"onPointerOver",required:!1,type:{name:"PointerEventHandler"}},onPointerOverCapture:{defaultValue:null,description:"",name:"onPointerOverCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerOut:{defaultValue:null,description:"",name:"onPointerOut",required:!1,type:{name:"PointerEventHandler"}},onPointerOutCapture:{defaultValue:null,description:"",name:"onPointerOutCapture",required:!1,type:{name:"PointerEventHandler"}},onGotPointerCapture:{defaultValue:null,description:"",name:"onGotPointerCapture",required:!1,type:{name:"PointerEventHandler"}},onGotPointerCaptureCapture:{defaultValue:null,description:"",name:"onGotPointerCaptureCapture",required:!1,type:{name:"PointerEventHandler"}},onLostPointerCapture:{defaultValue:null,description:"",name:"onLostPointerCapture",required:!1,type:{name:"PointerEventHandler"}},onLostPointerCaptureCapture:{defaultValue:null,description:"",name:"onLostPointerCaptureCapture",required:!1,type:{name:"PointerEventHandler"}},onScroll:{defaultValue:null,description:"",name:"onScroll",required:!1,type:{name:"UIEventHandler"}},onScrollCapture:{defaultValue:null,description:"",name:"onScrollCapture",required:!1,type:{name:"UIEventHandler"}},onWheel:{defaultValue:null,description:"",name:"onWheel",required:!1,type:{name:"WheelEventHandler"}},onWheelCapture:{defaultValue:null,description:"",name:"onWheelCapture",required:!1,type:{name:"WheelEventHandler"}},onAnimationStartCapture:{defaultValue:null,description:"",name:"onAnimationStartCapture",required:!1,type:{name:"AnimationEventHandler"}},onAnimationEnd:{defaultValue:null,description:"",name:"onAnimationEnd",required:!1,type:{name:"AnimationEventHandler"}},onAnimationEndCapture:{defaultValue:null,description:"",name:"onAnimationEndCapture",required:!1,type:{name:"AnimationEventHandler"}},onAnimationIteration:{defaultValue:null,description:"",name:"onAnimationIteration",required:!1,type:{name:"AnimationEventHandler"}},onAnimationIterationCapture:{defaultValue:null,description:"",name:"onAnimationIterationCapture",required:!1,type:{name:"AnimationEventHandler"}},onTransitionEnd:{defaultValue:null,description:"",name:"onTransitionEnd",required:!1,type:{name:"TransitionEventHandler"}},onTransitionEndCapture:{defaultValue:null,description:"",name:"onTransitionEndCapture",required:!1,type:{name:"TransitionEventHandler"}},alt:{defaultValue:null,description:"",name:"alt",required:!1,type:{name:"string"}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:"string | number"}},src:{defaultValue:null,description:"",name:"src",required:!1,type:{name:"string"}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"string | number"}},crossOrigin:{defaultValue:null,description:"",name:"crossOrigin",required:!1,type:{name:"enum",value:[{value:'""'},{value:'"anonymous"'},{value:'"use-credentials"'}]}},decoding:{defaultValue:null,description:"",name:"decoding",required:!1,type:{name:"enum",value:[{value:'"async"'},{value:'"auto"'},{value:'"sync"'}]}},fetchPriority:{defaultValue:null,description:"",name:"fetchPriority",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"high"'},{value:'"low"'}]}},loading:{defaultValue:null,description:"",name:"loading",required:!1,type:{name:"enum",value:[{value:'"eager"'},{value:'"lazy"'}]}},referrerPolicy:{defaultValue:null,description:"",name:"referrerPolicy",required:!1,type:{name:"enum",value:[{value:'""'},{value:'"no-referrer"'},{value:'"no-referrer-when-downgrade"'},{value:'"origin"'},{value:'"origin-when-cross-origin"'},{value:'"same-origin"'},{value:'"strict-origin"'},{value:'"strict-origin-when-cross-origin"'},{value:'"unsafe-url"'}]}},sizes:{defaultValue:null,description:"",name:"sizes",required:!1,type:{name:"string"}},srcSet:{defaultValue:null,description:"",name:"srcSet",required:!1,type:{name:"string"}},useMap:{defaultValue:null,description:"",name:"useMap",required:!1,type:{name:"string"}}}}}catch{}const q=p(["flex","items-center","justify-center","overflow-hidden","shrink-0","rounded-full"],{variants:{size:{xs:"w-3 h-3",sm:"w-5 h-5",md:"w-8 h-8",lg:"w-10 h-10",xl:"w-16 h-16"}}}),t=f.memo(e=>{const{chainId:a,className:u,disableAnimation:i=!1,style:d,src:o,size:n="md",...m}=e,s=o||v(V(a),n);return l.jsx("div",{className:c(q({size:n}),u),style:d,...m,children:l.jsx(y,{className:"max-w-full max-h-full object-cover w-full",disableAnimation:i,src:s})})});try{t.displayName="NetworkImage",t.__docgenInfo={description:"",displayName:"NetworkImage",props:{chainId:{defaultValue:null,description:"",name:"chainId",required:!0,type:{name:"number"}},src:{defaultValue:null,description:"",name:"src",required:!1,type:{name:"string"}},disableAnimation:{defaultValue:null,description:"",name:"disableAnimation",required:!1,type:{name:"boolean"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"sm" | "md" | "lg" | "xs" | "xl" | null'}}}}}catch{}export{t as N}; diff --git a/assets/NetworkImage-SJY1DR57.js b/assets/NetworkImage-SJY1DR57.js new file mode 100644 index 000000000..efe708435 --- /dev/null +++ b/assets/NetworkImage-SJY1DR57.js @@ -0,0 +1 @@ +import{j as l}from"./jsx-runtime-Cf8x2fCZ.js";import{c as p}from"./index-Dp3B9jqt.js";import{r as f}from"./index-DubqEmGm.js";import{c}from"./classnames-Dx2cly0x.js";import{I as y}from"./Image-BYRrYa8a.js";const E="https://assets.sequence.info/",g=5,H={xs:"small",sm:"small",md:"medium",lg:"large",xl:"large"},r=e=>e?H[e]||e:"medium",v=(e,a)=>e.replace(/\/(small|medium|large)\//,`/${r(a)}/`),V=(e,a)=>E+`images/networks/${r(a)}/${e}.webp?v${g}`;try{Image.displayName="Image",Image.__docgenInfo={description:"",displayName:"Image",props:{disableAnimation:{defaultValue:null,description:"",name:"disableAnimation",required:!1,type:{name:"boolean"}},color:{defaultValue:null,description:"",name:"color",required:!1,type:{name:"string"}},hidden:{defaultValue:null,description:"",name:"hidden",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"LegacyRef"}},defaultChecked:{defaultValue:null,description:"",name:"defaultChecked",required:!1,type:{name:"boolean"}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"string | number | readonly string[]"}},suppressContentEditableWarning:{defaultValue:null,description:"",name:"suppressContentEditableWarning",required:!1,type:{name:"boolean"}},suppressHydrationWarning:{defaultValue:null,description:"",name:"suppressHydrationWarning",required:!1,type:{name:"boolean"}},accessKey:{defaultValue:null,description:"",name:"accessKey",required:!1,type:{name:"string"}},autoCapitalize:{defaultValue:null,description:"",name:"autoCapitalize",required:!1,type:{name:'"off" | "none" | "on" | "sentences" | "words" | "characters" | (string & {})'}},autoFocus:{defaultValue:null,description:"",name:"autoFocus",required:!1,type:{name:"boolean"}},contentEditable:{defaultValue:null,description:"",name:"contentEditable",required:!1,type:{name:'"inherit" | Booleanish | "plaintext-only"'}},contextMenu:{defaultValue:null,description:"",name:"contextMenu",required:!1,type:{name:"string"}},dir:{defaultValue:null,description:"",name:"dir",required:!1,type:{name:"string"}},draggable:{defaultValue:null,description:"",name:"draggable",required:!1,type:{name:"Booleanish"}},enterKeyHint:{defaultValue:null,description:"",name:"enterKeyHint",required:!1,type:{name:"enum",value:[{value:'"enter"'},{value:'"done"'},{value:'"go"'},{value:'"next"'},{value:'"previous"'},{value:'"search"'},{value:'"send"'}]}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},lang:{defaultValue:null,description:"",name:"lang",required:!1,type:{name:"string"}},nonce:{defaultValue:null,description:"",name:"nonce",required:!1,type:{name:"string"}},slot:{defaultValue:null,description:"",name:"slot",required:!1,type:{name:"string"}},spellCheck:{defaultValue:null,description:"",name:"spellCheck",required:!1,type:{name:"Booleanish"}},tabIndex:{defaultValue:null,description:"",name:"tabIndex",required:!1,type:{name:"number"}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},translate:{defaultValue:null,description:"",name:"translate",required:!1,type:{name:"enum",value:[{value:'"yes"'},{value:'"no"'}]}},radioGroup:{defaultValue:null,description:"",name:"radioGroup",required:!1,type:{name:"string"}},role:{defaultValue:null,description:"",name:"role",required:!1,type:{name:"AriaRole"}},about:{defaultValue:null,description:"",name:"about",required:!1,type:{name:"string"}},content:{defaultValue:null,description:"",name:"content",required:!1,type:{name:"string"}},datatype:{defaultValue:null,description:"",name:"datatype",required:!1,type:{name:"string"}},inlist:{defaultValue:null,description:"",name:"inlist",required:!1,type:{name:"any"}},prefix:{defaultValue:null,description:"",name:"prefix",required:!1,type:{name:"string"}},property:{defaultValue:null,description:"",name:"property",required:!1,type:{name:"string"}},rel:{defaultValue:null,description:"",name:"rel",required:!1,type:{name:"string"}},resource:{defaultValue:null,description:"",name:"resource",required:!1,type:{name:"string"}},rev:{defaultValue:null,description:"",name:"rev",required:!1,type:{name:"string"}},typeof:{defaultValue:null,description:"",name:"typeof",required:!1,type:{name:"string"}},vocab:{defaultValue:null,description:"",name:"vocab",required:!1,type:{name:"string"}},autoCorrect:{defaultValue:null,description:"",name:"autoCorrect",required:!1,type:{name:"string"}},autoSave:{defaultValue:null,description:"",name:"autoSave",required:!1,type:{name:"string"}},itemProp:{defaultValue:null,description:"",name:"itemProp",required:!1,type:{name:"string"}},itemScope:{defaultValue:null,description:"",name:"itemScope",required:!1,type:{name:"boolean"}},itemType:{defaultValue:null,description:"",name:"itemType",required:!1,type:{name:"string"}},itemID:{defaultValue:null,description:"",name:"itemID",required:!1,type:{name:"string"}},itemRef:{defaultValue:null,description:"",name:"itemRef",required:!1,type:{name:"string"}},results:{defaultValue:null,description:"",name:"results",required:!1,type:{name:"number"}},security:{defaultValue:null,description:"",name:"security",required:!1,type:{name:"string"}},unselectable:{defaultValue:null,description:"",name:"unselectable",required:!1,type:{name:"enum",value:[{value:'"off"'},{value:'"on"'}]}},inputMode:{defaultValue:null,description:"",name:"inputMode",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"search"'},{value:'"text"'},{value:'"tel"'},{value:'"url"'},{value:'"email"'},{value:'"numeric"'},{value:'"decimal"'}]}},is:{defaultValue:null,description:"",name:"is",required:!1,type:{name:"string"}},"aria-activedescendant":{defaultValue:null,description:"",name:"aria-activedescendant",required:!1,type:{name:"string"}},"aria-atomic":{defaultValue:null,description:"",name:"aria-atomic",required:!1,type:{name:"Booleanish"}},"aria-autocomplete":{defaultValue:null,description:"",name:"aria-autocomplete",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"list"'},{value:'"inline"'},{value:'"both"'}]}},"aria-braillelabel":{defaultValue:null,description:"",name:"aria-braillelabel",required:!1,type:{name:"string"}},"aria-brailleroledescription":{defaultValue:null,description:"",name:"aria-brailleroledescription",required:!1,type:{name:"string"}},"aria-busy":{defaultValue:null,description:"",name:"aria-busy",required:!1,type:{name:"Booleanish"}},"aria-checked":{defaultValue:null,description:"",name:"aria-checked",required:!1,type:{name:'boolean | "true" | "false" | "mixed"'}},"aria-colcount":{defaultValue:null,description:"",name:"aria-colcount",required:!1,type:{name:"number"}},"aria-colindex":{defaultValue:null,description:"",name:"aria-colindex",required:!1,type:{name:"number"}},"aria-colindextext":{defaultValue:null,description:"",name:"aria-colindextext",required:!1,type:{name:"string"}},"aria-colspan":{defaultValue:null,description:"",name:"aria-colspan",required:!1,type:{name:"number"}},"aria-controls":{defaultValue:null,description:"",name:"aria-controls",required:!1,type:{name:"string"}},"aria-current":{defaultValue:null,description:"",name:"aria-current",required:!1,type:{name:'boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time"'}},"aria-describedby":{defaultValue:null,description:"",name:"aria-describedby",required:!1,type:{name:"string"}},"aria-description":{defaultValue:null,description:"",name:"aria-description",required:!1,type:{name:"string"}},"aria-details":{defaultValue:null,description:"",name:"aria-details",required:!1,type:{name:"string"}},"aria-disabled":{defaultValue:null,description:"",name:"aria-disabled",required:!1,type:{name:"Booleanish"}},"aria-dropeffect":{defaultValue:null,description:"",name:"aria-dropeffect",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"link"'},{value:'"copy"'},{value:'"execute"'},{value:'"move"'},{value:'"popup"'}]}},"aria-errormessage":{defaultValue:null,description:"",name:"aria-errormessage",required:!1,type:{name:"string"}},"aria-expanded":{defaultValue:null,description:"",name:"aria-expanded",required:!1,type:{name:"Booleanish"}},"aria-flowto":{defaultValue:null,description:"",name:"aria-flowto",required:!1,type:{name:"string"}},"aria-grabbed":{defaultValue:null,description:"",name:"aria-grabbed",required:!1,type:{name:"Booleanish"}},"aria-haspopup":{defaultValue:null,description:"",name:"aria-haspopup",required:!1,type:{name:'boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree"'}},"aria-hidden":{defaultValue:null,description:"",name:"aria-hidden",required:!1,type:{name:"Booleanish"}},"aria-invalid":{defaultValue:null,description:"",name:"aria-invalid",required:!1,type:{name:'boolean | "true" | "false" | "grammar" | "spelling"'}},"aria-keyshortcuts":{defaultValue:null,description:"",name:"aria-keyshortcuts",required:!1,type:{name:"string"}},"aria-label":{defaultValue:null,description:"",name:"aria-label",required:!1,type:{name:"string"}},"aria-labelledby":{defaultValue:null,description:"",name:"aria-labelledby",required:!1,type:{name:"string"}},"aria-level":{defaultValue:null,description:"",name:"aria-level",required:!1,type:{name:"number"}},"aria-live":{defaultValue:null,description:"",name:"aria-live",required:!1,type:{name:"enum",value:[{value:'"off"'},{value:'"assertive"'},{value:'"polite"'}]}},"aria-modal":{defaultValue:null,description:"",name:"aria-modal",required:!1,type:{name:"Booleanish"}},"aria-multiline":{defaultValue:null,description:"",name:"aria-multiline",required:!1,type:{name:"Booleanish"}},"aria-multiselectable":{defaultValue:null,description:"",name:"aria-multiselectable",required:!1,type:{name:"Booleanish"}},"aria-orientation":{defaultValue:null,description:"",name:"aria-orientation",required:!1,type:{name:"enum",value:[{value:'"horizontal"'},{value:'"vertical"'}]}},"aria-owns":{defaultValue:null,description:"",name:"aria-owns",required:!1,type:{name:"string"}},"aria-placeholder":{defaultValue:null,description:"",name:"aria-placeholder",required:!1,type:{name:"string"}},"aria-posinset":{defaultValue:null,description:"",name:"aria-posinset",required:!1,type:{name:"number"}},"aria-pressed":{defaultValue:null,description:"",name:"aria-pressed",required:!1,type:{name:'boolean | "true" | "false" | "mixed"'}},"aria-readonly":{defaultValue:null,description:"",name:"aria-readonly",required:!1,type:{name:"Booleanish"}},"aria-relevant":{defaultValue:null,description:"",name:"aria-relevant",required:!1,type:{name:"enum",value:[{value:'"text"'},{value:'"additions"'},{value:'"additions removals"'},{value:'"additions text"'},{value:'"all"'},{value:'"removals"'},{value:'"removals additions"'},{value:'"removals text"'},{value:'"text additions"'},{value:'"text removals"'}]}},"aria-required":{defaultValue:null,description:"",name:"aria-required",required:!1,type:{name:"Booleanish"}},"aria-roledescription":{defaultValue:null,description:"",name:"aria-roledescription",required:!1,type:{name:"string"}},"aria-rowcount":{defaultValue:null,description:"",name:"aria-rowcount",required:!1,type:{name:"number"}},"aria-rowindex":{defaultValue:null,description:"",name:"aria-rowindex",required:!1,type:{name:"number"}},"aria-rowindextext":{defaultValue:null,description:"",name:"aria-rowindextext",required:!1,type:{name:"string"}},"aria-rowspan":{defaultValue:null,description:"",name:"aria-rowspan",required:!1,type:{name:"number"}},"aria-selected":{defaultValue:null,description:"",name:"aria-selected",required:!1,type:{name:"Booleanish"}},"aria-setsize":{defaultValue:null,description:"",name:"aria-setsize",required:!1,type:{name:"number"}},"aria-sort":{defaultValue:null,description:"",name:"aria-sort",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"ascending"'},{value:'"descending"'},{value:'"other"'}]}},"aria-valuemax":{defaultValue:null,description:"",name:"aria-valuemax",required:!1,type:{name:"number"}},"aria-valuemin":{defaultValue:null,description:"",name:"aria-valuemin",required:!1,type:{name:"number"}},"aria-valuenow":{defaultValue:null,description:"",name:"aria-valuenow",required:!1,type:{name:"number"}},"aria-valuetext":{defaultValue:null,description:"",name:"aria-valuetext",required:!1,type:{name:"string"}},dangerouslySetInnerHTML:{defaultValue:null,description:"",name:"dangerouslySetInnerHTML",required:!1,type:{name:"{ __html: string | TrustedHTML; }"}},onCopy:{defaultValue:null,description:"",name:"onCopy",required:!1,type:{name:"ClipboardEventHandler"}},onCopyCapture:{defaultValue:null,description:"",name:"onCopyCapture",required:!1,type:{name:"ClipboardEventHandler"}},onCut:{defaultValue:null,description:"",name:"onCut",required:!1,type:{name:"ClipboardEventHandler"}},onCutCapture:{defaultValue:null,description:"",name:"onCutCapture",required:!1,type:{name:"ClipboardEventHandler"}},onPaste:{defaultValue:null,description:"",name:"onPaste",required:!1,type:{name:"ClipboardEventHandler"}},onPasteCapture:{defaultValue:null,description:"",name:"onPasteCapture",required:!1,type:{name:"ClipboardEventHandler"}},onCompositionEnd:{defaultValue:null,description:"",name:"onCompositionEnd",required:!1,type:{name:"CompositionEventHandler"}},onCompositionEndCapture:{defaultValue:null,description:"",name:"onCompositionEndCapture",required:!1,type:{name:"CompositionEventHandler"}},onCompositionStart:{defaultValue:null,description:"",name:"onCompositionStart",required:!1,type:{name:"CompositionEventHandler"}},onCompositionStartCapture:{defaultValue:null,description:"",name:"onCompositionStartCapture",required:!1,type:{name:"CompositionEventHandler"}},onCompositionUpdate:{defaultValue:null,description:"",name:"onCompositionUpdate",required:!1,type:{name:"CompositionEventHandler"}},onCompositionUpdateCapture:{defaultValue:null,description:"",name:"onCompositionUpdateCapture",required:!1,type:{name:"CompositionEventHandler"}},onFocus:{defaultValue:null,description:"",name:"onFocus",required:!1,type:{name:"FocusEventHandler"}},onFocusCapture:{defaultValue:null,description:"",name:"onFocusCapture",required:!1,type:{name:"FocusEventHandler"}},onBlur:{defaultValue:null,description:"",name:"onBlur",required:!1,type:{name:"FocusEventHandler"}},onBlurCapture:{defaultValue:null,description:"",name:"onBlurCapture",required:!1,type:{name:"FocusEventHandler"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"FormEventHandler"}},onChangeCapture:{defaultValue:null,description:"",name:"onChangeCapture",required:!1,type:{name:"FormEventHandler"}},onBeforeInput:{defaultValue:null,description:"",name:"onBeforeInput",required:!1,type:{name:"FormEventHandler"}},onBeforeInputCapture:{defaultValue:null,description:"",name:"onBeforeInputCapture",required:!1,type:{name:"FormEventHandler"}},onInput:{defaultValue:null,description:"",name:"onInput",required:!1,type:{name:"FormEventHandler"}},onInputCapture:{defaultValue:null,description:"",name:"onInputCapture",required:!1,type:{name:"FormEventHandler"}},onReset:{defaultValue:null,description:"",name:"onReset",required:!1,type:{name:"FormEventHandler"}},onResetCapture:{defaultValue:null,description:"",name:"onResetCapture",required:!1,type:{name:"FormEventHandler"}},onSubmit:{defaultValue:null,description:"",name:"onSubmit",required:!1,type:{name:"FormEventHandler"}},onSubmitCapture:{defaultValue:null,description:"",name:"onSubmitCapture",required:!1,type:{name:"FormEventHandler"}},onInvalid:{defaultValue:null,description:"",name:"onInvalid",required:!1,type:{name:"FormEventHandler"}},onInvalidCapture:{defaultValue:null,description:"",name:"onInvalidCapture",required:!1,type:{name:"FormEventHandler"}},onLoad:{defaultValue:null,description:"",name:"onLoad",required:!1,type:{name:"ReactEventHandler"}},onLoadCapture:{defaultValue:null,description:"",name:"onLoadCapture",required:!1,type:{name:"ReactEventHandler"}},onError:{defaultValue:null,description:"",name:"onError",required:!1,type:{name:"ReactEventHandler"}},onErrorCapture:{defaultValue:null,description:"",name:"onErrorCapture",required:!1,type:{name:"ReactEventHandler"}},onKeyDown:{defaultValue:null,description:"",name:"onKeyDown",required:!1,type:{name:"KeyboardEventHandler"}},onKeyDownCapture:{defaultValue:null,description:"",name:"onKeyDownCapture",required:!1,type:{name:"KeyboardEventHandler"}},onKeyPress:{defaultValue:null,description:"",name:"onKeyPress",required:!1,type:{name:"KeyboardEventHandler"}},onKeyPressCapture:{defaultValue:null,description:"",name:"onKeyPressCapture",required:!1,type:{name:"KeyboardEventHandler"}},onKeyUp:{defaultValue:null,description:"",name:"onKeyUp",required:!1,type:{name:"KeyboardEventHandler"}},onKeyUpCapture:{defaultValue:null,description:"",name:"onKeyUpCapture",required:!1,type:{name:"KeyboardEventHandler"}},onAbort:{defaultValue:null,description:"",name:"onAbort",required:!1,type:{name:"ReactEventHandler"}},onAbortCapture:{defaultValue:null,description:"",name:"onAbortCapture",required:!1,type:{name:"ReactEventHandler"}},onCanPlay:{defaultValue:null,description:"",name:"onCanPlay",required:!1,type:{name:"ReactEventHandler"}},onCanPlayCapture:{defaultValue:null,description:"",name:"onCanPlayCapture",required:!1,type:{name:"ReactEventHandler"}},onCanPlayThrough:{defaultValue:null,description:"",name:"onCanPlayThrough",required:!1,type:{name:"ReactEventHandler"}},onCanPlayThroughCapture:{defaultValue:null,description:"",name:"onCanPlayThroughCapture",required:!1,type:{name:"ReactEventHandler"}},onDurationChange:{defaultValue:null,description:"",name:"onDurationChange",required:!1,type:{name:"ReactEventHandler"}},onDurationChangeCapture:{defaultValue:null,description:"",name:"onDurationChangeCapture",required:!1,type:{name:"ReactEventHandler"}},onEmptied:{defaultValue:null,description:"",name:"onEmptied",required:!1,type:{name:"ReactEventHandler"}},onEmptiedCapture:{defaultValue:null,description:"",name:"onEmptiedCapture",required:!1,type:{name:"ReactEventHandler"}},onEncrypted:{defaultValue:null,description:"",name:"onEncrypted",required:!1,type:{name:"ReactEventHandler"}},onEncryptedCapture:{defaultValue:null,description:"",name:"onEncryptedCapture",required:!1,type:{name:"ReactEventHandler"}},onEnded:{defaultValue:null,description:"",name:"onEnded",required:!1,type:{name:"ReactEventHandler"}},onEndedCapture:{defaultValue:null,description:"",name:"onEndedCapture",required:!1,type:{name:"ReactEventHandler"}},onLoadedData:{defaultValue:null,description:"",name:"onLoadedData",required:!1,type:{name:"ReactEventHandler"}},onLoadedDataCapture:{defaultValue:null,description:"",name:"onLoadedDataCapture",required:!1,type:{name:"ReactEventHandler"}},onLoadedMetadata:{defaultValue:null,description:"",name:"onLoadedMetadata",required:!1,type:{name:"ReactEventHandler"}},onLoadedMetadataCapture:{defaultValue:null,description:"",name:"onLoadedMetadataCapture",required:!1,type:{name:"ReactEventHandler"}},onLoadStart:{defaultValue:null,description:"",name:"onLoadStart",required:!1,type:{name:"ReactEventHandler"}},onLoadStartCapture:{defaultValue:null,description:"",name:"onLoadStartCapture",required:!1,type:{name:"ReactEventHandler"}},onPause:{defaultValue:null,description:"",name:"onPause",required:!1,type:{name:"ReactEventHandler"}},onPauseCapture:{defaultValue:null,description:"",name:"onPauseCapture",required:!1,type:{name:"ReactEventHandler"}},onPlay:{defaultValue:null,description:"",name:"onPlay",required:!1,type:{name:"ReactEventHandler"}},onPlayCapture:{defaultValue:null,description:"",name:"onPlayCapture",required:!1,type:{name:"ReactEventHandler"}},onPlaying:{defaultValue:null,description:"",name:"onPlaying",required:!1,type:{name:"ReactEventHandler"}},onPlayingCapture:{defaultValue:null,description:"",name:"onPlayingCapture",required:!1,type:{name:"ReactEventHandler"}},onProgress:{defaultValue:null,description:"",name:"onProgress",required:!1,type:{name:"ReactEventHandler"}},onProgressCapture:{defaultValue:null,description:"",name:"onProgressCapture",required:!1,type:{name:"ReactEventHandler"}},onRateChange:{defaultValue:null,description:"",name:"onRateChange",required:!1,type:{name:"ReactEventHandler"}},onRateChangeCapture:{defaultValue:null,description:"",name:"onRateChangeCapture",required:!1,type:{name:"ReactEventHandler"}},onResize:{defaultValue:null,description:"",name:"onResize",required:!1,type:{name:"ReactEventHandler"}},onResizeCapture:{defaultValue:null,description:"",name:"onResizeCapture",required:!1,type:{name:"ReactEventHandler"}},onSeeked:{defaultValue:null,description:"",name:"onSeeked",required:!1,type:{name:"ReactEventHandler"}},onSeekedCapture:{defaultValue:null,description:"",name:"onSeekedCapture",required:!1,type:{name:"ReactEventHandler"}},onSeeking:{defaultValue:null,description:"",name:"onSeeking",required:!1,type:{name:"ReactEventHandler"}},onSeekingCapture:{defaultValue:null,description:"",name:"onSeekingCapture",required:!1,type:{name:"ReactEventHandler"}},onStalled:{defaultValue:null,description:"",name:"onStalled",required:!1,type:{name:"ReactEventHandler"}},onStalledCapture:{defaultValue:null,description:"",name:"onStalledCapture",required:!1,type:{name:"ReactEventHandler"}},onSuspend:{defaultValue:null,description:"",name:"onSuspend",required:!1,type:{name:"ReactEventHandler"}},onSuspendCapture:{defaultValue:null,description:"",name:"onSuspendCapture",required:!1,type:{name:"ReactEventHandler"}},onTimeUpdate:{defaultValue:null,description:"",name:"onTimeUpdate",required:!1,type:{name:"ReactEventHandler"}},onTimeUpdateCapture:{defaultValue:null,description:"",name:"onTimeUpdateCapture",required:!1,type:{name:"ReactEventHandler"}},onVolumeChange:{defaultValue:null,description:"",name:"onVolumeChange",required:!1,type:{name:"ReactEventHandler"}},onVolumeChangeCapture:{defaultValue:null,description:"",name:"onVolumeChangeCapture",required:!1,type:{name:"ReactEventHandler"}},onWaiting:{defaultValue:null,description:"",name:"onWaiting",required:!1,type:{name:"ReactEventHandler"}},onWaitingCapture:{defaultValue:null,description:"",name:"onWaitingCapture",required:!1,type:{name:"ReactEventHandler"}},onAuxClick:{defaultValue:null,description:"",name:"onAuxClick",required:!1,type:{name:"MouseEventHandler"}},onAuxClickCapture:{defaultValue:null,description:"",name:"onAuxClickCapture",required:!1,type:{name:"MouseEventHandler"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"MouseEventHandler"}},onClickCapture:{defaultValue:null,description:"",name:"onClickCapture",required:!1,type:{name:"MouseEventHandler"}},onContextMenu:{defaultValue:null,description:"",name:"onContextMenu",required:!1,type:{name:"MouseEventHandler"}},onContextMenuCapture:{defaultValue:null,description:"",name:"onContextMenuCapture",required:!1,type:{name:"MouseEventHandler"}},onDoubleClick:{defaultValue:null,description:"",name:"onDoubleClick",required:!1,type:{name:"MouseEventHandler"}},onDoubleClickCapture:{defaultValue:null,description:"",name:"onDoubleClickCapture",required:!1,type:{name:"MouseEventHandler"}},onDragCapture:{defaultValue:null,description:"",name:"onDragCapture",required:!1,type:{name:"DragEventHandler"}},onDragEndCapture:{defaultValue:null,description:"",name:"onDragEndCapture",required:!1,type:{name:"DragEventHandler"}},onDragEnter:{defaultValue:null,description:"",name:"onDragEnter",required:!1,type:{name:"DragEventHandler"}},onDragEnterCapture:{defaultValue:null,description:"",name:"onDragEnterCapture",required:!1,type:{name:"DragEventHandler"}},onDragExit:{defaultValue:null,description:"",name:"onDragExit",required:!1,type:{name:"DragEventHandler"}},onDragExitCapture:{defaultValue:null,description:"",name:"onDragExitCapture",required:!1,type:{name:"DragEventHandler"}},onDragLeave:{defaultValue:null,description:"",name:"onDragLeave",required:!1,type:{name:"DragEventHandler"}},onDragLeaveCapture:{defaultValue:null,description:"",name:"onDragLeaveCapture",required:!1,type:{name:"DragEventHandler"}},onDragOver:{defaultValue:null,description:"",name:"onDragOver",required:!1,type:{name:"DragEventHandler"}},onDragOverCapture:{defaultValue:null,description:"",name:"onDragOverCapture",required:!1,type:{name:"DragEventHandler"}},onDragStartCapture:{defaultValue:null,description:"",name:"onDragStartCapture",required:!1,type:{name:"DragEventHandler"}},onDrop:{defaultValue:null,description:"",name:"onDrop",required:!1,type:{name:"DragEventHandler"}},onDropCapture:{defaultValue:null,description:"",name:"onDropCapture",required:!1,type:{name:"DragEventHandler"}},onMouseDown:{defaultValue:null,description:"",name:"onMouseDown",required:!1,type:{name:"MouseEventHandler"}},onMouseDownCapture:{defaultValue:null,description:"",name:"onMouseDownCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseEnter:{defaultValue:null,description:"",name:"onMouseEnter",required:!1,type:{name:"MouseEventHandler"}},onMouseLeave:{defaultValue:null,description:"",name:"onMouseLeave",required:!1,type:{name:"MouseEventHandler"}},onMouseMove:{defaultValue:null,description:"",name:"onMouseMove",required:!1,type:{name:"MouseEventHandler"}},onMouseMoveCapture:{defaultValue:null,description:"",name:"onMouseMoveCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseOut:{defaultValue:null,description:"",name:"onMouseOut",required:!1,type:{name:"MouseEventHandler"}},onMouseOutCapture:{defaultValue:null,description:"",name:"onMouseOutCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseOver:{defaultValue:null,description:"",name:"onMouseOver",required:!1,type:{name:"MouseEventHandler"}},onMouseOverCapture:{defaultValue:null,description:"",name:"onMouseOverCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseUp:{defaultValue:null,description:"",name:"onMouseUp",required:!1,type:{name:"MouseEventHandler"}},onMouseUpCapture:{defaultValue:null,description:"",name:"onMouseUpCapture",required:!1,type:{name:"MouseEventHandler"}},onSelect:{defaultValue:null,description:"",name:"onSelect",required:!1,type:{name:"ReactEventHandler"}},onSelectCapture:{defaultValue:null,description:"",name:"onSelectCapture",required:!1,type:{name:"ReactEventHandler"}},onTouchCancel:{defaultValue:null,description:"",name:"onTouchCancel",required:!1,type:{name:"TouchEventHandler"}},onTouchCancelCapture:{defaultValue:null,description:"",name:"onTouchCancelCapture",required:!1,type:{name:"TouchEventHandler"}},onTouchEnd:{defaultValue:null,description:"",name:"onTouchEnd",required:!1,type:{name:"TouchEventHandler"}},onTouchEndCapture:{defaultValue:null,description:"",name:"onTouchEndCapture",required:!1,type:{name:"TouchEventHandler"}},onTouchMove:{defaultValue:null,description:"",name:"onTouchMove",required:!1,type:{name:"TouchEventHandler"}},onTouchMoveCapture:{defaultValue:null,description:"",name:"onTouchMoveCapture",required:!1,type:{name:"TouchEventHandler"}},onTouchStart:{defaultValue:null,description:"",name:"onTouchStart",required:!1,type:{name:"TouchEventHandler"}},onTouchStartCapture:{defaultValue:null,description:"",name:"onTouchStartCapture",required:!1,type:{name:"TouchEventHandler"}},onPointerDown:{defaultValue:null,description:"",name:"onPointerDown",required:!1,type:{name:"PointerEventHandler"}},onPointerDownCapture:{defaultValue:null,description:"",name:"onPointerDownCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerMove:{defaultValue:null,description:"",name:"onPointerMove",required:!1,type:{name:"PointerEventHandler"}},onPointerMoveCapture:{defaultValue:null,description:"",name:"onPointerMoveCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerUp:{defaultValue:null,description:"",name:"onPointerUp",required:!1,type:{name:"PointerEventHandler"}},onPointerUpCapture:{defaultValue:null,description:"",name:"onPointerUpCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerCancel:{defaultValue:null,description:"",name:"onPointerCancel",required:!1,type:{name:"PointerEventHandler"}},onPointerCancelCapture:{defaultValue:null,description:"",name:"onPointerCancelCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerEnter:{defaultValue:null,description:"",name:"onPointerEnter",required:!1,type:{name:"PointerEventHandler"}},onPointerLeave:{defaultValue:null,description:"",name:"onPointerLeave",required:!1,type:{name:"PointerEventHandler"}},onPointerOver:{defaultValue:null,description:"",name:"onPointerOver",required:!1,type:{name:"PointerEventHandler"}},onPointerOverCapture:{defaultValue:null,description:"",name:"onPointerOverCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerOut:{defaultValue:null,description:"",name:"onPointerOut",required:!1,type:{name:"PointerEventHandler"}},onPointerOutCapture:{defaultValue:null,description:"",name:"onPointerOutCapture",required:!1,type:{name:"PointerEventHandler"}},onGotPointerCapture:{defaultValue:null,description:"",name:"onGotPointerCapture",required:!1,type:{name:"PointerEventHandler"}},onGotPointerCaptureCapture:{defaultValue:null,description:"",name:"onGotPointerCaptureCapture",required:!1,type:{name:"PointerEventHandler"}},onLostPointerCapture:{defaultValue:null,description:"",name:"onLostPointerCapture",required:!1,type:{name:"PointerEventHandler"}},onLostPointerCaptureCapture:{defaultValue:null,description:"",name:"onLostPointerCaptureCapture",required:!1,type:{name:"PointerEventHandler"}},onScroll:{defaultValue:null,description:"",name:"onScroll",required:!1,type:{name:"UIEventHandler"}},onScrollCapture:{defaultValue:null,description:"",name:"onScrollCapture",required:!1,type:{name:"UIEventHandler"}},onWheel:{defaultValue:null,description:"",name:"onWheel",required:!1,type:{name:"WheelEventHandler"}},onWheelCapture:{defaultValue:null,description:"",name:"onWheelCapture",required:!1,type:{name:"WheelEventHandler"}},onAnimationStartCapture:{defaultValue:null,description:"",name:"onAnimationStartCapture",required:!1,type:{name:"AnimationEventHandler"}},onAnimationEnd:{defaultValue:null,description:"",name:"onAnimationEnd",required:!1,type:{name:"AnimationEventHandler"}},onAnimationEndCapture:{defaultValue:null,description:"",name:"onAnimationEndCapture",required:!1,type:{name:"AnimationEventHandler"}},onAnimationIteration:{defaultValue:null,description:"",name:"onAnimationIteration",required:!1,type:{name:"AnimationEventHandler"}},onAnimationIterationCapture:{defaultValue:null,description:"",name:"onAnimationIterationCapture",required:!1,type:{name:"AnimationEventHandler"}},onTransitionEnd:{defaultValue:null,description:"",name:"onTransitionEnd",required:!1,type:{name:"TransitionEventHandler"}},onTransitionEndCapture:{defaultValue:null,description:"",name:"onTransitionEndCapture",required:!1,type:{name:"TransitionEventHandler"}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"Key | null"}},alt:{defaultValue:null,description:"",name:"alt",required:!1,type:{name:"string"}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:"string | number"}},src:{defaultValue:null,description:"",name:"src",required:!1,type:{name:"string"}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"string | number"}},crossOrigin:{defaultValue:null,description:"",name:"crossOrigin",required:!1,type:{name:"enum",value:[{value:'""'},{value:'"anonymous"'},{value:'"use-credentials"'}]}},decoding:{defaultValue:null,description:"",name:"decoding",required:!1,type:{name:"enum",value:[{value:'"async"'},{value:'"auto"'},{value:'"sync"'}]}},fetchPriority:{defaultValue:null,description:"",name:"fetchPriority",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"high"'},{value:'"low"'}]}},loading:{defaultValue:null,description:"",name:"loading",required:!1,type:{name:"enum",value:[{value:'"eager"'},{value:'"lazy"'}]}},referrerPolicy:{defaultValue:null,description:"",name:"referrerPolicy",required:!1,type:{name:"enum",value:[{value:'""'},{value:'"no-referrer"'},{value:'"no-referrer-when-downgrade"'},{value:'"origin"'},{value:'"origin-when-cross-origin"'},{value:'"same-origin"'},{value:'"strict-origin"'},{value:'"strict-origin-when-cross-origin"'},{value:'"unsafe-url"'}]}},sizes:{defaultValue:null,description:"",name:"sizes",required:!1,type:{name:"string"}},srcSet:{defaultValue:null,description:"",name:"srcSet",required:!1,type:{name:"string"}},useMap:{defaultValue:null,description:"",name:"useMap",required:!1,type:{name:"string"}}}}}catch{}const q=p(["flex","items-center","justify-center","overflow-hidden","shrink-0","rounded-full"],{variants:{size:{xs:"w-3 h-3",sm:"w-5 h-5",md:"w-8 h-8",lg:"w-10 h-10",xl:"w-16 h-16"}}}),t=f.memo(e=>{const{chainId:a,className:u,disableAnimation:i=!1,style:d,src:o,size:n="md",...m}=e,s=o||v(V(a),n);return l.jsx("div",{className:c(q({size:n}),u),style:d,...m,children:l.jsx(y,{className:"max-w-full max-h-full object-cover w-full",disableAnimation:i,src:s})})});try{t.displayName="NetworkImage",t.__docgenInfo={description:"",displayName:"NetworkImage",props:{chainId:{defaultValue:null,description:"",name:"chainId",required:!0,type:{name:"number"}},src:{defaultValue:null,description:"",name:"src",required:!1,type:{name:"string"}},disableAnimation:{defaultValue:null,description:"",name:"disableAnimation",required:!1,type:{name:"boolean"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"sm" | "md" | "lg" | "xs" | "xl" | null'}}}}}catch{}export{t as N}; diff --git a/assets/NetworkImage.stories-8rlK7kBL.js b/assets/NetworkImage.stories-C5Wk1H8_.js similarity index 52% rename from assets/NetworkImage.stories-8rlK7kBL.js rename to assets/NetworkImage.stories-C5Wk1H8_.js index 01609ab7e..3d765c752 100644 --- a/assets/NetworkImage.stories-8rlK7kBL.js +++ b/assets/NetworkImage.stories-C5Wk1H8_.js @@ -1,4 +1,4 @@ -import{N as a}from"./NetworkImage-CSZhsnM7.js";import"./jsx-runtime-z8MfsBtr.js";import"./index-C9rmetsa.js";import"./index-DKHC-OhD.js";import"./clsx-B-dksMZM.js";import"./index-D1TSixAU.js";import"./classnames-Dx2cly0x.js";import"./Image-DPd_KzxQ.js";import"./proxy-DndLXkKn.js";const l={title:"Components/NetworkImage",component:a},r={args:{size:"lg",chainId:1}};var o,e,t;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{ +import{N as a}from"./NetworkImage-SJY1DR57.js";import"./jsx-runtime-Cf8x2fCZ.js";import"./index-yBjzXJbu.js";import"./index-Dp3B9jqt.js";import"./clsx-B-dksMZM.js";import"./index-DubqEmGm.js";import"./classnames-Dx2cly0x.js";import"./Image-BYRrYa8a.js";import"./proxy-71i4uxHe.js";const l={title:"Components/NetworkImage",component:a},r={args:{size:"lg",chainId:1}};var o,e,t;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{ args: { size: 'lg', chainId: 1 diff --git a/assets/NumericInput.stories-DIL0-InU.js b/assets/NumericInput.stories-CudJIOsz.js similarity index 63% rename from assets/NumericInput.stories-DIL0-InU.js rename to assets/NumericInput.stories-CudJIOsz.js index 1e0be5421..a7bd191c0 100644 --- a/assets/NumericInput.stories-DIL0-InU.js +++ b/assets/NumericInput.stories-CudJIOsz.js @@ -1,4 +1,4 @@ -import{j as l}from"./jsx-runtime-z8MfsBtr.js";import{r as h}from"./index-D1TSixAU.js";import{T as I}from"./TextInput-yPmOWNKY.js";import"./ControlledTextInput-DjDjk1YM.js";import"./index-C9rmetsa.js";import"./index-DKHC-OhD.js";import"./clsx-B-dksMZM.js";import"./Field-Dz_fFMgk.js";import"./Text-DiY0ipGE.js";import"./index-DEvaI7vP.js";import"./classnames-Dx2cly0x.js";const N=RegExp("^\\d*(?:\\\\[.])?\\d*$");function d(a){return a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const i=h.forwardRef((a,s)=>{const{name:p="amount",placeholder:c,onChange:n,onBlur:u,...y}=a,_=r=>{let{value:e}=r.target;e=e.replace(/,/g,"."),e.startsWith(".")&&(e="0"+e),e.startsWith("0")&&(e=e.replace(/^0+(?=\d)/,"")),(e===""||N.test(d(e)))&&(n==null||n({...r,target:{...r.target,value:e}}))},x=r=>{const{value:e}=r.target;let t=e;t.endsWith(".")&&(t=t.slice(0,-1)),t.endsWith(".0")&&(t=t.slice(0,-2)),t==="0"&&(t=""),u==null||u(r),t!==e&&(n==null||n({...r,target:{...r.target,value:t}}))};return l.jsx(I,{name:p,onChange:_,onBlur:x,inputMode:"decimal",autoComplete:"off",autoCorrect:"off",type:"text",pattern:"^[0-9]*[.,]?[0-9]*$",placeholder:c||"0",minLength:1,maxLength:79,spellCheck:"false",numeric:!0,ref:s,...y})});try{d.displayName="escapeRegExp",d.__docgenInfo={description:"",displayName:"escapeRegExp",props:{}}}catch{}try{i.displayName="NumericInput",i.__docgenInfo={description:"",displayName:"NumericInput",props:{decimals:{defaultValue:null,description:"",name:"decimals",required:!1,type:{name:"number"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:'"hidden" | "top" | "left" | "right" | null'}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},name:{defaultValue:null,description:"",name:"name",required:!0,type:{name:"string"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},leftIcon:{defaultValue:null,description:"",name:"leftIcon",required:!1,type:{name:"ComponentType"}},rightIcon:{defaultValue:null,description:"",name:"rightIcon",required:!1,type:{name:"ComponentType"}},controls:{defaultValue:null,description:"",name:"controls",required:!1,type:{name:"ReactNode"}}}}}catch{}const D={title:"Forms/NumericInput",component:i},b=a=>{const[s,p]=h.useState("");return l.jsx(l.Fragment,{children:l.jsx(i,{value:s,onChange:c=>p(c.target.value),...a})})},o={render:b,args:{label:"This the label",description:"This is the description",labelLocation:"top"}};var m,f,g;o.parameters={...o.parameters,docs:{...(m=o.parameters)==null?void 0:m.docs,source:{originalSource:`{ +import{j as l}from"./jsx-runtime-Cf8x2fCZ.js";import{r as h}from"./index-DubqEmGm.js";import{T as I}from"./TextInput-DuktM35c.js";import"./ControlledTextInput-Rh4_ZXKu.js";import"./index-yBjzXJbu.js";import"./index-Dp3B9jqt.js";import"./clsx-B-dksMZM.js";import"./Field-BUPg2hwy.js";import"./Text-c-Dt_3pd.js";import"./index-BkTKsPvT.js";import"./classnames-Dx2cly0x.js";const N=RegExp("^\\d*(?:\\\\[.])?\\d*$");function d(a){return a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const i=h.forwardRef((a,s)=>{const{name:p="amount",placeholder:c,onChange:n,onBlur:u,...y}=a,_=r=>{let{value:e}=r.target;e=e.replace(/,/g,"."),e.startsWith(".")&&(e="0"+e),e.startsWith("0")&&(e=e.replace(/^0+(?=\d)/,"")),(e===""||N.test(d(e)))&&(n==null||n({...r,target:{...r.target,value:e}}))},x=r=>{const{value:e}=r.target;let t=e;t.endsWith(".")&&(t=t.slice(0,-1)),t.endsWith(".0")&&(t=t.slice(0,-2)),t==="0"&&(t=""),u==null||u(r),t!==e&&(n==null||n({...r,target:{...r.target,value:t}}))};return l.jsx(I,{name:p,onChange:_,onBlur:x,inputMode:"decimal",autoComplete:"off",autoCorrect:"off",type:"text",pattern:"^[0-9]*[.,]?[0-9]*$",placeholder:c||"0",minLength:1,maxLength:79,spellCheck:"false",numeric:!0,ref:s,...y})});try{d.displayName="escapeRegExp",d.__docgenInfo={description:"",displayName:"escapeRegExp",props:{}}}catch{}try{i.displayName="NumericInput",i.__docgenInfo={description:"",displayName:"NumericInput",props:{decimals:{defaultValue:null,description:"",name:"decimals",required:!1,type:{name:"number"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},name:{defaultValue:null,description:"",name:"name",required:!0,type:{name:"string"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},leftIcon:{defaultValue:null,description:"",name:"leftIcon",required:!1,type:{name:"ComponentType"}},rightIcon:{defaultValue:null,description:"",name:"rightIcon",required:!1,type:{name:"ComponentType"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:'"hidden" | "top" | "left" | "right" | null'}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},controls:{defaultValue:null,description:"",name:"controls",required:!1,type:{name:"ReactNode"}}}}}catch{}const D={title:"Forms/NumericInput",component:i},b=a=>{const[s,p]=h.useState("");return l.jsx(l.Fragment,{children:l.jsx(i,{value:s,onChange:c=>p(c.target.value),...a})})},o={render:b,args:{label:"This the label",description:"This is the description",labelLocation:"top"}};var m,f,g;o.parameters={...o.parameters,docs:{...(m=o.parameters)==null?void 0:m.docs,source:{originalSource:`{ render: StoryWrapper, args: { label: 'This the label', diff --git a/assets/PINCodeInput.stories-CtueTHg1.js b/assets/PINCodeInput.stories-XpDk2NpK.js similarity index 92% rename from assets/PINCodeInput.stories-CtueTHg1.js rename to assets/PINCodeInput.stories-XpDk2NpK.js index 6b44c799b..e526a9a40 100644 --- a/assets/PINCodeInput.stories-CtueTHg1.js +++ b/assets/PINCodeInput.stories-XpDk2NpK.js @@ -1,4 +1,4 @@ -import{j as c}from"./jsx-runtime-z8MfsBtr.js";import{r as d}from"./index-D1TSixAU.js";import{c as P}from"./index-DKHC-OhD.js";import{c as q}from"./clsx-B-dksMZM.js";import{c as E}from"./classnames-Dx2cly0x.js";import{t as _}from"./Text-DiY0ipGE.js";import"./index-C9rmetsa.js";import"./index-DEvaI7vP.js";q(_({variant:"large"}),"w-10 h-12 flex justify-center items-center p-[10px] bg-background-secondary rounded-lg text-primary");const F=P([_({variant:"large"}),"flex justify-center items-center h-12 w-10 p-[10px]","border-none rounded-lg text-primary bg-transparent text-center","caret-transparent selection:bg-transparent","ring-inset ring-1 ring-border-normal hover:ring-border-focus","disabled:cursor-default disabled:opacity-50","focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-border-focus"],{variants:{},defaultVariants:{}}),g=o=>{const{value:i,digits:s=6,group:f,onChange:h,onConfirm:y,disabled:N=!1}=o,n=d.useMemo(()=>x(0,s).map(()=>d.createRef()),[s]);d.useEffect(()=>{var t,e;(e=(t=n[0])==null?void 0:t.current)==null||e.focus()},[n]);const b=(t,e)=>{var r,u;/^\d$/.test(e)||(e="");const a=[...i];a[t]=e,e!==""&&((u=(r=n[t+1])==null?void 0:r.current)==null||u.focus()),h(a)},V=()=>i.join("").length===s,k=(t,e)=>{var l,p;const a=n[t].current,r=(l=n[t-1])==null?void 0:l.current,u=(p=n[t+1])==null?void 0:p.current;switch(e.key){case"Backspace":e.preventDefault(),a&&(a.value="",b(t,"")),r==null||r.focus();break;case"ArrowLeft":e.preventDefault(),r==null||r.focus();break;case"ArrowRight":e.preventDefault(),u==null||u.focus();break;case"Enter":e.preventDefault(),V()&&(y==null||y());break;default:(a==null?void 0:a.value)===e.key&&(e.preventDefault(),b(t,e.key))}},w=(t,e)=>{var l,p;e.preventDefault();const r=e.clipboardData.getData("text/plain").replace(/\D/g,"");new RegExp(`^\\d{${s}}$`).test(r)&&((p=(l=n[0])==null?void 0:l.current)==null||p.focus(),h(r.split("")),setTimeout(()=>{var v,C;(C=(v=n[n.length-1])==null?void 0:v.current)==null||C.focus()}))};return c.jsx("div",{className:"flex gap-2",children:x(0,s).map(t=>c.jsxs(d.Fragment,{children:[!!f&&t>0&&t%f===0&&c.jsx("span",{}),c.jsx("input",{className:E(F()),value:i[t]||"",ref:n[t],type:"text",inputMode:"numeric",maxLength:1,disabled:N,onFocus:e=>e.target.select(),onPaste:e=>w(t,e),onChange:e=>b(t,e.target.value),onKeyDown:e=>{k(t,e)}})]},t))})},x=(o,i)=>Array.from({length:i-o},(s,f)=>f+o);try{g.displayName="PINCodeInput",g.__docgenInfo={description:"",displayName:"PINCodeInput",props:{digits:{defaultValue:null,description:"",name:"digits",required:!0,type:{name:"number"}},group:{defaultValue:null,description:"",name:"group",required:!1,type:{name:"number"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(code: string[]) => void"}},onConfirm:{defaultValue:null,description:"",name:"onConfirm",required:!1,type:{name:"(() => void)"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"string[]"}}}}}catch{}const T={title:"Forms/PINCodeInput",component:g},S=o=>{const[i,s]=d.useState([]);return c.jsx(c.Fragment,{children:c.jsx(g,{...o,onChange:s,value:i})})},m={render:S,args:{digits:6}};var D,I,j;m.parameters={...m.parameters,docs:{...(D=m.parameters)==null?void 0:D.docs,source:{originalSource:`{ +import{j as c}from"./jsx-runtime-Cf8x2fCZ.js";import{r as d}from"./index-DubqEmGm.js";import{c as P}from"./index-Dp3B9jqt.js";import{c as q}from"./clsx-B-dksMZM.js";import{c as E}from"./classnames-Dx2cly0x.js";import{t as _}from"./Text-c-Dt_3pd.js";import"./index-yBjzXJbu.js";import"./index-BkTKsPvT.js";q(_({variant:"large"}),"w-10 h-12 flex justify-center items-center p-[10px] bg-background-secondary rounded-lg text-primary");const F=P([_({variant:"large"}),"flex justify-center items-center h-12 w-10 p-[10px]","border-none rounded-lg text-primary bg-transparent text-center","caret-transparent selection:bg-transparent","ring-inset ring-1 ring-border-normal hover:ring-border-focus","disabled:cursor-default disabled:opacity-50","focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-border-focus"],{variants:{},defaultVariants:{}}),g=o=>{const{value:i,digits:s=6,group:f,onChange:h,onConfirm:y,disabled:N=!1}=o,n=d.useMemo(()=>x(0,s).map(()=>d.createRef()),[s]);d.useEffect(()=>{var t,e;(e=(t=n[0])==null?void 0:t.current)==null||e.focus()},[n]);const b=(t,e)=>{var r,u;/^\d$/.test(e)||(e="");const a=[...i];a[t]=e,e!==""&&((u=(r=n[t+1])==null?void 0:r.current)==null||u.focus()),h(a)},V=()=>i.join("").length===s,k=(t,e)=>{var l,p;const a=n[t].current,r=(l=n[t-1])==null?void 0:l.current,u=(p=n[t+1])==null?void 0:p.current;switch(e.key){case"Backspace":e.preventDefault(),a&&(a.value="",b(t,"")),r==null||r.focus();break;case"ArrowLeft":e.preventDefault(),r==null||r.focus();break;case"ArrowRight":e.preventDefault(),u==null||u.focus();break;case"Enter":e.preventDefault(),V()&&(y==null||y());break;default:(a==null?void 0:a.value)===e.key&&(e.preventDefault(),b(t,e.key))}},w=(t,e)=>{var l,p;e.preventDefault();const r=e.clipboardData.getData("text/plain").replace(/\D/g,"");new RegExp(`^\\d{${s}}$`).test(r)&&((p=(l=n[0])==null?void 0:l.current)==null||p.focus(),h(r.split("")),setTimeout(()=>{var v,C;(C=(v=n[n.length-1])==null?void 0:v.current)==null||C.focus()}))};return c.jsx("div",{className:"flex gap-2",children:x(0,s).map(t=>c.jsxs(d.Fragment,{children:[!!f&&t>0&&t%f===0&&c.jsx("span",{}),c.jsx("input",{className:E(F()),value:i[t]||"",ref:n[t],type:"text",inputMode:"numeric",maxLength:1,disabled:N,onFocus:e=>e.target.select(),onPaste:e=>w(t,e),onChange:e=>b(t,e.target.value),onKeyDown:e=>{k(t,e)}})]},t))})},x=(o,i)=>Array.from({length:i-o},(s,f)=>f+o);try{g.displayName="PINCodeInput",g.__docgenInfo={description:"",displayName:"PINCodeInput",props:{digits:{defaultValue:null,description:"",name:"digits",required:!0,type:{name:"number"}},group:{defaultValue:null,description:"",name:"group",required:!1,type:{name:"number"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(code: string[]) => void"}},onConfirm:{defaultValue:null,description:"",name:"onConfirm",required:!1,type:{name:"(() => void)"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"string[]"}}}}}catch{}const T={title:"Forms/PINCodeInput",component:g},S=o=>{const[i,s]=d.useState([]);return c.jsx(c.Fragment,{children:c.jsx(g,{...o,onChange:s,value:i})})},m={render:S,args:{digits:6}};var D,I,j;m.parameters={...m.parameters,docs:{...(D=m.parameters)==null?void 0:D.docs,source:{originalSource:`{ render: StoryWrapper, args: { digits: 6 diff --git a/assets/Progress.stories-DExs2Vj9.js b/assets/Progress.stories-LD5FsRz5.js similarity index 79% rename from assets/Progress.stories-DExs2Vj9.js rename to assets/Progress.stories-LD5FsRz5.js index 3867625f5..a8438ddf5 100644 --- a/assets/Progress.stories-DExs2Vj9.js +++ b/assets/Progress.stories-LD5FsRz5.js @@ -1,10 +1,10 @@ -import{j as i}from"./jsx-runtime-z8MfsBtr.js";import{r as P}from"./index-D1TSixAU.js";import{c as I,P as b}from"./index-CuZtKiOG.js";import{c as E}from"./index-DKHC-OhD.js";import{c as j}from"./clsx-B-dksMZM.js";import"./index-C9rmetsa.js";import"./index-Dcf1nc42.js";import"./index-D2m0ySOf.js";import"./index-DEvaI7vP.js";var d="Progress",p=100,[M,H]=I(d),[R,S]=M(d),N=P.forwardRef((e,r)=>{const{__scopeProgress:n,value:o=null,max:a,getValueLabel:V=D,...$}=e;(a||a===0)&&!m(a)&&console.error(A(`${a}`,"Progress"));const t=m(a)?a:p;o!==null&&!f(o,t)&&console.error(C(`${o}`,"Progress"));const s=f(o,t)?o:null,w=u(s)?V(s,t):void 0;return i.jsx(R,{scope:n,value:s,max:t,children:i.jsx(b.div,{"aria-valuemax":t,"aria-valuemin":0,"aria-valuenow":u(s)?s:void 0,"aria-valuetext":w,role:"progressbar","data-state":y(s,t),"data-value":s??void 0,"data-max":t,...$,ref:r})})});N.displayName=d;var _="ProgressIndicator",h=P.forwardRef((e,r)=>{const{__scopeProgress:n,...o}=e,a=S(_,n);return i.jsx(b.div,{"data-state":y(a.value,a.max),"data-value":a.value??void 0,"data-max":a.max,...o,ref:r})});h.displayName=_;function D(e,r){return`${Math.round(e/r*100)}%`}function y(e,r){return e==null?"indeterminate":e===r?"complete":"loading"}function u(e){return typeof e=="number"}function m(e){return u(e)&&!isNaN(e)&&e>0}function f(e,r){return u(e)&&!isNaN(e)&&e<=r&&e>=0}function A(e,r){return`Invalid prop \`max\` of value \`${e}\` supplied to \`${r}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${p}\`.`}function C(e,r){return`Invalid prop \`value\` of value \`${e}\` supplied to \`${r}\`. The \`value\` prop must be: +import{j as i}from"./jsx-runtime-Cf8x2fCZ.js";import{r as P}from"./index-DubqEmGm.js";import{c as I,P as b}from"./index-EKtyzmkF.js";import{c as E}from"./index-Dp3B9jqt.js";import{c as j}from"./clsx-B-dksMZM.js";import"./index-yBjzXJbu.js";import"./index-e5epXPAg.js";import"./index-fNjTmf9T.js";import"./index-BkTKsPvT.js";var d="Progress",p=100,[M,H]=I(d),[R,S]=M(d),N=P.forwardRef((e,r)=>{const{__scopeProgress:n,value:o=null,max:a,getValueLabel:V=D,...$}=e;(a||a===0)&&!m(a)&&console.error(A(`${a}`,"Progress"));const t=m(a)?a:p;o!==null&&!v(o,t)&&console.error(C(`${o}`,"Progress"));const s=v(o,t)?o:null,w=u(s)?V(s,t):void 0;return i.jsx(R,{scope:n,value:s,max:t,children:i.jsx(b.div,{"aria-valuemax":t,"aria-valuemin":0,"aria-valuenow":u(s)?s:void 0,"aria-valuetext":w,role:"progressbar","data-state":y(s,t),"data-value":s??void 0,"data-max":t,...$,ref:r})})});N.displayName=d;var _="ProgressIndicator",h=P.forwardRef((e,r)=>{const{__scopeProgress:n,...o}=e,a=S(_,n);return i.jsx(b.div,{"data-state":y(a.value,a.max),"data-value":a.value??void 0,"data-max":a.max,...o,ref:r})});h.displayName=_;function D(e,r){return`${Math.round(e/r*100)}%`}function y(e,r){return e==null?"indeterminate":e===r?"complete":"loading"}function u(e){return typeof e=="number"}function m(e){return u(e)&&!isNaN(e)&&e>0}function v(e,r){return u(e)&&!isNaN(e)&&e<=r&&e>=0}function A(e,r){return`Invalid prop \`max\` of value \`${e}\` supplied to \`${r}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${p}\`.`}function C(e,r){return`Invalid prop \`value\` of value \`${e}\` supplied to \`${r}\`. The \`value\` prop must be: - a positive number - less than the value passed to \`max\` (or ${p} if no \`max\` prop is set) - \`null\` or \`undefined\` if the progress is indeterminate. -Defaulting to \`null\`.`}var L=N;const O=E("h-full rounded-full",{variants:{color:{positive:"bg-positive",info:"bg-info",warning:"bg-warning",negative:"bg-negative"}},defaultVariants:{color:"positive"}}),c=e=>{const{value:r,color:n,className:o}=e,a=Math.min(r*100,100);return i.jsx(L,{value:a,className:j("h-1 w-full rounded-full bg-background-primary overflow-hidden relative",o),children:i.jsx(h,{className:O({color:n}),style:{width:`${a}%`,transition:"width 660ms cubic-bezier(0.65, 0, 0.35, 1)",backgroundSize:"300% 100%"}})})};try{c.displayName="Progress",c.__docgenInfo={description:"",displayName:"Progress",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"number"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},color:{defaultValue:null,description:"",name:"color",required:!1,type:{name:'"info" | "warning" | "negative" | "positive" | null'}}}}}catch{}const J={title:"Components/Progress",component:c,argTypes:{value:{control:{type:"range",min:0,max:1,step:.1}}}},l={args:{value:.5}};var g,v,x;l.parameters={...l.parameters,docs:{...(g=l.parameters)==null?void 0:g.docs,source:{originalSource:`{ +Defaulting to \`null\`.`}var L=N;const O=E("h-full rounded-full",{variants:{color:{positive:"bg-positive",info:"bg-info",warning:"bg-warning",negative:"bg-negative"}},defaultVariants:{color:"positive"}}),c=e=>{const{value:r,color:n,className:o}=e,a=Math.min(r*100,100);return i.jsx(L,{value:a,className:j("h-1 w-full rounded-full bg-background-primary overflow-hidden relative",o),children:i.jsx(h,{className:O({color:n}),style:{width:`${a}%`,transition:"width 660ms cubic-bezier(0.65, 0, 0.35, 1)",backgroundSize:"300% 100%"}})})};try{c.displayName="Progress",c.__docgenInfo={description:"",displayName:"Progress",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"number"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},color:{defaultValue:null,description:"",name:"color",required:!1,type:{name:'"info" | "warning" | "negative" | "positive" | null'}}}}}catch{}const J={title:"Components/Progress",component:c,argTypes:{value:{control:{type:"range",min:0,max:1,step:.1}}}},l={args:{value:.5}};var g,f,x;l.parameters={...l.parameters,docs:{...(g=l.parameters)==null?void 0:g.docs,source:{originalSource:`{ args: { value: 0.5 } -}`,...(x=(v=l.parameters)==null?void 0:v.docs)==null?void 0:x.source}}};const K=["Default"];export{l as Default,K as __namedExportsOrder,J as default}; +}`,...(x=(f=l.parameters)==null?void 0:f.docs)==null?void 0:x.source}}};const K=["Default"];export{l as Default,K as __namedExportsOrder,J as default}; diff --git a/assets/RadioGroup-Cax5XL0Y.js b/assets/RadioGroup-Cax5XL0Y.js new file mode 100644 index 000000000..668ec6921 --- /dev/null +++ b/assets/RadioGroup-Cax5XL0Y.js @@ -0,0 +1 @@ +import{j as s}from"./jsx-runtime-Cf8x2fCZ.js";import{r as u}from"./index-DubqEmGm.js";import{a as M,c as x}from"./index-DKEAZgBW.js";import{u as k}from"./index-BkTKsPvT.js";import{c as j,P as g}from"./index-EKtyzmkF.js";import{c as P,R as L,I as K}from"./index-h6D3frV-.js";import{u as T}from"./index-BPXglf9v.js";import{u as U}from"./index-JD-fg0In.js";import{u as $}from"./index-CfbYICbs.js";import{P as B}from"./index-SbpNQzLY.js";import{c as E}from"./index-Dp3B9jqt.js";import{F as H}from"./Field-BUPg2hwy.js";import{c as y}from"./classnames-Dx2cly0x.js";var w="Radio",[W,G]=j(w),[X,Y]=W(w),I=u.forwardRef((t,i)=>{const{__scopeRadio:e,name:a,checked:o=!1,required:r,disabled:n,value:p="on",onCheck:d,form:c,...R}=t,[f,m]=u.useState(null),l=k(i,b=>m(b)),v=u.useRef(!1),h=f?c||!!f.closest("form"):!0;return s.jsxs(X,{scope:e,checked:o,disabled:n,children:[s.jsx(g.button,{type:"button",role:"radio","aria-checked":o,"data-state":A(o),"data-disabled":n?"":void 0,disabled:n,value:p,...R,ref:l,onClick:x(t.onClick,b=>{o||d==null||d(),h&&(v.current=b.isPropagationStopped(),v.current||b.stopPropagation())})}),h&&s.jsx(J,{control:f,bubbles:!v.current,name:a,value:p,checked:o,required:r,disabled:n,form:c,style:{transform:"translateX(-100%)"}})]})});I.displayName=w;var N="RadioIndicator",S=u.forwardRef((t,i)=>{const{__scopeRadio:e,forceMount:a,...o}=t,r=Y(N,e);return s.jsx(B,{present:a||r.checked,children:s.jsx(g.span,{"data-state":A(r.checked),"data-disabled":r.disabled?"":void 0,...o,ref:i})})});S.displayName=N;var J=t=>{const{control:i,checked:e,bubbles:a=!0,...o}=t,r=u.useRef(null),n=$(e),p=U(i);return u.useEffect(()=>{const d=r.current,c=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(c,"checked").set;if(n!==e&&f){const m=new Event("click",{bubbles:a});f.call(d,e),d.dispatchEvent(m)}},[n,e,a]),s.jsx("input",{type:"radio","aria-hidden":!0,defaultChecked:e,...o,tabIndex:-1,ref:r,style:{...t.style,...p,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function A(t){return t?"checked":"unchecked"}var Q=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],_="RadioGroup",[Z,we]=j(_,[P,G]),V=P(),D=G(),[ee,oe]=Z(_),O=u.forwardRef((t,i)=>{const{__scopeRadioGroup:e,name:a,defaultValue:o,value:r,required:n=!1,disabled:p=!1,orientation:d,dir:c,loop:R=!0,onValueChange:f,...m}=t,l=V(e),v=T(c),[h,b]=M({prop:r,defaultProp:o,onChange:f});return s.jsx(ee,{scope:e,name:a,required:n,disabled:p,value:h,onValueChange:b,children:s.jsx(L,{asChild:!0,...l,orientation:d,dir:v,loop:R,children:s.jsx(g.div,{role:"radiogroup","aria-required":n,"aria-orientation":d,"data-disabled":p?"":void 0,dir:v,...m,ref:i})})})});O.displayName=_;var z="RadioGroupItem",F=u.forwardRef((t,i)=>{const{__scopeRadioGroup:e,disabled:a,...o}=t,r=oe(z,e),n=r.disabled||a,p=V(e),d=D(e),c=u.useRef(null),R=k(i,c),f=r.value===o.value,m=u.useRef(!1);return u.useEffect(()=>{const l=h=>{Q.includes(h.key)&&(m.current=!0)},v=()=>m.current=!1;return document.addEventListener("keydown",l),document.addEventListener("keyup",v),()=>{document.removeEventListener("keydown",l),document.removeEventListener("keyup",v)}},[]),s.jsx(K,{asChild:!0,...p,focusable:!n,active:f,children:s.jsx(I,{disabled:n,required:r.required,checked:f,...d,...o,name:r.name,ref:R,onCheck:()=>r.onValueChange(o.value),onKeyDown:x(l=>{l.key==="Enter"&&l.preventDefault()}),onFocus:x(o.onFocus,()=>{var l;m.current&&((l=c.current)==null||l.click())})})})});F.displayName=z;var re="RadioGroupIndicator",q=u.forwardRef((t,i)=>{const{__scopeRadioGroup:e,...a}=t,o=D(e);return s.jsx(S,{...o,...a,ref:i})});q.displayName=re;var te=O,ae=F,se=q;const ie=E(["bg-transparent rounded-full p-0","cursor-pointer hover:opacity-80 disabled:cursor-default disabled:opacity-50","outline-hidden ring-inset ring-1 ring-border-focus focus-visible:ring-2 focus-visible:ring-border-focus"],{variants:{size:{sm:"h-5 w-5",lg:"h-7 w-7"}},defaultVariants:{size:"sm"}}),ne=E(["flex items-center justify-center relative w-full h-full text-primary",'after:content-[""] after:block after:rounded-full after:bg-current'],{variants:{size:{sm:"after:w-3 after:h-3",lg:"after:w-[18px] after:h-[18px]"}},defaultVariants:{size:"sm"}}),de=t=>{const{id:i,label:e,size:a="sm",value:o,disabled:r}=t;return s.jsx("div",{className:"flex items-center",children:s.jsx(H,{disabled:r,id:i,label:e,labelLocation:"right",className:"flex",children:s.jsx(ae,{className:y(ie({size:a})),value:o,id:i,disabled:r,children:s.jsx(se,{className:y(ne({size:a}))})})})})},C=u.forwardRef((t,i)=>{const{disabled:e=!1,name:a,options:o,size:r="sm",className:n,...p}=t;return s.jsx(te,{className:y("flex flex-col gap-2",n),disabled:e,name:a,ref:i,...p,children:o.map(({label:d,value:c,disabled:R})=>s.jsx(de,{id:`${a}-${c}`,label:d,size:r,value:c,disabled:R},c))})});try{C.displayName="RadioGroup",C.__docgenInfo={description:"",displayName:"RadioGroup",props:{size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"sm" | "lg" | null'}},asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}},options:{defaultValue:null,description:"",name:"options",required:!0,type:{name:"RadioOption[]"}}}}}catch{}export{C as R}; diff --git a/assets/RadioGroup-DXxc1nEu.js b/assets/RadioGroup-DXxc1nEu.js deleted file mode 100644 index e9b754287..000000000 --- a/assets/RadioGroup-DXxc1nEu.js +++ /dev/null @@ -1 +0,0 @@ -import{j as s}from"./jsx-runtime-z8MfsBtr.js";import{r as u}from"./index-D1TSixAU.js";import{a as M,c as x}from"./index-BWtkTp-R.js";import{u as k}from"./index-DEvaI7vP.js";import{c as j,P as g}from"./index-CuZtKiOG.js";import{c as P,R as L,I as K}from"./index-BefANkT7.js";import{u as T}from"./index-Bac_1hpE.js";import{u as U}from"./index-CdSWItFS.js";import{u as $}from"./index-CpZK5cx3.js";import{P as B}from"./index-DogTl_U1.js";import{c as E}from"./index-DKHC-OhD.js";import{F as H}from"./Field-Dz_fFMgk.js";import{c as y}from"./classnames-Dx2cly0x.js";var w="Radio",[W,G]=j(w),[X,Y]=W(w),I=u.forwardRef((t,n)=>{const{__scopeRadio:e,name:a,checked:o=!1,required:r,disabled:i,value:p="on",onCheck:d,form:c,...v}=t,[f,m]=u.useState(null),l=k(n,b=>m(b)),R=u.useRef(!1),h=f?c||!!f.closest("form"):!0;return s.jsxs(X,{scope:e,checked:o,disabled:i,children:[s.jsx(g.button,{type:"button",role:"radio","aria-checked":o,"data-state":A(o),"data-disabled":i?"":void 0,disabled:i,value:p,...v,ref:l,onClick:x(t.onClick,b=>{o||d==null||d(),h&&(R.current=b.isPropagationStopped(),R.current||b.stopPropagation())})}),h&&s.jsx(J,{control:f,bubbles:!R.current,name:a,value:p,checked:o,required:r,disabled:i,form:c,style:{transform:"translateX(-100%)"}})]})});I.displayName=w;var N="RadioIndicator",S=u.forwardRef((t,n)=>{const{__scopeRadio:e,forceMount:a,...o}=t,r=Y(N,e);return s.jsx(B,{present:a||r.checked,children:s.jsx(g.span,{"data-state":A(r.checked),"data-disabled":r.disabled?"":void 0,...o,ref:n})})});S.displayName=N;var J=t=>{const{control:n,checked:e,bubbles:a=!0,...o}=t,r=u.useRef(null),i=$(e),p=U(n);return u.useEffect(()=>{const d=r.current,c=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(c,"checked").set;if(i!==e&&f){const m=new Event("click",{bubbles:a});f.call(d,e),d.dispatchEvent(m)}},[i,e,a]),s.jsx("input",{type:"radio","aria-hidden":!0,defaultChecked:e,...o,tabIndex:-1,ref:r,style:{...t.style,...p,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function A(t){return t?"checked":"unchecked"}var Q=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],_="RadioGroup",[Z,we]=j(_,[P,G]),V=P(),D=G(),[ee,oe]=Z(_),O=u.forwardRef((t,n)=>{const{__scopeRadioGroup:e,name:a,defaultValue:o,value:r,required:i=!1,disabled:p=!1,orientation:d,dir:c,loop:v=!0,onValueChange:f,...m}=t,l=V(e),R=T(c),[h,b]=M({prop:r,defaultProp:o,onChange:f});return s.jsx(ee,{scope:e,name:a,required:i,disabled:p,value:h,onValueChange:b,children:s.jsx(L,{asChild:!0,...l,orientation:d,dir:R,loop:v,children:s.jsx(g.div,{role:"radiogroup","aria-required":i,"aria-orientation":d,"data-disabled":p?"":void 0,dir:R,...m,ref:n})})})});O.displayName=_;var z="RadioGroupItem",F=u.forwardRef((t,n)=>{const{__scopeRadioGroup:e,disabled:a,...o}=t,r=oe(z,e),i=r.disabled||a,p=V(e),d=D(e),c=u.useRef(null),v=k(n,c),f=r.value===o.value,m=u.useRef(!1);return u.useEffect(()=>{const l=h=>{Q.includes(h.key)&&(m.current=!0)},R=()=>m.current=!1;return document.addEventListener("keydown",l),document.addEventListener("keyup",R),()=>{document.removeEventListener("keydown",l),document.removeEventListener("keyup",R)}},[]),s.jsx(K,{asChild:!0,...p,focusable:!i,active:f,children:s.jsx(I,{disabled:i,required:r.required,checked:f,...d,...o,name:r.name,ref:v,onCheck:()=>r.onValueChange(o.value),onKeyDown:x(l=>{l.key==="Enter"&&l.preventDefault()}),onFocus:x(o.onFocus,()=>{var l;m.current&&((l=c.current)==null||l.click())})})})});F.displayName=z;var re="RadioGroupIndicator",q=u.forwardRef((t,n)=>{const{__scopeRadioGroup:e,...a}=t,o=D(e);return s.jsx(S,{...o,...a,ref:n})});q.displayName=re;var te=O,ae=F,se=q;const ne=E(["bg-transparent rounded-full p-0","cursor-pointer hover:opacity-80 disabled:cursor-default disabled:opacity-50","outline-hidden ring-inset ring-1 ring-border-focus focus-visible:ring-2 focus-visible:ring-border-focus"],{variants:{size:{sm:"h-5 w-5",lg:"h-7 w-7"}},defaultVariants:{size:"sm"}}),ie=E(["flex items-center justify-center relative w-full h-full text-primary",'after:content-[""] after:block after:rounded-full after:bg-current'],{variants:{size:{sm:"after:w-3 after:h-3",lg:"after:w-[18px] after:h-[18px]"}},defaultVariants:{size:"sm"}}),de=t=>{const{id:n,label:e,size:a="sm",value:o,disabled:r}=t;return s.jsx("div",{className:"flex items-center",children:s.jsx(H,{disabled:r,id:n,label:e,labelLocation:"right",className:"flex",children:s.jsx(ae,{className:y(ne({size:a})),value:o,id:n,disabled:r,children:s.jsx(se,{className:y(ie({size:a}))})})})})},C=u.forwardRef((t,n)=>{const{disabled:e=!1,name:a,options:o,size:r="sm",className:i,...p}=t;return s.jsx(te,{className:y("flex flex-col gap-2",i),disabled:e,name:a,ref:n,...p,children:o.map(({label:d,value:c,disabled:v})=>s.jsx(de,{id:`${a}-${c}`,label:d,size:r,value:c,disabled:v},c))})});try{C.displayName="RadioGroup",C.__docgenInfo={description:"",displayName:"RadioGroup",props:{size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"sm" | "lg" | null'}},asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}},options:{defaultValue:null,description:"",name:"options",required:!0,type:{name:"RadioOption[]"}}}}}catch{}export{C as R}; diff --git a/assets/RadioGroup.stories-DmkbX_Xp.js b/assets/RadioGroup.stories-XC7eXECr.js similarity index 59% rename from assets/RadioGroup.stories-DmkbX_Xp.js rename to assets/RadioGroup.stories-XC7eXECr.js index c8dab227f..54b819b57 100644 --- a/assets/RadioGroup.stories-DmkbX_Xp.js +++ b/assets/RadioGroup.stories-XC7eXECr.js @@ -1,4 +1,4 @@ -import{R as r}from"./RadioGroup-DXxc1nEu.js";import"./jsx-runtime-z8MfsBtr.js";import"./index-C9rmetsa.js";import"./index-D1TSixAU.js";import"./index-BWtkTp-R.js";import"./index-DEvaI7vP.js";import"./index-CuZtKiOG.js";import"./index-Dcf1nc42.js";import"./index-D2m0ySOf.js";import"./index-BefANkT7.js";import"./index-BFS5t9Ij.js";import"./index-VR-_z_Zs.js";import"./index-Bac_1hpE.js";import"./index-CdSWItFS.js";import"./index-CpZK5cx3.js";import"./index-DogTl_U1.js";import"./index-DKHC-OhD.js";import"./clsx-B-dksMZM.js";import"./Field-Dz_fFMgk.js";import"./Text-DiY0ipGE.js";import"./classnames-Dx2cly0x.js";const F={title:"Forms/RadioGroup",component:r},o={args:{size:"sm",options:[{label:"Option 1",value:"option-1"},{label:"Option 2",value:"option-2"},{label:"Option 3",value:"option-3"},{label:"Option 4",value:"option-4",disabled:!0}]}};var t,i,p;o.parameters={...o.parameters,docs:{...(t=o.parameters)==null?void 0:t.docs,source:{originalSource:`{ +import{R as r}from"./RadioGroup-Cax5XL0Y.js";import"./jsx-runtime-Cf8x2fCZ.js";import"./index-yBjzXJbu.js";import"./index-DubqEmGm.js";import"./index-DKEAZgBW.js";import"./index-BkTKsPvT.js";import"./index-EKtyzmkF.js";import"./index-e5epXPAg.js";import"./index-fNjTmf9T.js";import"./index-h6D3frV-.js";import"./index-BKFtrmjf.js";import"./index-Cbw-VAaK.js";import"./index-BPXglf9v.js";import"./index-JD-fg0In.js";import"./index-CfbYICbs.js";import"./index-SbpNQzLY.js";import"./index-Dp3B9jqt.js";import"./clsx-B-dksMZM.js";import"./Field-BUPg2hwy.js";import"./Text-c-Dt_3pd.js";import"./classnames-Dx2cly0x.js";const F={title:"Forms/RadioGroup",component:r},o={args:{size:"sm",options:[{label:"Option 1",value:"option-1"},{label:"Option 2",value:"option-2"},{label:"Option 3",value:"option-3"},{label:"Option 4",value:"option-4",disabled:!0}]}};var t,i,p;o.parameters={...o.parameters,docs:{...(t=o.parameters)==null?void 0:t.docs,source:{originalSource:`{ args: { size: 'sm', options: [{ diff --git a/assets/Scroll-HNtTmBVf.js b/assets/Scroll-CD1l9_-j.js similarity index 93% rename from assets/Scroll-HNtTmBVf.js rename to assets/Scroll-CD1l9_-j.js index cb5d71d5b..9349103d7 100644 --- a/assets/Scroll-HNtTmBVf.js +++ b/assets/Scroll-CD1l9_-j.js @@ -1 +1 @@ -import{j as t}from"./jsx-runtime-z8MfsBtr.js";import{c as n}from"./index-DKHC-OhD.js";import{c as o}from"./classnames-Dx2cly0x.js";const u=n(["w-full h-full bg-background-primary"],{variants:{direction:{vertical:["h-full overflow-y-auto overscroll-y-contain"],horizontal:["overflow-x-auto overscroll-x-contain w-full"]}},defaultVariants:{direction:"vertical"}}),d=n(["relative w-full h-full"],{variants:{direction:{vertical:["before:absolute before:z-10 before:pointer-events-none before:left-0 before:top-0 before:w-full before:h-4","before:bg-linear-to-t before:from-transparent before:to-background-primary","after:absolute after:z-10 after:pointer-events-none after:left-0 after:bottom-0 after:w-full after:h-4","after:bg-linear-to-b after:from-transparent after:to-background-primary"],horizontal:["before:absolute before:z-10 before:pointer-events-none before:left-0 before:top-0 before:h-full before:w-4","before:bg-linear-to-l before:from-transparent before:to-background-primary","after:absolute after:z-10 after:pointer-events-none after:right-0 after:top-0 after:h-full after:w-4","after:bg-linear-to-r after:from-transparent after:to-background-primary"]},shadows:{true:"",false:"before:hidden after:hidden"}},defaultVariants:{direction:"vertical",shadows:!0}}),a=e=>{const{children:l,shadows:f=!0,direction:r="vertical",contentProps:i,className:s,...c}=e;return t.jsx("div",{className:o(d({direction:r,shadows:f}),s),...c,children:t.jsx("div",{className:o(u({direction:r})),...i,children:l})})};try{a.displayName="Scroll",a.__docgenInfo={description:"",displayName:"Scroll",props:{contentProps:{defaultValue:null,description:"",name:"contentProps",required:!1,type:{name:"HTMLAttributes"}},direction:{defaultValue:null,description:"",name:"direction",required:!1,type:{name:'"horizontal" | "vertical" | null'}},shadows:{defaultValue:null,description:"",name:"shadows",required:!1,type:{name:"boolean | null"}}}}}catch{}export{a as S}; +import{j as t}from"./jsx-runtime-Cf8x2fCZ.js";import{c as n}from"./index-Dp3B9jqt.js";import{c as o}from"./classnames-Dx2cly0x.js";const u=n(["w-full h-full bg-background-primary"],{variants:{direction:{vertical:["h-full overflow-y-auto overscroll-y-contain"],horizontal:["overflow-x-auto overscroll-x-contain w-full"]}},defaultVariants:{direction:"vertical"}}),d=n(["relative w-full h-full"],{variants:{direction:{vertical:["before:absolute before:z-10 before:pointer-events-none before:left-0 before:top-0 before:w-full before:h-4","before:bg-linear-to-t before:from-transparent before:to-background-primary","after:absolute after:z-10 after:pointer-events-none after:left-0 after:bottom-0 after:w-full after:h-4","after:bg-linear-to-b after:from-transparent after:to-background-primary"],horizontal:["before:absolute before:z-10 before:pointer-events-none before:left-0 before:top-0 before:h-full before:w-4","before:bg-linear-to-l before:from-transparent before:to-background-primary","after:absolute after:z-10 after:pointer-events-none after:right-0 after:top-0 after:h-full after:w-4","after:bg-linear-to-r after:from-transparent after:to-background-primary"]},shadows:{true:"",false:"before:hidden after:hidden"}},defaultVariants:{direction:"vertical",shadows:!0}}),a=e=>{const{children:l,shadows:f=!0,direction:r="vertical",contentProps:i,className:s,...c}=e;return t.jsx("div",{className:o(d({direction:r,shadows:f}),s),...c,children:t.jsx("div",{className:o(u({direction:r})),...i,children:l})})};try{a.displayName="Scroll",a.__docgenInfo={description:"",displayName:"Scroll",props:{contentProps:{defaultValue:null,description:"",name:"contentProps",required:!1,type:{name:"HTMLAttributes"}},direction:{defaultValue:null,description:"",name:"direction",required:!1,type:{name:'"horizontal" | "vertical" | null'}},shadows:{defaultValue:null,description:"",name:"shadows",required:!1,type:{name:"boolean | null"}}}}}catch{}export{a as S}; diff --git a/assets/Scroll.stories-CtFNU-MG.js b/assets/Scroll.stories-5yb7o_H_.js similarity index 85% rename from assets/Scroll.stories-CtFNU-MG.js rename to assets/Scroll.stories-5yb7o_H_.js index 3830d02d5..d79cebafe 100644 --- a/assets/Scroll.stories-CtFNU-MG.js +++ b/assets/Scroll.stories-5yb7o_H_.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-z8MfsBtr.js";import{C as h}from"./Card-DDkzOCNp.js";import{T as n}from"./Text-DiY0ipGE.js";import{S as p}from"./Scroll-HNtTmBVf.js";import"./index-C9rmetsa.js";import"./index-DEvaI7vP.js";import"./index-D1TSixAU.js";import"./index-DKHC-OhD.js";import"./clsx-B-dksMZM.js";import"./classnames-Dx2cly0x.js";const E={title:"Components/Scroll",component:p},m=e=>r.jsx(h,{outlined:!0,className:"overflow-hidden p-0",style:{width:200,height:200},children:r.jsx(p,{...e})}),x=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],t={render:m,args:{direction:"vertical",shadows:!0,children:r.jsx("div",{className:"p-4 flex flex-col gap-4 items-center",children:x.map(e=>r.jsx("div",{children:r.jsx(n,{color:"primary",variant:"xlarge",children:e})},e))})}},a={render:m,args:{direction:"horizontal",shadows:!0,children:r.jsx("div",{className:"p-4 gap-4 items-center h-full w-max",children:x.map(e=>r.jsx("div",{children:r.jsx(n,{color:"primary",variant:"xlarge",children:e})},e))})}};var o,i,s;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:`{ +import{j as r}from"./jsx-runtime-Cf8x2fCZ.js";import{C as h}from"./Card-BcrLDAIN.js";import{T as n}from"./Text-c-Dt_3pd.js";import{S as p}from"./Scroll-CD1l9_-j.js";import"./index-yBjzXJbu.js";import"./index-BkTKsPvT.js";import"./index-DubqEmGm.js";import"./index-Dp3B9jqt.js";import"./clsx-B-dksMZM.js";import"./classnames-Dx2cly0x.js";const E={title:"Components/Scroll",component:p},m=e=>r.jsx(h,{outlined:!0,className:"overflow-hidden p-0",style:{width:200,height:200},children:r.jsx(p,{...e})}),x=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],t={render:m,args:{direction:"vertical",shadows:!0,children:r.jsx("div",{className:"p-4 flex flex-col gap-4 items-center",children:x.map(e=>r.jsx("div",{children:r.jsx(n,{color:"primary",variant:"xlarge",children:e})},e))})}},a={render:m,args:{direction:"horizontal",shadows:!0,children:r.jsx("div",{className:"p-4 gap-4 items-center h-full w-max",children:x.map(e=>r.jsx("div",{children:r.jsx(n,{color:"primary",variant:"xlarge",children:e})},e))})}};var o,i,s;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:`{ render: StoryWrapper, args: { direction: 'vertical', diff --git a/assets/SearchInput.stories-BbwNL2jh.js b/assets/SearchInput.stories-CBW8-o_E.js similarity index 79% rename from assets/SearchInput.stories-BbwNL2jh.js rename to assets/SearchInput.stories-CBW8-o_E.js index ac8787f39..eb31562a4 100644 --- a/assets/SearchInput.stories-BbwNL2jh.js +++ b/assets/SearchInput.stories-CBW8-o_E.js @@ -1,4 +1,4 @@ -import{j as l}from"./jsx-runtime-z8MfsBtr.js";import{r as u}from"./index-D1TSixAU.js";import{I}from"./IconButton-M16ADBdN.js";import{T as y}from"./TextInput-yPmOWNKY.js";import"./ControlledTextInput-DjDjk1YM.js";import{c as S,d as g}from"./WarningIcon-C-Bue-nz.js";import"./index-C9rmetsa.js";import"./Button-e99vAgb9.js";import"./index-DEvaI7vP.js";import"./index-DKHC-OhD.js";import"./clsx-B-dksMZM.js";import"./Text-DiY0ipGE.js";import"./classnames-Dx2cly0x.js";import"./Field-Dz_fFMgk.js";const a=u.forwardRef((r,o)=>{const{onChange:e,placeholder:n="Search",name:d="search",value:s,controls:m,...f}=r,h=s?l.jsx(I,{icon:g,size:"xs",onClick:()=>e==null?void 0:e({target:{value:""}})}):void 0;return l.jsx(y,{ref:o,name:d,leftIcon:S,controls:m||h,placeholder:n,value:s,onChange:e,...f})});try{a.displayName="SearchInput",a.__docgenInfo={description:"",displayName:"SearchInput",props:{leftIcon:{defaultValue:null,description:"",name:"leftIcon",required:!1,type:{name:"ComponentType"}},rightIcon:{defaultValue:null,description:"",name:"rightIcon",required:!1,type:{name:"ComponentType"}},name:{defaultValue:null,description:"",name:"name",required:!0,type:{name:"string"}},numeric:{defaultValue:null,description:"",name:"numeric",required:!1,type:{name:"boolean"}},controls:{defaultValue:null,description:"",name:"controls",required:!1,type:{name:"ReactNode"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:'"hidden" | "top" | "left" | "right" | null'}}}}}catch{}const P={title:"Forms/SearchInput",component:a},_=r=>{const[o,e]=u.useState("");return l.jsx(a,{id:"myInput",value:o,onChange:n=>e(n.target.value),...r})},t={render:_,args:{label:"Search",labelLocation:"top",placeholder:"This is the placeholder"}};var i,c,p;t.parameters={...t.parameters,docs:{...(i=t.parameters)==null?void 0:i.docs,source:{originalSource:`{ +import{j as l}from"./jsx-runtime-Cf8x2fCZ.js";import{r as u}from"./index-DubqEmGm.js";import{I}from"./IconButton-tt72d-YU.js";import{T as y}from"./TextInput-DuktM35c.js";import"./ControlledTextInput-Rh4_ZXKu.js";import{c as S,d as g}from"./WarningIcon-Z1cZGh4-.js";import"./index-yBjzXJbu.js";import"./Button-CJ_2iam3.js";import"./index-BkTKsPvT.js";import"./index-Dp3B9jqt.js";import"./clsx-B-dksMZM.js";import"./Text-c-Dt_3pd.js";import"./classnames-Dx2cly0x.js";import"./Field-BUPg2hwy.js";const a=u.forwardRef((r,o)=>{const{onChange:e,placeholder:n="Search",name:d="search",value:s,controls:m,...f}=r,h=s?l.jsx(I,{icon:g,size:"xs",onClick:()=>e==null?void 0:e({target:{value:""}})}):void 0;return l.jsx(y,{ref:o,name:d,leftIcon:S,controls:m||h,placeholder:n,value:s,onChange:e,...f})});try{a.displayName="SearchInput",a.__docgenInfo={description:"",displayName:"SearchInput",props:{leftIcon:{defaultValue:null,description:"",name:"leftIcon",required:!1,type:{name:"ComponentType"}},rightIcon:{defaultValue:null,description:"",name:"rightIcon",required:!1,type:{name:"ComponentType"}},name:{defaultValue:null,description:"",name:"name",required:!0,type:{name:"string"}},numeric:{defaultValue:null,description:"",name:"numeric",required:!1,type:{name:"boolean"}},controls:{defaultValue:null,description:"",name:"controls",required:!1,type:{name:"ReactNode"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:'"hidden" | "top" | "left" | "right" | null'}}}}}catch{}const P={title:"Forms/SearchInput",component:a},_=r=>{const[o,e]=u.useState("");return l.jsx(a,{id:"myInput",value:o,onChange:n=>e(n.target.value),...r})},t={render:_,args:{label:"Search",labelLocation:"top",placeholder:"This is the placeholder"}};var i,c,p;t.parameters={...t.parameters,docs:{...(i=t.parameters)==null?void 0:i.docs,source:{originalSource:`{ render: StoryWrapper, args: { label: 'Search', diff --git a/assets/Select-Cu4ORgJB.js b/assets/Select-DxvlIVLn.js similarity index 95% rename from assets/Select-Cu4ORgJB.js rename to assets/Select-DxvlIVLn.js index dd5744367..756970602 100644 --- a/assets/Select-Cu4ORgJB.js +++ b/assets/Select-DxvlIVLn.js @@ -1 +1 @@ -import{j as l}from"./jsx-runtime-z8MfsBtr.js";import{r as t}from"./index-D1TSixAU.js";import{r as Re}from"./index-Dcf1nc42.js";import{a as Ie,c as R,u as G,b as tt}from"./index-BWtkTp-R.js";import{c as ot}from"./index-BFS5t9Ij.js";import{u as L,S as nt}from"./index-DEvaI7vP.js";import{c as rt,P as M}from"./index-CuZtKiOG.js";import{u as st}from"./index-Bac_1hpE.js";import{P as lt,D as at}from"./index-DCVWRiMv.js";import{h as it,u as ct,R as dt,F as ut}from"./Combination-DfJfzaFg.js";import{u as Ce}from"./index-VR-_z_Zs.js";import{c as Ne,R as pt,A as ft,C as mt,a as ht}from"./index-4RitGr_c.js";import{u as gt}from"./index-CpZK5cx3.js";import{V as vt}from"./index--wnn4zir.js";import{F as xt}from"./Field-Dz_fFMgk.js";import{f as St}from"./WarningIcon-C-Bue-nz.js";import{c as Ee}from"./classnames-Dx2cly0x.js";import{t as _e}from"./Text-DiY0ipGE.js";import{u as wt}from"./ThemeProvider-CHaDE3bZ.js";function Te(o,[c,e]){return Math.min(e,Math.max(c,o))}var yt=[" ","Enter","ArrowUp","ArrowDown"],Ct=[" ","Enter"],re="Select",[ie,ce,bt]=ot(re),[ee,yo]=rt(re,[bt,Ne]),de=Ne(),[It,z]=ee(re),[Tt,Pt]=ee(re),Me=o=>{const{__scopeSelect:c,children:e,open:a,defaultOpen:i,onOpenChange:u,value:s,defaultValue:r,onValueChange:n,dir:p,name:v,autoComplete:x,disabled:P,required:T,form:b}=o,d=de(c),[g,y]=t.useState(null),[f,h]=t.useState(null),[j,A]=t.useState(!1),te=st(p),[N=!1,D]=Ie({prop:a,defaultProp:i,onChange:u}),[K,$]=Ie({prop:s,defaultProp:r,onChange:n}),k=t.useRef(null),H=g?b||!!g.closest("form"):!0,[U,B]=t.useState(new Set),F=Array.from(U).map(E=>E.props.value).join(";");return l.jsx(pt,{...d,children:l.jsxs(It,{required:T,scope:c,trigger:g,onTriggerChange:y,valueNode:f,onValueNodeChange:h,valueNodeHasChildren:j,onValueNodeHasChildrenChange:A,contentId:Ce(),value:K,onValueChange:$,open:N,onOpenChange:D,dir:te,triggerPointerDownPosRef:k,disabled:P,children:[l.jsx(ie.Provider,{scope:c,children:l.jsx(Tt,{scope:o.__scopeSelect,onNativeOptionAdd:t.useCallback(E=>{B(V=>new Set(V).add(E))},[]),onNativeOptionRemove:t.useCallback(E=>{B(V=>{const W=new Set(V);return W.delete(E),W})},[]),children:e})}),H?l.jsxs(Je,{"aria-hidden":!0,required:T,tabIndex:-1,name:v,autoComplete:x,value:K,onChange:E=>$(E.target.value),disabled:P,form:b,children:[K===void 0?l.jsx("option",{value:""}):null,Array.from(U)]},F):null]})})};Me.displayName=re;var je="SelectTrigger",Ae=t.forwardRef((o,c)=>{const{__scopeSelect:e,disabled:a=!1,...i}=o,u=de(e),s=z(je,e),r=s.disabled||a,n=L(c,s.onTriggerChange),p=ce(e),v=t.useRef("touch"),[x,P,T]=Qe(d=>{const g=p().filter(h=>!h.disabled),y=g.find(h=>h.value===s.value),f=et(g,d,y);f!==void 0&&s.onValueChange(f.value)}),b=d=>{r||(s.onOpenChange(!0),T()),d&&(s.triggerPointerDownPosRef.current={x:Math.round(d.pageX),y:Math.round(d.pageY)})};return l.jsx(ft,{asChild:!0,...u,children:l.jsx(M.button,{type:"button",role:"combobox","aria-controls":s.contentId,"aria-expanded":s.open,"aria-required":s.required,"aria-autocomplete":"none",dir:s.dir,"data-state":s.open?"open":"closed",disabled:r,"data-disabled":r?"":void 0,"data-placeholder":Ze(s.value)?"":void 0,...i,ref:n,onClick:R(i.onClick,d=>{d.currentTarget.focus(),v.current!=="mouse"&&b(d)}),onPointerDown:R(i.onPointerDown,d=>{v.current=d.pointerType;const g=d.target;g.hasPointerCapture(d.pointerId)&&g.releasePointerCapture(d.pointerId),d.button===0&&d.ctrlKey===!1&&d.pointerType==="mouse"&&(b(d),d.preventDefault())}),onKeyDown:R(i.onKeyDown,d=>{const g=x.current!=="";!(d.ctrlKey||d.altKey||d.metaKey)&&d.key.length===1&&P(d.key),!(g&&d.key===" ")&&yt.includes(d.key)&&(b(),d.preventDefault())})})})});Ae.displayName=je;var Oe="SelectValue",De=t.forwardRef((o,c)=>{const{__scopeSelect:e,className:a,style:i,children:u,placeholder:s="",...r}=o,n=z(Oe,e),{onValueNodeHasChildrenChange:p}=n,v=u!==void 0,x=L(c,n.onValueNodeChange);return G(()=>{p(v)},[p,v]),l.jsx(M.span,{...r,ref:x,style:{pointerEvents:"none"},children:Ze(n.value)?l.jsx(l.Fragment,{children:s}):u})});De.displayName=Oe;var Rt="SelectIcon",Ve=t.forwardRef((o,c)=>{const{__scopeSelect:e,children:a,...i}=o;return l.jsx(M.span,{"aria-hidden":!0,...i,ref:c,children:a||"▼"})});Ve.displayName=Rt;var Nt="SelectPortal",Le=o=>l.jsx(lt,{asChild:!0,...o});Le.displayName=Nt;var J="SelectContent",ke=t.forwardRef((o,c)=>{const e=z(J,o.__scopeSelect),[a,i]=t.useState();if(G(()=>{i(new DocumentFragment)},[]),!e.open){const u=a;return u?Re.createPortal(l.jsx(He,{scope:o.__scopeSelect,children:l.jsx(ie.Slot,{scope:o.__scopeSelect,children:l.jsx("div",{children:o.children})})}),u):null}return l.jsx(Be,{...o,ref:c})});ke.displayName=J;var O=10,[He,Y]=ee(J),Et="SelectContentImpl",Be=t.forwardRef((o,c)=>{const{__scopeSelect:e,position:a="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:u,onPointerDownOutside:s,side:r,sideOffset:n,align:p,alignOffset:v,arrowPadding:x,collisionBoundary:P,collisionPadding:T,sticky:b,hideWhenDetached:d,avoidCollisions:g,...y}=o,f=z(J,e),[h,j]=t.useState(null),[A,te]=t.useState(null),N=L(c,m=>j(m)),[D,K]=t.useState(null),[$,k]=t.useState(null),H=ce(e),[U,B]=t.useState(!1),F=t.useRef(!1);t.useEffect(()=>{if(h)return it(h)},[h]),ct();const E=t.useCallback(m=>{const[I,..._]=H().map(w=>w.ref.current),[C]=_.slice(-1),S=document.activeElement;for(const w of m)if(w===S||(w==null||w.scrollIntoView({block:"nearest"}),w===I&&A&&(A.scrollTop=0),w===C&&A&&(A.scrollTop=A.scrollHeight),w==null||w.focus(),document.activeElement!==S))return},[H,A]),V=t.useCallback(()=>E([D,h]),[E,D,h]);t.useEffect(()=>{U&&V()},[U,V]);const{onOpenChange:W,triggerPointerDownPosRef:q}=f;t.useEffect(()=>{if(h){let m={x:0,y:0};const I=C=>{var S,w;m={x:Math.abs(Math.round(C.pageX)-(((S=q.current)==null?void 0:S.x)??0)),y:Math.abs(Math.round(C.pageY)-(((w=q.current)==null?void 0:w.y)??0))}},_=C=>{m.x<=10&&m.y<=10?C.preventDefault():h.contains(C.target)||W(!1),document.removeEventListener("pointermove",I),q.current=null};return q.current!==null&&(document.addEventListener("pointermove",I),document.addEventListener("pointerup",_,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",I),document.removeEventListener("pointerup",_,{capture:!0})}}},[h,W,q]),t.useEffect(()=>{const m=()=>W(!1);return window.addEventListener("blur",m),window.addEventListener("resize",m),()=>{window.removeEventListener("blur",m),window.removeEventListener("resize",m)}},[W]);const[ue,se]=Qe(m=>{const I=H().filter(S=>!S.disabled),_=I.find(S=>S.ref.current===document.activeElement),C=et(I,m,_);C&&setTimeout(()=>C.ref.current.focus())}),pe=t.useCallback((m,I,_)=>{const C=!F.current&&!_;(f.value!==void 0&&f.value===I||C)&&(K(m),C&&(F.current=!0))},[f.value]),fe=t.useCallback(()=>h==null?void 0:h.focus(),[h]),Q=t.useCallback((m,I,_)=>{const C=!F.current&&!_;(f.value!==void 0&&f.value===I||C)&&k(m)},[f.value]),le=a==="popper"?ve:Fe,oe=le===ve?{side:r,sideOffset:n,align:p,alignOffset:v,arrowPadding:x,collisionBoundary:P,collisionPadding:T,sticky:b,hideWhenDetached:d,avoidCollisions:g}:{};return l.jsx(He,{scope:e,content:h,viewport:A,onViewportChange:te,itemRefCallback:pe,selectedItem:D,onItemLeave:fe,itemTextRefCallback:Q,focusSelectedItem:V,selectedItemText:$,position:a,isPositioned:U,searchRef:ue,children:l.jsx(dt,{as:nt,allowPinchZoom:!0,children:l.jsx(ut,{asChild:!0,trapped:f.open,onMountAutoFocus:m=>{m.preventDefault()},onUnmountAutoFocus:R(i,m=>{var I;(I=f.trigger)==null||I.focus({preventScroll:!0}),m.preventDefault()}),children:l.jsx(at,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:u,onPointerDownOutside:s,onFocusOutside:m=>m.preventDefault(),onDismiss:()=>f.onOpenChange(!1),children:l.jsx(le,{role:"listbox",id:f.contentId,"data-state":f.open?"open":"closed",dir:f.dir,onContextMenu:m=>m.preventDefault(),...y,...oe,onPlaced:()=>B(!0),ref:N,style:{display:"flex",flexDirection:"column",outline:"none",...y.style},onKeyDown:R(y.onKeyDown,m=>{const I=m.ctrlKey||m.altKey||m.metaKey;if(m.key==="Tab"&&m.preventDefault(),!I&&m.key.length===1&&se(m.key),["ArrowUp","ArrowDown","Home","End"].includes(m.key)){let C=H().filter(S=>!S.disabled).map(S=>S.ref.current);if(["ArrowUp","End"].includes(m.key)&&(C=C.slice().reverse()),["ArrowUp","ArrowDown"].includes(m.key)){const S=m.target,w=C.indexOf(S);C=C.slice(w+1)}setTimeout(()=>E(C)),m.preventDefault()}})})})})})})});Be.displayName=Et;var _t="SelectItemAlignedPosition",Fe=t.forwardRef((o,c)=>{const{__scopeSelect:e,onPlaced:a,...i}=o,u=z(J,e),s=Y(J,e),[r,n]=t.useState(null),[p,v]=t.useState(null),x=L(c,N=>v(N)),P=ce(e),T=t.useRef(!1),b=t.useRef(!0),{viewport:d,selectedItem:g,selectedItemText:y,focusSelectedItem:f}=s,h=t.useCallback(()=>{if(u.trigger&&u.valueNode&&r&&p&&d&&g&&y){const N=u.trigger.getBoundingClientRect(),D=p.getBoundingClientRect(),K=u.valueNode.getBoundingClientRect(),$=y.getBoundingClientRect();if(u.dir!=="rtl"){const S=$.left-D.left,w=K.left-S,X=N.left-w,Z=N.width+X,me=Math.max(Z,D.width),he=window.innerWidth-O,ge=Te(w,[O,Math.max(O,he-me)]);r.style.minWidth=Z+"px",r.style.left=ge+"px"}else{const S=D.right-$.right,w=window.innerWidth-K.right-S,X=window.innerWidth-N.right-w,Z=N.width+X,me=Math.max(Z,D.width),he=window.innerWidth-O,ge=Te(w,[O,Math.max(O,he-me)]);r.style.minWidth=Z+"px",r.style.right=ge+"px"}const k=P(),H=window.innerHeight-O*2,U=d.scrollHeight,B=window.getComputedStyle(p),F=parseInt(B.borderTopWidth,10),E=parseInt(B.paddingTop,10),V=parseInt(B.borderBottomWidth,10),W=parseInt(B.paddingBottom,10),q=F+E+U+W+V,ue=Math.min(g.offsetHeight*5,q),se=window.getComputedStyle(d),pe=parseInt(se.paddingTop,10),fe=parseInt(se.paddingBottom,10),Q=N.top+N.height/2-O,le=H-Q,oe=g.offsetHeight/2,m=g.offsetTop+oe,I=F+E+m,_=q-I;if(I<=Q){const S=k.length>0&&g===k[k.length-1].ref.current;r.style.bottom="0px";const w=p.clientHeight-d.offsetTop-d.offsetHeight,X=Math.max(le,oe+(S?fe:0)+w+V),Z=I+X;r.style.height=Z+"px"}else{const S=k.length>0&&g===k[0].ref.current;r.style.top="0px";const X=Math.max(Q,F+d.offsetTop+(S?pe:0)+oe)+_;r.style.height=X+"px",d.scrollTop=I-Q+d.offsetTop}r.style.margin=`${O}px 0`,r.style.minHeight=ue+"px",r.style.maxHeight=H+"px",a==null||a(),requestAnimationFrame(()=>T.current=!0)}},[P,u.trigger,u.valueNode,r,p,d,g,y,u.dir,a]);G(()=>h(),[h]);const[j,A]=t.useState();G(()=>{p&&A(window.getComputedStyle(p).zIndex)},[p]);const te=t.useCallback(N=>{N&&b.current===!0&&(h(),f==null||f(),b.current=!1)},[h,f]);return l.jsx(jt,{scope:e,contentWrapper:r,shouldExpandOnScrollRef:T,onScrollButtonChange:te,children:l.jsx("div",{ref:n,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:j},children:l.jsx(M.div,{...i,ref:x,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});Fe.displayName=_t;var Mt="SelectPopperPosition",ve=t.forwardRef((o,c)=>{const{__scopeSelect:e,align:a="start",collisionPadding:i=O,...u}=o,s=de(e);return l.jsx(mt,{...s,...u,ref:c,align:a,collisionPadding:i,style:{boxSizing:"border-box",...u.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});ve.displayName=Mt;var[jt,be]=ee(J,{}),xe="SelectViewport",We=t.forwardRef((o,c)=>{const{__scopeSelect:e,nonce:a,...i}=o,u=Y(xe,e),s=be(xe,e),r=L(c,u.onViewportChange),n=t.useRef(0);return l.jsxs(l.Fragment,{children:[l.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:a}),l.jsx(ie.Slot,{scope:e,children:l.jsx(M.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:r,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:R(i.onScroll,p=>{const v=p.currentTarget,{contentWrapper:x,shouldExpandOnScrollRef:P}=s;if(P!=null&&P.current&&x){const T=Math.abs(n.current-v.scrollTop);if(T>0){const b=window.innerHeight-O*2,d=parseFloat(x.style.minHeight),g=parseFloat(x.style.height),y=Math.max(d,g);if(y0?j:0,x.style.justifyContent="flex-end")}}}n.current=v.scrollTop})})})]})});We.displayName=xe;var Ke="SelectGroup",[At,Ot]=ee(Ke),Ue=t.forwardRef((o,c)=>{const{__scopeSelect:e,...a}=o,i=Ce();return l.jsx(At,{scope:e,id:i,children:l.jsx(M.div,{role:"group","aria-labelledby":i,...a,ref:c})})});Ue.displayName=Ke;var qe="SelectLabel",Dt=t.forwardRef((o,c)=>{const{__scopeSelect:e,...a}=o,i=Ot(qe,e);return l.jsx(M.div,{id:i.id,...a,ref:c})});Dt.displayName=qe;var ae="SelectItem",[Vt,Ge]=ee(ae),ze=t.forwardRef((o,c)=>{const{__scopeSelect:e,value:a,disabled:i=!1,textValue:u,...s}=o,r=z(ae,e),n=Y(ae,e),p=r.value===a,[v,x]=t.useState(u??""),[P,T]=t.useState(!1),b=L(c,f=>{var h;return(h=n.itemRefCallback)==null?void 0:h.call(n,f,a,i)}),d=Ce(),g=t.useRef("touch"),y=()=>{i||(r.onValueChange(a),r.onOpenChange(!1))};if(a==="")throw new Error("A must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return l.jsx(Vt,{scope:e,value:a,disabled:i,textId:d,isSelected:p,onItemTextChange:t.useCallback(f=>{x(h=>h||((f==null?void 0:f.textContent)??"").trim())},[]),children:l.jsx(ie.ItemSlot,{scope:e,value:a,disabled:i,textValue:v,children:l.jsx(M.div,{role:"option","aria-labelledby":d,"data-highlighted":P?"":void 0,"aria-selected":p&&P,"data-state":p?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...s,ref:b,onFocus:R(s.onFocus,()=>T(!0)),onBlur:R(s.onBlur,()=>T(!1)),onClick:R(s.onClick,()=>{g.current!=="mouse"&&y()}),onPointerUp:R(s.onPointerUp,()=>{g.current==="mouse"&&y()}),onPointerDown:R(s.onPointerDown,f=>{g.current=f.pointerType}),onPointerMove:R(s.onPointerMove,f=>{var h;g.current=f.pointerType,i?(h=n.onItemLeave)==null||h.call(n):g.current==="mouse"&&f.currentTarget.focus({preventScroll:!0})}),onPointerLeave:R(s.onPointerLeave,f=>{var h;f.currentTarget===document.activeElement&&((h=n.onItemLeave)==null||h.call(n))}),onKeyDown:R(s.onKeyDown,f=>{var j;((j=n.searchRef)==null?void 0:j.current)!==""&&f.key===" "||(Ct.includes(f.key)&&y(),f.key===" "&&f.preventDefault())})})})})});ze.displayName=ae;var ne="SelectItemText",Ye=t.forwardRef((o,c)=>{const{__scopeSelect:e,className:a,style:i,...u}=o,s=z(ne,e),r=Y(ne,e),n=Ge(ne,e),p=Pt(ne,e),[v,x]=t.useState(null),P=L(c,y=>x(y),n.onItemTextChange,y=>{var f;return(f=r.itemTextRefCallback)==null?void 0:f.call(r,y,n.value,n.disabled)}),T=v==null?void 0:v.textContent,b=t.useMemo(()=>l.jsx("option",{value:n.value,disabled:n.disabled,children:T},n.value),[n.disabled,n.value,T]),{onNativeOptionAdd:d,onNativeOptionRemove:g}=p;return G(()=>(d(b),()=>g(b)),[d,g,b]),l.jsxs(l.Fragment,{children:[l.jsx(M.span,{id:n.textId,...u,ref:P}),n.isSelected&&s.valueNode&&!s.valueNodeHasChildren?Re.createPortal(u.children,s.valueNode):null]})});Ye.displayName=ne;var $e="SelectItemIndicator",Lt=t.forwardRef((o,c)=>{const{__scopeSelect:e,...a}=o;return Ge($e,e).isSelected?l.jsx(M.span,{"aria-hidden":!0,...a,ref:c}):null});Lt.displayName=$e;var Se="SelectScrollUpButton",kt=t.forwardRef((o,c)=>{const e=Y(Se,o.__scopeSelect),a=be(Se,o.__scopeSelect),[i,u]=t.useState(!1),s=L(c,a.onScrollButtonChange);return G(()=>{if(e.viewport&&e.isPositioned){let r=function(){const p=n.scrollTop>0;u(p)};const n=e.viewport;return r(),n.addEventListener("scroll",r),()=>n.removeEventListener("scroll",r)}},[e.viewport,e.isPositioned]),i?l.jsx(Xe,{...o,ref:s,onAutoScroll:()=>{const{viewport:r,selectedItem:n}=e;r&&n&&(r.scrollTop=r.scrollTop-n.offsetHeight)}}):null});kt.displayName=Se;var we="SelectScrollDownButton",Ht=t.forwardRef((o,c)=>{const e=Y(we,o.__scopeSelect),a=be(we,o.__scopeSelect),[i,u]=t.useState(!1),s=L(c,a.onScrollButtonChange);return G(()=>{if(e.viewport&&e.isPositioned){let r=function(){const p=n.scrollHeight-n.clientHeight,v=Math.ceil(n.scrollTop)n.removeEventListener("scroll",r)}},[e.viewport,e.isPositioned]),i?l.jsx(Xe,{...o,ref:s,onAutoScroll:()=>{const{viewport:r,selectedItem:n}=e;r&&n&&(r.scrollTop=r.scrollTop+n.offsetHeight)}}):null});Ht.displayName=we;var Xe=t.forwardRef((o,c)=>{const{__scopeSelect:e,onAutoScroll:a,...i}=o,u=Y("SelectScrollButton",e),s=t.useRef(null),r=ce(e),n=t.useCallback(()=>{s.current!==null&&(window.clearInterval(s.current),s.current=null)},[]);return t.useEffect(()=>()=>n(),[n]),G(()=>{var v;const p=r().find(x=>x.ref.current===document.activeElement);(v=p==null?void 0:p.ref.current)==null||v.scrollIntoView({block:"nearest"})},[r]),l.jsx(M.div,{"aria-hidden":!0,...i,ref:c,style:{flexShrink:0,...i.style},onPointerDown:R(i.onPointerDown,()=>{s.current===null&&(s.current=window.setInterval(a,50))}),onPointerMove:R(i.onPointerMove,()=>{var p;(p=u.onItemLeave)==null||p.call(u),s.current===null&&(s.current=window.setInterval(a,50))}),onPointerLeave:R(i.onPointerLeave,()=>{n()})})}),Bt="SelectSeparator",Ft=t.forwardRef((o,c)=>{const{__scopeSelect:e,...a}=o;return l.jsx(M.div,{"aria-hidden":!0,...a,ref:c})});Ft.displayName=Bt;var ye="SelectArrow",Wt=t.forwardRef((o,c)=>{const{__scopeSelect:e,...a}=o,i=de(e),u=z(ye,e),s=Y(ye,e);return u.open&&s.position==="popper"?l.jsx(ht,{...i,...a,ref:c}):null});Wt.displayName=ye;function Ze(o){return o===""||o===void 0}var Je=t.forwardRef((o,c)=>{const{value:e,...a}=o,i=t.useRef(null),u=L(c,i),s=gt(e);return t.useEffect(()=>{const r=i.current,n=window.HTMLSelectElement.prototype,v=Object.getOwnPropertyDescriptor(n,"value").set;if(s!==e&&v){const x=new Event("change",{bubbles:!0});v.call(r,e),r.dispatchEvent(x)}},[s,e]),l.jsx(vt,{asChild:!0,children:l.jsx("select",{...a,ref:u,defaultValue:e})})});Je.displayName="BubbleSelect";function Qe(o){const c=tt(o),e=t.useRef(""),a=t.useRef(0),i=t.useCallback(s=>{const r=e.current+s;c(r),function n(p){e.current=p,window.clearTimeout(a.current),p!==""&&(a.current=window.setTimeout(()=>n(""),1e3))}(r)},[c]),u=t.useCallback(()=>{e.current="",window.clearTimeout(a.current)},[]);return t.useEffect(()=>()=>window.clearTimeout(a.current),[]),[e,i,u]}function et(o,c,e){const i=c.length>1&&Array.from(c).every(p=>p===c[0])?c[0]:c,u=e?o.indexOf(e):-1;let s=Kt(o,Math.max(u,0));i.length===1&&(s=s.filter(p=>p!==e));const n=s.find(p=>p.textValue.toLowerCase().startsWith(i.toLowerCase()));return n!==e?n:void 0}function Kt(o,c){return o.map((e,a)=>o[(c+a)%o.length])}var Ut=Me,qt=Ae,Gt=De,zt=Ve,Yt=Le,$t=ke,Xt=We,Zt=Ue,Jt=ze,Qt=Ye;const eo=t.forwardRef(({children:o,className:c,...e},a)=>l.jsx(Jt,{className:Ee(_e({variant:"normal"}),"flex justify-between items-center px-4 py-3 h-[52px] cursor-pointer","text-base text-primary opacity-100 data-disabled:cursor-default data-disabled:opacity-50","data-highlighted:bg-background-secondary data-[state=checked]:bg-background-control outline-hidden",c),...e,ref:a,children:l.jsx(Qt,{children:o})})),Pe=t.forwardRef((o,c)=>{const{disabled:e=!1,id:a,label:i="",description:u,labelLocation:s="hidden",name:r,options:n,placeholder:p,className:v,...x}=o,{container:P}=wt();return l.jsx(xt,{disabled:e,id:a??r,label:i,labelLocation:s,description:u,className:"grid whitespace-nowrap",children:l.jsxs(Ut,{disabled:e,name:r,...x,children:[l.jsxs(qt,{id:a??r,className:Ee(_e({variant:"normal"}),"inline-flex items-center justify-between gap-1 p-4 h-[52px] bg-transparent rounded-xl","text-base font-medium text-primary select-none cursor-pointer border-none","outline-hidden ring-inset ring-1 ring-border-normal focus-within:ring-2 focus-within:ring-border-focus focus-within:opacity-100","[&:has(:disabled)]:cursor-default [&:has(:disabled)]:opacity-50","[&:has(:disabled):hover]:cursor-default [&:has(:disabled):hover]:opacity-50",v),ref:c,children:[l.jsx(Gt,{placeholder:p}),l.jsx(zt,{className:"inline-flex",children:l.jsx(St,{})})]}),l.jsx(Yt,{container:P,children:l.jsx($t,{className:"backdrop-blur-xs bg-button-glass rounded-lg overflow-hidden z-30 outline-hidden ring-inset focus-within:ring-2 focus-within:ring-border-focus",children:l.jsx(Xt,{children:l.jsx(Zt,{children:n.map(({value:T,label:b,...d})=>l.jsx(eo,{value:T,...d,children:b},T))})})})})]})})});try{Pe.displayName="Select",Pe.__docgenInfo={description:"",displayName:"Select",props:{id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"boolean"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:'"hidden" | "top" | "left" | "right" | null'}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!1,type:{name:"string"}},options:{defaultValue:null,description:"",name:"options",required:!0,type:{name:"SelectOption[]"}}}}}catch{}export{Pe as S}; +import{j as l}from"./jsx-runtime-Cf8x2fCZ.js";import{r as t}from"./index-DubqEmGm.js";import{r as Re}from"./index-e5epXPAg.js";import{a as Ie,c as R,u as G,b as tt}from"./index-DKEAZgBW.js";import{c as ot}from"./index-BKFtrmjf.js";import{u as L,S as nt}from"./index-BkTKsPvT.js";import{c as rt,P as M}from"./index-EKtyzmkF.js";import{u as st}from"./index-BPXglf9v.js";import{P as lt,D as at}from"./index-DC1_uW73.js";import{h as it,u as ct,R as dt,F as ut}from"./Combination-B30zI8Yx.js";import{u as Ce}from"./index-Cbw-VAaK.js";import{c as Ne,R as pt,A as ft,C as mt,a as ht}from"./index-Cbr3GIiu.js";import{u as gt}from"./index-CfbYICbs.js";import{V as vt}from"./index-uUNwjQTH.js";import{F as xt}from"./Field-BUPg2hwy.js";import{f as St}from"./WarningIcon-Z1cZGh4-.js";import{c as Ee}from"./classnames-Dx2cly0x.js";import{t as _e}from"./Text-c-Dt_3pd.js";import{u as wt}from"./ThemeProvider-BFEsm4Z9.js";function Te(o,[c,e]){return Math.min(e,Math.max(c,o))}var yt=[" ","Enter","ArrowUp","ArrowDown"],Ct=[" ","Enter"],re="Select",[ie,ce,bt]=ot(re),[ee,yo]=rt(re,[bt,Ne]),de=Ne(),[It,z]=ee(re),[Tt,Pt]=ee(re),Me=o=>{const{__scopeSelect:c,children:e,open:a,defaultOpen:i,onOpenChange:u,value:s,defaultValue:r,onValueChange:n,dir:p,name:v,autoComplete:x,disabled:P,required:T,form:b}=o,d=de(c),[g,y]=t.useState(null),[f,h]=t.useState(null),[j,A]=t.useState(!1),te=st(p),[N=!1,D]=Ie({prop:a,defaultProp:i,onChange:u}),[K,$]=Ie({prop:s,defaultProp:r,onChange:n}),k=t.useRef(null),H=g?b||!!g.closest("form"):!0,[U,B]=t.useState(new Set),F=Array.from(U).map(E=>E.props.value).join(";");return l.jsx(pt,{...d,children:l.jsxs(It,{required:T,scope:c,trigger:g,onTriggerChange:y,valueNode:f,onValueNodeChange:h,valueNodeHasChildren:j,onValueNodeHasChildrenChange:A,contentId:Ce(),value:K,onValueChange:$,open:N,onOpenChange:D,dir:te,triggerPointerDownPosRef:k,disabled:P,children:[l.jsx(ie.Provider,{scope:c,children:l.jsx(Tt,{scope:o.__scopeSelect,onNativeOptionAdd:t.useCallback(E=>{B(V=>new Set(V).add(E))},[]),onNativeOptionRemove:t.useCallback(E=>{B(V=>{const W=new Set(V);return W.delete(E),W})},[]),children:e})}),H?l.jsxs(Je,{"aria-hidden":!0,required:T,tabIndex:-1,name:v,autoComplete:x,value:K,onChange:E=>$(E.target.value),disabled:P,form:b,children:[K===void 0?l.jsx("option",{value:""}):null,Array.from(U)]},F):null]})})};Me.displayName=re;var je="SelectTrigger",Ae=t.forwardRef((o,c)=>{const{__scopeSelect:e,disabled:a=!1,...i}=o,u=de(e),s=z(je,e),r=s.disabled||a,n=L(c,s.onTriggerChange),p=ce(e),v=t.useRef("touch"),[x,P,T]=Qe(d=>{const g=p().filter(h=>!h.disabled),y=g.find(h=>h.value===s.value),f=et(g,d,y);f!==void 0&&s.onValueChange(f.value)}),b=d=>{r||(s.onOpenChange(!0),T()),d&&(s.triggerPointerDownPosRef.current={x:Math.round(d.pageX),y:Math.round(d.pageY)})};return l.jsx(ft,{asChild:!0,...u,children:l.jsx(M.button,{type:"button",role:"combobox","aria-controls":s.contentId,"aria-expanded":s.open,"aria-required":s.required,"aria-autocomplete":"none",dir:s.dir,"data-state":s.open?"open":"closed",disabled:r,"data-disabled":r?"":void 0,"data-placeholder":Ze(s.value)?"":void 0,...i,ref:n,onClick:R(i.onClick,d=>{d.currentTarget.focus(),v.current!=="mouse"&&b(d)}),onPointerDown:R(i.onPointerDown,d=>{v.current=d.pointerType;const g=d.target;g.hasPointerCapture(d.pointerId)&&g.releasePointerCapture(d.pointerId),d.button===0&&d.ctrlKey===!1&&d.pointerType==="mouse"&&(b(d),d.preventDefault())}),onKeyDown:R(i.onKeyDown,d=>{const g=x.current!=="";!(d.ctrlKey||d.altKey||d.metaKey)&&d.key.length===1&&P(d.key),!(g&&d.key===" ")&&yt.includes(d.key)&&(b(),d.preventDefault())})})})});Ae.displayName=je;var Oe="SelectValue",De=t.forwardRef((o,c)=>{const{__scopeSelect:e,className:a,style:i,children:u,placeholder:s="",...r}=o,n=z(Oe,e),{onValueNodeHasChildrenChange:p}=n,v=u!==void 0,x=L(c,n.onValueNodeChange);return G(()=>{p(v)},[p,v]),l.jsx(M.span,{...r,ref:x,style:{pointerEvents:"none"},children:Ze(n.value)?l.jsx(l.Fragment,{children:s}):u})});De.displayName=Oe;var Rt="SelectIcon",Ve=t.forwardRef((o,c)=>{const{__scopeSelect:e,children:a,...i}=o;return l.jsx(M.span,{"aria-hidden":!0,...i,ref:c,children:a||"▼"})});Ve.displayName=Rt;var Nt="SelectPortal",Le=o=>l.jsx(lt,{asChild:!0,...o});Le.displayName=Nt;var J="SelectContent",ke=t.forwardRef((o,c)=>{const e=z(J,o.__scopeSelect),[a,i]=t.useState();if(G(()=>{i(new DocumentFragment)},[]),!e.open){const u=a;return u?Re.createPortal(l.jsx(He,{scope:o.__scopeSelect,children:l.jsx(ie.Slot,{scope:o.__scopeSelect,children:l.jsx("div",{children:o.children})})}),u):null}return l.jsx(Be,{...o,ref:c})});ke.displayName=J;var O=10,[He,Y]=ee(J),Et="SelectContentImpl",Be=t.forwardRef((o,c)=>{const{__scopeSelect:e,position:a="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:u,onPointerDownOutside:s,side:r,sideOffset:n,align:p,alignOffset:v,arrowPadding:x,collisionBoundary:P,collisionPadding:T,sticky:b,hideWhenDetached:d,avoidCollisions:g,...y}=o,f=z(J,e),[h,j]=t.useState(null),[A,te]=t.useState(null),N=L(c,m=>j(m)),[D,K]=t.useState(null),[$,k]=t.useState(null),H=ce(e),[U,B]=t.useState(!1),F=t.useRef(!1);t.useEffect(()=>{if(h)return it(h)},[h]),ct();const E=t.useCallback(m=>{const[I,..._]=H().map(w=>w.ref.current),[C]=_.slice(-1),S=document.activeElement;for(const w of m)if(w===S||(w==null||w.scrollIntoView({block:"nearest"}),w===I&&A&&(A.scrollTop=0),w===C&&A&&(A.scrollTop=A.scrollHeight),w==null||w.focus(),document.activeElement!==S))return},[H,A]),V=t.useCallback(()=>E([D,h]),[E,D,h]);t.useEffect(()=>{U&&V()},[U,V]);const{onOpenChange:W,triggerPointerDownPosRef:q}=f;t.useEffect(()=>{if(h){let m={x:0,y:0};const I=C=>{var S,w;m={x:Math.abs(Math.round(C.pageX)-(((S=q.current)==null?void 0:S.x)??0)),y:Math.abs(Math.round(C.pageY)-(((w=q.current)==null?void 0:w.y)??0))}},_=C=>{m.x<=10&&m.y<=10?C.preventDefault():h.contains(C.target)||W(!1),document.removeEventListener("pointermove",I),q.current=null};return q.current!==null&&(document.addEventListener("pointermove",I),document.addEventListener("pointerup",_,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",I),document.removeEventListener("pointerup",_,{capture:!0})}}},[h,W,q]),t.useEffect(()=>{const m=()=>W(!1);return window.addEventListener("blur",m),window.addEventListener("resize",m),()=>{window.removeEventListener("blur",m),window.removeEventListener("resize",m)}},[W]);const[ue,se]=Qe(m=>{const I=H().filter(S=>!S.disabled),_=I.find(S=>S.ref.current===document.activeElement),C=et(I,m,_);C&&setTimeout(()=>C.ref.current.focus())}),pe=t.useCallback((m,I,_)=>{const C=!F.current&&!_;(f.value!==void 0&&f.value===I||C)&&(K(m),C&&(F.current=!0))},[f.value]),fe=t.useCallback(()=>h==null?void 0:h.focus(),[h]),Q=t.useCallback((m,I,_)=>{const C=!F.current&&!_;(f.value!==void 0&&f.value===I||C)&&k(m)},[f.value]),le=a==="popper"?ve:Fe,oe=le===ve?{side:r,sideOffset:n,align:p,alignOffset:v,arrowPadding:x,collisionBoundary:P,collisionPadding:T,sticky:b,hideWhenDetached:d,avoidCollisions:g}:{};return l.jsx(He,{scope:e,content:h,viewport:A,onViewportChange:te,itemRefCallback:pe,selectedItem:D,onItemLeave:fe,itemTextRefCallback:Q,focusSelectedItem:V,selectedItemText:$,position:a,isPositioned:U,searchRef:ue,children:l.jsx(dt,{as:nt,allowPinchZoom:!0,children:l.jsx(ut,{asChild:!0,trapped:f.open,onMountAutoFocus:m=>{m.preventDefault()},onUnmountAutoFocus:R(i,m=>{var I;(I=f.trigger)==null||I.focus({preventScroll:!0}),m.preventDefault()}),children:l.jsx(at,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:u,onPointerDownOutside:s,onFocusOutside:m=>m.preventDefault(),onDismiss:()=>f.onOpenChange(!1),children:l.jsx(le,{role:"listbox",id:f.contentId,"data-state":f.open?"open":"closed",dir:f.dir,onContextMenu:m=>m.preventDefault(),...y,...oe,onPlaced:()=>B(!0),ref:N,style:{display:"flex",flexDirection:"column",outline:"none",...y.style},onKeyDown:R(y.onKeyDown,m=>{const I=m.ctrlKey||m.altKey||m.metaKey;if(m.key==="Tab"&&m.preventDefault(),!I&&m.key.length===1&&se(m.key),["ArrowUp","ArrowDown","Home","End"].includes(m.key)){let C=H().filter(S=>!S.disabled).map(S=>S.ref.current);if(["ArrowUp","End"].includes(m.key)&&(C=C.slice().reverse()),["ArrowUp","ArrowDown"].includes(m.key)){const S=m.target,w=C.indexOf(S);C=C.slice(w+1)}setTimeout(()=>E(C)),m.preventDefault()}})})})})})})});Be.displayName=Et;var _t="SelectItemAlignedPosition",Fe=t.forwardRef((o,c)=>{const{__scopeSelect:e,onPlaced:a,...i}=o,u=z(J,e),s=Y(J,e),[r,n]=t.useState(null),[p,v]=t.useState(null),x=L(c,N=>v(N)),P=ce(e),T=t.useRef(!1),b=t.useRef(!0),{viewport:d,selectedItem:g,selectedItemText:y,focusSelectedItem:f}=s,h=t.useCallback(()=>{if(u.trigger&&u.valueNode&&r&&p&&d&&g&&y){const N=u.trigger.getBoundingClientRect(),D=p.getBoundingClientRect(),K=u.valueNode.getBoundingClientRect(),$=y.getBoundingClientRect();if(u.dir!=="rtl"){const S=$.left-D.left,w=K.left-S,X=N.left-w,Z=N.width+X,me=Math.max(Z,D.width),he=window.innerWidth-O,ge=Te(w,[O,Math.max(O,he-me)]);r.style.minWidth=Z+"px",r.style.left=ge+"px"}else{const S=D.right-$.right,w=window.innerWidth-K.right-S,X=window.innerWidth-N.right-w,Z=N.width+X,me=Math.max(Z,D.width),he=window.innerWidth-O,ge=Te(w,[O,Math.max(O,he-me)]);r.style.minWidth=Z+"px",r.style.right=ge+"px"}const k=P(),H=window.innerHeight-O*2,U=d.scrollHeight,B=window.getComputedStyle(p),F=parseInt(B.borderTopWidth,10),E=parseInt(B.paddingTop,10),V=parseInt(B.borderBottomWidth,10),W=parseInt(B.paddingBottom,10),q=F+E+U+W+V,ue=Math.min(g.offsetHeight*5,q),se=window.getComputedStyle(d),pe=parseInt(se.paddingTop,10),fe=parseInt(se.paddingBottom,10),Q=N.top+N.height/2-O,le=H-Q,oe=g.offsetHeight/2,m=g.offsetTop+oe,I=F+E+m,_=q-I;if(I<=Q){const S=k.length>0&&g===k[k.length-1].ref.current;r.style.bottom="0px";const w=p.clientHeight-d.offsetTop-d.offsetHeight,X=Math.max(le,oe+(S?fe:0)+w+V),Z=I+X;r.style.height=Z+"px"}else{const S=k.length>0&&g===k[0].ref.current;r.style.top="0px";const X=Math.max(Q,F+d.offsetTop+(S?pe:0)+oe)+_;r.style.height=X+"px",d.scrollTop=I-Q+d.offsetTop}r.style.margin=`${O}px 0`,r.style.minHeight=ue+"px",r.style.maxHeight=H+"px",a==null||a(),requestAnimationFrame(()=>T.current=!0)}},[P,u.trigger,u.valueNode,r,p,d,g,y,u.dir,a]);G(()=>h(),[h]);const[j,A]=t.useState();G(()=>{p&&A(window.getComputedStyle(p).zIndex)},[p]);const te=t.useCallback(N=>{N&&b.current===!0&&(h(),f==null||f(),b.current=!1)},[h,f]);return l.jsx(jt,{scope:e,contentWrapper:r,shouldExpandOnScrollRef:T,onScrollButtonChange:te,children:l.jsx("div",{ref:n,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:j},children:l.jsx(M.div,{...i,ref:x,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});Fe.displayName=_t;var Mt="SelectPopperPosition",ve=t.forwardRef((o,c)=>{const{__scopeSelect:e,align:a="start",collisionPadding:i=O,...u}=o,s=de(e);return l.jsx(mt,{...s,...u,ref:c,align:a,collisionPadding:i,style:{boxSizing:"border-box",...u.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});ve.displayName=Mt;var[jt,be]=ee(J,{}),xe="SelectViewport",We=t.forwardRef((o,c)=>{const{__scopeSelect:e,nonce:a,...i}=o,u=Y(xe,e),s=be(xe,e),r=L(c,u.onViewportChange),n=t.useRef(0);return l.jsxs(l.Fragment,{children:[l.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:a}),l.jsx(ie.Slot,{scope:e,children:l.jsx(M.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:r,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:R(i.onScroll,p=>{const v=p.currentTarget,{contentWrapper:x,shouldExpandOnScrollRef:P}=s;if(P!=null&&P.current&&x){const T=Math.abs(n.current-v.scrollTop);if(T>0){const b=window.innerHeight-O*2,d=parseFloat(x.style.minHeight),g=parseFloat(x.style.height),y=Math.max(d,g);if(y0?j:0,x.style.justifyContent="flex-end")}}}n.current=v.scrollTop})})})]})});We.displayName=xe;var Ke="SelectGroup",[At,Ot]=ee(Ke),Ue=t.forwardRef((o,c)=>{const{__scopeSelect:e,...a}=o,i=Ce();return l.jsx(At,{scope:e,id:i,children:l.jsx(M.div,{role:"group","aria-labelledby":i,...a,ref:c})})});Ue.displayName=Ke;var qe="SelectLabel",Dt=t.forwardRef((o,c)=>{const{__scopeSelect:e,...a}=o,i=Ot(qe,e);return l.jsx(M.div,{id:i.id,...a,ref:c})});Dt.displayName=qe;var ae="SelectItem",[Vt,Ge]=ee(ae),ze=t.forwardRef((o,c)=>{const{__scopeSelect:e,value:a,disabled:i=!1,textValue:u,...s}=o,r=z(ae,e),n=Y(ae,e),p=r.value===a,[v,x]=t.useState(u??""),[P,T]=t.useState(!1),b=L(c,f=>{var h;return(h=n.itemRefCallback)==null?void 0:h.call(n,f,a,i)}),d=Ce(),g=t.useRef("touch"),y=()=>{i||(r.onValueChange(a),r.onOpenChange(!1))};if(a==="")throw new Error("A must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return l.jsx(Vt,{scope:e,value:a,disabled:i,textId:d,isSelected:p,onItemTextChange:t.useCallback(f=>{x(h=>h||((f==null?void 0:f.textContent)??"").trim())},[]),children:l.jsx(ie.ItemSlot,{scope:e,value:a,disabled:i,textValue:v,children:l.jsx(M.div,{role:"option","aria-labelledby":d,"data-highlighted":P?"":void 0,"aria-selected":p&&P,"data-state":p?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...s,ref:b,onFocus:R(s.onFocus,()=>T(!0)),onBlur:R(s.onBlur,()=>T(!1)),onClick:R(s.onClick,()=>{g.current!=="mouse"&&y()}),onPointerUp:R(s.onPointerUp,()=>{g.current==="mouse"&&y()}),onPointerDown:R(s.onPointerDown,f=>{g.current=f.pointerType}),onPointerMove:R(s.onPointerMove,f=>{var h;g.current=f.pointerType,i?(h=n.onItemLeave)==null||h.call(n):g.current==="mouse"&&f.currentTarget.focus({preventScroll:!0})}),onPointerLeave:R(s.onPointerLeave,f=>{var h;f.currentTarget===document.activeElement&&((h=n.onItemLeave)==null||h.call(n))}),onKeyDown:R(s.onKeyDown,f=>{var j;((j=n.searchRef)==null?void 0:j.current)!==""&&f.key===" "||(Ct.includes(f.key)&&y(),f.key===" "&&f.preventDefault())})})})})});ze.displayName=ae;var ne="SelectItemText",Ye=t.forwardRef((o,c)=>{const{__scopeSelect:e,className:a,style:i,...u}=o,s=z(ne,e),r=Y(ne,e),n=Ge(ne,e),p=Pt(ne,e),[v,x]=t.useState(null),P=L(c,y=>x(y),n.onItemTextChange,y=>{var f;return(f=r.itemTextRefCallback)==null?void 0:f.call(r,y,n.value,n.disabled)}),T=v==null?void 0:v.textContent,b=t.useMemo(()=>l.jsx("option",{value:n.value,disabled:n.disabled,children:T},n.value),[n.disabled,n.value,T]),{onNativeOptionAdd:d,onNativeOptionRemove:g}=p;return G(()=>(d(b),()=>g(b)),[d,g,b]),l.jsxs(l.Fragment,{children:[l.jsx(M.span,{id:n.textId,...u,ref:P}),n.isSelected&&s.valueNode&&!s.valueNodeHasChildren?Re.createPortal(u.children,s.valueNode):null]})});Ye.displayName=ne;var $e="SelectItemIndicator",Lt=t.forwardRef((o,c)=>{const{__scopeSelect:e,...a}=o;return Ge($e,e).isSelected?l.jsx(M.span,{"aria-hidden":!0,...a,ref:c}):null});Lt.displayName=$e;var Se="SelectScrollUpButton",kt=t.forwardRef((o,c)=>{const e=Y(Se,o.__scopeSelect),a=be(Se,o.__scopeSelect),[i,u]=t.useState(!1),s=L(c,a.onScrollButtonChange);return G(()=>{if(e.viewport&&e.isPositioned){let r=function(){const p=n.scrollTop>0;u(p)};const n=e.viewport;return r(),n.addEventListener("scroll",r),()=>n.removeEventListener("scroll",r)}},[e.viewport,e.isPositioned]),i?l.jsx(Xe,{...o,ref:s,onAutoScroll:()=>{const{viewport:r,selectedItem:n}=e;r&&n&&(r.scrollTop=r.scrollTop-n.offsetHeight)}}):null});kt.displayName=Se;var we="SelectScrollDownButton",Ht=t.forwardRef((o,c)=>{const e=Y(we,o.__scopeSelect),a=be(we,o.__scopeSelect),[i,u]=t.useState(!1),s=L(c,a.onScrollButtonChange);return G(()=>{if(e.viewport&&e.isPositioned){let r=function(){const p=n.scrollHeight-n.clientHeight,v=Math.ceil(n.scrollTop)n.removeEventListener("scroll",r)}},[e.viewport,e.isPositioned]),i?l.jsx(Xe,{...o,ref:s,onAutoScroll:()=>{const{viewport:r,selectedItem:n}=e;r&&n&&(r.scrollTop=r.scrollTop+n.offsetHeight)}}):null});Ht.displayName=we;var Xe=t.forwardRef((o,c)=>{const{__scopeSelect:e,onAutoScroll:a,...i}=o,u=Y("SelectScrollButton",e),s=t.useRef(null),r=ce(e),n=t.useCallback(()=>{s.current!==null&&(window.clearInterval(s.current),s.current=null)},[]);return t.useEffect(()=>()=>n(),[n]),G(()=>{var v;const p=r().find(x=>x.ref.current===document.activeElement);(v=p==null?void 0:p.ref.current)==null||v.scrollIntoView({block:"nearest"})},[r]),l.jsx(M.div,{"aria-hidden":!0,...i,ref:c,style:{flexShrink:0,...i.style},onPointerDown:R(i.onPointerDown,()=>{s.current===null&&(s.current=window.setInterval(a,50))}),onPointerMove:R(i.onPointerMove,()=>{var p;(p=u.onItemLeave)==null||p.call(u),s.current===null&&(s.current=window.setInterval(a,50))}),onPointerLeave:R(i.onPointerLeave,()=>{n()})})}),Bt="SelectSeparator",Ft=t.forwardRef((o,c)=>{const{__scopeSelect:e,...a}=o;return l.jsx(M.div,{"aria-hidden":!0,...a,ref:c})});Ft.displayName=Bt;var ye="SelectArrow",Wt=t.forwardRef((o,c)=>{const{__scopeSelect:e,...a}=o,i=de(e),u=z(ye,e),s=Y(ye,e);return u.open&&s.position==="popper"?l.jsx(ht,{...i,...a,ref:c}):null});Wt.displayName=ye;function Ze(o){return o===""||o===void 0}var Je=t.forwardRef((o,c)=>{const{value:e,...a}=o,i=t.useRef(null),u=L(c,i),s=gt(e);return t.useEffect(()=>{const r=i.current,n=window.HTMLSelectElement.prototype,v=Object.getOwnPropertyDescriptor(n,"value").set;if(s!==e&&v){const x=new Event("change",{bubbles:!0});v.call(r,e),r.dispatchEvent(x)}},[s,e]),l.jsx(vt,{asChild:!0,children:l.jsx("select",{...a,ref:u,defaultValue:e})})});Je.displayName="BubbleSelect";function Qe(o){const c=tt(o),e=t.useRef(""),a=t.useRef(0),i=t.useCallback(s=>{const r=e.current+s;c(r),function n(p){e.current=p,window.clearTimeout(a.current),p!==""&&(a.current=window.setTimeout(()=>n(""),1e3))}(r)},[c]),u=t.useCallback(()=>{e.current="",window.clearTimeout(a.current)},[]);return t.useEffect(()=>()=>window.clearTimeout(a.current),[]),[e,i,u]}function et(o,c,e){const i=c.length>1&&Array.from(c).every(p=>p===c[0])?c[0]:c,u=e?o.indexOf(e):-1;let s=Kt(o,Math.max(u,0));i.length===1&&(s=s.filter(p=>p!==e));const n=s.find(p=>p.textValue.toLowerCase().startsWith(i.toLowerCase()));return n!==e?n:void 0}function Kt(o,c){return o.map((e,a)=>o[(c+a)%o.length])}var Ut=Me,qt=Ae,Gt=De,zt=Ve,Yt=Le,$t=ke,Xt=We,Zt=Ue,Jt=ze,Qt=Ye;const eo=t.forwardRef(({children:o,className:c,...e},a)=>l.jsx(Jt,{className:Ee(_e({variant:"normal"}),"flex justify-between items-center px-4 py-3 h-[52px] cursor-pointer","text-base text-primary opacity-100 data-disabled:cursor-default data-disabled:opacity-50","data-highlighted:bg-background-secondary data-[state=checked]:bg-background-control outline-hidden",c),...e,ref:a,children:l.jsx(Qt,{children:o})})),Pe=t.forwardRef((o,c)=>{const{disabled:e=!1,id:a,label:i="",description:u,labelLocation:s="hidden",name:r,options:n,placeholder:p,className:v,...x}=o,{container:P}=wt();return l.jsx(xt,{disabled:e,id:a??r,label:i,labelLocation:s,description:u,className:"grid whitespace-nowrap",children:l.jsxs(Ut,{disabled:e,name:r,...x,children:[l.jsxs(qt,{id:a??r,className:Ee(_e({variant:"normal"}),"inline-flex items-center justify-between gap-1 p-4 h-[52px] bg-transparent rounded-xl","text-base font-medium text-primary select-none cursor-pointer border-none","outline-hidden ring-inset ring-1 ring-border-normal focus-within:ring-2 focus-within:ring-border-focus focus-within:opacity-100","[&:has(:disabled)]:cursor-default [&:has(:disabled)]:opacity-50","[&:has(:disabled):hover]:cursor-default [&:has(:disabled):hover]:opacity-50",v),ref:c,children:[l.jsx(Gt,{placeholder:p}),l.jsx(zt,{className:"inline-flex",children:l.jsx(St,{})})]}),l.jsx(Yt,{container:P,children:l.jsx($t,{className:"backdrop-blur-xs bg-button-glass rounded-lg overflow-hidden z-30 outline-hidden ring-inset focus-within:ring-2 focus-within:ring-border-focus",children:l.jsx(Xt,{children:l.jsx(Zt,{children:n.map(({value:T,label:b,...d})=>l.jsx(eo,{value:T,...d,children:b},T))})})})})]})})});try{Pe.displayName="Select",Pe.__docgenInfo={description:"",displayName:"Select",props:{id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"boolean"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:'"hidden" | "top" | "left" | "right" | null'}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!1,type:{name:"string"}},options:{defaultValue:null,description:"",name:"options",required:!0,type:{name:"SelectOption[]"}}}}}catch{}export{Pe as S}; diff --git a/assets/Select.stories-CcAJtG2s.js b/assets/Select.stories-BhGeDZCw.js similarity index 78% rename from assets/Select.stories-CcAJtG2s.js rename to assets/Select.stories-BhGeDZCw.js index 6770598e8..02d3a3a57 100644 --- a/assets/Select.stories-CcAJtG2s.js +++ b/assets/Select.stories-BhGeDZCw.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-z8MfsBtr.js";import{N as l}from"./NetworkImage-CSZhsnM7.js";import{T as t}from"./Text-DiY0ipGE.js";import{M as b}from"./Modal-CAKXAecG.js";import{S as x}from"./Select-Cu4ORgJB.js";import"./index-C9rmetsa.js";import"./index-DKHC-OhD.js";import"./clsx-B-dksMZM.js";import"./index-D1TSixAU.js";import"./classnames-Dx2cly0x.js";import"./Image-DPd_KzxQ.js";import"./proxy-DndLXkKn.js";import"./index-DEvaI7vP.js";import"./index-BWtkTp-R.js";import"./index-CuZtKiOG.js";import"./index-Dcf1nc42.js";import"./index-D2m0ySOf.js";import"./index-VR-_z_Zs.js";import"./index-DCVWRiMv.js";import"./Combination-DfJfzaFg.js";import"./index-DogTl_U1.js";import"./WarningIcon-C-Bue-nz.js";import"./IconButton-M16ADBdN.js";import"./Button-e99vAgb9.js";import"./Scroll-HNtTmBVf.js";import"./ThemeProvider-CHaDE3bZ.js";import"./color-CiP8tUik.js";import"./index-BFS5t9Ij.js";import"./index-Bac_1hpE.js";import"./index-4RitGr_c.js";import"./index-CdSWItFS.js";import"./index-CpZK5cx3.js";import"./index--wnn4zir.js";import"./Field-Dz_fFMgk.js";const Z={title:"Forms/Select",component:x},o={args:{onValueChange:a=>{console.log("selected: ",a)},name:"selectDemo",label:"Select",description:"This is a description",labelLocation:"top",placeholder:"Select an option",disabled:!1,options:[{label:"Option 1",value:"option-1"},{label:"Option 2",value:"option-2"},{label:"Option 3",value:"option-3"},{label:"Disabled Option",value:"option-4",disabled:!0},{label:"Custom Action",value:"option-5"}]}},i={args:{onValueChange:a=>{console.log("selected: ",a)},name:"selectDemo",label:"Networks",labelLocation:"top",disabled:!1,defaultValue:"mainnet",options:[{label:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(l,{chainId:1}),e.jsx(t,{children:"Mainnet"})]}),value:"mainnet"},{label:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(l,{chainId:137}),e.jsx(t,{children:"Polygon"})]}),value:"polygon"},{label:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(l,{chainId:56}),e.jsx(t,{children:"BNB Smart Chain"})]}),value:"bsc"},{label:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(l,{chainId:43114}),e.jsx(t,{children:"Avalanche"})]}),value:"avalanche"},{label:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(l,{chainId:42161}),e.jsx(t,{children:"Arbitrum"})]}),value:"arbitrum"}]}},s={tags:["!autodocs"],render:a=>e.jsx(b,{children:e.jsx("div",{className:"flex p-4 gap-2",children:e.jsx(x,{...a})})}),args:o.args};var n,r,c;o.parameters={...o.parameters,docs:{...(n=o.parameters)==null?void 0:n.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-Cf8x2fCZ.js";import{N as l}from"./NetworkImage-SJY1DR57.js";import{T as t}from"./Text-c-Dt_3pd.js";import{M as b}from"./Modal-BuzFD6wO.js";import{S as x}from"./Select-DxvlIVLn.js";import"./index-yBjzXJbu.js";import"./index-Dp3B9jqt.js";import"./clsx-B-dksMZM.js";import"./index-DubqEmGm.js";import"./classnames-Dx2cly0x.js";import"./Image-BYRrYa8a.js";import"./proxy-71i4uxHe.js";import"./index-BkTKsPvT.js";import"./index-DKEAZgBW.js";import"./index-EKtyzmkF.js";import"./index-e5epXPAg.js";import"./index-fNjTmf9T.js";import"./index-Cbw-VAaK.js";import"./index-DC1_uW73.js";import"./Combination-B30zI8Yx.js";import"./index-SbpNQzLY.js";import"./WarningIcon-Z1cZGh4-.js";import"./IconButton-tt72d-YU.js";import"./Button-CJ_2iam3.js";import"./Scroll-CD1l9_-j.js";import"./ThemeProvider-BFEsm4Z9.js";import"./color-CiP8tUik.js";import"./index-BKFtrmjf.js";import"./index-BPXglf9v.js";import"./index-Cbr3GIiu.js";import"./index-JD-fg0In.js";import"./index-CfbYICbs.js";import"./index-uUNwjQTH.js";import"./Field-BUPg2hwy.js";const Z={title:"Forms/Select",component:x},o={args:{onValueChange:a=>{console.log("selected: ",a)},name:"selectDemo",label:"Select",description:"This is a description",labelLocation:"top",placeholder:"Select an option",disabled:!1,options:[{label:"Option 1",value:"option-1"},{label:"Option 2",value:"option-2"},{label:"Option 3",value:"option-3"},{label:"Disabled Option",value:"option-4",disabled:!0},{label:"Custom Action",value:"option-5"}]}},i={args:{onValueChange:a=>{console.log("selected: ",a)},name:"selectDemo",label:"Networks",labelLocation:"top",disabled:!1,defaultValue:"mainnet",options:[{label:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(l,{chainId:1}),e.jsx(t,{children:"Mainnet"})]}),value:"mainnet"},{label:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(l,{chainId:137}),e.jsx(t,{children:"Polygon"})]}),value:"polygon"},{label:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(l,{chainId:56}),e.jsx(t,{children:"BNB Smart Chain"})]}),value:"bsc"},{label:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(l,{chainId:43114}),e.jsx(t,{children:"Avalanche"})]}),value:"avalanche"},{label:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(l,{chainId:42161}),e.jsx(t,{children:"Arbitrum"})]}),value:"arbitrum"}]}},s={tags:["!autodocs"],render:a=>e.jsx(b,{children:e.jsx("div",{className:"flex p-4 gap-2",children:e.jsx(x,{...a})})}),args:o.args};var n,r,c;o.parameters={...o.parameters,docs:{...(n=o.parameters)==null?void 0:n.docs,source:{originalSource:`{ args: { onValueChange: value => { console.log('selected: ', value); diff --git a/assets/Skeleton.stories-DGNUSgEL.js b/assets/Skeleton.stories-DGNUSgEL.js new file mode 100644 index 000000000..6c02c9a73 --- /dev/null +++ b/assets/Skeleton.stories-DGNUSgEL.js @@ -0,0 +1,10 @@ +import{j as a}from"./jsx-runtime-Cf8x2fCZ.js";import{c as s}from"./index-Dp3B9jqt.js";import{c as p}from"./classnames-Dx2cly0x.js";import{m}from"./proxy-71i4uxHe.js";import"./index-yBjzXJbu.js";import"./clsx-B-dksMZM.js";import"./index-DubqEmGm.js";const f=s(["rounded-xs","bg-gradient-skeleton","bg-[length:400%_400%]","bg-no-repeat","animate-skeleton"],{variants:{size:{sm:"w-24 h-4",normal:"w-[100px] h-5",md:"w-[124px] h-6",lg:"w-[124px] h-7",xl:"w-[148px] h-9"}}}),e=l=>{const{className:i,size:o,...d}=l;return a.jsx(m.div,{className:p(f({size:o}),i),initial:{opacity:0},animate:{opacity:1},...d})};try{e.displayName="Skeleton",e.__docgenInfo={description:"",displayName:"Skeleton",props:{color:{defaultValue:null,description:"",name:"color",required:!1,type:{name:"string"}},hidden:{defaultValue:null,description:"",name:"hidden",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"LegacyRef"}},defaultChecked:{defaultValue:null,description:"",name:"defaultChecked",required:!1,type:{name:"boolean"}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"string | number | readonly string[]"}},suppressContentEditableWarning:{defaultValue:null,description:"",name:"suppressContentEditableWarning",required:!1,type:{name:"boolean"}},suppressHydrationWarning:{defaultValue:null,description:"",name:"suppressHydrationWarning",required:!1,type:{name:"boolean"}},accessKey:{defaultValue:null,description:"",name:"accessKey",required:!1,type:{name:"string"}},autoCapitalize:{defaultValue:null,description:"",name:"autoCapitalize",required:!1,type:{name:'"off" | "none" | "on" | "sentences" | "words" | "characters" | (string & {})'}},autoFocus:{defaultValue:null,description:"",name:"autoFocus",required:!1,type:{name:"boolean"}},contentEditable:{defaultValue:null,description:"",name:"contentEditable",required:!1,type:{name:'"inherit" | Booleanish | "plaintext-only"'}},contextMenu:{defaultValue:null,description:"",name:"contextMenu",required:!1,type:{name:"string"}},dir:{defaultValue:null,description:"",name:"dir",required:!1,type:{name:"string"}},draggable:{defaultValue:null,description:"",name:"draggable",required:!1,type:{name:"Booleanish"}},enterKeyHint:{defaultValue:null,description:"",name:"enterKeyHint",required:!1,type:{name:"enum",value:[{value:'"enter"'},{value:'"done"'},{value:'"go"'},{value:'"next"'},{value:'"previous"'},{value:'"search"'},{value:'"send"'}]}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},lang:{defaultValue:null,description:"",name:"lang",required:!1,type:{name:"string"}},nonce:{defaultValue:null,description:"",name:"nonce",required:!1,type:{name:"string"}},slot:{defaultValue:null,description:"",name:"slot",required:!1,type:{name:"string"}},spellCheck:{defaultValue:null,description:"",name:"spellCheck",required:!1,type:{name:"Booleanish"}},tabIndex:{defaultValue:null,description:"",name:"tabIndex",required:!1,type:{name:"number"}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},translate:{defaultValue:null,description:"",name:"translate",required:!1,type:{name:"enum",value:[{value:'"yes"'},{value:'"no"'}]}},radioGroup:{defaultValue:null,description:"",name:"radioGroup",required:!1,type:{name:"string"}},role:{defaultValue:null,description:"",name:"role",required:!1,type:{name:"AriaRole"}},about:{defaultValue:null,description:"",name:"about",required:!1,type:{name:"string"}},content:{defaultValue:null,description:"",name:"content",required:!1,type:{name:"string"}},datatype:{defaultValue:null,description:"",name:"datatype",required:!1,type:{name:"string"}},inlist:{defaultValue:null,description:"",name:"inlist",required:!1,type:{name:"any"}},prefix:{defaultValue:null,description:"",name:"prefix",required:!1,type:{name:"string"}},property:{defaultValue:null,description:"",name:"property",required:!1,type:{name:"string"}},rel:{defaultValue:null,description:"",name:"rel",required:!1,type:{name:"string"}},resource:{defaultValue:null,description:"",name:"resource",required:!1,type:{name:"string"}},rev:{defaultValue:null,description:"",name:"rev",required:!1,type:{name:"string"}},typeof:{defaultValue:null,description:"",name:"typeof",required:!1,type:{name:"string"}},vocab:{defaultValue:null,description:"",name:"vocab",required:!1,type:{name:"string"}},autoCorrect:{defaultValue:null,description:"",name:"autoCorrect",required:!1,type:{name:"string"}},autoSave:{defaultValue:null,description:"",name:"autoSave",required:!1,type:{name:"string"}},itemProp:{defaultValue:null,description:"",name:"itemProp",required:!1,type:{name:"string"}},itemScope:{defaultValue:null,description:"",name:"itemScope",required:!1,type:{name:"boolean"}},itemType:{defaultValue:null,description:"",name:"itemType",required:!1,type:{name:"string"}},itemID:{defaultValue:null,description:"",name:"itemID",required:!1,type:{name:"string"}},itemRef:{defaultValue:null,description:"",name:"itemRef",required:!1,type:{name:"string"}},results:{defaultValue:null,description:"",name:"results",required:!1,type:{name:"number"}},security:{defaultValue:null,description:"",name:"security",required:!1,type:{name:"string"}},unselectable:{defaultValue:null,description:"",name:"unselectable",required:!1,type:{name:"enum",value:[{value:'"off"'},{value:'"on"'}]}},inputMode:{defaultValue:null,description:"",name:"inputMode",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"search"'},{value:'"text"'},{value:'"tel"'},{value:'"url"'},{value:'"email"'},{value:'"numeric"'},{value:'"decimal"'}]}},is:{defaultValue:null,description:"",name:"is",required:!1,type:{name:"string"}},"aria-activedescendant":{defaultValue:null,description:"",name:"aria-activedescendant",required:!1,type:{name:"string"}},"aria-atomic":{defaultValue:null,description:"",name:"aria-atomic",required:!1,type:{name:"Booleanish"}},"aria-autocomplete":{defaultValue:null,description:"",name:"aria-autocomplete",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"list"'},{value:'"inline"'},{value:'"both"'}]}},"aria-braillelabel":{defaultValue:null,description:"",name:"aria-braillelabel",required:!1,type:{name:"string"}},"aria-brailleroledescription":{defaultValue:null,description:"",name:"aria-brailleroledescription",required:!1,type:{name:"string"}},"aria-busy":{defaultValue:null,description:"",name:"aria-busy",required:!1,type:{name:"Booleanish"}},"aria-checked":{defaultValue:null,description:"",name:"aria-checked",required:!1,type:{name:'boolean | "true" | "false" | "mixed"'}},"aria-colcount":{defaultValue:null,description:"",name:"aria-colcount",required:!1,type:{name:"number"}},"aria-colindex":{defaultValue:null,description:"",name:"aria-colindex",required:!1,type:{name:"number"}},"aria-colindextext":{defaultValue:null,description:"",name:"aria-colindextext",required:!1,type:{name:"string"}},"aria-colspan":{defaultValue:null,description:"",name:"aria-colspan",required:!1,type:{name:"number"}},"aria-controls":{defaultValue:null,description:"",name:"aria-controls",required:!1,type:{name:"string"}},"aria-current":{defaultValue:null,description:"",name:"aria-current",required:!1,type:{name:'boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time"'}},"aria-describedby":{defaultValue:null,description:"",name:"aria-describedby",required:!1,type:{name:"string"}},"aria-description":{defaultValue:null,description:"",name:"aria-description",required:!1,type:{name:"string"}},"aria-details":{defaultValue:null,description:"",name:"aria-details",required:!1,type:{name:"string"}},"aria-disabled":{defaultValue:null,description:"",name:"aria-disabled",required:!1,type:{name:"Booleanish"}},"aria-dropeffect":{defaultValue:null,description:"",name:"aria-dropeffect",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"link"'},{value:'"copy"'},{value:'"execute"'},{value:'"move"'},{value:'"popup"'}]}},"aria-errormessage":{defaultValue:null,description:"",name:"aria-errormessage",required:!1,type:{name:"string"}},"aria-expanded":{defaultValue:null,description:"",name:"aria-expanded",required:!1,type:{name:"Booleanish"}},"aria-flowto":{defaultValue:null,description:"",name:"aria-flowto",required:!1,type:{name:"string"}},"aria-grabbed":{defaultValue:null,description:"",name:"aria-grabbed",required:!1,type:{name:"Booleanish"}},"aria-haspopup":{defaultValue:null,description:"",name:"aria-haspopup",required:!1,type:{name:'boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree"'}},"aria-hidden":{defaultValue:null,description:"",name:"aria-hidden",required:!1,type:{name:"Booleanish"}},"aria-invalid":{defaultValue:null,description:"",name:"aria-invalid",required:!1,type:{name:'boolean | "true" | "false" | "grammar" | "spelling"'}},"aria-keyshortcuts":{defaultValue:null,description:"",name:"aria-keyshortcuts",required:!1,type:{name:"string"}},"aria-label":{defaultValue:null,description:"",name:"aria-label",required:!1,type:{name:"string"}},"aria-labelledby":{defaultValue:null,description:"",name:"aria-labelledby",required:!1,type:{name:"string"}},"aria-level":{defaultValue:null,description:"",name:"aria-level",required:!1,type:{name:"number"}},"aria-live":{defaultValue:null,description:"",name:"aria-live",required:!1,type:{name:"enum",value:[{value:'"off"'},{value:'"assertive"'},{value:'"polite"'}]}},"aria-modal":{defaultValue:null,description:"",name:"aria-modal",required:!1,type:{name:"Booleanish"}},"aria-multiline":{defaultValue:null,description:"",name:"aria-multiline",required:!1,type:{name:"Booleanish"}},"aria-multiselectable":{defaultValue:null,description:"",name:"aria-multiselectable",required:!1,type:{name:"Booleanish"}},"aria-orientation":{defaultValue:null,description:"",name:"aria-orientation",required:!1,type:{name:"enum",value:[{value:'"horizontal"'},{value:'"vertical"'}]}},"aria-owns":{defaultValue:null,description:"",name:"aria-owns",required:!1,type:{name:"string"}},"aria-placeholder":{defaultValue:null,description:"",name:"aria-placeholder",required:!1,type:{name:"string"}},"aria-posinset":{defaultValue:null,description:"",name:"aria-posinset",required:!1,type:{name:"number"}},"aria-pressed":{defaultValue:null,description:"",name:"aria-pressed",required:!1,type:{name:'boolean | "true" | "false" | "mixed"'}},"aria-readonly":{defaultValue:null,description:"",name:"aria-readonly",required:!1,type:{name:"Booleanish"}},"aria-relevant":{defaultValue:null,description:"",name:"aria-relevant",required:!1,type:{name:"enum",value:[{value:'"text"'},{value:'"additions"'},{value:'"additions removals"'},{value:'"additions text"'},{value:'"all"'},{value:'"removals"'},{value:'"removals additions"'},{value:'"removals text"'},{value:'"text additions"'},{value:'"text removals"'}]}},"aria-required":{defaultValue:null,description:"",name:"aria-required",required:!1,type:{name:"Booleanish"}},"aria-roledescription":{defaultValue:null,description:"",name:"aria-roledescription",required:!1,type:{name:"string"}},"aria-rowcount":{defaultValue:null,description:"",name:"aria-rowcount",required:!1,type:{name:"number"}},"aria-rowindex":{defaultValue:null,description:"",name:"aria-rowindex",required:!1,type:{name:"number"}},"aria-rowindextext":{defaultValue:null,description:"",name:"aria-rowindextext",required:!1,type:{name:"string"}},"aria-rowspan":{defaultValue:null,description:"",name:"aria-rowspan",required:!1,type:{name:"number"}},"aria-selected":{defaultValue:null,description:"",name:"aria-selected",required:!1,type:{name:"Booleanish"}},"aria-setsize":{defaultValue:null,description:"",name:"aria-setsize",required:!1,type:{name:"number"}},"aria-sort":{defaultValue:null,description:"",name:"aria-sort",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"ascending"'},{value:'"descending"'},{value:'"other"'}]}},"aria-valuemax":{defaultValue:null,description:"",name:"aria-valuemax",required:!1,type:{name:"number"}},"aria-valuemin":{defaultValue:null,description:"",name:"aria-valuemin",required:!1,type:{name:"number"}},"aria-valuenow":{defaultValue:null,description:"",name:"aria-valuenow",required:!1,type:{name:"number"}},"aria-valuetext":{defaultValue:null,description:"",name:"aria-valuetext",required:!1,type:{name:"string"}},dangerouslySetInnerHTML:{defaultValue:null,description:"",name:"dangerouslySetInnerHTML",required:!1,type:{name:"{ __html: string | TrustedHTML; }"}},onCopy:{defaultValue:null,description:"",name:"onCopy",required:!1,type:{name:"ClipboardEventHandler"}},onCopyCapture:{defaultValue:null,description:"",name:"onCopyCapture",required:!1,type:{name:"ClipboardEventHandler"}},onCut:{defaultValue:null,description:"",name:"onCut",required:!1,type:{name:"ClipboardEventHandler"}},onCutCapture:{defaultValue:null,description:"",name:"onCutCapture",required:!1,type:{name:"ClipboardEventHandler"}},onPaste:{defaultValue:null,description:"",name:"onPaste",required:!1,type:{name:"ClipboardEventHandler"}},onPasteCapture:{defaultValue:null,description:"",name:"onPasteCapture",required:!1,type:{name:"ClipboardEventHandler"}},onCompositionEnd:{defaultValue:null,description:"",name:"onCompositionEnd",required:!1,type:{name:"CompositionEventHandler"}},onCompositionEndCapture:{defaultValue:null,description:"",name:"onCompositionEndCapture",required:!1,type:{name:"CompositionEventHandler"}},onCompositionStart:{defaultValue:null,description:"",name:"onCompositionStart",required:!1,type:{name:"CompositionEventHandler"}},onCompositionStartCapture:{defaultValue:null,description:"",name:"onCompositionStartCapture",required:!1,type:{name:"CompositionEventHandler"}},onCompositionUpdate:{defaultValue:null,description:"",name:"onCompositionUpdate",required:!1,type:{name:"CompositionEventHandler"}},onCompositionUpdateCapture:{defaultValue:null,description:"",name:"onCompositionUpdateCapture",required:!1,type:{name:"CompositionEventHandler"}},onFocus:{defaultValue:null,description:"",name:"onFocus",required:!1,type:{name:"FocusEventHandler"}},onFocusCapture:{defaultValue:null,description:"",name:"onFocusCapture",required:!1,type:{name:"FocusEventHandler"}},onBlur:{defaultValue:null,description:"",name:"onBlur",required:!1,type:{name:"FocusEventHandler"}},onBlurCapture:{defaultValue:null,description:"",name:"onBlurCapture",required:!1,type:{name:"FocusEventHandler"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"FormEventHandler"}},onChangeCapture:{defaultValue:null,description:"",name:"onChangeCapture",required:!1,type:{name:"FormEventHandler"}},onBeforeInput:{defaultValue:null,description:"",name:"onBeforeInput",required:!1,type:{name:"FormEventHandler"}},onBeforeInputCapture:{defaultValue:null,description:"",name:"onBeforeInputCapture",required:!1,type:{name:"FormEventHandler"}},onInput:{defaultValue:null,description:"",name:"onInput",required:!1,type:{name:"FormEventHandler"}},onInputCapture:{defaultValue:null,description:"",name:"onInputCapture",required:!1,type:{name:"FormEventHandler"}},onReset:{defaultValue:null,description:"",name:"onReset",required:!1,type:{name:"FormEventHandler"}},onResetCapture:{defaultValue:null,description:"",name:"onResetCapture",required:!1,type:{name:"FormEventHandler"}},onSubmit:{defaultValue:null,description:"",name:"onSubmit",required:!1,type:{name:"FormEventHandler"}},onSubmitCapture:{defaultValue:null,description:"",name:"onSubmitCapture",required:!1,type:{name:"FormEventHandler"}},onInvalid:{defaultValue:null,description:"",name:"onInvalid",required:!1,type:{name:"FormEventHandler"}},onInvalidCapture:{defaultValue:null,description:"",name:"onInvalidCapture",required:!1,type:{name:"FormEventHandler"}},onLoad:{defaultValue:null,description:"",name:"onLoad",required:!1,type:{name:"ReactEventHandler"}},onLoadCapture:{defaultValue:null,description:"",name:"onLoadCapture",required:!1,type:{name:"ReactEventHandler"}},onError:{defaultValue:null,description:"",name:"onError",required:!1,type:{name:"ReactEventHandler"}},onErrorCapture:{defaultValue:null,description:"",name:"onErrorCapture",required:!1,type:{name:"ReactEventHandler"}},onKeyDown:{defaultValue:null,description:"",name:"onKeyDown",required:!1,type:{name:"KeyboardEventHandler"}},onKeyDownCapture:{defaultValue:null,description:"",name:"onKeyDownCapture",required:!1,type:{name:"KeyboardEventHandler"}},onKeyPress:{defaultValue:null,description:"",name:"onKeyPress",required:!1,type:{name:"KeyboardEventHandler"}},onKeyPressCapture:{defaultValue:null,description:"",name:"onKeyPressCapture",required:!1,type:{name:"KeyboardEventHandler"}},onKeyUp:{defaultValue:null,description:"",name:"onKeyUp",required:!1,type:{name:"KeyboardEventHandler"}},onKeyUpCapture:{defaultValue:null,description:"",name:"onKeyUpCapture",required:!1,type:{name:"KeyboardEventHandler"}},onAbort:{defaultValue:null,description:"",name:"onAbort",required:!1,type:{name:"ReactEventHandler"}},onAbortCapture:{defaultValue:null,description:"",name:"onAbortCapture",required:!1,type:{name:"ReactEventHandler"}},onCanPlay:{defaultValue:null,description:"",name:"onCanPlay",required:!1,type:{name:"ReactEventHandler"}},onCanPlayCapture:{defaultValue:null,description:"",name:"onCanPlayCapture",required:!1,type:{name:"ReactEventHandler"}},onCanPlayThrough:{defaultValue:null,description:"",name:"onCanPlayThrough",required:!1,type:{name:"ReactEventHandler"}},onCanPlayThroughCapture:{defaultValue:null,description:"",name:"onCanPlayThroughCapture",required:!1,type:{name:"ReactEventHandler"}},onDurationChange:{defaultValue:null,description:"",name:"onDurationChange",required:!1,type:{name:"ReactEventHandler"}},onDurationChangeCapture:{defaultValue:null,description:"",name:"onDurationChangeCapture",required:!1,type:{name:"ReactEventHandler"}},onEmptied:{defaultValue:null,description:"",name:"onEmptied",required:!1,type:{name:"ReactEventHandler"}},onEmptiedCapture:{defaultValue:null,description:"",name:"onEmptiedCapture",required:!1,type:{name:"ReactEventHandler"}},onEncrypted:{defaultValue:null,description:"",name:"onEncrypted",required:!1,type:{name:"ReactEventHandler"}},onEncryptedCapture:{defaultValue:null,description:"",name:"onEncryptedCapture",required:!1,type:{name:"ReactEventHandler"}},onEnded:{defaultValue:null,description:"",name:"onEnded",required:!1,type:{name:"ReactEventHandler"}},onEndedCapture:{defaultValue:null,description:"",name:"onEndedCapture",required:!1,type:{name:"ReactEventHandler"}},onLoadedData:{defaultValue:null,description:"",name:"onLoadedData",required:!1,type:{name:"ReactEventHandler"}},onLoadedDataCapture:{defaultValue:null,description:"",name:"onLoadedDataCapture",required:!1,type:{name:"ReactEventHandler"}},onLoadedMetadata:{defaultValue:null,description:"",name:"onLoadedMetadata",required:!1,type:{name:"ReactEventHandler"}},onLoadedMetadataCapture:{defaultValue:null,description:"",name:"onLoadedMetadataCapture",required:!1,type:{name:"ReactEventHandler"}},onLoadStart:{defaultValue:null,description:"",name:"onLoadStart",required:!1,type:{name:"ReactEventHandler"}},onLoadStartCapture:{defaultValue:null,description:"",name:"onLoadStartCapture",required:!1,type:{name:"ReactEventHandler"}},onPause:{defaultValue:null,description:"",name:"onPause",required:!1,type:{name:"ReactEventHandler"}},onPauseCapture:{defaultValue:null,description:"",name:"onPauseCapture",required:!1,type:{name:"ReactEventHandler"}},onPlay:{defaultValue:null,description:"",name:"onPlay",required:!1,type:{name:"ReactEventHandler"}},onPlayCapture:{defaultValue:null,description:"",name:"onPlayCapture",required:!1,type:{name:"ReactEventHandler"}},onPlaying:{defaultValue:null,description:"",name:"onPlaying",required:!1,type:{name:"ReactEventHandler"}},onPlayingCapture:{defaultValue:null,description:"",name:"onPlayingCapture",required:!1,type:{name:"ReactEventHandler"}},onProgress:{defaultValue:null,description:"",name:"onProgress",required:!1,type:{name:"ReactEventHandler"}},onProgressCapture:{defaultValue:null,description:"",name:"onProgressCapture",required:!1,type:{name:"ReactEventHandler"}},onRateChange:{defaultValue:null,description:"",name:"onRateChange",required:!1,type:{name:"ReactEventHandler"}},onRateChangeCapture:{defaultValue:null,description:"",name:"onRateChangeCapture",required:!1,type:{name:"ReactEventHandler"}},onResize:{defaultValue:null,description:"",name:"onResize",required:!1,type:{name:"ReactEventHandler"}},onResizeCapture:{defaultValue:null,description:"",name:"onResizeCapture",required:!1,type:{name:"ReactEventHandler"}},onSeeked:{defaultValue:null,description:"",name:"onSeeked",required:!1,type:{name:"ReactEventHandler"}},onSeekedCapture:{defaultValue:null,description:"",name:"onSeekedCapture",required:!1,type:{name:"ReactEventHandler"}},onSeeking:{defaultValue:null,description:"",name:"onSeeking",required:!1,type:{name:"ReactEventHandler"}},onSeekingCapture:{defaultValue:null,description:"",name:"onSeekingCapture",required:!1,type:{name:"ReactEventHandler"}},onStalled:{defaultValue:null,description:"",name:"onStalled",required:!1,type:{name:"ReactEventHandler"}},onStalledCapture:{defaultValue:null,description:"",name:"onStalledCapture",required:!1,type:{name:"ReactEventHandler"}},onSuspend:{defaultValue:null,description:"",name:"onSuspend",required:!1,type:{name:"ReactEventHandler"}},onSuspendCapture:{defaultValue:null,description:"",name:"onSuspendCapture",required:!1,type:{name:"ReactEventHandler"}},onTimeUpdate:{defaultValue:null,description:"",name:"onTimeUpdate",required:!1,type:{name:"ReactEventHandler"}},onTimeUpdateCapture:{defaultValue:null,description:"",name:"onTimeUpdateCapture",required:!1,type:{name:"ReactEventHandler"}},onVolumeChange:{defaultValue:null,description:"",name:"onVolumeChange",required:!1,type:{name:"ReactEventHandler"}},onVolumeChangeCapture:{defaultValue:null,description:"",name:"onVolumeChangeCapture",required:!1,type:{name:"ReactEventHandler"}},onWaiting:{defaultValue:null,description:"",name:"onWaiting",required:!1,type:{name:"ReactEventHandler"}},onWaitingCapture:{defaultValue:null,description:"",name:"onWaitingCapture",required:!1,type:{name:"ReactEventHandler"}},onAuxClick:{defaultValue:null,description:"",name:"onAuxClick",required:!1,type:{name:"MouseEventHandler"}},onAuxClickCapture:{defaultValue:null,description:"",name:"onAuxClickCapture",required:!1,type:{name:"MouseEventHandler"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"MouseEventHandler"}},onClickCapture:{defaultValue:null,description:"",name:"onClickCapture",required:!1,type:{name:"MouseEventHandler"}},onContextMenu:{defaultValue:null,description:"",name:"onContextMenu",required:!1,type:{name:"MouseEventHandler"}},onContextMenuCapture:{defaultValue:null,description:"",name:"onContextMenuCapture",required:!1,type:{name:"MouseEventHandler"}},onDoubleClick:{defaultValue:null,description:"",name:"onDoubleClick",required:!1,type:{name:"MouseEventHandler"}},onDoubleClickCapture:{defaultValue:null,description:"",name:"onDoubleClickCapture",required:!1,type:{name:"MouseEventHandler"}},onDragCapture:{defaultValue:null,description:"",name:"onDragCapture",required:!1,type:{name:"DragEventHandler"}},onDragEndCapture:{defaultValue:null,description:"",name:"onDragEndCapture",required:!1,type:{name:"DragEventHandler"}},onDragEnter:{defaultValue:null,description:"",name:"onDragEnter",required:!1,type:{name:"DragEventHandler"}},onDragEnterCapture:{defaultValue:null,description:"",name:"onDragEnterCapture",required:!1,type:{name:"DragEventHandler"}},onDragExit:{defaultValue:null,description:"",name:"onDragExit",required:!1,type:{name:"DragEventHandler"}},onDragExitCapture:{defaultValue:null,description:"",name:"onDragExitCapture",required:!1,type:{name:"DragEventHandler"}},onDragLeave:{defaultValue:null,description:"",name:"onDragLeave",required:!1,type:{name:"DragEventHandler"}},onDragLeaveCapture:{defaultValue:null,description:"",name:"onDragLeaveCapture",required:!1,type:{name:"DragEventHandler"}},onDragOver:{defaultValue:null,description:"",name:"onDragOver",required:!1,type:{name:"DragEventHandler"}},onDragOverCapture:{defaultValue:null,description:"",name:"onDragOverCapture",required:!1,type:{name:"DragEventHandler"}},onDragStartCapture:{defaultValue:null,description:"",name:"onDragStartCapture",required:!1,type:{name:"DragEventHandler"}},onDrop:{defaultValue:null,description:"",name:"onDrop",required:!1,type:{name:"DragEventHandler"}},onDropCapture:{defaultValue:null,description:"",name:"onDropCapture",required:!1,type:{name:"DragEventHandler"}},onMouseDown:{defaultValue:null,description:"",name:"onMouseDown",required:!1,type:{name:"MouseEventHandler"}},onMouseDownCapture:{defaultValue:null,description:"",name:"onMouseDownCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseEnter:{defaultValue:null,description:"",name:"onMouseEnter",required:!1,type:{name:"MouseEventHandler"}},onMouseLeave:{defaultValue:null,description:"",name:"onMouseLeave",required:!1,type:{name:"MouseEventHandler"}},onMouseMove:{defaultValue:null,description:"",name:"onMouseMove",required:!1,type:{name:"MouseEventHandler"}},onMouseMoveCapture:{defaultValue:null,description:"",name:"onMouseMoveCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseOut:{defaultValue:null,description:"",name:"onMouseOut",required:!1,type:{name:"MouseEventHandler"}},onMouseOutCapture:{defaultValue:null,description:"",name:"onMouseOutCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseOver:{defaultValue:null,description:"",name:"onMouseOver",required:!1,type:{name:"MouseEventHandler"}},onMouseOverCapture:{defaultValue:null,description:"",name:"onMouseOverCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseUp:{defaultValue:null,description:"",name:"onMouseUp",required:!1,type:{name:"MouseEventHandler"}},onMouseUpCapture:{defaultValue:null,description:"",name:"onMouseUpCapture",required:!1,type:{name:"MouseEventHandler"}},onSelect:{defaultValue:null,description:"",name:"onSelect",required:!1,type:{name:"ReactEventHandler"}},onSelectCapture:{defaultValue:null,description:"",name:"onSelectCapture",required:!1,type:{name:"ReactEventHandler"}},onTouchCancel:{defaultValue:null,description:"",name:"onTouchCancel",required:!1,type:{name:"TouchEventHandler"}},onTouchCancelCapture:{defaultValue:null,description:"",name:"onTouchCancelCapture",required:!1,type:{name:"TouchEventHandler"}},onTouchEnd:{defaultValue:null,description:"",name:"onTouchEnd",required:!1,type:{name:"TouchEventHandler"}},onTouchEndCapture:{defaultValue:null,description:"",name:"onTouchEndCapture",required:!1,type:{name:"TouchEventHandler"}},onTouchMove:{defaultValue:null,description:"",name:"onTouchMove",required:!1,type:{name:"TouchEventHandler"}},onTouchMoveCapture:{defaultValue:null,description:"",name:"onTouchMoveCapture",required:!1,type:{name:"TouchEventHandler"}},onTouchStart:{defaultValue:null,description:"",name:"onTouchStart",required:!1,type:{name:"TouchEventHandler"}},onTouchStartCapture:{defaultValue:null,description:"",name:"onTouchStartCapture",required:!1,type:{name:"TouchEventHandler"}},onPointerDown:{defaultValue:null,description:"",name:"onPointerDown",required:!1,type:{name:"PointerEventHandler"}},onPointerDownCapture:{defaultValue:null,description:"",name:"onPointerDownCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerMove:{defaultValue:null,description:"",name:"onPointerMove",required:!1,type:{name:"PointerEventHandler"}},onPointerMoveCapture:{defaultValue:null,description:"",name:"onPointerMoveCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerUp:{defaultValue:null,description:"",name:"onPointerUp",required:!1,type:{name:"PointerEventHandler"}},onPointerUpCapture:{defaultValue:null,description:"",name:"onPointerUpCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerCancel:{defaultValue:null,description:"",name:"onPointerCancel",required:!1,type:{name:"PointerEventHandler"}},onPointerCancelCapture:{defaultValue:null,description:"",name:"onPointerCancelCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerEnter:{defaultValue:null,description:"",name:"onPointerEnter",required:!1,type:{name:"PointerEventHandler"}},onPointerLeave:{defaultValue:null,description:"",name:"onPointerLeave",required:!1,type:{name:"PointerEventHandler"}},onPointerOver:{defaultValue:null,description:"",name:"onPointerOver",required:!1,type:{name:"PointerEventHandler"}},onPointerOverCapture:{defaultValue:null,description:"",name:"onPointerOverCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerOut:{defaultValue:null,description:"",name:"onPointerOut",required:!1,type:{name:"PointerEventHandler"}},onPointerOutCapture:{defaultValue:null,description:"",name:"onPointerOutCapture",required:!1,type:{name:"PointerEventHandler"}},onGotPointerCapture:{defaultValue:null,description:"",name:"onGotPointerCapture",required:!1,type:{name:"PointerEventHandler"}},onGotPointerCaptureCapture:{defaultValue:null,description:"",name:"onGotPointerCaptureCapture",required:!1,type:{name:"PointerEventHandler"}},onLostPointerCapture:{defaultValue:null,description:"",name:"onLostPointerCapture",required:!1,type:{name:"PointerEventHandler"}},onLostPointerCaptureCapture:{defaultValue:null,description:"",name:"onLostPointerCaptureCapture",required:!1,type:{name:"PointerEventHandler"}},onScroll:{defaultValue:null,description:"",name:"onScroll",required:!1,type:{name:"UIEventHandler"}},onScrollCapture:{defaultValue:null,description:"",name:"onScrollCapture",required:!1,type:{name:"UIEventHandler"}},onWheel:{defaultValue:null,description:"",name:"onWheel",required:!1,type:{name:"WheelEventHandler"}},onWheelCapture:{defaultValue:null,description:"",name:"onWheelCapture",required:!1,type:{name:"WheelEventHandler"}},onAnimationStartCapture:{defaultValue:null,description:"",name:"onAnimationStartCapture",required:!1,type:{name:"AnimationEventHandler"}},onAnimationEnd:{defaultValue:null,description:"",name:"onAnimationEnd",required:!1,type:{name:"AnimationEventHandler"}},onAnimationEndCapture:{defaultValue:null,description:"",name:"onAnimationEndCapture",required:!1,type:{name:"AnimationEventHandler"}},onAnimationIteration:{defaultValue:null,description:"",name:"onAnimationIteration",required:!1,type:{name:"AnimationEventHandler"}},onAnimationIterationCapture:{defaultValue:null,description:"",name:"onAnimationIterationCapture",required:!1,type:{name:"AnimationEventHandler"}},onTransitionEnd:{defaultValue:null,description:"",name:"onTransitionEnd",required:!1,type:{name:"TransitionEventHandler"}},onTransitionEndCapture:{defaultValue:null,description:"",name:"onTransitionEndCapture",required:!1,type:{name:"TransitionEventHandler"}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"Key | null"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"sm" | "normal" | "md" | "lg" | "xl" | null'}}}}}catch{}const C={title:"Components/Skeleton",component:e},n={render:()=>a.jsxs(e,{className:"flex gap-2 p-2 w-[240px]",children:[a.jsx(e,{className:"w-[72px] h-[72px]"}),a.jsxs("div",{className:"flex flex-col gap-2",children:[a.jsx(e,{size:"md"}),a.jsx(e,{size:"sm"}),a.jsx(e,{size:"sm"})]})]})};var t,r,u;n.parameters={...n.parameters,docs:{...(t=n.parameters)==null?void 0:t.docs,source:{originalSource:`{ + render: () => + +
+ + + +
+
+}`,...(u=(r=n.parameters)==null?void 0:r.docs)==null?void 0:u.source}}};const M=["Default"];export{n as Default,M as __namedExportsOrder,C as default}; diff --git a/assets/Skeleton.stories-DHaPRsWj.js b/assets/Skeleton.stories-DHaPRsWj.js deleted file mode 100644 index 01f1ba7ce..000000000 --- a/assets/Skeleton.stories-DHaPRsWj.js +++ /dev/null @@ -1,10 +0,0 @@ -import{j as a}from"./jsx-runtime-z8MfsBtr.js";import{c as s}from"./index-DKHC-OhD.js";import{c as p}from"./classnames-Dx2cly0x.js";import{m}from"./proxy-DndLXkKn.js";import"./index-C9rmetsa.js";import"./clsx-B-dksMZM.js";import"./index-D1TSixAU.js";const f=s(["rounded-xs","bg-gradient-skeleton","bg-[length:400%_400%]","bg-no-repeat","animate-skeleton"],{variants:{size:{sm:"w-24 h-4",normal:"w-[100px] h-5",md:"w-[124px] h-6",lg:"w-[124px] h-7",xl:"w-[148px] h-9"}}}),e=l=>{const{className:i,size:o,...d}=l;return a.jsx(m.div,{className:p(f({size:o}),i),initial:{opacity:0},animate:{opacity:1},...d})};try{e.displayName="Skeleton",e.__docgenInfo={description:"",displayName:"Skeleton",props:{color:{defaultValue:null,description:"",name:"color",required:!1,type:{name:"string"}},hidden:{defaultValue:null,description:"",name:"hidden",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"LegacyRef"}},slot:{defaultValue:null,description:"",name:"slot",required:!1,type:{name:"string"}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"Key | null"}},defaultChecked:{defaultValue:null,description:"",name:"defaultChecked",required:!1,type:{name:"boolean"}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"string | number | readonly string[]"}},suppressContentEditableWarning:{defaultValue:null,description:"",name:"suppressContentEditableWarning",required:!1,type:{name:"boolean"}},suppressHydrationWarning:{defaultValue:null,description:"",name:"suppressHydrationWarning",required:!1,type:{name:"boolean"}},accessKey:{defaultValue:null,description:"",name:"accessKey",required:!1,type:{name:"string"}},autoCapitalize:{defaultValue:null,description:"",name:"autoCapitalize",required:!1,type:{name:'"off" | "none" | "on" | "sentences" | "words" | "characters" | (string & {})'}},autoFocus:{defaultValue:null,description:"",name:"autoFocus",required:!1,type:{name:"boolean"}},contentEditable:{defaultValue:null,description:"",name:"contentEditable",required:!1,type:{name:'Booleanish | "inherit" | "plaintext-only"'}},contextMenu:{defaultValue:null,description:"",name:"contextMenu",required:!1,type:{name:"string"}},dir:{defaultValue:null,description:"",name:"dir",required:!1,type:{name:"string"}},draggable:{defaultValue:null,description:"",name:"draggable",required:!1,type:{name:"Booleanish"}},enterKeyHint:{defaultValue:null,description:"",name:"enterKeyHint",required:!1,type:{name:"enum",value:[{value:'"enter"'},{value:'"done"'},{value:'"go"'},{value:'"next"'},{value:'"previous"'},{value:'"search"'},{value:'"send"'}]}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},lang:{defaultValue:null,description:"",name:"lang",required:!1,type:{name:"string"}},nonce:{defaultValue:null,description:"",name:"nonce",required:!1,type:{name:"string"}},spellCheck:{defaultValue:null,description:"",name:"spellCheck",required:!1,type:{name:"Booleanish"}},tabIndex:{defaultValue:null,description:"",name:"tabIndex",required:!1,type:{name:"number"}},translate:{defaultValue:null,description:"",name:"translate",required:!1,type:{name:"enum",value:[{value:'"yes"'},{value:'"no"'}]}},radioGroup:{defaultValue:null,description:"",name:"radioGroup",required:!1,type:{name:"string"}},role:{defaultValue:null,description:"",name:"role",required:!1,type:{name:"AriaRole"}},about:{defaultValue:null,description:"",name:"about",required:!1,type:{name:"string"}},content:{defaultValue:null,description:"",name:"content",required:!1,type:{name:"string"}},datatype:{defaultValue:null,description:"",name:"datatype",required:!1,type:{name:"string"}},inlist:{defaultValue:null,description:"",name:"inlist",required:!1,type:{name:"any"}},prefix:{defaultValue:null,description:"",name:"prefix",required:!1,type:{name:"string"}},property:{defaultValue:null,description:"",name:"property",required:!1,type:{name:"string"}},rel:{defaultValue:null,description:"",name:"rel",required:!1,type:{name:"string"}},resource:{defaultValue:null,description:"",name:"resource",required:!1,type:{name:"string"}},rev:{defaultValue:null,description:"",name:"rev",required:!1,type:{name:"string"}},typeof:{defaultValue:null,description:"",name:"typeof",required:!1,type:{name:"string"}},vocab:{defaultValue:null,description:"",name:"vocab",required:!1,type:{name:"string"}},autoCorrect:{defaultValue:null,description:"",name:"autoCorrect",required:!1,type:{name:"string"}},autoSave:{defaultValue:null,description:"",name:"autoSave",required:!1,type:{name:"string"}},itemProp:{defaultValue:null,description:"",name:"itemProp",required:!1,type:{name:"string"}},itemScope:{defaultValue:null,description:"",name:"itemScope",required:!1,type:{name:"boolean"}},itemType:{defaultValue:null,description:"",name:"itemType",required:!1,type:{name:"string"}},itemID:{defaultValue:null,description:"",name:"itemID",required:!1,type:{name:"string"}},itemRef:{defaultValue:null,description:"",name:"itemRef",required:!1,type:{name:"string"}},results:{defaultValue:null,description:"",name:"results",required:!1,type:{name:"number"}},security:{defaultValue:null,description:"",name:"security",required:!1,type:{name:"string"}},unselectable:{defaultValue:null,description:"",name:"unselectable",required:!1,type:{name:"enum",value:[{value:'"off"'},{value:'"on"'}]}},inputMode:{defaultValue:null,description:"",name:"inputMode",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"search"'},{value:'"text"'},{value:'"tel"'},{value:'"url"'},{value:'"email"'},{value:'"numeric"'},{value:'"decimal"'}]}},is:{defaultValue:null,description:"",name:"is",required:!1,type:{name:"string"}},"aria-activedescendant":{defaultValue:null,description:"",name:"aria-activedescendant",required:!1,type:{name:"string"}},"aria-atomic":{defaultValue:null,description:"",name:"aria-atomic",required:!1,type:{name:"Booleanish"}},"aria-autocomplete":{defaultValue:null,description:"",name:"aria-autocomplete",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"list"'},{value:'"inline"'},{value:'"both"'}]}},"aria-braillelabel":{defaultValue:null,description:"",name:"aria-braillelabel",required:!1,type:{name:"string"}},"aria-brailleroledescription":{defaultValue:null,description:"",name:"aria-brailleroledescription",required:!1,type:{name:"string"}},"aria-busy":{defaultValue:null,description:"",name:"aria-busy",required:!1,type:{name:"Booleanish"}},"aria-checked":{defaultValue:null,description:"",name:"aria-checked",required:!1,type:{name:'boolean | "true" | "false" | "mixed"'}},"aria-colcount":{defaultValue:null,description:"",name:"aria-colcount",required:!1,type:{name:"number"}},"aria-colindex":{defaultValue:null,description:"",name:"aria-colindex",required:!1,type:{name:"number"}},"aria-colindextext":{defaultValue:null,description:"",name:"aria-colindextext",required:!1,type:{name:"string"}},"aria-colspan":{defaultValue:null,description:"",name:"aria-colspan",required:!1,type:{name:"number"}},"aria-controls":{defaultValue:null,description:"",name:"aria-controls",required:!1,type:{name:"string"}},"aria-current":{defaultValue:null,description:"",name:"aria-current",required:!1,type:{name:'boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time"'}},"aria-describedby":{defaultValue:null,description:"",name:"aria-describedby",required:!1,type:{name:"string"}},"aria-description":{defaultValue:null,description:"",name:"aria-description",required:!1,type:{name:"string"}},"aria-details":{defaultValue:null,description:"",name:"aria-details",required:!1,type:{name:"string"}},"aria-disabled":{defaultValue:null,description:"",name:"aria-disabled",required:!1,type:{name:"Booleanish"}},"aria-dropeffect":{defaultValue:null,description:"",name:"aria-dropeffect",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"link"'},{value:'"copy"'},{value:'"execute"'},{value:'"move"'},{value:'"popup"'}]}},"aria-errormessage":{defaultValue:null,description:"",name:"aria-errormessage",required:!1,type:{name:"string"}},"aria-expanded":{defaultValue:null,description:"",name:"aria-expanded",required:!1,type:{name:"Booleanish"}},"aria-flowto":{defaultValue:null,description:"",name:"aria-flowto",required:!1,type:{name:"string"}},"aria-grabbed":{defaultValue:null,description:"",name:"aria-grabbed",required:!1,type:{name:"Booleanish"}},"aria-haspopup":{defaultValue:null,description:"",name:"aria-haspopup",required:!1,type:{name:'boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree"'}},"aria-hidden":{defaultValue:null,description:"",name:"aria-hidden",required:!1,type:{name:"Booleanish"}},"aria-invalid":{defaultValue:null,description:"",name:"aria-invalid",required:!1,type:{name:'boolean | "true" | "false" | "grammar" | "spelling"'}},"aria-keyshortcuts":{defaultValue:null,description:"",name:"aria-keyshortcuts",required:!1,type:{name:"string"}},"aria-label":{defaultValue:null,description:"",name:"aria-label",required:!1,type:{name:"string"}},"aria-labelledby":{defaultValue:null,description:"",name:"aria-labelledby",required:!1,type:{name:"string"}},"aria-level":{defaultValue:null,description:"",name:"aria-level",required:!1,type:{name:"number"}},"aria-live":{defaultValue:null,description:"",name:"aria-live",required:!1,type:{name:"enum",value:[{value:'"off"'},{value:'"assertive"'},{value:'"polite"'}]}},"aria-modal":{defaultValue:null,description:"",name:"aria-modal",required:!1,type:{name:"Booleanish"}},"aria-multiline":{defaultValue:null,description:"",name:"aria-multiline",required:!1,type:{name:"Booleanish"}},"aria-multiselectable":{defaultValue:null,description:"",name:"aria-multiselectable",required:!1,type:{name:"Booleanish"}},"aria-orientation":{defaultValue:null,description:"",name:"aria-orientation",required:!1,type:{name:"enum",value:[{value:'"horizontal"'},{value:'"vertical"'}]}},"aria-owns":{defaultValue:null,description:"",name:"aria-owns",required:!1,type:{name:"string"}},"aria-placeholder":{defaultValue:null,description:"",name:"aria-placeholder",required:!1,type:{name:"string"}},"aria-posinset":{defaultValue:null,description:"",name:"aria-posinset",required:!1,type:{name:"number"}},"aria-pressed":{defaultValue:null,description:"",name:"aria-pressed",required:!1,type:{name:'boolean | "true" | "false" | "mixed"'}},"aria-readonly":{defaultValue:null,description:"",name:"aria-readonly",required:!1,type:{name:"Booleanish"}},"aria-relevant":{defaultValue:null,description:"",name:"aria-relevant",required:!1,type:{name:"enum",value:[{value:'"text"'},{value:'"additions"'},{value:'"additions removals"'},{value:'"additions text"'},{value:'"all"'},{value:'"removals"'},{value:'"removals additions"'},{value:'"removals text"'},{value:'"text additions"'},{value:'"text removals"'}]}},"aria-required":{defaultValue:null,description:"",name:"aria-required",required:!1,type:{name:"Booleanish"}},"aria-roledescription":{defaultValue:null,description:"",name:"aria-roledescription",required:!1,type:{name:"string"}},"aria-rowcount":{defaultValue:null,description:"",name:"aria-rowcount",required:!1,type:{name:"number"}},"aria-rowindex":{defaultValue:null,description:"",name:"aria-rowindex",required:!1,type:{name:"number"}},"aria-rowindextext":{defaultValue:null,description:"",name:"aria-rowindextext",required:!1,type:{name:"string"}},"aria-rowspan":{defaultValue:null,description:"",name:"aria-rowspan",required:!1,type:{name:"number"}},"aria-selected":{defaultValue:null,description:"",name:"aria-selected",required:!1,type:{name:"Booleanish"}},"aria-setsize":{defaultValue:null,description:"",name:"aria-setsize",required:!1,type:{name:"number"}},"aria-sort":{defaultValue:null,description:"",name:"aria-sort",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"ascending"'},{value:'"descending"'},{value:'"other"'}]}},"aria-valuemax":{defaultValue:null,description:"",name:"aria-valuemax",required:!1,type:{name:"number"}},"aria-valuemin":{defaultValue:null,description:"",name:"aria-valuemin",required:!1,type:{name:"number"}},"aria-valuenow":{defaultValue:null,description:"",name:"aria-valuenow",required:!1,type:{name:"number"}},"aria-valuetext":{defaultValue:null,description:"",name:"aria-valuetext",required:!1,type:{name:"string"}},dangerouslySetInnerHTML:{defaultValue:null,description:"",name:"dangerouslySetInnerHTML",required:!1,type:{name:"{ __html: string | TrustedHTML; }"}},onCopy:{defaultValue:null,description:"",name:"onCopy",required:!1,type:{name:"ClipboardEventHandler"}},onCopyCapture:{defaultValue:null,description:"",name:"onCopyCapture",required:!1,type:{name:"ClipboardEventHandler"}},onCut:{defaultValue:null,description:"",name:"onCut",required:!1,type:{name:"ClipboardEventHandler"}},onCutCapture:{defaultValue:null,description:"",name:"onCutCapture",required:!1,type:{name:"ClipboardEventHandler"}},onPaste:{defaultValue:null,description:"",name:"onPaste",required:!1,type:{name:"ClipboardEventHandler"}},onPasteCapture:{defaultValue:null,description:"",name:"onPasteCapture",required:!1,type:{name:"ClipboardEventHandler"}},onCompositionEnd:{defaultValue:null,description:"",name:"onCompositionEnd",required:!1,type:{name:"CompositionEventHandler"}},onCompositionEndCapture:{defaultValue:null,description:"",name:"onCompositionEndCapture",required:!1,type:{name:"CompositionEventHandler"}},onCompositionStart:{defaultValue:null,description:"",name:"onCompositionStart",required:!1,type:{name:"CompositionEventHandler"}},onCompositionStartCapture:{defaultValue:null,description:"",name:"onCompositionStartCapture",required:!1,type:{name:"CompositionEventHandler"}},onCompositionUpdate:{defaultValue:null,description:"",name:"onCompositionUpdate",required:!1,type:{name:"CompositionEventHandler"}},onCompositionUpdateCapture:{defaultValue:null,description:"",name:"onCompositionUpdateCapture",required:!1,type:{name:"CompositionEventHandler"}},onFocus:{defaultValue:null,description:"",name:"onFocus",required:!1,type:{name:"FocusEventHandler"}},onFocusCapture:{defaultValue:null,description:"",name:"onFocusCapture",required:!1,type:{name:"FocusEventHandler"}},onBlur:{defaultValue:null,description:"",name:"onBlur",required:!1,type:{name:"FocusEventHandler"}},onBlurCapture:{defaultValue:null,description:"",name:"onBlurCapture",required:!1,type:{name:"FocusEventHandler"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"FormEventHandler"}},onChangeCapture:{defaultValue:null,description:"",name:"onChangeCapture",required:!1,type:{name:"FormEventHandler"}},onBeforeInput:{defaultValue:null,description:"",name:"onBeforeInput",required:!1,type:{name:"FormEventHandler"}},onBeforeInputCapture:{defaultValue:null,description:"",name:"onBeforeInputCapture",required:!1,type:{name:"FormEventHandler"}},onInput:{defaultValue:null,description:"",name:"onInput",required:!1,type:{name:"FormEventHandler"}},onInputCapture:{defaultValue:null,description:"",name:"onInputCapture",required:!1,type:{name:"FormEventHandler"}},onReset:{defaultValue:null,description:"",name:"onReset",required:!1,type:{name:"FormEventHandler"}},onResetCapture:{defaultValue:null,description:"",name:"onResetCapture",required:!1,type:{name:"FormEventHandler"}},onSubmit:{defaultValue:null,description:"",name:"onSubmit",required:!1,type:{name:"FormEventHandler"}},onSubmitCapture:{defaultValue:null,description:"",name:"onSubmitCapture",required:!1,type:{name:"FormEventHandler"}},onInvalid:{defaultValue:null,description:"",name:"onInvalid",required:!1,type:{name:"FormEventHandler"}},onInvalidCapture:{defaultValue:null,description:"",name:"onInvalidCapture",required:!1,type:{name:"FormEventHandler"}},onLoad:{defaultValue:null,description:"",name:"onLoad",required:!1,type:{name:"ReactEventHandler"}},onLoadCapture:{defaultValue:null,description:"",name:"onLoadCapture",required:!1,type:{name:"ReactEventHandler"}},onError:{defaultValue:null,description:"",name:"onError",required:!1,type:{name:"ReactEventHandler"}},onErrorCapture:{defaultValue:null,description:"",name:"onErrorCapture",required:!1,type:{name:"ReactEventHandler"}},onKeyDown:{defaultValue:null,description:"",name:"onKeyDown",required:!1,type:{name:"KeyboardEventHandler"}},onKeyDownCapture:{defaultValue:null,description:"",name:"onKeyDownCapture",required:!1,type:{name:"KeyboardEventHandler"}},onKeyPress:{defaultValue:null,description:"",name:"onKeyPress",required:!1,type:{name:"KeyboardEventHandler"}},onKeyPressCapture:{defaultValue:null,description:"",name:"onKeyPressCapture",required:!1,type:{name:"KeyboardEventHandler"}},onKeyUp:{defaultValue:null,description:"",name:"onKeyUp",required:!1,type:{name:"KeyboardEventHandler"}},onKeyUpCapture:{defaultValue:null,description:"",name:"onKeyUpCapture",required:!1,type:{name:"KeyboardEventHandler"}},onAbort:{defaultValue:null,description:"",name:"onAbort",required:!1,type:{name:"ReactEventHandler"}},onAbortCapture:{defaultValue:null,description:"",name:"onAbortCapture",required:!1,type:{name:"ReactEventHandler"}},onCanPlay:{defaultValue:null,description:"",name:"onCanPlay",required:!1,type:{name:"ReactEventHandler"}},onCanPlayCapture:{defaultValue:null,description:"",name:"onCanPlayCapture",required:!1,type:{name:"ReactEventHandler"}},onCanPlayThrough:{defaultValue:null,description:"",name:"onCanPlayThrough",required:!1,type:{name:"ReactEventHandler"}},onCanPlayThroughCapture:{defaultValue:null,description:"",name:"onCanPlayThroughCapture",required:!1,type:{name:"ReactEventHandler"}},onDurationChange:{defaultValue:null,description:"",name:"onDurationChange",required:!1,type:{name:"ReactEventHandler"}},onDurationChangeCapture:{defaultValue:null,description:"",name:"onDurationChangeCapture",required:!1,type:{name:"ReactEventHandler"}},onEmptied:{defaultValue:null,description:"",name:"onEmptied",required:!1,type:{name:"ReactEventHandler"}},onEmptiedCapture:{defaultValue:null,description:"",name:"onEmptiedCapture",required:!1,type:{name:"ReactEventHandler"}},onEncrypted:{defaultValue:null,description:"",name:"onEncrypted",required:!1,type:{name:"ReactEventHandler"}},onEncryptedCapture:{defaultValue:null,description:"",name:"onEncryptedCapture",required:!1,type:{name:"ReactEventHandler"}},onEnded:{defaultValue:null,description:"",name:"onEnded",required:!1,type:{name:"ReactEventHandler"}},onEndedCapture:{defaultValue:null,description:"",name:"onEndedCapture",required:!1,type:{name:"ReactEventHandler"}},onLoadedData:{defaultValue:null,description:"",name:"onLoadedData",required:!1,type:{name:"ReactEventHandler"}},onLoadedDataCapture:{defaultValue:null,description:"",name:"onLoadedDataCapture",required:!1,type:{name:"ReactEventHandler"}},onLoadedMetadata:{defaultValue:null,description:"",name:"onLoadedMetadata",required:!1,type:{name:"ReactEventHandler"}},onLoadedMetadataCapture:{defaultValue:null,description:"",name:"onLoadedMetadataCapture",required:!1,type:{name:"ReactEventHandler"}},onLoadStart:{defaultValue:null,description:"",name:"onLoadStart",required:!1,type:{name:"ReactEventHandler"}},onLoadStartCapture:{defaultValue:null,description:"",name:"onLoadStartCapture",required:!1,type:{name:"ReactEventHandler"}},onPause:{defaultValue:null,description:"",name:"onPause",required:!1,type:{name:"ReactEventHandler"}},onPauseCapture:{defaultValue:null,description:"",name:"onPauseCapture",required:!1,type:{name:"ReactEventHandler"}},onPlay:{defaultValue:null,description:"",name:"onPlay",required:!1,type:{name:"ReactEventHandler"}},onPlayCapture:{defaultValue:null,description:"",name:"onPlayCapture",required:!1,type:{name:"ReactEventHandler"}},onPlaying:{defaultValue:null,description:"",name:"onPlaying",required:!1,type:{name:"ReactEventHandler"}},onPlayingCapture:{defaultValue:null,description:"",name:"onPlayingCapture",required:!1,type:{name:"ReactEventHandler"}},onProgress:{defaultValue:null,description:"",name:"onProgress",required:!1,type:{name:"ReactEventHandler"}},onProgressCapture:{defaultValue:null,description:"",name:"onProgressCapture",required:!1,type:{name:"ReactEventHandler"}},onRateChange:{defaultValue:null,description:"",name:"onRateChange",required:!1,type:{name:"ReactEventHandler"}},onRateChangeCapture:{defaultValue:null,description:"",name:"onRateChangeCapture",required:!1,type:{name:"ReactEventHandler"}},onResize:{defaultValue:null,description:"",name:"onResize",required:!1,type:{name:"ReactEventHandler"}},onResizeCapture:{defaultValue:null,description:"",name:"onResizeCapture",required:!1,type:{name:"ReactEventHandler"}},onSeeked:{defaultValue:null,description:"",name:"onSeeked",required:!1,type:{name:"ReactEventHandler"}},onSeekedCapture:{defaultValue:null,description:"",name:"onSeekedCapture",required:!1,type:{name:"ReactEventHandler"}},onSeeking:{defaultValue:null,description:"",name:"onSeeking",required:!1,type:{name:"ReactEventHandler"}},onSeekingCapture:{defaultValue:null,description:"",name:"onSeekingCapture",required:!1,type:{name:"ReactEventHandler"}},onStalled:{defaultValue:null,description:"",name:"onStalled",required:!1,type:{name:"ReactEventHandler"}},onStalledCapture:{defaultValue:null,description:"",name:"onStalledCapture",required:!1,type:{name:"ReactEventHandler"}},onSuspend:{defaultValue:null,description:"",name:"onSuspend",required:!1,type:{name:"ReactEventHandler"}},onSuspendCapture:{defaultValue:null,description:"",name:"onSuspendCapture",required:!1,type:{name:"ReactEventHandler"}},onTimeUpdate:{defaultValue:null,description:"",name:"onTimeUpdate",required:!1,type:{name:"ReactEventHandler"}},onTimeUpdateCapture:{defaultValue:null,description:"",name:"onTimeUpdateCapture",required:!1,type:{name:"ReactEventHandler"}},onVolumeChange:{defaultValue:null,description:"",name:"onVolumeChange",required:!1,type:{name:"ReactEventHandler"}},onVolumeChangeCapture:{defaultValue:null,description:"",name:"onVolumeChangeCapture",required:!1,type:{name:"ReactEventHandler"}},onWaiting:{defaultValue:null,description:"",name:"onWaiting",required:!1,type:{name:"ReactEventHandler"}},onWaitingCapture:{defaultValue:null,description:"",name:"onWaitingCapture",required:!1,type:{name:"ReactEventHandler"}},onAuxClick:{defaultValue:null,description:"",name:"onAuxClick",required:!1,type:{name:"MouseEventHandler"}},onAuxClickCapture:{defaultValue:null,description:"",name:"onAuxClickCapture",required:!1,type:{name:"MouseEventHandler"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"MouseEventHandler"}},onClickCapture:{defaultValue:null,description:"",name:"onClickCapture",required:!1,type:{name:"MouseEventHandler"}},onContextMenu:{defaultValue:null,description:"",name:"onContextMenu",required:!1,type:{name:"MouseEventHandler"}},onContextMenuCapture:{defaultValue:null,description:"",name:"onContextMenuCapture",required:!1,type:{name:"MouseEventHandler"}},onDoubleClick:{defaultValue:null,description:"",name:"onDoubleClick",required:!1,type:{name:"MouseEventHandler"}},onDoubleClickCapture:{defaultValue:null,description:"",name:"onDoubleClickCapture",required:!1,type:{name:"MouseEventHandler"}},onDragCapture:{defaultValue:null,description:"",name:"onDragCapture",required:!1,type:{name:"DragEventHandler"}},onDragEndCapture:{defaultValue:null,description:"",name:"onDragEndCapture",required:!1,type:{name:"DragEventHandler"}},onDragEnter:{defaultValue:null,description:"",name:"onDragEnter",required:!1,type:{name:"DragEventHandler"}},onDragEnterCapture:{defaultValue:null,description:"",name:"onDragEnterCapture",required:!1,type:{name:"DragEventHandler"}},onDragExit:{defaultValue:null,description:"",name:"onDragExit",required:!1,type:{name:"DragEventHandler"}},onDragExitCapture:{defaultValue:null,description:"",name:"onDragExitCapture",required:!1,type:{name:"DragEventHandler"}},onDragLeave:{defaultValue:null,description:"",name:"onDragLeave",required:!1,type:{name:"DragEventHandler"}},onDragLeaveCapture:{defaultValue:null,description:"",name:"onDragLeaveCapture",required:!1,type:{name:"DragEventHandler"}},onDragOver:{defaultValue:null,description:"",name:"onDragOver",required:!1,type:{name:"DragEventHandler"}},onDragOverCapture:{defaultValue:null,description:"",name:"onDragOverCapture",required:!1,type:{name:"DragEventHandler"}},onDragStartCapture:{defaultValue:null,description:"",name:"onDragStartCapture",required:!1,type:{name:"DragEventHandler"}},onDrop:{defaultValue:null,description:"",name:"onDrop",required:!1,type:{name:"DragEventHandler"}},onDropCapture:{defaultValue:null,description:"",name:"onDropCapture",required:!1,type:{name:"DragEventHandler"}},onMouseDown:{defaultValue:null,description:"",name:"onMouseDown",required:!1,type:{name:"MouseEventHandler"}},onMouseDownCapture:{defaultValue:null,description:"",name:"onMouseDownCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseEnter:{defaultValue:null,description:"",name:"onMouseEnter",required:!1,type:{name:"MouseEventHandler"}},onMouseLeave:{defaultValue:null,description:"",name:"onMouseLeave",required:!1,type:{name:"MouseEventHandler"}},onMouseMove:{defaultValue:null,description:"",name:"onMouseMove",required:!1,type:{name:"MouseEventHandler"}},onMouseMoveCapture:{defaultValue:null,description:"",name:"onMouseMoveCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseOut:{defaultValue:null,description:"",name:"onMouseOut",required:!1,type:{name:"MouseEventHandler"}},onMouseOutCapture:{defaultValue:null,description:"",name:"onMouseOutCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseOver:{defaultValue:null,description:"",name:"onMouseOver",required:!1,type:{name:"MouseEventHandler"}},onMouseOverCapture:{defaultValue:null,description:"",name:"onMouseOverCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseUp:{defaultValue:null,description:"",name:"onMouseUp",required:!1,type:{name:"MouseEventHandler"}},onMouseUpCapture:{defaultValue:null,description:"",name:"onMouseUpCapture",required:!1,type:{name:"MouseEventHandler"}},onSelect:{defaultValue:null,description:"",name:"onSelect",required:!1,type:{name:"ReactEventHandler"}},onSelectCapture:{defaultValue:null,description:"",name:"onSelectCapture",required:!1,type:{name:"ReactEventHandler"}},onTouchCancel:{defaultValue:null,description:"",name:"onTouchCancel",required:!1,type:{name:"TouchEventHandler"}},onTouchCancelCapture:{defaultValue:null,description:"",name:"onTouchCancelCapture",required:!1,type:{name:"TouchEventHandler"}},onTouchEnd:{defaultValue:null,description:"",name:"onTouchEnd",required:!1,type:{name:"TouchEventHandler"}},onTouchEndCapture:{defaultValue:null,description:"",name:"onTouchEndCapture",required:!1,type:{name:"TouchEventHandler"}},onTouchMove:{defaultValue:null,description:"",name:"onTouchMove",required:!1,type:{name:"TouchEventHandler"}},onTouchMoveCapture:{defaultValue:null,description:"",name:"onTouchMoveCapture",required:!1,type:{name:"TouchEventHandler"}},onTouchStart:{defaultValue:null,description:"",name:"onTouchStart",required:!1,type:{name:"TouchEventHandler"}},onTouchStartCapture:{defaultValue:null,description:"",name:"onTouchStartCapture",required:!1,type:{name:"TouchEventHandler"}},onPointerDown:{defaultValue:null,description:"",name:"onPointerDown",required:!1,type:{name:"PointerEventHandler"}},onPointerDownCapture:{defaultValue:null,description:"",name:"onPointerDownCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerMove:{defaultValue:null,description:"",name:"onPointerMove",required:!1,type:{name:"PointerEventHandler"}},onPointerMoveCapture:{defaultValue:null,description:"",name:"onPointerMoveCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerUp:{defaultValue:null,description:"",name:"onPointerUp",required:!1,type:{name:"PointerEventHandler"}},onPointerUpCapture:{defaultValue:null,description:"",name:"onPointerUpCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerCancel:{defaultValue:null,description:"",name:"onPointerCancel",required:!1,type:{name:"PointerEventHandler"}},onPointerCancelCapture:{defaultValue:null,description:"",name:"onPointerCancelCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerEnter:{defaultValue:null,description:"",name:"onPointerEnter",required:!1,type:{name:"PointerEventHandler"}},onPointerLeave:{defaultValue:null,description:"",name:"onPointerLeave",required:!1,type:{name:"PointerEventHandler"}},onPointerOver:{defaultValue:null,description:"",name:"onPointerOver",required:!1,type:{name:"PointerEventHandler"}},onPointerOverCapture:{defaultValue:null,description:"",name:"onPointerOverCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerOut:{defaultValue:null,description:"",name:"onPointerOut",required:!1,type:{name:"PointerEventHandler"}},onPointerOutCapture:{defaultValue:null,description:"",name:"onPointerOutCapture",required:!1,type:{name:"PointerEventHandler"}},onGotPointerCapture:{defaultValue:null,description:"",name:"onGotPointerCapture",required:!1,type:{name:"PointerEventHandler"}},onGotPointerCaptureCapture:{defaultValue:null,description:"",name:"onGotPointerCaptureCapture",required:!1,type:{name:"PointerEventHandler"}},onLostPointerCapture:{defaultValue:null,description:"",name:"onLostPointerCapture",required:!1,type:{name:"PointerEventHandler"}},onLostPointerCaptureCapture:{defaultValue:null,description:"",name:"onLostPointerCaptureCapture",required:!1,type:{name:"PointerEventHandler"}},onScroll:{defaultValue:null,description:"",name:"onScroll",required:!1,type:{name:"UIEventHandler"}},onScrollCapture:{defaultValue:null,description:"",name:"onScrollCapture",required:!1,type:{name:"UIEventHandler"}},onWheel:{defaultValue:null,description:"",name:"onWheel",required:!1,type:{name:"WheelEventHandler"}},onWheelCapture:{defaultValue:null,description:"",name:"onWheelCapture",required:!1,type:{name:"WheelEventHandler"}},onAnimationStartCapture:{defaultValue:null,description:"",name:"onAnimationStartCapture",required:!1,type:{name:"AnimationEventHandler"}},onAnimationEnd:{defaultValue:null,description:"",name:"onAnimationEnd",required:!1,type:{name:"AnimationEventHandler"}},onAnimationEndCapture:{defaultValue:null,description:"",name:"onAnimationEndCapture",required:!1,type:{name:"AnimationEventHandler"}},onAnimationIteration:{defaultValue:null,description:"",name:"onAnimationIteration",required:!1,type:{name:"AnimationEventHandler"}},onAnimationIterationCapture:{defaultValue:null,description:"",name:"onAnimationIterationCapture",required:!1,type:{name:"AnimationEventHandler"}},onTransitionEnd:{defaultValue:null,description:"",name:"onTransitionEnd",required:!1,type:{name:"TransitionEventHandler"}},onTransitionEndCapture:{defaultValue:null,description:"",name:"onTransitionEndCapture",required:!1,type:{name:"TransitionEventHandler"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"sm" | "normal" | "md" | "lg" | "xl" | null'}}}}}catch{}const C={title:"Components/Skeleton",component:e},n={render:()=>a.jsxs(e,{className:"flex gap-2 p-2 w-[240px]",children:[a.jsx(e,{className:"w-[72px] h-[72px]"}),a.jsxs("div",{className:"flex flex-col gap-2",children:[a.jsx(e,{size:"md"}),a.jsx(e,{size:"sm"}),a.jsx(e,{size:"sm"})]})]})};var t,r,u;n.parameters={...n.parameters,docs:{...(t=n.parameters)==null?void 0:t.docs,source:{originalSource:`{ - render: () => - -
- - - -
-
-}`,...(u=(r=n.parameters)==null?void 0:r.docs)==null?void 0:u.source}}};const M=["Default"];export{n as Default,M as __namedExportsOrder,C as default}; diff --git a/assets/Spinner.stories-D84Ib-5Y.js b/assets/Spinner.stories-Or4N5sW0.js similarity index 92% rename from assets/Spinner.stories-D84Ib-5Y.js rename to assets/Spinner.stories-Or4N5sW0.js index 2234be92c..5c812b62f 100644 --- a/assets/Spinner.stories-D84Ib-5Y.js +++ b/assets/Spinner.stories-Or4N5sW0.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-z8MfsBtr.js";import{c as d}from"./index-DKHC-OhD.js";import"./index-C9rmetsa.js";import"./clsx-B-dksMZM.js";const u=d(["text-muted animate-spin"],{variants:{size:{sm:"w-4 h-4 [&>svg]:stroke-[calc(24/16*2px)]",md:"w-6 h-6 [&>svg]:stroke-2",lg:"w-8 h-8 [&>svg]:stroke-[calc(24/32*2px)]"}},defaultVariants:{size:"md"}}),n=({size:a,className:m})=>e.jsx("div",{className:u({size:a,className:m}),children:e.jsxs("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",children:[e.jsx("circle",{cx:"12",cy:"12",fill:"none",r:"10.5",strokeDasharray:"42",strokeLinecap:"round"}),e.jsx("circle",{cx:"12",cy:"12",fill:"none",opacity:"0.25",r:"10.5",strokeLinecap:"round"})]})});try{n.displayName="Spinner",n.__docgenInfo={description:"",displayName:"Spinner",props:{className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"sm" | "md" | "lg" | null'}}}}}catch{}const w={title:"Components/Spinner",component:n},r={args:{size:"md"}},s={args:{size:"md",className:"text-warning"}};var t,i,o;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-Cf8x2fCZ.js";import{c as d}from"./index-Dp3B9jqt.js";import"./index-yBjzXJbu.js";import"./clsx-B-dksMZM.js";const u=d(["text-muted animate-spin"],{variants:{size:{sm:"w-4 h-4 [&>svg]:stroke-[calc(24/16*2px)]",md:"w-6 h-6 [&>svg]:stroke-2",lg:"w-8 h-8 [&>svg]:stroke-[calc(24/32*2px)]"}},defaultVariants:{size:"md"}}),n=({size:a,className:m})=>e.jsx("div",{className:u({size:a,className:m}),children:e.jsxs("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",children:[e.jsx("circle",{cx:"12",cy:"12",fill:"none",r:"10.5",strokeDasharray:"42",strokeLinecap:"round"}),e.jsx("circle",{cx:"12",cy:"12",fill:"none",opacity:"0.25",r:"10.5",strokeLinecap:"round"})]})});try{n.displayName="Spinner",n.__docgenInfo={description:"",displayName:"Spinner",props:{className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"sm" | "md" | "lg" | null'}}}}}catch{}const w={title:"Components/Spinner",component:n},r={args:{size:"md"}},s={args:{size:"md",className:"text-warning"}};var t,i,o;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`{ args: { size: 'md' } diff --git a/assets/StopClickPropagation.stories-DH0HI3zM.js b/assets/StopClickPropagation.stories-BFWVCPTt.js similarity index 79% rename from assets/StopClickPropagation.stories-DH0HI3zM.js rename to assets/StopClickPropagation.stories-BFWVCPTt.js index 9784d7c94..ddcd6cc2c 100644 --- a/assets/StopClickPropagation.stories-DH0HI3zM.js +++ b/assets/StopClickPropagation.stories-BFWVCPTt.js @@ -1,3 +1,3 @@ -import{j as r}from"./jsx-runtime-z8MfsBtr.js";import{I as d}from"./IconButton-M16ADBdN.js";import{T as m}from"./Text-DiY0ipGE.js";import{a as u}from"./WarningIcon-C-Bue-nz.js";import{r as g}from"./index-D1TSixAU.js";import{c as f}from"./classnames-Dx2cly0x.js";import"./index-C9rmetsa.js";import"./Button-e99vAgb9.js";import"./index-DEvaI7vP.js";import"./index-DKHC-OhD.js";import"./clsx-B-dksMZM.js";const e=g.forwardRef((a,s)=>{const{children:p,className:l}=a;return r.jsx("div",{ref:s,className:f("w-fit h-fit",l),onClick:o=>{o.preventDefault(),o.stopPropagation()},onKeyDown:o=>{(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),o.stopPropagation())},children:p})});try{e.displayName="StopClickPropagation",e.__docgenInfo={description:"",displayName:"StopClickPropagation",props:{className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}}}catch{}const v={title:"Components/StopClickPropagation",component:e},h=()=>r.jsxs("div",{className:"flex items-center bg-background-secondary hover:bg-background-backdrop rounded-xl cursor-pointer justify-between p-4",onClick:()=>console.log("Container Clicked!!"),children:[r.jsx("div",{children:r.jsx(m,{variant:"normal",color:"secondary",children:"This container here has a click action. The button on the right also has a click action. Since the button is wrapped in a StopClickPropagation component, the click-through is prevented."})}),r.jsx(e,{children:r.jsx(d,{icon:u,onClick:()=>console.log("Button Clicked! Propagation Stopped!")})})]}),t={render:h};var n,i,c;t.parameters={...t.parameters,docs:{...(n=t.parameters)==null?void 0:n.docs,source:{originalSource:`{ +import{j as r}from"./jsx-runtime-Cf8x2fCZ.js";import{I as d}from"./IconButton-tt72d-YU.js";import{T as m}from"./Text-c-Dt_3pd.js";import{a as u}from"./WarningIcon-Z1cZGh4-.js";import{r as g}from"./index-DubqEmGm.js";import{c as f}from"./classnames-Dx2cly0x.js";import"./index-yBjzXJbu.js";import"./Button-CJ_2iam3.js";import"./index-BkTKsPvT.js";import"./index-Dp3B9jqt.js";import"./clsx-B-dksMZM.js";const e=g.forwardRef((a,s)=>{const{children:p,className:l}=a;return r.jsx("div",{ref:s,className:f("w-fit h-fit",l),onClick:o=>{o.preventDefault(),o.stopPropagation()},onKeyDown:o=>{(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),o.stopPropagation())},children:p})});try{e.displayName="StopClickPropagation",e.__docgenInfo={description:"",displayName:"StopClickPropagation",props:{className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}}}catch{}const v={title:"Components/StopClickPropagation",component:e},h=()=>r.jsxs("div",{className:"flex items-center bg-background-secondary hover:bg-background-backdrop rounded-xl cursor-pointer justify-between p-4",onClick:()=>console.log("Container Clicked!!"),children:[r.jsx("div",{children:r.jsx(m,{variant:"normal",color:"secondary",children:"This container here has a click action. The button on the right also has a click action. Since the button is wrapped in a StopClickPropagation component, the click-through is prevented."})}),r.jsx(e,{children:r.jsx(d,{icon:u,onClick:()=>console.log("Button Clicked! Propagation Stopped!")})})]}),t={render:h};var n,i,c;t.parameters={...t.parameters,docs:{...(n=t.parameters)==null?void 0:n.docs,source:{originalSource:`{ render: StoryWrapper }`,...(c=(i=t.parameters)==null?void 0:i.docs)==null?void 0:c.source}}};const D=["Default"];export{t as Default,D as __namedExportsOrder,v as default}; diff --git a/assets/Switch-DB8XdH2V.js b/assets/Switch-BPf1v6yw.js similarity index 57% rename from assets/Switch-DB8XdH2V.js rename to assets/Switch-BPf1v6yw.js index deed2c30e..396f8e98b 100644 --- a/assets/Switch-DB8XdH2V.js +++ b/assets/Switch-BPf1v6yw.js @@ -1 +1 @@ -import{j as a}from"./jsx-runtime-z8MfsBtr.js";import{r as c}from"./index-D1TSixAU.js";import{a as R,c as E}from"./index-BWtkTp-R.js";import{u as V}from"./index-DEvaI7vP.js";import{c as T,P as g}from"./index-CuZtKiOG.js";import{u as I}from"./index-CpZK5cx3.js";import{u as H}from"./index-CdSWItFS.js";import{F as L}from"./Field-Dz_fFMgk.js";var y="Switch",[M,Q]=T(y),[B,F]=M(y),k=c.forwardRef((e,r)=>{const{__scopeSwitch:t,name:o,checked:n,defaultChecked:l,required:i,disabled:s,value:d="on",onCheckedChange:h,form:b,...p}=e,[u,P]=c.useState(null),_=V(r,m=>P(m)),w=c.useRef(!1),v=u?b||!!u.closest("form"):!0,[f=!1,q]=R({prop:n,defaultProp:l,onChange:h});return a.jsxs(B,{scope:t,checked:f,disabled:s,children:[a.jsx(g.button,{type:"button",role:"switch","aria-checked":f,"aria-required":i,"data-state":N(f),"data-disabled":s?"":void 0,disabled:s,value:d,...p,ref:_,onClick:E(e.onClick,m=>{q(j=>!j),v&&(w.current=m.isPropagationStopped(),w.current||m.stopPropagation())})}),v&&a.jsx(z,{control:u,bubbles:!w.current,name:o,value:d,checked:f,required:i,disabled:s,form:b,style:{transform:"translateX(-100%)"}})]})});k.displayName=y;var x="SwitchThumb",C=c.forwardRef((e,r)=>{const{__scopeSwitch:t,...o}=e,n=F(x,t);return a.jsx(g.span,{"data-state":N(n.checked),"data-disabled":n.disabled?"":void 0,...o,ref:r})});C.displayName=x;var z=e=>{const{control:r,checked:t,bubbles:o=!0,...n}=e,l=c.useRef(null),i=I(t),s=H(r);return c.useEffect(()=>{const d=l.current,h=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(h,"checked").set;if(i!==t&&p){const u=new Event("click",{bubbles:o});p.call(d,t),d.dispatchEvent(u)}},[i,t,o]),a.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:t,...n,tabIndex:-1,ref:l,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function N(e){return e?"checked":"unchecked"}var A=k,O=C;const S=e=>{const{disabled:r,label:t,labelLocation:o="left",description:n,id:l,name:i,...s}=e;return a.jsx(L,{disabled:r,id:l??i,label:t,labelLocation:o,description:n,className:"flex whitespace-nowrap",children:a.jsx(A,{className:"relative w-12 h-7 p-1 rounded-full bg-background-control cursor-pointer border-none disabled:cursor-default disabled:opacity-50 data-[state=checked]:bg-gradient-primary focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-border-focus ring-inset",disabled:r,...s,children:a.jsx("div",{className:"relative w-full h-full",children:a.jsx(O,{className:"absolute top-0 left-0 w-5 h-5 bg-white rounded-full transition-transform duration-100 ease-out will-change-transform translate-x-0 data-[state=checked]:translate-x-5"})})})})};try{S.displayName="Switch",S.__docgenInfo={description:"",displayName:"Switch",props:{id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"boolean"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:'"hidden" | "top" | "left" | "right" | null'}},asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}}}}}catch{}export{S}; +import{j as a}from"./jsx-runtime-Cf8x2fCZ.js";import{r as c}from"./index-DubqEmGm.js";import{a as R,c as E}from"./index-DKEAZgBW.js";import{u as V}from"./index-BkTKsPvT.js";import{c as T,P as g}from"./index-EKtyzmkF.js";import{u as I}from"./index-CfbYICbs.js";import{u as H}from"./index-JD-fg0In.js";import{F as L}from"./Field-BUPg2hwy.js";var v="Switch",[M,Q]=T(v),[B,F]=M(v),k=c.forwardRef((e,r)=>{const{__scopeSwitch:t,name:o,checked:s,defaultChecked:l,required:i,disabled:n,value:d="on",onCheckedChange:h,form:b,...p}=e,[u,P]=c.useState(null),_=V(r,m=>P(m)),w=c.useRef(!1),y=u?b||!!u.closest("form"):!0,[f=!1,q]=R({prop:s,defaultProp:l,onChange:h});return a.jsxs(B,{scope:t,checked:f,disabled:n,children:[a.jsx(g.button,{type:"button",role:"switch","aria-checked":f,"aria-required":i,"data-state":N(f),"data-disabled":n?"":void 0,disabled:n,value:d,...p,ref:_,onClick:E(e.onClick,m=>{q(j=>!j),y&&(w.current=m.isPropagationStopped(),w.current||m.stopPropagation())})}),y&&a.jsx(z,{control:u,bubbles:!w.current,name:o,value:d,checked:f,required:i,disabled:n,form:b,style:{transform:"translateX(-100%)"}})]})});k.displayName=v;var x="SwitchThumb",C=c.forwardRef((e,r)=>{const{__scopeSwitch:t,...o}=e,s=F(x,t);return a.jsx(g.span,{"data-state":N(s.checked),"data-disabled":s.disabled?"":void 0,...o,ref:r})});C.displayName=x;var z=e=>{const{control:r,checked:t,bubbles:o=!0,...s}=e,l=c.useRef(null),i=I(t),n=H(r);return c.useEffect(()=>{const d=l.current,h=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(h,"checked").set;if(i!==t&&p){const u=new Event("click",{bubbles:o});p.call(d,t),d.dispatchEvent(u)}},[i,t,o]),a.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:t,...s,tabIndex:-1,ref:l,style:{...e.style,...n,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function N(e){return e?"checked":"unchecked"}var A=k,O=C;const S=e=>{const{disabled:r,label:t,labelLocation:o="left",description:s,id:l,name:i,...n}=e;return a.jsx(L,{disabled:r,id:l??i,label:t,labelLocation:o,description:s,className:"flex whitespace-nowrap",children:a.jsx(A,{className:"relative w-12 h-7 p-1 rounded-full bg-background-control cursor-pointer border-none disabled:cursor-default disabled:opacity-50 data-[state=checked]:bg-gradient-primary focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-border-focus ring-inset",disabled:r,...n,children:a.jsx("div",{className:"relative w-full h-full",children:a.jsx(O,{className:"absolute top-0 left-0 w-5 h-5 bg-white rounded-full transition-transform duration-100 ease-out will-change-transform translate-x-0 data-[state=checked]:translate-x-5"})})})})};try{S.displayName="Switch",S.__docgenInfo={description:"",displayName:"Switch",props:{id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"boolean"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:'"hidden" | "top" | "left" | "right" | null'}},asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}}}}}catch{}export{S}; diff --git a/assets/Switch.stories-B_QfWAxo.js b/assets/Switch.stories-EK6drmok.js similarity index 53% rename from assets/Switch.stories-B_QfWAxo.js rename to assets/Switch.stories-EK6drmok.js index c118f94b6..f265affc7 100644 --- a/assets/Switch.stories-B_QfWAxo.js +++ b/assets/Switch.stories-EK6drmok.js @@ -1,4 +1,4 @@ -import{S as e}from"./Switch-DB8XdH2V.js";import"./jsx-runtime-z8MfsBtr.js";import"./index-C9rmetsa.js";import"./index-D1TSixAU.js";import"./index-BWtkTp-R.js";import"./index-DEvaI7vP.js";import"./index-CuZtKiOG.js";import"./index-Dcf1nc42.js";import"./index-D2m0ySOf.js";import"./index-CpZK5cx3.js";import"./index-CdSWItFS.js";import"./Field-Dz_fFMgk.js";import"./index-DKHC-OhD.js";import"./clsx-B-dksMZM.js";import"./Text-DiY0ipGE.js";import"./classnames-Dx2cly0x.js";const _={title:"Forms/Switch",component:e},t={args:{disabled:!1,label:"Switch Title",description:"Switch Description"}};var r,i,o;t.parameters={...t.parameters,docs:{...(r=t.parameters)==null?void 0:r.docs,source:{originalSource:`{ +import{S as e}from"./Switch-BPf1v6yw.js";import"./jsx-runtime-Cf8x2fCZ.js";import"./index-yBjzXJbu.js";import"./index-DubqEmGm.js";import"./index-DKEAZgBW.js";import"./index-BkTKsPvT.js";import"./index-EKtyzmkF.js";import"./index-e5epXPAg.js";import"./index-fNjTmf9T.js";import"./index-CfbYICbs.js";import"./index-JD-fg0In.js";import"./Field-BUPg2hwy.js";import"./index-Dp3B9jqt.js";import"./clsx-B-dksMZM.js";import"./Text-c-Dt_3pd.js";import"./classnames-Dx2cly0x.js";const _={title:"Forms/Switch",component:e},t={args:{disabled:!1,label:"Switch Title",description:"Switch Description"}};var r,i,o;t.parameters={...t.parameters,docs:{...(r=t.parameters)==null?void 0:r.docs,source:{originalSource:`{ args: { disabled: false, label: 'Switch Title', diff --git a/assets/TabbedNav.stories-CXZPSTFM.js b/assets/TabbedNav.stories-CxRHdned.js similarity index 83% rename from assets/TabbedNav.stories-CXZPSTFM.js rename to assets/TabbedNav.stories-CxRHdned.js index 3f455053b..4003d2a9b 100644 --- a/assets/TabbedNav.stories-CXZPSTFM.js +++ b/assets/TabbedNav.stories-CxRHdned.js @@ -1,4 +1,4 @@ -import{j as a}from"./jsx-runtime-z8MfsBtr.js";import{r as f}from"./index-D1TSixAU.js";import{t as W,T as P}from"./Text-DiY0ipGE.js";import{g as E,h as A}from"./WarningIcon-C-Bue-nz.js";import{c as B}from"./index-DKHC-OhD.js";import{B as D}from"./Button-e99vAgb9.js";import{c as w}from"./classnames-Dx2cly0x.js";import"./index-C9rmetsa.js";import"./index-DEvaI7vP.js";import"./clsx-B-dksMZM.js";const O=B(["select-none"],{variants:{variant:{pill:"",line:w(W({variant:"xsmall",fontWeight:"bold"}),"leading-8 tracking-[0.8px] px-2")},active:{true:"hover:opacity-100",false:""},disabled:{true:"opacity-50"}},compoundVariants:[{variant:"pill",active:!0,className:"bg-button-inverse text-inverse"},{variant:"pill",active:!1,className:"bg-transparent text-secondary"},{variant:"line",active:!0,className:"text-primary"}],defaultVariants:{variant:"pill"}}),u=t=>{const{className:r,defaultValue:m,onTabChange:n,size:s="sm",tabs:p,variant:i="pill",...q}=t,[C,g]=f.useState(!1),[v,x]=f.useState(m??p[0].value),z=async(l,e,o)=>{var y;l.preventDefault();const b=v;if(v===e.value)return;x(p[o].value),g(!0);const k=e.onLoad?await((y=e.onLoad)==null?void 0:y.call(e)):!0;g(!1),k?n==null||n(e.value):x(b)};return a.jsx("nav",{...q,children:a.jsx("ul",{className:"flex gap-2 list-none leading-0",children:p.map((l,e)=>{const o=l.value===v;return a.jsx("li",{className:i==="line"?o?"border-t-2 border-t-primary":"border-t-2 border-t-transparent":void 0,children:a.jsx(D,{className:w(O({active:o,variant:i}),i==="line"&&l.leftIcon?"pl-1":void 0,r),variant:i==="line"?"text":"base",disabled:C||l.disabled,label:l.label,leftIcon:l.leftIcon??void 0,size:i==="line"?"xs":s,shape:"circle",onClick:b=>z(b,l,e)})},e)})})})};try{u.displayName="TabbedNav",u.__docgenInfo={description:"",displayName:"TabbedNav",props:{defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"string"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"sm"'},{value:'"xs"'}]}},tabs:{defaultValue:null,description:"",name:"tabs",required:!0,type:{name:"TabOption[]"}},onTabChange:{defaultValue:null,description:"",name:"onTabChange",required:!1,type:{name:"((value: string) => void)"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:'"line" | "pill" | null'}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean | null"}},active:{defaultValue:null,description:"",name:"active",required:!1,type:{name:"boolean | null"}}}}}catch{}const Y={title:"Components/TabbedNav",component:u},V=t=>new Promise(r=>setTimeout(r,t*1e3)),L=[{label:"Wallet",value:"wallet",onLoad:()=>!0},{label:"Simple",value:"simple"},{label:"Another Tab",value:"another",onLoad:()=>!0},{label:"History",leftIcon:E,value:"history",onLoad:async()=>(console.log("processing..."),await V(1),!0)},{label:"Contacts (Fails to load)",leftIcon:A,value:"contacts",onLoad:async()=>(console.log("expecting fail..."),await V(1),!1)},{label:"Disabled",value:"disabled",disabled:!0}],I=t=>{const[r,m]=f.useState("wallet"),n=s=>{m(s)};return a.jsxs("div",{className:"flex flex-col gap-4",children:[a.jsx("div",{className:"bg-background-secondary p-4 rounded-xl",children:a.jsx(u,{...t,onTabChange:s=>n(s)})}),a.jsx("div",{className:"bg-background-secondary p-4 rounded-xl",children:a.jsxs(P,{variant:"normal",color:"secondary",children:[r," content"]})})]})},d={render:I,args:{defaultValue:"wallet",size:"sm",tabs:L}},c={render:I,args:{defaultValue:"wallet",variant:"line",tabs:L}};var h,N,T;d.parameters={...d.parameters,docs:{...(h=d.parameters)==null?void 0:h.docs,source:{originalSource:`{ +import{j as a}from"./jsx-runtime-Cf8x2fCZ.js";import{r as f}from"./index-DubqEmGm.js";import{t as W,T as P}from"./Text-c-Dt_3pd.js";import{g as E,h as A}from"./WarningIcon-Z1cZGh4-.js";import{c as B}from"./index-Dp3B9jqt.js";import{B as D}from"./Button-CJ_2iam3.js";import{c as w}from"./classnames-Dx2cly0x.js";import"./index-yBjzXJbu.js";import"./index-BkTKsPvT.js";import"./clsx-B-dksMZM.js";const O=B(["select-none"],{variants:{variant:{pill:"",line:w(W({variant:"xsmall",fontWeight:"bold"}),"leading-8 tracking-[0.8px] px-2")},active:{true:"hover:opacity-100",false:""},disabled:{true:"opacity-50"}},compoundVariants:[{variant:"pill",active:!0,className:"bg-button-inverse text-inverse"},{variant:"pill",active:!1,className:"bg-transparent text-secondary"},{variant:"line",active:!0,className:"text-primary"}],defaultVariants:{variant:"pill"}}),u=t=>{const{className:r,defaultValue:m,onTabChange:s,size:n="sm",tabs:p,variant:i="pill",...q}=t,[C,g]=f.useState(!1),[v,x]=f.useState(m??p[0].value),z=async(l,e,o)=>{var y;l.preventDefault();const b=v;if(v===e.value)return;x(p[o].value),g(!0);const k=e.onLoad?await((y=e.onLoad)==null?void 0:y.call(e)):!0;g(!1),k?s==null||s(e.value):x(b)};return a.jsx("nav",{...q,children:a.jsx("ul",{className:"flex gap-2 list-none leading-0",children:p.map((l,e)=>{const o=l.value===v;return a.jsx("li",{className:i==="line"?o?"border-t-2 border-t-primary":"border-t-2 border-t-transparent":void 0,children:a.jsx(D,{className:w(O({active:o,variant:i}),i==="line"&&l.leftIcon?"pl-1":void 0,r),variant:i==="line"?"text":"base",disabled:C||l.disabled,label:l.label,leftIcon:l.leftIcon??void 0,size:i==="line"?"xs":n,shape:"circle",onClick:b=>z(b,l,e)})},e)})})})};try{u.displayName="TabbedNav",u.__docgenInfo={description:"",displayName:"TabbedNav",props:{defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"string"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"sm"'},{value:'"xs"'}]}},tabs:{defaultValue:null,description:"",name:"tabs",required:!0,type:{name:"TabOption[]"}},onTabChange:{defaultValue:null,description:"",name:"onTabChange",required:!1,type:{name:"((value: string) => void)"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:'"line" | "pill" | null'}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean | null"}},active:{defaultValue:null,description:"",name:"active",required:!1,type:{name:"boolean | null"}}}}}catch{}const Y={title:"Components/TabbedNav",component:u},V=t=>new Promise(r=>setTimeout(r,t*1e3)),L=[{label:"Wallet",value:"wallet",onLoad:()=>!0},{label:"Simple",value:"simple"},{label:"Another Tab",value:"another",onLoad:()=>!0},{label:"History",leftIcon:E,value:"history",onLoad:async()=>(console.log("processing..."),await V(1),!0)},{label:"Contacts (Fails to load)",leftIcon:A,value:"contacts",onLoad:async()=>(console.log("expecting fail..."),await V(1),!1)},{label:"Disabled",value:"disabled",disabled:!0}],I=t=>{const[r,m]=f.useState("wallet"),s=n=>{m(n)};return a.jsxs("div",{className:"flex flex-col gap-4",children:[a.jsx("div",{className:"bg-background-secondary p-4 rounded-xl",children:a.jsx(u,{...t,onTabChange:n=>s(n)})}),a.jsx("div",{className:"bg-background-secondary p-4 rounded-xl",children:a.jsxs(P,{variant:"normal",color:"secondary",children:[r," content"]})})]})},d={render:I,args:{defaultValue:"wallet",size:"sm",tabs:L}},c={render:I,args:{defaultValue:"wallet",variant:"line",tabs:L}};var h,N,T;d.parameters={...d.parameters,docs:{...(h=d.parameters)==null?void 0:h.docs,source:{originalSource:`{ render: StoryWrapper, args: { defaultValue: 'wallet', diff --git a/assets/Tabs.stories-8dcO1f44.js b/assets/Tabs.stories-DdDo8Fjl.js similarity index 83% rename from assets/Tabs.stories-8dcO1f44.js rename to assets/Tabs.stories-DdDo8Fjl.js index c4c7a9711..cbaf8bd2f 100644 --- a/assets/Tabs.stories-8dcO1f44.js +++ b/assets/Tabs.stories-DdDo8Fjl.js @@ -1,4 +1,4 @@ -import{j as t}from"./jsx-runtime-z8MfsBtr.js";import{C as H}from"./Card-DDkzOCNp.js";import{T as E}from"./Text-DiY0ipGE.js";import{r as p}from"./index-D1TSixAU.js";import{a as K,c as v}from"./index-BWtkTp-R.js";import{c as z,P as h}from"./index-CuZtKiOG.js";import{c as $,R as B,I as W}from"./index-BefANkT7.js";import{P as X}from"./index-DogTl_U1.js";import{u as J}from"./index-Bac_1hpE.js";import{u as Q}from"./index-VR-_z_Zs.js";import"./index-C9rmetsa.js";import"./index-DEvaI7vP.js";import"./index-DKHC-OhD.js";import"./clsx-B-dksMZM.js";import"./classnames-Dx2cly0x.js";import"./index-Dcf1nc42.js";import"./index-D2m0ySOf.js";import"./index-BFS5t9Ij.js";var y="Tabs",[U,Te]=z(y,[$]),M=$(),[Y,C]=U(y),q=p.forwardRef((e,a)=>{const{__scopeTabs:i,value:n,onValueChange:r,defaultValue:o,orientation:s="horizontal",dir:u,activationMode:l="automatic",...b}=e,d=J(u),[c,m]=K({prop:n,onChange:r,defaultProp:o});return t.jsx(Y,{scope:i,baseId:Q(),value:c,onValueChange:m,orientation:s,dir:d,activationMode:l,children:t.jsx(h.div,{dir:d,"data-orientation":s,...b,ref:a})})});q.displayName=y;var D="TabsList",x=p.forwardRef((e,a)=>{const{__scopeTabs:i,loop:n=!0,...r}=e,o=C(D,i),s=M(i);return t.jsx(B,{asChild:!0,...s,orientation:o.orientation,dir:o.dir,loop:n,children:t.jsx(h.div,{role:"tablist","aria-orientation":o.orientation,...r,ref:a})})});x.displayName=D;var F="TabsTrigger",N=p.forwardRef((e,a)=>{const{__scopeTabs:i,value:n,disabled:r=!1,...o}=e,s=C(F,i),u=M(i),l=G(s.baseId,n),b=O(s.baseId,n),d=n===s.value;return t.jsx(W,{asChild:!0,...u,focusable:!r,active:d,children:t.jsx(h.button,{type:"button",role:"tab","aria-selected":d,"aria-controls":b,"data-state":d?"active":"inactive","data-disabled":r?"":void 0,disabled:r,id:l,...o,ref:a,onMouseDown:v(e.onMouseDown,c=>{!r&&c.button===0&&c.ctrlKey===!1?s.onValueChange(n):c.preventDefault()}),onKeyDown:v(e.onKeyDown,c=>{[" ","Enter"].includes(c.key)&&s.onValueChange(n)}),onFocus:v(e.onFocus,()=>{const c=s.activationMode!=="manual";!d&&!r&&c&&s.onValueChange(n)})})})});N.displayName=F;var L="TabsContent",I=p.forwardRef((e,a)=>{const{__scopeTabs:i,value:n,forceMount:r,children:o,...s}=e,u=C(L,i),l=G(u.baseId,n),b=O(u.baseId,n),d=n===u.value,c=p.useRef(d);return p.useEffect(()=>{const m=requestAnimationFrame(()=>c.current=!1);return()=>cancelAnimationFrame(m)},[]),t.jsx(X,{present:r||d,children:({present:m})=>t.jsx(h.div,{"data-state":d?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":l,hidden:!m,id:b,tabIndex:0,...s,ref:a,style:{...e.style,animationDuration:c.current?"0s":void 0},children:m&&o})})});I.displayName=L;function G(e,a){return`${e}-trigger-${a}`}function O(e,a){return`${e}-content-${a}`}var k=q,Z=x,ee=N,te=I;const g=e=>{const{tabs:a,onValueChange:i,className:n,...r}=e,[o,s]=p.useState(r.defaultValue);if(!a.length)return null;const u=l=>{s(l),i==null||i(l)};return t.jsxs(k,{onValueChange:u,className:n,...r,children:[t.jsx(T,{tabs:a,value:o}),a.map(l=>t.jsx(te,{className:"outline-hidden",value:l.value,children:l.content},l.value))]})},T=e=>{const{tabs:a,value:i}=e;if(!a.length)return null;const n=100/a.length,r=a.findIndex(o=>o.value===i);return t.jsxs(Z,{className:"px-2 flex relative w-full rounded-xl bg-background-secondary h-12 outline-hidden ring-inset focus-within:[&:has(:focus-visible)]:ring-2 focus-within:ring-border-focus",style:{outline:void 0},children:[t.jsx("div",{className:"flex absolute inset-2 h-8",children:t.jsx("div",{className:"absolute rounded-lg top-0 left-0 h-8 bg-button-glass pointer-events-none transition-transform duration-200 ease-out",style:{width:`${n}%`,transform:`translateX(${r*100}%)`}})}),a.map(o=>t.jsx(ee,{className:"w-full h-full rounded-lg cursor-pointer relative bg-transparent select-none text-secondary outline-hidden appearance-none border-none z-2 data-[state=active]:text-primary disabled:opacity-50",value:o.value,children:t.jsx(E,{variant:"normal",fontWeight:"bold",className:"block",children:o.label})},o.value))]})},j=k,V=x,R=N,P=I;try{g.displayName="Tabs",g.__docgenInfo={description:"",displayName:"Tabs",props:{tabs:{defaultValue:null,description:"",name:"tabs",required:!0,type:{name:"(TabItemProps & { content: ReactNode; })[]"}},asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}}}}}catch{}try{T.displayName="TabsHeader",T.__docgenInfo={description:"",displayName:"TabsHeader",props:{tabs:{defaultValue:null,description:"",name:"tabs",required:!0,type:{name:"TabItemProps[]"}},value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"string | undefined"}}}}}catch{}try{j.displayName="TabsRoot",j.__docgenInfo={description:"",displayName:"TabsRoot",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}}}}}catch{}try{V.displayName="TabsList",V.__docgenInfo={description:"",displayName:"TabsList",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}}}}}catch{}try{R.displayName="TabsTrigger",R.__docgenInfo={description:"",displayName:"TabsTrigger",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}}}}}catch{}try{P.displayName="TabsContent",P.__docgenInfo={description:"",displayName:"TabsContent",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}}}}}catch{}const ye={title:"Components/Tabs",component:g},_=({children:e})=>t.jsx(H,{className:"mt-4",children:t.jsx(E,{variant:"normal",color:"secondary",children:e})}),f={args:{defaultValue:"coins",tabs:[{value:"coins",label:"Coins",content:t.jsx(_,{children:"Coins content"})},{value:"collectibles",label:"Collectibles",content:t.jsx(_,{children:"Collectibles content"})},{value:"other",label:"Other",content:t.jsx(_,{children:"Other content"})}]}};var S,w,A;f.parameters={...f.parameters,docs:{...(S=f.parameters)==null?void 0:S.docs,source:{originalSource:`{ +import{j as t}from"./jsx-runtime-Cf8x2fCZ.js";import{C as H}from"./Card-BcrLDAIN.js";import{T as E}from"./Text-c-Dt_3pd.js";import{r as p}from"./index-DubqEmGm.js";import{a as K,c as h}from"./index-DKEAZgBW.js";import{c as z,P as v}from"./index-EKtyzmkF.js";import{c as $,R as B,I as W}from"./index-h6D3frV-.js";import{P as X}from"./index-SbpNQzLY.js";import{u as J}from"./index-BPXglf9v.js";import{u as Q}from"./index-Cbw-VAaK.js";import"./index-yBjzXJbu.js";import"./index-BkTKsPvT.js";import"./index-Dp3B9jqt.js";import"./clsx-B-dksMZM.js";import"./classnames-Dx2cly0x.js";import"./index-e5epXPAg.js";import"./index-fNjTmf9T.js";import"./index-BKFtrmjf.js";var y="Tabs",[U,Te]=z(y,[$]),M=$(),[Y,C]=U(y),q=p.forwardRef((e,a)=>{const{__scopeTabs:i,value:n,onValueChange:r,defaultValue:o,orientation:s="horizontal",dir:u,activationMode:l="automatic",...b}=e,d=J(u),[c,m]=K({prop:n,onChange:r,defaultProp:o});return t.jsx(Y,{scope:i,baseId:Q(),value:c,onValueChange:m,orientation:s,dir:d,activationMode:l,children:t.jsx(v.div,{dir:d,"data-orientation":s,...b,ref:a})})});q.displayName=y;var D="TabsList",x=p.forwardRef((e,a)=>{const{__scopeTabs:i,loop:n=!0,...r}=e,o=C(D,i),s=M(i);return t.jsx(B,{asChild:!0,...s,orientation:o.orientation,dir:o.dir,loop:n,children:t.jsx(v.div,{role:"tablist","aria-orientation":o.orientation,...r,ref:a})})});x.displayName=D;var F="TabsTrigger",N=p.forwardRef((e,a)=>{const{__scopeTabs:i,value:n,disabled:r=!1,...o}=e,s=C(F,i),u=M(i),l=G(s.baseId,n),b=O(s.baseId,n),d=n===s.value;return t.jsx(W,{asChild:!0,...u,focusable:!r,active:d,children:t.jsx(v.button,{type:"button",role:"tab","aria-selected":d,"aria-controls":b,"data-state":d?"active":"inactive","data-disabled":r?"":void 0,disabled:r,id:l,...o,ref:a,onMouseDown:h(e.onMouseDown,c=>{!r&&c.button===0&&c.ctrlKey===!1?s.onValueChange(n):c.preventDefault()}),onKeyDown:h(e.onKeyDown,c=>{[" ","Enter"].includes(c.key)&&s.onValueChange(n)}),onFocus:h(e.onFocus,()=>{const c=s.activationMode!=="manual";!d&&!r&&c&&s.onValueChange(n)})})})});N.displayName=F;var L="TabsContent",I=p.forwardRef((e,a)=>{const{__scopeTabs:i,value:n,forceMount:r,children:o,...s}=e,u=C(L,i),l=G(u.baseId,n),b=O(u.baseId,n),d=n===u.value,c=p.useRef(d);return p.useEffect(()=>{const m=requestAnimationFrame(()=>c.current=!1);return()=>cancelAnimationFrame(m)},[]),t.jsx(X,{present:r||d,children:({present:m})=>t.jsx(v.div,{"data-state":d?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":l,hidden:!m,id:b,tabIndex:0,...s,ref:a,style:{...e.style,animationDuration:c.current?"0s":void 0},children:m&&o})})});I.displayName=L;function G(e,a){return`${e}-trigger-${a}`}function O(e,a){return`${e}-content-${a}`}var k=q,Z=x,ee=N,te=I;const g=e=>{const{tabs:a,onValueChange:i,className:n,...r}=e,[o,s]=p.useState(r.defaultValue);if(!a.length)return null;const u=l=>{s(l),i==null||i(l)};return t.jsxs(k,{onValueChange:u,className:n,...r,children:[t.jsx(T,{tabs:a,value:o}),a.map(l=>t.jsx(te,{className:"outline-hidden",value:l.value,children:l.content},l.value))]})},T=e=>{const{tabs:a,value:i}=e;if(!a.length)return null;const n=100/a.length,r=a.findIndex(o=>o.value===i);return t.jsxs(Z,{className:"px-2 flex relative w-full rounded-xl bg-background-secondary h-12 outline-hidden ring-inset focus-within:[&:has(:focus-visible)]:ring-2 focus-within:ring-border-focus",style:{outline:void 0},children:[t.jsx("div",{className:"flex absolute inset-2 h-8",children:t.jsx("div",{className:"absolute rounded-lg top-0 left-0 h-8 bg-button-glass pointer-events-none transition-transform duration-200 ease-out",style:{width:`${n}%`,transform:`translateX(${r*100}%)`}})}),a.map(o=>t.jsx(ee,{className:"w-full h-full rounded-lg cursor-pointer relative bg-transparent select-none text-secondary outline-hidden appearance-none border-none z-2 data-[state=active]:text-primary disabled:opacity-50",value:o.value,children:t.jsx(E,{variant:"normal",fontWeight:"bold",className:"block",children:o.label})},o.value))]})},j=k,V=x,R=N,P=I;try{g.displayName="Tabs",g.__docgenInfo={description:"",displayName:"Tabs",props:{tabs:{defaultValue:null,description:"",name:"tabs",required:!0,type:{name:"(TabItemProps & { content: ReactNode; })[]"}},asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}}}}}catch{}try{T.displayName="TabsHeader",T.__docgenInfo={description:"",displayName:"TabsHeader",props:{tabs:{defaultValue:null,description:"",name:"tabs",required:!0,type:{name:"TabItemProps[]"}},value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"string | undefined"}}}}}catch{}try{j.displayName="TabsRoot",j.__docgenInfo={description:"",displayName:"TabsRoot",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}}}}}catch{}try{V.displayName="TabsList",V.__docgenInfo={description:"",displayName:"TabsList",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}}}}}catch{}try{R.displayName="TabsTrigger",R.__docgenInfo={description:"",displayName:"TabsTrigger",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}}}}}catch{}try{P.displayName="TabsContent",P.__docgenInfo={description:"",displayName:"TabsContent",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}}}}}catch{}const ye={title:"Components/Tabs",component:g},_=({children:e})=>t.jsx(H,{className:"mt-4",children:t.jsx(E,{variant:"normal",color:"secondary",children:e})}),f={args:{defaultValue:"coins",tabs:[{value:"coins",label:"Coins",content:t.jsx(_,{children:"Coins content"})},{value:"collectibles",label:"Collectibles",content:t.jsx(_,{children:"Collectibles content"})},{value:"other",label:"Other",content:t.jsx(_,{children:"Other content"})}]}};var S,w,A;f.parameters={...f.parameters,docs:{...(S=f.parameters)==null?void 0:S.docs,source:{originalSource:`{ args: { defaultValue: 'coins', tabs: [{ diff --git a/assets/Tag.stories-DanE-A-e.js b/assets/Tag.stories-CXjzyP-8.js similarity index 80% rename from assets/Tag.stories-DanE-A-e.js rename to assets/Tag.stories-CXjzyP-8.js index 65f222737..aa3b09ebe 100644 --- a/assets/Tag.stories-DanE-A-e.js +++ b/assets/Tag.stories-CXjzyP-8.js @@ -1,4 +1,4 @@ -import{e as f}from"./WarningIcon-C-Bue-nz.js";import{j as r}from"./jsx-runtime-z8MfsBtr.js";import{c as x}from"./index-DKHC-OhD.js";import{T as _}from"./Text-DiY0ipGE.js";import"./classnames-Dx2cly0x.js";import"./clsx-B-dksMZM.js";import"./index-C9rmetsa.js";import"./index-DEvaI7vP.js";import"./index-D1TSixAU.js";const y=x(["inline-flex","gap-1","px-2","py-1","whitespace-nowrap","bg-button-glass","text-secondary","rounded-xs"],{variants:{}}),s=t=>{const{icon:o,label:d,className:u,...g}=t;return r.jsxs("div",{className:y({className:u}),...g,children:[o&&r.jsx(o,{size:"xs"}),r.jsx(_,{variant:"xsmall",children:d})]})};try{s.displayName="Tag",s.__docgenInfo={description:"",displayName:"Tag",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},icon:{defaultValue:null,description:"",name:"icon",required:!1,type:{name:"ComponentType"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}}}catch{}const R={title:"Components/Tag",component:s},e={args:{label:"ERC1155"}},a={args:{label:"ERC1155",icon:f}};var n,c,i;e.parameters={...e.parameters,docs:{...(n=e.parameters)==null?void 0:n.docs,source:{originalSource:`{ +import{e as f}from"./WarningIcon-Z1cZGh4-.js";import{j as r}from"./jsx-runtime-Cf8x2fCZ.js";import{c as x}from"./index-Dp3B9jqt.js";import{T as _}from"./Text-c-Dt_3pd.js";import"./classnames-Dx2cly0x.js";import"./clsx-B-dksMZM.js";import"./index-yBjzXJbu.js";import"./index-BkTKsPvT.js";import"./index-DubqEmGm.js";const y=x(["inline-flex","gap-1","px-2","py-1","whitespace-nowrap","bg-button-glass","text-secondary","rounded-xs"],{variants:{}}),s=t=>{const{icon:o,label:d,className:u,...g}=t;return r.jsxs("div",{className:y({className:u}),...g,children:[o&&r.jsx(o,{size:"xs"}),r.jsx(_,{variant:"xsmall",children:d})]})};try{s.displayName="Tag",s.__docgenInfo={description:"",displayName:"Tag",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},icon:{defaultValue:null,description:"",name:"icon",required:!1,type:{name:"ComponentType"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}}}catch{}const R={title:"Components/Tag",component:s},e={args:{label:"ERC1155"}},a={args:{label:"ERC1155",icon:f}};var n,c,i;e.parameters={...e.parameters,docs:{...(n=e.parameters)==null?void 0:n.docs,source:{originalSource:`{ args: { label: 'ERC1155' } diff --git a/assets/Text-DiY0ipGE.js b/assets/Text-c-Dt_3pd.js similarity index 97% rename from assets/Text-DiY0ipGE.js rename to assets/Text-c-Dt_3pd.js index a7fae7654..690db3601 100644 --- a/assets/Text-DiY0ipGE.js +++ b/assets/Text-c-Dt_3pd.js @@ -1 +1 @@ -import{j as g}from"./jsx-runtime-z8MfsBtr.js";import{S as h}from"./index-DEvaI7vP.js";import{c as V}from"./index-DKHC-OhD.js";import{c as v}from"./classnames-Dx2cly0x.js";const l=V("",{variants:{variant:{inherit:["font-inherit","text-inherit","leading-inherit","tracking-inherit","font-inherit"],xlarge:["font-body","text-3xl","leading-9","tracking-none","font-bold"],large:["font-body","text-xl","leading-7","tracking-normal","font-semibold"],medium:["font-body","text-base","leading-6","tracking-normal","font-bold"],normal:["font-body","text-sm","leading-5","tracking-wide","font-normal"],small:["font-body","text-xs","leading-4","tracking-wide","font-medium"],xsmall:["font-body","text-[0.625rem]","leading-4","tracking-wide","font-bold"],code:["font-mono","text-sm","leading-5","tracking-none","font-normal"]},fontWeight:{normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold"},color:{primary:"text-primary",secondary:"text-secondary",muted:"text-muted",inverse:"text-inverse",white:"text-white",black:"text-black",negative:"text-negative",positive:"text-positive",warning:"text-warning",info:"text-info",text100:"text-primary",text80:"text-secondary",text50:"text-muted",inverse100:"text-inverse"},ellipsis:{true:["overflow-hidden","whitespace-nowrap","text-ellipsis"]},italic:{true:"italic"},underline:{true:"underline"},uppercase:{true:"uppercase"},capitalize:{true:"capitalize"},nowrap:{true:"whitespace-nowrap"},block:{true:"block"},hidden:{true:["border-0","clip-rect-0","h-[1px]","-m-[1px]","overflow-hidden","p-0","absolute","w-[1px]"]}},defaultVariants:{variant:"inherit"}}),a=e=>{const{asChild:n,variant:t="inherit",color:i,fontWeight:r,className:o,hidden:d,italic:u,underline:s,ellipsis:p,uppercase:m,capitalize:c,nowrap:f,block:x,...b}=e,y=n?h:"span";return g.jsx(y,{className:v(l({variant:t,fontWeight:r,color:i,hidden:d,italic:u,underline:s,ellipsis:p,uppercase:m,capitalize:c,nowrap:f,block:x}),o),...b})};try{l.displayName="textVariants",l.__docgenInfo={description:"",displayName:"textVariants",props:{variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:'"inherit" | "xlarge" | "large" | "medium" | "normal" | "small" | "xsmall" | "code" | null'}},fontWeight:{defaultValue:null,description:"",name:"fontWeight",required:!1,type:{name:'"medium" | "normal" | "semibold" | "bold" | null'}},color:{defaultValue:null,description:"",name:"color",required:!1,type:{name:'"info" | "warning" | "primary" | "secondary" | "muted" | "inverse" | "white" | "black" | "negative" | "positive" | "text100" | "text80" | "text50" | "inverse100" | null'}},ellipsis:{defaultValue:null,description:"",name:"ellipsis",required:!1,type:{name:"boolean | null"}},italic:{defaultValue:null,description:"",name:"italic",required:!1,type:{name:"boolean | null"}},underline:{defaultValue:null,description:"",name:"underline",required:!1,type:{name:"boolean | null"}},uppercase:{defaultValue:null,description:"",name:"uppercase",required:!1,type:{name:"boolean | null"}},capitalize:{defaultValue:null,description:"",name:"capitalize",required:!1,type:{name:"boolean | null"}},nowrap:{defaultValue:null,description:"",name:"nowrap",required:!1,type:{name:"boolean | null"}},block:{defaultValue:null,description:"",name:"block",required:!1,type:{name:"boolean | null"}},hidden:{defaultValue:null,description:"",name:"hidden",required:!1,type:{name:"boolean | null"}},class:{defaultValue:null,description:"",name:"class",required:!1,type:{name:"ClassValue"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"ClassValue"}}}}}catch{}try{a.displayName="Text",a.__docgenInfo={description:"",displayName:"Text",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:'"inherit" | "xlarge" | "large" | "medium" | "normal" | "small" | "xsmall" | "code" | null'}},fontWeight:{defaultValue:null,description:"",name:"fontWeight",required:!1,type:{name:'"medium" | "normal" | "semibold" | "bold" | null'}},color:{defaultValue:null,description:"",name:"color",required:!1,type:{name:'"info" | "warning" | "primary" | "secondary" | "muted" | "inverse" | "white" | "black" | "negative" | "positive" | "text100" | "text80" | "text50" | "inverse100" | null'}},ellipsis:{defaultValue:null,description:"",name:"ellipsis",required:!1,type:{name:"boolean | null"}},italic:{defaultValue:null,description:"",name:"italic",required:!1,type:{name:"boolean | null"}},underline:{defaultValue:null,description:"",name:"underline",required:!1,type:{name:"boolean | null"}},uppercase:{defaultValue:null,description:"",name:"uppercase",required:!1,type:{name:"boolean | null"}},capitalize:{defaultValue:null,description:"",name:"capitalize",required:!1,type:{name:"boolean | null"}},nowrap:{defaultValue:null,description:"",name:"nowrap",required:!1,type:{name:"boolean | null"}},block:{defaultValue:null,description:"",name:"block",required:!1,type:{name:"boolean | null"}},hidden:{defaultValue:null,description:"",name:"hidden",required:!1,type:{name:"boolean | null"}}}}}catch{}export{a as T,l as t}; +import{j as g}from"./jsx-runtime-Cf8x2fCZ.js";import{S as h}from"./index-BkTKsPvT.js";import{c as V}from"./index-Dp3B9jqt.js";import{c as v}from"./classnames-Dx2cly0x.js";const l=V("",{variants:{variant:{inherit:["font-inherit","text-inherit","leading-inherit","tracking-inherit","font-inherit"],xlarge:["font-body","text-3xl","leading-9","tracking-none","font-bold"],large:["font-body","text-xl","leading-7","tracking-normal","font-semibold"],medium:["font-body","text-base","leading-6","tracking-normal","font-bold"],normal:["font-body","text-sm","leading-5","tracking-wide","font-normal"],small:["font-body","text-xs","leading-4","tracking-wide","font-medium"],xsmall:["font-body","text-[0.625rem]","leading-4","tracking-wide","font-bold"],code:["font-mono","text-sm","leading-5","tracking-none","font-normal"]},fontWeight:{normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold"},color:{primary:"text-primary",secondary:"text-secondary",muted:"text-muted",inverse:"text-inverse",white:"text-white",black:"text-black",negative:"text-negative",positive:"text-positive",warning:"text-warning",info:"text-info",text100:"text-primary",text80:"text-secondary",text50:"text-muted",inverse100:"text-inverse"},ellipsis:{true:["overflow-hidden","whitespace-nowrap","text-ellipsis"]},italic:{true:"italic"},underline:{true:"underline"},uppercase:{true:"uppercase"},capitalize:{true:"capitalize"},nowrap:{true:"whitespace-nowrap"},block:{true:"block"},hidden:{true:["border-0","clip-rect-0","h-[1px]","-m-[1px]","overflow-hidden","p-0","absolute","w-[1px]"]}},defaultVariants:{variant:"inherit"}}),a=e=>{const{asChild:n,variant:t="inherit",color:i,fontWeight:r,className:o,hidden:d,italic:u,underline:s,ellipsis:p,uppercase:m,capitalize:c,nowrap:f,block:x,...b}=e,y=n?h:"span";return g.jsx(y,{className:v(l({variant:t,fontWeight:r,color:i,hidden:d,italic:u,underline:s,ellipsis:p,uppercase:m,capitalize:c,nowrap:f,block:x}),o),...b})};try{l.displayName="textVariants",l.__docgenInfo={description:"",displayName:"textVariants",props:{variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:'"inherit" | "xlarge" | "large" | "medium" | "normal" | "small" | "xsmall" | "code" | null'}},fontWeight:{defaultValue:null,description:"",name:"fontWeight",required:!1,type:{name:'"medium" | "normal" | "semibold" | "bold" | null'}},color:{defaultValue:null,description:"",name:"color",required:!1,type:{name:'"info" | "warning" | "primary" | "secondary" | "muted" | "inverse" | "white" | "black" | "negative" | "positive" | "text100" | "text80" | "text50" | "inverse100" | null'}},ellipsis:{defaultValue:null,description:"",name:"ellipsis",required:!1,type:{name:"boolean | null"}},italic:{defaultValue:null,description:"",name:"italic",required:!1,type:{name:"boolean | null"}},underline:{defaultValue:null,description:"",name:"underline",required:!1,type:{name:"boolean | null"}},uppercase:{defaultValue:null,description:"",name:"uppercase",required:!1,type:{name:"boolean | null"}},capitalize:{defaultValue:null,description:"",name:"capitalize",required:!1,type:{name:"boolean | null"}},nowrap:{defaultValue:null,description:"",name:"nowrap",required:!1,type:{name:"boolean | null"}},block:{defaultValue:null,description:"",name:"block",required:!1,type:{name:"boolean | null"}},hidden:{defaultValue:null,description:"",name:"hidden",required:!1,type:{name:"boolean | null"}},class:{defaultValue:null,description:"",name:"class",required:!1,type:{name:"ClassValue"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"ClassValue"}}}}}catch{}try{a.displayName="Text",a.__docgenInfo={description:"",displayName:"Text",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:'"inherit" | "xlarge" | "large" | "medium" | "normal" | "small" | "xsmall" | "code" | null'}},fontWeight:{defaultValue:null,description:"",name:"fontWeight",required:!1,type:{name:'"medium" | "normal" | "semibold" | "bold" | null'}},color:{defaultValue:null,description:"",name:"color",required:!1,type:{name:'"info" | "warning" | "primary" | "secondary" | "muted" | "inverse" | "white" | "black" | "negative" | "positive" | "text100" | "text80" | "text50" | "inverse100" | null'}},ellipsis:{defaultValue:null,description:"",name:"ellipsis",required:!1,type:{name:"boolean | null"}},italic:{defaultValue:null,description:"",name:"italic",required:!1,type:{name:"boolean | null"}},underline:{defaultValue:null,description:"",name:"underline",required:!1,type:{name:"boolean | null"}},uppercase:{defaultValue:null,description:"",name:"uppercase",required:!1,type:{name:"boolean | null"}},capitalize:{defaultValue:null,description:"",name:"capitalize",required:!1,type:{name:"boolean | null"}},nowrap:{defaultValue:null,description:"",name:"nowrap",required:!1,type:{name:"boolean | null"}},block:{defaultValue:null,description:"",name:"block",required:!1,type:{name:"boolean | null"}},hidden:{defaultValue:null,description:"",name:"hidden",required:!1,type:{name:"boolean | null"}}}}}catch{}export{a as T,l as t}; diff --git a/assets/Text.stories-CPU4kQlD.js b/assets/Text.stories-C2qEyU2H.js similarity index 94% rename from assets/Text.stories-CPU4kQlD.js rename to assets/Text.stories-C2qEyU2H.js index 2567a2eff..6802343c2 100644 --- a/assets/Text.stories-CPU4kQlD.js +++ b/assets/Text.stories-C2qEyU2H.js @@ -1,4 +1,4 @@ -import{j as i}from"./jsx-runtime-z8MfsBtr.js";import{T as F}from"./Text-DiY0ipGE.js";import"./index-C9rmetsa.js";import"./index-DEvaI7vP.js";import"./index-D1TSixAU.js";import"./index-DKHC-OhD.js";import"./clsx-B-dksMZM.js";import"./classnames-Dx2cly0x.js";const J={title:"Components/Text",component:F},r={args:{variant:"xlarge",color:"primary",children:"Hello, world!"}},o={args:{variant:"large",color:"primary",children:"Hello, world!"}},e={args:{variant:"medium",color:"primary",children:"Hello, world!"}},a={args:{variant:"normal",color:"primary",fontWeight:"bold",children:"Hello, world!"}},n={args:{variant:"large",color:"primary",children:"Hello, world!"}},l={args:{variant:"normal",color:"primary",children:"Hello, world!"}},s={args:{variant:"normal",color:"primary",children:i.jsxs(i.Fragment,{children:[i.jsx(F,{fontWeight:"bold",color:"positive",children:"Hello"})," World!"]})}},c={args:{variant:"code",color:"primary",children:"Hello, world!"}};var t,d,m;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`{ +import{j as i}from"./jsx-runtime-Cf8x2fCZ.js";import{T as F}from"./Text-c-Dt_3pd.js";import"./index-yBjzXJbu.js";import"./index-BkTKsPvT.js";import"./index-DubqEmGm.js";import"./index-Dp3B9jqt.js";import"./clsx-B-dksMZM.js";import"./classnames-Dx2cly0x.js";const J={title:"Components/Text",component:F},r={args:{variant:"xlarge",color:"primary",children:"Hello, world!"}},o={args:{variant:"large",color:"primary",children:"Hello, world!"}},e={args:{variant:"medium",color:"primary",children:"Hello, world!"}},a={args:{variant:"normal",color:"primary",fontWeight:"bold",children:"Hello, world!"}},n={args:{variant:"large",color:"primary",children:"Hello, world!"}},l={args:{variant:"normal",color:"primary",children:"Hello, world!"}},s={args:{variant:"normal",color:"primary",children:i.jsxs(i.Fragment,{children:[i.jsx(F,{fontWeight:"bold",color:"positive",children:"Hello"})," World!"]})}},c={args:{variant:"code",color:"primary",children:"Hello, world!"}};var t,d,m;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`{ args: { variant: 'xlarge', color: 'primary', diff --git a/assets/TextArea-eR4gtFpK.js b/assets/TextArea-BpNyW7g9.js similarity index 87% rename from assets/TextArea-eR4gtFpK.js rename to assets/TextArea-BpNyW7g9.js index 02e5a5e62..ce05e1ba5 100644 --- a/assets/TextArea-eR4gtFpK.js +++ b/assets/TextArea-BpNyW7g9.js @@ -1 +1 @@ -import{j as l}from"./jsx-runtime-z8MfsBtr.js";import{c as y}from"./index-DKHC-OhD.js";import{r as b}from"./index-D1TSixAU.js";import{F as x}from"./Field-Dz_fFMgk.js";import{c as g}from"./classnames-Dx2cly0x.js";import{t as V}from"./Text-DiY0ipGE.js";const q=y([V({variant:"normal"}),"block bg-transparent text-primary w-full p-4 rounded-xl","outline-hidden ring-inset ring-1 ring-border-normal","cursor-text disabled:cursor-default disabled:opacity-50","focus:opacity-100 focus:ring-2 focus:ring-border-focus","placeholder-muted","resize-none"],{variants:{resize:{true:"resize-y",false:"resize-none"}},defaultVariants:{resize:!1}}),n=b.forwardRef((a,i)=>{const{autoComplete:s="off",description:o,disabled:r=!1,id:t,label:d="",labelLocation:u="hidden",name:e,rows:c,resize:p=!1,className:m,...f}=a;return l.jsx(x,{description:o,disabled:r,id:t??e,label:d,labelLocation:u,className:"grid",children:l.jsx("textarea",{autoComplete:s,spellCheck:"false",className:g(q({resize:p}),m),disabled:r,id:t??e,name:e,ref:i,rows:c,...f})})});try{n.displayName="TextArea",n.__docgenInfo={description:"",displayName:"TextArea",props:{name:{defaultValue:null,description:"",name:"name",required:!0,type:{name:"string"}},controls:{defaultValue:null,description:"",name:"controls",required:!1,type:{name:"ReactNode"}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"string"}},rows:{defaultValue:null,description:"",name:"rows",required:!1,type:{name:"number"}},resize:{defaultValue:null,description:"",name:"resize",required:!1,type:{name:"boolean"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:'"hidden" | "top" | "left" | "right" | null'}}}}}catch{}export{n as T}; +import{j as l}from"./jsx-runtime-Cf8x2fCZ.js";import{c as y}from"./index-Dp3B9jqt.js";import{r as b}from"./index-DubqEmGm.js";import{F as x}from"./Field-BUPg2hwy.js";import{c as g}from"./classnames-Dx2cly0x.js";import{t as V}from"./Text-c-Dt_3pd.js";const q=y([V({variant:"normal"}),"block bg-transparent text-primary w-full p-4 rounded-xl","outline-hidden ring-inset ring-1 ring-border-normal","cursor-text disabled:cursor-default disabled:opacity-50","focus:opacity-100 focus:ring-2 focus:ring-border-focus","placeholder-muted","resize-none"],{variants:{resize:{true:"resize-y",false:"resize-none"}},defaultVariants:{resize:!1}}),n=b.forwardRef((a,i)=>{const{autoComplete:s="off",description:o,disabled:r=!1,id:t,label:d="",labelLocation:u="hidden",name:e,rows:c,resize:p=!1,className:m,...f}=a;return l.jsx(x,{description:o,disabled:r,id:t??e,label:d,labelLocation:u,className:"grid",children:l.jsx("textarea",{autoComplete:s,spellCheck:"false",className:g(q({resize:p}),m),disabled:r,id:t??e,name:e,ref:i,rows:c,...f})})});try{n.displayName="TextArea",n.__docgenInfo={description:"",displayName:"TextArea",props:{name:{defaultValue:null,description:"",name:"name",required:!0,type:{name:"string"}},controls:{defaultValue:null,description:"",name:"controls",required:!1,type:{name:"ReactNode"}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"string"}},rows:{defaultValue:null,description:"",name:"rows",required:!1,type:{name:"number"}},resize:{defaultValue:null,description:"",name:"resize",required:!1,type:{name:"boolean"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:'"hidden" | "top" | "left" | "right" | null'}}}}}catch{}export{n as T}; diff --git a/assets/TextArea.stories-Ds9Zy2WA.js b/assets/TextArea.stories-DOP6JfqR.js similarity index 66% rename from assets/TextArea.stories-Ds9Zy2WA.js rename to assets/TextArea.stories-DOP6JfqR.js index 447e72e32..c0b4d80fc 100644 --- a/assets/TextArea.stories-Ds9Zy2WA.js +++ b/assets/TextArea.stories-DOP6JfqR.js @@ -1,4 +1,4 @@ -import{T as s}from"./TextArea-eR4gtFpK.js";import"./jsx-runtime-z8MfsBtr.js";import"./index-C9rmetsa.js";import"./index-DKHC-OhD.js";import"./clsx-B-dksMZM.js";import"./index-D1TSixAU.js";import"./Field-Dz_fFMgk.js";import"./Text-DiY0ipGE.js";import"./index-DEvaI7vP.js";import"./classnames-Dx2cly0x.js";const u={title:"Forms/TextArea",component:s},e={args:{label:"This the label",description:"This is the description",placeholder:"This is the placeholder",labelLocation:"top",rows:3,resize:!0}};var r,t,o;e.parameters={...e.parameters,docs:{...(r=e.parameters)==null?void 0:r.docs,source:{originalSource:`{ +import{T as s}from"./TextArea-BpNyW7g9.js";import"./jsx-runtime-Cf8x2fCZ.js";import"./index-yBjzXJbu.js";import"./index-Dp3B9jqt.js";import"./clsx-B-dksMZM.js";import"./index-DubqEmGm.js";import"./Field-BUPg2hwy.js";import"./Text-c-Dt_3pd.js";import"./index-BkTKsPvT.js";import"./classnames-Dx2cly0x.js";const u={title:"Forms/TextArea",component:s},e={args:{label:"This the label",description:"This is the description",placeholder:"This is the placeholder",labelLocation:"top",rows:3,resize:!0}};var r,t,o;e.parameters={...e.parameters,docs:{...(r=e.parameters)==null?void 0:r.docs,source:{originalSource:`{ args: { label: 'This the label', description: 'This is the description', diff --git a/assets/TextInput-yPmOWNKY.js b/assets/TextInput-DuktM35c.js similarity index 89% rename from assets/TextInput-yPmOWNKY.js rename to assets/TextInput-DuktM35c.js index ce2669c1c..3148bb173 100644 --- a/assets/TextInput-yPmOWNKY.js +++ b/assets/TextInput-DuktM35c.js @@ -1 +1 @@ -import{j as e}from"./jsx-runtime-z8MfsBtr.js";import{c as I}from"./index-DKHC-OhD.js";import{r as V}from"./index-D1TSixAU.js";import{F as N}from"./Field-Dz_fFMgk.js";import{c as o}from"./classnames-Dx2cly0x.js";import{t as s}from"./Text-DiY0ipGE.js";const q=I(["block bg-transparent text-primary border-none px-0 py-4 w-full h-full placeholder-muted","focus:outline-hidden focus:ring-0"],{variants:{numeric:{false:s({variant:"normal"}),true:s({variant:"large"})}},defaultVariants:{numeric:!1}}),c=V.forwardRef((t,u)=>{const{autoComplete:d="off",description:p,disabled:r=!1,id:a,label:m="",labelLocation:f="hidden",leftIcon:l,rightIcon:i,name:n,controls:x,type:y="text",numeric:g=!1,className:h,...b}=t;return e.jsx(N,{description:p,disabled:r,id:a??n,label:m,labelLocation:f,className:"grid",children:e.jsx("div",{className:"w-full",children:e.jsxs("div",{className:o("inline-flex items-center bg-transparent text-primary min-w-full px-4 gap-2 rounded-xl","h-[52px] cursor-text","ring-inset ring-1 ring-border-normal focus-within:ring-2 focus-within:ring-border-focus focus-within:opacity-100",{"cursor-default opacity-50":r}),children:[l&&e.jsx(l,{size:"sm"}),e.jsx("input",{autoComplete:d,spellCheck:"false",className:o(q({numeric:g}),h),disabled:r,id:a??n,name:n,ref:u,type:y,...b}),i&&e.jsx(i,{size:"sm"}),x]})})})});try{c.displayName="TextInput",c.__docgenInfo={description:"",displayName:"TextInput",props:{leftIcon:{defaultValue:null,description:"",name:"leftIcon",required:!1,type:{name:"ComponentType"}},rightIcon:{defaultValue:null,description:"",name:"rightIcon",required:!1,type:{name:"ComponentType"}},name:{defaultValue:null,description:"",name:"name",required:!0,type:{name:"string"}},numeric:{defaultValue:null,description:"",name:"numeric",required:!1,type:{name:"boolean"}},controls:{defaultValue:null,description:"",name:"controls",required:!1,type:{name:"ReactNode"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:'"hidden" | "top" | "left" | "right" | null'}}}}}catch{}export{c as T}; +import{j as e}from"./jsx-runtime-Cf8x2fCZ.js";import{c as I}from"./index-Dp3B9jqt.js";import{r as V}from"./index-DubqEmGm.js";import{F as N}from"./Field-BUPg2hwy.js";import{c as o}from"./classnames-Dx2cly0x.js";import{t as s}from"./Text-c-Dt_3pd.js";const q=I(["block bg-transparent text-primary border-none px-0 py-4 w-full h-full placeholder-muted","focus:outline-hidden focus:ring-0"],{variants:{numeric:{false:s({variant:"normal"}),true:s({variant:"large"})}},defaultVariants:{numeric:!1}}),c=V.forwardRef((t,u)=>{const{autoComplete:d="off",description:p,disabled:r=!1,id:a,label:m="",labelLocation:f="hidden",leftIcon:l,rightIcon:i,name:n,controls:x,type:y="text",numeric:g=!1,className:h,...b}=t;return e.jsx(N,{description:p,disabled:r,id:a??n,label:m,labelLocation:f,className:"grid",children:e.jsx("div",{className:"w-full",children:e.jsxs("div",{className:o("inline-flex items-center bg-transparent text-primary min-w-full px-4 gap-2 rounded-xl","h-[52px] cursor-text","ring-inset ring-1 ring-border-normal focus-within:ring-2 focus-within:ring-border-focus focus-within:opacity-100",{"cursor-default opacity-50":r}),children:[l&&e.jsx(l,{size:"sm"}),e.jsx("input",{autoComplete:d,spellCheck:"false",className:o(q({numeric:g}),h),disabled:r,id:a??n,name:n,ref:u,type:y,...b}),i&&e.jsx(i,{size:"sm"}),x]})})})});try{c.displayName="TextInput",c.__docgenInfo={description:"",displayName:"TextInput",props:{leftIcon:{defaultValue:null,description:"",name:"leftIcon",required:!1,type:{name:"ComponentType"}},rightIcon:{defaultValue:null,description:"",name:"rightIcon",required:!1,type:{name:"ComponentType"}},name:{defaultValue:null,description:"",name:"name",required:!0,type:{name:"string"}},numeric:{defaultValue:null,description:"",name:"numeric",required:!1,type:{name:"boolean"}},controls:{defaultValue:null,description:"",name:"controls",required:!1,type:{name:"ReactNode"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:'"hidden" | "top" | "left" | "right" | null'}}}}}catch{}export{c as T}; diff --git a/assets/TextInput.stories-Cx-Smm4E.js b/assets/TextInput.stories-Bt4uSDTF.js similarity index 85% rename from assets/TextInput.stories-Cx-Smm4E.js rename to assets/TextInput.stories-Bt4uSDTF.js index 67a370dc7..737d8082f 100644 --- a/assets/TextInput.stories-Cx-Smm4E.js +++ b/assets/TextInput.stories-Bt4uSDTF.js @@ -1,4 +1,4 @@ -import{j as l}from"./jsx-runtime-z8MfsBtr.js";import{B as c}from"./Button-e99vAgb9.js";import{I as R}from"./IconButton-M16ADBdN.js";import{S as z,a as C,c as q,d as L}from"./WarningIcon-C-Bue-nz.js";import{T as w}from"./TextInput-yPmOWNKY.js";import"./index-C9rmetsa.js";import"./index-DEvaI7vP.js";import"./index-D1TSixAU.js";import"./index-DKHC-OhD.js";import"./clsx-B-dksMZM.js";import"./Text-DiY0ipGE.js";import"./classnames-Dx2cly0x.js";import"./Field-Dz_fFMgk.js";const J={title:"Forms/TextInput",component:w},e={args:{label:"This the label",description:"This is the description",placeholder:"This is the placeholder",labelLocation:"top",disabled:!1}},s={args:{label:"This the label",placeholder:"This is the placeholder",leftIcon:z}},o={args:{label:"This the label",placeholder:"This is the placeholder",rightIcon:C}},r={args:{label:"This the label",placeholder:"This is the placeholder",leftIcon:z,rightIcon:C}},a={args:{placeholder:"Search for coins or collectibles",leftIcon:q,controls:l.jsx(R,{icon:L,size:"xs"})}},t={args:{label:"This the label",placeholder:"This is the placeholder",controls:l.jsxs("div",{className:"flex gap-2",children:[l.jsx(c,{label:"Max",size:"xs",shape:"square",disabled:!0}),l.jsx(c,{label:"Paste",size:"xs",shape:"square"})]})}};var i,n,h;e.parameters={...e.parameters,docs:{...(i=e.parameters)==null?void 0:i.docs,source:{originalSource:`{ +import{j as l}from"./jsx-runtime-Cf8x2fCZ.js";import{B as c}from"./Button-CJ_2iam3.js";import{I as R}from"./IconButton-tt72d-YU.js";import{S as z,a as C,c as q,d as L}from"./WarningIcon-Z1cZGh4-.js";import{T as w}from"./TextInput-DuktM35c.js";import"./index-yBjzXJbu.js";import"./index-BkTKsPvT.js";import"./index-DubqEmGm.js";import"./index-Dp3B9jqt.js";import"./clsx-B-dksMZM.js";import"./Text-c-Dt_3pd.js";import"./classnames-Dx2cly0x.js";import"./Field-BUPg2hwy.js";const J={title:"Forms/TextInput",component:w},e={args:{label:"This the label",description:"This is the description",placeholder:"This is the placeholder",labelLocation:"top",disabled:!1}},s={args:{label:"This the label",placeholder:"This is the placeholder",leftIcon:z}},o={args:{label:"This the label",placeholder:"This is the placeholder",rightIcon:C}},r={args:{label:"This the label",placeholder:"This is the placeholder",leftIcon:z,rightIcon:C}},a={args:{placeholder:"Search for coins or collectibles",leftIcon:q,controls:l.jsx(R,{icon:L,size:"xs"})}},t={args:{label:"This the label",placeholder:"This is the placeholder",controls:l.jsxs("div",{className:"flex gap-2",children:[l.jsx(c,{label:"Max",size:"xs",shape:"square",disabled:!0}),l.jsx(c,{label:"Paste",size:"xs",shape:"square"})]})}};var i,n,h;e.parameters={...e.parameters,docs:{...(i=e.parameters)==null?void 0:i.docs,source:{originalSource:`{ args: { label: 'This the label', description: 'This is the description', diff --git a/assets/ThemeProvider-CHaDE3bZ.js b/assets/ThemeProvider-BFEsm4Z9.js similarity index 87% rename from assets/ThemeProvider-CHaDE3bZ.js rename to assets/ThemeProvider-BFEsm4Z9.js index 228435dca..fa7ce209e 100644 --- a/assets/ThemeProvider-CHaDE3bZ.js +++ b/assets/ThemeProvider-BFEsm4Z9.js @@ -1 +1 @@ -import{j as y}from"./jsx-runtime-z8MfsBtr.js";import{r as o}from"./index-D1TSixAU.js";import{c as g,a as E}from"./color-CiP8tUik.js";const i="dark",l="data-theme",m="@sequence.theme",a=e=>typeof e=="string"&&g.includes(e),S=e=>typeof e=="object"&&e!==null&&!Array.isArray(e),f=e=>e?`${m}.${e}`:m,b=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),u=(e,t)=>{Object.entries(t).forEach(([n,s])=>{if(s){const c=b(n);e.style.setProperty(`--color-${c}`,s)}})},C=e=>{const t=localStorage.getItem(f(e));return t&&a(t)?t:null},_=()=>matchMedia("(prefers-color-scheme: light)").matches?"light":matchMedia("(prefers-color-scheme: dark)").matches?"dark":null,h=o.createContext(null),d=e=>{const[t,n]=o.useState(e.theme||i),[s,c]=o.useState(void 0);o.useEffect(()=>{/Mac/.test(window.navigator.userAgent)&&window.document.documentElement.classList.add("is-apple")},[]),o.useEffect(()=>{const r=e.theme||C(e.scope)||e.prefersColorScheme&&_()||i;n(r)},[e.theme,e.scope,e.prefersColorScheme]),o.useEffect(()=>{const r=typeof e.root=="object"?e.root:document.querySelector(e.root||":root");r&&(a(t)?(r.setAttribute(l,t),u(r,E[t])):S(t)&&(r.setAttribute(l,"custom"),u(r,t)),e.root&&r.classList.add("seq-root"),c(e.root?r:document.body))},[t,e.root]);const T=o.useMemo(()=>({theme:t,container:s,setTheme:r=>{a(r)&&localStorage.setItem(f(e.scope),r),n(r)}}),[t,s,e.scope]);return y.jsx(h.Provider,{value:T,children:e.children})},w=()=>{const e=o.useContext(h);if(!e)throw new Error("useTheme must be used within a ThemeProvider");return e};try{d.displayName="ThemeProvider",d.__docgenInfo={description:"",displayName:"ThemeProvider",props:{theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"Theme"}},root:{defaultValue:null,description:"",name:"root",required:!1,type:{name:"string | HTMLElement"}},scope:{defaultValue:null,description:"",name:"scope",required:!1,type:{name:"string"}},prefersColorScheme:{defaultValue:null,description:"",name:"prefersColorScheme",required:!1,type:{name:"boolean"}}}}}catch{}export{d as T,w as u}; +import{j as y}from"./jsx-runtime-Cf8x2fCZ.js";import{r as o}from"./index-DubqEmGm.js";import{c as g,a as E}from"./color-CiP8tUik.js";const i="dark",l="data-theme",m="@sequence.theme",a=e=>typeof e=="string"&&g.includes(e),S=e=>typeof e=="object"&&e!==null&&!Array.isArray(e),f=e=>e?`${m}.${e}`:m,b=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),u=(e,t)=>{Object.entries(t).forEach(([n,s])=>{if(s){const c=b(n);e.style.setProperty(`--color-${c}`,s)}})},C=e=>{const t=localStorage.getItem(f(e));return t&&a(t)?t:null},_=()=>matchMedia("(prefers-color-scheme: light)").matches?"light":matchMedia("(prefers-color-scheme: dark)").matches?"dark":null,h=o.createContext(null),d=e=>{const[t,n]=o.useState(e.theme||i),[s,c]=o.useState(void 0);o.useEffect(()=>{/Mac/.test(window.navigator.userAgent)&&window.document.documentElement.classList.add("is-apple")},[]),o.useEffect(()=>{const r=e.theme||C(e.scope)||e.prefersColorScheme&&_()||i;n(r)},[e.theme,e.scope,e.prefersColorScheme]),o.useEffect(()=>{const r=typeof e.root=="object"?e.root:document.querySelector(e.root||":root");r&&(a(t)?(r.setAttribute(l,t),u(r,E[t])):S(t)&&(r.setAttribute(l,"custom"),u(r,t)),e.root&&r.classList.add("seq-root"),c(e.root?r:document.body))},[t,e.root]);const T=o.useMemo(()=>({theme:t,container:s,setTheme:r=>{a(r)&&localStorage.setItem(f(e.scope),r),n(r)}}),[t,s,e.scope]);return y.jsx(h.Provider,{value:T,children:e.children})},v=()=>{const e=o.useContext(h);if(!e)throw new Error("useTheme must be used within a ThemeProvider");return e};try{d.displayName="ThemeProvider",d.__docgenInfo={description:"",displayName:"ThemeProvider",props:{theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"Theme"}},root:{defaultValue:null,description:"",name:"root",required:!1,type:{name:"string | HTMLElement"}},scope:{defaultValue:null,description:"",name:"scope",required:!1,type:{name:"string"}},prefersColorScheme:{defaultValue:null,description:"",name:"prefersColorScheme",required:!1,type:{name:"boolean"}}}}}catch{}export{d as T,v as u}; diff --git a/assets/ThemeProvider.stories-DXmThDvQ.js b/assets/ThemeProvider.stories-BTgDvQyw.js similarity index 93% rename from assets/ThemeProvider.stories-DXmThDvQ.js rename to assets/ThemeProvider.stories-BTgDvQyw.js index bd9027127..8f58121e5 100644 --- a/assets/ThemeProvider.stories-DXmThDvQ.js +++ b/assets/ThemeProvider.stories-BTgDvQyw.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-z8MfsBtr.js";import{B as x}from"./Button-e99vAgb9.js";import{C as i}from"./Card-DDkzOCNp.js";import{C as r}from"./Collapsible-CI3jQMMU.js";import{T as a}from"./Text-DiY0ipGE.js";import{T as t,u as v}from"./ThemeProvider-CHaDE3bZ.js";import"./index-C9rmetsa.js";import"./index-DEvaI7vP.js";import"./index-D1TSixAU.js";import"./index-DKHC-OhD.js";import"./clsx-B-dksMZM.js";import"./classnames-Dx2cly0x.js";import"./index-BWtkTp-R.js";import"./index-CuZtKiOG.js";import"./index-Dcf1nc42.js";import"./index-D2m0ySOf.js";import"./index-DogTl_U1.js";import"./index-VR-_z_Zs.js";import"./WarningIcon-C-Bue-nz.js";import"./proxy-DndLXkKn.js";import"./index-0Y1j60H7.js";import"./color-CiP8tUik.js";const z={title:"Components/ThemeProvider",component:t},l=()=>{const{theme:o,setTheme:s}=v(),m=()=>{s(o==="light"?"dark":"light")};return e.jsx(x,{label:"Toggle theme",onClick:m})},n=()=>e.jsxs(i,{children:[e.jsx(a,{variant:"normal",color:"primary",fontWeight:"bold",children:"Root Application"}),e.jsx("div",{id:"app1",children:e.jsx(t,{root:"#app1",scope:"application1",theme:"light",children:e.jsx(i,{className:"bg-background-primary mt-4",children:e.jsxs(r,{label:"Nested Application 1",children:[e.jsx(a,{variant:"normal",color:"primary",children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."}),e.jsx("div",{className:"mt-4",children:e.jsx(u,{})}),e.jsx("div",{id:"app2",children:e.jsx(t,{root:"#app2",scope:"application2",theme:"dark",children:e.jsx(i,{className:"bg-background-primary mt-4",children:e.jsxs(r,{label:"Nested Application 2 (Dark)",children:[e.jsx(a,{variant:"normal",color:"primary",children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."}),e.jsx("div",{className:"mt-4",children:e.jsx(u,{})})]})})})}),e.jsx("div",{id:"app3",children:e.jsx(t,{root:"#app3",scope:"application3",theme:{primary:"rgba(255, 255, 255, 1)",secondary:"rgba(200, 200, 255, 1)",muted:"rgba(150, 150, 200, 1)",backgroundPrimary:"pink",backgroundSecondary:"navy"},children:e.jsx(i,{className:"bg-background-primary mt-4",children:e.jsx(r,{label:"Nested Application 3 (Custom Theme)",children:e.jsx(a,{variant:"normal",color:"primary",children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."})})})})}),e.jsx("div",{id:"app4",children:e.jsx(t,{root:"#app4",scope:"application4",prefersColorScheme:!0,children:e.jsx(i,{className:"bg-background-primary mt-4",children:e.jsx(r,{label:"Nested Application 4 (Prefers Color Scheme)",children:e.jsx(a,{variant:"normal",color:"primary",children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."})})})})})]})})})})]}),u=()=>{const{theme:o,setTheme:s}=v(),m=o==="light"?"Dark":"Light",T=()=>{s(o==="light"?"dark":"light")};return e.jsx(x,{label:`Set ${m} Mode`,onClick:T})};var d,c,p;l.parameters={...l.parameters,docs:{...(d=l.parameters)==null?void 0:d.docs,source:{originalSource:`() => { +import{j as e}from"./jsx-runtime-Cf8x2fCZ.js";import{B as x}from"./Button-CJ_2iam3.js";import{C as i}from"./Card-BcrLDAIN.js";import{C as r}from"./Collapsible-kswwTpjF.js";import{T as a}from"./Text-c-Dt_3pd.js";import{T as t,u as v}from"./ThemeProvider-BFEsm4Z9.js";import"./index-yBjzXJbu.js";import"./index-BkTKsPvT.js";import"./index-DubqEmGm.js";import"./index-Dp3B9jqt.js";import"./clsx-B-dksMZM.js";import"./classnames-Dx2cly0x.js";import"./index-DKEAZgBW.js";import"./index-EKtyzmkF.js";import"./index-e5epXPAg.js";import"./index-fNjTmf9T.js";import"./index-SbpNQzLY.js";import"./index-Cbw-VAaK.js";import"./WarningIcon-Z1cZGh4-.js";import"./proxy-71i4uxHe.js";import"./index-D5x9zqoE.js";import"./color-CiP8tUik.js";const z={title:"Components/ThemeProvider",component:t},l=()=>{const{theme:o,setTheme:s}=v(),m=()=>{s(o==="light"?"dark":"light")};return e.jsx(x,{label:"Toggle theme",onClick:m})},n=()=>e.jsxs(i,{children:[e.jsx(a,{variant:"normal",color:"primary",fontWeight:"bold",children:"Root Application"}),e.jsx("div",{id:"app1",children:e.jsx(t,{root:"#app1",scope:"application1",theme:"light",children:e.jsx(i,{className:"bg-background-primary mt-4",children:e.jsxs(r,{label:"Nested Application 1",children:[e.jsx(a,{variant:"normal",color:"primary",children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."}),e.jsx("div",{className:"mt-4",children:e.jsx(u,{})}),e.jsx("div",{id:"app2",children:e.jsx(t,{root:"#app2",scope:"application2",theme:"dark",children:e.jsx(i,{className:"bg-background-primary mt-4",children:e.jsxs(r,{label:"Nested Application 2 (Dark)",children:[e.jsx(a,{variant:"normal",color:"primary",children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."}),e.jsx("div",{className:"mt-4",children:e.jsx(u,{})})]})})})}),e.jsx("div",{id:"app3",children:e.jsx(t,{root:"#app3",scope:"application3",theme:{primary:"rgba(255, 255, 255, 1)",secondary:"rgba(200, 200, 255, 1)",muted:"rgba(150, 150, 200, 1)",backgroundPrimary:"pink",backgroundSecondary:"navy"},children:e.jsx(i,{className:"bg-background-primary mt-4",children:e.jsx(r,{label:"Nested Application 3 (Custom Theme)",children:e.jsx(a,{variant:"normal",color:"primary",children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."})})})})}),e.jsx("div",{id:"app4",children:e.jsx(t,{root:"#app4",scope:"application4",prefersColorScheme:!0,children:e.jsx(i,{className:"bg-background-primary mt-4",children:e.jsx(r,{label:"Nested Application 4 (Prefers Color Scheme)",children:e.jsx(a,{variant:"normal",color:"primary",children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."})})})})})]})})})})]}),u=()=>{const{theme:o,setTheme:s}=v(),m=o==="light"?"Dark":"Light",T=()=>{s(o==="light"?"dark":"light")};return e.jsx(x,{label:`Set ${m} Mode`,onClick:T})};var d,c,p;l.parameters={...l.parameters,docs:{...(d=l.parameters)==null?void 0:d.docs,source:{originalSource:`() => { const { theme, setTheme diff --git a/assets/Toast.stories-C-ptQYRa.js b/assets/Toast.stories-_MvHTY8i.js similarity index 94% rename from assets/Toast.stories-C-ptQYRa.js rename to assets/Toast.stories-_MvHTY8i.js index f2ada7555..55bd8b225 100644 --- a/assets/Toast.stories-C-ptQYRa.js +++ b/assets/Toast.stories-_MvHTY8i.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-z8MfsBtr.js";import{B as We}from"./Button-e99vAgb9.js";import{C as ge}from"./Card-DDkzOCNp.js";import{d as ie,b as Ke,g as He}from"./WarningIcon-C-Bue-nz.js";import{r as n}from"./index-D1TSixAU.js";import{r as $e}from"./index-Dcf1nc42.js";import{a as Be,c as P,b as q,u as qe}from"./index-BWtkTp-R.js";import{u as Ce}from"./index-DEvaI7vP.js";import{c as Ue}from"./index-BFS5t9Ij.js";import{P as D,c as Xe,d as Ye}from"./index-CuZtKiOG.js";import{R as ze,P as Qe,B as Ge}from"./index-DCVWRiMv.js";import{P as Je}from"./index-DogTl_U1.js";import{V as Pe}from"./index--wnn4zir.js";import{c as Ze}from"./index-DKHC-OhD.js";import{I as et}from"./IconButton-M16ADBdN.js";import{T as ce}from"./Text-DiY0ipGE.js";import{m as tt}from"./proxy-DndLXkKn.js";import{A as rt}from"./index-0Y1j60H7.js";import"./index-C9rmetsa.js";import"./classnames-Dx2cly0x.js";import"./clsx-B-dksMZM.js";import"./index-D2m0ySOf.js";var se="ToastProvider",[oe,st,ot]=Ue("Toast"),[be,Zt]=Xe("Toast",[ot]),[nt,X]=be(se),Se=e=>{const{__scopeToast:s,label:o="Notification",duration:t=5e3,swipeDirection:c="right",swipeThreshold:u=50,children:p}=e,[m,T]=n.useState(null),[a,C]=n.useState(0),h=n.useRef(!1),A=n.useRef(!1);return o.trim()||console.error(`Invalid prop \`label\` supplied to \`${se}\`. Expected non-empty \`string\`.`),r.jsx(oe.Provider,{scope:s,children:r.jsx(nt,{scope:s,label:o,duration:t,swipeDirection:c,swipeThreshold:u,toastCount:a,viewport:m,onViewportChange:T,onToastAdd:n.useCallback(()=>C(S=>S+1),[]),onToastRemove:n.useCallback(()=>C(S=>S-1),[]),isFocusedToastEscapeKeyDownRef:h,isClosePausedRef:A,children:p})})};Se.displayName=se;var Re="ToastViewport",at=["F8"],Z="toast.viewportPause",ee="toast.viewportResume",_e=n.forwardRef((e,s)=>{const{__scopeToast:o,hotkey:t=at,label:c="Notifications ({hotkey})",...u}=e,p=X(Re,o),m=st(o),T=n.useRef(null),a=n.useRef(null),C=n.useRef(null),h=n.useRef(null),A=Ce(s,h,p.onViewportChange),S=t.join("+").replace(/Key/g,"").replace(/Digit/g,""),R=p.toastCount>0;n.useEffect(()=>{const l=y=>{var v;t.length!==0&&t.every(x=>y[x]||y.code===x)&&((v=h.current)==null||v.focus())};return document.addEventListener("keydown",l),()=>document.removeEventListener("keydown",l)},[t]),n.useEffect(()=>{const l=T.current,y=h.current;if(R&&l&&y){const f=()=>{if(!p.isClosePausedRef.current){const E=new CustomEvent(Z);y.dispatchEvent(E),p.isClosePausedRef.current=!0}},v=()=>{if(p.isClosePausedRef.current){const E=new CustomEvent(ee);y.dispatchEvent(E),p.isClosePausedRef.current=!1}},x=E=>{!l.contains(E.relatedTarget)&&v()},w=()=>{l.contains(document.activeElement)||v()};return l.addEventListener("focusin",f),l.addEventListener("focusout",x),l.addEventListener("pointermove",f),l.addEventListener("pointerleave",w),window.addEventListener("blur",f),window.addEventListener("focus",v),()=>{l.removeEventListener("focusin",f),l.removeEventListener("focusout",x),l.removeEventListener("pointermove",f),l.removeEventListener("pointerleave",w),window.removeEventListener("blur",f),window.removeEventListener("focus",v)}}},[R,p.isClosePausedRef]);const d=n.useCallback(({tabbingDirection:l})=>{const f=m().map(v=>{const x=v.ref.current,w=[x,...yt(x)];return l==="forwards"?w:w.reverse()});return(l==="forwards"?f.reverse():f).flat()},[m]);return n.useEffect(()=>{const l=h.current;if(l){const y=f=>{var w,E,_;const v=f.altKey||f.ctrlKey||f.metaKey;if(f.key==="Tab"&&!v){const F=document.activeElement,j=f.shiftKey;if(f.target===l&&j){(w=a.current)==null||w.focus();return}const I=d({tabbingDirection:j?"backwards":"forwards"}),O=I.findIndex(i=>i===F);J(I.slice(O+1))?f.preventDefault():j?(E=a.current)==null||E.focus():(_=C.current)==null||_.focus()}};return l.addEventListener("keydown",y),()=>l.removeEventListener("keydown",y)}},[m,d]),r.jsxs(Ge,{ref:T,role:"region","aria-label":c.replace("{hotkey}",S),tabIndex:-1,style:{pointerEvents:R?void 0:"none"},children:[R&&r.jsx(te,{ref:a,onFocusFromOutsideViewport:()=>{const l=d({tabbingDirection:"forwards"});J(l)}}),r.jsx(oe.Slot,{scope:o,children:r.jsx(D.ol,{tabIndex:-1,...u,ref:A})}),R&&r.jsx(te,{ref:C,onFocusFromOutsideViewport:()=>{const l=d({tabbingDirection:"backwards"});J(l)}})]})});_e.displayName=Re;var Ie="ToastFocusProxy",te=n.forwardRef((e,s)=>{const{__scopeToast:o,onFocusFromOutsideViewport:t,...c}=e,u=X(Ie,o);return r.jsx(Pe,{"aria-hidden":!0,tabIndex:0,...c,ref:s,style:{position:"fixed"},onFocus:p=>{var a;const m=p.relatedTarget;!((a=u.viewport)!=null&&a.contains(m))&&t()}})});te.displayName=Ie;var Y="Toast",it="toast.swipeStart",ct="toast.swipeMove",lt="toast.swipeCancel",ut="toast.swipeEnd",je=n.forwardRef((e,s)=>{const{forceMount:o,open:t,defaultOpen:c,onOpenChange:u,...p}=e,[m=!0,T]=Be({prop:t,defaultProp:c,onChange:u});return r.jsx(Je,{present:o||m,children:r.jsx(ft,{open:m,...p,ref:s,onClose:()=>T(!1),onPause:q(e.onPause),onResume:q(e.onResume),onSwipeStart:P(e.onSwipeStart,a=>{a.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:P(e.onSwipeMove,a=>{const{x:C,y:h}=a.detail.delta;a.currentTarget.setAttribute("data-swipe","move"),a.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${C}px`),a.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${h}px`)}),onSwipeCancel:P(e.onSwipeCancel,a=>{a.currentTarget.setAttribute("data-swipe","cancel"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),a.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),a.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:P(e.onSwipeEnd,a=>{const{x:C,y:h}=a.detail.delta;a.currentTarget.setAttribute("data-swipe","end"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),a.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${C}px`),a.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${h}px`),T(!1)})})})});je.displayName=Y;var[dt,pt]=be(Y,{onClose(){}}),ft=n.forwardRef((e,s)=>{const{__scopeToast:o,type:t="foreground",duration:c,open:u,onClose:p,onEscapeKeyDown:m,onPause:T,onResume:a,onSwipeStart:C,onSwipeMove:h,onSwipeCancel:A,onSwipeEnd:S,...R}=e,d=X(Y,o),[l,y]=n.useState(null),f=Ce(s,i=>y(i)),v=n.useRef(null),x=n.useRef(null),w=c||d.duration,E=n.useRef(0),_=n.useRef(w),F=n.useRef(0),{onToastAdd:j,onToastRemove:Q}=d,N=q(()=>{var g;(l==null?void 0:l.contains(document.activeElement))&&((g=d.viewport)==null||g.focus()),p()}),I=n.useCallback(i=>{!i||i===1/0||(window.clearTimeout(F.current),E.current=new Date().getTime(),F.current=window.setTimeout(N,i))},[N]);n.useEffect(()=>{const i=d.viewport;if(i){const g=()=>{I(_.current),a==null||a()},b=()=>{const L=new Date().getTime()-E.current;_.current=_.current-L,window.clearTimeout(F.current),T==null||T()};return i.addEventListener(Z,b),i.addEventListener(ee,g),()=>{i.removeEventListener(Z,b),i.removeEventListener(ee,g)}}},[d.viewport,w,T,a,I]),n.useEffect(()=>{u&&!d.isClosePausedRef.current&&I(w)},[u,w,d.isClosePausedRef,I]),n.useEffect(()=>(j(),()=>Q()),[j,Q]);const O=n.useMemo(()=>l?Me(l):null,[l]);return d.viewport?r.jsxs(r.Fragment,{children:[O&&r.jsx(mt,{__scopeToast:o,role:"status","aria-live":t==="foreground"?"assertive":"polite","aria-atomic":!0,children:O}),r.jsx(dt,{scope:o,onClose:N,children:$e.createPortal(r.jsx(oe.ItemSlot,{scope:o,children:r.jsx(ze,{asChild:!0,onEscapeKeyDown:P(m,()=>{d.isFocusedToastEscapeKeyDownRef.current||N(),d.isFocusedToastEscapeKeyDownRef.current=!1}),children:r.jsx(D.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":u?"open":"closed","data-swipe-direction":d.swipeDirection,...R,ref:f,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:P(e.onKeyDown,i=>{i.key==="Escape"&&(m==null||m(i.nativeEvent),i.nativeEvent.defaultPrevented||(d.isFocusedToastEscapeKeyDownRef.current=!0,N()))}),onPointerDown:P(e.onPointerDown,i=>{i.button===0&&(v.current={x:i.clientX,y:i.clientY})}),onPointerMove:P(e.onPointerMove,i=>{if(!v.current)return;const g=i.clientX-v.current.x,b=i.clientY-v.current.y,L=!!x.current,M=["left","right"].includes(d.swipeDirection),k=["left","up"].includes(d.swipeDirection)?Math.min:Math.max,ke=M?k(0,g):0,Ve=M?0:k(0,b),G=i.pointerType==="touch"?10:2,V={x:ke,y:Ve},ae={originalEvent:i,delta:V};L?(x.current=V,W(ct,h,ae,{discrete:!1})):le(V,d.swipeDirection,G)?(x.current=V,W(it,C,ae,{discrete:!1}),i.target.setPointerCapture(i.pointerId)):(Math.abs(g)>G||Math.abs(b)>G)&&(v.current=null)}),onPointerUp:P(e.onPointerUp,i=>{const g=x.current,b=i.target;if(b.hasPointerCapture(i.pointerId)&&b.releasePointerCapture(i.pointerId),x.current=null,v.current=null,g){const L=i.currentTarget,M={originalEvent:i,delta:g};le(g,d.swipeDirection,d.swipeThreshold)?W(ut,S,M,{discrete:!0}):W(lt,A,M,{discrete:!0}),L.addEventListener("click",k=>k.preventDefault(),{once:!0})}})})})}),d.viewport)})]}):null}),mt=e=>{const{__scopeToast:s,children:o,...t}=e,c=X(Y,s),[u,p]=n.useState(!1),[m,T]=n.useState(!1);return wt(()=>p(!0)),n.useEffect(()=>{const a=window.setTimeout(()=>T(!0),1e3);return()=>window.clearTimeout(a)},[]),m?null:r.jsx(Qe,{asChild:!0,children:r.jsx(Pe,{...t,children:u&&r.jsxs(r.Fragment,{children:[c.label," ",o]})})})},vt="ToastTitle",Ne=n.forwardRef((e,s)=>{const{__scopeToast:o,...t}=e;return r.jsx(D.div,{...t,ref:s})});Ne.displayName=vt;var Tt="ToastDescription",De=n.forwardRef((e,s)=>{const{__scopeToast:o,...t}=e;return r.jsx(D.div,{...t,ref:s})});De.displayName=Tt;var Ae="ToastAction",xt=n.forwardRef((e,s)=>{const{altText:o,...t}=e;return o.trim()?r.jsx(Le,{altText:o,asChild:!0,children:r.jsx(ne,{...t,ref:s})}):(console.error(`Invalid prop \`altText\` supplied to \`${Ae}\`. Expected non-empty \`string\`.`),null)});xt.displayName=Ae;var Fe="ToastClose",ne=n.forwardRef((e,s)=>{const{__scopeToast:o,...t}=e,c=pt(Fe,o);return r.jsx(Le,{asChild:!0,children:r.jsx(D.button,{type:"button",...t,ref:s,onClick:P(e.onClick,c.onClose)})})});ne.displayName=Fe;var Le=n.forwardRef((e,s)=>{const{__scopeToast:o,altText:t,...c}=e;return r.jsx(D.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":t||void 0,...c,ref:s})});function Me(e){const s=[];return Array.from(e.childNodes).forEach(t=>{if(t.nodeType===t.TEXT_NODE&&t.textContent&&s.push(t.textContent),ht(t)){const c=t.ariaHidden||t.hidden||t.style.display==="none",u=t.dataset.radixToastAnnounceExclude==="";if(!c)if(u){const p=t.dataset.radixToastAnnounceAlt;p&&s.push(p)}else s.push(...Me(t))}}),s}function W(e,s,o,{discrete:t}){const c=o.originalEvent.currentTarget,u=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:o});s&&c.addEventListener(e,s,{once:!0}),t?Ye(c,u):c.dispatchEvent(u)}var le=(e,s,o=0)=>{const t=Math.abs(e.x),c=Math.abs(e.y),u=t>c;return s==="left"||s==="right"?u&&t>o:!u&&c>o};function wt(e=()=>{}){const s=q(e);qe(()=>{let o=0,t=0;return o=window.requestAnimationFrame(()=>t=window.requestAnimationFrame(s)),()=>{window.cancelAnimationFrame(o),window.cancelAnimationFrame(t)}},[s])}function ht(e){return e.nodeType===e.ELEMENT_NODE}function yt(e){const s=[],o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:t=>{const c=t.tagName==="INPUT"&&t.type==="hidden";return t.disabled||t.hidden||c?NodeFilter.FILTER_SKIP:t.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;o.nextNode();)s.push(o.currentNode);return s}function J(e){const s=document.activeElement;return e.some(o=>o===s?!0:(o.focus(),document.activeElement!==s))}var Et=Se,gt=_e,Ct=je,Pt=Ne,bt=De,St=ne;const Rt=Ze(["will-change-transform will-change-opacity","data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)]","data-[swipe=cancel]:translate-x-0 data-[swipe=cancel]:transition-transform data-[swipe=cancel]:duration-200 data-[swipe=cancel]:ease-out","data-[swipe=end]:animate-swipeOut"],{variants:{variant:{normal:"",success:"text-positive",error:"text-negative"}},defaultVariants:{variant:"normal"}}),Oe=n.createContext(null),re=e=>{const{children:s,...o}=e,[t,c]=n.useState(new Set);return r.jsxs(Et,{...o,children:[r.jsxs(Oe.Provider,{value:c,children:[s,r.jsx(rt,{children:Array.from(t).map(u=>r.jsx(U,{...u},u.id))})]}),r.jsx(_t,{})]})},_t=()=>r.jsx(gt,{className:"fixed right-0 bottom-0 focus:outline-hidden w-full flex flex-col gap-2 p-4 pt-0 z-1000 list-none max-w-[532px]"}),U=e=>{const{id:s,variant:o,title:t,description:c,icon:u,isDismissible:p=!0,...m}=e,T=()=>{if(u)return r.jsx(u,{});switch(o){case"success":return r.jsx("div",{className:"bg-positive text-black rounded-full w-8 h-8 place-items-center min-w-0 shrink-0 flex items-center justify-center",children:r.jsx(Ke,{})});case"error":return r.jsx("div",{className:"bg-negative text-black rounded-full w-8 h-8 place-items-center min-w-0 shrink-0 flex items-center justify-center",children:r.jsx(ie,{})});default:return null}};return r.jsx(Ct,{className:Rt({variant:o}),open:!0,forceMount:!0,asChild:!0,...m,children:r.jsx(ge,{className:"rounded-md bg-button-glass backdrop-blur-xs relative flex justify-between w-full",asChild:!0,children:r.jsxs(tt.li,{layoutId:s,layout:!0,initial:{x:"100%"},animate:{x:0},exit:{y:"100%",opacity:0},children:[r.jsxs("div",{className:"flex gap-3 items-center",children:[T(),r.jsxs("div",{className:"flex flex-col gap-1",children:[t&&r.jsx(Pt,{children:r.jsx(ce,{variant:"normal",fontWeight:"bold",color:"secondary",asChild:!0,children:r.jsx("div",{children:t})})}),r.jsx(bt,{children:r.jsx(ce,{variant:"normal",fontWeight:"medium",color:"muted",asChild:!0,children:r.jsx("div",{children:c})})})]})]}),p&&r.jsx(St,{"aria-label":"Close",asChild:!0,children:r.jsx(et,{icon:ie,size:"xs"})})]})})})},It=()=>{const e=n.useContext(Oe);return s=>{const o={...s,id:Math.random().toString(36).slice(2,12),onOpenChange:t=>{t||e(c=>(c.delete(o),new Set([...c])))}};e(t=>new Set([...t,o]))}};try{re.displayName="ToastProvider",re.__docgenInfo={description:"",displayName:"ToastProvider",props:{}}}catch{}try{U.displayName="Toast",U.__docgenInfo={description:"",displayName:"Toast",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"string"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"success"'},{value:'"error"'},{value:'"normal"'}]}},isDismissible:{defaultValue:null,description:"",name:"isDismissible",required:!1,type:{name:"boolean"}},icon:{defaultValue:null,description:"",name:"icon",required:!1,type:{name:"ComponentType"}}}}}catch{}const er={title:"Components/Toast",component:U},z=e=>r.jsx(re,{swipeDirection:"right",children:r.jsx(jt,{...e})}),jt=e=>{const s=It();return r.jsx(ge,{children:r.jsx(We,{label:"Raise a Toast",onClick:()=>{s({...e,title:e.title+" "+new Date().getMilliseconds()})}})})},K={render:z,args:{title:"Title",description:"Description"}},H={render:z,args:{icon:He,title:"Transaction Sent",description:"Waiting for confirmation"}},$={render:z,args:{title:"Success",description:"Description",variant:"success"}},B={render:z,args:{title:"Error",description:'The transaction failed to send because the relayer encountered an error. "Not enough gas"',variant:"error"}};var ue,de,pe;K.parameters={...K.parameters,docs:{...(ue=K.parameters)==null?void 0:ue.docs,source:{originalSource:`{ +import{j as r}from"./jsx-runtime-Cf8x2fCZ.js";import{B as We}from"./Button-CJ_2iam3.js";import{C as ge}from"./Card-BcrLDAIN.js";import{d as ie,b as Ke,g as He}from"./WarningIcon-Z1cZGh4-.js";import{r as n}from"./index-DubqEmGm.js";import{r as $e}from"./index-e5epXPAg.js";import{a as Be,c as P,b as q,u as qe}from"./index-DKEAZgBW.js";import{u as Ce}from"./index-BkTKsPvT.js";import{c as Ue}from"./index-BKFtrmjf.js";import{P as D,c as Xe,d as Ye}from"./index-EKtyzmkF.js";import{R as ze,P as Qe,B as Ge}from"./index-DC1_uW73.js";import{P as Je}from"./index-SbpNQzLY.js";import{V as Pe}from"./index-uUNwjQTH.js";import{c as Ze}from"./index-Dp3B9jqt.js";import{I as et}from"./IconButton-tt72d-YU.js";import{T as ce}from"./Text-c-Dt_3pd.js";import{m as tt}from"./proxy-71i4uxHe.js";import{A as rt}from"./index-D5x9zqoE.js";import"./index-yBjzXJbu.js";import"./classnames-Dx2cly0x.js";import"./clsx-B-dksMZM.js";import"./index-fNjTmf9T.js";var se="ToastProvider",[oe,st,ot]=Ue("Toast"),[be,Zt]=Xe("Toast",[ot]),[nt,X]=be(se),Se=e=>{const{__scopeToast:s,label:o="Notification",duration:t=5e3,swipeDirection:c="right",swipeThreshold:u=50,children:p}=e,[m,T]=n.useState(null),[a,C]=n.useState(0),h=n.useRef(!1),A=n.useRef(!1);return o.trim()||console.error(`Invalid prop \`label\` supplied to \`${se}\`. Expected non-empty \`string\`.`),r.jsx(oe.Provider,{scope:s,children:r.jsx(nt,{scope:s,label:o,duration:t,swipeDirection:c,swipeThreshold:u,toastCount:a,viewport:m,onViewportChange:T,onToastAdd:n.useCallback(()=>C(S=>S+1),[]),onToastRemove:n.useCallback(()=>C(S=>S-1),[]),isFocusedToastEscapeKeyDownRef:h,isClosePausedRef:A,children:p})})};Se.displayName=se;var Re="ToastViewport",at=["F8"],Z="toast.viewportPause",ee="toast.viewportResume",_e=n.forwardRef((e,s)=>{const{__scopeToast:o,hotkey:t=at,label:c="Notifications ({hotkey})",...u}=e,p=X(Re,o),m=st(o),T=n.useRef(null),a=n.useRef(null),C=n.useRef(null),h=n.useRef(null),A=Ce(s,h,p.onViewportChange),S=t.join("+").replace(/Key/g,"").replace(/Digit/g,""),R=p.toastCount>0;n.useEffect(()=>{const l=y=>{var v;t.length!==0&&t.every(x=>y[x]||y.code===x)&&((v=h.current)==null||v.focus())};return document.addEventListener("keydown",l),()=>document.removeEventListener("keydown",l)},[t]),n.useEffect(()=>{const l=T.current,y=h.current;if(R&&l&&y){const f=()=>{if(!p.isClosePausedRef.current){const E=new CustomEvent(Z);y.dispatchEvent(E),p.isClosePausedRef.current=!0}},v=()=>{if(p.isClosePausedRef.current){const E=new CustomEvent(ee);y.dispatchEvent(E),p.isClosePausedRef.current=!1}},x=E=>{!l.contains(E.relatedTarget)&&v()},w=()=>{l.contains(document.activeElement)||v()};return l.addEventListener("focusin",f),l.addEventListener("focusout",x),l.addEventListener("pointermove",f),l.addEventListener("pointerleave",w),window.addEventListener("blur",f),window.addEventListener("focus",v),()=>{l.removeEventListener("focusin",f),l.removeEventListener("focusout",x),l.removeEventListener("pointermove",f),l.removeEventListener("pointerleave",w),window.removeEventListener("blur",f),window.removeEventListener("focus",v)}}},[R,p.isClosePausedRef]);const d=n.useCallback(({tabbingDirection:l})=>{const f=m().map(v=>{const x=v.ref.current,w=[x,...yt(x)];return l==="forwards"?w:w.reverse()});return(l==="forwards"?f.reverse():f).flat()},[m]);return n.useEffect(()=>{const l=h.current;if(l){const y=f=>{var w,E,_;const v=f.altKey||f.ctrlKey||f.metaKey;if(f.key==="Tab"&&!v){const F=document.activeElement,j=f.shiftKey;if(f.target===l&&j){(w=a.current)==null||w.focus();return}const I=d({tabbingDirection:j?"backwards":"forwards"}),O=I.findIndex(i=>i===F);J(I.slice(O+1))?f.preventDefault():j?(E=a.current)==null||E.focus():(_=C.current)==null||_.focus()}};return l.addEventListener("keydown",y),()=>l.removeEventListener("keydown",y)}},[m,d]),r.jsxs(Ge,{ref:T,role:"region","aria-label":c.replace("{hotkey}",S),tabIndex:-1,style:{pointerEvents:R?void 0:"none"},children:[R&&r.jsx(te,{ref:a,onFocusFromOutsideViewport:()=>{const l=d({tabbingDirection:"forwards"});J(l)}}),r.jsx(oe.Slot,{scope:o,children:r.jsx(D.ol,{tabIndex:-1,...u,ref:A})}),R&&r.jsx(te,{ref:C,onFocusFromOutsideViewport:()=>{const l=d({tabbingDirection:"backwards"});J(l)}})]})});_e.displayName=Re;var Ie="ToastFocusProxy",te=n.forwardRef((e,s)=>{const{__scopeToast:o,onFocusFromOutsideViewport:t,...c}=e,u=X(Ie,o);return r.jsx(Pe,{"aria-hidden":!0,tabIndex:0,...c,ref:s,style:{position:"fixed"},onFocus:p=>{var a;const m=p.relatedTarget;!((a=u.viewport)!=null&&a.contains(m))&&t()}})});te.displayName=Ie;var Y="Toast",it="toast.swipeStart",ct="toast.swipeMove",lt="toast.swipeCancel",ut="toast.swipeEnd",je=n.forwardRef((e,s)=>{const{forceMount:o,open:t,defaultOpen:c,onOpenChange:u,...p}=e,[m=!0,T]=Be({prop:t,defaultProp:c,onChange:u});return r.jsx(Je,{present:o||m,children:r.jsx(ft,{open:m,...p,ref:s,onClose:()=>T(!1),onPause:q(e.onPause),onResume:q(e.onResume),onSwipeStart:P(e.onSwipeStart,a=>{a.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:P(e.onSwipeMove,a=>{const{x:C,y:h}=a.detail.delta;a.currentTarget.setAttribute("data-swipe","move"),a.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${C}px`),a.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${h}px`)}),onSwipeCancel:P(e.onSwipeCancel,a=>{a.currentTarget.setAttribute("data-swipe","cancel"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),a.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),a.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:P(e.onSwipeEnd,a=>{const{x:C,y:h}=a.detail.delta;a.currentTarget.setAttribute("data-swipe","end"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),a.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${C}px`),a.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${h}px`),T(!1)})})})});je.displayName=Y;var[dt,pt]=be(Y,{onClose(){}}),ft=n.forwardRef((e,s)=>{const{__scopeToast:o,type:t="foreground",duration:c,open:u,onClose:p,onEscapeKeyDown:m,onPause:T,onResume:a,onSwipeStart:C,onSwipeMove:h,onSwipeCancel:A,onSwipeEnd:S,...R}=e,d=X(Y,o),[l,y]=n.useState(null),f=Ce(s,i=>y(i)),v=n.useRef(null),x=n.useRef(null),w=c||d.duration,E=n.useRef(0),_=n.useRef(w),F=n.useRef(0),{onToastAdd:j,onToastRemove:Q}=d,N=q(()=>{var g;(l==null?void 0:l.contains(document.activeElement))&&((g=d.viewport)==null||g.focus()),p()}),I=n.useCallback(i=>{!i||i===1/0||(window.clearTimeout(F.current),E.current=new Date().getTime(),F.current=window.setTimeout(N,i))},[N]);n.useEffect(()=>{const i=d.viewport;if(i){const g=()=>{I(_.current),a==null||a()},b=()=>{const L=new Date().getTime()-E.current;_.current=_.current-L,window.clearTimeout(F.current),T==null||T()};return i.addEventListener(Z,b),i.addEventListener(ee,g),()=>{i.removeEventListener(Z,b),i.removeEventListener(ee,g)}}},[d.viewport,w,T,a,I]),n.useEffect(()=>{u&&!d.isClosePausedRef.current&&I(w)},[u,w,d.isClosePausedRef,I]),n.useEffect(()=>(j(),()=>Q()),[j,Q]);const O=n.useMemo(()=>l?Me(l):null,[l]);return d.viewport?r.jsxs(r.Fragment,{children:[O&&r.jsx(mt,{__scopeToast:o,role:"status","aria-live":t==="foreground"?"assertive":"polite","aria-atomic":!0,children:O}),r.jsx(dt,{scope:o,onClose:N,children:$e.createPortal(r.jsx(oe.ItemSlot,{scope:o,children:r.jsx(ze,{asChild:!0,onEscapeKeyDown:P(m,()=>{d.isFocusedToastEscapeKeyDownRef.current||N(),d.isFocusedToastEscapeKeyDownRef.current=!1}),children:r.jsx(D.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":u?"open":"closed","data-swipe-direction":d.swipeDirection,...R,ref:f,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:P(e.onKeyDown,i=>{i.key==="Escape"&&(m==null||m(i.nativeEvent),i.nativeEvent.defaultPrevented||(d.isFocusedToastEscapeKeyDownRef.current=!0,N()))}),onPointerDown:P(e.onPointerDown,i=>{i.button===0&&(v.current={x:i.clientX,y:i.clientY})}),onPointerMove:P(e.onPointerMove,i=>{if(!v.current)return;const g=i.clientX-v.current.x,b=i.clientY-v.current.y,L=!!x.current,M=["left","right"].includes(d.swipeDirection),k=["left","up"].includes(d.swipeDirection)?Math.min:Math.max,ke=M?k(0,g):0,Ve=M?0:k(0,b),G=i.pointerType==="touch"?10:2,V={x:ke,y:Ve},ae={originalEvent:i,delta:V};L?(x.current=V,W(ct,h,ae,{discrete:!1})):le(V,d.swipeDirection,G)?(x.current=V,W(it,C,ae,{discrete:!1}),i.target.setPointerCapture(i.pointerId)):(Math.abs(g)>G||Math.abs(b)>G)&&(v.current=null)}),onPointerUp:P(e.onPointerUp,i=>{const g=x.current,b=i.target;if(b.hasPointerCapture(i.pointerId)&&b.releasePointerCapture(i.pointerId),x.current=null,v.current=null,g){const L=i.currentTarget,M={originalEvent:i,delta:g};le(g,d.swipeDirection,d.swipeThreshold)?W(ut,S,M,{discrete:!0}):W(lt,A,M,{discrete:!0}),L.addEventListener("click",k=>k.preventDefault(),{once:!0})}})})})}),d.viewport)})]}):null}),mt=e=>{const{__scopeToast:s,children:o,...t}=e,c=X(Y,s),[u,p]=n.useState(!1),[m,T]=n.useState(!1);return wt(()=>p(!0)),n.useEffect(()=>{const a=window.setTimeout(()=>T(!0),1e3);return()=>window.clearTimeout(a)},[]),m?null:r.jsx(Qe,{asChild:!0,children:r.jsx(Pe,{...t,children:u&&r.jsxs(r.Fragment,{children:[c.label," ",o]})})})},vt="ToastTitle",Ne=n.forwardRef((e,s)=>{const{__scopeToast:o,...t}=e;return r.jsx(D.div,{...t,ref:s})});Ne.displayName=vt;var Tt="ToastDescription",De=n.forwardRef((e,s)=>{const{__scopeToast:o,...t}=e;return r.jsx(D.div,{...t,ref:s})});De.displayName=Tt;var Ae="ToastAction",xt=n.forwardRef((e,s)=>{const{altText:o,...t}=e;return o.trim()?r.jsx(Le,{altText:o,asChild:!0,children:r.jsx(ne,{...t,ref:s})}):(console.error(`Invalid prop \`altText\` supplied to \`${Ae}\`. Expected non-empty \`string\`.`),null)});xt.displayName=Ae;var Fe="ToastClose",ne=n.forwardRef((e,s)=>{const{__scopeToast:o,...t}=e,c=pt(Fe,o);return r.jsx(Le,{asChild:!0,children:r.jsx(D.button,{type:"button",...t,ref:s,onClick:P(e.onClick,c.onClose)})})});ne.displayName=Fe;var Le=n.forwardRef((e,s)=>{const{__scopeToast:o,altText:t,...c}=e;return r.jsx(D.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":t||void 0,...c,ref:s})});function Me(e){const s=[];return Array.from(e.childNodes).forEach(t=>{if(t.nodeType===t.TEXT_NODE&&t.textContent&&s.push(t.textContent),ht(t)){const c=t.ariaHidden||t.hidden||t.style.display==="none",u=t.dataset.radixToastAnnounceExclude==="";if(!c)if(u){const p=t.dataset.radixToastAnnounceAlt;p&&s.push(p)}else s.push(...Me(t))}}),s}function W(e,s,o,{discrete:t}){const c=o.originalEvent.currentTarget,u=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:o});s&&c.addEventListener(e,s,{once:!0}),t?Ye(c,u):c.dispatchEvent(u)}var le=(e,s,o=0)=>{const t=Math.abs(e.x),c=Math.abs(e.y),u=t>c;return s==="left"||s==="right"?u&&t>o:!u&&c>o};function wt(e=()=>{}){const s=q(e);qe(()=>{let o=0,t=0;return o=window.requestAnimationFrame(()=>t=window.requestAnimationFrame(s)),()=>{window.cancelAnimationFrame(o),window.cancelAnimationFrame(t)}},[s])}function ht(e){return e.nodeType===e.ELEMENT_NODE}function yt(e){const s=[],o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:t=>{const c=t.tagName==="INPUT"&&t.type==="hidden";return t.disabled||t.hidden||c?NodeFilter.FILTER_SKIP:t.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;o.nextNode();)s.push(o.currentNode);return s}function J(e){const s=document.activeElement;return e.some(o=>o===s?!0:(o.focus(),document.activeElement!==s))}var Et=Se,gt=_e,Ct=je,Pt=Ne,bt=De,St=ne;const Rt=Ze(["will-change-transform will-change-opacity","data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)]","data-[swipe=cancel]:translate-x-0 data-[swipe=cancel]:transition-transform data-[swipe=cancel]:duration-200 data-[swipe=cancel]:ease-out","data-[swipe=end]:animate-swipeOut"],{variants:{variant:{normal:"",success:"text-positive",error:"text-negative"}},defaultVariants:{variant:"normal"}}),Oe=n.createContext(null),re=e=>{const{children:s,...o}=e,[t,c]=n.useState(new Set);return r.jsxs(Et,{...o,children:[r.jsxs(Oe.Provider,{value:c,children:[s,r.jsx(rt,{children:Array.from(t).map(u=>r.jsx(U,{...u},u.id))})]}),r.jsx(_t,{})]})},_t=()=>r.jsx(gt,{className:"fixed right-0 bottom-0 focus:outline-hidden w-full flex flex-col gap-2 p-4 pt-0 z-1000 list-none max-w-[532px]"}),U=e=>{const{id:s,variant:o,title:t,description:c,icon:u,isDismissible:p=!0,...m}=e,T=()=>{if(u)return r.jsx(u,{});switch(o){case"success":return r.jsx("div",{className:"bg-positive text-black rounded-full w-8 h-8 place-items-center min-w-0 shrink-0 flex items-center justify-center",children:r.jsx(Ke,{})});case"error":return r.jsx("div",{className:"bg-negative text-black rounded-full w-8 h-8 place-items-center min-w-0 shrink-0 flex items-center justify-center",children:r.jsx(ie,{})});default:return null}};return r.jsx(Ct,{className:Rt({variant:o}),open:!0,forceMount:!0,asChild:!0,...m,children:r.jsx(ge,{className:"rounded-md bg-button-glass backdrop-blur-xs relative flex justify-between w-full",asChild:!0,children:r.jsxs(tt.li,{layoutId:s,layout:!0,initial:{x:"100%"},animate:{x:0},exit:{y:"100%",opacity:0},children:[r.jsxs("div",{className:"flex gap-3 items-center",children:[T(),r.jsxs("div",{className:"flex flex-col gap-1",children:[t&&r.jsx(Pt,{children:r.jsx(ce,{variant:"normal",fontWeight:"bold",color:"secondary",asChild:!0,children:r.jsx("div",{children:t})})}),r.jsx(bt,{children:r.jsx(ce,{variant:"normal",fontWeight:"medium",color:"muted",asChild:!0,children:r.jsx("div",{children:c})})})]})]}),p&&r.jsx(St,{"aria-label":"Close",asChild:!0,children:r.jsx(et,{icon:ie,size:"xs"})})]})})})},It=()=>{const e=n.useContext(Oe);return s=>{const o={...s,id:Math.random().toString(36).slice(2,12),onOpenChange:t=>{t||e(c=>(c.delete(o),new Set([...c])))}};e(t=>new Set([...t,o]))}};try{re.displayName="ToastProvider",re.__docgenInfo={description:"",displayName:"ToastProvider",props:{}}}catch{}try{U.displayName="Toast",U.__docgenInfo={description:"",displayName:"Toast",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"string"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"success"'},{value:'"error"'},{value:'"normal"'}]}},isDismissible:{defaultValue:null,description:"",name:"isDismissible",required:!1,type:{name:"boolean"}},icon:{defaultValue:null,description:"",name:"icon",required:!1,type:{name:"ComponentType"}}}}}catch{}const er={title:"Components/Toast",component:U},z=e=>r.jsx(re,{swipeDirection:"right",children:r.jsx(jt,{...e})}),jt=e=>{const s=It();return r.jsx(ge,{children:r.jsx(We,{label:"Raise a Toast",onClick:()=>{s({...e,title:e.title+" "+new Date().getMilliseconds()})}})})},K={render:z,args:{title:"Title",description:"Description"}},H={render:z,args:{icon:He,title:"Transaction Sent",description:"Waiting for confirmation"}},$={render:z,args:{title:"Success",description:"Description",variant:"success"}},B={render:z,args:{title:"Error",description:'The transaction failed to send because the relayer encountered an error. "Not enough gas"',variant:"error"}};var ue,de,pe;K.parameters={...K.parameters,docs:{...(ue=K.parameters)==null?void 0:ue.docs,source:{originalSource:`{ render: StoryWrapper, args: { title: 'Title', diff --git a/assets/TokenImage.stories-Xc-OGSeC.js b/assets/TokenImage.stories-B0deHg6U.js similarity index 88% rename from assets/TokenImage.stories-Xc-OGSeC.js rename to assets/TokenImage.stories-B0deHg6U.js index ab275eaa8..6d8dde178 100644 --- a/assets/TokenImage.stories-Xc-OGSeC.js +++ b/assets/TokenImage.stories-B0deHg6U.js @@ -1,4 +1,4 @@ -import{j as s}from"./jsx-runtime-z8MfsBtr.js";import{c as j}from"./index-DKHC-OhD.js";import{r as E}from"./index-D1TSixAU.js";import{c as n}from"./classnames-Dx2cly0x.js";import{N as S}from"./NetworkImage-CSZhsnM7.js";import{T as W}from"./Text-DiY0ipGE.js";import{I as v}from"./Image-DPd_KzxQ.js";import"./index-C9rmetsa.js";import"./clsx-B-dksMZM.js";import"./index-DEvaI7vP.js";import"./proxy-DndLXkKn.js";const d="40%",p="-2%",q=j(["relative","flex","items-center","justify-center","shrink-0"],{variants:{size:{xs:"w-3 h-3 text-[4px]",sm:"w-5 h-5 text-[6px]",md:"w-8 h-8 text-[9px]",lg:"w-10 h-10 text-[11px]",xl:"w-16 h-16 text-[16px]"}},defaultVariants:{size:"md"}}),u="[mask-image:radial-gradient(circle_at_82%_82%,transparent_22%,black_0)]",i=E.memo(m=>{const{className:I,disableAnimation:c=!1,style:N,src:l,symbol:o,size:z="md",withNetwork:e,...T}=m;return s.jsxs("div",{className:n(q({size:z}),I),style:N,...T,children:[l?s.jsx(v,{className:n("rounded-full max-w-full max-h-full object-cover w-full overflow-hidden",e&&u),disableAnimation:c,src:l}):s.jsx(W,{className:n("bg-background-secondary rounded-full w-full h-full flex items-center justify-center overflow-hidden",e&&u),variant:"inherit",fontWeight:"medium",color:"muted",uppercase:!0,children:o==null?void 0:o.replace(/\s/,"").slice(0,4)}),e&&s.jsx(S,{chainId:e,className:"absolute z-1",disableAnimation:c,style:{width:d,height:d,right:p,bottom:p}})]})});try{i.displayName="TokenImage",i.__docgenInfo={description:"",displayName:"TokenImage",props:{disableAnimation:{defaultValue:null,description:"",name:"disableAnimation",required:!1,type:{name:"boolean"}},src:{defaultValue:null,description:"",name:"src",required:!1,type:{name:"string"}},symbol:{defaultValue:null,description:"",name:"symbol",required:!1,type:{name:"string"}},withNetwork:{defaultValue:null,description:"",name:"withNetwork",required:!1,type:{name:"number"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"sm" | "md" | "lg" | "xs" | "xl" | null'}}}}}catch{}const Z={title:"Components/TokenImage",component:i},a={args:{size:"lg",src:"https://assets.coingecko.com/coins/images/4713/large/matic-token-icon.png?1624446912"}},t={args:{size:"lg",symbol:"SCAM"}},r={args:{symbol:"USDC",size:"lg",src:"https://assets.sequence.info/images/tokens/medium/137/0x2791bca1f2de4661ed88a30c99a7a9449aa84174.webp",withNetwork:137}};var g,f,h;a.parameters={...a.parameters,docs:{...(g=a.parameters)==null?void 0:g.docs,source:{originalSource:`{ +import{j as s}from"./jsx-runtime-Cf8x2fCZ.js";import{c as j}from"./index-Dp3B9jqt.js";import{r as E}from"./index-DubqEmGm.js";import{c as n}from"./classnames-Dx2cly0x.js";import{N as S}from"./NetworkImage-SJY1DR57.js";import{T as W}from"./Text-c-Dt_3pd.js";import{I as v}from"./Image-BYRrYa8a.js";import"./index-yBjzXJbu.js";import"./clsx-B-dksMZM.js";import"./index-BkTKsPvT.js";import"./proxy-71i4uxHe.js";const d="40%",p="-2%",q=j(["relative","flex","items-center","justify-center","shrink-0"],{variants:{size:{xs:"w-3 h-3 text-[4px]",sm:"w-5 h-5 text-[6px]",md:"w-8 h-8 text-[9px]",lg:"w-10 h-10 text-[11px]",xl:"w-16 h-16 text-[16px]"}},defaultVariants:{size:"md"}}),u="[mask-image:radial-gradient(circle_at_82%_82%,transparent_22%,black_0)]",i=E.memo(m=>{const{className:I,disableAnimation:c=!1,style:N,src:l,symbol:o,size:z="md",withNetwork:e,...T}=m;return s.jsxs("div",{className:n(q({size:z}),I),style:N,...T,children:[l?s.jsx(v,{className:n("rounded-full max-w-full max-h-full object-cover w-full overflow-hidden",e&&u),disableAnimation:c,src:l}):s.jsx(W,{className:n("bg-background-secondary rounded-full w-full h-full flex items-center justify-center overflow-hidden",e&&u),variant:"inherit",fontWeight:"medium",color:"muted",uppercase:!0,children:o==null?void 0:o.replace(/\s/,"").slice(0,4)}),e&&s.jsx(S,{chainId:e,className:"absolute z-1",disableAnimation:c,style:{width:d,height:d,right:p,bottom:p}})]})});try{i.displayName="TokenImage",i.__docgenInfo={description:"",displayName:"TokenImage",props:{disableAnimation:{defaultValue:null,description:"",name:"disableAnimation",required:!1,type:{name:"boolean"}},src:{defaultValue:null,description:"",name:"src",required:!1,type:{name:"string"}},symbol:{defaultValue:null,description:"",name:"symbol",required:!1,type:{name:"string"}},withNetwork:{defaultValue:null,description:"",name:"withNetwork",required:!1,type:{name:"number"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"sm" | "md" | "lg" | "xs" | "xl" | null'}}}}}catch{}const Z={title:"Components/TokenImage",component:i},a={args:{size:"lg",src:"https://assets.coingecko.com/coins/images/4713/large/matic-token-icon.png?1624446912"}},t={args:{size:"lg",symbol:"SCAM"}},r={args:{symbol:"USDC",size:"lg",src:"https://assets.sequence.info/images/tokens/medium/137/0x2791bca1f2de4661ed88a30c99a7a9449aa84174.webp",withNetwork:137}};var g,f,h;a.parameters={...a.parameters,docs:{...(g=a.parameters)==null?void 0:g.docs,source:{originalSource:`{ args: { size: 'lg', src: 'https://assets.coingecko.com/coins/images/4713/large/matic-token-icon.png?1624446912' diff --git a/assets/Tooltip.stories-CvjH4bl1.js b/assets/Tooltip.stories-DB8A5eX6.js similarity index 92% rename from assets/Tooltip.stories-CvjH4bl1.js rename to assets/Tooltip.stories-DB8A5eX6.js index 8a20ac6a6..13130306f 100644 --- a/assets/Tooltip.stories-CvjH4bl1.js +++ b/assets/Tooltip.stories-DB8A5eX6.js @@ -1,4 +1,4 @@ -import{j as s}from"./jsx-runtime-z8MfsBtr.js";import{B as w}from"./Button-e99vAgb9.js";import{M as ie}from"./Modal-CAKXAecG.js";import{r as a}from"./index-D1TSixAU.js";import{a as ce,c as C}from"./index-BWtkTp-R.js";import{u as K,a as ue}from"./index-DEvaI7vP.js";import{c as pe,P as de}from"./index-CuZtKiOG.js";import{P as fe,D as me}from"./index-DCVWRiMv.js";import{u as he}from"./index-VR-_z_Zs.js";import{c as J,R as xe,A as ve,a as ge,C as Te}from"./index-4RitGr_c.js";import{P as Q}from"./index-DogTl_U1.js";import{R as ye}from"./index--wnn4zir.js";import{T as be}from"./Text-DiY0ipGE.js";import{u as Ce}from"./ThemeProvider-CHaDE3bZ.js";import"./index-C9rmetsa.js";import"./index-DKHC-OhD.js";import"./clsx-B-dksMZM.js";import"./classnames-Dx2cly0x.js";import"./Combination-DfJfzaFg.js";import"./WarningIcon-C-Bue-nz.js";import"./IconButton-M16ADBdN.js";import"./Scroll-HNtTmBVf.js";import"./proxy-DndLXkKn.js";import"./index-Dcf1nc42.js";import"./index-D2m0ySOf.js";import"./index-CdSWItFS.js";import"./color-CiP8tUik.js";var[M,xt]=pe("Tooltip",[J]),A=J(),Z="TooltipProvider",we=700,N="tooltip.open",[Pe,H]=M(Z),ee=e=>{const{__scopeTooltip:o,delayDuration:t=we,skipDelayDuration:r=300,disableHoverableContent:n=!1,children:i}=e,[c,f]=a.useState(!0),l=a.useRef(!1),d=a.useRef(0);return a.useEffect(()=>{const u=d.current;return()=>window.clearTimeout(u)},[]),s.jsx(Pe,{scope:o,isOpenDelayed:c,delayDuration:t,onOpen:a.useCallback(()=>{window.clearTimeout(d.current),f(!1)},[]),onClose:a.useCallback(()=>{window.clearTimeout(d.current),d.current=window.setTimeout(()=>f(!0),r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:a.useCallback(u=>{l.current=u},[]),disableHoverableContent:n,children:i})};ee.displayName=Z;var L="Tooltip",[Ee,R]=M(L),te=e=>{const{__scopeTooltip:o,children:t,open:r,defaultOpen:n=!1,onOpenChange:i,disableHoverableContent:c,delayDuration:f}=e,l=H(L,e.__scopeTooltip),d=A(o),[u,m]=a.useState(null),x=he(),p=a.useRef(0),h=c??l.disableHoverableContent,g=f??l.delayDuration,v=a.useRef(!1),[y=!1,T]=ce({prop:r,defaultProp:n,onChange:V=>{V?(l.onOpen(),document.dispatchEvent(new CustomEvent(N))):l.onClose(),i==null||i(V)}}),E=a.useMemo(()=>y?v.current?"delayed-open":"instant-open":"closed",[y]),j=a.useCallback(()=>{window.clearTimeout(p.current),p.current=0,v.current=!1,T(!0)},[T]),_=a.useCallback(()=>{window.clearTimeout(p.current),p.current=0,T(!1)},[T]),I=a.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>{v.current=!0,T(!0),p.current=0},g)},[g,T]);return a.useEffect(()=>()=>{p.current&&(window.clearTimeout(p.current),p.current=0)},[]),s.jsx(xe,{...d,children:s.jsx(Ee,{scope:o,contentId:x,open:y,stateAttribute:E,trigger:u,onTriggerChange:m,onTriggerEnter:a.useCallback(()=>{l.isOpenDelayed?I():j()},[l.isOpenDelayed,I,j]),onTriggerLeave:a.useCallback(()=>{h?_():(window.clearTimeout(p.current),p.current=0)},[_,h]),onOpen:j,onClose:_,disableHoverableContent:h,children:t})})};te.displayName=L;var B="TooltipTrigger",oe=a.forwardRef((e,o)=>{const{__scopeTooltip:t,...r}=e,n=R(B,t),i=H(B,t),c=A(t),f=a.useRef(null),l=K(o,f,n.onTriggerChange),d=a.useRef(!1),u=a.useRef(!1),m=a.useCallback(()=>d.current=!1,[]);return a.useEffect(()=>()=>document.removeEventListener("pointerup",m),[m]),s.jsx(ve,{asChild:!0,...c,children:s.jsx(de.button,{"aria-describedby":n.open?n.contentId:void 0,"data-state":n.stateAttribute,...r,ref:l,onPointerMove:C(e.onPointerMove,x=>{x.pointerType!=="touch"&&!u.current&&!i.isPointerInTransitRef.current&&(n.onTriggerEnter(),u.current=!0)}),onPointerLeave:C(e.onPointerLeave,()=>{n.onTriggerLeave(),u.current=!1}),onPointerDown:C(e.onPointerDown,()=>{d.current=!0,document.addEventListener("pointerup",m,{once:!0})}),onFocus:C(e.onFocus,()=>{d.current||n.onOpen()}),onBlur:C(e.onBlur,n.onClose),onClick:C(e.onClick,n.onClose)})})});oe.displayName=B;var S="TooltipPortal",[je,_e]=M(S,{forceMount:void 0}),re=e=>{const{__scopeTooltip:o,forceMount:t,children:r,container:n}=e,i=R(S,o);return s.jsx(je,{scope:o,forceMount:t,children:s.jsx(Q,{present:t||i.open,children:s.jsx(fe,{asChild:!0,container:n,children:r})})})};re.displayName=S;var P="TooltipContent",ne=a.forwardRef((e,o)=>{const t=_e(P,e.__scopeTooltip),{forceMount:r=t.forceMount,side:n="top",...i}=e,c=R(P,e.__scopeTooltip);return s.jsx(Q,{present:r||c.open,children:c.disableHoverableContent?s.jsx(se,{side:n,...i,ref:o}):s.jsx(Re,{side:n,...i,ref:o})})}),Re=a.forwardRef((e,o)=>{const t=R(P,e.__scopeTooltip),r=H(P,e.__scopeTooltip),n=a.useRef(null),i=K(o,n),[c,f]=a.useState(null),{trigger:l,onClose:d}=t,u=n.current,{onPointerInTransitChange:m}=r,x=a.useCallback(()=>{f(null),m(!1)},[m]),p=a.useCallback((h,g)=>{const v=h.currentTarget,y={x:h.clientX,y:h.clientY},T=ke(y,v.getBoundingClientRect()),E=Me(y,T),j=Ae(g.getBoundingClientRect()),_=Ne([...E,...j]);f(_),m(!0)},[m]);return a.useEffect(()=>()=>x(),[x]),a.useEffect(()=>{if(l&&u){const h=v=>p(v,u),g=v=>p(v,l);return l.addEventListener("pointerleave",h),u.addEventListener("pointerleave",g),()=>{l.removeEventListener("pointerleave",h),u.removeEventListener("pointerleave",g)}}},[l,u,p,x]),a.useEffect(()=>{if(c){const h=g=>{const v=g.target,y={x:g.clientX,y:g.clientY},T=(l==null?void 0:l.contains(v))||(u==null?void 0:u.contains(v)),E=!Le(y,c);T?x():E&&(x(),d())};return document.addEventListener("pointermove",h),()=>document.removeEventListener("pointermove",h)}},[l,u,c,d,x]),s.jsx(se,{...e,ref:i})}),[Oe,De]=M(L,{isInside:!1}),se=a.forwardRef((e,o)=>{const{__scopeTooltip:t,children:r,"aria-label":n,onEscapeKeyDown:i,onPointerDownOutside:c,...f}=e,l=R(P,t),d=A(t),{onClose:u}=l;return a.useEffect(()=>(document.addEventListener(N,u),()=>document.removeEventListener(N,u)),[u]),a.useEffect(()=>{if(l.trigger){const m=x=>{const p=x.target;p!=null&&p.contains(l.trigger)&&u()};return window.addEventListener("scroll",m,{capture:!0}),()=>window.removeEventListener("scroll",m,{capture:!0})}},[l.trigger,u]),s.jsx(me,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:c,onFocusOutside:m=>m.preventDefault(),onDismiss:u,children:s.jsxs(Te,{"data-state":l.stateAttribute,...d,...f,ref:o,style:{...f.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[s.jsx(ue,{children:r}),s.jsx(Oe,{scope:t,isInside:!0,children:s.jsx(ye,{id:l.contentId,role:"tooltip",children:n||r})})]})})});ne.displayName=P;var ae="TooltipArrow",le=a.forwardRef((e,o)=>{const{__scopeTooltip:t,...r}=e,n=A(t);return De(ae,t).isInside?null:s.jsx(ge,{...n,...r,ref:o})});le.displayName=ae;function ke(e,o){const t=Math.abs(o.top-e.y),r=Math.abs(o.bottom-e.y),n=Math.abs(o.right-e.x),i=Math.abs(o.left-e.x);switch(Math.min(t,r,n,i)){case i:return"left";case n:return"right";case t:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Me(e,o,t=5){const r=[];switch(o){case"top":r.push({x:e.x-t,y:e.y+t},{x:e.x+t,y:e.y+t});break;case"bottom":r.push({x:e.x-t,y:e.y-t},{x:e.x+t,y:e.y-t});break;case"left":r.push({x:e.x+t,y:e.y-t},{x:e.x+t,y:e.y+t});break;case"right":r.push({x:e.x-t,y:e.y-t},{x:e.x-t,y:e.y+t});break}return r}function Ae(e){const{top:o,right:t,bottom:r,left:n}=e;return[{x:n,y:o},{x:t,y:o},{x:t,y:r},{x:n,y:r}]}function Le(e,o){const{x:t,y:r}=e;let n=!1;for(let i=0,c=o.length-1;ir!=u>r&&t<(d-f)*(r-l)/(u-l)+f&&(n=!n)}return n}function Ne(e){const o=e.slice();return o.sort((t,r)=>t.xr.x?1:t.yr.y?1:0),Be(o)}function Be(e){if(e.length<=1)return e.slice();const o=[];for(let r=0;r=2;){const i=o[o.length-1],c=o[o.length-2];if((i.x-c.x)*(n.y-c.y)>=(i.y-c.y)*(n.x-c.x))o.pop();else break}o.push(n)}o.pop();const t=[];for(let r=e.length-1;r>=0;r--){const n=e[r];for(;t.length>=2;){const i=t[t.length-1],c=t[t.length-2];if((i.x-c.x)*(n.y-c.y)>=(i.y-c.y)*(n.x-c.x))t.pop();else break}t.push(n)}return t.pop(),o.length===1&&t.length===1&&o[0].x===t[0].x&&o[0].y===t[0].y?o:o.concat(t)}var He=ee,Se=te,Ie=oe,Ve=re,qe=ne,Ge=le;const b=e=>{const{align:o="center",children:t,delayDuration:r=0,disabled:n=!1,hOffset:i=0,message:c,side:f="top",vOffset:l=0}=e,{container:d}=Ce();return n?s.jsx(s.Fragment,{children:t}):s.jsx(He,{children:s.jsxs(Se,{delayDuration:r,children:[s.jsx(Ie,{asChild:!0,children:t}),s.jsx(Ve,{container:d,children:s.jsxs(qe,{className:"backdrop-blur-xs bg-background-raised rounded-lg px-4 pb-3 pt-2 shadow-[0_0_10px_0_rgba(0,0,0,0.5)] fill-background-raised z-1000",side:f,align:o,sideOffset:l,alignOffset:i,children:[s.jsx(be,{variant:"small",fontWeight:"medium",color:"secondary",children:c}),s.jsx(Ge,{offset:12,width:10,height:5})]})})]})})};try{b.displayName="Tooltip",b.__docgenInfo={description:"",displayName:"Tooltip",props:{align:{defaultValue:null,description:"",name:"align",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"start"'},{value:'"end"'}]}},delayDuration:{defaultValue:null,description:"",name:"delayDuration",required:!1,type:{name:"number"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},hOffset:{defaultValue:null,description:"",name:"hOffset",required:!1,type:{name:"number"}},message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ReactNode"}},side:{defaultValue:null,description:"",name:"side",required:!1,type:{name:"enum",value:[{value:'"top"'},{value:'"left"'},{value:'"right"'},{value:'"bottom"'}]}},vOffset:{defaultValue:null,description:"",name:"vOffset",required:!1,type:{name:"number"}}}}}catch{}const vt={title:"Components/Tooltip",component:b},O={args:{message:"Hello, world!",children:s.jsx(w,{label:"Hover me"}),disabled:!1}},D={render:e=>s.jsxs("div",{className:"flex gap-2 h-[200px] items-center justify-center",children:[s.jsx(b,{...e,message:"Suprise!",children:s.jsx(w,{label:"Button 1"})}),s.jsx(b,{...e,message:"Peekaboo!",children:s.jsx(w,{label:"Button 2"})}),s.jsx(b,{...e,message:"Hi, there!",children:s.jsx(w,{label:"Button 3"})})]})},k={tags:["!autodocs"],render:e=>s.jsx(ie,{children:s.jsxs("div",{className:"flex p-4 gap-2",children:[s.jsx(b,{...e,message:"Tooltip 1",children:s.jsx(w,{label:"Button 1"})}),s.jsx(b,{...e,message:"Tooltip 2",children:s.jsx(w,{label:"Button 2"})})]})})};var q,G,F;O.parameters={...O.parameters,docs:{...(q=O.parameters)==null?void 0:q.docs,source:{originalSource:`{ +import{j as s}from"./jsx-runtime-Cf8x2fCZ.js";import{B as w}from"./Button-CJ_2iam3.js";import{M as ie}from"./Modal-BuzFD6wO.js";import{r as a}from"./index-DubqEmGm.js";import{a as ce,c as C}from"./index-DKEAZgBW.js";import{u as K,a as ue}from"./index-BkTKsPvT.js";import{c as pe,P as de}from"./index-EKtyzmkF.js";import{P as fe,D as me}from"./index-DC1_uW73.js";import{u as he}from"./index-Cbw-VAaK.js";import{c as J,R as xe,A as ve,a as ge,C as Te}from"./index-Cbr3GIiu.js";import{P as Q}from"./index-SbpNQzLY.js";import{R as ye}from"./index-uUNwjQTH.js";import{T as be}from"./Text-c-Dt_3pd.js";import{u as Ce}from"./ThemeProvider-BFEsm4Z9.js";import"./index-yBjzXJbu.js";import"./index-Dp3B9jqt.js";import"./clsx-B-dksMZM.js";import"./classnames-Dx2cly0x.js";import"./Combination-B30zI8Yx.js";import"./WarningIcon-Z1cZGh4-.js";import"./IconButton-tt72d-YU.js";import"./Scroll-CD1l9_-j.js";import"./proxy-71i4uxHe.js";import"./index-e5epXPAg.js";import"./index-fNjTmf9T.js";import"./index-JD-fg0In.js";import"./color-CiP8tUik.js";var[M,xt]=pe("Tooltip",[J]),A=J(),Z="TooltipProvider",we=700,N="tooltip.open",[Pe,H]=M(Z),ee=e=>{const{__scopeTooltip:o,delayDuration:t=we,skipDelayDuration:r=300,disableHoverableContent:n=!1,children:i}=e,[c,f]=a.useState(!0),l=a.useRef(!1),d=a.useRef(0);return a.useEffect(()=>{const u=d.current;return()=>window.clearTimeout(u)},[]),s.jsx(Pe,{scope:o,isOpenDelayed:c,delayDuration:t,onOpen:a.useCallback(()=>{window.clearTimeout(d.current),f(!1)},[]),onClose:a.useCallback(()=>{window.clearTimeout(d.current),d.current=window.setTimeout(()=>f(!0),r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:a.useCallback(u=>{l.current=u},[]),disableHoverableContent:n,children:i})};ee.displayName=Z;var L="Tooltip",[Ee,R]=M(L),te=e=>{const{__scopeTooltip:o,children:t,open:r,defaultOpen:n=!1,onOpenChange:i,disableHoverableContent:c,delayDuration:f}=e,l=H(L,e.__scopeTooltip),d=A(o),[u,m]=a.useState(null),x=he(),p=a.useRef(0),h=c??l.disableHoverableContent,g=f??l.delayDuration,v=a.useRef(!1),[y=!1,T]=ce({prop:r,defaultProp:n,onChange:V=>{V?(l.onOpen(),document.dispatchEvent(new CustomEvent(N))):l.onClose(),i==null||i(V)}}),E=a.useMemo(()=>y?v.current?"delayed-open":"instant-open":"closed",[y]),j=a.useCallback(()=>{window.clearTimeout(p.current),p.current=0,v.current=!1,T(!0)},[T]),_=a.useCallback(()=>{window.clearTimeout(p.current),p.current=0,T(!1)},[T]),I=a.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>{v.current=!0,T(!0),p.current=0},g)},[g,T]);return a.useEffect(()=>()=>{p.current&&(window.clearTimeout(p.current),p.current=0)},[]),s.jsx(xe,{...d,children:s.jsx(Ee,{scope:o,contentId:x,open:y,stateAttribute:E,trigger:u,onTriggerChange:m,onTriggerEnter:a.useCallback(()=>{l.isOpenDelayed?I():j()},[l.isOpenDelayed,I,j]),onTriggerLeave:a.useCallback(()=>{h?_():(window.clearTimeout(p.current),p.current=0)},[_,h]),onOpen:j,onClose:_,disableHoverableContent:h,children:t})})};te.displayName=L;var B="TooltipTrigger",oe=a.forwardRef((e,o)=>{const{__scopeTooltip:t,...r}=e,n=R(B,t),i=H(B,t),c=A(t),f=a.useRef(null),l=K(o,f,n.onTriggerChange),d=a.useRef(!1),u=a.useRef(!1),m=a.useCallback(()=>d.current=!1,[]);return a.useEffect(()=>()=>document.removeEventListener("pointerup",m),[m]),s.jsx(ve,{asChild:!0,...c,children:s.jsx(de.button,{"aria-describedby":n.open?n.contentId:void 0,"data-state":n.stateAttribute,...r,ref:l,onPointerMove:C(e.onPointerMove,x=>{x.pointerType!=="touch"&&!u.current&&!i.isPointerInTransitRef.current&&(n.onTriggerEnter(),u.current=!0)}),onPointerLeave:C(e.onPointerLeave,()=>{n.onTriggerLeave(),u.current=!1}),onPointerDown:C(e.onPointerDown,()=>{d.current=!0,document.addEventListener("pointerup",m,{once:!0})}),onFocus:C(e.onFocus,()=>{d.current||n.onOpen()}),onBlur:C(e.onBlur,n.onClose),onClick:C(e.onClick,n.onClose)})})});oe.displayName=B;var S="TooltipPortal",[je,_e]=M(S,{forceMount:void 0}),re=e=>{const{__scopeTooltip:o,forceMount:t,children:r,container:n}=e,i=R(S,o);return s.jsx(je,{scope:o,forceMount:t,children:s.jsx(Q,{present:t||i.open,children:s.jsx(fe,{asChild:!0,container:n,children:r})})})};re.displayName=S;var P="TooltipContent",ne=a.forwardRef((e,o)=>{const t=_e(P,e.__scopeTooltip),{forceMount:r=t.forceMount,side:n="top",...i}=e,c=R(P,e.__scopeTooltip);return s.jsx(Q,{present:r||c.open,children:c.disableHoverableContent?s.jsx(se,{side:n,...i,ref:o}):s.jsx(Re,{side:n,...i,ref:o})})}),Re=a.forwardRef((e,o)=>{const t=R(P,e.__scopeTooltip),r=H(P,e.__scopeTooltip),n=a.useRef(null),i=K(o,n),[c,f]=a.useState(null),{trigger:l,onClose:d}=t,u=n.current,{onPointerInTransitChange:m}=r,x=a.useCallback(()=>{f(null),m(!1)},[m]),p=a.useCallback((h,g)=>{const v=h.currentTarget,y={x:h.clientX,y:h.clientY},T=ke(y,v.getBoundingClientRect()),E=Me(y,T),j=Ae(g.getBoundingClientRect()),_=Ne([...E,...j]);f(_),m(!0)},[m]);return a.useEffect(()=>()=>x(),[x]),a.useEffect(()=>{if(l&&u){const h=v=>p(v,u),g=v=>p(v,l);return l.addEventListener("pointerleave",h),u.addEventListener("pointerleave",g),()=>{l.removeEventListener("pointerleave",h),u.removeEventListener("pointerleave",g)}}},[l,u,p,x]),a.useEffect(()=>{if(c){const h=g=>{const v=g.target,y={x:g.clientX,y:g.clientY},T=(l==null?void 0:l.contains(v))||(u==null?void 0:u.contains(v)),E=!Le(y,c);T?x():E&&(x(),d())};return document.addEventListener("pointermove",h),()=>document.removeEventListener("pointermove",h)}},[l,u,c,d,x]),s.jsx(se,{...e,ref:i})}),[Oe,De]=M(L,{isInside:!1}),se=a.forwardRef((e,o)=>{const{__scopeTooltip:t,children:r,"aria-label":n,onEscapeKeyDown:i,onPointerDownOutside:c,...f}=e,l=R(P,t),d=A(t),{onClose:u}=l;return a.useEffect(()=>(document.addEventListener(N,u),()=>document.removeEventListener(N,u)),[u]),a.useEffect(()=>{if(l.trigger){const m=x=>{const p=x.target;p!=null&&p.contains(l.trigger)&&u()};return window.addEventListener("scroll",m,{capture:!0}),()=>window.removeEventListener("scroll",m,{capture:!0})}},[l.trigger,u]),s.jsx(me,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:c,onFocusOutside:m=>m.preventDefault(),onDismiss:u,children:s.jsxs(Te,{"data-state":l.stateAttribute,...d,...f,ref:o,style:{...f.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[s.jsx(ue,{children:r}),s.jsx(Oe,{scope:t,isInside:!0,children:s.jsx(ye,{id:l.contentId,role:"tooltip",children:n||r})})]})})});ne.displayName=P;var ae="TooltipArrow",le=a.forwardRef((e,o)=>{const{__scopeTooltip:t,...r}=e,n=A(t);return De(ae,t).isInside?null:s.jsx(ge,{...n,...r,ref:o})});le.displayName=ae;function ke(e,o){const t=Math.abs(o.top-e.y),r=Math.abs(o.bottom-e.y),n=Math.abs(o.right-e.x),i=Math.abs(o.left-e.x);switch(Math.min(t,r,n,i)){case i:return"left";case n:return"right";case t:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Me(e,o,t=5){const r=[];switch(o){case"top":r.push({x:e.x-t,y:e.y+t},{x:e.x+t,y:e.y+t});break;case"bottom":r.push({x:e.x-t,y:e.y-t},{x:e.x+t,y:e.y-t});break;case"left":r.push({x:e.x+t,y:e.y-t},{x:e.x+t,y:e.y+t});break;case"right":r.push({x:e.x-t,y:e.y-t},{x:e.x-t,y:e.y+t});break}return r}function Ae(e){const{top:o,right:t,bottom:r,left:n}=e;return[{x:n,y:o},{x:t,y:o},{x:t,y:r},{x:n,y:r}]}function Le(e,o){const{x:t,y:r}=e;let n=!1;for(let i=0,c=o.length-1;ir!=u>r&&t<(d-f)*(r-l)/(u-l)+f&&(n=!n)}return n}function Ne(e){const o=e.slice();return o.sort((t,r)=>t.xr.x?1:t.yr.y?1:0),Be(o)}function Be(e){if(e.length<=1)return e.slice();const o=[];for(let r=0;r=2;){const i=o[o.length-1],c=o[o.length-2];if((i.x-c.x)*(n.y-c.y)>=(i.y-c.y)*(n.x-c.x))o.pop();else break}o.push(n)}o.pop();const t=[];for(let r=e.length-1;r>=0;r--){const n=e[r];for(;t.length>=2;){const i=t[t.length-1],c=t[t.length-2];if((i.x-c.x)*(n.y-c.y)>=(i.y-c.y)*(n.x-c.x))t.pop();else break}t.push(n)}return t.pop(),o.length===1&&t.length===1&&o[0].x===t[0].x&&o[0].y===t[0].y?o:o.concat(t)}var He=ee,Se=te,Ie=oe,Ve=re,qe=ne,Ge=le;const b=e=>{const{align:o="center",children:t,delayDuration:r=0,disabled:n=!1,hOffset:i=0,message:c,side:f="top",vOffset:l=0}=e,{container:d}=Ce();return n?s.jsx(s.Fragment,{children:t}):s.jsx(He,{children:s.jsxs(Se,{delayDuration:r,children:[s.jsx(Ie,{asChild:!0,children:t}),s.jsx(Ve,{container:d,children:s.jsxs(qe,{className:"backdrop-blur-xs bg-background-raised rounded-lg px-4 pb-3 pt-2 shadow-[0_0_10px_0_rgba(0,0,0,0.5)] fill-background-raised z-1000",side:f,align:o,sideOffset:l,alignOffset:i,children:[s.jsx(be,{variant:"small",fontWeight:"medium",color:"secondary",children:c}),s.jsx(Ge,{offset:12,width:10,height:5})]})})]})})};try{b.displayName="Tooltip",b.__docgenInfo={description:"",displayName:"Tooltip",props:{align:{defaultValue:null,description:"",name:"align",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"start"'},{value:'"end"'}]}},delayDuration:{defaultValue:null,description:"",name:"delayDuration",required:!1,type:{name:"number"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},hOffset:{defaultValue:null,description:"",name:"hOffset",required:!1,type:{name:"number"}},message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ReactNode"}},side:{defaultValue:null,description:"",name:"side",required:!1,type:{name:"enum",value:[{value:'"top"'},{value:'"left"'},{value:'"right"'},{value:'"bottom"'}]}},vOffset:{defaultValue:null,description:"",name:"vOffset",required:!1,type:{name:"number"}}}}}catch{}const vt={title:"Components/Tooltip",component:b},O={args:{message:"Hello, world!",children:s.jsx(w,{label:"Hover me"}),disabled:!1}},D={render:e=>s.jsxs("div",{className:"flex gap-2 h-[200px] items-center justify-center",children:[s.jsx(b,{...e,message:"Suprise!",children:s.jsx(w,{label:"Button 1"})}),s.jsx(b,{...e,message:"Peekaboo!",children:s.jsx(w,{label:"Button 2"})}),s.jsx(b,{...e,message:"Hi, there!",children:s.jsx(w,{label:"Button 3"})})]})},k={tags:["!autodocs"],render:e=>s.jsx(ie,{children:s.jsxs("div",{className:"flex p-4 gap-2",children:[s.jsx(b,{...e,message:"Tooltip 1",children:s.jsx(w,{label:"Button 1"})}),s.jsx(b,{...e,message:"Tooltip 2",children:s.jsx(w,{label:"Button 2"})})]})})};var q,G,F;O.parameters={...O.parameters,docs:{...(q=O.parameters)==null?void 0:q.docs,source:{originalSource:`{ args: { message: 'Hello, world!', children: