@juki-team/base-ui 1.5.3 → 1.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/{ArrowForwardIcon-D6Jfdilm.js → ArrowForwardIcon-1RdVdC78.js} +1 -1
- package/dist/esm/BarChart-4YVL8qrU.js +1 -0
- package/dist/esm/CartesianChart-CaeqB_2y.js +47 -0
- package/dist/esm/{ChangePasswordModal-DP68K_jG.js → ChangePasswordModal-OWm3MyKW.js} +1 -1
- package/dist/esm/{CodeEditor-CPsmXl7i.js → CodeEditor-B6RhGNP7.js} +1 -1
- package/dist/esm/CodeViewer-CZwCWtf1.js +1 -0
- package/dist/esm/{Collapse-Bn9-0z3I.js → Collapse-C6FDlfoR.js} +1 -1
- package/dist/esm/DataGrid-bZJxnNpn.js +127 -0
- package/dist/esm/DataViewer-CU0QwQQa.js +1 -0
- package/dist/esm/{DrawerView-D-MEVHS0.js → DrawerView-O8ivFKAG.js} +1 -1
- package/dist/esm/{ExcalidrawButton-CL_vPewV.js → ExcalidrawButton-Dx-6TOuw.js} +1 -1
- package/dist/esm/{GraphvizViewer-BfJg604I.js → GraphvizViewer-AxmRC6e5.js} +1 -1
- package/dist/esm/ImageLoaderCropper-B5z4gQda.js +1 -0
- package/dist/esm/InputCellPhoneNumber-12U8BtmT.js +1 -0
- package/dist/esm/{InputColor-Ch5Do1U-.js → InputColor-Cpd36Uei.js} +2 -2
- package/dist/esm/LineChart-Cp3YgIYB.js +1 -0
- package/dist/esm/{LoaderLayer-CXFK-kAz.js → LoaderLayer-Cv80UCdL.js} +1 -1
- package/dist/esm/{MdMath-DwyNLKE_.js → MdMath-CVxzEaJK.js} +1 -1
- package/dist/esm/MdMathEditor-himmiyoG.js +29 -0
- package/dist/esm/Popover-CEc-CYlJ.js +6 -0
- package/dist/esm/{ReplyIcon-Dd5U6wGZ.js → ReplyIcon-BlBLARCH.js} +1 -1
- package/dist/esm/{SettingsIcon-BCDZw0HR.js → SettingsIcon-C3sN1TNw.js} +1 -1
- package/dist/esm/SlideDeck-I221o0di.js +1 -0
- package/dist/esm/{TableEyeIcon-CDLbQapU.js → TableEyeIcon-BFfTLgKU.js} +1 -1
- package/dist/esm/TableOfContents-DqdT3oFH.js +1 -0
- package/dist/esm/Tooltip-DCefNWu7.js +1 -0
- package/dist/esm/UserCodeEditor-D4O5es0E.js +61 -0
- package/dist/esm/{VirtualizedRowsFixed-8Wk8DRYc.js → VirtualizedRowsFixed-D9Yuhs6Z.js} +1 -1
- package/dist/esm/WorksheetAsSlides-DJJreHkG.js +1 -0
- package/dist/esm/{WorksheetBodies-pHyqSVPy.js → WorksheetBodies-VeYRksK3.js} +1 -1
- package/dist/esm/{WorksheetContents-ByjM-HNk.js → WorksheetContents-CmB2azPo.js} +1 -1
- package/dist/esm/WorksheetEditor-CwF_HNWx.js +1 -0
- package/dist/esm/WorksheetNode-BTVi2Iol.js +1 -0
- package/dist/esm/WorksheetViewer-8nk0Y7Pu.js +1 -0
- package/dist/esm/abnfDiagram-WEYOIA3C-DEKNEQ23.js +1 -0
- package/dist/esm/arc-BXMOYbEk.js +1 -0
- package/dist/esm/architectureDiagram-ZHVYKT53-D8Cc0szw.js +1 -0
- package/dist/esm/basic-setup-DnHlH_GN.js +1 -0
- package/dist/esm/blockDiagram-RJAE7QA3-CVAxF28b.js +1 -0
- package/dist/esm/c4Diagram-XDPPPE54-DfOddOsg.js +1 -0
- package/dist/esm/channel-DaoqdAiW.js +1 -0
- package/dist/esm/chunk-2E7WHVMD-DzrxCta9.js +1 -0
- package/dist/esm/{chunk-QZHKN3VN-CUifo-Cb.js → chunk-2Q5K7J3B-BAvN2osA.js} +1 -1
- package/dist/esm/chunk-4EMNKR2T-WzMQveGn.js +1 -0
- package/dist/esm/{chunk-YZCP3GAM-DELqvesl.js → chunk-55XCU76K-Co_JK6zS.js} +1 -1
- package/dist/esm/{chunk-FMBD7UC4-DAo4g5fP.js → chunk-5VM5RSS4-2Alz3VU-.js} +1 -1
- package/dist/esm/{chunk-4BX2VUAB-Dc1mlsfk.js → chunk-JWPE2WC7-BM31szoD.js} +1 -1
- package/dist/esm/chunk-NQOKRVIF-BvuLXPDI.js +1 -0
- package/dist/esm/chunk-VQ5W62QI-BM9st1eu.js +1 -0
- package/dist/esm/{chunk-55IACEB6-Csh8qgjO.js → chunk-XXDRQBXY-B7eZEtxE.js} +1 -1
- package/dist/esm/chunk-ZCHMQSOR-BfEzwJnw.js +1 -0
- package/dist/esm/classDiagram-v2-4MYWR3UA-BBYOuONr.js +1 -0
- package/dist/esm/commons-BHuDJzTw.js +1 -0
- package/dist/esm/cose-bilkent-JH36ORCC-BBL1Y3YR.js +1 -0
- package/dist/esm/cynefin-EF2NZ3EQ-CaJSaYBh.js +1 -0
- package/dist/esm/cynefinDiagram-WF24UDRP-B6GLAQp-.js +1 -0
- package/dist/esm/cytoscape.esm-Bt9_GGFq.js +9 -0
- package/dist/esm/dagre-NK4GIZVX-B5sHdjHr.js +1 -0
- package/dist/esm/diagram-CBK3MWTC-Dcv51W2u.js +1 -0
- package/dist/esm/diagram-I5XIIV2D-BqonTetl.js +1 -0
- package/dist/esm/diagram-ODIL2UCW-CriVrDQT.js +1 -0
- package/dist/esm/diagram-PFBEJUXE-B03iAEwx.js +1 -0
- package/dist/esm/diagram-RJA3I4VV-Dj3xghQ1.js +1 -0
- package/dist/esm/diagram-TYUNFSNR-CcvVCW9_.js +1 -0
- package/dist/esm/ebnfDiagram-V4P3TTPT-BXu5Kifr.js +1 -0
- package/dist/esm/elk-QONTBCTQ-Jkx0FK2o.js +1 -0
- package/dist/esm/erDiagram-KYQIGQAA-BF9vCEaf.js +1 -0
- package/dist/esm/floating-ui.core-DzsaFWsC.js +1 -0
- package/dist/esm/floating-ui.dom-DGDCR4EF.js +1 -0
- package/dist/esm/flowDiagram-IUGLLWBU-DDMbhdom.js +1 -0
- package/dist/esm/ganttDiagram-R7GPNTJY-CQC15o39.js +1 -0
- package/dist/esm/gitGraphDiagram-PDYL7XHY-D_f2t3KD.js +1 -0
- package/dist/esm/graph-rGqC_56m.js +1 -0
- package/dist/esm/helpers.js +1 -1
- package/dist/esm/{index-A0sdG_JC.js → index-2Mitl1QB.js} +1 -1
- package/dist/esm/{index-Bw2EofiE.js → index-8mEJamTc.js} +1 -1
- package/dist/esm/{index-D_AOS7Yx.js → index-BMPFttUB.js} +1 -1
- package/dist/esm/{index-CtTbnbzM.js → index-C4KISU3M.js} +1 -1
- package/dist/esm/{index-Y09lLL_e.js → index-C9ua7WYO.js} +1 -1
- package/dist/esm/{index-CQbc3KUq.js → index-CAH_9Jug.js} +1 -1
- package/dist/esm/{index-D8zPYs0m.js → index-CGmB9AM1.js} +1 -1
- package/dist/esm/index-CKBtKrj5.js +1 -0
- package/dist/esm/{index-BR16hIbn.js → index-CRj4pqRR.js} +1 -1
- package/dist/esm/{index-CB1_GL3t.js → index-CWL6W5WQ.js} +1 -1
- package/dist/esm/{index-CpRfyO85.js → index-C_HL-Da-.js} +1 -1
- package/dist/esm/{index-Ccq-5wm6.js → index-ChphKFtR.js} +1 -1
- package/dist/esm/{index-C9_5xd3V.js → index-CkaLE__v.js} +1 -1
- package/dist/esm/{index-Ck9BxS1f.js → index-CoVpfkO8.js} +1 -1
- package/dist/esm/index-Cso1rXtQ.js +1 -0
- package/dist/esm/{index-D5NvcxPc.js → index-D5FWzr0h.js} +1 -1
- package/dist/esm/{index-CRfRlH9U.js → index-D5WiSbCh.js} +1 -1
- package/dist/esm/{index-GoUUn3QE.js → index-D5tgPh4d.js} +1 -1
- package/dist/esm/{index-33u6FCUW.js → index-DH4SMqQP.js} +1 -1
- package/dist/esm/{index-xaEdDd13.js → index-DM4Zc3sU.js} +1 -1
- package/dist/esm/{index-DSGuayJy.js → index-DPe-z7ci.js} +1 -1
- package/dist/esm/{index-BzjjAmh3.js → index-DRSSYmEF.js} +1 -1
- package/dist/esm/{index--PWk-3Ol.js → index-Dx6l5ueb.js} +1 -1
- package/dist/esm/{index-BVw40LAx.js → index-Dz8ISdDG.js} +1 -1
- package/dist/esm/{index-CtWPxOcn.js → index-ID6vqTYe.js} +1 -1
- package/dist/esm/{index-tAJiDyYy.js → index-JPCp_Z3V.js} +1 -1
- package/dist/esm/{index-D2mDsVm5.js → index-V9oZCW09.js} +1 -1
- package/dist/esm/{index-o2jBRnrQ.js → index-_kF3_0-k.js} +1 -1
- package/dist/esm/{index-B3fb7Ita.js → index-bPHO9OeP.js} +1 -1
- package/dist/esm/{index-QhLowdpF.js → index-myBmcWfr.js} +1 -1
- package/dist/esm/{index-DAJdettS.js → index-nUMXMsLO.js} +1 -1
- package/dist/esm/infoDiagram-MVDRKAX5-04QJzIoW.js +1 -0
- package/dist/esm/isSymbol-D2gNAbOe.js +1 -0
- package/dist/esm/isUndefined--MLpwE__.js +1 -0
- package/dist/esm/ishikawaDiagram-HPEHV2GE-4pDsX60A.js +1 -0
- package/dist/esm/journeyDiagram-BOSHW7O7-BJFwx5Hu.js +1 -0
- package/dist/esm/kanban-definition-FNSA4HC5-MrsniETV.js +1 -0
- package/dist/esm/katex-ukrPy3Hx.js +1 -0
- package/dist/esm/{linear-BnXjbO66.js → linear-CIPQsvV7.js} +1 -1
- package/dist/esm/{lua-8DXOpKDz.js → lua-BvgfYBhq.js} +1 -1
- package/dist/esm/main.js +1 -1
- package/dist/esm/map-CIDWRbhc.js +1 -0
- package/dist/esm/mermaid.core-DBVKQvxW.js +5 -0
- package/dist/esm/mindmap-definition-6OY57UG3-DnT4Ihuj.js +1 -0
- package/dist/esm/nsis-BFvJq6Vq.js +1 -0
- package/dist/esm/pegDiagram-ECIUJNBX-C3s5Vuxq.js +1 -0
- package/dist/esm/pieDiagram-GNMPY74T-CTjQZ9yP.js +1 -0
- package/dist/esm/quadrantDiagram-D57K4MC3-JTRqBH1z.js +1 -0
- package/dist/esm/railroadDiagram-Y72NRBL7-DtAwxQ6F.js +1 -0
- package/dist/esm/requirementDiagram-EQYSW5RA-CR7SUMC-.js +1 -0
- package/dist/esm/ruby-D9chwFAN.js +1 -0
- package/dist/esm/sankeyDiagram-SY24JHO5-DbxpJ7pE.js +1 -0
- package/dist/esm/sequenceDiagram-BLEHNHQU-CvZHKbjd.js +1 -0
- package/dist/esm/server.js +1 -1
- package/dist/esm/settings.js +1 -1
- package/dist/esm/sizeCapture-INFHLROL-f_GRBQe5.js +1 -0
- package/dist/esm/stateDiagram-v2-A6IESKWZ-DxF8GOQW.js +1 -0
- package/dist/esm/string-DPJhNSkw.js +1 -0
- package/dist/esm/swimlanes-B3ENRKFQ-YbCv2QO2.js +1 -0
- package/dist/esm/swimlanesDiagram-AYQRV4AK-CuclTt9Y.js +1 -0
- package/dist/esm/throttle-tEKq3i9o.js +1 -0
- package/dist/esm/{time-PiK_t_Re.js → time-DP3lbwAd.js} +1 -1
- package/dist/esm/timeline-definition-JXYKGLGB-C1x6bOWf.js +1 -0
- package/dist/esm/toNumber-B6ypue5Z.js +1 -0
- package/dist/esm/types-C3mmJ376.js +1 -0
- package/dist/esm/usecaseDiagram-WPOLBNNX-QdEejhhn.js +1 -0
- package/dist/esm/vennDiagram-Q3Y3IDCW-B0EVPCrz.js +1 -0
- package/dist/esm/viz-BmmZnl4P.js +9 -0
- package/dist/esm/wardleyDiagram-IVAIDKWA-Dlo4JFKg.js +1 -0
- package/dist/esm/{websocket-C4G3j9Rm.js → websocket-B2hJys_Q.js} +1 -1
- package/dist/esm/{xlsx-XBWnafwQ.js → xlsx-BVrgZ1Ou.js} +2 -2
- package/dist/esm/xychartDiagram-4URNHDU4-CU8TcG1V.js +1 -0
- package/dist/module-types/node_modules/.pnpm/@milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3/node_modules/@milkdown/kit/lib/component/diff.d.ts +1 -0
- package/dist/module-types/node_modules/.pnpm/@milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3/node_modules/@milkdown/kit/lib/exception.d.ts +1 -0
- package/dist/module-types/node_modules/.pnpm/@milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3/node_modules/@milkdown/kit/lib/plugin/diff.d.ts +1 -0
- package/dist/module-types/node_modules/.pnpm/@milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3/node_modules/@milkdown/kit/lib/plugin/streaming.d.ts +1 -0
- package/dist/module-types/src/components/atoms/Client/Client.d.ts +1 -1
- package/dist/module-types/src/components/atoms/CopyToClipboard/CopyToClipboard.d.ts +1 -1
- package/dist/module-types/src/components/atoms/DateLiteral/DateLiteral.d.ts +1 -1
- package/dist/module-types/src/components/atoms/InputCheckbox/InputCheckbox.d.ts +1 -1
- package/dist/module-types/src/components/atoms/InputPassword/InputPassword.d.ts +1 -1
- package/dist/module-types/src/components/atoms/InputRadio/InputRadio.d.ts +1 -1
- package/dist/module-types/src/components/atoms/InputSelect/InputSelect.d.ts +1 -1
- package/dist/module-types/src/components/atoms/InputTextArea/InputTextArea.d.ts +1 -1
- package/dist/module-types/src/components/atoms/InputToggle/InputToggle.d.ts +1 -1
- package/dist/module-types/src/components/atoms/Modal/Modal.d.ts +1 -1
- package/dist/module-types/src/components/atoms/MultiSelect/MultiSelect.d.ts +1 -1
- package/dist/module-types/src/components/atoms/Select/Select.d.ts +1 -1
- package/dist/module-types/src/components/atoms/T/T.d.ts +1 -1
- package/dist/module-types/src/components/atoms/_lazy_/Collapse/Collapse.d.ts +1 -1
- package/dist/module-types/src/components/atoms/_lazy_/Collapse/index.d.ts +1 -1
- package/dist/module-types/src/components/atoms/_lazy_/InputCellPhoneNumber/InputCellPhoneNumber.d.ts +1 -1
- package/dist/module-types/src/components/atoms/_lazy_/InputCellPhoneNumber/index.d.ts +1 -1
- package/dist/module-types/src/components/atoms/_lazy_/Popover/Popover.d.ts +1 -1
- package/dist/module-types/src/components/atoms/_lazy_/Popover/index.d.ts +1 -1
- package/dist/module-types/src/components/atoms/_lazy_/Tooltip/Tooltip.d.ts +1 -1
- package/dist/module-types/src/components/atoms/_lazy_/Tooltip/index.d.ts +1 -1
- package/dist/module-types/src/components/atoms/_lazy_/VirtualizedRowsFixed/VirtualizedRowsFixed.d.ts +1 -1
- package/dist/module-types/src/components/atoms/_lazy_/VirtualizedRowsFixed/index.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/SpinIcon/Spin.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/SpinIcon/index.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/AcUnitIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/AccountCircleIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/AcuteIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/AddColumnLeftIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/AddColumnRightIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/AddIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/AddPhotoAlternateIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/AddReactionIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/AddRowAboveIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/AddRowBelowIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/AdminPanelSettingsIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/AlarmIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/AppsIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/ArrowBackIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/ArrowDownwardIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/ArrowDropDownIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/ArrowDropUpIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/ArrowForwardIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/ArrowLeftIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/ArrowRightIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/ArrowUpwardIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/ArticleIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/AssignmentIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/AttachFileIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/AttachmentIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/AutorenewIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/BadgeIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/BoltIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/BubbleChartIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/BuildIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/CalendarMonthIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/CalendarTodayIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/CalendarViewWeekIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/CheckIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/ChecklistIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/CloseIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/CloudDownloadIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/CloudUploadIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/CodeBlocksIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/CodeIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/CommentIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/ContactPhoneIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/ContactsIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/ContentCopyIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/DarkModeIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/DashboardIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/DeleteIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/DemographyIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/DescriptionIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/DesignServicesIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/DoneAllIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/DownloadIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/DraftIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/DragIndicatorIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/EditIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/EditNoteIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/ErrorIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/EventIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/EventListIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/ExclamationIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/ExpandLessIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/ExpandMoreIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/ExtensionIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/FileCopyIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/FileOpenIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/FilterListIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/FitnessCenterIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/FolderIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/FolderManagedIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/FolderOpenIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/FormatBoldIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/FormatH1Icon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/FormatH2Icon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/FormatH3Icon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/FormatH4Icon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/FormatH5Icon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/FormatH6Icon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/FormatInkHighlighterIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/FormatItalicIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/FormatListBulletedIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/FormatListNumberedIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/FormatQuoteIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/FormatStrikethroughIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/ForwardIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/FullscreenExitIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/FullscreenIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/GlobeIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/GroupAddIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/GroupIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/GroupsIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/HardDriveIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/HelpIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/HistoryIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/HomeIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/HomeStorageIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/InfoIIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/InkEraserIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/InvertColorsIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/LanguageIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/LeaderboardIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/LibraryBooksIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/LightModeIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/LinkIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/LinkOffIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/ListIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/LoadingIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/LocationCityIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/LocationOnIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/LockClockIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/LockIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/LockPersonIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/LoginIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/LogoutIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/MailIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/ManageAccountsIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/ManageSearchIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/ManufacturingIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/MenuBookIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/MenuIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/MoreTimeIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/MoreVertIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/NavigateBeforeIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/NavigateNextIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/NewReleasesIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/NoteAddIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/NoteIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/NotificationsActiveIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/OpenInNewIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/PageInfoIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/PaletteIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/PanToolIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/PauseCircleIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/PendingActionsIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/PendingIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/PersonIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/PhotoLibraryIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/PictureAsPdfIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/PlayArrowIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/PlayCircleIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/PostAddIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/PreviewIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/PriorityHighIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/PublicIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/PublishIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/RedoIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/RefreshIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/ReplyAllIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/ReplyIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/SaveIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/ScheduleIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/SchoolIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/SearchIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/SendIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/SettingsAlertIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/SettingsIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/SettingsSuggestIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/ShareIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/SideNavigationIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/SmartToyIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/SpeedIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/StepIntoIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/StepOutIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/StopCircleIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/StorageIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/StylusLaserPointerIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/StylusNoteIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/SupportAgentIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/SyncIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/TableEyeIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/TableIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/TaskIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/TimerIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/TrendingUpIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/TrophyIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/UndoIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/UpdateIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/VerticalSplitIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/ViewCozyIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/ViewHeadlineIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/ViewModuleIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/VisibilityIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/VisibilityOffIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/VoidIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/WarningIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/WidgetsIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/signs/ArrowIcon_/Arrow.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/signs/ArrowIcon_/NarrowArrow.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/signs/ArrowIcon_/index.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/signs/CheckIcon_/Check.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/signs/CheckIcon_/index.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/signs/CloseIcon_/index.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/signs/DoubleUpIcon/DoubleUp.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/signs/DoubleUpIcon/index.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/signs/ExclamationIcon_/Exclamation.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/signs/ExclamationIcon_/index.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/signs/MinusIcon/Minus.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/signs/MinusIcon/NarrowMinus.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/signs/MinusIcon/index.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/signs/PlusIcon/NarrowPlus.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/signs/PlusIcon/Plus.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/signs/PlusIcon/index.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/signs/UpIcon/Up.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/signs/UpIcon/index.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/specials/BalloonIcon/Balloon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/specials/BalloonIcon/index.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/specials/FacebookIcon/Facebook.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/specials/FacebookIcon/index.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/specials/GmailIcon/Gmail.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/specials/GmailIcon/index.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/specials/SortIcon/index.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/specials/TelegramIcon/Telegram.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/specials/TelegramIcon/index.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/utils/CircleFilledFrame.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/utils/CircleFrame.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/utils/CirclePath.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/utils/Segment.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/utils/SquareFilledFrame.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/utils/SquareFrame.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/utils/renderBasicIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/utils/renderSignIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/loaders/LoaderLayer.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/loaders/line-loader/LineLoader.d.ts +1 -1
- package/dist/module-types/src/components/mockup/MockupJukiProvider.d.ts +1 -1
- package/dist/module-types/src/components/mockup/MockupLoginButton.d.ts +1 -1
- package/dist/module-types/src/components/mockup/MockupToggleThemeButton.d.ts +1 -1
- package/dist/module-types/src/components/molecules/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/dist/module-types/src/components/molecules/ButtonAction/ButtonAction.d.ts +1 -1
- package/dist/module-types/src/components/molecules/ButtonLoader/ButtonLoader.d.ts +1 -1
- package/dist/module-types/src/components/molecules/CheckboxList/CheckboxList.d.ts +1 -1
- package/dist/module-types/src/components/molecules/CircularProgress/CircularProgress.d.ts +1 -1
- package/dist/module-types/src/components/molecules/DayPicker/DayPicker.d.ts +1 -1
- package/dist/module-types/src/components/molecules/Drawer/Drawer.d.ts +1 -1
- package/dist/module-types/src/components/molecules/FetcherLayer/FetcherLayer.d.ts +1 -1
- package/dist/module-types/src/components/molecules/FloatToolbar/FloatToolbar.d.ts +1 -1
- package/dist/module-types/src/components/molecules/HomeLink/HomeLink.d.ts +1 -1
- package/dist/module-types/src/components/molecules/InformationPopover/FrozenInformation.d.ts +1 -1
- package/dist/module-types/src/components/molecules/InformationPopover/InformationPopover.d.ts +1 -1
- package/dist/module-types/src/components/molecules/InformationPopover/NewlineInfo.d.ts +1 -1
- package/dist/module-types/src/components/molecules/InformationPopover/QuietInformation.d.ts +1 -1
- package/dist/module-types/src/components/molecules/InformationPopover/UpsolvingInformation.d.ts +1 -1
- package/dist/module-types/src/components/molecules/InputDate/InputDate.d.ts +1 -1
- package/dist/module-types/src/components/molecules/LinkLastPath/LinkLastPath.d.ts +1 -1
- package/dist/module-types/src/components/molecules/MonthPicker/MonthPicker.d.ts +1 -1
- package/dist/module-types/src/components/molecules/MultiSelectSearchable/MultiSelectSearchable.d.ts +1 -1
- package/dist/module-types/src/components/molecules/NextButton/NextButton.d.ts +1 -1
- package/dist/module-types/src/components/molecules/Pagination/Pagination.d.ts +1 -1
- package/dist/module-types/src/components/molecules/PreviousButton/PreviousButton.d.ts +1 -1
- package/dist/module-types/src/components/molecules/ProgressMultiBar/ProgressMultiBar.d.ts +1 -1
- package/dist/module-types/src/components/molecules/ProgressSlide/ProgressSlide.d.ts +1 -1
- package/dist/module-types/src/components/molecules/SplitModal/SplitModal.d.ts +1 -1
- package/dist/module-types/src/components/molecules/SplitPane/SplitPane.d.ts +1 -1
- package/dist/module-types/src/components/molecules/SubmissionRejudgeButton/SubmissionRejudgeButton.d.ts +1 -1
- package/dist/module-types/src/components/molecules/Tabs/Tabs.d.ts +1 -1
- package/dist/module-types/src/components/molecules/Tabs/mocks/JudgeTabs.d.ts +1 -1
- package/dist/module-types/src/components/molecules/TabsInline/TabsInline.d.ts +1 -1
- package/dist/module-types/src/components/molecules/TabsInline/TabsInline.deprecated.d.ts +1 -1
- package/dist/module-types/src/components/molecules/TabsInline/TabsInlineButton.d.ts +1 -1
- package/dist/module-types/src/components/molecules/TabsInline/TabsInlineButtonLoader.d.ts +1 -1
- package/dist/module-types/src/components/molecules/TabsInlineBody/TabsInlineBody.d.ts +1 -1
- package/dist/module-types/src/components/molecules/TabsInlineBody/TabsInlineBody.deprecated.d.ts +1 -1
- package/dist/module-types/src/components/molecules/ThemeColorPalette/ThemeColorPalette.d.ts +1 -1
- package/dist/module-types/src/components/molecules/TimePicker/TimePicker.d.ts +1 -1
- package/dist/module-types/src/components/molecules/Timer/Timer.d.ts +1 -1
- package/dist/module-types/src/components/molecules/Timer/TimerDisplay.d.ts +1 -1
- package/dist/module-types/src/components/molecules/TimerLabeled/TimerLabeled.d.ts +1 -1
- package/dist/module-types/src/components/molecules/TwoActionModal/TwoActionModal.d.ts +1 -1
- package/dist/module-types/src/components/molecules/TwoContentSection/TwoContentSection.d.ts +1 -1
- package/dist/module-types/src/components/molecules/YearPicker/YearPicker.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/BarChart/BarChart.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/BarChart/index.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/CodeEditor/CodeEditor.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/CodeEditor/index.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/CodeViewer/CodeViewer.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/CodeViewer/index.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/DataGrid/DataGrid.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/DataGrid/index.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/DrawerView/DrawerView.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/DrawerView/index.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/ImageLoaderCropper/ImageLoaderCropper.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/ImageLoaderCropper/index.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/InputColor/InputColor.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/InputColor/index.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/LineChart/LineChart.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/LineChart/index.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/SlideDeck/SlideDeck.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/SlideDeck/index.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/SortableItems/SortableItems.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/SortableItems/index.d.ts +1 -1
- package/dist/module-types/src/components/molecules/layouts/ApplicationLoaderLayout.d.ts +1 -1
- package/dist/module-types/src/components/molecules/layouts/JukiLoadingLayout.d.ts +1 -1
- package/dist/module-types/src/components/molecules/layouts/PawsLoadingLayout.d.ts +1 -1
- package/dist/module-types/src/components/molecules/layouts/TwoContentCardsLayout.d.ts +1 -1
- package/dist/module-types/src/components/molecules/layouts/TwoContentLayout.d.ts +1 -1
- package/dist/module-types/src/components/molecules/layouts/UserLoaderLayout.d.ts +1 -1
- package/dist/module-types/src/components/organisms/AiChatPanel/AiChatPanel.d.ts +1 -1
- package/dist/module-types/src/components/organisms/CardNotification/CardNotification.d.ts +1 -1
- package/dist/module-types/src/components/organisms/CardNotification/constants.d.ts +4 -4
- package/dist/module-types/src/components/organisms/CheckUnsavedChanges/CheckUnsavedChanges.d.ts +1 -1
- package/dist/module-types/src/components/organisms/Field/Field.d.ts +1 -1
- package/dist/module-types/src/components/organisms/FieldDate/FieldDate.d.ts +1 -1
- package/dist/module-types/src/components/organisms/FieldText/FieldText.d.ts +1 -1
- package/dist/module-types/src/components/organisms/GraphvizEditor/GraphvizEditor.d.ts +1 -1
- package/dist/module-types/src/components/organisms/GraphvizEditorModal/GraphvizEditorModal.d.ts +1 -1
- package/dist/module-types/src/components/organisms/GraphvizViewers/GraphvizViewers.d.ts +1 -1
- package/dist/module-types/src/components/organisms/HorizontalMenu/HorizontalMenu.d.ts +1 -1
- package/dist/module-types/src/components/organisms/ImageUploaderButton/ImageUploaderButton.d.ts +1 -1
- package/dist/module-types/src/components/organisms/LoginUser/LoginUser.d.ts +1 -1
- package/dist/module-types/src/components/organisms/MdMathViewer/MdFloatToolbar/MdFloatToolbar.d.ts +1 -1
- package/dist/module-types/src/components/organisms/MdMathViewer/MdMathViewer.d.ts +1 -1
- package/dist/module-types/src/components/organisms/MdMathViewer/MemoMdMath.deprecated.d.ts +1 -1
- package/dist/module-types/src/components/organisms/MdMathViewer/MemoMdMathViewer.deprecated.d.ts +1 -1
- package/dist/module-types/src/components/organisms/PageNotFound/PageNotFound.d.ts +1 -1
- package/dist/module-types/src/components/organisms/PagedDataViewer/PagedDataViewer.d.ts +1 -1
- package/dist/module-types/src/components/organisms/PresentationToolButtons/PresentationToolButtons.d.ts +1 -1
- package/dist/module-types/src/components/organisms/PresentationToolButtons/buttons/FullscreenTimerButton.d.ts +1 -1
- package/dist/module-types/src/components/organisms/PresentationToolButtons/buttons/FullscreenToggleButton.d.ts +1 -1
- package/dist/module-types/src/components/organisms/PresentationToolButtons/buttons/PointerButton.d.ts +1 -1
- package/dist/module-types/src/components/organisms/ProblemSelector/ProblemSelector.d.ts +1 -1
- package/dist/module-types/src/components/organisms/ProblemVerdictTag/ProblemVerdictTag.d.ts +1 -1
- package/dist/module-types/src/components/organisms/SubmitView/SubmitView.d.ts +1 -1
- package/dist/module-types/src/components/organisms/SubmitView/commons/SubmissionGroupInfo.d.ts +1 -1
- package/dist/module-types/src/components/organisms/SubmitView/commons/SubmissionListenerVerdict.d.ts +1 -1
- package/dist/module-types/src/components/organisms/SubmitView/commons/SubmissionMemory.d.ts +1 -1
- package/dist/module-types/src/components/organisms/SubmitView/commons/SubmissionTime.d.ts +1 -1
- package/dist/module-types/src/components/organisms/SubmitView/commons/SubmissionVerdict.d.ts +1 -1
- package/dist/module-types/src/components/organisms/SubmitView/commons/SubmitViewContent.d.ts +1 -1
- package/dist/module-types/src/components/organisms/TextHeadCell/TextHeadCell.d.ts +1 -1
- package/dist/module-types/src/components/organisms/UserChip/UserChip.d.ts +1 -1
- package/dist/module-types/src/components/organisms/UserNicknameLink/UserNicknameLink.d.ts +1 -1
- package/dist/module-types/src/components/organisms/UsersSelector/UsersSelector.d.ts +1 -1
- package/dist/module-types/src/components/organisms/VerticalMenu/VerticalMenu.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/ChangePasswordModal/ChangePasswordModal.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/ChangePasswordModal/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/CardList/DataViewerCard.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/CardList/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/DataViewer.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/FilterDrawer/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/JkContestTableTest/MockJkContestTable.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/JkProblemTableTest/MockJkProblemTable.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/JkSubmissionsTableTest/MockJkSubmissionTable.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/JkUserTableTest/MockJkUserTable.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/RowVirtualizerFixed.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/TableHead/Filter.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/TableHead/TableHeadFilterDate.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/TableHead/TableHeadFilterDateRange.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/TableHead/TableHeadFilterSelect.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/TableHead/TableHeadFilterText.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/ViewContainerRows.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/commons/DataViewerToolbar.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/commons/DisplayDataViewer.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/commons/utils.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/ExcalidrawButton/ExcalidrawButton.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/ExcalidrawButton/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/GraphvizViewer/GraphvizViewer.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/GraphvizViewer/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/MdMath/MdMath.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/MdMath/MermaidInline.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/MdMath/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/MdMath/utils.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/MdMathEditor.deprecated.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/TextPlainEditorContent/TextPlainEditorContent.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/CodeRunnerEditor.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/FileTreePanel/FileTreePanel.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/FirstPane.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/Header/RunCodeButton.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/Header/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/MermaidViewer/GraphicToolbar.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/MermaidViewer/MermaidViewer.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/SettingsModal/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/TestCases/LogInfo.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/TestCases/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetAsSlides/WorksheetAsSlides.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetAsSlides/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetContents/WorksheetContents.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetContents/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/WorksheetEditor.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/AddNewChild.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/ChunkTitle.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/CodeEditorSheetSection/CodeEditorSheetSection.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/CodeEditorSheetSection/CodeEditorSheetSectionEditor.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/CodeEditorSheetSection/CodeEditorSheetSectionEditorModal.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/CodeEditorSheetSection/CodeEditorSheetSectionView.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/EditSheetModal.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/GraphSheetSection/GraphSheetSection.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/GraphSheetSection/GraphSheetSectionEditor.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/GraphSheetSection/GraphSheetSectionEditorModal.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/GraphSheetSection/GraphSheetSectionView.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/JkmdSheetSection/JkmdSheetSection.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/JkmdSheetSection/JkmdSheetSection.old.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/JkmdSheetSection/JkmdSheetSectionEditor.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/JkmdSheetSection/JkmdSheetSectionEditorModal.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/ListSheetSection/ListSheetRecursiveSection.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/ListSheetSection/ListSheetSection.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizOptionsSheetSection/QuizOptionsSheetSection.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizOptionsSheetSection/QuizOptionsSheetSectionEditor.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizOptionsSheetSection/QuizOptionsSheetSectionEditorModal.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizOptionsSheetSection/QuizOptionsSheetSectionView.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizProblemSheetSection/ProblemSummary.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizProblemSheetSection/QuizProblemSheetSection.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizProblemSheetSection/QuizProblemSheetSectionEditor.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizProblemSheetSection/QuizProblemSheetSectionEditorModal.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizProblemSheetSection/QuizProblemSheetSectionView.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/ResultHeader.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/TableOfContents.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/TableOfContentsModal.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/UpRemoveDownButtons.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/WorksheetBodies.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/WorksheetNode.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/upRemoveDownActions.d.ts +4 -4
- package/dist/module-types/src/components/organisms/_layz_/WorksheetViewer/WorksheetViewer.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetViewer/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/modals/ImageUploaderModal/ImageUploaderModal.d.ts +1 -1
- package/dist/module-types/src/components/organisms/modals/ImageUploaderModal/PublicImagesTab/PublicImages.d.ts +1 -1
- package/dist/module-types/src/components/organisms/modals/ImageUploaderModal/PublicImagesTab/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/modals/ImageUploaderModal/UploadNewImageTab/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/modals/LoginModal/LoginModal.d.ts +2 -2
- package/dist/module-types/src/components/organisms/modals/LoginModal/LoginModalTemplate/ForgotPassword/ForgoPasswordModal.d.ts +1 -1
- package/dist/module-types/src/components/organisms/modals/LoginModal/LoginModalTemplate/ForgotPassword/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/modals/LoginModal/LoginModalTemplate/LoginModalTemplate.d.ts +1 -1
- package/dist/module-types/src/components/organisms/modals/SignUpModal/SignUpModal.d.ts +1 -1
- package/dist/module-types/src/components/organisms/modals/SignUpModal/SignUpModalTemplate/SignUpModalTemplate.d.ts +1 -1
- package/dist/module-types/src/components/organisms/modals/SubmissionModal/SubmissionContentModal.d.ts +1 -1
- package/dist/module-types/src/components/organisms/modals/SubmissionModal/SubmissionModal.d.ts +1 -1
- package/dist/module-types/src/components/organisms/modals/UserPreviewModal/UserPreviewContentModal.d.ts +2 -2
- package/dist/module-types/src/components/organisms/modals/UserPreviewModal/UserPreviewModal.d.ts +1 -1
- package/dist/module-types/src/components/organisms/modals/WelcomeModal/WelcomeModal.d.ts +1 -1
- package/dist/module-types/src/components/providers/JukiAblyInitializer/JukiAblyInitializer.d.ts +2 -2
- package/dist/module-types/src/components/providers/JukiProviders.d.ts +1 -1
- package/dist/module-types/src/components/providers/JukiUIProvider/Image.d.ts +1 -1
- package/dist/module-types/src/components/providers/JukiUIProvider/JukiUIProvider.d.ts +1 -1
- package/dist/module-types/src/components/providers/JukiUIProvider/Link.d.ts +1 -1
- package/dist/module-types/src/components/providers/NotificationProvider/NotificationProvider.d.ts +1 -1
- package/dist/module-types/src/components/templates/ContestNameLinkField/ContestNameLinkField.d.ts +1 -1
- package/dist/module-types/src/components/templates/EditProfileModal/EditProfileModal.d.ts +1 -1
- package/dist/module-types/src/components/templates/EditProfileModal/ImageProfileModal.d.ts +1 -1
- package/dist/module-types/src/components/templates/EntityCreateLayout/EntityCreateLayout.d.ts +1 -1
- package/dist/module-types/src/components/templates/EntityLogsModal/EntityLogsModal.d.ts +1 -1
- package/dist/module-types/src/components/templates/EntityUpdateLayout/EntityUpdateLayout.d.ts +1 -1
- package/dist/module-types/src/components/templates/ErrorBoundary/ErrorBoundary.d.ts +2 -2
- package/dist/module-types/src/components/templates/HelpSection/HelpSection.d.ts +1 -1
- package/dist/module-types/src/components/templates/MainMenu/DrawerViewMenuMobile/DrawerViewMenuMobile.d.ts +1 -1
- package/dist/module-types/src/components/templates/MainMenu/MainMenu.d.ts +1 -1
- package/dist/module-types/src/components/templates/MainMenu/SettingsSection/index.d.ts +3 -3
- package/dist/module-types/src/components/templates/NewViersionAvailableModal/NewVersionAvailable.d.ts +1 -1
- package/dist/module-types/src/components/templates/NewViersionAvailableModal/NewVersionAvailableModal/NewVersionAvailableModal.d.ts +1 -1
- package/dist/module-types/src/components/templates/ProblemView/ProblemInfo.d.ts +6 -6
- package/dist/module-types/src/components/templates/ProblemView/ProblemView.d.ts +1 -1
- package/dist/module-types/src/components/templates/ProblemView/commons/ProblemCodeEditor.d.ts +1 -1
- package/dist/module-types/src/components/templates/ProblemView/commons/ProblemStatementView.d.ts +1 -1
- package/dist/module-types/src/components/templates/ProblemView/commons/SampleTest.d.ts +1 -1
- package/dist/module-types/src/components/templates/ResetPasswordModal/ResetPasswordModal.d.ts +1 -1
- package/dist/module-types/src/components/templates/UserActiveSessions/UserMyActiveSessions.d.ts +1 -1
- package/dist/module-types/src/components/templates/UserProfile/UserProfile.d.ts +1 -1
- package/dist/module-types/src/components/templates/UserProfile/UserProfileDataContent.d.ts +1 -1
- package/dist/module-types/src/components/templates/UserProfileSettings/UserProfileSettings.d.ts +1 -1
- package/dist/module-types/src/components/templates/UserViewLayout/ProfileSubmissions.d.ts +1 -1
- package/dist/module-types/src/components/templates/UserViewLayout/UserViewLayout.d.ts +1 -1
- package/dist/module-types/src/components/templates/members/DocumentCustomMembersContent.d.ts +1 -1
- package/dist/module-types/src/components/templates/members/DocumentMembersButton.d.ts +1 -1
- package/dist/module-types/src/components/templates/members/DocumentMembersContent.d.ts +1 -1
- package/dist/module-types/src/components/templates/members/DocumentMembersModal/DocumentMembersModal.d.ts +1 -1
- package/dist/module-types/src/components/templates/problem/ProblemAdminActionsField.d.ts +1 -1
- package/dist/module-types/src/components/templates/problem/ProblemCrawlerField.d.ts +1 -1
- package/dist/module-types/src/components/templates/problem/ProblemKeyField.d.ts +1 -1
- package/dist/module-types/src/components/templates/problem/ProblemModeField.d.ts +1 -1
- package/dist/module-types/src/components/templates/problem/ProblemNameLinkField.d.ts +1 -1
- package/dist/module-types/src/components/templates/problem/ProblemNameModalField.d.ts +1 -1
- package/dist/module-types/src/components/templates/problem/ProblemOwnerField.d.ts +1 -1
- package/dist/module-types/src/components/templates/problem/ProblemStatus.d.ts +1 -1
- package/dist/module-types/src/components/templates/problem/ProblemTypeField.d.ts +1 -1
- package/dist/module-types/src/components/templates/problem/TagsField.d.ts +1 -1
- package/dist/module-types/src/components/templates/submission/SubmissionContestField.d.ts +1 -1
- package/dist/module-types/src/components/templates/submission/SubmissionContestProblemField.d.ts +1 -1
- package/dist/module-types/src/components/templates/submission/SubmissionDateField.d.ts +1 -1
- package/dist/module-types/src/components/templates/submission/SubmissionLanguageField.d.ts +1 -1
- package/dist/module-types/src/components/templates/submission/SubmissionNicknameField.d.ts +1 -1
- package/dist/module-types/src/components/templates/submission/SubmissionProblemField.d.ts +1 -1
- package/dist/module-types/src/components/templates/submission/SubmissionRetrieveButton.d.ts +1 -1
- package/dist/module-types/src/components/templates/submission/SubmissionTimeField.d.ts +1 -1
- package/dist/module-types/src/components/templates/submission/commons/SubmissionInfo.d.ts +1 -1
- package/dist/module-types/src/stores/user/useUserStore.d.ts +1 -1
- package/package.json +82 -87
- package/src/styles/components/atoms/_tabs-inline.scss +106 -18
- package/src/styles/components/molecules/_layouts.scss +2 -2
- package/src/vendor/@milkdown/crepe/lib/theme/common/ai.css +446 -0
- package/src/vendor/@milkdown/crepe/lib/theme/common/block-edit.css +3 -3
- package/src/vendor/@milkdown/crepe/lib/theme/common/code-mirror.css +19 -5
- package/src/vendor/@milkdown/crepe/lib/theme/common/diff.css +177 -0
- package/src/vendor/@milkdown/crepe/lib/theme/common/image-block.css +2 -2
- package/src/vendor/@milkdown/crepe/lib/theme/common/link-tooltip.css +3 -3
- package/src/vendor/@milkdown/crepe/lib/theme/common/reset.css +15 -14
- package/src/vendor/@milkdown/crepe/lib/theme/common/style.css +2 -0
- package/src/vendor/@milkdown/crepe/lib/theme/common/table.css +1 -1
- package/src/vendor/@milkdown/crepe/lib/theme/common/top-bar.css +2 -2
- package/src/vendor/@milkdown/crepe/lib/theme/crepe/style.css +1 -0
- package/src/vendor/@milkdown/crepe/lib/theme/crepe-dark/style.css +1 -0
- package/src/vendor/@milkdown/crepe/lib/theme/frame/style.css +1 -0
- package/src/vendor/@milkdown/crepe/lib/theme/frame-dark/style.css +1 -0
- package/src/vendor/@milkdown/crepe/lib/theme/nord/style.css +1 -0
- package/src/vendor/@milkdown/crepe/lib/theme/nord-dark/style.css +1 -0
- package/src/vendor/@milkdown/crepe/src/theme/common/ai.css +430 -0
- package/src/vendor/@milkdown/crepe/src/theme/common/block-edit.css +3 -3
- package/src/vendor/@milkdown/crepe/src/theme/common/code-mirror.css +19 -5
- package/src/vendor/@milkdown/crepe/src/theme/common/diff.css +196 -0
- package/src/vendor/@milkdown/crepe/src/theme/common/image-block.css +2 -2
- package/src/vendor/@milkdown/crepe/src/theme/common/link-tooltip.css +3 -3
- package/src/vendor/@milkdown/crepe/src/theme/common/reset.css +15 -14
- package/src/vendor/@milkdown/crepe/src/theme/common/style.css +2 -0
- package/src/vendor/@milkdown/crepe/src/theme/common/table.css +1 -1
- package/src/vendor/@milkdown/crepe/src/theme/common/top-bar.css +2 -2
- package/src/vendor/@milkdown/crepe/src/theme/crepe/style.css +1 -0
- package/src/vendor/@milkdown/crepe/src/theme/crepe-dark/style.css +1 -0
- package/src/vendor/@milkdown/crepe/src/theme/frame/style.css +1 -0
- package/src/vendor/@milkdown/crepe/src/theme/frame-dark/style.css +1 -0
- package/src/vendor/@milkdown/crepe/src/theme/nord/style.css +1 -0
- package/src/vendor/@milkdown/crepe/src/theme/nord-dark/style.css +1 -0
- package/src/vendor/fumadocs-ui/css/generated/docs.css +1 -512
- package/src/vendor/fumadocs-ui/css/generated/flux.css +1 -432
- package/src/vendor/fumadocs-ui/css/generated/glass.css +1 -0
- package/src/vendor/fumadocs-ui/css/generated/home.css +1 -220
- package/src/vendor/fumadocs-ui/css/generated/notebook.css +1 -540
- package/src/vendor/fumadocs-ui/css/generated/shared.css +1 -1176
- package/src/vendor/fumadocs-ui/css/lib/base.css +93 -2
- package/src/vendor/fumadocs-ui/css/lib/shiki.css +2 -2
- package/src/vendor/fumadocs-ui/css/preset-legacy.css +38 -0
- package/src/vendor/fumadocs-ui/css/preset.css +0 -80
- package/src/vendor/fumadocs-ui/css/solar.css +10 -20
- package/src/vendor/fumadocs-ui/css/vitepress.css +17 -10
- package/src/vendor/fumadocs-ui/dist/components/image-zoom2.css +5 -0
- package/src/vendor/fumadocs-ui/dist/style.css +1375 -936
- package/src/vendor/handsontable/styles/handsontable.css +964 -416
- package/src/vendor/handsontable/styles/handsontable.min.css +5 -4
- package/src/vendor/handsontable/styles/ht-icons-horizon.css +11 -12
- package/src/vendor/handsontable/styles/ht-icons-horizon.min.css +5 -4
- package/src/vendor/handsontable/styles/ht-icons-main.css +11 -12
- package/src/vendor/handsontable/styles/ht-icons-main.min.css +5 -4
- package/src/vendor/handsontable/styles/ht-theme-classic-no-icons.css +28 -5
- package/src/vendor/handsontable/styles/ht-theme-classic-no-icons.min.css +5 -4
- package/src/vendor/handsontable/styles/ht-theme-classic.css +39 -17
- package/src/vendor/handsontable/styles/ht-theme-classic.min.css +5 -4
- package/src/vendor/handsontable/styles/ht-theme-horizon-no-icons.css +27 -4
- package/src/vendor/handsontable/styles/ht-theme-horizon-no-icons.min.css +5 -4
- package/src/vendor/handsontable/styles/ht-theme-horizon.css +38 -16
- package/src/vendor/handsontable/styles/ht-theme-horizon.min.css +5 -4
- package/src/vendor/handsontable/styles/ht-theme-main-no-icons.css +28 -5
- package/src/vendor/handsontable/styles/ht-theme-main-no-icons.min.css +5 -4
- package/src/vendor/handsontable/styles/ht-theme-main.css +39 -17
- package/src/vendor/handsontable/styles/ht-theme-main.min.css +5 -4
- package/src/vendor/highlight.js/scss/cybertopia-cherry.scss +2 -1
- package/src/vendor/highlight.js/scss/cybertopia-dimmer.scss +2 -1
- package/src/vendor/highlight.js/scss/cybertopia-icecap.scss +2 -1
- package/src/vendor/highlight.js/scss/cybertopia-saturated.scss +2 -1
- package/src/vendor/highlight.js/scss/equinox.scss +71 -0
- package/src/vendor/highlight.js/scss/vs-dark.scss +61 -0
- package/src/vendor/highlight.js/styles/cybertopia-cherry.css +2 -1
- package/src/vendor/highlight.js/styles/cybertopia-cherry.min.css +1 -1
- package/src/vendor/highlight.js/styles/cybertopia-dimmer.css +2 -1
- package/src/vendor/highlight.js/styles/cybertopia-dimmer.min.css +1 -1
- package/src/vendor/highlight.js/styles/cybertopia-icecap.css +2 -1
- package/src/vendor/highlight.js/styles/cybertopia-icecap.min.css +1 -1
- package/src/vendor/highlight.js/styles/cybertopia-saturated.css +2 -1
- package/src/vendor/highlight.js/styles/cybertopia-saturated.min.css +1 -1
- package/src/vendor/highlight.js/styles/equinox.css +71 -0
- package/src/vendor/highlight.js/styles/equinox.min.css +1 -0
- package/src/vendor/highlight.js/styles/vs-dark.css +61 -0
- package/src/vendor/highlight.js/styles/vs-dark.min.css +1 -0
- package/src/vendor/katex/dist/katex-swap.css +5 -2
- package/src/vendor/katex/dist/katex-swap.min.css +1 -1
- package/src/vendor/katex/dist/katex.css +5 -2
- package/src/vendor/katex/dist/katex.min.css +1 -1
- package/src/vendor/katex/src/styles/katex.scss +3 -1
- package/src/vendor/react-image-crop/dist/ReactCrop.css +2 -1
- package/src/vendor/reveal.js/css/reveal.scss +15 -0
- package/src/vendor/reveal.js/dist/reveal.css +1 -1
- package/dist/esm/BarChart-D6H2EH3B.js +0 -1
- package/dist/esm/CartesianChart-_EyixekW.js +0 -47
- package/dist/esm/CodeViewer-DIncRhD1.js +0 -1
- package/dist/esm/DataGrid-CzZsh4gG.js +0 -272
- package/dist/esm/DataViewer-CSIcp1dE.js +0 -1
- package/dist/esm/ImageLoaderCropper-BjHykYfo.js +0 -1
- package/dist/esm/InputCellPhoneNumber-CAi0AXMP.js +0 -1
- package/dist/esm/LineChart-BL9HlHkG.js +0 -1
- package/dist/esm/MdMathEditor-D0f1McYj.js +0 -28
- package/dist/esm/Popover-DPn39FUa.js +0 -6
- package/dist/esm/SlideDeck-et5M4lE-.js +0 -1
- package/dist/esm/TableOfContents-CLrH5fjb.js +0 -1
- package/dist/esm/Tooltip-CEgmNtFX.js +0 -13
- package/dist/esm/UserCodeEditor-DlHeWLUu.js +0 -28
- package/dist/esm/WorksheetAsSlides-X5Ljvk2t.js +0 -1
- package/dist/esm/WorksheetEditor-Dq3apeLg.js +0 -1
- package/dist/esm/WorksheetNode-Chf37TwI.js +0 -1
- package/dist/esm/WorksheetViewer-B-slMCYv.js +0 -1
- package/dist/esm/_baseIteratee-DJNkOVK7.js +0 -1
- package/dist/esm/_baseUniq-BJKKUJ6e.js +0 -1
- package/dist/esm/arc-BqJSq9Se.js +0 -1
- package/dist/esm/architecture-YZFGNWBL-B4qRp-MK.js +0 -1
- package/dist/esm/architectureDiagram-Q4EWVU46-MfdUMKWh.js +0 -1
- package/dist/esm/basic-setup-UGhpl5jF.js +0 -1
- package/dist/esm/blockDiagram-DXYQGD6D-B53ncWj8.js +0 -1
- package/dist/esm/c4Diagram-AHTNJAMY-FdREycKs.js +0 -1
- package/dist/esm/channel-D_ARZf1V.js +0 -1
- package/dist/esm/chunk-4TB4RGXK-DpY00B8-.js +0 -1
- package/dist/esm/chunk-EDXVE4YY-DCPe-NtF.js +0 -1
- package/dist/esm/chunk-OYMX7WX6-C7RHHgRc.js +0 -1
- package/dist/esm/classDiagram-6PBFFD2Q-B7_Zpqtq.js +0 -1
- package/dist/esm/classDiagram-v2-HSJHXN6E-B7_Zpqtq.js +0 -1
- package/dist/esm/clone-DZNciEx8.js +0 -1
- package/dist/esm/commons-D9Mh1s5L.js +0 -1
- package/dist/esm/cose-bilkent-S5V4N54A-BOV94ldj.js +0 -1
- package/dist/esm/cytoscape.esm-D5qQrGhU.js +0 -9
- package/dist/esm/dagre-KV5264BT-BfFz9a4k.js +0 -1
- package/dist/esm/diagram-5BDNPKRD-I9IS2ANw.js +0 -1
- package/dist/esm/diagram-G4DWMVQ6-BXU7Dvs-.js +0 -1
- package/dist/esm/diagram-MMDJMWI5-Csk96FFg.js +0 -1
- package/dist/esm/diagram-TYMM5635-DPvqrKRl.js +0 -1
- package/dist/esm/erDiagram-SMLLAGMA-Dc1SOwcN.js +0 -1
- package/dist/esm/floating-ui.dom-BKnkJW47.js +0 -1
- package/dist/esm/flowDiagram-DWJPFMVM-Ck8eEuPh.js +0 -1
- package/dist/esm/ganttDiagram-T4ZO3ILL-D5DV1RYK.js +0 -1
- package/dist/esm/gitGraph-7Q5UKJZL-AWq1Wmi2.js +0 -1
- package/dist/esm/gitGraphDiagram-UUTBAWPF-BWpwlfSt.js +0 -1
- package/dist/esm/graph-DcE5swO6.js +0 -1
- package/dist/esm/index-Bp7rYslS.js +0 -1
- package/dist/esm/index-TeLD_8PN.js +0 -1
- package/dist/esm/info-OMHHGYJF-CDJfFYlp.js +0 -1
- package/dist/esm/infoDiagram-42DDH7IO-aiwYT7Xb.js +0 -1
- package/dist/esm/isSymbol-CATEdeai.js +0 -1
- package/dist/esm/isUndefined-DgmxjSXK.js +0 -1
- package/dist/esm/ishikawaDiagram-UXIWVN3A-adhn2Hxg.js +0 -1
- package/dist/esm/journeyDiagram-VCZTEJTY-w8F4Ngn_.js +0 -1
- package/dist/esm/kanban-definition-6JOO6SKY-BUy-pXA5.js +0 -1
- package/dist/esm/layout-LXPx6gJv.js +0 -1
- package/dist/esm/map-BvlAjF4J.js +0 -1
- package/dist/esm/memoize-CPUrcYQl.js +0 -1
- package/dist/esm/mermaid-parser.core-_V3e3eig.js +0 -1
- package/dist/esm/mermaid.core-C89m9NSM.js +0 -1
- package/dist/esm/min-Dc9VrJ6M.js +0 -1
- package/dist/esm/mindmap-definition-QFDTVHPH-DQor9UlS.js +0 -1
- package/dist/esm/nsis-Cx8FAvMN.js +0 -1
- package/dist/esm/packet-4T2RLAQJ-DGgnF4xi.js +0 -1
- package/dist/esm/pie-ZZUOXDRM-jgrNXYlk.js +0 -1
- package/dist/esm/pieDiagram-DEJITSTG-CFXV-DSu.js +0 -1
- package/dist/esm/purify.es-DBOWJxv3.js +0 -2
- package/dist/esm/quadrantDiagram-34T5L4WZ-C5PWeOxe.js +0 -1
- package/dist/esm/radar-PYXPWWZC-ZVxMZ3XM.js +0 -1
- package/dist/esm/requirementDiagram-MS252O5E-CAFUQ1SL.js +0 -1
- package/dist/esm/ruby-CR-u2WLS.js +0 -1
- package/dist/esm/sankeyDiagram-XADWPNL6-D63_orrT.js +0 -1
- package/dist/esm/sequenceDiagram-FGHM5R23-DjI8jxRK.js +0 -1
- package/dist/esm/stateDiagram-FHFEXIEX-BeDx2Idm.js +0 -1
- package/dist/esm/stateDiagram-v2-QKLJ7IA2-BSzNVn1D.js +0 -1
- package/dist/esm/string-LeDn2fkG.js +0 -1
- package/dist/esm/throttle-BsCMUG1-.js +0 -1
- package/dist/esm/timeline-definition-GMOUNBTQ-BRHpffn4.js +0 -1
- package/dist/esm/toNumber-Bh_HTlSx.js +0 -1
- package/dist/esm/treeView-SZITEDCU-CMK4b3Hd.js +0 -1
- package/dist/esm/treemap-W4RFUUIX-DjdwA0Jd.js +0 -1
- package/dist/esm/types-CsXckO56.js +0 -1
- package/dist/esm/vennDiagram-DHZGUBPP-Cauja-PK.js +0 -1
- package/dist/esm/viz-CFEjElvl.js +0 -9
- package/dist/esm/wardley-RL74JXVD-DiOshmTl.js +0 -1
- package/dist/esm/wardleyDiagram-NUSXRM2D-CSY5_Vpk.js +0 -1
- package/dist/esm/xychartDiagram-5P7HB3ND-Bkd1VEMW.js +0 -1
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3}/node_modules/@milkdown/kit/lib/component/code-block.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3}/node_modules/@milkdown/kit/lib/component/image-block.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3}/node_modules/@milkdown/kit/lib/component/image-inline.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3}/node_modules/@milkdown/kit/lib/component/index.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3}/node_modules/@milkdown/kit/lib/component/link-tooltip.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3}/node_modules/@milkdown/kit/lib/component/list-item-block.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3}/node_modules/@milkdown/kit/lib/component/table-block.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3}/node_modules/@milkdown/kit/lib/core.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3}/node_modules/@milkdown/kit/lib/ctx.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/block.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/clipboard.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/cursor.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/history.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/indent.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/listener.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/slash.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/tooltip.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/trailing.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/upload.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3}/node_modules/@milkdown/kit/lib/preset/commonmark.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3}/node_modules/@milkdown/kit/lib/preset/gfm.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3}/node_modules/@milkdown/kit/lib/prose/history.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3}/node_modules/@milkdown/kit/lib/prose/index.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3}/node_modules/@milkdown/kit/lib/prose/inputrules.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3}/node_modules/@milkdown/kit/lib/prose/keymap.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3}/node_modules/@milkdown/kit/lib/prose/model.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3}/node_modules/@milkdown/kit/lib/prose/state.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3}/node_modules/@milkdown/kit/lib/prose/view.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+view@6.43.15_typescript@6.0.3}/node_modules/@milkdown/kit/lib/utils.d.ts +0 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import*as e from"react/jsx-runtime";import{jsxs as t,Fragment as i,jsx as n}from"react/jsx-runtime";import{ad as r,S as s,ag as a,v as o,C as l,u as c,c as h,ai as p,R as u,aj as d,ak as f,al as m,am as g,an as x,ao as y,ah as v,G as b,P as w,T as k,ap as E,i as S}from"./settings-BONQQsPx.js";import*as C from"react";import{useState as A,useRef as _,useCallback as N,useEffect as I,useMemo as T,use as P,createContext as L,useContext as V,forwardRef as R,createElement as O,isValidElement as j,cloneElement as D,useEffectEvent as M,useLayoutEffect as F,useImperativeHandle as B}from"react";import{RESIZE_DETECTOR_PROPS as U,CODE_EDIT0R_TAB_SIZES as z,CODE_EDIT0R_FONT_SIZES as J,CODE_EDITOR_PROGRAMMING_LANGUAGES as q,EMPTY_OBJECT as G}from"./constants.js";import{ag as X,T as H,M as W,w as $,a0 as K,B as Q,z as Y,U as Z,ah as ee,a as te,b as ie,g as ne,J as re,Y as se,ac as ae,ai as oe,aj as le,ak as ce,ae as he,r as pe,al as ue,am as de,an as fe,ao as me,Q as ge,e as xe,f as ye,P as ve,q as be}from"./index-Cso1rXtQ.js";import{n as we,c as ke,d as Ee}from"./commons-BHuDJzTw.js";import"./enums.js";import{a as Se,j as Ce,s as Ae,q as _e,u as Ne}from"./websocket-B2hJys_Q.js";import{j as Ie,k as Te,b as Pe,D as Le,F as Ve,G as Re,K as Oe,f as je,a0 as De,a1 as Me,P as Fe,R as Be,aa as Ue,aD as ze,S as Je,l as qe,a7 as Ge}from"./LoaderLayer-Cv80UCdL.js";import"motion/react";import*as Xe from"react-dom";import"swr";import He from"./MdMathEditor-himmiyoG.js";import{A as We,S as $e}from"./SettingsIcon-C3sN1TNw.js";import{D as Ke,a as Qe,F as Ye,P as Ze,M as et}from"./index-Dz8ISdDG.js";import{j as tt}from"./index-_kF3_0-k.js";import{c as it}from"./clsx-BeLtu-UY.js";import{a as nt,o as rt,z as st,n as at,V as ot,s as lt,q as ct,t as ht,w as pt,x as ut,y as dt,A as ft,B as mt,D as gt,E as xt,v as yt,u as vt,r as bt,d as wt,c as kt}from"./types-C3mmJ376.js";import{n as Et,f as St,c as Ct,a as At,b as _t,d as Nt,s as It,w as Tt,h as Pt,m as Lt,o as Vt,q as Rt,r as Ot,l as jt}from"./index-DH4SMqQP.js";import"@ably/spaces";import"@ably/spaces/react";import"ably";import"ably/liveobjects";import"ably/react";import"@ably/spaces/dist/mjs/react";import"./basic-setup-DnHlH_GN.js";import"./floating-ui.dom-DGDCR4EF.js";import"./floating-ui.core-DzsaFWsC.js";import"./throttle-tEKq3i9o.js";import"./isSymbol-D2gNAbOe.js";import"./toNumber-B6ypue5Z.js";import"./viz-BmmZnl4P.js";import"./mermaid.core-DBVKQvxW.js";import"./string-DPJhNSkw.js";function Dt(e,t=16){if(e.length<=t)return e;const i=e.lastIndexOf("."),n=i>0?e.slice(i):"",r=t-n.length-1;return r>0?e.slice(0,r)+"…"+n:e.slice(0,t-1)+"…"}function Mt({fileKey:e,name:r,folderPath:s,description:a,globalIndex:o,currentFileName:l,viewFiles:c,onChangeRef:h,setOpenFileName:p,setFileNameEdit:u,setFolderPathEdit:d,setDescriptionEdit:f,setFileNameDelete:m}){return n("div",{className:ke("tx-t jk-pg-xsm jk-col nowrap left stretch",{"bc-ht-lt":e===l,hoverable:e!==l}),onClick:e!==l?t=>{t.stopPropagation(),h.current?.({fileName:e})}:e=>e.stopPropagation(),children:c?n(i,{children:t("div",{className:"jk-row gap nowrap space-between",children:[t("div",{className:"jk-row nowrap",children:[n(Ke,{letter:(o+1)%10+"",letterSize:12,size:"tiny"}),n("span",{"data-tooltip-id":"jk-tooltip","data-tooltip-content":r,style:{marginLeft:2,fontFamily:"monospace",letterSpacing:"-0.04em",whiteSpace:"nowrap"},children:Dt(r)})]}),t("div",{className:"jk-row gap display-on-hover-2 nowrap",children:[n(Pe,{className:ke({"cr-tx-ht-lt":e!==l}),size:"tiny",onClick:()=>{p(e),u(r),d(s),f(a)}}),n(Le,{className:ke({"cr-tx-ht-lt":e!==l}),size:"tiny",onClick:()=>m(e)})]})]})}):n("div",{className:"jk-row gap nowrap space-between",children:n("div",{className:"jk-row nowrap",children:n(Ke,{letter:(o+1)%10+"",letterSize:12,size:"tiny"})})})})}function Ft(e,t){return!!e.files.some(e=>e.key===t)||e.children.some(e=>"folder"===e.type&&Ft(e,t))}function Bt({node:e,depth:i,viewFiles:r,currentFileName:s,onChangeRef:a,setOpenFileName:o,setFileNameEdit:l,setFolderPathEdit:c,setDescriptionEdit:h,setFileNameDelete:p,globalIndexMap:u}){const[d,f]=A(!0),m=Ft(e,s),g=m||d;return t("div",{style:{paddingLeft:0},children:[t("div",{className:"jk-row left gap hoverable jk-pg-xsm tx-t fw-bd nowrap",style:{cursor:"pointer"},onClick:e=>{e.stopPropagation(),m||f(e=>!e)},children:[n(g?Qe:Ye,{size:"tiny"}),r&&n("span",{children:e.name}),r&&n(g?Ve:Re,{size:"tiny"})]}),g&&n("div",{style:{marginLeft:r?14:4,borderLeft:"1px solid var(--cr-ht)"},children:[...e.files.map(e=>({type:"file",name:e.name,data:e})),...e.children.filter(e=>"folder"===e.type).map(e=>({type:"folder",name:e.name,data:e}))].sort((e,t)=>e.name.localeCompare(t.name)).map(e=>"file"===e.type?n(Mt,{fileKey:e.data.key,name:e.data.name,folderPath:e.data.folderPath,description:e.data.description,globalIndex:u.get(e.data.key)??e.data.index,currentFileName:s,viewFiles:r,onChangeRef:a,setOpenFileName:o,setFileNameEdit:l,setFolderPathEdit:c,setDescriptionEdit:h,setFileNameDelete:p},e.data.key):n(Bt,{node:e.data,depth:i+1,viewFiles:r,currentFileName:s,onChangeRef:a,setOpenFileName:o,setFileNameEdit:l,setFolderPathEdit:c,setDescriptionEdit:h,setFileNameDelete:p,globalIndexMap:u},e.data.path))})]})}const Ut=e=>{const{fileTreePanelRef:r,files:s,currentFileName:a,onChangeRef:o,readOnly:l}=e,[c,h]=A(!1),[p,u]=A(""),[d,f]=A(""),[m,g]=A(""),[x,y]=A(""),[v,b]=A(""),w=()=>{o.current?.({fileNameEdited:[p,d.trim().replace(/\//g,"_"),we(m),x]}),u("")},k=Object.entries(s),E=[...k].sort(([,e],[,t])=>e.index-t.index),S=new Map(E.map(([e],t)=>[e,t])),C=function(e){const t=[],i=new Map,n=e=>{if(i.has(e))return i.get(e);const r=e.split("/").filter(Boolean),s={type:"folder",name:r[r.length-1]??e,path:e,children:[],files:[]};if(i.set(e,s),r.length<=1)t.push(s);else{const e="/"+r.slice(0,-1).join("/");n(e).children.push(s)}return s},r=[];for(const[t,i]of e){const e=i.folderPath,s=i.description??"";e&&"/"!==e&&""!==e?n(e.startsWith("/")?e:"/"+e).files.push({key:t,name:i.name,folderPath:e,index:i.index,description:s}):r.push({key:t,name:i.name,folderPath:"",index:i.index,description:s})}return[...r.map(e=>({type:"file",key:e.key,name:e.name,folderPath:e.folderPath,index:e.index,description:e.description})),...t].sort((e,t)=>e.name.localeCompare(t.name))}(k),_={currentFileName:a,viewFiles:c,onChangeRef:o,setOpenFileName:u,setFileNameEdit:f,setFolderPathEdit:g,setDescriptionEdit:y,setFileNameDelete:b};return t(i,{children:[n(X,{primary:{label:n(H,{className:"tt-se",children:"delete"}),onClick:()=>{o.current?.({fileNameDeleted:v}),b("")}},title:n(H,{className:"tt-se",children:"warning"}),isOpen:!!v,onClose:()=>b(""),children:t("div",{className:"jk-col gap",children:[n(H,{className:"tt-se",children:"are you sure you want to delete the file?"}),n("div",{className:"jk-tag bc-ht-lt",children:v}),n(H,{className:"tt-se",children:"it can't be undone"})]})}),n(W,{isOpen:!!p,onClose:()=>u(""),children:t("div",{className:"jk-pg jk-col gap stretch",children:[n($,{label:n(H,{className:"tt-se",children:"new name"}),labelPlacement:"top",value:d,onChange:f,onEnter:w,expand:!0}),n($,{label:n(H,{className:"tt-se",children:"folder path"}),labelPlacement:"top",value:m,onChange:g,onEnter:w,expand:!0}),n(K,{label:n(H,{className:"tt-se",children:"description"}),labelPlacement:"top",value:x,onChange:y,expand:!0}),t("div",{className:"jk-row gap right",children:[n(Q,{type:"secondary",onClick:()=>u(""),children:n(H,{className:"tt-se",children:"cancel"})}),n(Q,{onClick:w,children:n(H,{className:"tt-se",children:"change"})})]})]})}),t("div",{className:"jk-col top stretch nowrap",style:{borderRight:"1px solid var(--cr-ht-lt)"},ref:r,children:[t("div",{className:"jk-row fw-bd jk-pg-xsm-tb bc-ht-lt left hoverable",onClick:()=>h(!c),style:{paddingLeft:4},children:[n(c?Ie:Te,{}),c&&n(H,{className:"tt-se",children:"files"})]}),n("div",{className:"jk-divider vertical tiny",style:{height:1}}),t("div",{className:"jk-col top stretch gap nowrap ow-ao",children:[n("div",{className:"jk-col stretch",children:C.map(e=>"file"===e.type?n(Mt,{fileKey:e.key,name:e.name,folderPath:e.folderPath,description:e.description,globalIndex:S.get(e.key)??e.index,..._},e.key):n(Bt,{node:e,depth:0,globalIndexMap:S,..._},e.path))}),n("div",{className:"jk-row jk-pg-xsm-t border-top-highlight-light",children:n(Q,{size:"tiny",icon:n(We,{size:"tiny"}),disabled:l,onClick:()=>o.current?.({newFileName:s[a]?.folderPath??""}),children:c&&n(H,{className:"tt-se",children:"new file"})})})]})]})]})};var zt,Jt={exports:{}};
|
|
2
|
+
/*! dom-to-image-more v3.11.0 2026-09-24 23:01:12 UTC */var qt,Gt=(zt||(zt=1,qt=Jt,(e=>{let t=(()=>{let t=0;return{escape:function(e){return e.replace(/([.*+?^${}()|[\]/\\])/g,"\\$1")},isDataUrl:function(e){return-1!==e.search(/^(data:)/)},canvasToBlob:function(e){return e.toBlob?new Promise(function(t){e.toBlob(t)}):(t=e,new Promise(function(e){var i=y(t.toDataURL().split(",")[1]),n=i.length,r=new Uint8Array(n);for(let e=0;e<n;e++)r[e]=i.charCodeAt(e);e(new Blob([r],{type:"image/png"}))}));var t},resolveUrl:function(e,t){var i=document.implementation.createHTMLDocument(),n=i.createElement("base"),r=(i.head.appendChild(n),i.createElement("a"));return Object.assign(r.style,o),i.body.appendChild(r),n.href=t,r.href=e,r.href},getSameDocumentFragmentId:h,rewriteFragmentUrls:function(e,t){let i,n=/url\(\s*(["']?)((?:\\.|[^\\)])+)\1\s*\)/g,r="",s=0;for(;null!==(i=n.exec(e));){var a=h(i[2].replace(/\\(.)/g,"$1"));null!==a&&(t(a),r=(r+=e.slice(s,i.index))+`url("#${a.replace(/["\\]/g,"\\$&")}")`,s=n.lastIndex)}return r+e.slice(s)},parseFontFamilies:function(e){let t=[],i="",n="";for(let s=0;s<(e||"").length;s+=1){var r=e.charAt(s);"\\"===r&&s+1<e.length?(i+=e.charAt(s+1),s+=1):n?r===n?n="":i+=r:'"'===r||"'"===r?n=r:","===r?(t.push(i),i=""):i+=r}return t.push(i),t.map(function(e){return e.trim().replace(/\s+/g," ").toLowerCase()}).filter(Boolean)},getAndEncode:function(e,t){return v(e,t,!0).then(p)},getResourceText:function(e,t,i){return v(e,t,i).then(u)},uid:function(){return"u"+("0000"+(Math.random()*Math.pow(36,4)|0).toString(36)).slice(-4)+t++},asArray:function(e){return Array.from(e)},escapeXhtml:function(e){return e.replace(/%/g,"%25").replace(/#/g,"%23").replace(/\n/g,"%0A")},makeImage:function(e){return"data:,"!==e?new Promise(function(t,i){let n=document.createElementNS(l,"svg"),r=new Image;f.impl.options.useCredentials&&(r.crossOrigin="use-credentials"),r.onload=function(){function e(){window&&window.requestAnimationFrame?window.requestAnimationFrame(function(){t(r)}):t(r)}n.remove(),"function"==typeof r.decode?r.decode().then(e,e):e()},r.onerror=t=>{n.remove();var r=String(e).split(",",1)[0];(r=new Error("dom-to-image-more: failed to rasterize the generated image ("+r+", "+String(e).length+" bytes). The source may contain malformed markup, an unsupported element, or a tainted/cross-origin resource.")).cause=t,i(r)},n.appendChild(r),Object.assign(n.style,o),r.src=e,document.body.appendChild(n)}):Promise.resolve()},width:function(e){var t,i,n=k(e,"width");return isNaN(n)?(t=b(e))?t.width:(t=k(e,"border-left-width"),i=k(e,"border-right-width"),e.scrollWidth+t+i):n},height:function(e){var t,i,n=k(e,"height");return isNaN(n)?(t=b(e))?t.height:(t=k(e,"border-top-width"),i=k(e,"border-bottom-width"),e.scrollHeight+t+i):n},getWindow:i,isElement:c,isElementHostForOpenShadowRoot:function(e){return c(e)&&null!==e.shadowRoot},isShadowRoot:s,isInShadowRoot:a,isHTMLElement:function(e){return n(e,"HTMLElement")},isHTMLCanvasElement:function(e){return n(e,"HTMLCanvasElement")},isHTMLInputElement:function(e){return n(e,"HTMLInputElement")},isHTMLImageElement:function(e){return n(e,"HTMLImageElement")},isHTMLLinkElement:function(e){return n(e,"HTMLLinkElement")},isHTMLScriptElement:function(e){return n(e,"HTMLScriptElement")},isHTMLStyleElement:function(e){return n(e,"HTMLStyleElement")},isHTMLTextAreaElement:function(e){return n(e,"HTMLTextAreaElement")},isShadowSlotElement:function(e){return a(e)&&n(e,"HTMLSlotElement")},isSVGElement:function(e){return n(e,"SVGElement")},isSVGImageElement:function(e){return n(e,"SVGImageElement")},isSVGSVGElement:function(e){return n(e,"SVGSVGElement")},isSVGRectElement:function(e){return n(e,"SVGRectElement")},isSVGUseElement:function(e){return n(e,"SVGUseElement")},isDimensionMissing:function(e){return isNaN(e)||e<=0},isInstanceOf:n};function i(t){return((t=t?t.ownerDocument:void 0)?t.defaultView:void 0)||("undefined"!=typeof window?window:void 0)||(void 0!==e?e:void 0)||globalThis}function n(e,t){var n=i(e);return r(e,n,t)||r(e,n&&n.parent,t)}function r(e,t,i){try{var n=t&&t[i];return"function"==typeof n&&e instanceof n}catch(e){return!1}}function s(e){return n(e,"ShadowRoot")}function a(e){return null!=e&&void 0!==e.getRootNode&&s(e.getRootNode())}function c(e){return n(e,"Element")}function h(e){var t=e.indexOf("#");if(-1===t||t===e.length-1)return null;if(0<t){var i=e.slice(0,t);if(i!==n(document.URL)&&i!==n(document.baseURI))return null}i=e.slice(t+1);try{return decodeURIComponent(i)}catch(e){return i}function n(e){var t=(e||"").indexOf("#");return-1===t?e:e.slice(0,t)}}function p(e){return null==e||""===e?"":"string"==typeof e?e:m(e,"readAsDataURL","")}function u(e){if(null==e||""===e)return null;if("string"!=typeof e)return m(e,"readAsText",null);{var t=e.indexOf(",");if(-1===t)return"";var i=e.slice(0,t);if(e=e.slice(t+1),!/;base64/i.test(i))return decodeURIComponent(e);let n=y(e),r="";for(let e=0;e<n.length;e+=1)r+="%"+("00"+n.charCodeAt(e).toString(16)).slice(-2);return decodeURIComponent(r)}}function m(e,t,i){return new Promise(function(n){let r=new FileReader;r.onloadend=function(){n(r.result)},r.onerror=function(){n(i)};try{r[t](e)}catch(r){n(i)}})}function v(e,t,i){let n=f.impl.urlCache.find(function(t){return t.url===e});if(n||(n={url:e,promise:null},f.impl.urlCache.push(n)),null===n.promise){let r=function(i){var n=f.impl.options.requestInterceptor;if("function"==typeof n)try{return n(e,{type:t,status:i})}catch(i){w("requestInterceptor threw:",i)}},s=function(e){return null!=e},a=r(void 0);if(s(a))return n.promise=Promise.resolve(a),n.promise;if(!1===i)return n.promise=Promise.resolve(null),n.promise;f.impl.options.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+(new Date).getTime()),n.promise=new Promise(function(i){let n=new XMLHttpRequest;function a(e){c(e,!1),i(null)}function o(){l("Status:"+n.status+" while fetching resource: "+e)}function l(e){var o=r(n.status);s(o)?Promise.resolve(o).then(function(t){c(e,!0),i(t)},function(){w(e),a(e)}):(o=t===d.IMAGE||t===d.CSS_IMAGE?f.impl.options.imagePlaceholder:void 0)?(c(e,!0),i(o)):(w(e),a(e))}function c(t,i){var r=f.impl.options.onImageError;if("function"==typeof r)try{r({url:e,message:t,status:n.status,willUsePlaceholder:i})}catch(t){w("onImageError handler threw:",t)}}if(n.timeout=f.impl.options.httpTimeout,n.onerror=o,n.ontimeout=o,n.onloadend=function(){var t;n.readyState===XMLHttpRequest.DONE&&(0===(t=n.status)&&e.toLowerCase().startsWith("file://")||200<=t&&t<=300&&null!==n.response?(t=n.response)instanceof Blob?i(t):l("Response was not a Blob (got "+typeof t+") while fetching resource: "+e):o())},0<f.impl.options.useCredentialsFilters.length&&(f.impl.options.useCredentials=0<f.impl.options.useCredentialsFilters.filter(t=>0<=e.search(t)).length),f.impl.options.useCredentials&&(n.withCredentials=!0),f.impl.options.corsImg&&0===e.indexOf("http")&&-1===e.indexOf(window.location.origin)){var h="POST"===(f.impl.options.corsImg.method||"GET").toUpperCase()?"POST":"GET";n.open(h,(f.impl.options.corsImg.url||"").replace("#{cors}",e),!0);let t=!1,i=f.impl.options.corsImg.headers||{},r=(Object.keys(i).forEach(function(e){-1!==i[e].indexOf("application/json")&&(t=!0),n.setRequestHeader(e,i[e])}),(e=>{try{return JSON.parse(JSON.stringify(e))}catch(e){w("corsImg.data is missing or invalid",e),a("corsImg.data is missing or invalid")}})(f.impl.options.corsImg.data||""));Object.keys(r).forEach(function(t){"string"==typeof r[t]&&(r[t]=r[t].replace("#{cors}",e))}),n.responseType="blob",n.send(t?JSON.stringify(r):r)}else n.open("GET",e,!0),n.responseType="blob",n.send()})}return n.promise}function b(e){if(e.nodeType!==g||"function"!=typeof e.getBBox)return null;try{var t=e.getBBox();return t&&(t.width||t.height)?t:null}catch(e){return null}}function k(e,t){if(e.nodeType===g){let i=x(e).getPropertyValue(t);if("px"===i.slice(-2))return i=i.slice(0,-2),parseFloat(i)}return NaN}})(),i=(()=>{let e=/url\(\s*(["']?)((?:\\.|[^\\)])+)\1\s*\)/gm;return{inlineAll:function(e,t,r,a){return i(e)?Promise.resolve(e).then(n).then(function(e){return f.impl.options.filterUrls?e.filter(function(e){return f.impl.options.filterUrls(e,t)}):e}).then(function(i){let n=Promise.resolve(e);return i.forEach(function(e){n=n.then(function(i){return s(i,e,t,r,a)})}),n}):Promise.resolve(e)},shouldProcess:i,impl:{readUrls:n,inline:s,urlAsRegex:r}};function i(t){return-1!==t.search(e)}function n(i){for(var n,r=[];null!==(n=e.exec(i));)r.push(n[2]);return r.filter(function(e){return!t.isDataUrl(e)&&"#"!==e.charAt(0)&&null===t.getSameDocumentFragmentId(e)})}function r(e){return new RegExp(`url\\((["']?)(${t.escape(e)})\\1\\)`,"gm")}function s(e,i,n,s,a){return Promise.resolve(i).then(function(e){return n?t.resolveUrl(e,n):e}).then(function(e){return(a||t.getAndEncode)(e,s)}).then(function(t){var n=r(i);return e.replace(n,`url($1${t}$1)`)})}})(),n={resolveAll:function(e,i){return r().then(function(n){if(e){var r=n,s=e,a=i;function o(e){t.parseFontFamilies(e).forEach(function(e){c.add(e)})}let l=f.impl.options,c=new Set(_);return[s].concat(t.asArray(s.querySelectorAll("*"))).forEach(function(e){if(e.style&&o(e.style.getPropertyValue("font-family")),t.isHTMLStyleElement(e))for(var i,n=/font-family\s*:\s*([^;}]+)/gi;null!==(i=n.exec(e.textContent));)o(i[1].replace(/\s*!important\s*$/i,""))}),a&&o(a.fontFamily||a["font-family"]),r.filter(function(e){if((e=e.descriptor()).used=c.has(e.family),"function"==typeof l.filterFonts){var t=l.filterFonts(e);if(!0===t||!1===t)return t}return e.used})}return n}).then(function(e){return Promise.all(e.map(function(e){return e.resolve()}))}).then(function(e){return e.join("\n")})},impl:{readAll:r}};function r(){return Promise.resolve(t.asArray(document.styleSheets)).then(function(e){let i="function"==typeof f.impl.options.requestInterceptor,n={};return Promise.all(e.map(function(e){let r=e.href;if(!r||n[r])return e;n[r]=!0;var s=(e=>{try{return!e.cssRules}catch(e){return!0}})(e)&&(e=>{var t=f.impl.options.loadExternalStyleSheet;if("function"==typeof t)try{return!0===t(e)}catch(e){return w("domtoimage: loadExternalStyleSheet predicate threw:",e),!1}return!0===t})(r);return i||s?t.getResourceText(r,d.STYLESHEET,s).then(function(i){return i&&((e,i)=>{try{var n=document.implementation.createHTMLDocument(""),r=n.createElement("style");return r.appendChild(document.createTextNode((s=i,e.replace(/url\((['"]?)([^'")]+)\1\)/g,function(e,i,n){return n=n.trim(),t.isDataUrl(n)||/^[a-z][a-z0-9+.-]*:/i.test(n)?e:`url(${i}${t.resolveUrl(n,s)}${i})`})))),n.body.appendChild(r),r.sheet}catch(e){return null}var s})(i,r)||e}):e}))}).then(function(e){let i=[];return e.forEach(function(e){var n=Object.getPrototypeOf(e);if(Object.prototype.hasOwnProperty.call(n,"cssRules"))try{t.asArray(e.cssRules||[]).forEach(i.push.bind(i))}catch(n){f.impl.options.ignoreCSSRuleErrors||w("domtoimage: Error while reading CSS rules from: "+e.href,n)}}),i}).then(function(e){return e.filter(function(e){return e.type===CSSRule.FONT_FACE_RULE}).filter(function(e){return i.shouldProcess(e.style.getPropertyValue("src"))})}).then(function(t){return t.map(e)});function e(e){return{resolve:function(){var t=(e.parentStyleSheet||{}).href;return i.inlineAll(e.cssText,t,d.FONT)},src:function(){return e.style.getPropertyValue("src")},descriptor:function(){var i=e.style;return{family:t.parseFontFamilies(i.getPropertyValue("font-family"))[0]||"",style:i.getPropertyValue("font-style"),weight:i.getPropertyValue("font-weight"),stretch:i.getPropertyValue("font-stretch"),unicodeRange:i.getPropertyValue("unicode-range"),src:i.getPropertyValue("src"),rule:e}}}}}let s={inlineAll:function e(n){return t.isElement(n)?((r=n).style?(s=["background","background-image","mask","mask-image","-webkit-mask","-webkit-mask-image"].map(function(e){let t=r.style.getPropertyValue(e),n=r.style.getPropertyPriority(e);return t?i.inlineAll(t,void 0,d.CSS_IMAGE).then(function(t){r.style.setProperty(e,t,n)}):Promise.resolve()}),Promise.all(s).then(function(){return r})):Promise.resolve(r)).then(function(){return t.isHTMLImageElement(n)?a(n).inline():t.isSVGImageElement(n)?!(r=(i=n).getAttribute("href")||i.getAttributeNS(c,"href")||i.getAttribute("xlink:href"))||t.isDataUrl(r)?Promise.resolve(i):Promise.resolve(r).then(function(e){return(0,t.getAndEncode)(e,d.IMAGE)}).then(function(e){return e&&(i.setAttributeNS(c,"xlink:href",e),i.setAttribute("href",e)),i}):Promise.all(t.asArray(n.childNodes).map(e));var i,r}):Promise.resolve(n);var r,s},impl:{newImage:a}};function a(e){return{inline:function(i){return t.isDataUrl(e.src)?Promise.resolve():Promise.resolve(e.src).then(function(e){return(i||t.getAndEncode)(e,d.IMAGE)}).then(function(t){return new Promise(function(i){e.onload=i,e.onerror=i,e.src=t})})}}}let o={position:"fixed",left:"-9999px",visibility:"hidden"},l="http://www.w3.org/2000/svg",c="http://www.w3.org/1999/xlink",h="data:image/svg+xml;charset=utf-8,",p={warn:function(...e){console.warn(...e)},error:function(...e){console.error(...e)}},u={copyDefaultStyles:!0,imagePlaceholder:void 0,cacheBust:!1,useCredentials:!1,useCredentialsFilters:[],httpTimeout:3e4,styleCaching:"strict",corsImg:void 0,adjustClonedNode:void 0,filterStyles:void 0,filterUrls:void 0,filterFonts:void 0,adjustPseudoElement:void 0,onImageError:void 0,ensureShown:!1,pixelRatio:1,preserveScroll:!1,ignoreCSSRuleErrors:!1,requestInterceptor:void 0,loadExternalStyleSheet:!1,logger:p},d=Object.freeze({IMAGE:"image",CSS_IMAGE:"css-image",FONT:"font",STYLESHEET:"stylesheet"}),f={toSvg:E,toPng:function(e,t){return S(e,t).then(function(e){return e.toDataURL()})},toJpeg:function(e,t){return S(e,t).then(function(e){return e.toDataURL("image/jpeg",(t?t.quality:void 0)||1)})},toBlob:function(e,i){return S(e,i).then(t.canvasToBlob)},toPixelData:function(e,i){return S(e,i).then(function(i){return i.getContext("2d").getImageData(0,0,t.width(e),t.height(e)).data})},toCanvas:S,ResourceType:d,impl:{fontFaces:n,images:s,util:t,inliner:i,urlCache:[],options:{},copyOptions:function(e){Object.keys(u).forEach(function(t){f.impl.options[t]=(void 0===e[t]?u:e)[t]})},resetUrlCache:m}};function m(){f.impl.urlCache=[]}qt.exports=f;let g=("undefined"!=typeof Node?Node.ELEMENT_NODE:void 0)||1,x=v("getComputedStyle"),y=v("atob");function v(t){return(void 0!==e?e[t]:void 0)||("undefined"!=typeof window?window[t]:void 0)||globalThis[t]}function b(...e){k("warn",e)}function w(...e){k("error",e)}function k(e,t){var i=f.impl.options.logger||p;"function"==typeof(e=i[e])&&e.apply(i,t)}function E(e,r){let s=f.impl.util.getWindow(e),a=(r=r||{},f.impl.copyOptions(r),[]);return A=[],_=new Set,s&&s.document?(()=>{var e=s.document;if(!e.fonts||!e.fonts.ready)return Promise.resolve();let t,i=f.impl.options.httpTimeout||3e4,n=Promise.resolve(e.fonts.ready).then(function(){return!1},function(){return!1}),r=new Promise(function(e){t=s.setTimeout(function(){e(!0)},i)});return Promise.race([n,r]).then(function(e){s.clearTimeout(t),e&&b("dom-to-image-more: timed out after "+i+"ms waiting for document fonts to finish loading (document.fonts.ready); rendering anyway — the output may have missing glyphs or fallback-font metrics.")})})().then(function(){var t=e;if(t.nodeType===g)return t;var i,n=t,r=t.parentNode;if(r)return i=document.createElement("span"),r.replaceChild(i,n),i.append(t),a.push({parent:r,child:n,wrapper:i}),i;throw new Error("Cannot render a non-element node that is not attached to a parent; wrap it in an element or attach it to the document first.")}).then(function(e){return function e(n,r,s,a){var c=r.filter;return n===C||t.isHTMLScriptElement(n)||t.isHTMLStyleElement(n)||t.isHTMLLinkElement(n)||null!==s&&c&&!c(n)?Promise.resolve():Promise.resolve(n).then(function(e){return t.isHTMLCanvasElement(e)?t.makeImage(e.toDataURL()):e.cloneNode(!1)}).then(function(e){return r.adjustClonedNode&&r.adjustClonedNode(n,e,!1),Promise.resolve(e)}).then(function(i){{var s=i;let a=(e=>{if(t.isShadowSlotElement(e)){var i=e.assignedNodes();if(i&&0<i.length)return i}return e.childNodes})((i=n,i=t.isElementHostForOpenShadowRoot(i)?i.shadowRoot:i)),o=Promise.resolve();if(0!==a.length){let n=x(t.isShadowRoot(i)?i.host:i);t.asArray(a).forEach(function(t){o=o.then(function(){return e(t,r,n).then(function(e){e&&s.appendChild(e)})})})}return o.then(function(){return s})}}).then(function(e){return r.adjustClonedNode&&r.adjustClonedNode(n,e,!0),Promise.resolve(e)}).then(function(e){return a=e,c=n,!t.isElement(a)||t.isShadowSlotElement(c)?Promise.resolve(a):Promise.resolve().then(function(){if(t.isHTMLImageElement(c)&&"function"==typeof c.decode&&!(c.complete&&0<c.naturalWidth||(e=>{if("lazy"===e.loading){let i=e;for(;i&&1===i.nodeType;){if("none"===x(i).getPropertyValue("display"))return 1;var t;i=i.parentElement||((t="function"==typeof i.getRootNode?i.getRootNode():null)&&t.host?t.host:null)}}})(c)))return c.decode().catch(function(){})}).then(function(){if(a.style){var e,i,n=c,l=a,h=x(n);if(h.cssText)l.style.cssText=h.cssText,(y=l.style).font=(v=h).font,y.fontFamily=v.fontFamily,y.fontFeatureSettings=v.fontFeatureSettings,y.fontKerning=v.fontKerning,y.fontSize=v.fontSize,y.fontStretch=v.fontStretch,y.fontStyle=v.fontStyle,y.fontVariant=v.fontVariant,y.fontVariantCaps=v.fontVariantCaps,y.fontVariantEastAsian=v.fontVariantEastAsian,y.fontVariantLigatures=v.fontVariantLigatures,y.fontVariantNumeric=v.fontVariantNumeric,y.fontVariationSettings=v.fontVariationSettings,y.fontWeight=v.fontWeight;else{{var p=r,u=n,d=h,m=s,y=l;let a=f.impl.options.copyDefaultStyles?((e,i)=>{var n,r=(e=>{var t=[];do{if(e.nodeType===g){var i=e.tagName;if(t.push(i),M.includes(i))break}}while(e=e.parentNode);return t})(i);if(e=("relaxed"!==e.styleCaching?r:r.filter((e,t,i)=>0===t||t===i.length-1)).join(">")+((n=i)&&n.hasAttribute?F.filter(function(e){return n.hasAttribute(e)}).map(function(e){return`[${e}]`}).join(""):""),D[e])return D[e];var s,a=r=((e,t)=>{let i=e.body;do{var n=t.pop();n=e.createElement(n)}while(i.appendChild(n),i=n,0<t.length);return i.textContent="",i})((s=(()=>{if(C)return C.contentWindow;i=document.characterSet||"UTF-8",e=(e=document.doctype)?(`<!DOCTYPE ${c(e.name)} ${c(e.publicId)} `+c(e.systemId)).trim()+">":"",(C=document.createElement("iframe")).id="domtoimage-sandbox-"+t.uid(),Object.assign(C.style,o),document.body.appendChild(C);var e,i,n=C,r="domtoimage-sandbox";try{return n.contentWindow.document.write(e+`<html><head><meta charset='${i}'><title>${r}</title></head><body></body></html>`),n.contentWindow}catch(e){}var s=document.createElement("meta");s.setAttribute("charset",i);try{var a=document.implementation.createHTMLDocument(r),l=(a.head.appendChild(s),e+a.documentElement.outerHTML);return n.setAttribute("srcdoc",l),n.contentWindow}catch(e){}return n.contentDocument.head.appendChild(s),n.contentDocument.title=r,n.contentWindow;function c(e){var t;return e?((t=document.createElement("div")).innerText=e,t.innerHTML):""}})()).document,r),l=i,c=(l&&l.hasAttribute&&F.forEach(function(e){l.hasAttribute(e)&&a.setAttribute(e,l.getAttribute(e))}),i=((e,i)=>{let n,r={},s=e.getComputedStyle(i),a=(t.asArray(s).forEach(function(e){r[e]="width"===e||"height"===e?"auto":s.getPropertyValue(e)}),i.parentElement);return a&&(n=e.getComputedStyle(a).getPropertyValue("font-size"),r[O]=r["font-size"]!==n),r})(s,r),r);do{var h=c.parentElement}while(null!==h&&h.removeChild(c),(c=h)&&"BODY"!==c.tagName);return D[e]=i})(p,u):{},c=y.style;t.asArray(d).forEach(function(e){var t,i,n;p.filterStyles&&!p.filterStyles(u,e)||(t=d.getPropertyValue(e),n=a[e],i=m?m.getPropertyValue(e):void 0,c.getPropertyValue(e))||(t!==n||m&&t!==i||"font-size"===e&&a[O])&&(n=d.getPropertyPriority(e),R(c,e,t,n))}),e=d,i=c,["top","right","bottom","left"].forEach(function(t){var n,r=`border-${t}-width`;(t=e.getPropertyValue(`border-${t}-style`))&&"none"!==t&&!i.getPropertyValue(r)&&(t=e.getPropertyValue(r))&&(n=e.getPropertyPriority(r),R(i,r,t,n))})}null===s&&(["inset-block","inset-block-start","inset-block-end"].forEach(e=>l.style.removeProperty(e)),["left","right","top","bottom"].forEach(e=>{l.style.getPropertyValue(e)&&l.style.setProperty(e,"0px")}))}v=x(c).getPropertyValue("visibility"),null===s?"visible"!==v&&a.style.setProperty("visibility","visible"):v===s.getPropertyValue("visibility")&&a.style.removeProperty("visibility"),L(x(c).getPropertyValue("font-family"))}var v}).then(function(){let e=t.uid();return Promise.all([":before",":after"].map(function(n){let s=x(c,n),o=s.getPropertyValue("content");if(""!==o&&"none"!==o){let h;if(r.adjustPseudoElement){var l=r.adjustPseudoElement(c,n,s);if(!1===l)return;l&&"object"==typeof l&&(h=l)}L(s.getPropertyValue("font-family")),h&&h["font-family"]&&L(h["font-family"]);let p=a.getAttribute("class")||"",u=(a.setAttribute("class",p+" "+e),`.${e}:`+n),f=s.cssText?s.cssText+` content: ${o};`:t.asArray(s).map(function(e){return e+": "+s.getPropertyValue(e)+(s.getPropertyPriority(e)?" !important":"")}).join("; ")+";";return h&&(f+=Object.keys(h).map(function(e){return` ${e}: ${h[e]};`}).join("")),i.inlineAll(f,void 0,d.CSS_IMAGE).then(function(e){var t=document.createElement("style");t.appendChild(document.createTextNode(u+`{${e}}`)),a.appendChild(t)})}}))}).then(function(){t.isHTMLTextAreaElement(c)&&(a.innerHTML=c.value),t.isHTMLInputElement(c)&&a.setAttribute("value",c.value)}).then(function(){if(a.attributes&&a.removeAttribute){var e=[];for(let i=0;i<a.attributes.length;i+=1){var t=a.attributes[i].name;/["'=<>/\s]/.test(t)&&e.push(t)}e.forEach(function(e){a.removeAttribute(e)})}}).then(function(){if(r.preserveScroll&&a.style){var e=c.scrollLeft||0,i=c.scrollTop||0;if(0!==e||0!==i){a.style.overflow="hidden";let n=`translate(${-e}px, ${-i}px)`;t.asArray(a.children).forEach(function(e){var t;e.style&&(t=e.style.transform&&"none"!==e.style.transform?" "+e.style.transform:"",e.style.transform=n+t)})}}}).then(function(){t.isSVGElement(a)&&(a.setAttribute("xmlns",l),t.isSVGRectElement(a)&&["width","height"].forEach(function(e){var t=a.getAttribute(e);t&&a.style.setProperty(e,t)}),t.isSVGUseElement(a))&&T(c,c)}).then(function(){a.style&&N.forEach(function(e){var i,n=a.style.getPropertyValue(e);n&&-1!==n.indexOf("url(")&&(i=t.rewriteFragmentUrls(n,function(e){P(c,e)}))!==n&&a.style.setProperty(e,i,a.style.getPropertyPriority(e))}),t.isSVGElement(c)&&I.forEach(function(e){(e=c.getAttribute(e))&&t.rewriteFragmentUrls(e,function(e){P(c,e)})})}).then(function(){var e;t.isElement(a)&&(()=>{var e=c.children||[];for(let t=0;t<e.length;t+=1)if("CAPTION"===e[t].tagName)return 1})()&&("table"!==(e=x(c).getPropertyValue("display"))&&"inline-table"!==e||(a.style.removeProperty("height"),a.style.removeProperty("block-size")))}).then(function(){t.isHTMLImageElement(a)&&(a.removeAttribute("loading"),c.srcset||c.sizes)&&(a.removeAttribute("srcset"),a.removeAttribute("sizes"),a.src=c.currentSrc||c.src)}).then(function(){return a});var a,c})}(e,r,null)}).then(function(e){if(0!==A.length){var t=document.createElementNS(l,"svg");t.setAttribute("xmlns",l),t.setAttribute("width","0"),t.setAttribute("height","0"),t.style.setProperty("position","absolute"),t.style.setProperty("width","0"),t.style.setProperty("height","0"),t.style.setProperty("overflow","hidden");let i=document.createElementNS(l,"defs"),n=(t.appendChild(i),new Set),r=(e.getAttribute("id")&&n.add(e.getAttribute("id")),e.querySelectorAll("[id]").forEach(function(e){n.add(e.getAttribute("id"))}),0);A.forEach(function(e){n.has(e.id)||(i.appendChild(e.node),r+=1)}),0<r&&e.insertBefore(t,e.firstChild)}return e}).then(function(e){return r.disableEmbedFonts?e:(t=e,e=r.style,n.resolveAll(t,e).then(function(e){var i;return""!==e&&(i=document.createElement("style"),t.appendChild(i),i.appendChild(document.createTextNode(e))),t}));var t}).then(r.disableInlineImages?Promise.resolve(e):V).then(function(e){e.style&&(e.style.margin="0"),r.bgcolor&&(e.style.backgroundColor=r.bgcolor),r.width&&(e.style.width=r.width+"px"),r.height&&(e.style.height=r.height+"px"),r.style&&Object.assign(e.style,r.style);let t=null;return"function"==typeof r.onclone&&(t=r.onclone(e)),Promise.resolve(t).then(function(){return e})}).then(function(i){if(t.isSVGElement(e)&&!t.isSVGSVGElement(e)){let n,s=i,a=p(s);try{n=e.getBBox()}catch(e){n={x:0,y:0,width:0,height:0}}finally{a()}s.removeAttribute("transform"),s.style.removeProperty("transform");let o=r.width||n.width,u=r.height||n.height;return Promise.resolve(s).then(function(e){return e.setAttribute("xmlns",l),(new XMLSerializer).serializeToString(e)}).then(c).then(t.escapeXhtml).then(function(e){var i=(t.isDimensionMissing(o)?"":` width="${o}"`)+(t.isDimensionMissing(u)?"":` height="${u}"`),r=`${n.x} ${n.y} ${n.width} `+n.height;return`<svg xmlns="${l}"${i} viewBox="${r}">${e}</svg>`}).then(function(e){return h+e})}{let n,s,a=p(i);try{n=r.width||t.width(e),s=r.height||t.height(e)}finally{a()}return Promise.resolve(i).then(function(e){return e.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),(new XMLSerializer).serializeToString(e)}).then(c).then(t.escapeXhtml).then(function(e){var i=(t.isDimensionMissing(n)?' width="100%"':` width="${n}"`)+(t.isDimensionMissing(s)?' height="100%"':` height="${s}"`),r=(t.isDimensionMissing(n)?"":` width="${n}"`)+(t.isDimensionMissing(s)?"":` height="${s}"`);return`<svg xmlns="${l}"${r}><foreignObject${i}>${e}</foreignObject></svg>`}).then(function(e){return h+e})}}).finally(function(){for(;0<a.length;){var e=a.pop();try{e.parent.replaceChild(e.child,e.wrapper)}catch(e){w("domtoimage: failed to restore wrapped node",e)}}m(),A=[],_=new Set,C&&(C.remove(),C=null),j&&clearTimeout(j),j=setTimeout(()=>{j=null,D={}},2e4)}):Promise.reject(new Error("dom-to-image-more: a browser DOM is required (SSR)"));function c(e){return e.replace(/url\("([^]*?)"\)/g,function(e,t){return 0<=t.indexOf("'")?e:`url('${t}')`})}function p(t){function i(){}if(!r.ensureShown)return i;var n=x(e);if("0"===n.getPropertyValue("opacity")&&t.style.setProperty("opacity","1"),"none"!==n.getPropertyValue("display"))return i;let s=e.style.getPropertyValue("display"),a=e.style.getPropertyPriority("display");return e.style.removeProperty("display"),"none"===x(e).getPropertyValue("display")&&(n=s&&"none"!==s?s:"revert",e.style.setProperty("display",n,"important")),function(){var i=x(e).getPropertyValue("display");t.style.setProperty("display","none"===i?"block":i),s?e.style.setProperty("display",s,a):e.style.removeProperty("display")}}}function S(e,i){return E(e,i=i||{}).then(t.makeImage).then(function(n){var r=(e=>{let n=i.width||t.width(e),r=i.height||t.height(e);t.isDimensionMissing(n)&&(n=t.isDimensionMissing(r)?300:2*r),t.isDimensionMissing(r)&&(r=n/2),e=("number"==typeof i.scale?i.scale:1)*("number"==typeof i.pixelRatio?i.pixelRatio:1);var s,a=(o=r,!(0<(a=n)&&0<o&&0<e)||e<=(s=Math.min(16384/a,16384/o,Math.sqrt(268435456/(a*o))))?e:(b("dom-to-image-more: the requested "+Math.round(a*e)+"×"+Math.round(o*e)+" canvas exceeds the browser limit; clamping the effective scale from "+e+" to "+s+". Capture detail may be reduced — render a smaller region or lower scale/pixelRatio."),s)),o=document.createElement("canvas");return o.width=n*a,o.height=r*a,i.bgcolor&&((e=o.getContext("2d")).fillStyle=i.bgcolor,e.fillRect(0,0,o.width,o.height)),{canvas:o,scale:a,width:n,height:r}})(e),s=r.canvas,a=r.scale,o=s.getContext("2d");return o.msImageSmoothingEnabled=!1,o.imageSmoothingEnabled=!1,n&&(o.scale(a,a),o.drawImage(n,0,0,r.width,r.height)),s})}let C=null,A=[],_=new Set,N=["clip-path","mask","mask-image","-webkit-mask","-webkit-mask-image","filter","fill","stroke","marker-start","marker-mid","marker-end"],I=["clip-path","mask","filter","fill","stroke","marker-start","marker-mid","marker-end"];function T(e,t){(e=e.getAttribute("href")||e.getAttributeNS(c,"href")||e.getAttribute("xlink:href"))&&"#"===e.charAt(0)&&1<e.length&&P(t,e.slice(1))}function P(e,i){var n,r;A.some(e=>e.id===i)||(n=((n="function"==typeof e.getRootNode?e.getRootNode():null)&&"function"==typeof n.getElementById?n.getElementById(i):null)||e.ownerDocument.getElementById(i))&&((r=n.cloneNode(!0)).setAttribute("xmlns",l),A.push({id:i,node:r}),[n].concat(t.asArray(n.querySelectorAll("*"))).forEach(function(i){T(i,e),I.concat(["style"]).forEach(function(n){(n=i.getAttribute(n))&&t.rewriteFragmentUrls(n,function(t){P(e,t)})})}))}function L(e){t.parseFontFamilies(e).forEach(function(e){_.add(e)})}function V(e){return s.inlineAll(e).then(function(){return e})}function R(e,t,i,n){var r=0<=["background-clip"].indexOf(t);n?(e.setProperty(t,i,n),r&&e.setProperty("-webkit-"+t,i,n)):(e.setProperty(t,i),r&&e.setProperty("-webkit-"+t,i))}let O=Symbol("dtim-ua-relative-font-size"),j=null,D={},M=["ADDRESS","ARTICLE","ASIDE","BLOCKQUOTE","DETAILS","DIALOG","DD","DIV","DL","DT","FIELDSET","FIGCAPTION","FIGURE","FOOTER","FORM","H1","H2","H3","H4","H5","H6","HEADER","HGROUP","HR","LI","MAIN","NAV","OL","P","PRE","SECTION","SVG","TABLE","UL","math","svg","BODY","HEAD","HTML"],F=["href"]})(Jt.exports)),Jt.exports),Xt=Y(Gt);const Ht=e=>{const{onRunStart:t,id:i,onChangeRef:u,isRunning:d,timeLimit:f,memoryLimit:m,withLabels:g,files:x,currentFileName:y,testCases:v,setRunState:b}=e,{addErrorNotification:w}=Z(),k=_(""),E=x[y],S={event:r.SUBSCRIBE_CODE_RUN_STATUS,runId:i};ee(S,e=>{if(p(e)){if(i!==k.current)return;const t=(t,i,n,r)=>{u.current?.({onTestCasesChange:s=>{const a={...s};for(const o in a)s[o]?.messageTimestamp&&s[o].messageTimestamp>e.messageTimestamp||a[o]&&(a[o]={...a[o],status:t,err:i,out:n,log:r,messageTimestamp:e.messageTimestamp});return a}})},n=e.status||a.NONE,r=e?.log?.inputKey;switch(n){case a.RECEIVED:case a.FAILED:case a.COMPILING:case a.COMPILED:case a.COMPILATION_ERROR:t(n,e.log?.err||"",e.log?.out||"",e.log?.log||"");break;case a.RUNNING_TEST_CASE:case a.EXECUTED_TEST_CASE:case a.FAILED_TEST_CASE:u.current?.({onTestCasesChange:t=>{const i={...t};if(r&&i[r]){const s={...i[r],status:n,out:e.log?.out||"",log:e.log?.log||"",err:e.log?.err||"",messageTimestamp:e.messageTimestamp},a=t[s.key];return a&&a.messageTimestamp>s.messageTimestamp?t:{...t,[s.key]:s}}return t}})}switch(n){case a.RECEIVED:b(e=>({...e,running:!0})),u.current?.({isRunning:!0});break;case a.FAILED:case a.COMPILATION_ERROR:case a.COMPLETED:b(e=>({...e,running:!1})),u.current?.({isRunning:!1})}u.current?.({codeRunStatus:n})}},()=>!!i);const C=async e=>{const i=e=>{const t={};for(const i in v)v[i]&&(t[i]={...v[i]},t[i].log="0\n0\n0\n",t[i].out="",t[i].err="",t[i].status=e);u?.current?.({onTestCasesChange:()=>t})};e(s.LOADING),i(a.RECEIVED);try{const n=o();t(n),k.current=n;const{url:r,...p}=tt.API_V2.code.run({body:{runId:n,files:[...Object.values(x).map(({language:e,source:t,name:i,active:n})=>({language:e,source:t,fullFileName:i,isInput:!1,isEntryPoint:n??!1,toCompile:n??!1})),...Object.values(v).map(e=>({fullFileName:`${e.key}.in`,language:l.TEXT,source:e.in,isInput:!0,isEntryPoint:!1,toCompile:!1}))],timeLimit:f,memoryLimit:m,connectionId:""}}),u=c(await Se(r,p));u?.success&&u?.content?.runId?e(s.SUCCESS):(w(u?.message),t(""),k.current="",i(a.NONE),h("run code request failed",{request:u}),e(s.ERROR))}catch(t){h("error on run code",{error:t}),i(a.NONE),e(s.ERROR)}},A=te(C),T=N(e=>{if(!e.shiftKey&&!e.altKey&&"Enter"===e.key)return e.preventDefault(),e.stopPropagation(),void(P.current&&A.current(P.current))},[A]);ie(T);const P=_(void 0);return I(()=>{d?P.current?.(s.LOADING):P.current?.(s.NONE)},[d]),n(ne,{"data-tooltip-id":"jk-tooltip","data-tooltip-content":g?"(Ctrl+Enter / ⌘+Enter)":"run (Ctrl+Enter / ⌘+Enter)",icon:n(Ze,{size:"tiny"}),onClick:C,setLoaderStatusRef:e=>P.current=e,disabled:!E,children:g&&n(H,{className:"tt-se tx-t",children:"run"})})},Wt=e=>{const{onChangeRef:r,setShowSettings:s,leftOptions:a,centerOptions:o,rightOptions:c,onRunStart:h,expanded:p,setExpanded:d,headerRef:f,headerWidthContainer:m,files:g,currentFileName:x,runner:y,setRunState:v,languages:b,readOnly:w,withoutRunCodeButton:k}=e,{addQuietNotification:E}=Z(),{width:S=0,ref:C}=re(U),{width:A=0,ref:_}=re(U),{source:I="",language:T=l.TEXT}=g[x]??{},P=N(()=>{const e=g[x];e?.source&&e?.name&&(Ee(e.source,e.name),E(n(H,{className:"tt-se",children:"downloaded"})))},[E,x,g]),L=async()=>{const e=document.querySelector(".code-viewer-to-print");if(e)try{return await Xt.toBlob(e)}catch(e){console.error("Error al capturar imagen:",e)}},V=N(async()=>{const e=g[x];if(e?.source&&e?.name){const t=await L();t&&(Ee(t,`${e.name}.png`),E(n(H,{className:"tt-se",children:"downloaded"})))}},[E,x,g]),R=N(async()=>{const e=g[x];if(e?.source)try{await navigator.clipboard.writeText(e.source),E(n(H,{className:"tt-se",children:"copied"}))}catch(e){console.error("Failed to copy:",e)}},[E,x,g]),O=N(async()=>{try{const e=await L();e&&(await navigator.clipboard.write([new ClipboardItem({"image/png":e})]),E(n(H,{className:"tt-se",children:"copied"})))}catch(e){console.error("Failed to copy image:",e)}},[E]),j=N(e=>{if(navigator.platform.toUpperCase().includes("MAC")?e.metaKey:e.ctrlKey)return e.shiftKey&&!e.altKey&&"KeyS"===e.code?(e.preventDefault(),void P()):!e.shiftKey&&e.altKey&&"KeyS"===e.code?(e.preventDefault(),void V()):e.shiftKey&&!e.altKey&&"KeyC"===e.code?(e.preventDefault(),void R()):void(!e.shiftKey&&e.altKey&&"KeyC"===e.code&&(e.preventDefault(),O()))},[P,V,R,O]);ie(j);const D=!k&&u.includes(T),M=m>(y?620:570),F=m-S-A;return t("div",{className:"options-header-content jk-row jk-pg-xsm",ref:f,children:[t("div",{className:ke("cr-tx-ht jk-row gap left"),ref:C,children:[w||1===b.length?n("div",{className:"jk-tag bc-io",children:(b.find(e=>e.value===T)?.label||T)+""}):n(se,{className:"languages-selector tx-s",options:b.map(e=>({value:e.value,label:e.label||e.value})),selectedOption:{value:T,label:b.find(e=>e.value===T)?.label||T},onChange:({value:e})=>r?.current?.({language:e})}),D&&n(Ht,{...y,onRunStart:h,withLabels:M,files:g,currentFileName:x,onChangeRef:r,setRunState:v}),n("div",{className:"code-viewer-to-print bc-sf-md jk-pg jk-br-ie",children:n(ae,{code:I,language:T})}),n(se,{options:[{value:"copy-text",label:t(i,{children:[n(H,{className:"tt-se tx-t",children:"copy as text"})," ",n("span",{className:"fw-lr tx-t",children:"(Ctrl+Shift+C / ⌘+Shift+C)"})]})},{value:"copy-png",label:t(i,{children:[n(H,{className:"tt-se tx-t",children:"copy as png"})," ",n("span",{className:"fw-lr tx-t",children:"(Ctrl+Alt+C / ⌘+Option+C)"})]})}],disabled:!I,selectedOption:{value:"",label:M?t(i,{children:[n(Oe,{size:"tiny"}),n(H,{className:"tt-se tx-t ws-np",children:"copy"})]}):n(Oe,{size:"tiny"})},style:{width:"auto"},onChange:async({value:e})=>{if(I)switch(e){case"copy-text":R();break;case"copy-png":O()}}}),n(se,{options:[{value:"download-text",label:t(i,{children:[n(H,{className:"tt-se tx-t",children:"download as file"})," ",n("span",{className:"fw-lr tx-t",children:"(Ctrl+Shift+S / ⌘+Shift+S)"})]})},{value:"download-png",label:t(i,{children:[n(H,{className:"tt-se tx-t",children:"download as png"})," ",n("span",{className:"fw-lr tx-t",children:"(Ctrl+Alt+S / ⌘+Option+S)"})]})}],disabled:!I,selectedOption:{value:"",label:M?t(i,{children:[n(je,{size:"tiny"}),n(H,{className:"tt-se tx-t ws-np",children:"download"})]}):n(je,{size:"tiny"})},style:{width:"auto"},onChange:async({value:e})=>{if(I)switch(e){case"download-text":P();break;case"download-png":V();break;case"copy-text":R();break;case"copy-png":O()}}}),a({withLabels:M})]}),n("div",{className:"jk-row flex-1",style:{width:F},children:o({widthContainer:F,withLabels:M})}),t("div",{className:ke("jk-row gap cr-tx-ht"),ref:_,children:[c({withLabels:M}),n(Q,{"data-tooltip-id":"jk-tooltip","data-tooltip-content":M?"":"settings","data-tooltip-place":"bottom-end",type:"secondary",onClick:()=>s(!0),icon:n($e,{size:"tiny"}),children:M&&n(H,{className:"tt-se tx-t",children:"settings"})}),null!==p&&n(Q,{"data-tooltip-id":"jk-tooltip","data-tooltip-content":M?"":p?"back":"expand","data-tooltip-place":"bottom-end",size:"small",type:"secondary",onClick:()=>d(e=>!e),icon:n(p?De:Me,{}),children:M&&n(H,{className:"tt-se",children:p?"back":"expand"})})]})]})},$t=({onChange:e,tabSize:i,fontSize:r,...s})=>n(W,{className:"jk-pg",...s,children:t("div",{className:"jk-col stretch gap jk-pg-sm-tb",children:[n("h3",{children:n(H,{className:"tt-se",children:"code editor settings"})}),t("div",{className:"jk-row left gap",children:[t("label",{className:"tt-se",children:[n(H,{children:"choose your tab size"}),": "]}),n(se,{options:z.map(e=>({value:e,label:e+""})),selectedOption:{value:i},onChange:({value:t})=>e?.({tabSize:t})})]}),t("div",{className:"jk-row left gap",children:[t("label",{className:"tt-se",children:[n(H,{children:"choose your font size"}),": "]}),n(se,{options:J.map(e=>({value:e,label:e+""})),selectedOption:{value:r},onChange:({value:t})=>e?.({fontSize:t})})]})]})}),Kt=e=>{const{preferredTheme:i,language:r,readOnly:s,source:a,tabSize:o,fontSize:l,languages:c,onlyFirstPane:h,triggerFocus:p,setExpanded:u,files:d,currentFileName:f,leftButtons:m,centerButtons:g,rightButtons:x,onChangeRef:y,runner:v,expanded:b,expandPosition:w,withoutRunCodeButton:k}=e,[E,S]=A({id:"",running:!1}),C=N(e=>{y.current?.({...e,isRunning:!1}),S(e=>({...e,running:!1}))},[y]),{width:_=0,height:I=0,ref:P}=re(U),L=T(()=>({...v,id:E.id,isRunning:E.running}),[v,E]),[V,R]=A(!1);return t("div",{className:ke("jk-col nowrap left stretch ht-100",{"wh-100":!!h}),children:[n($t,{isOpen:V,onClose:()=>R(!1),onChange:y.current,tabSize:o,fontSize:l}),n(Wt,{headerRef:P,headerWidthContainer:_,languages:c,setRunState:S,runner:L,leftOptions:({withLabels:e})=>m?.({runner:L,withLabels:e,files:d,currentFileName:f}),centerOptions:({widthContainer:e,withLabels:t})=>g?.({runner:L,widthContainer:e,withLabels:t,files:d,currentFileName:f}),rightOptions:({withLabels:e})=>x?.({runner:L,withLabels:e,files:d,currentFileName:f}),setShowSettings:R,onRunStart:e=>{S({id:e,running:!1})},onChangeRef:y,expanded:w?b:null,setExpanded:u,readOnly:!!s,files:d,currentFileName:f,withoutRunCodeButton:k}),n("div",{className:"ow-ao",style:{height:`calc(100% - ${I}px)`},children:n(oe,{theme:i,onChange:C,language:r,readOnly:s,source:a,tabSize:o,fontSize:l,triggerFocus:p})})]})},Qt=["md","markdown","mdown","mkdn","mkd","mdwn","mkdown","ron"].map(function(e){return"."+e});function Yt(e,t){const i=(n=e,Boolean(n&&"object"==typeof n&&"message"in n&&"messages"in n)?e:new nt(e));var n;const{format:r,...s}=t||{};return{file:i,options:{format:"md"===r||"mdx"===r?r:i.extname&&(s.mdExtensions||Qt).includes(i.extname)?"md":"mdx",...s}}}class Zt{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:e=>this.replacement=e}}replace(e,t,i,n){e&&t&&(null!=i?e[t][i]=n:e[t]=n)}remove(e,t,i){e&&t&&(null!=i?e[t].splice(i,1):delete e[t])}}class ei extends Zt{constructor(e,t){super(),this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:e=>this.replacement=e},this.enter=e,this.leave=t}visit(e,t,i,n){if(e){if(this.enter){const r=this.should_skip,s=this.should_remove,a=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,e,t,i,n),this.replacement&&(e=this.replacement,this.replace(t,i,n,e)),this.should_remove&&this.remove(t,i,n);const o=this.should_skip,l=this.should_remove;if(this.should_skip=r,this.should_remove=s,this.replacement=a,o)return e;if(l)return null}let r;for(r in e){const t=e[r];if(t&&"object"==typeof t)if(Array.isArray(t)){const i=t;for(let t=0;t<i.length;t+=1){const n=i[t];ti(n)&&(this.visit(n,e,r,t)||t--)}}else ti(t)&&this.visit(t,e,r,null)}if(this.leave){const r=this.replacement,s=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,e,t,i,n),this.replacement&&(e=this.replacement,this.replace(t,i,n,e)),this.should_remove&&this.remove(t,i,n);const a=this.should_remove;if(this.replacement=r,this.should_remove=s,a)return null}}return e}}function ti(e){return null!==e&&"object"==typeof e&&"type"in e&&"string"==typeof e.type}function ii(e,{enter:t,leave:i}){return new ei(t,i).visit(e,null)}const ni=/@(jsx|jsxFrag|jsxImportSource|jsxRuntime)\s+(\S+)/g;function ri(e){let t;if(e.value)if("JSXExpressionContainer"===e.value.type){const i=e.value.expression;rt("JSXEmptyExpression"!==i.type),t=i}else{const i=e.value;rt("JSXElement"!==i.type&&"JSXFragment"!==i.type),t=i,delete t.raw}else t={type:"Literal",value:!0};const i={type:"Property",key:si(e.name),value:t,kind:"init",method:!1,shorthand:!1,computed:!1};return oi(e,i),i}function si(e){let t;if("JSXMemberExpression"===e.type){const i=si(e.property);t={type:"MemberExpression",object:si(e.object),property:i,computed:"Literal"===i.type,optional:!1}}else t="JSXNamespacedName"===e.type?{type:"Literal",value:e.namespace.name+":"+e.name.name}:Et(e.name)?{type:"Identifier",name:e.name}:{type:"Literal",value:e.name};return oi(e,t),t}function ai(e){const t=e.split(".");let i,n=-1;for(;++n<t.length;){const e=Et(t[n])?{type:"Identifier",name:t[n]}:{type:"Literal",value:t[n]};i=i?{type:"MemberExpression",object:i,property:e,computed:Boolean(n&&"Literal"===e.type),optional:!1}:e}return i}function oi(e,t){const i=["start","end","loc","range","comments"];let n=-1;for(;++n<i.length;){const r=i[n];r in e&&(t[r]=e[r])}}function li(e){return function(t,i){!function(e,t){const i=t||{};let n="automatic"===i.runtime;const r={},s={};ii(e,{enter(e){if("Program"===e.type){const t=e.comments||[];let i=-1;for(;++i<t.length;){ni.lastIndex=0;let e=ni.exec(t[i].value);for(;e;)r[e[1]]=e[2],e=ni.exec(t[i].value)}if(r.jsxRuntime)if("automatic"===r.jsxRuntime){if(n=!0,r.jsx)throw new Error("Unexpected `@jsx` pragma w/ automatic runtime");if(r.jsxFrag)throw new Error("Unexpected `@jsxFrag` pragma w/ automatic runtime")}else{if("classic"!==r.jsxRuntime)throw new Error("Unexpected `jsxRuntime` `"+r.jsxRuntime+"`, expected `automatic` or `classic`");if(n=!1,r.jsxImportSource)throw new Error("Unexpected `@jsxImportSource` w/ classic runtime")}}},leave(e){if("Program"===e.type){const t=[];if(s.fragment&&t.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"Fragment"},local:{type:"Identifier",name:"_Fragment"}}),s.jsx&&t.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsx"},local:{type:"Identifier",name:"_jsx"}}),s.jsxs&&t.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsxs"},local:{type:"Identifier",name:"_jsxs"}}),s.jsxDEV&&t.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsxDEV"},local:{type:"Identifier",name:"_jsxDEV"}}),t.length>0){let n=0;for(;n<e.body.length;){const t=e.body[n];if(!("directive"in t)||!t.directive)break;n++}e.body.splice(n,0,{type:"ImportDeclaration",specifiers:t,source:{type:"Literal",value:(r.jsxImportSource||i.importSource||"react")+(i.development?"/jsx-dev-runtime":"/jsx-runtime")}})}}if("JSXElement"!==e.type&&"JSXFragment"!==e.type)return;const t=[];let a,o=-1;for(;++o<e.children.length;){const i=e.children[o];if("JSXExpressionContainer"===i.type)"JSXEmptyExpression"!==i.expression.type&&t.push(i.expression);else if("JSXText"===i.type){const e=i.value.replace(/\t/g," ").replace(/ *(\r?\n|\r) */g,"\n").replace(/\n+/g,"\n").replace(/\n+$/,"").replace(/^\n+/,"").replace(/\n/g," ");if(e){const n={type:"Literal",value:e};oi(i,n),t.push(n)}}else rt("JSXElement"!==i.type&&"JSXFragment"!==i.type&&"JSXSpreadChild"!==i.type),t.push(i)}const l=[];let c,h,p=[];if("JSXElement"===e.type){if(a=si(e.openingElement.name),"Identifier"===a.type&&/^[a-z]/.test(a.name)){const e={type:"Literal",value:a.name};oi(a,e),a=e}let t;const i=e.openingElement.attributes;let r=-1;for(;++r<i.length;){const e=i[r];if("JSXSpreadAttribute"===e.type)"ObjectExpression"===e.argument.type?l.push(...e.argument.properties):l.push({type:"SpreadElement",argument:e.argument}),t=!0;else{const i=ri(e);if(n&&"Identifier"===i.key.type&&"key"===i.key.name){if(t)throw new Error("Expected `key` to come before any spread expressions");const e=i.value;rt("AssignmentPattern"!==e.type&&"ArrayPattern"!==e.type&&"ObjectPattern"!==e.type&&"RestElement"!==e.type),c=e}else l.push(i)}}}else n?(s.fragment=!0,a={type:"Identifier",name:"_Fragment"}):a=ai(r.jsxFrag||i.pragmaFrag||"React.Fragment");if(n?t.length>0&&l.push({type:"Property",key:{type:"Identifier",name:"children"},value:t.length>1?{type:"ArrayExpression",elements:t}:t[0],kind:"init",method:!1,shorthand:!1,computed:!1}):p=t,n){p.push({type:"ObjectExpression",properties:l}),c?p.push(c):i.development&&p.push({type:"Identifier",name:"undefined"});const n=t.length>1;if(i.development){s.jsxDEV=!0,h={type:"Identifier",name:"_jsxDEV"},p.push({type:"Literal",value:n});const t={type:"ObjectExpression",properties:[{type:"Property",method:!1,shorthand:!1,computed:!1,kind:"init",key:{type:"Identifier",name:"fileName"},value:{type:"Literal",value:i.filePath||"<source.js>"}}]};e.loc&&t.properties.push({type:"Property",method:!1,shorthand:!1,computed:!1,kind:"init",key:{type:"Identifier",name:"lineNumber"},value:{type:"Literal",value:e.loc.start.line}},{type:"Property",method:!1,shorthand:!1,computed:!1,kind:"init",key:{type:"Identifier",name:"columnNumber"},value:{type:"Literal",value:e.loc.start.column+1}}),p.push(t,{type:"ThisExpression"})}else n?(s.jsxs=!0,h={type:"Identifier",name:"_jsxs"}):(s.jsx=!0,h={type:"Identifier",name:"_jsx"})}else l.length>0?p.unshift({type:"ObjectExpression",properties:l}):p.length>0&&p.unshift({type:"Literal",value:null}),h=ai(r.jsx||i.pragma||"React.createElement");p.unshift(a);const u={type:"CallExpression",callee:h,arguments:p,optional:!1};oi(e,u),this.replace(u)}})}(t,{filePath:i.history[0],...e})}}var ci,hi,pi={exports:{}};var ui,di,fi={exports:{}};function mi(){return ui||(ui=1,function(e){var t=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,78,5,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,199,7,137,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,55,9,266,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239],i=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,7,25,39,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,5,57,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,24,43,261,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7381,42,31,98,114,8702,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,208,30,2,2,2,1,2,6,3,4,10,1,225,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4381,3,5773,3,7472,16,621,2467,541,1507,4938,6,8489],n="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ--ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ--ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",s={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},a="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",o={5:a,"5module":a+" export import",6:a+" const class extends export import super"},l=/^in(stanceof)?$/,c=new RegExp("["+r+"]"),h=new RegExp("["+r+n+"]");function p(e,t){for(var i=65536,n=0;n<t.length;n+=2){if((i+=t[n])>e)return!1;if((i+=t[n+1])>=e)return!0}return!1}function u(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&c.test(String.fromCharCode(e)):!1!==t&&p(e,i)))}function d(e,n){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&h.test(String.fromCharCode(e)):!1!==n&&(p(e,i)||p(e,t)))))}var f=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function m(e,t){return new f(e,{beforeExpr:!0,binop:t})}var g={beforeExpr:!0},x={startsExpr:!0},y={};function v(e,t){return void 0===t&&(t={}),t.keyword=e,y[e]=new f(e,t)}var b={num:new f("num",x),regexp:new f("regexp",x),string:new f("string",x),name:new f("name",x),privateId:new f("privateId",x),eof:new f("eof"),bracketL:new f("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new f("]"),braceL:new f("{",{beforeExpr:!0,startsExpr:!0}),braceR:new f("}"),parenL:new f("(",{beforeExpr:!0,startsExpr:!0}),parenR:new f(")"),comma:new f(",",g),semi:new f(";",g),colon:new f(":",g),dot:new f("."),question:new f("?",g),questionDot:new f("?."),arrow:new f("=>",g),template:new f("template"),invalidTemplate:new f("invalidTemplate"),ellipsis:new f("...",g),backQuote:new f("`",x),dollarBraceL:new f("${",{beforeExpr:!0,startsExpr:!0}),eq:new f("=",{beforeExpr:!0,isAssign:!0}),assign:new f("_=",{beforeExpr:!0,isAssign:!0}),incDec:new f("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new f("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:m("||",1),logicalAND:m("&&",2),bitwiseOR:m("|",3),bitwiseXOR:m("^",4),bitwiseAND:m("&",5),equality:m("==/!=/===/!==",6),relational:m("</>/<=/>=",7),bitShift:m("<</>>/>>>",8),plusMin:new f("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:m("%",10),star:m("*",10),slash:m("/",10),starstar:new f("**",{beforeExpr:!0}),coalesce:m("??",1),_break:v("break"),_case:v("case",g),_catch:v("catch"),_continue:v("continue"),_debugger:v("debugger"),_default:v("default",g),_do:v("do",{isLoop:!0,beforeExpr:!0}),_else:v("else",g),_finally:v("finally"),_for:v("for",{isLoop:!0}),_function:v("function",x),_if:v("if"),_return:v("return",g),_switch:v("switch"),_throw:v("throw",g),_try:v("try"),_var:v("var"),_const:v("const"),_while:v("while",{isLoop:!0}),_with:v("with"),_new:v("new",{beforeExpr:!0,startsExpr:!0}),_this:v("this",x),_super:v("super",x),_class:v("class",x),_extends:v("extends",g),_export:v("export"),_import:v("import",x),_null:v("null",x),_true:v("true",x),_false:v("false",x),_in:v("in",{beforeExpr:!0,binop:7}),_instanceof:v("instanceof",{beforeExpr:!0,binop:7}),_typeof:v("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:v("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:v("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},w=/\r\n?|\n|\u2028|\u2029/,k=new RegExp(w.source,"g");function E(e){return 10===e||13===e||8232===e||8233===e}function S(e,t,i){void 0===i&&(i=e.length);for(var n=t;n<i;n++){var r=e.charCodeAt(n);if(E(r))return n<i-1&&13===r&&10===e.charCodeAt(n+1)?n+2:n+1}return-1}var C=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,A=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,_=Object.prototype,N=_.hasOwnProperty,I=_.toString,T=Object.hasOwn||function(e,t){return N.call(e,t)},P=Array.isArray||function(e){return"[object Array]"===I.call(e)},L=Object.create(null);function V(e){return L[e]||(L[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function R(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}var O=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,j=function(e,t){this.line=e,this.column=t};j.prototype.offset=function(e){return new j(this.line,this.column+e)};var D=function(e,t,i){this.start=t,this.end=i,null!==e.sourceFile&&(this.source=e.sourceFile)};function M(e,t){for(var i=1,n=0;;){var r=S(e,n,t);if(r<0)return new j(i,t-n);++i,n=r}}var F={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},B=!1;function U(e){var t={};for(var i in F)t[i]=e&&T(e,i)?e[i]:F[i];if("latest"===t.ecmaVersion?t.ecmaVersion=1e8:null==t.ecmaVersion?(!B&&"object"==typeof console&&console.warn&&(B=!0,console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),e&&null!=e.allowHashBang||(t.allowHashBang=t.ecmaVersion>=14),P(t.onToken)){var n=t.onToken;t.onToken=function(e){return n.push(e)}}if(P(t.onComment)&&(t.onComment=z(t,t.onComment)),"commonjs"===t.sourceType&&t.allowAwaitOutsideFunction)throw new Error("Cannot use allowAwaitOutsideFunction with sourceType: commonjs");return t}function z(e,t){return function(i,n,r,s,a,o){var l={type:i?"Block":"Line",value:n,start:r,end:s};e.locations&&(l.loc=new D(this,a,o)),e.ranges&&(l.range=[r,s]),t.push(l)}}var J=1,q=2,G=4,X=8,H=16,W=32,$=64,K=128,Q=256,Y=512,Z=1024,ee=J|q|Q;function te(e,t){return q|(e?G:0)|(t?X:0)}var ie=0,ne=1,re=2,se=3,ae=4,oe=5,le=function(e,t,i){this.options=e=U(e),this.sourceFile=e.sourceFile,this.keywords=V(o[e.ecmaVersion>=6?6:"module"===e.sourceType?"5module":5]);var n="";!0!==e.allowReserved&&(n=s[e.ecmaVersion>=6?6:5===e.ecmaVersion?5:3],"module"===e.sourceType&&(n+=" await")),this.reservedWords=V(n);var r=(n?n+" ":"")+s.strict;this.reservedWordsStrict=V(r),this.reservedWordsStrictBind=V(r+" "+s.strictBind),this.input=String(t),this.containsEsc=!1,i?(this.pos=i,this.lineStart=this.input.lastIndexOf("\n",i-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(w).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=b.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope("commonjs"===this.options.sourceType?q:J),this.regexpState=null,this.privateNameStack=[]},ce={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowReturn:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},allowUsing:{configurable:!0},inClassStaticBlock:{configurable:!0}};le.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},ce.inFunction.get=function(){return(this.currentVarScope().flags&q)>0},ce.inGenerator.get=function(){return(this.currentVarScope().flags&X)>0},ce.inAsync.get=function(){return(this.currentVarScope().flags&G)>0},ce.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e].flags;if(t&(Q|Y))return!1;if(t&q)return(t&G)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},ce.allowReturn.get=function(){return!!this.inFunction||!!(this.options.allowReturnOutsideFunction&&this.currentVarScope().flags&J)},ce.allowSuper.get=function(){return(this.currentThisScope().flags&$)>0||this.options.allowSuperOutsideMethod},ce.allowDirectSuper.get=function(){return(this.currentThisScope().flags&K)>0},ce.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},ce.allowNewDotTarget.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e].flags;if(t&(Q|Y)||t&q&&!(t&H))return!0}return!1},ce.allowUsing.get=function(){var e=this.currentScope().flags;return!(e&Z||!this.inModule&&e&J)},ce.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&Q)>0},le.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var i=this,n=0;n<e.length;n++)i=e[n](i);return i},le.parse=function(e,t){return new this(t,e).parse()},le.parseExpressionAt=function(e,t,i){var n=new this(i,e,t);return n.nextToken(),n.parseExpression()},le.tokenizer=function(e,t){return new this(t,e)},Object.defineProperties(le.prototype,ce);var he=le.prototype,pe=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;he.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){A.lastIndex=e,e+=A.exec(this.input)[0].length;var t=pe.exec(this.input.slice(e));if(!t)return!1;if("use strict"===(t[1]||t[2])){A.lastIndex=e+t[0].length;var i=A.exec(this.input),n=i.index+i[0].length,r=this.input.charAt(n);return";"===r||"}"===r||w.test(i[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(r)||"!"===r&&"="===this.input.charAt(n+1))}e+=t[0].length,A.lastIndex=e,e+=A.exec(this.input)[0].length,";"===this.input[e]&&e++}},he.eat=function(e){return this.type===e&&(this.next(),!0)},he.isContextual=function(e){return this.type===b.name&&this.value===e&&!this.containsEsc},he.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},he.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},he.canInsertSemicolon=function(){return this.type===b.eof||this.type===b.braceR||w.test(this.input.slice(this.lastTokEnd,this.start))},he.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},he.semicolon=function(){this.eat(b.semi)||this.insertSemicolon()||this.unexpected()},he.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},he.expect=function(e){this.eat(e)||this.unexpected()},he.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")};var ue=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};he.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var i=t?e.parenthesizedAssign:e.parenthesizedBind;i>-1&&this.raiseRecoverable(i,t?"Assigning to rvalue":"Parenthesized pattern")}},he.checkExpressionErrors=function(e,t){if(!e)return!1;var i=e.shorthandAssign,n=e.doubleProto;if(!t)return i>=0||n>=0;i>=0&&this.raise(i,"Shorthand property assignments are valid only in destructuring patterns"),n>=0&&this.raiseRecoverable(n,"Redefinition of __proto__ property")},he.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},he.isSimpleAssignTarget=function(e){return"ParenthesizedExpression"===e.type?this.isSimpleAssignTarget(e.expression):"Identifier"===e.type||"MemberExpression"===e.type};var de=le.prototype;de.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==b.eof;){var i=this.parseStatement(null,!0,t);e.body.push(i)}if(this.inModule)for(var n=0,r=Object.keys(this.undefinedExports);n<r.length;n+=1){var s=r[n];this.raiseRecoverable(this.undefinedExports[s].start,"Export '"+s+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType="commonjs"===this.options.sourceType?"script":this.options.sourceType,this.finishNode(e,"Program")};var fe={kind:"loop"},me={kind:"switch"};de.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;A.lastIndex=this.pos;var t=A.exec(this.input),i=this.pos+t[0].length,n=this.fullCharCodeAt(i);if(91===n||92===n)return!0;if(e)return!1;if(123===n)return!0;if(u(n)){var r=i;do{i+=n<=65535?1:2}while(d(n=this.fullCharCodeAt(i)));if(92===n)return!0;var s=this.input.slice(r,i);if(!l.test(s))return!0}return!1},de.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;A.lastIndex=this.pos;var e,t=A.exec(this.input),i=this.pos+t[0].length;return!(w.test(this.input.slice(this.pos,i))||"function"!==this.input.slice(i,i+8)||i+8!==this.input.length&&(d(e=this.fullCharCodeAt(i+8))||92===e))},de.isUsingKeyword=function(e,t){if(this.options.ecmaVersion<17||!this.isContextual(e?"await":"using"))return!1;A.lastIndex=this.pos;var i=A.exec(this.input),n=this.pos+i[0].length;if(w.test(this.input.slice(this.pos,n)))return!1;if(e){var r,s=n+5;if("using"!==this.input.slice(n,s)||s===this.input.length||d(r=this.fullCharCodeAt(s))||92===r)return!1;A.lastIndex=s;var a=A.exec(this.input);if(n=s+a[0].length,a&&w.test(this.input.slice(s,n)))return!1}var o=this.fullCharCodeAt(n);if(!u(o)&&92!==o)return!1;var c=n;do{n+=o<=65535?1:2}while(d(o=this.fullCharCodeAt(n)));if(92===o)return!0;var h=this.input.slice(c,n);return!(l.test(h)||t&&"of"===h)},de.isAwaitUsing=function(e){return this.isUsingKeyword(!0,e)},de.isUsing=function(e){return this.isUsingKeyword(!1,e)},de.parseStatement=function(e,t,i){var n,r=this.type,s=this.startNode();switch(this.isLet(e)&&(r=b._var,n="let"),r){case b._break:case b._continue:return this.parseBreakContinueStatement(s,r.keyword);case b._debugger:return this.parseDebuggerStatement(s);case b._do:return this.parseDoStatement(s);case b._for:return this.parseForStatement(s);case b._function:return e&&(this.strict||"if"!==e&&"label"!==e)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(s,!1,!e);case b._class:return e&&this.unexpected(),this.parseClass(s,!0);case b._if:return this.parseIfStatement(s);case b._return:return this.parseReturnStatement(s);case b._switch:return this.parseSwitchStatement(s);case b._throw:return this.parseThrowStatement(s);case b._try:return this.parseTryStatement(s);case b._const:case b._var:return n=n||this.value,e&&"var"!==n&&this.unexpected(),this.parseVarStatement(s,n);case b._while:return this.parseWhileStatement(s);case b._with:return this.parseWithStatement(s);case b.braceL:return this.parseBlock(!0,s);case b.semi:return this.parseEmptyStatement(s);case b._export:case b._import:if(this.options.ecmaVersion>10&&r===b._import){A.lastIndex=this.pos;var a=A.exec(this.input),o=this.pos+a[0].length,l=this.input.charCodeAt(o);if(40===l||46===l)return this.parseExpressionStatement(s,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),r===b._import?this.parseImport(s):this.parseExport(s,i);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(s,!0,!e);var c=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(c)return this.allowUsing||this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script` or in the bare case statement"),"await using"===c&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(s,!1,c),this.semicolon(),this.finishNode(s,"VariableDeclaration");var h=this.value,p=this.parseExpression();return r===b.name&&"Identifier"===p.type&&this.eat(b.colon)?this.parseLabeledStatement(s,h,p,e):this.parseExpressionStatement(s,p)}},de.parseBreakContinueStatement=function(e,t){var i="break"===t;this.next(),this.eat(b.semi)||this.insertSemicolon()?e.label=null:this.type!==b.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var n=0;n<this.labels.length;++n){var r=this.labels[n];if(null==e.label||r.name===e.label.name){if(null!=r.kind&&(i||"loop"===r.kind))break;if(e.label&&i)break}}return n===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,i?"BreakStatement":"ContinueStatement")},de.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},de.parseDoStatement=function(e){return this.next(),this.labels.push(fe),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(b._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(b.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},de.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(fe),this.enterScope(0),this.expect(b.parenL),this.type===b.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var i=this.isLet();if(this.type===b._var||this.type===b._const||i){var n=this.startNode(),r=i?"let":this.value;return this.next(),this.parseVar(n,!0,r),this.finishNode(n,"VariableDeclaration"),this.parseForAfterInit(e,n,t)}var s=this.isContextual("let"),a=!1,o=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(o){var l=this.startNode();return this.next(),"await using"===o&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.parseVar(l,!0,o),this.finishNode(l,"VariableDeclaration"),this.parseForAfterInit(e,l,t)}var c=this.containsEsc,h=new ue,p=this.start,u=t>-1?this.parseExprSubscripts(h,"await"):this.parseExpression(!0,h);return this.type===b._in||(a=this.options.ecmaVersion>=6&&this.isContextual("of"))?(t>-1?(this.type===b._in&&this.unexpected(t),e.await=!0):a&&this.options.ecmaVersion>=8&&(u.start!==p||c||"Identifier"!==u.type||"async"!==u.name?this.options.ecmaVersion>=9&&(e.await=!1):this.unexpected()),s&&a&&this.raise(u.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(u,!1,h),this.checkLValPattern(u),this.parseForIn(e,u)):(this.checkExpressionErrors(h,!0),t>-1&&this.unexpected(t),this.parseFor(e,u))},de.parseForAfterInit=function(e,t,i){return(this.type===b._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===t.declarations.length?(this.options.ecmaVersion>=9&&(this.type===b._in?i>-1&&this.unexpected(i):e.await=i>-1),this.parseForIn(e,t)):(i>-1&&this.unexpected(i),this.parseFor(e,t))},de.parseFunctionStatement=function(e,t,i){return this.next(),this.parseFunction(e,xe|(i?0:ye),!1,t)},de.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(b._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},de.parseReturnStatement=function(e){return this.allowReturn||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(b.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},de.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(b.braceL),this.labels.push(me),this.enterScope(Z);for(var i=!1;this.type!==b.braceR;)if(this.type===b._case||this.type===b._default){var n=this.type===b._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),n?t.test=this.parseExpression():(i&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),i=!0,t.test=null),this.expect(b.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},de.parseThrowStatement=function(e){return this.next(),w.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var ge=[];de.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t="Identifier"===e.type;return this.enterScope(t?W:0),this.checkLValPattern(e,t?ae:re),this.expect(b.parenR),e},de.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===b._catch){var t=this.startNode();this.next(),this.eat(b.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(b._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},de.parseVarStatement=function(e,t,i){return this.next(),this.parseVar(e,!1,t,i),this.semicolon(),this.finishNode(e,"VariableDeclaration")},de.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(fe),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},de.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},de.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},de.parseLabeledStatement=function(e,t,i,n){for(var r=0,s=this.labels;r<s.length;r+=1)s[r].name===t&&this.raise(i.start,"Label '"+t+"' is already declared");for(var a=this.type.isLoop?"loop":this.type===b._switch?"switch":null,o=this.labels.length-1;o>=0;o--){var l=this.labels[o];if(l.statementStart!==e.start)break;l.statementStart=this.start,l.kind=a}return this.labels.push({name:t,kind:a,statementStart:this.start}),e.body=this.parseStatement(n?-1===n.indexOf("label")?n+"label":n:"label"),this.labels.pop(),e.label=i,this.finishNode(e,"LabeledStatement")},de.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},de.parseBlock=function(e,t,i){for(void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),t.body=[],this.expect(b.braceL),e&&this.enterScope(0);this.type!==b.braceR;){var n=this.parseStatement(null);t.body.push(n)}return i&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},de.parseFor=function(e,t){return e.init=t,this.expect(b.semi),e.test=this.type===b.semi?null:this.parseExpression(),this.expect(b.semi),e.update=this.type===b.parenR?null:this.parseExpression(),this.expect(b.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},de.parseForIn=function(e,t){var i=this.type===b._in;return this.next(),"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!i||this.options.ecmaVersion<8||this.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)&&this.raise(t.start,(i?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=i?this.parseExpression():this.parseMaybeAssign(),this.expect(b.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,i?"ForInStatement":"ForOfStatement")},de.parseVar=function(e,t,i,n){for(e.declarations=[],e.kind=i;;){var r=this.startNode();if(this.parseVarId(r,i),this.eat(b.eq)?r.init=this.parseMaybeAssign(t):n||"const"!==i||this.type===b._in||this.options.ecmaVersion>=6&&this.isContextual("of")?n||"using"!==i&&"await using"!==i||!(this.options.ecmaVersion>=17)||this.type===b._in||this.isContextual("of")?n||"Identifier"===r.id.type||t&&(this.type===b._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.raise(this.lastTokEnd,"Missing initializer in "+i+" declaration"):this.unexpected(),e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(b.comma))break}return e},de.parseVarId=function(e,t){e.id="using"===t||"await using"===t?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(e.id,"var"===t?ne:re,!1)};var xe=1,ye=2,ve=4;function be(e,t){var i=t.key.name,n=e[i],r="true";return"MethodDefinition"!==t.type||"get"!==t.kind&&"set"!==t.kind||(r=(t.static?"s":"i")+t.kind),"iget"===n&&"iset"===r||"iset"===n&&"iget"===r||"sget"===n&&"sset"===r||"sset"===n&&"sget"===r?(e[i]="true",!1):!!n||(e[i]=r,!1)}function we(e,t){var i=e.computed,n=e.key;return!i&&("Identifier"===n.type&&n.name===t||"Literal"===n.type&&n.value===t)}de.parseFunction=function(e,t,i,n,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n)&&(this.type===b.star&&t&ye&&this.unexpected(),e.generator=this.eat(b.star)),this.options.ecmaVersion>=8&&(e.async=!!n),t&xe&&(e.id=t&ve&&this.type!==b.name?null:this.parseIdent(),!e.id||t&ye||this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?ne:re:se));var s=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(te(e.async,e.generator)),t&xe||(e.id=this.type===b.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,i,!1,r),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=o,this.finishNode(e,t&xe?"FunctionDeclaration":"FunctionExpression")},de.parseFunctionParams=function(e){this.expect(b.parenL),e.params=this.parseBindingList(b.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},de.parseClass=function(e,t){this.next();var i=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var n=this.enterClassBody(),r=this.startNode(),s=!1;for(r.body=[],this.expect(b.braceL);this.type!==b.braceR;){var a=this.parseClassElement(null!==e.superClass);a&&(r.body.push(a),"MethodDefinition"===a.type&&"constructor"===a.kind?(s&&this.raiseRecoverable(a.start,"Duplicate constructor in the same class"),s=!0):a.key&&"PrivateIdentifier"===a.key.type&&be(n,a)&&this.raiseRecoverable(a.key.start,"Identifier '#"+a.key.name+"' has already been declared"))}return this.strict=i,this.next(),e.body=this.finishNode(r,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},de.parseClassElement=function(e){if(this.eat(b.semi))return null;var t=this.options.ecmaVersion,i=this.startNode(),n="",r=!1,s=!1,a="method",o=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(b.braceL))return this.parseClassStaticBlock(i),i;this.isClassElementNameStart()||this.type===b.star?o=!0:n="static"}if(i.static=o,!n&&t>=8&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==b.star||this.canInsertSemicolon()?n="async":s=!0),!n&&(t>=9||!s)&&this.eat(b.star)&&(r=!0),!n&&!s&&!r){var l=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?a=l:n=l)}if(n?(i.computed=!1,i.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),i.key.name=n,this.finishNode(i.key,"Identifier")):this.parseClassElementName(i),t<13||this.type===b.parenL||"method"!==a||r||s){var c=!i.static&&we(i,"constructor"),h=c&&e;c&&"method"!==a&&this.raise(i.key.start,"Constructor can't have get/set modifier"),i.kind=c?"constructor":a,this.parseClassMethod(i,r,s,h)}else this.parseClassField(i);return i},de.isClassElementNameStart=function(){return this.type===b.name||this.type===b.privateId||this.type===b.num||this.type===b.string||this.type===b.bracketL||this.type.keyword},de.parseClassElementName=function(e){this.type===b.privateId?("constructor"===this.value&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},de.parseClassMethod=function(e,t,i,n){var r=e.key;"constructor"===e.kind?(t&&this.raise(r.start,"Constructor can't be a generator"),i&&this.raise(r.start,"Constructor can't be an async method")):e.static&&we(e,"prototype")&&this.raise(r.start,"Classes may not have a static property named prototype");var s=e.value=this.parseMethod(t,i,n);return"get"===e.kind&&0!==s.params.length&&this.raiseRecoverable(s.start,"getter should have no params"),"set"===e.kind&&1!==s.params.length&&this.raiseRecoverable(s.start,"setter should have exactly one param"),"set"===e.kind&&"RestElement"===s.params[0].type&&this.raiseRecoverable(s.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},de.parseClassField=function(e){return we(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&we(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(b.eq)?(this.enterScope(Y|$),e.value=this.parseMaybeAssign(),this.exitScope()):e.value=null,this.semicolon(),this.finishNode(e,"PropertyDefinition")},de.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(Q|$);this.type!==b.braceR;){var i=this.parseStatement(null);e.body.push(i)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},de.parseClassId=function(e,t){this.type===b.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,re,!1)):(!0===t&&this.unexpected(),e.id=null)},de.parseClassSuper=function(e){e.superClass=this.eat(b._extends)?this.parseExprSubscripts(null,!1):null},de.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},de.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,i=e.used;if(this.options.checkPrivateFields)for(var n=this.privateNameStack.length,r=0===n?null:this.privateNameStack[n-1],s=0;s<i.length;++s){var a=i[s];T(t,a.name)||(r?r.used.push(a):this.raiseRecoverable(a.start,"Private field '#"+a.name+"' must be declared in an enclosing class"))}},de.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==b.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")},de.parseExport=function(e,t){if(this.next(),this.eat(b.star))return this.parseExportAllDeclaration(e,t);if(this.eat(b._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[]);else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==b.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause());else{for(var i=0,n=e.specifiers;i<n.length;i+=1){var r=n[i];this.checkUnreserved(r.local),this.checkLocalExport(r.local),"Literal"===r.local.type&&this.raise(r.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[])}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},de.parseExportDeclaration=function(e){return this.parseStatement(null)},de.parseExportDefaultDeclaration=function(){var e;if(this.type===b._function||(e=this.isAsyncFunction())){var t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,xe|ve,!1,e)}if(this.type===b._class){var i=this.startNode();return this.parseClass(i,"nullableID")}var n=this.parseMaybeAssign();return this.semicolon(),n},de.checkExport=function(e,t,i){e&&("string"!=typeof t&&(t="Identifier"===t.type?t.name:t.value),T(e,t)&&this.raiseRecoverable(i,"Duplicate export '"+t+"'"),e[t]=!0)},de.checkPatternExport=function(e,t){var i=t.type;if("Identifier"===i)this.checkExport(e,t,t.start);else if("ObjectPattern"===i)for(var n=0,r=t.properties;n<r.length;n+=1){var s=r[n];this.checkPatternExport(e,s)}else if("ArrayPattern"===i)for(var a=0,o=t.elements;a<o.length;a+=1){var l=o[a];l&&this.checkPatternExport(e,l)}else"Property"===i?this.checkPatternExport(e,t.value):"AssignmentPattern"===i?this.checkPatternExport(e,t.left):"RestElement"===i&&this.checkPatternExport(e,t.argument)},de.checkVariableExport=function(e,t){if(e)for(var i=0,n=t;i<n.length;i+=1){var r=n[i];this.checkPatternExport(e,r.id)}},de.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},de.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")},de.parseExportSpecifiers=function(e){var t=[],i=!0;for(this.expect(b.braceL);!this.eat(b.braceR);){if(i)i=!1;else if(this.expect(b.comma),this.afterTrailingComma(b.braceR))break;t.push(this.parseExportSpecifier(e))}return t},de.parseImport=function(e){return this.next(),this.type===b.string?(e.specifiers=ge,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===b.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},de.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,re),this.finishNode(e,"ImportSpecifier")},de.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,re),this.finishNode(e,"ImportDefaultSpecifier")},de.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,re),this.finishNode(e,"ImportNamespaceSpecifier")},de.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===b.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(b.comma)))return e;if(this.type===b.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(b.braceL);!this.eat(b.braceR);){if(t)t=!1;else if(this.expect(b.comma),this.afterTrailingComma(b.braceR))break;e.push(this.parseImportSpecifier())}return e},de.parseWithClause=function(){var e=[];if(!this.eat(b._with))return e;this.expect(b.braceL);for(var t={},i=!0;!this.eat(b.braceR);){if(i)i=!1;else if(this.expect(b.comma),this.afterTrailingComma(b.braceR))break;var n=this.parseImportAttribute(),r="Identifier"===n.key.type?n.key.name:n.key.value;T(t,r)&&this.raiseRecoverable(n.key.start,"Duplicate attribute key '"+r+"'"),t[r]=!0,e.push(n)}return e},de.parseImportAttribute=function(){var e=this.startNode();return e.key=this.type===b.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved),this.expect(b.colon),this.type!==b.string&&this.unexpected(),e.value=this.parseExprAtom(),this.finishNode(e,"ImportAttribute")},de.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===b.string){var e=this.parseLiteral(this.value);return O.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)},de.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)},de.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&('"'===this.input[e.start]||"'"===this.input[e.start])};var ke=le.prototype;ke.toAssignable=function(e,t,i){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",i&&this.checkPatternErrors(i,!0);for(var n=0,r=e.properties;n<r.length;n+=1){var s=r[n];this.toAssignable(s,t),"RestElement"!==s.type||"ArrayPattern"!==s.argument.type&&"ObjectPattern"!==s.argument.type||this.raise(s.argument.start,"Unexpected token")}break;case"Property":"init"!==e.kind&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",i&&this.checkPatternErrors(i,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),"AssignmentPattern"===e.argument.type&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":"="!==e.operator&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,i);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else i&&this.checkPatternErrors(i,!0);return e},ke.toAssignableList=function(e,t){for(var i=e.length,n=0;n<i;n++){var r=e[n];r&&this.toAssignable(r,t)}if(i){var s=e[i-1];6===this.options.ecmaVersion&&t&&s&&"RestElement"===s.type&&"Identifier"!==s.argument.type&&this.unexpected(s.argument.start)}return e},ke.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},ke.parseRestBinding=function(){var e=this.startNode();return this.next(),6===this.options.ecmaVersion&&this.type!==b.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},ke.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case b.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(b.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case b.braceL:return this.parseObj(!0)}return this.parseIdent()},ke.parseBindingList=function(e,t,i,n){for(var r=[],s=!0;!this.eat(e);)if(s?s=!1:this.expect(b.comma),t&&this.type===b.comma)r.push(null);else{if(i&&this.afterTrailingComma(e))break;if(this.type===b.ellipsis){var a=this.parseRestBinding();this.parseBindingListItem(a),r.push(a),this.type===b.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}r.push(this.parseAssignableListItem(n))}return r},ke.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t},ke.parseBindingListItem=function(e){return e},ke.parseMaybeDefault=function(e,t,i){if(i=i||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(b.eq))return i;var n=this.startNodeAt(e,t);return n.left=i,n.right=this.parseMaybeAssign(),this.finishNode(n,"AssignmentPattern")},ke.checkLValSimple=function(e,t,i){void 0===t&&(t=ie);var n=t!==ie;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(n?"Binding ":"Assigning to ")+e.name+" in strict mode"),n&&(t===re&&"let"===e.name&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),i&&(T(i,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),i[e.name]=!0),t!==oe&&this.declareName(e.name,t,e.start));break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":n&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return n&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,i);default:this.raise(e.start,(n?"Binding":"Assigning to")+" rvalue")}},ke.checkLValPattern=function(e,t,i){switch(void 0===t&&(t=ie),e.type){case"ObjectPattern":for(var n=0,r=e.properties;n<r.length;n+=1){var s=r[n];this.checkLValInnerPattern(s,t,i)}break;case"ArrayPattern":for(var a=0,o=e.elements;a<o.length;a+=1){var l=o[a];l&&this.checkLValInnerPattern(l,t,i)}break;default:this.checkLValSimple(e,t,i)}},ke.checkLValInnerPattern=function(e,t,i){switch(void 0===t&&(t=ie),e.type){case"Property":this.checkLValInnerPattern(e.value,t,i);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,i);break;case"RestElement":this.checkLValPattern(e.argument,t,i);break;default:this.checkLValPattern(e,t,i)}};var Ee=function(e,t,i,n,r){this.token=e,this.isExpr=!!t,this.preserveSpace=!!i,this.override=n,this.generator=!!r},Se={b_stat:new Ee("{",!1),b_expr:new Ee("{",!0),b_tmpl:new Ee("${",!1),p_stat:new Ee("(",!1),p_expr:new Ee("(",!0),q_tmpl:new Ee("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new Ee("function",!1),f_expr:new Ee("function",!0),f_expr_gen:new Ee("function",!0,!1,null,!0),f_gen:new Ee("function",!1,!1,null,!0)},Ce=le.prototype;Ce.initialContext=function(){return[Se.b_stat]},Ce.curContext=function(){return this.context[this.context.length-1]},Ce.braceIsBlock=function(e){var t=this.curContext();return t===Se.f_expr||t===Se.f_stat||(e!==b.colon||t!==Se.b_stat&&t!==Se.b_expr?e===b._return||e===b.name&&this.exprAllowed?w.test(this.input.slice(this.lastTokEnd,this.start)):e===b._else||e===b.semi||e===b.eof||e===b.parenR||e===b.arrow||(e===b.braceL?t===Se.b_stat:e!==b._var&&e!==b._const&&e!==b.name&&!this.exprAllowed):!t.isExpr)},Ce.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},Ce.updateContext=function(e){var t,i=this.type;i.keyword&&e===b.dot?this.exprAllowed=!1:(t=i.updateContext)?t.call(this,e):this.exprAllowed=i.beforeExpr},Ce.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)},b.parenR.updateContext=b.braceR.updateContext=function(){if(1!==this.context.length){var e=this.context.pop();e===Se.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},b.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?Se.b_stat:Se.b_expr),this.exprAllowed=!0},b.dollarBraceL.updateContext=function(){this.context.push(Se.b_tmpl),this.exprAllowed=!0},b.parenL.updateContext=function(e){var t=e===b._if||e===b._for||e===b._with||e===b._while;this.context.push(t?Se.p_stat:Se.p_expr),this.exprAllowed=!0},b.incDec.updateContext=function(){},b._function.updateContext=b._class.updateContext=function(e){!e.beforeExpr||e===b._else||e===b.semi&&this.curContext()!==Se.p_stat||e===b._return&&w.test(this.input.slice(this.lastTokEnd,this.start))||(e===b.colon||e===b.braceL)&&this.curContext()===Se.b_stat?this.context.push(Se.f_stat):this.context.push(Se.f_expr),this.exprAllowed=!1},b.colon.updateContext=function(){"function"===this.curContext().token&&this.context.pop(),this.exprAllowed=!0},b.backQuote.updateContext=function(){this.curContext()===Se.q_tmpl?this.context.pop():this.context.push(Se.q_tmpl),this.exprAllowed=!1},b.star.updateContext=function(e){if(e===b._function){var t=this.context.length-1;this.context[t]===Se.f_expr?this.context[t]=Se.f_expr_gen:this.context[t]=Se.f_gen}this.exprAllowed=!0},b.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==b.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var Ae=le.prototype;function _e(e){return"Identifier"===e.type||"ParenthesizedExpression"===e.type&&_e(e.expression)}function Ne(e){return"MemberExpression"===e.type&&"PrivateIdentifier"===e.property.type||"ChainExpression"===e.type&&Ne(e.expression)||"ParenthesizedExpression"===e.type&&Ne(e.expression)}Ae.checkPropClash=function(e,t,i){if(!(this.options.ecmaVersion>=9&&"SpreadElement"===e.type||this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var n,r=e.key;switch(r.type){case"Identifier":n=r.name;break;case"Literal":n=String(r.value);break;default:return}var s=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===n&&"init"===s&&(t.proto&&(i?i.doubleProto<0&&(i.doubleProto=r.start):this.raiseRecoverable(r.start,"Redefinition of __proto__ property")),t.proto=!0);else{var a=t[n="$"+n];a?("init"===s?this.strict&&a.init||a.get||a.set:a.init||a[s])&&this.raiseRecoverable(r.start,"Redefinition of property"):a=t[n]={init:!1,get:!1,set:!1},a[s]=!0}}},Ae.parseExpression=function(e,t){var i=this.start,n=this.startLoc,r=this.parseMaybeAssign(e,t);if(this.type===b.comma){var s=this.startNodeAt(i,n);for(s.expressions=[r];this.eat(b.comma);)s.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(s,"SequenceExpression")}return r},Ae.parseMaybeAssign=function(e,t,i){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var n=!1,r=-1,s=-1,a=-1;t?(r=t.parenthesizedAssign,s=t.trailingComma,a=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new ue,n=!0);var o=this.start,l=this.startLoc;this.type!==b.parenL&&this.type!==b.name||(this.potentialArrowAt=this.start,this.potentialArrowInForAwait="await"===e);var c=this.parseMaybeConditional(e,t);if(i&&(c=i.call(this,c,o,l)),this.type.isAssign){var h=this.startNodeAt(o,l);return h.operator=this.value,this.type===b.eq&&(c=this.toAssignable(c,!1,t)),n||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=c.start&&(t.shorthandAssign=-1),this.type===b.eq?this.checkLValPattern(c):this.checkLValSimple(c),h.left=c,this.next(),h.right=this.parseMaybeAssign(e),a>-1&&(t.doubleProto=a),this.finishNode(h,"AssignmentExpression")}return n&&this.checkExpressionErrors(t,!0),r>-1&&(t.parenthesizedAssign=r),s>-1&&(t.trailingComma=s),c},Ae.parseMaybeConditional=function(e,t){var i=this.start,n=this.startLoc,r=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return r;if(this.eat(b.question)){var s=this.startNodeAt(i,n);return s.test=r,s.consequent=this.parseMaybeAssign(),this.expect(b.colon),s.alternate=this.parseMaybeAssign(e),this.finishNode(s,"ConditionalExpression")}return r},Ae.parseExprOps=function(e,t){var i=this.start,n=this.startLoc,r=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||r.start===i&&"ArrowFunctionExpression"===r.type?r:this.parseExprOp(r,i,n,-1,e)},Ae.parseExprOp=function(e,t,i,n,r){var s=this.type.binop;if(null!=s&&(!r||this.type!==b._in)&&s>n){var a=this.type===b.logicalOR||this.type===b.logicalAND,o=this.type===b.coalesce;o&&(s=b.logicalAND.binop);var l=this.value;this.next();var c=this.start,h=this.startLoc,p=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,r),c,h,s,r),u=this.buildBinary(t,i,e,p,l,a||o);return(a&&this.type===b.coalesce||o&&(this.type===b.logicalOR||this.type===b.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(u,t,i,n,r)}return e},Ae.buildBinary=function(e,t,i,n,r,s){"PrivateIdentifier"===n.type&&this.raise(n.start,"Private identifier can only be left side of binary expression");var a=this.startNodeAt(e,t);return a.left=i,a.operator=r,a.right=n,this.finishNode(a,s?"LogicalExpression":"BinaryExpression")},Ae.parseMaybeUnary=function(e,t,i,n){var r,s=this.start,a=this.startLoc;if(this.isContextual("await")&&this.canAwait)r=this.parseAwait(n),t=!0;else if(this.type.prefix){var o=this.startNode(),l=this.type===b.incDec;o.operator=this.value,o.prefix=!0,this.next(),o.argument=this.parseMaybeUnary(null,!0,l,n),this.checkExpressionErrors(e,!0),l?this.checkLValSimple(o.argument):this.strict&&"delete"===o.operator&&_e(o.argument)?this.raiseRecoverable(o.start,"Deleting local variable in strict mode"):"delete"===o.operator&&Ne(o.argument)?this.raiseRecoverable(o.start,"Private fields can not be deleted"):t=!0,r=this.finishNode(o,l?"UpdateExpression":"UnaryExpression")}else if(t||this.type!==b.privateId){if(r=this.parseExprSubscripts(e,n),this.checkExpressionErrors(e))return r;for(;this.type.postfix&&!this.canInsertSemicolon();){var c=this.startNodeAt(s,a);c.operator=this.value,c.prefix=!1,c.argument=r,this.checkLValSimple(r),this.next(),r=this.finishNode(c,"UpdateExpression")}}else(n||0===this.privateNameStack.length)&&this.options.checkPrivateFields&&this.unexpected(),r=this.parsePrivateIdent(),this.type!==b._in&&this.unexpected();return i||!this.eat(b.starstar)?r:t?void this.unexpected(this.lastTokStart):this.buildBinary(s,a,r,this.parseMaybeUnary(null,!1,!1,n),"**",!1)},Ae.parseExprSubscripts=function(e,t){var i=this.start,n=this.startLoc,r=this.parseExprAtom(e,t);if("ArrowFunctionExpression"===r.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd))return r;var s=this.parseSubscripts(r,i,n,!1,t);return e&&"MemberExpression"===s.type&&(e.parenthesizedAssign>=s.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=s.start&&(e.parenthesizedBind=-1),e.trailingComma>=s.start&&(e.trailingComma=-1)),s},Ae.parseSubscripts=function(e,t,i,n,r){for(var s=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,a=!1;;){var o=this.parseSubscript(e,t,i,n,s,a,r);if(o.optional&&(a=!0),o===e||"ArrowFunctionExpression"===o.type){if(a){var l=this.startNodeAt(t,i);l.expression=o,o=this.finishNode(l,"ChainExpression")}return o}e=o}},Ae.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(b.arrow)},Ae.parseSubscriptAsyncArrow=function(e,t,i,n){return this.parseArrowExpression(this.startNodeAt(e,t),i,!0,n)},Ae.parseSubscript=function(e,t,i,n,r,s,a){var o=this.options.ecmaVersion>=11,l=o&&this.eat(b.questionDot);n&&l&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var c=this.eat(b.bracketL);if(c||l&&this.type!==b.parenL&&this.type!==b.backQuote||this.eat(b.dot)){var h=this.startNodeAt(t,i);h.object=e,c?(h.property=this.parseExpression(),this.expect(b.bracketR)):this.type===b.privateId&&"Super"!==e.type?h.property=this.parsePrivateIdent():h.property=this.parseIdent("never"!==this.options.allowReserved),h.computed=!!c,o&&(h.optional=l),e=this.finishNode(h,"MemberExpression")}else if(!n&&this.eat(b.parenL)){var p=new ue,u=this.yieldPos,d=this.awaitPos,f=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var m=this.parseExprList(b.parenR,this.options.ecmaVersion>=8,!1,p);if(r&&!l&&this.shouldParseAsyncArrow())return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=u,this.awaitPos=d,this.awaitIdentPos=f,this.parseSubscriptAsyncArrow(t,i,m,a);this.checkExpressionErrors(p,!0),this.yieldPos=u||this.yieldPos,this.awaitPos=d||this.awaitPos,this.awaitIdentPos=f||this.awaitIdentPos;var g=this.startNodeAt(t,i);g.callee=e,g.arguments=m,o&&(g.optional=l),e=this.finishNode(g,"CallExpression")}else if(this.type===b.backQuote){(l||s)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var x=this.startNodeAt(t,i);x.tag=e,x.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(x,"TaggedTemplateExpression")}return e},Ae.parseExprAtom=function(e,t,i){this.type===b.slash&&this.readRegexp();var n,r=this.potentialArrowAt===this.start;switch(this.type){case b._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),n=this.startNode(),this.next(),this.type!==b.parenL||this.allowDirectSuper||this.raise(n.start,"super() call outside constructor of a subclass"),this.type!==b.dot&&this.type!==b.bracketL&&this.type!==b.parenL&&this.unexpected(),this.finishNode(n,"Super");case b._this:return n=this.startNode(),this.next(),this.finishNode(n,"ThisExpression");case b.name:var s=this.start,a=this.startLoc,o=this.containsEsc,l=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!o&&"async"===l.name&&!this.canInsertSemicolon()&&this.eat(b._function))return this.overrideContext(Se.f_expr),this.parseFunction(this.startNodeAt(s,a),0,!1,!0,t);if(r&&!this.canInsertSemicolon()){if(this.eat(b.arrow))return this.parseArrowExpression(this.startNodeAt(s,a),[l],!1,t);if(this.options.ecmaVersion>=8&&"async"===l.name&&this.type===b.name&&!o&&(!this.potentialArrowInForAwait||"of"!==this.value||this.containsEsc))return l=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(b.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(s,a),[l],!0,t)}return l;case b.regexp:var c=this.value;return(n=this.parseLiteral(c.value)).regex={pattern:c.pattern,flags:c.flags},n;case b.num:case b.string:return this.parseLiteral(this.value);case b._null:case b._true:case b._false:return(n=this.startNode()).value=this.type===b._null?null:this.type===b._true,n.raw=this.type.keyword,this.next(),this.finishNode(n,"Literal");case b.parenL:var h=this.start,p=this.parseParenAndDistinguishExpression(r,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(p)&&(e.parenthesizedAssign=h),e.parenthesizedBind<0&&(e.parenthesizedBind=h)),p;case b.bracketL:return n=this.startNode(),this.next(),n.elements=this.parseExprList(b.bracketR,!0,!0,e),this.finishNode(n,"ArrayExpression");case b.braceL:return this.overrideContext(Se.b_expr),this.parseObj(!1,e);case b._function:return n=this.startNode(),this.next(),this.parseFunction(n,0);case b._class:return this.parseClass(this.startNode(),!1);case b._new:return this.parseNew();case b.backQuote:return this.parseTemplate();case b._import:return this.options.ecmaVersion>=11?this.parseExprImport(i):this.unexpected();default:return this.parseExprAtomDefault()}},Ae.parseExprAtomDefault=function(){this.unexpected()},Ae.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===b.parenL&&!e)return this.parseDynamicImport(t);if(this.type===b.dot){var i=this.startNodeAt(t.start,t.loc&&t.loc.start);return i.name="import",t.meta=this.finishNode(i,"Identifier"),this.parseImportMeta(t)}this.unexpected()},Ae.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(b.parenR)?e.options=null:(this.expect(b.comma),this.afterTrailingComma(b.parenR)?e.options=null:(e.options=this.parseMaybeAssign(),this.eat(b.parenR)||(this.expect(b.comma),this.afterTrailingComma(b.parenR)||this.unexpected())));else if(!this.eat(b.parenR)){var t=this.start;this.eat(b.comma)&&this.eat(b.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},Ae.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),"meta"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),"module"===this.options.sourceType||this.options.allowImportExportEverywhere||this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},Ae.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),110===t.raw.charCodeAt(t.raw.length-1)&&(t.bigint=null!=t.value?t.value.toString():t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},Ae.parseParenExpression=function(){this.expect(b.parenL);var e=this.parseExpression();return this.expect(b.parenR),e},Ae.shouldParseArrow=function(e){return!this.canInsertSemicolon()},Ae.parseParenAndDistinguishExpression=function(e,t){var i,n=this.start,r=this.startLoc,s=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a,o=this.start,l=this.startLoc,c=[],h=!0,p=!1,u=new ue,d=this.yieldPos,f=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==b.parenR;){if(h?h=!1:this.expect(b.comma),s&&this.afterTrailingComma(b.parenR,!0)){p=!0;break}if(this.type===b.ellipsis){a=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===b.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}c.push(this.parseMaybeAssign(!1,u,this.parseParenItem))}var m=this.lastTokEnd,g=this.lastTokEndLoc;if(this.expect(b.parenR),e&&this.shouldParseArrow(c)&&this.eat(b.arrow))return this.checkPatternErrors(u,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=d,this.awaitPos=f,this.parseParenArrowList(n,r,c,t);c.length&&!p||this.unexpected(this.lastTokStart),a&&this.unexpected(a),this.checkExpressionErrors(u,!0),this.yieldPos=d||this.yieldPos,this.awaitPos=f||this.awaitPos,c.length>1?((i=this.startNodeAt(o,l)).expressions=c,this.finishNodeAt(i,"SequenceExpression",m,g)):i=c[0]}else i=this.parseParenExpression();if(this.options.preserveParens){var x=this.startNodeAt(n,r);return x.expression=i,this.finishNode(x,"ParenthesizedExpression")}return i},Ae.parseParenItem=function(e){return e},Ae.parseParenArrowList=function(e,t,i,n){return this.parseArrowExpression(this.startNodeAt(e,t),i,!1,n)};var Ie=[];Ae.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===b.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name="new",e.meta=this.finishNode(t,"Identifier"),this.next();var i=this.containsEsc;return e.property=this.parseIdent(!0),"target"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),i&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var n=this.start,r=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),n,r,!0,!1),this.eat(b.parenL)?e.arguments=this.parseExprList(b.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Ie,this.finishNode(e,"NewExpression")},Ae.parseTemplateElement=function(e){var t=e.isTagged,i=this.startNode();return this.type===b.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),i.value={raw:this.value.replace(/\r\n?/g,"\n"),cooked:null}):i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),i.tail=this.type===b.backQuote,this.finishNode(i,"TemplateElement")},Ae.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var i=this.startNode();this.next(),i.expressions=[];var n=this.parseTemplateElement({isTagged:t});for(i.quasis=[n];!n.tail;)this.type===b.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(b.dollarBraceL),i.expressions.push(this.parseExpression()),this.expect(b.braceR),i.quasis.push(n=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(i,"TemplateLiteral")},Ae.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===b.name||this.type===b.num||this.type===b.string||this.type===b.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===b.star)&&!w.test(this.input.slice(this.lastTokEnd,this.start))},Ae.parseObj=function(e,t){var i=this.startNode(),n=!0,r={};for(i.properties=[],this.next();!this.eat(b.braceR);){if(n)n=!1;else if(this.expect(b.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(b.braceR))break;var s=this.parseProperty(e,t);e||this.checkPropClash(s,r,t),i.properties.push(s)}return this.finishNode(i,e?"ObjectPattern":"ObjectExpression")},Ae.parseProperty=function(e,t){var i,n,r,s,a=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(b.ellipsis))return e?(a.argument=this.parseIdent(!1),this.type===b.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(a,"RestElement")):(a.argument=this.parseMaybeAssign(!1,t),this.type===b.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(a,"SpreadElement"));this.options.ecmaVersion>=6&&(a.method=!1,a.shorthand=!1,(e||t)&&(r=this.start,s=this.startLoc),e||(i=this.eat(b.star)));var o=this.containsEsc;return this.parsePropertyName(a),!e&&!o&&this.options.ecmaVersion>=8&&!i&&this.isAsyncProp(a)?(n=!0,i=this.options.ecmaVersion>=9&&this.eat(b.star),this.parsePropertyName(a)):n=!1,this.parsePropertyValue(a,e,i,n,r,s,t,o),this.finishNode(a,"Property")},Ae.parseGetterSetter=function(e){var t=e.key.name;this.parsePropertyName(e),e.value=this.parseMethod(!1),e.kind=t;var i="get"===e.kind?0:1;if(e.value.params.length!==i){var n=e.value.start;"get"===e.kind?this.raiseRecoverable(n,"getter should have no params"):this.raiseRecoverable(n,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")},Ae.parsePropertyValue=function(e,t,i,n,r,s,a,o){(i||n)&&this.type===b.colon&&this.unexpected(),this.eat(b.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),e.kind="init"):this.options.ecmaVersion>=6&&this.type===b.parenL?(t&&this.unexpected(),e.method=!0,e.value=this.parseMethod(i,n),e.kind="init"):t||o||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===b.comma||this.type===b.braceR||this.type===b.eq?this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?((i||n)&&this.unexpected(),this.checkUnreserved(e.key),"await"!==e.key.name||this.awaitIdentPos||(this.awaitIdentPos=r),t?e.value=this.parseMaybeDefault(r,s,this.copyNode(e.key)):this.type===b.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),e.value=this.parseMaybeDefault(r,s,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.kind="init",e.shorthand=!0):this.unexpected():((i||n)&&this.unexpected(),this.parseGetterSetter(e))},Ae.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(b.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(b.bracketR),e.key;e.computed=!1}return e.key=this.type===b.num||this.type===b.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},Ae.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},Ae.parseMethod=function(e,t,i){var n=this.startNode(),r=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(te(t,n.generator)|$|(i?K:0)),this.expect(b.parenL),n.params=this.parseBindingList(b.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1,!0,!1),this.yieldPos=r,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(n,"FunctionExpression")},Ae.parseArrowExpression=function(e,t,i,n){var r=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.enterScope(te(i,!1)|H),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!i),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,n),this.yieldPos=r,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(e,"ArrowFunctionExpression")},Ae.parseFunctionBody=function(e,t,i,n){var r=t&&this.type!==b.braceL,s=this.strict,a=!1;if(r)e.body=this.parseMaybeAssign(n),e.expression=!0,this.checkParams(e,!1);else{var o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);s&&!o||(a=this.strictDirective(this.end))&&o&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var l=this.labels;this.labels=[],a&&(this.strict=!0),this.checkParams(e,!s&&!a&&!t&&!i&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,oe),e.body=this.parseBlock(!1,void 0,a&&!s),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=l}this.exitScope()},Ae.isSimpleParamList=function(e){for(var t=0,i=e;t<i.length;t+=1)if("Identifier"!==i[t].type)return!1;return!0},Ae.checkParams=function(e,t){for(var i=Object.create(null),n=0,r=e.params;n<r.length;n+=1){var s=r[n];this.checkLValInnerPattern(s,ne,t?null:i)}},Ae.parseExprList=function(e,t,i,n){for(var r=[],s=!0;!this.eat(e);){if(s)s=!1;else if(this.expect(b.comma),t&&this.afterTrailingComma(e))break;var a=void 0;i&&this.type===b.comma?a=null:this.type===b.ellipsis?(a=this.parseSpread(n),n&&this.type===b.comma&&n.trailingComma<0&&(n.trailingComma=this.start)):a=this.parseMaybeAssign(!1,n),r.push(a)}return r},Ae.checkUnreserved=function(e){var t=e.start,i=e.end,n=e.name;this.inGenerator&&"yield"===n&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===n&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().flags&ee||"arguments"!==n||this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),!this.inClassStaticBlock||"arguments"!==n&&"await"!==n||this.raise(t,"Cannot use "+n+" in class static initialization block"),this.keywords.test(n)&&this.raise(t,"Unexpected keyword '"+n+"'"),this.options.ecmaVersion<6&&-1!==this.input.slice(t,i).indexOf("\\")||(this.strict?this.reservedWordsStrict:this.reservedWords).test(n)&&(this.inAsync||"await"!==n||this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+n+"' is reserved"))},Ae.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),e||(this.checkUnreserved(t),"await"!==t.name||this.awaitIdentPos||(this.awaitIdentPos=t.start)),t},Ae.parseIdentNode=function(){var e=this.startNode();return this.type===b.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,"class"!==e.name&&"function"!==e.name||this.lastTokEnd===this.lastTokStart+1&&46===this.input.charCodeAt(this.lastTokStart)||this.context.pop(),this.type=b.name):this.unexpected(),e},Ae.parsePrivateIdent=function(){var e=this.startNode();return this.type===b.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(0===this.privateNameStack.length?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e},Ae.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===b.semi||this.canInsertSemicolon()||this.type!==b.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(b.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},Ae.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var Te=le.prototype;Te.raise=function(e,t){var i=M(this.input,e);t+=" ("+i.line+":"+i.column+")",this.sourceFile&&(t+=" in "+this.sourceFile);var n=new SyntaxError(t);throw n.pos=e,n.loc=i,n.raisedAt=this.pos,n},Te.raiseRecoverable=Te.raise,Te.curPosition=function(){if(this.options.locations)return new j(this.curLine,this.pos-this.lineStart)};var Pe=le.prototype,Le=function(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[]};Pe.enterScope=function(e){this.scopeStack.push(new Le(e))},Pe.exitScope=function(){this.scopeStack.pop()},Pe.treatFunctionsAsVarInScope=function(e){return e.flags&q||!this.inModule&&e.flags&J},Pe.declareName=function(e,t,i){var n=!1;if(t===re){var r=this.currentScope();n=r.lexical.indexOf(e)>-1||r.functions.indexOf(e)>-1||r.var.indexOf(e)>-1,r.lexical.push(e),this.inModule&&r.flags&J&&delete this.undefinedExports[e]}else if(t===ae)this.currentScope().lexical.push(e);else if(t===se){var s=this.currentScope();n=this.treatFunctionsAsVar?s.lexical.indexOf(e)>-1:s.lexical.indexOf(e)>-1||s.var.indexOf(e)>-1,s.functions.push(e)}else for(var a=this.scopeStack.length-1;a>=0;--a){var o=this.scopeStack[a];if(o.lexical.indexOf(e)>-1&&!(o.flags&W&&o.lexical[0]===e)||!this.treatFunctionsAsVarInScope(o)&&o.functions.indexOf(e)>-1){n=!0;break}if(o.var.push(e),this.inModule&&o.flags&J&&delete this.undefinedExports[e],o.flags&ee)break}n&&this.raiseRecoverable(i,"Identifier '"+e+"' has already been declared")},Pe.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},Pe.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Pe.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(ee|Y|Q))return t}},Pe.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(ee|Y|Q)&&!(t.flags&H))return t}};var Ve=function(e,t,i){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new D(e,i)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},Re=le.prototype;function Oe(e,t,i,n){return e.type=t,e.end=i,this.options.locations&&(e.loc.end=n),this.options.ranges&&(e.range[1]=i),e}Re.startNode=function(){return new Ve(this,this.start,this.startLoc)},Re.startNodeAt=function(e,t){return new Ve(this,e,t)},Re.finishNode=function(e,t){return Oe.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},Re.finishNodeAt=function(e,t,i,n){return Oe.call(this,e,t,i,n)},Re.copyNode=function(e){var t=new Ve(this,e.start,this.startLoc);for(var i in e)t[i]=e[i];return t};var je="Berf Beria_Erfe Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sidetic Sidt Sunu Sunuwar Tai_Yo Tayo Todhri Todr Tolong_Siki Tols Tulu_Tigalari Tutg Unknown Zzzz",De="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",Me=De+" Extended_Pictographic",Fe=Me,Be=Fe+" EBase EComp EMod EPres ExtPict",Ue=Be,ze=Ue,Je={9:De,10:Me,11:Fe,12:Be,13:Ue,14:ze},qe="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",Ge={9:"",10:"",11:"",12:"",13:"",14:qe},Xe="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",He="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",We=He+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",$e=We+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Ke=$e+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",Qe=Ke+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",Ye=Qe+" "+je,Ze={9:He,10:We,11:$e,12:Ke,13:Qe,14:Ye},et={};function tt(e){var t=et[e]={binary:V(Je[e]+" "+Xe),binaryOfStrings:V(Ge[e]),nonBinary:{General_Category:V(Xe),Script:V(Ze[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(var it=0,nt=[9,10,11,12,13,14];it<nt.length;it+=1)tt(nt[it]);var rt=le.prototype,st=function(e,t){this.parent=e,this.base=t||this};st.prototype.separatedFrom=function(e){for(var t=this;t;t=t.parent)for(var i=e;i;i=i.parent)if(t.base===i.base&&t!==i)return!0;return!1},st.prototype.sibling=function(){return new st(this.parent,this.base)};var at=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"")+(e.options.ecmaVersion>=13?"d":"")+(e.options.ecmaVersion>=15?"v":""),this.unicodeProperties=et[e.options.ecmaVersion>=14?14:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};function ot(e){for(var t in e)return!0;return!1}function lt(e){return 105===e||109===e||115===e}function ct(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function ht(e){return u(e,!0)||36===e||95===e}function pt(e){return d(e,!0)||36===e||95===e||8204===e||8205===e}function ut(e){return e>=65&&e<=90||e>=97&&e<=122}function dt(e){return e>=0&&e<=1114111}at.prototype.reset=function(e,t,i){var n=-1!==i.indexOf("v"),r=-1!==i.indexOf("u");this.start=0|e,this.source=t+"",this.flags=i,n&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=r&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=r&&this.parser.options.ecmaVersion>=9)},at.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},at.prototype.at=function(e,t){void 0===t&&(t=!1);var i=this.source,n=i.length;if(e>=n)return-1;var r=i.charCodeAt(e);if(!t&&!this.switchU||r<=55295||r>=57344||e+1>=n)return r;var s=i.charCodeAt(e+1);return s>=56320&&s<=57343?(r<<10)+s-56613888:r},at.prototype.nextIndex=function(e,t){void 0===t&&(t=!1);var i=this.source,n=i.length;if(e>=n)return n;var r,s=i.charCodeAt(e);return!t&&!this.switchU||s<=55295||s>=57344||e+1>=n||(r=i.charCodeAt(e+1))<56320||r>57343?e+1:e+2},at.prototype.current=function(e){return void 0===e&&(e=!1),this.at(this.pos,e)},at.prototype.lookahead=function(e){return void 0===e&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},at.prototype.advance=function(e){void 0===e&&(e=!1),this.pos=this.nextIndex(this.pos,e)},at.prototype.eat=function(e,t){return void 0===t&&(t=!1),this.current(t)===e&&(this.advance(t),!0)},at.prototype.eatChars=function(e,t){void 0===t&&(t=!1);for(var i=this.pos,n=0,r=e;n<r.length;n+=1){var s=r[n],a=this.at(i,t);if(-1===a||a!==s)return!1;i=this.nextIndex(i,t)}return this.pos=i,!0},rt.validateRegExpFlags=function(e){for(var t=e.validFlags,i=e.flags,n=!1,r=!1,s=0;s<i.length;s++){var a=i.charAt(s);-1===t.indexOf(a)&&this.raise(e.start,"Invalid regular expression flag"),i.indexOf(a,s+1)>-1&&this.raise(e.start,"Duplicate regular expression flag"),"u"===a&&(n=!0),"v"===a&&(r=!0)}this.options.ecmaVersion>=15&&n&&r&&this.raise(e.start,"Invalid regular expression flag")},rt.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&ot(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))},rt.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames=Object.create(null),e.backReferenceNames.length=0,e.branchID=null,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,i=e.backReferenceNames;t<i.length;t+=1){var n=i[t];e.groupNames[n]||e.raise("Invalid named capture referenced")}},rt.regexp_disjunction=function(e){var t=this.options.ecmaVersion>=16;for(t&&(e.branchID=new st(e.branchID,null)),this.regexp_alternative(e);e.eat(124);)t&&(e.branchID=e.branchID.sibling()),this.regexp_alternative(e);t&&(e.branchID=e.branchID.parent),this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},rt.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},rt.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):!!(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))&&(this.regexp_eatQuantifier(e),!0)},rt.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var i=!1;if(this.options.ecmaVersion>=9&&(i=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!i,!0}return e.pos=t,!1},rt.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},rt.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},rt.regexp_eatBracedQuantifier=function(e,t){var i=e.pos;if(e.eat(123)){var n=0,r=-1;if(this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue),e.eat(125)))return-1!==r&&r<n&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=i}return!1},rt.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)},rt.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},rt.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)){if(this.options.ecmaVersion>=16){var i=this.regexp_eatModifiers(e),n=e.eat(45);if(i||n){for(var r=0;r<i.length;r++){var s=i.charAt(r);i.indexOf(s,r+1)>-1&&e.raise("Duplicate regular expression modifiers")}if(n){var a=this.regexp_eatModifiers(e);i||a||58!==e.current()||e.raise("Invalid regular expression modifiers");for(var o=0;o<a.length;o++){var l=a.charAt(o);(a.indexOf(l,o+1)>-1||i.indexOf(l)>-1)&&e.raise("Duplicate regular expression modifiers")}}}}if(e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}}e.pos=t}return!1},rt.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},rt.regexp_eatModifiers=function(e){for(var t="",i=0;-1!==(i=e.current())&<(i);)t+=R(i),e.advance();return t},rt.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},rt.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},rt.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!ct(t)&&(e.lastIntValue=t,e.advance(),!0)},rt.regexp_eatPatternCharacters=function(e){for(var t=e.pos,i=0;-1!==(i=e.current())&&!ct(i);)e.advance();return e.pos!==t},rt.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return!(-1===t||36===t||t>=40&&t<=43||46===t||63===t||91===t||94===t||124===t||(e.advance(),0))},rt.regexp_groupSpecifier=function(e){if(e.eat(63)){this.regexp_eatGroupName(e)||e.raise("Invalid group");var t=this.options.ecmaVersion>=16,i=e.groupNames[e.lastStringValue];if(i)if(t)for(var n=0,r=i;n<r.length;n+=1)r[n].separatedFrom(e.branchID)||e.raise("Duplicate capture group name");else e.raise("Duplicate capture group name");t?(i||(e.groupNames[e.lastStringValue]=[])).push(e.branchID):e.groupNames[e.lastStringValue]=!0}},rt.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},rt.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=R(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=R(e.lastIntValue);return!0}return!1},rt.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,i=this.options.ecmaVersion>=11,n=e.current(i);return e.advance(i),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)&&(n=e.lastIntValue),ht(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},rt.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,i=this.options.ecmaVersion>=11,n=e.current(i);return e.advance(i),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)&&(n=e.lastIntValue),pt(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},rt.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},rt.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var i=e.lastIntValue;if(e.switchU)return i>e.maxBackReference&&(e.maxBackReference=i),!0;if(i<=e.numCapturingParens)return!0;e.pos=t}return!1},rt.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},rt.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},rt.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},rt.regexp_eatZero=function(e){return 48===e.current()&&!Et(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},rt.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},rt.regexp_eatControlLetter=function(e){var t=e.current();return!!ut(t)&&(e.lastIntValue=t%32,e.advance(),!0)},rt.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){void 0===t&&(t=!1);var i=e.pos,n=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var r=e.lastIntValue;if(n&&r>=55296&&r<=56319){var s=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343)return e.lastIntValue=1024*(r-55296)+(a-56320)+65536,!0}e.pos=s,e.lastIntValue=r}return!0}if(n&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&dt(e.lastIntValue))return!0;n&&e.raise("Invalid unicode escape"),e.pos=i}return!1},rt.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return!(99===t||e.switchN&&107===t||(e.lastIntValue=t,e.advance(),0))},rt.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48),e.advance()}while((t=e.current())>=48&&t<=57);return!0}return!1};var ft=0,mt=1,gt=2;function xt(e){return 100===e||68===e||115===e||83===e||119===e||87===e}function yt(e){return ut(e)||95===e}function vt(e){return yt(e)||Et(e)}function bt(e){return 33===e||e>=35&&e<=38||e>=42&&e<=44||46===e||e>=58&&e<=64||94===e||96===e||126===e}function wt(e){return 40===e||41===e||45===e||47===e||e>=91&&e<=93||e>=123&&e<=125}function kt(e){return 33===e||35===e||37===e||38===e||44===e||45===e||e>=58&&e<=62||64===e||96===e||126===e}function Et(e){return e>=48&&e<=57}function St(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Ct(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e-48}function At(e){return e>=48&&e<=55}rt.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(xt(t))return e.lastIntValue=-1,e.advance(),mt;var i=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((i=80===t)||112===t)){var n;if(e.lastIntValue=-1,e.advance(),e.eat(123)&&(n=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return i&&n===gt&&e.raise("Invalid property name"),n;e.raise("Invalid property name")}return ft},rt.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var i=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,i,n),mt}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,r)}return ft},rt.regexp_validateUnicodePropertyNameAndValue=function(e,t,i){T(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(i)||e.raise("Invalid property value")},rt.regexp_validateUnicodePropertyNameOrValue=function(e,t){return e.unicodeProperties.binary.test(t)?mt:e.switchV&&e.unicodeProperties.binaryOfStrings.test(t)?gt:void e.raise("Invalid property name")},rt.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";yt(t=e.current());)e.lastStringValue+=R(t),e.advance();return""!==e.lastStringValue},rt.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";vt(t=e.current());)e.lastStringValue+=R(t),e.advance();return""!==e.lastStringValue},rt.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},rt.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),i=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&i===gt&&e.raise("Negated character class may contain strings"),!0}return!1},rt.regexp_classContents=function(e){return 93===e.current()?mt:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),mt)},rt.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var i=e.lastIntValue;!e.switchU||-1!==t&&-1!==i||e.raise("Invalid character class"),-1!==t&&-1!==i&&t>i&&e.raise("Range out of order in character class")}}},rt.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var i=e.current();(99===i||At(i))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var n=e.current();return 93!==n&&(e.lastIntValue=n,e.advance(),!0)},rt.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},rt.regexp_classSetExpression=function(e){var t,i=mt;if(this.regexp_eatClassSetRange(e));else if(t=this.regexp_eatClassSetOperand(e)){t===gt&&(i=gt);for(var n=e.pos;e.eatChars([38,38]);)38!==e.current()&&(t=this.regexp_eatClassSetOperand(e))?t!==gt&&(i=mt):e.raise("Invalid character in character class");if(n!==e.pos)return i;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(n!==e.pos)return i}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(!(t=this.regexp_eatClassSetOperand(e)))return i;t===gt&&(i=gt)}},rt.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var i=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var n=e.lastIntValue;return-1!==i&&-1!==n&&i>n&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1},rt.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?mt:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)},rt.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var i=e.eat(94),n=this.regexp_classContents(e);if(e.eat(93))return i&&n===gt&&e.raise("Negated character class may contain strings"),n;e.pos=t}if(e.eat(92)){var r=this.regexp_eatCharacterClassEscape(e);if(r)return r;e.pos=t}return null},rt.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var i=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return i}else e.raise("Invalid escape");e.pos=t}return null},rt.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)this.regexp_classString(e)===gt&&(t=gt);return t},rt.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return 1===t?mt:gt},rt.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return!(!this.regexp_eatCharacterEscape(e)&&!this.regexp_eatClassSetReservedPunctuator(e)&&(e.eat(98)?(e.lastIntValue=8,0):(e.pos=t,1)));var i=e.current();return!(i<0||i===e.lookahead()&&bt(i)||wt(i)||(e.advance(),e.lastIntValue=i,0))},rt.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return!!kt(t)&&(e.lastIntValue=t,e.advance(),!0)},rt.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!Et(t)&&95!==t||(e.lastIntValue=t%32,e.advance(),0))},rt.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},rt.regexp_eatDecimalDigits=function(e){var t=e.pos,i=0;for(e.lastIntValue=0;Et(i=e.current());)e.lastIntValue=10*e.lastIntValue+(i-48),e.advance();return e.pos!==t},rt.regexp_eatHexDigits=function(e){var t=e.pos,i=0;for(e.lastIntValue=0;St(i=e.current());)e.lastIntValue=16*e.lastIntValue+Ct(i),e.advance();return e.pos!==t},rt.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var i=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*i+e.lastIntValue:e.lastIntValue=8*t+i}else e.lastIntValue=t;return!0}return!1},rt.regexp_eatOctalDigit=function(e){var t=e.current();return At(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},rt.regexp_eatFixedHexDigits=function(e,t){var i=e.pos;e.lastIntValue=0;for(var n=0;n<t;++n){var r=e.current();if(!St(r))return e.pos=i,!1;e.lastIntValue=16*e.lastIntValue+Ct(r),e.advance()}return!0};var _t=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new D(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},Nt=le.prototype;function It(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function Tt(e){return"function"!=typeof BigInt?null:BigInt(e.replace(/_/g,""))}Nt.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new _t(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Nt.getToken=function(){return this.next(),new _t(this)},"undefined"!=typeof Symbol&&(Nt[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===b.eof,value:t}}}}),Nt.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(b.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},Nt.readToken=function(e){return u(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},Nt.fullCharCodeAt=function(e){var t=this.input.charCodeAt(e);if(t<=55295||t>=56320)return t;var i=this.input.charCodeAt(e+1);return i<=56319||i>=57344?t:(t<<10)+i-56613888},Nt.fullCharCodeAtPos=function(){return this.fullCharCodeAt(this.pos)},Nt.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,i=this.input.indexOf("*/",this.pos+=2);if(-1===i&&this.raise(this.pos-2,"Unterminated comment"),this.pos=i+2,this.options.locations)for(var n=void 0,r=t;(n=S(this.input,r,this.pos))>-1;)++this.curLine,r=this.lineStart=n;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,i),t,this.pos,e,this.curPosition())},Nt.skipLineComment=function(e){for(var t=this.pos,i=this.options.onComment&&this.curPosition(),n=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!E(n);)n=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,i,this.curPosition())},Nt.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:10===this.input.charCodeAt(this.pos+1)&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(!(e>8&&e<14||e>=5760&&C.test(String.fromCharCode(e))))break e;++this.pos}}},Nt.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var i=this.type;this.type=e,this.value=t,this.updateContext(i)},Nt.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(b.ellipsis)):(++this.pos,this.finishToken(b.dot))},Nt.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(b.assign,2):this.finishOp(b.slash,1)},Nt.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),i=1,n=42===e?b.star:b.modulo;return this.options.ecmaVersion>=7&&42===e&&42===t&&(++i,n=b.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(b.assign,i+1):this.finishOp(n,i)},Nt.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.options.ecmaVersion>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(b.assign,3):this.finishOp(124===e?b.logicalOR:b.logicalAND,2):61===t?this.finishOp(b.assign,2):this.finishOp(124===e?b.bitwiseOR:b.bitwiseAND,1)},Nt.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(b.assign,2):this.finishOp(b.bitwiseXOR,1)},Nt.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!==t||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!w.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(b.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(b.assign,2):this.finishOp(b.plusMin,1)},Nt.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),i=1;return t===e?(i=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+i)?this.finishOp(b.assign,i+1):this.finishOp(b.bitShift,i)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(i=2),this.finishOp(b.relational,i)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},Nt.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(b.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(b.arrow)):this.finishOp(61===e?b.eq:b.prefix,1)},Nt.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(46===t){var i=this.input.charCodeAt(this.pos+2);if(i<48||i>57)return this.finishOp(b.questionDot,2)}if(63===t)return e>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(b.assign,3):this.finishOp(b.coalesce,2)}return this.finishOp(b.question,1)},Nt.readToken_numberSign=function(){var e=35;if(this.options.ecmaVersion>=13&&(++this.pos,u(e=this.fullCharCodeAtPos(),!0)||92===e))return this.finishToken(b.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+R(e)+"'")},Nt.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(b.parenL);case 41:return++this.pos,this.finishToken(b.parenR);case 59:return++this.pos,this.finishToken(b.semi);case 44:return++this.pos,this.finishToken(b.comma);case 91:return++this.pos,this.finishToken(b.bracketL);case 93:return++this.pos,this.finishToken(b.bracketR);case 123:return++this.pos,this.finishToken(b.braceL);case 125:return++this.pos,this.finishToken(b.braceR);case 58:return++this.pos,this.finishToken(b.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(b.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(b.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+R(e)+"'")},Nt.finishOp=function(e,t){var i=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,i)},Nt.readRegexp=function(){for(var e,t,i=this.pos;;){this.pos>=this.input.length&&this.raise(i,"Unterminated regular expression");var n=this.input.charAt(this.pos);if(w.test(n)&&this.raise(i,"Unterminated regular expression"),e)e=!1;else{if("["===n)t=!0;else if("]"===n&&t)t=!1;else if("/"===n&&!t)break;e="\\"===n}++this.pos}var r=this.input.slice(i,this.pos);++this.pos;var s=this.pos,a=this.readWord1();this.containsEsc&&this.unexpected(s);var o=this.regexpState||(this.regexpState=new at(this));o.reset(i,r,a),this.validateRegExpFlags(o),this.validateRegExpPattern(o);var l=null;try{l=new RegExp(r,a)}catch(e){}return this.finishToken(b.regexp,{pattern:r,flags:a,value:l})},Nt.readInt=function(e,t,i){for(var n=this.options.ecmaVersion>=12&&void 0===t,r=i&&48===this.input.charCodeAt(this.pos),s=this.pos,a=0,o=0,l=0,c=null==t?1/0:t;l<c;++l,++this.pos){var h=this.input.charCodeAt(this.pos),p=void 0;if(n&&95===h)r&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),95===o&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),0===l&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),o=h;else{if((p=h>=97?h-97+10:h>=65?h-65+10:h>=48&&h<=57?h-48:1/0)>=e)break;o=h,a=a*e+p}}return n&&95===o&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===s||null!=t&&this.pos-s!==t?null:a},Nt.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var i=this.readInt(e);return null==i&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(i=Tt(this.input.slice(t,this.pos)),++this.pos):u(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(b.num,i)},Nt.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10,void 0,!0)||this.raise(t,"Invalid number");var i=this.pos-t>=2&&48===this.input.charCodeAt(t);i&&this.strict&&this.raise(t,"Invalid number");var n=this.input.charCodeAt(this.pos);if(!i&&!e&&this.options.ecmaVersion>=11&&110===n){var r=Tt(this.input.slice(t,this.pos));return++this.pos,u(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(b.num,r)}i&&/[89]/.test(this.input.slice(t,this.pos))&&(i=!1),46!==n||i||(++this.pos,this.readInt(10),n=this.input.charCodeAt(this.pos)),69!==n&&101!==n||i||(43!==(n=this.input.charCodeAt(++this.pos))&&45!==n||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),u(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var s=It(this.input.slice(t,this.pos),i);return this.finishToken(b.num,s)},Nt.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},Nt.readString=function(e){for(var t="",i=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var n=this.input.charCodeAt(this.pos);if(n===e)break;92===n?(t+=this.input.slice(i,this.pos),t+=this.readEscapedChar(!1),i=this.pos):8232===n||8233===n?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(E(n)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(i,this.pos++),this.finishToken(b.string,t)};var Pt={};Nt.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==Pt)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},Nt.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Pt;this.raise(e,t)},Nt.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var i=this.input.charCodeAt(this.pos);if(96===i||36===i&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==b.template&&this.type!==b.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(b.template,e)):36===i?(this.pos+=2,this.finishToken(b.dollarBraceL)):(++this.pos,this.finishToken(b.backQuote));if(92===i)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(E(i)){switch(e+=this.input.slice(t,this.pos),++this.pos,i){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(i)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},Nt.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if("{"!==this.input[this.pos+1])break;case"`":return this.finishToken(b.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":"\n"===this.input[this.pos+1]&&++this.pos;case"\n":case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1}this.raise(this.start,"Unterminated template")},Nt.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return R(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var i=this.pos-1;this.invalidStringToken(i,"Invalid escape sequence in template string")}default:if(t>=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(n,8);return r>255&&(n=n.slice(0,-1),r=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),"0"===n&&56!==t&&57!==t||!this.strict&&!e||this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(r)}return E(t)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(t)}},Nt.readHexChar=function(e){var t=this.pos,i=this.readInt(16,e);return null===i&&this.invalidStringToken(t,"Bad character escape sequence"),i},Nt.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,i=this.pos,n=this.options.ecmaVersion>=6;this.pos<this.input.length;){var r=this.fullCharCodeAtPos();if(d(r,n))this.pos+=r<=65535?1:2;else{if(92!==r)break;this.containsEsc=!0,e+=this.input.slice(i,this.pos);var s=this.pos;117!==this.input.charCodeAt(++this.pos)&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var a=this.readCodePoint();(t?u:d)(a,n)||this.invalidStringToken(s,"Invalid Unicode escape"),e+=R(a),i=this.pos}t=!1}return e+this.input.slice(i,this.pos)},Nt.readWord=function(){var e=this.readWord1(),t=b.name;return this.keywords.test(e)&&(t=y[e]),this.finishToken(t,e)};var Lt="8.16.0";function Vt(e,t){return le.parse(e,t)}function Rt(e,t,i){return le.parseExpressionAt(e,t,i)}function Ot(e,t){return le.tokenizer(e,t)}le.acorn={Parser:le,version:Lt,defaultOptions:F,Position:j,SourceLocation:D,getLineInfo:M,Node:Ve,TokenType:f,tokTypes:b,keywordTypes:y,TokContext:Ee,tokContexts:Se,isIdentifierChar:d,isIdentifierStart:u,Token:_t,isNewLine:E,lineBreak:w,lineBreakG:k,nonASCIIwhitespace:C},e.Node=Ve,e.Parser=le,e.Position=j,e.SourceLocation=D,e.TokContext=Ee,e.Token=_t,e.TokenType=f,e.defaultOptions=F,e.getLineInfo=M,e.isIdentifierChar=d,e.isIdentifierStart=u,e.isNewLine=E,e.keywordTypes=y,e.lineBreak=w,e.lineBreakG=k,e.nonASCIIwhitespace=C,e.parse=Vt,e.parseExpressionAt=Rt,e.tokContexts=Se,e.tokTypes=b,e.tokenizer=Ot,e.version=Lt}(fi.exports)),fi.exports}var gi=(di||(di=1,function(e){const t=hi?ci:(hi=1,ci={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}),i=/^[\da-fA-F]+$/,n=/^\d+$/,r=new WeakMap;function s(e){e=e.Parser.acorn||e;let t=r.get(e);if(!t){const i=e.tokTypes,n=e.TokContext,s=e.TokenType,a=new n("<tag",!1),o=new n("</tag",!1),l=new n("<tag>...</tag>",!0,!0),c={tc_oTag:a,tc_cTag:o,tc_expr:l},h={jsxName:new s("jsxName"),jsxText:new s("jsxText",{beforeExpr:!0}),jsxTagStart:new s("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new s("jsxTagEnd")};h.jsxTagStart.updateContext=function(){this.context.push(l),this.context.push(a),this.exprAllowed=!1},h.jsxTagEnd.updateContext=function(e){let t=this.context.pop();t===a&&e===i.slash||t===o?(this.context.pop(),this.exprAllowed=this.curContext()===l):this.exprAllowed=!0},t={tokContexts:c,tokTypes:h},r.set(e,t)}return t}function a(e){return e?"JSXIdentifier"===e.type?e.name:"JSXNamespacedName"===e.type?e.namespace.name+":"+e.name.name:"JSXMemberExpression"===e.type?a(e.object)+"."+a(e.property):void 0:e}e.exports=function(e){return e=e||{},function(r){return function(e,r){const o=r.acorn||mi(),l=s(o),c=o.tokTypes,h=l.tokTypes,p=o.tokContexts,u=l.tokContexts.tc_oTag,d=l.tokContexts.tc_cTag,f=l.tokContexts.tc_expr,m=o.isNewLine,g=o.isIdentifierStart,x=o.isIdentifierChar;return class extends r{static get acornJsx(){return l}jsx_readToken(){let e="",t=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let i=this.input.charCodeAt(this.pos);switch(i){case 60:case 123:return this.pos===this.start?60===i&&this.exprAllowed?(++this.pos,this.finishToken(h.jsxTagStart)):this.getTokenFromCode(i):(e+=this.input.slice(t,this.pos),this.finishToken(h.jsxText,e));case 38:e+=this.input.slice(t,this.pos),e+=this.jsx_readEntity(),t=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(62===i?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:m(i)?(e+=this.input.slice(t,this.pos),e+=this.jsx_readNewLine(!0),t=this.pos):++this.pos}}}jsx_readNewLine(e){let t,i=this.input.charCodeAt(this.pos);return++this.pos,13===i&&10===this.input.charCodeAt(this.pos)?(++this.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(i),this.options.locations&&(++this.curLine,this.lineStart=this.pos),t}jsx_readString(e){let t="",i=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let n=this.input.charCodeAt(this.pos);if(n===e)break;38===n?(t+=this.input.slice(i,this.pos),t+=this.jsx_readEntity(),i=this.pos):m(n)?(t+=this.input.slice(i,this.pos),t+=this.jsx_readNewLine(!1),i=this.pos):++this.pos}return t+=this.input.slice(i,this.pos++),this.finishToken(c.string,t)}jsx_readEntity(){let e,r="",s=0,a=this.input[this.pos];"&"!==a&&this.raise(this.pos,"Entity must start with an ampersand");let o=++this.pos;for(;this.pos<this.input.length&&s++<10;){if(a=this.input[this.pos++],";"===a){"#"===r[0]?"x"===r[1]?(r=r.substr(2),i.test(r)&&(e=String.fromCharCode(parseInt(r,16)))):(r=r.substr(1),n.test(r)&&(e=String.fromCharCode(parseInt(r,10)))):e=t[r];break}r+=a}return e||(this.pos=o,"&")}jsx_readWord(){let e,t=this.pos;do{e=this.input.charCodeAt(++this.pos)}while(x(e)||45===e);return this.finishToken(h.jsxName,this.input.slice(t,this.pos))}jsx_parseIdentifier(){let e=this.startNode();return this.type===h.jsxName?e.name=this.value:this.type.keyword?e.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsx_parseNamespacedName(){let t=this.start,i=this.startLoc,n=this.jsx_parseIdentifier();if(!e.allowNamespaces||!this.eat(c.colon))return n;var r=this.startNodeAt(t,i);return r.namespace=n,r.name=this.jsx_parseIdentifier(),this.finishNode(r,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===h.jsxTagEnd)return"";let t=this.start,i=this.startLoc,n=this.jsx_parseNamespacedName();for(this.type!==c.dot||"JSXNamespacedName"!==n.type||e.allowNamespacedObjects||this.unexpected();this.eat(c.dot);){let e=this.startNodeAt(t,i);e.object=n,e.property=this.jsx_parseIdentifier(),n=this.finishNode(e,"JSXMemberExpression")}return n}jsx_parseAttributeValue(){switch(this.type){case c.braceL:let e=this.jsx_parseExpressionContainer();return"JSXEmptyExpression"===e.expression.type&&this.raise(e.start,"JSX attributes must only be assigned a non-empty expression"),e;case h.jsxTagStart:case c.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let e=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let e=this.startNode();return this.next(),e.expression=this.type===c.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(c.braceR),this.finishNode(e,"JSXExpressionContainer")}jsx_parseAttribute(){let e=this.startNode();return this.eat(c.braceL)?(this.expect(c.ellipsis),e.argument=this.parseMaybeAssign(),this.expect(c.braceR),this.finishNode(e,"JSXSpreadAttribute")):(e.name=this.jsx_parseNamespacedName(),e.value=this.eat(c.eq)?this.jsx_parseAttributeValue():null,this.finishNode(e,"JSXAttribute"))}jsx_parseOpeningElementAt(e,t){let i=this.startNodeAt(e,t);i.attributes=[];let n=this.jsx_parseElementName();for(n&&(i.name=n);this.type!==c.slash&&this.type!==h.jsxTagEnd;)i.attributes.push(this.jsx_parseAttribute());return i.selfClosing=this.eat(c.slash),this.expect(h.jsxTagEnd),this.finishNode(i,n?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(e,t){let i=this.startNodeAt(e,t),n=this.jsx_parseElementName();return n&&(i.name=n),this.expect(h.jsxTagEnd),this.finishNode(i,n?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(e,t){let i=this.startNodeAt(e,t),n=[],r=this.jsx_parseOpeningElementAt(e,t),s=null;if(!r.selfClosing){e:for(;;)switch(this.type){case h.jsxTagStart:if(e=this.start,t=this.startLoc,this.next(),this.eat(c.slash)){s=this.jsx_parseClosingElementAt(e,t);break e}n.push(this.jsx_parseElementAt(e,t));break;case h.jsxText:n.push(this.parseExprAtom());break;case c.braceL:n.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}a(s.name)!==a(r.name)&&this.raise(s.start,"Expected corresponding JSX closing tag for <"+a(r.name)+">")}let o=r.name?"Element":"Fragment";return i["opening"+o]=r,i["closing"+o]=s,i.children=n,this.type===c.relational&&"<"===this.value&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(i,"JSX"+o)}jsx_parseText(){let e=this.parseLiteral(this.value);return e.type="JSXText",e}jsx_parseElement(){let e=this.start,t=this.startLoc;return this.next(),this.jsx_parseElementAt(e,t)}parseExprAtom(e){return this.type===h.jsxText?this.jsx_parseText():this.type===h.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(e)}readToken(e){let t=this.curContext();if(t===f)return this.jsx_readToken();if(t===u||t===d){if(g(e))return this.jsx_readWord();if(62==e)return++this.pos,this.finishToken(h.jsxTagEnd);if((34===e||39===e)&&t==u)return this.jsx_readString(e)}return 60===e&&this.exprAllowed&&33!==this.input.charCodeAt(this.pos+1)?(++this.pos,this.finishToken(h.jsxTagStart)):super.readToken(e)}updateContext(e){if(this.type==c.braceL){var t=this.curContext();t==u?this.context.push(p.b_expr):t==f?this.context.push(p.b_tmpl):super.updateContext(e),this.exprAllowed=!0}else{if(this.type!==c.slash||e!==h.jsxTagStart)return super.updateContext(e);this.context.length-=2,this.context.push(d),this.exprAllowed=!1}}}}({allowNamespaces:!1!==e.allowNamespaces,allowNamespacedObjects:!!e.allowNamespacedObjects},r)}},Object.defineProperty(e.exports,"tokTypes",{get:function(){return s(mi()).tokTypes},configurable:!0,enumerable:!0})}(pi)),pi.exports),xi=Y(gi);const{stringify:yi}=JSON;if(!String.prototype.repeat)throw new Error("String.prototype.repeat is undefined, see https://github.com/davidbonnet/astring#installation");if(!String.prototype.endsWith)throw new Error("String.prototype.endsWith is undefined, see https://github.com/davidbonnet/astring#installation");const vi={"||":2,"??":3,"&&":4,"|":5,"^":6,"&":7,"==":8,"!=":8,"===":8,"!==":8,"<":9,">":9,"<=":9,">=":9,in:9,instanceof:9,"<<":10,">>":10,">>>":10,"+":11,"-":11,"*":12,"%":12,"/":12,"**":13},bi=17,wi={ArrayExpression:20,TaggedTemplateExpression:20,ThisExpression:20,Identifier:20,PrivateIdentifier:20,Literal:18,TemplateLiteral:20,Super:20,SequenceExpression:20,MemberExpression:19,ChainExpression:19,CallExpression:19,NewExpression:19,ArrowFunctionExpression:bi,ClassExpression:bi,FunctionExpression:bi,ObjectExpression:bi,UpdateExpression:16,UnaryExpression:15,AwaitExpression:15,BinaryExpression:14,LogicalExpression:13,ConditionalExpression:4,AssignmentExpression:3,YieldExpression:2,RestElement:1};function ki(e,t){const{generator:i}=e;if(e.write("("),null!=t&&t.length>0){i[t[0].type](t[0],e);const{length:n}=t;for(let r=1;r<n;r++){const n=t[r];e.write(", "),i[n.type](n,e)}}e.write(")")}function Ei(e,t,i,n){const r=e.expressionsPrecedence[t.type];if(r===bi)return!0;const s=e.expressionsPrecedence[i.type];return r!==s?!n&&15===r&&14===s&&"**"===i.operator||r<s:(13===r||14===r)&&("**"===t.operator&&"**"===i.operator?!n:13===r&&13===s&&("??"===t.operator||"??"===i.operator)||(n?vi[t.operator]<=vi[i.operator]:vi[t.operator]<vi[i.operator]))}function Si(e,t,i,n){const{generator:r}=e;Ei(e,t,i,n)?(e.write("("),r[t.type](t,e),e.write(")")):r[t.type](t,e)}function Ci(e,t,i,n){const r=t.split("\n"),s=r.length-1;if(e.write(r[0].trim()),s>0){e.write(n);for(let t=1;t<s;t++)e.write(i+r[t].trim()+n);e.write(i+r[s].trim())}}function Ai(e,t,i,n){const{length:r}=t;for(let s=0;s<r;s++){const r=t[s];e.write(i),"L"===r.type[0]?e.write("// "+r.value.trim()+"\n",r):(e.write("/*"),Ci(e,r.value,i,n),e.write("*/"+n))}}function _i(e,t){const{generator:i}=e,{declarations:n}=t;e.write(t.kind+" ");const{length:r}=n;if(r>0){i.VariableDeclarator(n[0],e);for(let t=1;t<r;t++)e.write(", "),i.VariableDeclarator(n[t],e)}}let Ni,Ii,Ti,Pi,Li,Vi;const Ri={Program(e,t){const i=t.indent.repeat(t.indentLevel),{lineEnd:n,writeComments:r}=t;r&&null!=e.comments&&Ai(t,e.comments,i,n);const s=e.body,{length:a}=s;for(let e=0;e<a;e++){const a=s[e];r&&null!=a.comments&&Ai(t,a.comments,i,n),t.write(i),this[a.type](a,t),t.write(n)}r&&null!=e.trailingComments&&Ai(t,e.trailingComments,i,n)},BlockStatement:Vi=function(e,t){const i=t.indent.repeat(t.indentLevel++),{lineEnd:n,writeComments:r}=t,s=i+t.indent;t.write("{");const a=e.body;if(null!=a&&a.length>0){t.write(n),r&&null!=e.comments&&Ai(t,e.comments,s,n);const{length:o}=a;for(let e=0;e<o;e++){const i=a[e];r&&null!=i.comments&&Ai(t,i.comments,s,n),t.write(s),this[i.type](i,t),t.write(n)}t.write(i)}else r&&null!=e.comments&&(t.write(n),Ai(t,e.comments,s,n),t.write(i));r&&null!=e.trailingComments&&Ai(t,e.trailingComments,s,n),t.write("}"),t.indentLevel--},ClassBody:Vi,StaticBlock(e,t){t.write("static "),this.BlockStatement(e,t)},EmptyStatement(e,t){t.write(";")},ExpressionStatement(e,t){const i=t.expressionsPrecedence[e.expression.type];i===bi||3===i&&"O"===e.expression.left.type[0]?(t.write("("),this[e.expression.type](e.expression,t),t.write(")")):this[e.expression.type](e.expression,t),t.write(";")},IfStatement(e,t){t.write("if ("),this[e.test.type](e.test,t),t.write(") "),this[e.consequent.type](e.consequent,t),null!=e.alternate&&(t.write(" else "),this[e.alternate.type](e.alternate,t))},LabeledStatement(e,t){this[e.label.type](e.label,t),t.write(": "),this[e.body.type](e.body,t)},BreakStatement(e,t){t.write("break"),null!=e.label&&(t.write(" "),this[e.label.type](e.label,t)),t.write(";")},ContinueStatement(e,t){t.write("continue"),null!=e.label&&(t.write(" "),this[e.label.type](e.label,t)),t.write(";")},WithStatement(e,t){t.write("with ("),this[e.object.type](e.object,t),t.write(") "),this[e.body.type](e.body,t)},SwitchStatement(e,t){const i=t.indent.repeat(t.indentLevel++),{lineEnd:n,writeComments:r}=t;t.indentLevel++;const s=i+t.indent,a=s+t.indent;t.write("switch ("),this[e.discriminant.type](e.discriminant,t),t.write(") {"+n);const{cases:o}=e,{length:l}=o;for(let e=0;e<l;e++){const i=o[e];r&&null!=i.comments&&Ai(t,i.comments,s,n),i.test?(t.write(s+"case "),this[i.test.type](i.test,t),t.write(":"+n)):t.write(s+"default:"+n);const{consequent:l}=i,{length:c}=l;for(let e=0;e<c;e++){const i=l[e];r&&null!=i.comments&&Ai(t,i.comments,a,n),t.write(a),this[i.type](i,t),t.write(n)}}t.indentLevel-=2,t.write(i+"}")},ReturnStatement(e,t){t.write("return"),e.argument&&(t.write(" "),this[e.argument.type](e.argument,t)),t.write(";")},ThrowStatement(e,t){t.write("throw "),this[e.argument.type](e.argument,t),t.write(";")},TryStatement(e,t){if(t.write("try "),this[e.block.type](e.block,t),e.handler){const{handler:i}=e;null==i.param?t.write(" catch "):(t.write(" catch ("),this[i.param.type](i.param,t),t.write(") ")),this[i.body.type](i.body,t)}e.finalizer&&(t.write(" finally "),this[e.finalizer.type](e.finalizer,t))},WhileStatement(e,t){t.write("while ("),this[e.test.type](e.test,t),t.write(") "),this[e.body.type](e.body,t)},DoWhileStatement(e,t){t.write("do "),this[e.body.type](e.body,t),t.write(" while ("),this[e.test.type](e.test,t),t.write(");")},ForStatement(e,t){if(t.write("for ("),null!=e.init){const{init:i}=e;"V"===i.type[0]?_i(t,i):this[i.type](i,t)}t.write("; "),e.test&&this[e.test.type](e.test,t),t.write("; "),e.update&&this[e.update.type](e.update,t),t.write(") "),this[e.body.type](e.body,t)},ForInStatement:Ni=function(e,t){t.write(`for ${e.await?"await ":""}(`);const{left:i}=e;"V"===i.type[0]?_i(t,i):this[i.type](i,t),t.write("I"===e.type[3]?" in ":" of "),this[e.right.type](e.right,t),t.write(") "),this[e.body.type](e.body,t)},ForOfStatement:Ni,DebuggerStatement(e,t){t.write("debugger;",e)},FunctionDeclaration:Ii=function(e,t){t.write((e.async?"async ":"")+(e.generator?"function* ":"function ")+(e.id?e.id.name:""),e),ki(t,e.params),t.write(" "),this[e.body.type](e.body,t)},FunctionExpression:Ii,VariableDeclaration(e,t){_i(t,e),t.write(";")},VariableDeclarator(e,t){this[e.id.type](e.id,t),null!=e.init&&(t.write(" = "),this[e.init.type](e.init,t))},ClassDeclaration(e,t){if(t.write("class "+(e.id?`${e.id.name} `:""),e),e.superClass){t.write("extends ");const{superClass:i}=e,{type:n}=i,r=t.expressionsPrecedence[n];"C"===n[0]&&"l"===n[1]&&"E"===n[5]||!(r===bi||r<t.expressionsPrecedence.ClassExpression)?this[i.type](i,t):(t.write("("),this[e.superClass.type](i,t),t.write(")")),t.write(" ")}this.ClassBody(e.body,t)},ImportDeclaration(e,t){t.write("import ");const{specifiers:i,attributes:n}=e,{length:r}=i;let s=0;if(r>0){for(;s<r;){s>0&&t.write(", ");const e=i[s],n=e.type[6];if("D"===n)t.write(e.local.name,e),s++;else{if("N"!==n)break;t.write("* as "+e.local.name,e),s++}}if(s<r){for(t.write("{");;){const e=i[s],{name:n}=e.imported;if(t.write(n,e),n!==e.local.name&&t.write(" as "+e.local.name),!(++s<r))break;t.write(", ")}t.write("}")}t.write(" from ")}if(this.Literal(e.source,t),n&&n.length>0){t.write(" with { ");for(let e=0;e<n.length;e++)this.ImportAttribute(n[e],t),e<n.length-1&&t.write(", ");t.write(" }")}t.write(";")},ImportAttribute(e,t){this.Identifier(e.key,t),t.write(": "),this.Literal(e.value,t)},ImportExpression(e,t){t.write("import("),this[e.source.type](e.source,t),t.write(")")},ExportDefaultDeclaration(e,t){t.write("export default "),this[e.declaration.type](e.declaration,t),null!=t.expressionsPrecedence[e.declaration.type]&&"F"!==e.declaration.type[0]&&t.write(";")},ExportNamedDeclaration(e,t){if(t.write("export "),e.declaration)this[e.declaration.type](e.declaration,t);else{t.write("{");const{specifiers:i}=e,{length:n}=i;if(n>0)for(let e=0;;){const r=i[e],{name:s}=r.local;if(t.write(s,r),s!==r.exported.name&&t.write(" as "+r.exported.name),!(++e<n))break;t.write(", ")}if(t.write("}"),e.source&&(t.write(" from "),this.Literal(e.source,t)),e.attributes&&e.attributes.length>0){t.write(" with { ");for(let i=0;i<e.attributes.length;i++)this.ImportAttribute(e.attributes[i],t),i<e.attributes.length-1&&t.write(", ");t.write(" }")}t.write(";")}},ExportAllDeclaration(e,t){if(null!=e.exported?t.write("export * as "+e.exported.name+" from "):t.write("export * from "),this.Literal(e.source,t),e.attributes&&e.attributes.length>0){t.write(" with { ");for(let i=0;i<e.attributes.length;i++)this.ImportAttribute(e.attributes[i],t),i<e.attributes.length-1&&t.write(", ");t.write(" }")}t.write(";")},MethodDefinition(e,t){e.static&&t.write("static ");const i=e.kind[0];"g"!==i&&"s"!==i||t.write(e.kind+" "),e.value.async&&t.write("async "),e.value.generator&&t.write("*"),e.computed?(t.write("["),this[e.key.type](e.key,t),t.write("]")):this[e.key.type](e.key,t),ki(t,e.value.params),t.write(" "),this[e.value.body.type](e.value.body,t)},ClassExpression(e,t){this.ClassDeclaration(e,t)},ArrowFunctionExpression(e,t){t.write(e.async?"async ":"",e);const{params:i}=e;null!=i&&(1===i.length&&"I"===i[0].type[0]?t.write(i[0].name,i[0]):ki(t,e.params)),t.write(" => "),"O"===e.body.type[0]?(t.write("("),this.ObjectExpression(e.body,t),t.write(")")):this[e.body.type](e.body,t)},ThisExpression(e,t){t.write("this",e)},Super(e,t){t.write("super",e)},RestElement:Ti=function(e,t){t.write("..."),this[e.argument.type](e.argument,t)},SpreadElement:Ti,YieldExpression(e,t){t.write(e.delegate?"yield*":"yield"),e.argument&&(t.write(" "),this[e.argument.type](e.argument,t))},AwaitExpression(e,t){t.write("await ",e),Si(t,e.argument,e)},TemplateLiteral(e,t){const{quasis:i,expressions:n}=e;t.write("`");const{length:r}=n;for(let e=0;e<r;e++){const r=n[e],s=i[e];t.write(s.value.raw,s),t.write("${"),this[r.type](r,t),t.write("}")}const s=i[i.length-1];t.write(s.value.raw,s),t.write("`")},TemplateElement(e,t){t.write(e.value.raw,e)},TaggedTemplateExpression(e,t){Si(t,e.tag,e),this[e.quasi.type](e.quasi,t)},ArrayExpression:Li=function(e,t){if(t.write("["),e.elements.length>0){const{elements:i}=e,{length:n}=i;for(let e=0;;){const r=i[e];if(null!=r&&this[r.type](r,t),!(++e<n)){null==r&&t.write(", ");break}t.write(", ")}}t.write("]")},ArrayPattern:Li,ObjectExpression(e,t){const i=t.indent.repeat(t.indentLevel++),{lineEnd:n,writeComments:r}=t,s=i+t.indent;if(t.write("{"),e.properties.length>0){t.write(n),r&&null!=e.comments&&Ai(t,e.comments,s,n);const a=","+n,{properties:o}=e,{length:l}=o;for(let e=0;;){const i=o[e];if(r&&null!=i.comments&&Ai(t,i.comments,s,n),t.write(s),this[i.type](i,t),!(++e<l))break;t.write(a)}t.write(n),r&&null!=e.trailingComments&&Ai(t,e.trailingComments,s,n),t.write(i+"}")}else r?null!=e.comments?(t.write(n),Ai(t,e.comments,s,n),null!=e.trailingComments&&Ai(t,e.trailingComments,s,n),t.write(i+"}")):null!=e.trailingComments?(t.write(n),Ai(t,e.trailingComments,s,n),t.write(i+"}")):t.write("}"):t.write("}");t.indentLevel--},Property(e,t){e.method||"i"!==e.kind[0]?this.MethodDefinition(e,t):(e.shorthand||(e.computed?(t.write("["),this[e.key.type](e.key,t),t.write("]")):this[e.key.type](e.key,t),t.write(": ")),this[e.value.type](e.value,t))},PropertyDefinition(e,t){e.static&&t.write("static "),e.computed&&t.write("["),this[e.key.type](e.key,t),e.computed&&t.write("]"),null!=e.value?(t.write(" = "),this[e.value.type](e.value,t),t.write(";")):"F"!==e.key.type[0]&&t.write(";")},ObjectPattern(e,t){if(t.write("{"),e.properties.length>0){const{properties:i}=e,{length:n}=i;for(let e=0;this[i[e].type](i[e],t),++e<n;)t.write(", ")}t.write("}")},SequenceExpression(e,t){ki(t,e.expressions)},UnaryExpression(e,t){if(e.prefix){const{operator:i,argument:n,argument:{type:r}}=e;t.write(i);const s=Ei(t,n,e);s||!(i.length>1)&&("U"!==r[0]||"n"!==r[1]&&"p"!==r[1]||!n.prefix||n.operator[0]!==i||"+"!==i&&"-"!==i)||t.write(" "),s?(t.write(i.length>1?" (":"("),this[r](n,t),t.write(")")):this[r](n,t)}else this[e.argument.type](e.argument,t),t.write(e.operator)},UpdateExpression(e,t){e.prefix?(t.write(e.operator),this[e.argument.type](e.argument,t)):(this[e.argument.type](e.argument,t),t.write(e.operator))},AssignmentExpression(e,t){this[e.left.type](e.left,t),t.write(" "+e.operator+" "),this[e.right.type](e.right,t)},AssignmentPattern(e,t){this[e.left.type](e.left,t),t.write(" = "),this[e.right.type](e.right,t)},BinaryExpression:Pi=function(e,t){const i="in"===e.operator;i&&t.write("("),Si(t,e.left,e,!1),t.write(" "+e.operator+" "),Si(t,e.right,e,!0),i&&t.write(")")},LogicalExpression:Pi,ConditionalExpression(e,t){const{test:i}=e,n=t.expressionsPrecedence[i.type];n===bi||n<=t.expressionsPrecedence.ConditionalExpression?(t.write("("),this[i.type](i,t),t.write(")")):this[i.type](i,t),t.write(" ? "),this[e.consequent.type](e.consequent,t),t.write(" : "),this[e.alternate.type](e.alternate,t)},NewExpression(e,t){t.write("new ");const i=t.expressionsPrecedence[e.callee.type];i===bi||i<t.expressionsPrecedence.CallExpression||function(e){let t=e;for(;null!=t;){const{type:e}=t;if("C"===e[0]&&"a"===e[1])return!0;if("M"!==e[0]||"e"!==e[1]||"m"!==e[2])return!1;t=t.object}}(e.callee)?(t.write("("),this[e.callee.type](e.callee,t),t.write(")")):this[e.callee.type](e.callee,t),ki(t,e.arguments)},CallExpression(e,t){const i=t.expressionsPrecedence[e.callee.type];i===bi||i<t.expressionsPrecedence.CallExpression?(t.write("("),this[e.callee.type](e.callee,t),t.write(")")):this[e.callee.type](e.callee,t),e.optional&&t.write("?."),ki(t,e.arguments)},ChainExpression(e,t){this[e.expression.type](e.expression,t)},MemberExpression(e,t){const i=t.expressionsPrecedence[e.object.type];i===bi||i<t.expressionsPrecedence.MemberExpression?(t.write("("),this[e.object.type](e.object,t),t.write(")")):this[e.object.type](e.object,t),e.computed?(e.optional&&t.write("?."),t.write("["),this[e.property.type](e.property,t),t.write("]")):(e.optional?t.write("?."):t.write("."),this[e.property.type](e.property,t))},MetaProperty(e,t){t.write(e.meta.name+"."+e.property.name,e)},Identifier(e,t){t.write(e.name,e)},PrivateIdentifier(e,t){t.write(`#${e.name}`,e)},Literal(e,t){null!=e.raw?t.write(e.raw,e):null!=e.regex?this.RegExpLiteral(e,t):null!=e.bigint?t.write(e.bigint+"n",e):t.write(yi(e.value),e)},RegExpLiteral(e,t){const{regex:i}=e;t.write(`/${i.pattern}/${i.flags}`,e)}},Oi={};class ji{constructor(e){const t=null==e?Oi:e;this.output="",null!=t.output?(this.output=t.output,this.write=this.writeToStream):this.output="",this.generator=null!=t.generator?t.generator:Ri,this.expressionsPrecedence=null!=t.expressionsPrecedence?t.expressionsPrecedence:wi,this.indent=null!=t.indent?t.indent:" ",this.lineEnd=null!=t.lineEnd?t.lineEnd:"\n",this.indentLevel=null!=t.startingIndentLevel?t.startingIndentLevel:0,this.writeComments=!!t.comments&&t.comments,null!=t.sourceMap&&(this.write=null==t.output?this.writeAndMap:this.writeToStreamAndMap,this.sourceMap=t.sourceMap,this.line=1,this.column=0,this.lineEndSize=this.lineEnd.split("\n").length-1,this.mapping={original:null,generated:this,name:void 0,source:t.sourceMap.file||t.sourceMap._file})}write(e){this.output+=e}writeToStream(e){this.output.write(e)}writeAndMap(e,t){this.output+=e,this.map(e,t)}writeToStreamAndMap(e,t){this.output.write(e),this.map(e,t)}map(e,t){if(null!=t){const{type:i}=t;if("L"===i[0]&&"n"===i[2])return this.column=0,void this.line++;if(null!=t.loc){const{mapping:e}=this;e.original=t.loc.start,e.name=t.name,this.sourceMap.addMapping(e)}if("T"===i[0]&&"E"===i[8]||"L"===i[0]&&"i"===i[1]&&"string"==typeof t.value){const{length:t}=e;let{column:i,line:n}=this;for(let r=0;r<t;r++)"\n"===e[r]?(i=0,n++):i++;return this.column=i,void(this.line=n)}}const{length:i}=e,{lineEnd:n}=this;i>0&&(this.lineEndSize>0&&(1===n.length?e[i-1]===n:e.endsWith(n))?(this.line+=this.lineEndSize,this.column=0):this.column+=i)}toString(){return this.output}}const Di={};function Mi(e,t){const{SourceMapGenerator:i,filePath:n,handlers:r}=t||Di,s=i?new i({file:n||"<unknown>.js"}):void 0,a=function(e,t){const i=new ji(t);return i.generator[e.type](e,i),i.output}(e,{comments:!0,generator:{...Ri,...r},sourceMap:s||void 0});return{value:a,map:s?s.toJSON():void 0}}const Fi={JSXAttribute:function(e,t){this[e.name.type](e.name,t),null!==e.value&&void 0!==e.value&&(t.write("="),"Literal"===e.value.type?t.write('"'+Bi(String(e.value.value)).replace(/"/g,""")+'"',e):this[e.value.type](e.value,t))},JSXClosingElement:function(e,t){t.write("</"),this[e.name.type](e.name,t),t.write(">")},JSXClosingFragment:function(e,t){t.write("</>",e)},JSXElement:function(e,t){let i=-1;if(this[e.openingElement.type](e.openingElement,t),e.children)for(;++i<e.children.length;){const n=e.children[i];if("JSXSpreadChild"===n.type)throw new Error("JSX spread children are not supported");this[n.type](n,t)}e.closingElement&&this[e.closingElement.type](e.closingElement,t)},JSXEmptyExpression:function(){},JSXExpressionContainer:function(e,t){t.write("{"),this[e.expression.type](e.expression,t),t.write("}")},JSXFragment:function(e,t){let i=-1;if(this[e.openingFragment.type](e.openingFragment,t),e.children)for(;++i<e.children.length;){const n=e.children[i];if("JSXSpreadChild"===n.type)throw new Error("JSX spread children are not supported");this[n.type](n,t)}this[e.closingFragment.type](e.closingFragment,t)},JSXIdentifier:function(e,t){t.write(e.name,e)},JSXMemberExpression:function(e,t){this[e.object.type](e.object,t),t.write("."),this[e.property.type](e.property,t)},JSXNamespacedName:function(e,t){this[e.namespace.type](e.namespace,t),t.write(":"),this[e.name.type](e.name,t)},JSXOpeningElement:function(e,t){let i=-1;if(t.write("<"),this[e.name.type](e.name,t),e.attributes)for(;++i<e.attributes.length;)t.write(" "),this[e.attributes[i].type](e.attributes[i],t);t.write(e.selfClosing?" />":">")},JSXOpeningFragment:function(e,t){t.write("<>",e)},JSXSpreadAttribute:function(e,t){t.write("{"),this.SpreadElement(e,t),t.write("}")},JSXText:function(e,t){t.write(Bi(e.value).replace(/[<>{}]/g,Ui),e)}};function Bi(e){return e.replace(/&(?=[#a-z])/gi,"&")}function Ui(e){return"<"===e?"<":">"===e?">":"{"===e?"{":"}"}function zi(){const e=this.data(),t=e.settings||(e.settings={}),i=t.handlers||(t.handlers={});(t.plugins||(t.plugins=[])).push(xi()),Object.assign(i,Fi)}function Ji(e){const t=this;this.compiler=function(i,n){const r={...t.data("settings"),...e},s=Mi(i,{SourceMapGenerator:r.SourceMapGenerator,filePath:n.path||"unknown.js",handlers:r.handlers});return n.map=s.map,s.value}}const qi={}.hasOwnProperty,Gi=/[A-Z]/g,Xi=new Set(["td","th"]);function Hi(e,t){try{return Nt(e,{reactCompat:!0})}catch(e){throw new Error("Could not parse `style` attribute on `"+t+"`",{cause:e})}}function Wi(e){const t={};let i;for(i in e)qi.call(e,i)&&(t[$i(i)]=e[i]);return t}function $i(e){let t=e.replace(Gi,Ki);return"ms-"===t.slice(0,3)&&(t="-"+t),t}function Ki(e){return"-"+e.toLowerCase()}const Qi={}.hasOwnProperty,Yi=[];function Zi(e,t){const i=t?[...t].sort(nn):Yi;i.length>0&&en(e,{comments:i,index:0})}function en(e,t){if(t.index===t.comments.length)return;const i=[],n=[];let r;for(r in e)if(Qi.call(e,r)){const t=e[r];if(t&&"object"==typeof t&&"comments"!==r)if(Array.isArray(t)){let e=-1;for(;++e<t.length;)t[e]&&"string"==typeof t[e].type&&i.push(t[e])}else"string"==typeof t.type&&i.push(t)}i.sort(nn),n.push(...tn(t,e,!1,{leading:!0,trailing:!1}));let s=-1;for(;++s<i.length;)en(i[s],t);n.push(...tn(t,e,!0,{leading:!1,trailing:i.length>0})),n.length>0&&(e.comments=n)}function tn(e,t,i,n){const r=[];for(;e.comments[e.index]&&nn(e.comments[e.index],t,i)<1;)r.push(Object.assign({},e.comments[e.index++],n));return r}function nn(e,t,i){const n=i?"end":"start";return e.range&&t.range?e.range[0]-t.range[i?1:0]:e.loc&&e.loc.start&&t.loc&&t.loc[n]?e.loc.start.line-t.loc[n].line||e.loc.start.column-t.loc[n].column:"start"in e&&n in t?e.start-t[n]:Number.NaN}function rn(e,t){const i=e.data&&e.data.estree,n=i&&i.comments||[];let r;i&&(t.comments.push(...n),Zi(i,i.comments),r=i.body[0]&&"ExpressionStatement"===i.body[0].type&&i.body[0].expression||void 0),r||(r={type:"JSXEmptyExpression"},t.patch(e,r));const s={type:"JSXExpressionContainer",expression:r};return t.inherit(e,s),s}function sn(e,t){const i=t.schema;let n=i;const r=e.attributes||[];let s=-1;e.name&&"html"===i.space&&"svg"===e.name.toLowerCase()&&(n=It,t.schema=n);const a=t.all(e),o=[];for(;++s<r.length;){const e=r[s],i=e.value;let n;if("mdxJsxAttribute"===e.type){if(null==i)n=null;else if("object"==typeof i){const e=i.data&&i.data.estree,r=e&&e.comments||[];let s;e&&(t.comments.push(...r),Zi(e,e.comments),s=e.body[0]&&"ExpressionStatement"===e.body[0].type&&e.body[0].expression||void 0),n={type:"JSXExpressionContainer",expression:s||{type:"JSXEmptyExpression"}},t.inherit(i,n)}else n={type:"Literal",value:String(i)};const r={type:"JSXAttribute",name:t.createJsxAttributeName(e.name),value:n};t.inherit(e,r),o.push(r)}else{const i=e.data&&e.data.estree,n=i&&i.comments||[];let r;i&&(t.comments.push(...n),Zi(i,i.comments),r=i.body[0]&&"ExpressionStatement"===i.body[0].type&&i.body[0].expression&&"ObjectExpression"===i.body[0].expression.type&&i.body[0].expression.properties&&i.body[0].expression.properties[0]&&"SpreadElement"===i.body[0].expression.properties[0].type&&i.body[0].expression.properties[0].argument||void 0);const s={type:"JSXSpreadAttribute",argument:r||{type:"ObjectExpression",properties:[]}};t.inherit(e,s),o.push(s)}}t.schema=i;const l=e.name?{type:"JSXElement",openingElement:{type:"JSXOpeningElement",attributes:o,name:t.createJsxElementName(e.name),selfClosing:0===a.length},closingElement:a.length>0?{type:"JSXClosingElement",name:t.createJsxElementName(e.name)}:null,children:a}:{type:"JSXFragment",openingFragment:{type:"JSXOpeningFragment"},closingFragment:{type:"JSXClosingFragment"},children:a};return t.inherit(e,l),l}const an={comment:function(e,t){const i={type:"Block",value:e.value};t.inherit(e,i),t.comments.push(i);const n={type:"JSXEmptyExpression",comments:[Object.assign({},i,{leading:!1,trailing:!0})]};t.patch(e,n);const r={type:"JSXExpressionContainer",expression:n};return t.patch(e,r),r},doctype:function(){},element:function(e,t){const i=t.schema;let n=i;const r=e.properties||{};"html"===i.space&&"svg"===e.tagName.toLowerCase()&&(n=It,t.schema=n);const s=t.all(e),a=[];let o,l,c;for(o in r)if(qi.call(r,o)){let i=r[o];const s=St(n,o);let h;if(null==i||!1===i||"number"==typeof i&&Number.isNaN(i)||!i&&s.boolean)continue;if(o="react"===t.elementAttributeNameCase&&s.space?Ct[s.property]||s.property:s.attribute,Array.isArray(i)&&(i=s.commaSeparated?At(i):_t(i)),"style"===o){let n="object"==typeof i?i:Hi(String(i),e.tagName);"css"===t.stylePropertyNameCase&&(n=Wi(n));const r=[];let s;for(s in n)qi.call(n,s)&&r.push({type:"Property",method:!1,shorthand:!1,computed:!1,key:Et(s)?{type:"Identifier",name:s}:{type:"Literal",value:s},value:{type:"Literal",value:String(n[s])},kind:"init"});c=r,h={type:"JSXExpressionContainer",expression:{type:"ObjectExpression",properties:r}}}else if(!0===i)h=null;else{if(t.tableCellAlignToStyle&&Xi.has(e.tagName)&&"align"===o){l=String(i);continue}h={type:"Literal",value:String(i)}}Et(o,{jsx:!0})?a.push({type:"JSXAttribute",name:{type:"JSXIdentifier",name:o},value:h}):a.push({type:"JSXSpreadAttribute",argument:{type:"ObjectExpression",properties:[{type:"Property",method:!1,shorthand:!1,computed:!1,key:{type:"Literal",value:String(o)},value:h||{type:"Literal",value:!0},kind:"init"}]}})}if(void 0!==l){c||(c=[],a.push({type:"JSXAttribute",name:{type:"JSXIdentifier",name:"style"},value:{type:"JSXExpressionContainer",expression:{type:"ObjectExpression",properties:c}}}));const e="css"===t.stylePropertyNameCase?$i("textAlign"):"textAlign";c.push({type:"Property",method:!1,shorthand:!1,computed:!1,key:Et(e)?{type:"Identifier",name:e}:{type:"Literal",value:e},value:{type:"Literal",value:l},kind:"init"})}t.schema=i;const h={type:"JSXElement",openingElement:{type:"JSXOpeningElement",attributes:a,name:t.createJsxElementName(e.tagName),selfClosing:0===s.length},closingElement:s.length>0?{type:"JSXClosingElement",name:t.createJsxElementName(e.tagName)}:null,children:s};return t.inherit(e,h),h},mdxFlowExpression:rn,mdxJsxFlowElement:sn,mdxJsxTextElement:sn,mdxTextExpression:rn,mdxjsEsm:function(e,t){const i=e.data&&e.data.estree,n=i&&i.comments||[];i&&(t.comments.push(...n),Zi(i,n),t.esm.push(...i.body))},root:function(e,t){const i=t.all(e),n=[];let r,s=-1;for(;++s<i.length;){const e=i[s];"JSXExpressionContainer"===e.type&&"Literal"===e.expression.type&&Tt(String(e.expression.value))?r&&r.push(e):(r&&n.push(...r),n.push(e),r=[])}const a={type:"JSXFragment",openingFragment:{type:"JSXOpeningFragment"},closingFragment:{type:"JSXClosingFragment"},children:n};return t.inherit(e,a),a},text:function(e,t){const i=String(e.value||"");if(i){const n={type:"Literal",value:i};t.inherit(e,n);const r={type:"JSXExpressionContainer",expression:n};return t.patch(e,r),r}}};const on={}.hasOwnProperty,ln=new Set(["table","tbody","thead","tfoot","tr"]);function cn(e){throw new Error("Cannot handle value `"+e+"`, expected node")}function hn(e){throw new Error("Cannot handle unknown node `"+e.type+"`")}function pn(e){const t=e.children||[];let i=-1;const n=[],r="html"===this.schema.space&&"element"===e.type&&ln.has(e.tagName.toLowerCase());for(;++i<t.length;){const e=t[i];if(r&&"text"===e.type&&"\n"===e.value)continue;const s=this.handle(e);Array.isArray(s)?n.push(...s):s&&n.push(s)}return n}function un(e,t){const i=e.data;let n,r;if(dn(e,t),i){for(r in i)on.call(i,r)&&"estree"!==r&&(n||(n={}),n[r]=i[r]);n&&(t.data=n)}}function dn(e,t){const i=Lt(e);i&&void 0!==i.start.offset&&void 0!==i.end.offset&&(t.start=i.start.offset,t.end=i.end.offset,t.loc={start:{line:i.start.line,column:i.start.column-1},end:{line:i.end.line,column:i.end.column-1}},t.range=[i.start.offset,i.end.offset])}function fn(e){const t=gn(e);if("JSXMemberExpression"===t.type)throw new Error("Member expressions in attribute names are not supported");return t}function mn(e){return gn(e)}function gn(e){if(e.includes(".")){const t=e.split(".");let i=t.shift(),n={type:"JSXIdentifier",name:i};for(;i=t.shift();)n={type:"JSXMemberExpression",object:n,property:{type:"JSXIdentifier",name:i}};return n}if(e.includes(":")){const t=e.split(":");return{type:"JSXNamespacedName",namespace:{type:"JSXIdentifier",name:t[0]},name:{type:"JSXIdentifier",name:t[1]}}}return{type:"JSXIdentifier",name:e}}function xn(e,t){const i=function(e){const t=st("type",{invalid:cn,unknown:hn,handlers:{...an,...e.handlers}});return{elementAttributeNameCase:e.elementAttributeNameCase||"react",schema:"svg"===e.space?It:Pt,stylePropertyNameCase:e.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==e.tableCellAlignToStyle,comments:[],esm:[],all:pn,createJsxAttributeName:fn,createJsxElementName:mn,handle:function(e){return t(e,this)},inherit:un,patch:dn}}(t||{});let n=i.handle(e);const r=i.esm;if(n){"JSXFragment"!==n.type&&"JSXElement"!==n.type&&(n={type:"JSXFragment",openingFragment:{type:"JSXOpeningFragment"},closingFragment:{type:"JSXClosingFragment"},children:[n]},i.patch(e,n));const t={type:"ExpressionStatement",expression:n};i.patch(e,t),r.push(t)}const s={type:"Program",body:r,sourceType:"module",comments:i.comments};return i.patch(e,s),s}function yn(e){return function(t){return xn(t,e)}}function vn(e){this.enter({type:"mdxFlowExpression",value:""},e),this.buffer()}function bn(e){this.enter({type:"mdxTextExpression",value:""},e),this.buffer()}function wn(e){const t=this.resume(),i=e.estree,n=this.stack[this.stack.length-1];rt("mdxFlowExpression"===n.type||"mdxTextExpression"===n.type),this.exit(e),n.value=t,i&&(n.data={estree:i})}function kn(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function En(e,t,i){const n=e.value||"";return"{"+i.indentLines(n,function(e,t,i){return(0===t||i?"":" ")+e})+"}"}const Sn=["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"],Cn={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:"Ÿ"};function An(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}function _n(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function Nn(e){return function(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}(e)||An(e)}const In=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function Tn(e){return e>=55296&&e<=57343||e>1114111}function Pn(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||!(65535&~e)||65534==(65535&e)}const Ln=/["&'<>`]/g,Vn=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Rn=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,On=/[|\\{}()[\]^$+*?.]/g,jn=new WeakMap;function Dn(e,t){return e=e.replace(t.subset?function(e){let t=jn.get(e);t||(t=function(e){const t=[];let i=-1;for(;++i<e.length;)t.push(e[i].replace(On,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}(e),jn.set(e,t));return t}(t.subset):Ln,i),t.subset||t.escapeOnly?e:e.replace(Vn,function(e,i,n){return t.format(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,n.charCodeAt(i+2),t)}).replace(Rn,i);function i(e,i,n){return t.format(e.charCodeAt(0),n.charCodeAt(i+1),t)}}function Mn(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Fn(e,t){return Dn(e,Object.assign({format:Mn},t))}function Bn(){return{canContainEols:["mdxJsxTextElement"],enter:{mdxJsxFlowTag:n,mdxJsxFlowTagClosingMarker:r,mdxJsxFlowTagAttribute:p,mdxJsxFlowTagExpressionAttribute:u,mdxJsxFlowTagAttributeValueLiteral:e,mdxJsxFlowTagAttributeValueExpression:e,mdxJsxFlowTagSelfClosingMarker:a,mdxJsxTextTag:n,mdxJsxTextTagClosingMarker:r,mdxJsxTextTagAttribute:p,mdxJsxTextTagExpressionAttribute:u,mdxJsxTextTagAttributeValueLiteral:e,mdxJsxTextTagAttributeValueExpression:e,mdxJsxTextTagSelfClosingMarker:a},exit:{mdxJsxFlowTagClosingMarker:o,mdxJsxFlowTagNamePrimary:l,mdxJsxFlowTagNameMember:c,mdxJsxFlowTagNameLocal:h,mdxJsxFlowTagExpressionAttribute:d,mdxJsxFlowTagExpressionAttributeValue:i,mdxJsxFlowTagAttributeNamePrimary:f,mdxJsxFlowTagAttributeNameLocal:m,mdxJsxFlowTagAttributeValueLiteral:g,mdxJsxFlowTagAttributeValueLiteralValue:i,mdxJsxFlowTagAttributeValueExpression:x,mdxJsxFlowTagAttributeValueExpressionValue:i,mdxJsxFlowTagSelfClosingMarker:y,mdxJsxFlowTag:v,mdxJsxTextTagClosingMarker:o,mdxJsxTextTagNamePrimary:l,mdxJsxTextTagNameMember:c,mdxJsxTextTagNameLocal:h,mdxJsxTextTagExpressionAttribute:d,mdxJsxTextTagExpressionAttributeValue:i,mdxJsxTextTagAttributeNamePrimary:f,mdxJsxTextTagAttributeNameLocal:m,mdxJsxTextTagAttributeValueLiteral:g,mdxJsxTextTagAttributeValueLiteralValue:i,mdxJsxTextTagAttributeValueExpression:x,mdxJsxTextTagAttributeValueExpressionValue:i,mdxJsxTextTagSelfClosingMarker:y,mdxJsxTextTag:v}};function e(){this.buffer()}function t(e){return{line:e.line,column:e.column,offset:e.offset}}function i(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function n(e){const t={name:void 0,attributes:[],close:!1,selfClosing:!1,start:e.start,end:e.end};this.data.mdxJsxTagStack||(this.data.mdxJsxTagStack=[]),this.data.mdxJsxTag=t,this.buffer()}function r(e){if(0===this.data.mdxJsxTagStack.length)throw new ot("Unexpected closing slash `/` in tag, expected an open tag first",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-closing-slash")}function s(e){if(this.data.mdxJsxTag.close)throw new ot("Unexpected attribute in closing tag, expected the end of the tag",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-attribute")}function a(e){if(this.data.mdxJsxTag.close)throw new ot("Unexpected self-closing slash `/` in closing tag, expected the end of the tag",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-self-closing-slash")}function o(){this.data.mdxJsxTag.close=!0}function l(e){this.data.mdxJsxTag.name=this.sliceSerialize(e)}function c(e){this.data.mdxJsxTag.name+="."+this.sliceSerialize(e)}function h(e){this.data.mdxJsxTag.name+=":"+this.sliceSerialize(e)}function p(e){const i=this.data.mdxJsxTag;s.call(this,e),i.attributes.push({type:"mdxJsxAttribute",name:"",value:null,position:{start:t(e.start),end:void 0}})}function u(e){const i=this.data.mdxJsxTag;s.call(this,e),i.attributes.push({type:"mdxJsxExpressionAttribute",value:"",position:{start:t(e.start),end:void 0}}),this.buffer()}function d(e){const i=this.data.mdxJsxTag,n=i.attributes[i.attributes.length-1];rt("mdxJsxExpressionAttribute"===n.type);const r=e.estree;n.value=this.resume(),rt(void 0!==n.position),n.position.end=t(e.end),r&&(n.data={estree:r})}function f(e){const i=this.data.mdxJsxTag,n=i.attributes[i.attributes.length-1];rt("mdxJsxAttribute"===n.type),n.name=this.sliceSerialize(e),rt(void 0!==n.position),n.position.end=t(e.end)}function m(e){const i=this.data.mdxJsxTag,n=i.attributes[i.attributes.length-1];rt("mdxJsxAttribute"===n.type),n.name+=":"+this.sliceSerialize(e),rt(void 0!==n.position),n.position.end=t(e.end)}function g(e){const i=this.data.mdxJsxTag,n=i.attributes[i.attributes.length-1];n.value=function(e,t){const i=t||{},n="string"==typeof i.additional?i.additional.charCodeAt(0):i.additional,r=[];let s,a,o=0,l=-1,c="";i.position&&("start"in i.position||"indent"in i.position?(a=i.position.indent,s=i.position.start):s=i.position);let h,p=(s?s.line:0)||1,u=(s?s.column:0)||1,d=f();for(o--;++o<=e.length;)if(10===h&&(u=(a?a[l]:0)||1),h=e.charCodeAt(o),38===h){const t=e.charCodeAt(o+1);if(9===t||10===t||12===t||32===t||38===t||60===t||Number.isNaN(t)||n&&t===n){c+=String.fromCharCode(h),u++;continue}const s=o+1;let a,l=s,p=s;if(35===t){p=++l;const t=e.charCodeAt(p);88===t||120===t?(a="hexadecimal",p=++l):a="decimal"}else a="named";let x="",y="",v="";const b="named"===a?Nn:"decimal"===a?An:_n;for(p--;++p<=e.length;){const t=e.charCodeAt(p);if(!b(t))break;v+=String.fromCharCode(t),"named"===a&&Sn.includes(v)&&(x=v,y=at(v))}let w=59===e.charCodeAt(p);if(w){p++;const e="named"===a&&at(v);e&&(x=v,y=e)}let k=1+p-s,E="";if(w||!1!==i.nonTerminated)if(v)if("named"===a){if(w&&!y)m(5,1);else if(x!==v&&(p=l+x.length,k=1+p-l,w=!1),!w){const t=x?1:3;if(i.attribute){const i=e.charCodeAt(p);61===i?(m(t,k),y=""):Nn(i)?y="":m(t,k)}else m(t,k)}E=y}else{w||m(2,k);let e=Number.parseInt(v,"hexadecimal"===a?16:10);if(Tn(e))m(7,k),E=String.fromCharCode(65533);else if(e in Cn)m(6,k),E=Cn[e];else{let t="";Pn(e)&&m(6,k),e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10|55296),e=56320|1023&e),E=t+String.fromCharCode(e)}}else"named"!==a&&m(4,k);if(E){g(),d=f(),o=p-1,u+=p-s+1,r.push(E);const t=f();t.offset++,i.reference&&i.reference.call(i.referenceContext||void 0,E,{start:d,end:t},e.slice(s-1,p)),d=t}else v=e.slice(s-1,p),c+=v,u+=v.length,o=p-1}else 10===h&&(p++,l++,u=0),Number.isNaN(h)?g():(c+=String.fromCharCode(h),u++);return r.join("");function f(){return{line:p,column:u,offset:o+((s?s.offset:0)||0)}}function m(e,t){let n;i.warning&&(n=f(),n.column+=t,n.offset+=t,i.warning.call(i.warningContext||void 0,In[e],n,e))}function g(){c&&(r.push(c),i.text&&i.text.call(i.textContext||void 0,c,{start:d,end:f()}),c="")}}(this.resume(),{nonTerminated:!1}),rt(void 0!==n.position),n.position.end=t(e.end)}function x(e){const i=this.data.mdxJsxTag,n=i.attributes[i.attributes.length-1];rt("mdxJsxAttribute"===n.type);const r={type:"mdxJsxAttributeValueExpression",value:this.resume()},s=e.estree;s&&(r.data={estree:s}),n.value=r,rt(void 0!==n.position),n.position.end=t(e.end)}function y(){this.data.mdxJsxTag.selfClosing=!0}function v(e){const t=this.data.mdxJsxTag,i=this.data.mdxJsxTagStack,n=i[i.length-1];if(t.close&&n.name!==t.name)throw new ot("Unexpected closing tag `"+k(t)+"`, expected corresponding closing tag for `"+k(n)+"` ("+lt(n)+")",{start:e.start,end:e.end},"mdast-util-mdx-jsx:end-tag-mismatch");this.resume(),t.close?i.pop():this.enter({type:"mdxJsxTextTag"===e.type?"mdxJsxTextElement":"mdxJsxFlowElement",name:t.name||null,attributes:t.attributes,children:[]},e,b),t.selfClosing||t.close?this.exit(e,w):i.push(t)}function b(e,t){const i=this.data.mdxJsxTagStack,n=i[i.length-1],r=e?" before the end of `"+e.type+"`":"",s=e?{start:e.start,end:e.end}:void 0;throw new ot("Expected a closing tag for `"+k(n)+"` ("+lt({start:t.start,end:t.end})+")"+r,s,"mdast-util-mdx-jsx:end-tag-mismatch")}function w(e,t){const i=this.data.mdxJsxTag;throw new ot("Expected the closing tag `"+k(i)+"` either after the end of `"+t.type+"` ("+lt(t.end)+") or another opening tag after the start of `"+t.type+"` ("+lt(t.start)+")",{start:e.start,end:e.end},"mdast-util-mdx-jsx:end-tag-mismatch")}function k(e){return"<"+(e.close?"/":"")+(e.name||"")+">"}}function Un(e){const t=e||{},i=t.quote||'"',n=t.quoteSmart||!1,r=t.tightSelfClosing||!1,s=t.printWidth||Number.POSITIVE_INFINITY,a='"'===i?"'":'"';if('"'!==i&&"'"!==i)throw new Error("Cannot serialize attribute values with `"+i+"` for `options.quote`, expected `\"`, or `'`");return o.peek=qn,{handlers:{mdxJsxFlowElement:o,mdxJsxTextElement:o},unsafe:[{character:"<",inConstruct:["phrasing"]},{atBreak:!0,character:"<"}],fences:!0,resourceLink:!0};function o(e,t,o,l){const c="mdxJsxFlowElement"===e.type,h=!!e.name&&(!e.children||0===e.children.length),p=Jn(zn(o)),u=o.createTracker(l),d=o.createTracker(l),f=[],m=(c?p:"")+"<"+(e.name||""),g=o.enter(e.type);if(u.move(m),d.move(m),e.attributes&&e.attributes.length>0){if(!e.name)throw new Error("Cannot serialize fragment w/ attributes");let t=-1;for(;++t<e.attributes.length;){const r=e.attributes[t];let s;if("mdxJsxExpressionAttribute"===r.type)s="{"+(r.value||"")+"}";else{if(!r.name)throw new Error("Cannot serialize attribute w/o name");const e=r.value,t=r.name;let o="";if(null==e);else if("object"==typeof e)o="{"+(e.value||"")+"}";else{const t=n&&ct(e,i)>ct(e,a)?a:i;o=t+Fn(e,{subset:[t]})+t}s=t+(o?"=":"")+o}f.push(s)}}let x=!1;const y=f.join(" ");c&&(/\r?\n|\r/.test(y)||u.current().now.column+y.length+(h?r?2:3:1)>s)&&(x=!0);let v=u,b=m;if(x){v=d;let e=-1;for(;++e<f.length;)f[e]=p+" "+f[e];b+=v.move("\n"+f.join("\n")+"\n"+p)}else y&&(b+=v.move(" "+y));return h&&(b+=v.move((r||x?"":" ")+"/")),b+=v.move(">"),e.children&&e.children.length>0&&("mdxJsxTextElement"===e.type?b+=v.move(o.containerPhrasing(e,{...v.current(),before:">",after:"<"})):(v.shift(2),b+=v.move("\n"),b+=v.move(function(e,t,i){const n=t.indexStack,r=e.children,s=t.createTracker(i),a=Jn(zn(t)),o=[];let l=-1;n.push(-1);for(;++l<r.length;){const i=r[l];n[n.length-1]=l;const c={before:"\n",after:"\n",...s.current()},h=t.handle(i,e,t,c),p="mdxJsxFlowElement"===i.type?h:t.indentLines(h,function(e,t,i){return(i?"":a)+e});o.push(s.move(p)),"list"!==i.type&&(t.bulletLastUsed=void 0),l<r.length-1&&o.push(s.move("\n\n"))}return n.pop(),o.join("")}(e,o,v.current())),b+=v.move("\n"))),h||(b+=v.move((c?p:"")+"</"+(e.name||"")+">")),g(),b}}function zn(e){let t=0,i=e.stack.length;for(;--i>-1;){const n=e.stack[i];if("blockquote"===n||"listItem"===n)break;"mdxJsxFlowElement"===n&&t++}return t}function Jn(e){return" ".repeat(e)}function qn(){return"<"}function Gn(e){this.enter({type:"mdxjsEsm",value:""},e),this.buffer()}function Xn(e){const t=this.resume(),i=this.stack[this.stack.length-1];rt("mdxjsEsm"===i.type),this.exit(e);const n=e.estree;i.value=t,n&&(i.data={estree:n})}function Hn(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function Wn(e){return e.value||""}var $n=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,78,5,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,199,7,137,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,55,9,266,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239],Kn=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,7,25,39,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,5,57,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,24,43,261,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7381,42,31,98,114,8702,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,208,30,2,2,2,1,2,6,3,4,10,1,225,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4381,3,5773,3,7472,16,621,2467,541,1507,4938,6,8489],Qn="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ--ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Yn={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},Zn="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",er={5:Zn,"5module":Zn+" export import",6:Zn+" const class extends export import super"},tr=/^in(stanceof)?$/,ir=new RegExp("["+Qn+"]"),nr=new RegExp("["+Qn+"·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ--ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・]");function rr(e,t){for(var i=65536,n=0;n<t.length;n+=2){if((i+=t[n])>e)return!1;if((i+=t[n+1])>=e)return!0}return!1}function sr(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&ir.test(String.fromCharCode(e)):!1!==t&&rr(e,Kn)))}function ar(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&nr.test(String.fromCharCode(e)):!1!==t&&(rr(e,Kn)||rr(e,$n)))))}var or=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function lr(e,t){return new or(e,{beforeExpr:!0,binop:t})}var cr={beforeExpr:!0},hr={startsExpr:!0},pr={};function ur(e,t){return void 0===t&&(t={}),t.keyword=e,pr[e]=new or(e,t)}var dr={num:new or("num",hr),regexp:new or("regexp",hr),string:new or("string",hr),name:new or("name",hr),privateId:new or("privateId",hr),eof:new or("eof"),bracketL:new or("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new or("]"),braceL:new or("{",{beforeExpr:!0,startsExpr:!0}),braceR:new or("}"),parenL:new or("(",{beforeExpr:!0,startsExpr:!0}),parenR:new or(")"),comma:new or(",",cr),semi:new or(";",cr),colon:new or(":",cr),dot:new or("."),question:new or("?",cr),questionDot:new or("?."),arrow:new or("=>",cr),template:new or("template"),invalidTemplate:new or("invalidTemplate"),ellipsis:new or("...",cr),backQuote:new or("`",hr),dollarBraceL:new or("${",{beforeExpr:!0,startsExpr:!0}),eq:new or("=",{beforeExpr:!0,isAssign:!0}),assign:new or("_=",{beforeExpr:!0,isAssign:!0}),incDec:new or("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new or("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:lr("||",1),logicalAND:lr("&&",2),bitwiseOR:lr("|",3),bitwiseXOR:lr("^",4),bitwiseAND:lr("&",5),equality:lr("==/!=/===/!==",6),relational:lr("</>/<=/>=",7),bitShift:lr("<</>>/>>>",8),plusMin:new or("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:lr("%",10),star:lr("*",10),slash:lr("/",10),starstar:new or("**",{beforeExpr:!0}),coalesce:lr("??",1),_break:ur("break"),_case:ur("case",cr),_catch:ur("catch"),_continue:ur("continue"),_debugger:ur("debugger"),_default:ur("default",cr),_do:ur("do",{isLoop:!0,beforeExpr:!0}),_else:ur("else",cr),_finally:ur("finally"),_for:ur("for",{isLoop:!0}),_function:ur("function",hr),_if:ur("if"),_return:ur("return",cr),_switch:ur("switch"),_throw:ur("throw",cr),_try:ur("try"),_var:ur("var"),_const:ur("const"),_while:ur("while",{isLoop:!0}),_with:ur("with"),_new:ur("new",{beforeExpr:!0,startsExpr:!0}),_this:ur("this",hr),_super:ur("super",hr),_class:ur("class",hr),_extends:ur("extends",cr),_export:ur("export"),_import:ur("import",hr),_null:ur("null",hr),_true:ur("true",hr),_false:ur("false",hr),_in:ur("in",{beforeExpr:!0,binop:7}),_instanceof:ur("instanceof",{beforeExpr:!0,binop:7}),_typeof:ur("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:ur("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:ur("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},fr=/\r\n?|\n|\u2028|\u2029/,mr=new RegExp(fr.source,"g");function gr(e){return 10===e||13===e||8232===e||8233===e}function xr(e,t,i){void 0===i&&(i=e.length);for(var n=t;n<i;n++){var r=e.charCodeAt(n);if(gr(r))return n<i-1&&13===r&&10===e.charCodeAt(n+1)?n+2:n+1}return-1}var yr=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,vr=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,br=Object.prototype,wr=br.hasOwnProperty,kr=br.toString,Er=Object.hasOwn||function(e,t){return wr.call(e,t)},Sr=Array.isArray||function(e){return"[object Array]"===kr.call(e)},Cr=Object.create(null);function Ar(e){return Cr[e]||(Cr[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function _r(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}var Nr=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Ir=function(e,t){this.line=e,this.column=t};Ir.prototype.offset=function(e){return new Ir(this.line,this.column+e)};var Tr=function(e,t,i){this.start=t,this.end=i,null!==e.sourceFile&&(this.source=e.sourceFile)};function Pr(e,t){for(var i=1,n=0;;){var r=xr(e,n,t);if(r<0)return new Ir(i,t-n);++i,n=r}}var Lr={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},Vr=!1;function Rr(e){var t={};for(var i in Lr)t[i]=e&&Er(e,i)?e[i]:Lr[i];if("latest"===t.ecmaVersion?t.ecmaVersion=1e8:null==t.ecmaVersion?(!Vr&&"object"==typeof console&&console.warn&&(Vr=!0,console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),e&&null!=e.allowHashBang||(t.allowHashBang=t.ecmaVersion>=14),Sr(t.onToken)){var n=t.onToken;t.onToken=function(e){return n.push(e)}}if(Sr(t.onComment)&&(t.onComment=function(e,t){return function(i,n,r,s,a,o){var l={type:i?"Block":"Line",value:n,start:r,end:s};e.locations&&(l.loc=new Tr(this,a,o)),e.ranges&&(l.range=[r,s]),t.push(l)}}(t,t.onComment)),"commonjs"===t.sourceType&&t.allowAwaitOutsideFunction)throw new Error("Cannot use allowAwaitOutsideFunction with sourceType: commonjs");return t}var Or=256,jr=259;function Dr(e,t){return 2|(e?4:0)|(t?8:0)}var Mr=function(e,t,i){this.options=e=Rr(e),this.sourceFile=e.sourceFile,this.keywords=Ar(er[e.ecmaVersion>=6?6:"module"===e.sourceType?"5module":5]);var n="";!0!==e.allowReserved&&(n=Yn[e.ecmaVersion>=6?6:5===e.ecmaVersion?5:3],"module"===e.sourceType&&(n+=" await")),this.reservedWords=Ar(n);var r=(n?n+" ":"")+Yn.strict;this.reservedWordsStrict=Ar(r),this.reservedWordsStrictBind=Ar(r+" "+Yn.strictBind),this.input=String(t),this.containsEsc=!1,i?(this.pos=i,this.lineStart=this.input.lastIndexOf("\n",i-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(fr).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=dr.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope("commonjs"===this.options.sourceType?2:1),this.regexpState=null,this.privateNameStack=[]},Fr={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowReturn:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},allowUsing:{configurable:!0},inClassStaticBlock:{configurable:!0}};Mr.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},Fr.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},Fr.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0},Fr.inAsync.get=function(){return(4&this.currentVarScope().flags)>0},Fr.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e].flags;if(768&t)return!1;if(2&t)return(4&t)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},Fr.allowReturn.get=function(){return!!this.inFunction||!!(this.options.allowReturnOutsideFunction&&1&this.currentVarScope().flags)},Fr.allowSuper.get=function(){return(64&this.currentThisScope().flags)>0||this.options.allowSuperOutsideMethod},Fr.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},Fr.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},Fr.allowNewDotTarget.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e].flags;if(768&t||2&t&&!(16&t))return!0}return!1},Fr.allowUsing.get=function(){var e=this.currentScope().flags;return!(1024&e)&&!(!this.inModule&&1&e)},Fr.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&Or)>0},Mr.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var i=this,n=0;n<e.length;n++)i=e[n](i);return i},Mr.parse=function(e,t){return new this(t,e).parse()},Mr.parseExpressionAt=function(e,t,i){var n=new this(i,e,t);return n.nextToken(),n.parseExpression()},Mr.tokenizer=function(e,t){return new this(t,e)},Object.defineProperties(Mr.prototype,Fr);var Br=Mr.prototype,Ur=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;Br.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){vr.lastIndex=e,e+=vr.exec(this.input)[0].length;var t=Ur.exec(this.input.slice(e));if(!t)return!1;if("use strict"===(t[1]||t[2])){vr.lastIndex=e+t[0].length;var i=vr.exec(this.input),n=i.index+i[0].length,r=this.input.charAt(n);return";"===r||"}"===r||fr.test(i[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(r)||"!"===r&&"="===this.input.charAt(n+1))}e+=t[0].length,vr.lastIndex=e,e+=vr.exec(this.input)[0].length,";"===this.input[e]&&e++}},Br.eat=function(e){return this.type===e&&(this.next(),!0)},Br.isContextual=function(e){return this.type===dr.name&&this.value===e&&!this.containsEsc},Br.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},Br.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},Br.canInsertSemicolon=function(){return this.type===dr.eof||this.type===dr.braceR||fr.test(this.input.slice(this.lastTokEnd,this.start))},Br.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Br.semicolon=function(){this.eat(dr.semi)||this.insertSemicolon()||this.unexpected()},Br.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},Br.expect=function(e){this.eat(e)||this.unexpected()},Br.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")};var zr=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};Br.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var i=t?e.parenthesizedAssign:e.parenthesizedBind;i>-1&&this.raiseRecoverable(i,t?"Assigning to rvalue":"Parenthesized pattern")}},Br.checkExpressionErrors=function(e,t){if(!e)return!1;var i=e.shorthandAssign,n=e.doubleProto;if(!t)return i>=0||n>=0;i>=0&&this.raise(i,"Shorthand property assignments are valid only in destructuring patterns"),n>=0&&this.raiseRecoverable(n,"Redefinition of __proto__ property")},Br.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},Br.isSimpleAssignTarget=function(e){return"ParenthesizedExpression"===e.type?this.isSimpleAssignTarget(e.expression):"Identifier"===e.type||"MemberExpression"===e.type};var Jr=Mr.prototype;Jr.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==dr.eof;){var i=this.parseStatement(null,!0,t);e.body.push(i)}if(this.inModule)for(var n=0,r=Object.keys(this.undefinedExports);n<r.length;n+=1){var s=r[n];this.raiseRecoverable(this.undefinedExports[s].start,"Export '"+s+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType="commonjs"===this.options.sourceType?"script":this.options.sourceType,this.finishNode(e,"Program")};var qr={kind:"loop"},Gr={kind:"switch"};Jr.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;vr.lastIndex=this.pos;var t=vr.exec(this.input),i=this.pos+t[0].length,n=this.fullCharCodeAt(i);if(91===n||92===n)return!0;if(e)return!1;if(123===n)return!0;if(sr(n)){var r=i;do{i+=n<=65535?1:2}while(ar(n=this.fullCharCodeAt(i)));if(92===n)return!0;var s=this.input.slice(r,i);if(!tr.test(s))return!0}return!1},Jr.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;vr.lastIndex=this.pos;var e,t=vr.exec(this.input),i=this.pos+t[0].length;return!(fr.test(this.input.slice(this.pos,i))||"function"!==this.input.slice(i,i+8)||i+8!==this.input.length&&(ar(e=this.fullCharCodeAt(i+8))||92===e))},Jr.isUsingKeyword=function(e,t){if(this.options.ecmaVersion<17||!this.isContextual(e?"await":"using"))return!1;vr.lastIndex=this.pos;var i=vr.exec(this.input),n=this.pos+i[0].length;if(fr.test(this.input.slice(this.pos,n)))return!1;if(e){var r,s=n+5;if("using"!==this.input.slice(n,s)||s===this.input.length||ar(r=this.fullCharCodeAt(s))||92===r)return!1;vr.lastIndex=s;var a=vr.exec(this.input);if(n=s+a[0].length,a&&fr.test(this.input.slice(s,n)))return!1}var o=this.fullCharCodeAt(n);if(!sr(o)&&92!==o)return!1;var l=n;do{n+=o<=65535?1:2}while(ar(o=this.fullCharCodeAt(n)));if(92===o)return!0;var c=this.input.slice(l,n);return!(tr.test(c)||t&&"of"===c)},Jr.isAwaitUsing=function(e){return this.isUsingKeyword(!0,e)},Jr.isUsing=function(e){return this.isUsingKeyword(!1,e)},Jr.parseStatement=function(e,t,i){var n,r=this.type,s=this.startNode();switch(this.isLet(e)&&(r=dr._var,n="let"),r){case dr._break:case dr._continue:return this.parseBreakContinueStatement(s,r.keyword);case dr._debugger:return this.parseDebuggerStatement(s);case dr._do:return this.parseDoStatement(s);case dr._for:return this.parseForStatement(s);case dr._function:return e&&(this.strict||"if"!==e&&"label"!==e)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(s,!1,!e);case dr._class:return e&&this.unexpected(),this.parseClass(s,!0);case dr._if:return this.parseIfStatement(s);case dr._return:return this.parseReturnStatement(s);case dr._switch:return this.parseSwitchStatement(s);case dr._throw:return this.parseThrowStatement(s);case dr._try:return this.parseTryStatement(s);case dr._const:case dr._var:return n=n||this.value,e&&"var"!==n&&this.unexpected(),this.parseVarStatement(s,n);case dr._while:return this.parseWhileStatement(s);case dr._with:return this.parseWithStatement(s);case dr.braceL:return this.parseBlock(!0,s);case dr.semi:return this.parseEmptyStatement(s);case dr._export:case dr._import:if(this.options.ecmaVersion>10&&r===dr._import){vr.lastIndex=this.pos;var a=vr.exec(this.input),o=this.pos+a[0].length,l=this.input.charCodeAt(o);if(40===l||46===l)return this.parseExpressionStatement(s,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),r===dr._import?this.parseImport(s):this.parseExport(s,i);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(s,!0,!e);var c=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(c)return this.allowUsing||this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script` or in the bare case statement"),"await using"===c&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(s,!1,c),this.semicolon(),this.finishNode(s,"VariableDeclaration");var h=this.value,p=this.parseExpression();return r===dr.name&&"Identifier"===p.type&&this.eat(dr.colon)?this.parseLabeledStatement(s,h,p,e):this.parseExpressionStatement(s,p)}},Jr.parseBreakContinueStatement=function(e,t){var i="break"===t;this.next(),this.eat(dr.semi)||this.insertSemicolon()?e.label=null:this.type!==dr.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var n=0;n<this.labels.length;++n){var r=this.labels[n];if(null==e.label||r.name===e.label.name){if(null!=r.kind&&(i||"loop"===r.kind))break;if(e.label&&i)break}}return n===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,i?"BreakStatement":"ContinueStatement")},Jr.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},Jr.parseDoStatement=function(e){return this.next(),this.labels.push(qr),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(dr._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(dr.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},Jr.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(qr),this.enterScope(0),this.expect(dr.parenL),this.type===dr.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var i=this.isLet();if(this.type===dr._var||this.type===dr._const||i){var n=this.startNode(),r=i?"let":this.value;return this.next(),this.parseVar(n,!0,r),this.finishNode(n,"VariableDeclaration"),this.parseForAfterInit(e,n,t)}var s=this.isContextual("let"),a=!1,o=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(o){var l=this.startNode();return this.next(),"await using"===o&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.parseVar(l,!0,o),this.finishNode(l,"VariableDeclaration"),this.parseForAfterInit(e,l,t)}var c=this.containsEsc,h=new zr,p=this.start,u=t>-1?this.parseExprSubscripts(h,"await"):this.parseExpression(!0,h);return this.type===dr._in||(a=this.options.ecmaVersion>=6&&this.isContextual("of"))?(t>-1?(this.type===dr._in&&this.unexpected(t),e.await=!0):a&&this.options.ecmaVersion>=8&&(u.start!==p||c||"Identifier"!==u.type||"async"!==u.name?this.options.ecmaVersion>=9&&(e.await=!1):this.unexpected()),s&&a&&this.raise(u.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(u,!1,h),this.checkLValPattern(u),this.parseForIn(e,u)):(this.checkExpressionErrors(h,!0),t>-1&&this.unexpected(t),this.parseFor(e,u))},Jr.parseForAfterInit=function(e,t,i){return(this.type===dr._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===t.declarations.length?(this.options.ecmaVersion>=9&&(this.type===dr._in?i>-1&&this.unexpected(i):e.await=i>-1),this.parseForIn(e,t)):(i>-1&&this.unexpected(i),this.parseFor(e,t))},Jr.parseFunctionStatement=function(e,t,i){return this.next(),this.parseFunction(e,Hr|(i?0:Wr),!1,t)},Jr.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(dr._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},Jr.parseReturnStatement=function(e){return this.allowReturn||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(dr.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},Jr.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(dr.braceL),this.labels.push(Gr),this.enterScope(1024);for(var i=!1;this.type!==dr.braceR;)if(this.type===dr._case||this.type===dr._default){var n=this.type===dr._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),n?t.test=this.parseExpression():(i&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),i=!0,t.test=null),this.expect(dr.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},Jr.parseThrowStatement=function(e){return this.next(),fr.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var Xr=[];Jr.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t="Identifier"===e.type;return this.enterScope(t?32:0),this.checkLValPattern(e,t?4:2),this.expect(dr.parenR),e},Jr.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===dr._catch){var t=this.startNode();this.next(),this.eat(dr.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(dr._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},Jr.parseVarStatement=function(e,t,i){return this.next(),this.parseVar(e,!1,t,i),this.semicolon(),this.finishNode(e,"VariableDeclaration")},Jr.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(qr),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},Jr.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},Jr.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},Jr.parseLabeledStatement=function(e,t,i,n){for(var r=0,s=this.labels;r<s.length;r+=1){s[r].name===t&&this.raise(i.start,"Label '"+t+"' is already declared")}for(var a=this.type.isLoop?"loop":this.type===dr._switch?"switch":null,o=this.labels.length-1;o>=0;o--){var l=this.labels[o];if(l.statementStart!==e.start)break;l.statementStart=this.start,l.kind=a}return this.labels.push({name:t,kind:a,statementStart:this.start}),e.body=this.parseStatement(n?-1===n.indexOf("label")?n+"label":n:"label"),this.labels.pop(),e.label=i,this.finishNode(e,"LabeledStatement")},Jr.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},Jr.parseBlock=function(e,t,i){for(void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),t.body=[],this.expect(dr.braceL),e&&this.enterScope(0);this.type!==dr.braceR;){var n=this.parseStatement(null);t.body.push(n)}return i&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},Jr.parseFor=function(e,t){return e.init=t,this.expect(dr.semi),e.test=this.type===dr.semi?null:this.parseExpression(),this.expect(dr.semi),e.update=this.type===dr.parenR?null:this.parseExpression(),this.expect(dr.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},Jr.parseForIn=function(e,t){var i=this.type===dr._in;return this.next(),"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!i||this.options.ecmaVersion<8||this.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)&&this.raise(t.start,(i?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=i?this.parseExpression():this.parseMaybeAssign(),this.expect(dr.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,i?"ForInStatement":"ForOfStatement")},Jr.parseVar=function(e,t,i,n){for(e.declarations=[],e.kind=i;;){var r=this.startNode();if(this.parseVarId(r,i),this.eat(dr.eq)?r.init=this.parseMaybeAssign(t):n||"const"!==i||this.type===dr._in||this.options.ecmaVersion>=6&&this.isContextual("of")?n||"using"!==i&&"await using"!==i||!(this.options.ecmaVersion>=17)||this.type===dr._in||this.isContextual("of")?n||"Identifier"===r.id.type||t&&(this.type===dr._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.raise(this.lastTokEnd,"Missing initializer in "+i+" declaration"):this.unexpected(),e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(dr.comma))break}return e},Jr.parseVarId=function(e,t){e.id="using"===t||"await using"===t?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(e.id,"var"===t?1:2,!1)};var Hr=1,Wr=2;function $r(e,t){var i=t.key.name,n=e[i],r="true";return"MethodDefinition"!==t.type||"get"!==t.kind&&"set"!==t.kind||(r=(t.static?"s":"i")+t.kind),"iget"===n&&"iset"===r||"iset"===n&&"iget"===r||"sget"===n&&"sset"===r||"sset"===n&&"sget"===r?(e[i]="true",!1):!!n||(e[i]=r,!1)}function Kr(e,t){var i=e.computed,n=e.key;return!i&&("Identifier"===n.type&&n.name===t||"Literal"===n.type&&n.value===t)}Jr.parseFunction=function(e,t,i,n,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n)&&(this.type===dr.star&&t&Wr&&this.unexpected(),e.generator=this.eat(dr.star)),this.options.ecmaVersion>=8&&(e.async=!!n),t&Hr&&(e.id=4&t&&this.type!==dr.name?null:this.parseIdent(),!e.id||t&Wr||this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?1:2:3));var s=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Dr(e.async,e.generator)),t&Hr||(e.id=this.type===dr.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,i,!1,r),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=o,this.finishNode(e,t&Hr?"FunctionDeclaration":"FunctionExpression")},Jr.parseFunctionParams=function(e){this.expect(dr.parenL),e.params=this.parseBindingList(dr.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},Jr.parseClass=function(e,t){this.next();var i=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var n=this.enterClassBody(),r=this.startNode(),s=!1;for(r.body=[],this.expect(dr.braceL);this.type!==dr.braceR;){var a=this.parseClassElement(null!==e.superClass);a&&(r.body.push(a),"MethodDefinition"===a.type&&"constructor"===a.kind?(s&&this.raiseRecoverable(a.start,"Duplicate constructor in the same class"),s=!0):a.key&&"PrivateIdentifier"===a.key.type&&$r(n,a)&&this.raiseRecoverable(a.key.start,"Identifier '#"+a.key.name+"' has already been declared"))}return this.strict=i,this.next(),e.body=this.finishNode(r,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},Jr.parseClassElement=function(e){if(this.eat(dr.semi))return null;var t=this.options.ecmaVersion,i=this.startNode(),n="",r=!1,s=!1,a="method",o=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(dr.braceL))return this.parseClassStaticBlock(i),i;this.isClassElementNameStart()||this.type===dr.star?o=!0:n="static"}if(i.static=o,!n&&t>=8&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==dr.star||this.canInsertSemicolon()?n="async":s=!0),!n&&(t>=9||!s)&&this.eat(dr.star)&&(r=!0),!n&&!s&&!r){var l=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?a=l:n=l)}if(n?(i.computed=!1,i.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),i.key.name=n,this.finishNode(i.key,"Identifier")):this.parseClassElementName(i),t<13||this.type===dr.parenL||"method"!==a||r||s){var c=!i.static&&Kr(i,"constructor"),h=c&&e;c&&"method"!==a&&this.raise(i.key.start,"Constructor can't have get/set modifier"),i.kind=c?"constructor":a,this.parseClassMethod(i,r,s,h)}else this.parseClassField(i);return i},Jr.isClassElementNameStart=function(){return this.type===dr.name||this.type===dr.privateId||this.type===dr.num||this.type===dr.string||this.type===dr.bracketL||this.type.keyword},Jr.parseClassElementName=function(e){this.type===dr.privateId?("constructor"===this.value&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},Jr.parseClassMethod=function(e,t,i,n){var r=e.key;"constructor"===e.kind?(t&&this.raise(r.start,"Constructor can't be a generator"),i&&this.raise(r.start,"Constructor can't be an async method")):e.static&&Kr(e,"prototype")&&this.raise(r.start,"Classes may not have a static property named prototype");var s=e.value=this.parseMethod(t,i,n);return"get"===e.kind&&0!==s.params.length&&this.raiseRecoverable(s.start,"getter should have no params"),"set"===e.kind&&1!==s.params.length&&this.raiseRecoverable(s.start,"setter should have exactly one param"),"set"===e.kind&&"RestElement"===s.params[0].type&&this.raiseRecoverable(s.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},Jr.parseClassField=function(e){return Kr(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&Kr(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(dr.eq)?(this.enterScope(576),e.value=this.parseMaybeAssign(),this.exitScope()):e.value=null,this.semicolon(),this.finishNode(e,"PropertyDefinition")},Jr.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(320);this.type!==dr.braceR;){var i=this.parseStatement(null);e.body.push(i)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},Jr.parseClassId=function(e,t){this.type===dr.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,2,!1)):(!0===t&&this.unexpected(),e.id=null)},Jr.parseClassSuper=function(e){e.superClass=this.eat(dr._extends)?this.parseExprSubscripts(null,!1):null},Jr.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},Jr.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,i=e.used;if(this.options.checkPrivateFields)for(var n=this.privateNameStack.length,r=0===n?null:this.privateNameStack[n-1],s=0;s<i.length;++s){var a=i[s];Er(t,a.name)||(r?r.used.push(a):this.raiseRecoverable(a.start,"Private field '#"+a.name+"' must be declared in an enclosing class"))}},Jr.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==dr.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")},Jr.parseExport=function(e,t){if(this.next(),this.eat(dr.star))return this.parseExportAllDeclaration(e,t);if(this.eat(dr._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[]);else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==dr.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause());else{for(var i=0,n=e.specifiers;i<n.length;i+=1){var r=n[i];this.checkUnreserved(r.local),this.checkLocalExport(r.local),"Literal"===r.local.type&&this.raise(r.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[])}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},Jr.parseExportDeclaration=function(e){return this.parseStatement(null)},Jr.parseExportDefaultDeclaration=function(){var e;if(this.type===dr._function||(e=this.isAsyncFunction())){var t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,4|Hr,!1,e)}if(this.type===dr._class){var i=this.startNode();return this.parseClass(i,"nullableID")}var n=this.parseMaybeAssign();return this.semicolon(),n},Jr.checkExport=function(e,t,i){e&&("string"!=typeof t&&(t="Identifier"===t.type?t.name:t.value),Er(e,t)&&this.raiseRecoverable(i,"Duplicate export '"+t+"'"),e[t]=!0)},Jr.checkPatternExport=function(e,t){var i=t.type;if("Identifier"===i)this.checkExport(e,t,t.start);else if("ObjectPattern"===i)for(var n=0,r=t.properties;n<r.length;n+=1){var s=r[n];this.checkPatternExport(e,s)}else if("ArrayPattern"===i)for(var a=0,o=t.elements;a<o.length;a+=1){var l=o[a];l&&this.checkPatternExport(e,l)}else"Property"===i?this.checkPatternExport(e,t.value):"AssignmentPattern"===i?this.checkPatternExport(e,t.left):"RestElement"===i&&this.checkPatternExport(e,t.argument)},Jr.checkVariableExport=function(e,t){if(e)for(var i=0,n=t;i<n.length;i+=1){var r=n[i];this.checkPatternExport(e,r.id)}},Jr.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},Jr.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")},Jr.parseExportSpecifiers=function(e){var t=[],i=!0;for(this.expect(dr.braceL);!this.eat(dr.braceR);){if(i)i=!1;else if(this.expect(dr.comma),this.afterTrailingComma(dr.braceR))break;t.push(this.parseExportSpecifier(e))}return t},Jr.parseImport=function(e){return this.next(),this.type===dr.string?(e.specifiers=Xr,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===dr.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},Jr.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportSpecifier")},Jr.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportDefaultSpecifier")},Jr.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportNamespaceSpecifier")},Jr.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===dr.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(dr.comma)))return e;if(this.type===dr.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(dr.braceL);!this.eat(dr.braceR);){if(t)t=!1;else if(this.expect(dr.comma),this.afterTrailingComma(dr.braceR))break;e.push(this.parseImportSpecifier())}return e},Jr.parseWithClause=function(){var e=[];if(!this.eat(dr._with))return e;this.expect(dr.braceL);for(var t={},i=!0;!this.eat(dr.braceR);){if(i)i=!1;else if(this.expect(dr.comma),this.afterTrailingComma(dr.braceR))break;var n=this.parseImportAttribute(),r="Identifier"===n.key.type?n.key.name:n.key.value;Er(t,r)&&this.raiseRecoverable(n.key.start,"Duplicate attribute key '"+r+"'"),t[r]=!0,e.push(n)}return e},Jr.parseImportAttribute=function(){var e=this.startNode();return e.key=this.type===dr.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved),this.expect(dr.colon),this.type!==dr.string&&this.unexpected(),e.value=this.parseExprAtom(),this.finishNode(e,"ImportAttribute")},Jr.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===dr.string){var e=this.parseLiteral(this.value);return Nr.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)},Jr.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)},Jr.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&('"'===this.input[e.start]||"'"===this.input[e.start])};var Qr=Mr.prototype;Qr.toAssignable=function(e,t,i){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",i&&this.checkPatternErrors(i,!0);for(var n=0,r=e.properties;n<r.length;n+=1){var s=r[n];this.toAssignable(s,t),"RestElement"!==s.type||"ArrayPattern"!==s.argument.type&&"ObjectPattern"!==s.argument.type||this.raise(s.argument.start,"Unexpected token")}break;case"Property":"init"!==e.kind&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",i&&this.checkPatternErrors(i,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),"AssignmentPattern"===e.argument.type&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":"="!==e.operator&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,i);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else i&&this.checkPatternErrors(i,!0);return e},Qr.toAssignableList=function(e,t){for(var i=e.length,n=0;n<i;n++){var r=e[n];r&&this.toAssignable(r,t)}if(i){var s=e[i-1];6===this.options.ecmaVersion&&t&&s&&"RestElement"===s.type&&"Identifier"!==s.argument.type&&this.unexpected(s.argument.start)}return e},Qr.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},Qr.parseRestBinding=function(){var e=this.startNode();return this.next(),6===this.options.ecmaVersion&&this.type!==dr.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},Qr.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case dr.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(dr.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case dr.braceL:return this.parseObj(!0)}return this.parseIdent()},Qr.parseBindingList=function(e,t,i,n){for(var r=[],s=!0;!this.eat(e);)if(s?s=!1:this.expect(dr.comma),t&&this.type===dr.comma)r.push(null);else{if(i&&this.afterTrailingComma(e))break;if(this.type===dr.ellipsis){var a=this.parseRestBinding();this.parseBindingListItem(a),r.push(a),this.type===dr.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}r.push(this.parseAssignableListItem(n))}return r},Qr.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t},Qr.parseBindingListItem=function(e){return e},Qr.parseMaybeDefault=function(e,t,i){if(i=i||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(dr.eq))return i;var n=this.startNodeAt(e,t);return n.left=i,n.right=this.parseMaybeAssign(),this.finishNode(n,"AssignmentPattern")},Qr.checkLValSimple=function(e,t,i){void 0===t&&(t=0);var n=0!==t;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(n?"Binding ":"Assigning to ")+e.name+" in strict mode"),n&&(2===t&&"let"===e.name&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),i&&(Er(i,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),i[e.name]=!0),5!==t&&this.declareName(e.name,t,e.start));break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":n&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return n&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,i);default:this.raise(e.start,(n?"Binding":"Assigning to")+" rvalue")}},Qr.checkLValPattern=function(e,t,i){switch(void 0===t&&(t=0),e.type){case"ObjectPattern":for(var n=0,r=e.properties;n<r.length;n+=1){var s=r[n];this.checkLValInnerPattern(s,t,i)}break;case"ArrayPattern":for(var a=0,o=e.elements;a<o.length;a+=1){var l=o[a];l&&this.checkLValInnerPattern(l,t,i)}break;default:this.checkLValSimple(e,t,i)}},Qr.checkLValInnerPattern=function(e,t,i){switch(void 0===t&&(t=0),e.type){case"Property":this.checkLValInnerPattern(e.value,t,i);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,i);break;case"RestElement":this.checkLValPattern(e.argument,t,i);break;default:this.checkLValPattern(e,t,i)}};var Yr=function(e,t,i,n,r){this.token=e,this.isExpr=!!t,this.preserveSpace=!!i,this.override=n,this.generator=!!r},Zr={b_stat:new Yr("{",!1),b_expr:new Yr("{",!0),b_tmpl:new Yr("${",!1),p_stat:new Yr("(",!1),p_expr:new Yr("(",!0),q_tmpl:new Yr("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new Yr("function",!1),f_expr:new Yr("function",!0),f_expr_gen:new Yr("function",!0,!1,null,!0),f_gen:new Yr("function",!1,!1,null,!0)},es=Mr.prototype;es.initialContext=function(){return[Zr.b_stat]},es.curContext=function(){return this.context[this.context.length-1]},es.braceIsBlock=function(e){var t=this.curContext();return t===Zr.f_expr||t===Zr.f_stat||(e!==dr.colon||t!==Zr.b_stat&&t!==Zr.b_expr?e===dr._return||e===dr.name&&this.exprAllowed?fr.test(this.input.slice(this.lastTokEnd,this.start)):e===dr._else||e===dr.semi||e===dr.eof||e===dr.parenR||e===dr.arrow||(e===dr.braceL?t===Zr.b_stat:e!==dr._var&&e!==dr._const&&e!==dr.name&&!this.exprAllowed):!t.isExpr)},es.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},es.updateContext=function(e){var t,i=this.type;i.keyword&&e===dr.dot?this.exprAllowed=!1:(t=i.updateContext)?t.call(this,e):this.exprAllowed=i.beforeExpr},es.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)},dr.parenR.updateContext=dr.braceR.updateContext=function(){if(1!==this.context.length){var e=this.context.pop();e===Zr.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},dr.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?Zr.b_stat:Zr.b_expr),this.exprAllowed=!0},dr.dollarBraceL.updateContext=function(){this.context.push(Zr.b_tmpl),this.exprAllowed=!0},dr.parenL.updateContext=function(e){var t=e===dr._if||e===dr._for||e===dr._with||e===dr._while;this.context.push(t?Zr.p_stat:Zr.p_expr),this.exprAllowed=!0},dr.incDec.updateContext=function(){},dr._function.updateContext=dr._class.updateContext=function(e){!e.beforeExpr||e===dr._else||e===dr.semi&&this.curContext()!==Zr.p_stat||e===dr._return&&fr.test(this.input.slice(this.lastTokEnd,this.start))||(e===dr.colon||e===dr.braceL)&&this.curContext()===Zr.b_stat?this.context.push(Zr.f_stat):this.context.push(Zr.f_expr),this.exprAllowed=!1},dr.colon.updateContext=function(){"function"===this.curContext().token&&this.context.pop(),this.exprAllowed=!0},dr.backQuote.updateContext=function(){this.curContext()===Zr.q_tmpl?this.context.pop():this.context.push(Zr.q_tmpl),this.exprAllowed=!1},dr.star.updateContext=function(e){if(e===dr._function){var t=this.context.length-1;this.context[t]===Zr.f_expr?this.context[t]=Zr.f_expr_gen:this.context[t]=Zr.f_gen}this.exprAllowed=!0},dr.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==dr.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var ts=Mr.prototype;function is(e){return"Identifier"===e.type||"ParenthesizedExpression"===e.type&&is(e.expression)}function ns(e){return"MemberExpression"===e.type&&"PrivateIdentifier"===e.property.type||"ChainExpression"===e.type&&ns(e.expression)||"ParenthesizedExpression"===e.type&&ns(e.expression)}ts.checkPropClash=function(e,t,i){if(!(this.options.ecmaVersion>=9&&"SpreadElement"===e.type||this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var n,r=e.key;switch(r.type){case"Identifier":n=r.name;break;case"Literal":n=String(r.value);break;default:return}var s=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===n&&"init"===s&&(t.proto&&(i?i.doubleProto<0&&(i.doubleProto=r.start):this.raiseRecoverable(r.start,"Redefinition of __proto__ property")),t.proto=!0);else{var a=t[n="$"+n];if(a)("init"===s?this.strict&&a.init||a.get||a.set:a.init||a[s])&&this.raiseRecoverable(r.start,"Redefinition of property");else a=t[n]={init:!1,get:!1,set:!1};a[s]=!0}}},ts.parseExpression=function(e,t){var i=this.start,n=this.startLoc,r=this.parseMaybeAssign(e,t);if(this.type===dr.comma){var s=this.startNodeAt(i,n);for(s.expressions=[r];this.eat(dr.comma);)s.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(s,"SequenceExpression")}return r},ts.parseMaybeAssign=function(e,t,i){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var n=!1,r=-1,s=-1,a=-1;t?(r=t.parenthesizedAssign,s=t.trailingComma,a=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new zr,n=!0);var o=this.start,l=this.startLoc;this.type!==dr.parenL&&this.type!==dr.name||(this.potentialArrowAt=this.start,this.potentialArrowInForAwait="await"===e);var c=this.parseMaybeConditional(e,t);if(i&&(c=i.call(this,c,o,l)),this.type.isAssign){var h=this.startNodeAt(o,l);return h.operator=this.value,this.type===dr.eq&&(c=this.toAssignable(c,!1,t)),n||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=c.start&&(t.shorthandAssign=-1),this.type===dr.eq?this.checkLValPattern(c):this.checkLValSimple(c),h.left=c,this.next(),h.right=this.parseMaybeAssign(e),a>-1&&(t.doubleProto=a),this.finishNode(h,"AssignmentExpression")}return n&&this.checkExpressionErrors(t,!0),r>-1&&(t.parenthesizedAssign=r),s>-1&&(t.trailingComma=s),c},ts.parseMaybeConditional=function(e,t){var i=this.start,n=this.startLoc,r=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return r;if(this.eat(dr.question)){var s=this.startNodeAt(i,n);return s.test=r,s.consequent=this.parseMaybeAssign(),this.expect(dr.colon),s.alternate=this.parseMaybeAssign(e),this.finishNode(s,"ConditionalExpression")}return r},ts.parseExprOps=function(e,t){var i=this.start,n=this.startLoc,r=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||r.start===i&&"ArrowFunctionExpression"===r.type?r:this.parseExprOp(r,i,n,-1,e)},ts.parseExprOp=function(e,t,i,n,r){var s=this.type.binop;if(null!=s&&(!r||this.type!==dr._in)&&s>n){var a=this.type===dr.logicalOR||this.type===dr.logicalAND,o=this.type===dr.coalesce;o&&(s=dr.logicalAND.binop);var l=this.value;this.next();var c=this.start,h=this.startLoc,p=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,r),c,h,s,r),u=this.buildBinary(t,i,e,p,l,a||o);return(a&&this.type===dr.coalesce||o&&(this.type===dr.logicalOR||this.type===dr.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(u,t,i,n,r)}return e},ts.buildBinary=function(e,t,i,n,r,s){"PrivateIdentifier"===n.type&&this.raise(n.start,"Private identifier can only be left side of binary expression");var a=this.startNodeAt(e,t);return a.left=i,a.operator=r,a.right=n,this.finishNode(a,s?"LogicalExpression":"BinaryExpression")},ts.parseMaybeUnary=function(e,t,i,n){var r,s=this.start,a=this.startLoc;if(this.isContextual("await")&&this.canAwait)r=this.parseAwait(n),t=!0;else if(this.type.prefix){var o=this.startNode(),l=this.type===dr.incDec;o.operator=this.value,o.prefix=!0,this.next(),o.argument=this.parseMaybeUnary(null,!0,l,n),this.checkExpressionErrors(e,!0),l?this.checkLValSimple(o.argument):this.strict&&"delete"===o.operator&&is(o.argument)?this.raiseRecoverable(o.start,"Deleting local variable in strict mode"):"delete"===o.operator&&ns(o.argument)?this.raiseRecoverable(o.start,"Private fields can not be deleted"):t=!0,r=this.finishNode(o,l?"UpdateExpression":"UnaryExpression")}else if(t||this.type!==dr.privateId){if(r=this.parseExprSubscripts(e,n),this.checkExpressionErrors(e))return r;for(;this.type.postfix&&!this.canInsertSemicolon();){var c=this.startNodeAt(s,a);c.operator=this.value,c.prefix=!1,c.argument=r,this.checkLValSimple(r),this.next(),r=this.finishNode(c,"UpdateExpression")}}else(n||0===this.privateNameStack.length)&&this.options.checkPrivateFields&&this.unexpected(),r=this.parsePrivateIdent(),this.type!==dr._in&&this.unexpected();return i||!this.eat(dr.starstar)?r:t?void this.unexpected(this.lastTokStart):this.buildBinary(s,a,r,this.parseMaybeUnary(null,!1,!1,n),"**",!1)},ts.parseExprSubscripts=function(e,t){var i=this.start,n=this.startLoc,r=this.parseExprAtom(e,t);if("ArrowFunctionExpression"===r.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd))return r;var s=this.parseSubscripts(r,i,n,!1,t);return e&&"MemberExpression"===s.type&&(e.parenthesizedAssign>=s.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=s.start&&(e.parenthesizedBind=-1),e.trailingComma>=s.start&&(e.trailingComma=-1)),s},ts.parseSubscripts=function(e,t,i,n,r){for(var s=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,a=!1;;){var o=this.parseSubscript(e,t,i,n,s,a,r);if(o.optional&&(a=!0),o===e||"ArrowFunctionExpression"===o.type){if(a){var l=this.startNodeAt(t,i);l.expression=o,o=this.finishNode(l,"ChainExpression")}return o}e=o}},ts.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(dr.arrow)},ts.parseSubscriptAsyncArrow=function(e,t,i,n){return this.parseArrowExpression(this.startNodeAt(e,t),i,!0,n)},ts.parseSubscript=function(e,t,i,n,r,s,a){var o=this.options.ecmaVersion>=11,l=o&&this.eat(dr.questionDot);n&&l&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var c=this.eat(dr.bracketL);if(c||l&&this.type!==dr.parenL&&this.type!==dr.backQuote||this.eat(dr.dot)){var h=this.startNodeAt(t,i);h.object=e,c?(h.property=this.parseExpression(),this.expect(dr.bracketR)):this.type===dr.privateId&&"Super"!==e.type?h.property=this.parsePrivateIdent():h.property=this.parseIdent("never"!==this.options.allowReserved),h.computed=!!c,o&&(h.optional=l),e=this.finishNode(h,"MemberExpression")}else if(!n&&this.eat(dr.parenL)){var p=new zr,u=this.yieldPos,d=this.awaitPos,f=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var m=this.parseExprList(dr.parenR,this.options.ecmaVersion>=8,!1,p);if(r&&!l&&this.shouldParseAsyncArrow())return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=u,this.awaitPos=d,this.awaitIdentPos=f,this.parseSubscriptAsyncArrow(t,i,m,a);this.checkExpressionErrors(p,!0),this.yieldPos=u||this.yieldPos,this.awaitPos=d||this.awaitPos,this.awaitIdentPos=f||this.awaitIdentPos;var g=this.startNodeAt(t,i);g.callee=e,g.arguments=m,o&&(g.optional=l),e=this.finishNode(g,"CallExpression")}else if(this.type===dr.backQuote){(l||s)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var x=this.startNodeAt(t,i);x.tag=e,x.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(x,"TaggedTemplateExpression")}return e},ts.parseExprAtom=function(e,t,i){this.type===dr.slash&&this.readRegexp();var n,r=this.potentialArrowAt===this.start;switch(this.type){case dr._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),n=this.startNode(),this.next(),this.type!==dr.parenL||this.allowDirectSuper||this.raise(n.start,"super() call outside constructor of a subclass"),this.type!==dr.dot&&this.type!==dr.bracketL&&this.type!==dr.parenL&&this.unexpected(),this.finishNode(n,"Super");case dr._this:return n=this.startNode(),this.next(),this.finishNode(n,"ThisExpression");case dr.name:var s=this.start,a=this.startLoc,o=this.containsEsc,l=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!o&&"async"===l.name&&!this.canInsertSemicolon()&&this.eat(dr._function))return this.overrideContext(Zr.f_expr),this.parseFunction(this.startNodeAt(s,a),0,!1,!0,t);if(r&&!this.canInsertSemicolon()){if(this.eat(dr.arrow))return this.parseArrowExpression(this.startNodeAt(s,a),[l],!1,t);if(this.options.ecmaVersion>=8&&"async"===l.name&&this.type===dr.name&&!o&&(!this.potentialArrowInForAwait||"of"!==this.value||this.containsEsc))return l=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(dr.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(s,a),[l],!0,t)}return l;case dr.regexp:var c=this.value;return(n=this.parseLiteral(c.value)).regex={pattern:c.pattern,flags:c.flags},n;case dr.num:case dr.string:return this.parseLiteral(this.value);case dr._null:case dr._true:case dr._false:return(n=this.startNode()).value=this.type===dr._null?null:this.type===dr._true,n.raw=this.type.keyword,this.next(),this.finishNode(n,"Literal");case dr.parenL:var h=this.start,p=this.parseParenAndDistinguishExpression(r,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(p)&&(e.parenthesizedAssign=h),e.parenthesizedBind<0&&(e.parenthesizedBind=h)),p;case dr.bracketL:return n=this.startNode(),this.next(),n.elements=this.parseExprList(dr.bracketR,!0,!0,e),this.finishNode(n,"ArrayExpression");case dr.braceL:return this.overrideContext(Zr.b_expr),this.parseObj(!1,e);case dr._function:return n=this.startNode(),this.next(),this.parseFunction(n,0);case dr._class:return this.parseClass(this.startNode(),!1);case dr._new:return this.parseNew();case dr.backQuote:return this.parseTemplate();case dr._import:return this.options.ecmaVersion>=11?this.parseExprImport(i):this.unexpected();default:return this.parseExprAtomDefault()}},ts.parseExprAtomDefault=function(){this.unexpected()},ts.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===dr.parenL&&!e)return this.parseDynamicImport(t);if(this.type===dr.dot){var i=this.startNodeAt(t.start,t.loc&&t.loc.start);return i.name="import",t.meta=this.finishNode(i,"Identifier"),this.parseImportMeta(t)}this.unexpected()},ts.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(dr.parenR)?e.options=null:(this.expect(dr.comma),this.afterTrailingComma(dr.parenR)?e.options=null:(e.options=this.parseMaybeAssign(),this.eat(dr.parenR)||(this.expect(dr.comma),this.afterTrailingComma(dr.parenR)||this.unexpected())));else if(!this.eat(dr.parenR)){var t=this.start;this.eat(dr.comma)&&this.eat(dr.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},ts.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),"meta"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),"module"===this.options.sourceType||this.options.allowImportExportEverywhere||this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},ts.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),110===t.raw.charCodeAt(t.raw.length-1)&&(t.bigint=null!=t.value?t.value.toString():t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},ts.parseParenExpression=function(){this.expect(dr.parenL);var e=this.parseExpression();return this.expect(dr.parenR),e},ts.shouldParseArrow=function(e){return!this.canInsertSemicolon()},ts.parseParenAndDistinguishExpression=function(e,t){var i,n=this.start,r=this.startLoc,s=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a,o=this.start,l=this.startLoc,c=[],h=!0,p=!1,u=new zr,d=this.yieldPos,f=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==dr.parenR;){if(h?h=!1:this.expect(dr.comma),s&&this.afterTrailingComma(dr.parenR,!0)){p=!0;break}if(this.type===dr.ellipsis){a=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===dr.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}c.push(this.parseMaybeAssign(!1,u,this.parseParenItem))}var m=this.lastTokEnd,g=this.lastTokEndLoc;if(this.expect(dr.parenR),e&&this.shouldParseArrow(c)&&this.eat(dr.arrow))return this.checkPatternErrors(u,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=d,this.awaitPos=f,this.parseParenArrowList(n,r,c,t);c.length&&!p||this.unexpected(this.lastTokStart),a&&this.unexpected(a),this.checkExpressionErrors(u,!0),this.yieldPos=d||this.yieldPos,this.awaitPos=f||this.awaitPos,c.length>1?((i=this.startNodeAt(o,l)).expressions=c,this.finishNodeAt(i,"SequenceExpression",m,g)):i=c[0]}else i=this.parseParenExpression();if(this.options.preserveParens){var x=this.startNodeAt(n,r);return x.expression=i,this.finishNode(x,"ParenthesizedExpression")}return i},ts.parseParenItem=function(e){return e},ts.parseParenArrowList=function(e,t,i,n){return this.parseArrowExpression(this.startNodeAt(e,t),i,!1,n)};var rs=[];ts.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===dr.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name="new",e.meta=this.finishNode(t,"Identifier"),this.next();var i=this.containsEsc;return e.property=this.parseIdent(!0),"target"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),i&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var n=this.start,r=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),n,r,!0,!1),this.eat(dr.parenL)?e.arguments=this.parseExprList(dr.parenR,this.options.ecmaVersion>=8,!1):e.arguments=rs,this.finishNode(e,"NewExpression")},ts.parseTemplateElement=function(e){var t=e.isTagged,i=this.startNode();return this.type===dr.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),i.value={raw:this.value.replace(/\r\n?/g,"\n"),cooked:null}):i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),i.tail=this.type===dr.backQuote,this.finishNode(i,"TemplateElement")},ts.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var i=this.startNode();this.next(),i.expressions=[];var n=this.parseTemplateElement({isTagged:t});for(i.quasis=[n];!n.tail;)this.type===dr.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(dr.dollarBraceL),i.expressions.push(this.parseExpression()),this.expect(dr.braceR),i.quasis.push(n=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(i,"TemplateLiteral")},ts.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===dr.name||this.type===dr.num||this.type===dr.string||this.type===dr.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===dr.star)&&!fr.test(this.input.slice(this.lastTokEnd,this.start))},ts.parseObj=function(e,t){var i=this.startNode(),n=!0,r={};for(i.properties=[],this.next();!this.eat(dr.braceR);){if(n)n=!1;else if(this.expect(dr.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(dr.braceR))break;var s=this.parseProperty(e,t);e||this.checkPropClash(s,r,t),i.properties.push(s)}return this.finishNode(i,e?"ObjectPattern":"ObjectExpression")},ts.parseProperty=function(e,t){var i,n,r,s,a=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(dr.ellipsis))return e?(a.argument=this.parseIdent(!1),this.type===dr.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(a,"RestElement")):(a.argument=this.parseMaybeAssign(!1,t),this.type===dr.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(a,"SpreadElement"));this.options.ecmaVersion>=6&&(a.method=!1,a.shorthand=!1,(e||t)&&(r=this.start,s=this.startLoc),e||(i=this.eat(dr.star)));var o=this.containsEsc;return this.parsePropertyName(a),!e&&!o&&this.options.ecmaVersion>=8&&!i&&this.isAsyncProp(a)?(n=!0,i=this.options.ecmaVersion>=9&&this.eat(dr.star),this.parsePropertyName(a)):n=!1,this.parsePropertyValue(a,e,i,n,r,s,t,o),this.finishNode(a,"Property")},ts.parseGetterSetter=function(e){var t=e.key.name;this.parsePropertyName(e),e.value=this.parseMethod(!1),e.kind=t;var i="get"===e.kind?0:1;if(e.value.params.length!==i){var n=e.value.start;"get"===e.kind?this.raiseRecoverable(n,"getter should have no params"):this.raiseRecoverable(n,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")},ts.parsePropertyValue=function(e,t,i,n,r,s,a,o){(i||n)&&this.type===dr.colon&&this.unexpected(),this.eat(dr.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),e.kind="init"):this.options.ecmaVersion>=6&&this.type===dr.parenL?(t&&this.unexpected(),e.method=!0,e.value=this.parseMethod(i,n),e.kind="init"):t||o||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===dr.comma||this.type===dr.braceR||this.type===dr.eq?this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?((i||n)&&this.unexpected(),this.checkUnreserved(e.key),"await"!==e.key.name||this.awaitIdentPos||(this.awaitIdentPos=r),t?e.value=this.parseMaybeDefault(r,s,this.copyNode(e.key)):this.type===dr.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),e.value=this.parseMaybeDefault(r,s,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.kind="init",e.shorthand=!0):this.unexpected():((i||n)&&this.unexpected(),this.parseGetterSetter(e))},ts.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(dr.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(dr.bracketR),e.key;e.computed=!1}return e.key=this.type===dr.num||this.type===dr.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},ts.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},ts.parseMethod=function(e,t,i){var n=this.startNode(),r=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|Dr(t,n.generator)|(i?128:0)),this.expect(dr.parenL),n.params=this.parseBindingList(dr.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1,!0,!1),this.yieldPos=r,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(n,"FunctionExpression")},ts.parseArrowExpression=function(e,t,i,n){var r=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.enterScope(16|Dr(i,!1)),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!i),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,n),this.yieldPos=r,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(e,"ArrowFunctionExpression")},ts.parseFunctionBody=function(e,t,i,n){var r=t&&this.type!==dr.braceL,s=this.strict,a=!1;if(r)e.body=this.parseMaybeAssign(n),e.expression=!0,this.checkParams(e,!1);else{var o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);s&&!o||(a=this.strictDirective(this.end))&&o&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var l=this.labels;this.labels=[],a&&(this.strict=!0),this.checkParams(e,!s&&!a&&!t&&!i&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,5),e.body=this.parseBlock(!1,void 0,a&&!s),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=l}this.exitScope()},ts.isSimpleParamList=function(e){for(var t=0,i=e;t<i.length;t+=1){if("Identifier"!==i[t].type)return!1}return!0},ts.checkParams=function(e,t){for(var i=Object.create(null),n=0,r=e.params;n<r.length;n+=1){var s=r[n];this.checkLValInnerPattern(s,1,t?null:i)}},ts.parseExprList=function(e,t,i,n){for(var r=[],s=!0;!this.eat(e);){if(s)s=!1;else if(this.expect(dr.comma),t&&this.afterTrailingComma(e))break;var a=void 0;i&&this.type===dr.comma?a=null:this.type===dr.ellipsis?(a=this.parseSpread(n),n&&this.type===dr.comma&&n.trailingComma<0&&(n.trailingComma=this.start)):a=this.parseMaybeAssign(!1,n),r.push(a)}return r},ts.checkUnreserved=function(e){var t=e.start,i=e.end,n=e.name;(this.inGenerator&&"yield"===n&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===n&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().flags&jr||"arguments"!==n||this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),!this.inClassStaticBlock||"arguments"!==n&&"await"!==n||this.raise(t,"Cannot use "+n+" in class static initialization block"),this.keywords.test(n)&&this.raise(t,"Unexpected keyword '"+n+"'"),this.options.ecmaVersion<6&&-1!==this.input.slice(t,i).indexOf("\\"))||(this.strict?this.reservedWordsStrict:this.reservedWords).test(n)&&(this.inAsync||"await"!==n||this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+n+"' is reserved"))},ts.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),e||(this.checkUnreserved(t),"await"!==t.name||this.awaitIdentPos||(this.awaitIdentPos=t.start)),t},ts.parseIdentNode=function(){var e=this.startNode();return this.type===dr.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,"class"!==e.name&&"function"!==e.name||this.lastTokEnd===this.lastTokStart+1&&46===this.input.charCodeAt(this.lastTokStart)||this.context.pop(),this.type=dr.name):this.unexpected(),e},ts.parsePrivateIdent=function(){var e=this.startNode();return this.type===dr.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(0===this.privateNameStack.length?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e},ts.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===dr.semi||this.canInsertSemicolon()||this.type!==dr.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(dr.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},ts.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var ss=Mr.prototype;ss.raise=function(e,t){var i=Pr(this.input,e);t+=" ("+i.line+":"+i.column+")",this.sourceFile&&(t+=" in "+this.sourceFile);var n=new SyntaxError(t);throw n.pos=e,n.loc=i,n.raisedAt=this.pos,n},ss.raiseRecoverable=ss.raise,ss.curPosition=function(){if(this.options.locations)return new Ir(this.curLine,this.pos-this.lineStart)};var as=Mr.prototype,os=function(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[]};as.enterScope=function(e){this.scopeStack.push(new os(e))},as.exitScope=function(){this.scopeStack.pop()},as.treatFunctionsAsVarInScope=function(e){return 2&e.flags||!this.inModule&&1&e.flags},as.declareName=function(e,t,i){var n=!1;if(2===t){var r=this.currentScope();n=r.lexical.indexOf(e)>-1||r.functions.indexOf(e)>-1||r.var.indexOf(e)>-1,r.lexical.push(e),this.inModule&&1&r.flags&&delete this.undefinedExports[e]}else if(4===t){this.currentScope().lexical.push(e)}else if(3===t){var s=this.currentScope();n=this.treatFunctionsAsVar?s.lexical.indexOf(e)>-1:s.lexical.indexOf(e)>-1||s.var.indexOf(e)>-1,s.functions.push(e)}else for(var a=this.scopeStack.length-1;a>=0;--a){var o=this.scopeStack[a];if(o.lexical.indexOf(e)>-1&&!(32&o.flags&&o.lexical[0]===e)||!this.treatFunctionsAsVarInScope(o)&&o.functions.indexOf(e)>-1){n=!0;break}if(o.var.push(e),this.inModule&&1&o.flags&&delete this.undefinedExports[e],o.flags&jr)break}n&&this.raiseRecoverable(i,"Identifier '"+e+"' has already been declared")},as.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},as.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},as.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(771&t.flags)return t}},as.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(771&t.flags&&!(16&t.flags))return t}};var ls=function(e,t,i){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new Tr(e,i)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},cs=Mr.prototype;function hs(e,t,i,n){return e.type=t,e.end=i,this.options.locations&&(e.loc.end=n),this.options.ranges&&(e.range[1]=i),e}cs.startNode=function(){return new ls(this,this.start,this.startLoc)},cs.startNodeAt=function(e,t){return new ls(this,e,t)},cs.finishNode=function(e,t){return hs.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},cs.finishNodeAt=function(e,t,i,n){return hs.call(this,e,t,i,n)},cs.copyNode=function(e){var t=new ls(this,e.start,this.startLoc);for(var i in e)t[i]=e[i];return t};var ps="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",us=ps+" Extended_Pictographic",ds=us+" EBase EComp EMod EPres ExtPict",fs={9:ps,10:us,11:us,12:ds,13:ds,14:ds},ms={9:"",10:"",11:"",12:"",13:"",14:"Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"},gs="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",xs="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",ys=xs+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",vs=ys+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",bs=vs+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",ws=bs+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",ks={9:xs,10:ys,11:vs,12:bs,13:ws,14:ws+" Berf Beria_Erfe Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sidetic Sidt Sunu Sunuwar Tai_Yo Tayo Todhri Todr Tolong_Siki Tols Tulu_Tigalari Tutg Unknown Zzzz"},Es={};function Ss(e){var t=Es[e]={binary:Ar(fs[e]+" "+gs),binaryOfStrings:Ar(ms[e]),nonBinary:{General_Category:Ar(gs),Script:Ar(ks[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(var Cs=0,As=[9,10,11,12,13,14];Cs<As.length;Cs+=1){Ss(As[Cs])}var _s=Mr.prototype,Ns=function(e,t){this.parent=e,this.base=t||this};Ns.prototype.separatedFrom=function(e){for(var t=this;t;t=t.parent)for(var i=e;i;i=i.parent)if(t.base===i.base&&t!==i)return!0;return!1},Ns.prototype.sibling=function(){return new Ns(this.parent,this.base)};var Is=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"")+(e.options.ecmaVersion>=13?"d":"")+(e.options.ecmaVersion>=15?"v":""),this.unicodeProperties=Es[e.options.ecmaVersion>=14?14:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};function Ts(e){return 105===e||109===e||115===e}function Ps(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function Ls(e){return e>=65&&e<=90||e>=97&&e<=122}Is.prototype.reset=function(e,t,i){var n=-1!==i.indexOf("v"),r=-1!==i.indexOf("u");this.start=0|e,this.source=t+"",this.flags=i,n&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=r&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=r&&this.parser.options.ecmaVersion>=9)},Is.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},Is.prototype.at=function(e,t){void 0===t&&(t=!1);var i=this.source,n=i.length;if(e>=n)return-1;var r=i.charCodeAt(e);if(!t&&!this.switchU||r<=55295||r>=57344||e+1>=n)return r;var s=i.charCodeAt(e+1);return s>=56320&&s<=57343?(r<<10)+s-56613888:r},Is.prototype.nextIndex=function(e,t){void 0===t&&(t=!1);var i=this.source,n=i.length;if(e>=n)return n;var r,s=i.charCodeAt(e);return!t&&!this.switchU||s<=55295||s>=57344||e+1>=n||(r=i.charCodeAt(e+1))<56320||r>57343?e+1:e+2},Is.prototype.current=function(e){return void 0===e&&(e=!1),this.at(this.pos,e)},Is.prototype.lookahead=function(e){return void 0===e&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},Is.prototype.advance=function(e){void 0===e&&(e=!1),this.pos=this.nextIndex(this.pos,e)},Is.prototype.eat=function(e,t){return void 0===t&&(t=!1),this.current(t)===e&&(this.advance(t),!0)},Is.prototype.eatChars=function(e,t){void 0===t&&(t=!1);for(var i=this.pos,n=0,r=e;n<r.length;n+=1){var s=r[n],a=this.at(i,t);if(-1===a||a!==s)return!1;i=this.nextIndex(i,t)}return this.pos=i,!0},_s.validateRegExpFlags=function(e){for(var t=e.validFlags,i=e.flags,n=!1,r=!1,s=0;s<i.length;s++){var a=i.charAt(s);-1===t.indexOf(a)&&this.raise(e.start,"Invalid regular expression flag"),i.indexOf(a,s+1)>-1&&this.raise(e.start,"Duplicate regular expression flag"),"u"===a&&(n=!0),"v"===a&&(r=!0)}this.options.ecmaVersion>=15&&n&&r&&this.raise(e.start,"Invalid regular expression flag")},_s.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&function(e){for(var t in e)return!0;return!1}(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))},_s.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames=Object.create(null),e.backReferenceNames.length=0,e.branchID=null,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,i=e.backReferenceNames;t<i.length;t+=1){var n=i[t];e.groupNames[n]||e.raise("Invalid named capture referenced")}},_s.regexp_disjunction=function(e){var t=this.options.ecmaVersion>=16;for(t&&(e.branchID=new Ns(e.branchID,null)),this.regexp_alternative(e);e.eat(124);)t&&(e.branchID=e.branchID.sibling()),this.regexp_alternative(e);t&&(e.branchID=e.branchID.parent),this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},_s.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},_s.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):!!(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))&&(this.regexp_eatQuantifier(e),!0)},_s.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var i=!1;if(this.options.ecmaVersion>=9&&(i=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!i,!0}return e.pos=t,!1},_s.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},_s.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},_s.regexp_eatBracedQuantifier=function(e,t){var i=e.pos;if(e.eat(123)){var n=0,r=-1;if(this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue),e.eat(125)))return-1!==r&&r<n&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=i}return!1},_s.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)},_s.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},_s.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)){if(this.options.ecmaVersion>=16){var i=this.regexp_eatModifiers(e),n=e.eat(45);if(i||n){for(var r=0;r<i.length;r++){var s=i.charAt(r);i.indexOf(s,r+1)>-1&&e.raise("Duplicate regular expression modifiers")}if(n){var a=this.regexp_eatModifiers(e);i||a||58!==e.current()||e.raise("Invalid regular expression modifiers");for(var o=0;o<a.length;o++){var l=a.charAt(o);(a.indexOf(l,o+1)>-1||i.indexOf(l)>-1)&&e.raise("Duplicate regular expression modifiers")}}}}if(e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}}e.pos=t}return!1},_s.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},_s.regexp_eatModifiers=function(e){for(var t="",i=0;-1!==(i=e.current())&&Ts(i);)t+=_r(i),e.advance();return t},_s.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},_s.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},_s.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!Ps(t)&&(e.lastIntValue=t,e.advance(),!0)},_s.regexp_eatPatternCharacters=function(e){for(var t=e.pos,i=0;-1!==(i=e.current())&&!Ps(i);)e.advance();return e.pos!==t},_s.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return!(-1===t||36===t||t>=40&&t<=43||46===t||63===t||91===t||94===t||124===t)&&(e.advance(),!0)},_s.regexp_groupSpecifier=function(e){if(e.eat(63)){this.regexp_eatGroupName(e)||e.raise("Invalid group");var t=this.options.ecmaVersion>=16,i=e.groupNames[e.lastStringValue];if(i)if(t)for(var n=0,r=i;n<r.length;n+=1){r[n].separatedFrom(e.branchID)||e.raise("Duplicate capture group name")}else e.raise("Duplicate capture group name");t?(i||(e.groupNames[e.lastStringValue]=[])).push(e.branchID):e.groupNames[e.lastStringValue]=!0}},_s.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},_s.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=_r(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=_r(e.lastIntValue);return!0}return!1},_s.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,i=this.options.ecmaVersion>=11,n=e.current(i);return e.advance(i),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)&&(n=e.lastIntValue),function(e){return sr(e,!0)||36===e||95===e}(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},_s.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,i=this.options.ecmaVersion>=11,n=e.current(i);return e.advance(i),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)&&(n=e.lastIntValue),function(e){return ar(e,!0)||36===e||95===e||8204===e||8205===e}(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},_s.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},_s.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var i=e.lastIntValue;if(e.switchU)return i>e.maxBackReference&&(e.maxBackReference=i),!0;if(i<=e.numCapturingParens)return!0;e.pos=t}return!1},_s.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},_s.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},_s.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},_s.regexp_eatZero=function(e){return 48===e.current()&&!Os(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},_s.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},_s.regexp_eatControlLetter=function(e){var t=e.current();return!!Ls(t)&&(e.lastIntValue=t%32,e.advance(),!0)},_s.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){void 0===t&&(t=!1);var i,n=e.pos,r=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(r&&s>=55296&&s<=56319){var a=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var o=e.lastIntValue;if(o>=56320&&o<=57343)return e.lastIntValue=1024*(s-55296)+(o-56320)+65536,!0}e.pos=a,e.lastIntValue=s}return!0}if(r&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&((i=e.lastIntValue)>=0&&i<=1114111))return!0;r&&e.raise("Invalid unicode escape"),e.pos=n}return!1},_s.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return!(99===t||e.switchN&&107===t)&&(e.lastIntValue=t,e.advance(),!0)},_s.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48),e.advance()}while((t=e.current())>=48&&t<=57);return!0}return!1};function Vs(e){return Ls(e)||95===e}function Rs(e){return Vs(e)||Os(e)}function Os(e){return e>=48&&e<=57}function js(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Ds(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e-48}function Ms(e){return e>=48&&e<=55}_s.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(function(e){return 100===e||68===e||115===e||83===e||119===e||87===e}(t))return e.lastIntValue=-1,e.advance(),1;var i=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((i=80===t)||112===t)){var n;if(e.lastIntValue=-1,e.advance(),e.eat(123)&&(n=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return i&&2===n&&e.raise("Invalid property name"),n;e.raise("Invalid property name")}return 0},_s.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var i=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,i,n),1}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,r)}return 0},_s.regexp_validateUnicodePropertyNameAndValue=function(e,t,i){Er(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(i)||e.raise("Invalid property value")},_s.regexp_validateUnicodePropertyNameOrValue=function(e,t){return e.unicodeProperties.binary.test(t)?1:e.switchV&&e.unicodeProperties.binaryOfStrings.test(t)?2:void e.raise("Invalid property name")},_s.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Vs(t=e.current());)e.lastStringValue+=_r(t),e.advance();return""!==e.lastStringValue},_s.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";Rs(t=e.current());)e.lastStringValue+=_r(t),e.advance();return""!==e.lastStringValue},_s.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},_s.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),i=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&2===i&&e.raise("Negated character class may contain strings"),!0}return!1},_s.regexp_classContents=function(e){return 93===e.current()?1:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),1)},_s.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var i=e.lastIntValue;!e.switchU||-1!==t&&-1!==i||e.raise("Invalid character class"),-1!==t&&-1!==i&&t>i&&e.raise("Range out of order in character class")}}},_s.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var i=e.current();(99===i||Ms(i))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var n=e.current();return 93!==n&&(e.lastIntValue=n,e.advance(),!0)},_s.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},_s.regexp_classSetExpression=function(e){var t,i=1;if(this.regexp_eatClassSetRange(e));else if(t=this.regexp_eatClassSetOperand(e)){2===t&&(i=2);for(var n=e.pos;e.eatChars([38,38]);)38!==e.current()&&(t=this.regexp_eatClassSetOperand(e))?2!==t&&(i=1):e.raise("Invalid character in character class");if(n!==e.pos)return i;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(n!==e.pos)return i}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(!(t=this.regexp_eatClassSetOperand(e)))return i;2===t&&(i=2)}},_s.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var i=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var n=e.lastIntValue;return-1!==i&&-1!==n&&i>n&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1},_s.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?1:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)},_s.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var i=e.eat(94),n=this.regexp_classContents(e);if(e.eat(93))return i&&2===n&&e.raise("Negated character class may contain strings"),n;e.pos=t}if(e.eat(92)){var r=this.regexp_eatCharacterClassEscape(e);if(r)return r;e.pos=t}return null},_s.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var i=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return i}else e.raise("Invalid escape");e.pos=t}return null},_s.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)2===this.regexp_classString(e)&&(t=2);return t},_s.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return 1===t?1:2},_s.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return!(!this.regexp_eatCharacterEscape(e)&&!this.regexp_eatClassSetReservedPunctuator(e))||(e.eat(98)?(e.lastIntValue=8,!0):(e.pos=t,!1));var i=e.current();return!(i<0||i===e.lookahead()&&function(e){return 33===e||e>=35&&e<=38||e>=42&&e<=44||46===e||e>=58&&e<=64||94===e||96===e||126===e}(i))&&(!function(e){return 40===e||41===e||45===e||47===e||e>=91&&e<=93||e>=123&&e<=125}(i)&&(e.advance(),e.lastIntValue=i,!0))},_s.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return!!function(e){return 33===e||35===e||37===e||38===e||44===e||45===e||e>=58&&e<=62||64===e||96===e||126===e}(t)&&(e.lastIntValue=t,e.advance(),!0)},_s.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!Os(t)&&95!==t)&&(e.lastIntValue=t%32,e.advance(),!0)},_s.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},_s.regexp_eatDecimalDigits=function(e){var t=e.pos,i=0;for(e.lastIntValue=0;Os(i=e.current());)e.lastIntValue=10*e.lastIntValue+(i-48),e.advance();return e.pos!==t},_s.regexp_eatHexDigits=function(e){var t=e.pos,i=0;for(e.lastIntValue=0;js(i=e.current());)e.lastIntValue=16*e.lastIntValue+Ds(i),e.advance();return e.pos!==t},_s.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var i=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*i+e.lastIntValue:e.lastIntValue=8*t+i}else e.lastIntValue=t;return!0}return!1},_s.regexp_eatOctalDigit=function(e){var t=e.current();return Ms(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},_s.regexp_eatFixedHexDigits=function(e,t){var i=e.pos;e.lastIntValue=0;for(var n=0;n<t;++n){var r=e.current();if(!js(r))return e.pos=i,!1;e.lastIntValue=16*e.lastIntValue+Ds(r),e.advance()}return!0};var Fs=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new Tr(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},Bs=Mr.prototype;function Us(e){return"function"!=typeof BigInt?null:BigInt(e.replace(/_/g,""))}Bs.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Fs(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Bs.getToken=function(){return this.next(),new Fs(this)},"undefined"!=typeof Symbol&&(Bs[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===dr.eof,value:t}}}}),Bs.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(dr.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},Bs.readToken=function(e){return sr(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},Bs.fullCharCodeAt=function(e){var t=this.input.charCodeAt(e);if(t<=55295||t>=56320)return t;var i=this.input.charCodeAt(e+1);return i<=56319||i>=57344?t:(t<<10)+i-56613888},Bs.fullCharCodeAtPos=function(){return this.fullCharCodeAt(this.pos)},Bs.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,i=this.input.indexOf("*/",this.pos+=2);if(-1===i&&this.raise(this.pos-2,"Unterminated comment"),this.pos=i+2,this.options.locations)for(var n=void 0,r=t;(n=xr(this.input,r,this.pos))>-1;)++this.curLine,r=this.lineStart=n;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,i),t,this.pos,e,this.curPosition())},Bs.skipLineComment=function(e){for(var t=this.pos,i=this.options.onComment&&this.curPosition(),n=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!gr(n);)n=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,i,this.curPosition())},Bs.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:10===this.input.charCodeAt(this.pos+1)&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(!(e>8&&e<14||e>=5760&&yr.test(String.fromCharCode(e))))break e;++this.pos}}},Bs.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var i=this.type;this.type=e,this.value=t,this.updateContext(i)},Bs.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(dr.ellipsis)):(++this.pos,this.finishToken(dr.dot))},Bs.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(dr.assign,2):this.finishOp(dr.slash,1)},Bs.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),i=1,n=42===e?dr.star:dr.modulo;return this.options.ecmaVersion>=7&&42===e&&42===t&&(++i,n=dr.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(dr.assign,i+1):this.finishOp(n,i)},Bs.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12)if(61===this.input.charCodeAt(this.pos+2))return this.finishOp(dr.assign,3);return this.finishOp(124===e?dr.logicalOR:dr.logicalAND,2)}return 61===t?this.finishOp(dr.assign,2):this.finishOp(124===e?dr.bitwiseOR:dr.bitwiseAND,1)},Bs.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(dr.assign,2):this.finishOp(dr.bitwiseXOR,1)},Bs.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!==t||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!fr.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(dr.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(dr.assign,2):this.finishOp(dr.plusMin,1)},Bs.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),i=1;return t===e?(i=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+i)?this.finishOp(dr.assign,i+1):this.finishOp(dr.bitShift,i)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(i=2),this.finishOp(dr.relational,i)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},Bs.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(dr.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(dr.arrow)):this.finishOp(61===e?dr.eq:dr.prefix,1)},Bs.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(46===t){var i=this.input.charCodeAt(this.pos+2);if(i<48||i>57)return this.finishOp(dr.questionDot,2)}if(63===t){if(e>=12)if(61===this.input.charCodeAt(this.pos+2))return this.finishOp(dr.assign,3);return this.finishOp(dr.coalesce,2)}}return this.finishOp(dr.question,1)},Bs.readToken_numberSign=function(){var e=35;if(this.options.ecmaVersion>=13&&(++this.pos,sr(e=this.fullCharCodeAtPos(),!0)||92===e))return this.finishToken(dr.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+_r(e)+"'")},Bs.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(dr.parenL);case 41:return++this.pos,this.finishToken(dr.parenR);case 59:return++this.pos,this.finishToken(dr.semi);case 44:return++this.pos,this.finishToken(dr.comma);case 91:return++this.pos,this.finishToken(dr.bracketL);case 93:return++this.pos,this.finishToken(dr.bracketR);case 123:return++this.pos,this.finishToken(dr.braceL);case 125:return++this.pos,this.finishToken(dr.braceR);case 58:return++this.pos,this.finishToken(dr.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(dr.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(dr.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+_r(e)+"'")},Bs.finishOp=function(e,t){var i=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,i)},Bs.readRegexp=function(){for(var e,t,i=this.pos;;){this.pos>=this.input.length&&this.raise(i,"Unterminated regular expression");var n=this.input.charAt(this.pos);if(fr.test(n)&&this.raise(i,"Unterminated regular expression"),e)e=!1;else{if("["===n)t=!0;else if("]"===n&&t)t=!1;else if("/"===n&&!t)break;e="\\"===n}++this.pos}var r=this.input.slice(i,this.pos);++this.pos;var s=this.pos,a=this.readWord1();this.containsEsc&&this.unexpected(s);var o=this.regexpState||(this.regexpState=new Is(this));o.reset(i,r,a),this.validateRegExpFlags(o),this.validateRegExpPattern(o);var l=null;try{l=new RegExp(r,a)}catch(e){}return this.finishToken(dr.regexp,{pattern:r,flags:a,value:l})},Bs.readInt=function(e,t,i){for(var n=this.options.ecmaVersion>=12&&void 0===t,r=i&&48===this.input.charCodeAt(this.pos),s=this.pos,a=0,o=0,l=0,c=null==t?1/0:t;l<c;++l,++this.pos){var h=this.input.charCodeAt(this.pos),p=void 0;if(n&&95===h)r&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),95===o&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),0===l&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),o=h;else{if((p=h>=97?h-97+10:h>=65?h-65+10:h>=48&&h<=57?h-48:1/0)>=e)break;o=h,a=a*e+p}}return n&&95===o&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===s||null!=t&&this.pos-s!==t?null:a},Bs.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var i=this.readInt(e);return null==i&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(i=Us(this.input.slice(t,this.pos)),++this.pos):sr(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(dr.num,i)},Bs.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10,void 0,!0)||this.raise(t,"Invalid number");var i=this.pos-t>=2&&48===this.input.charCodeAt(t);i&&this.strict&&this.raise(t,"Invalid number");var n=this.input.charCodeAt(this.pos);if(!i&&!e&&this.options.ecmaVersion>=11&&110===n){var r=Us(this.input.slice(t,this.pos));return++this.pos,sr(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(dr.num,r)}i&&/[89]/.test(this.input.slice(t,this.pos))&&(i=!1),46!==n||i||(++this.pos,this.readInt(10),n=this.input.charCodeAt(this.pos)),69!==n&&101!==n||i||(43!==(n=this.input.charCodeAt(++this.pos))&&45!==n||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),sr(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var s,a=(s=this.input.slice(t,this.pos),i?parseInt(s,8):parseFloat(s.replace(/_/g,"")));return this.finishToken(dr.num,a)},Bs.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},Bs.readString=function(e){for(var t="",i=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var n=this.input.charCodeAt(this.pos);if(n===e)break;92===n?(t+=this.input.slice(i,this.pos),t+=this.readEscapedChar(!1),i=this.pos):8232===n||8233===n?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(gr(n)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(i,this.pos++),this.finishToken(dr.string,t)};var zs={};Bs.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==zs)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},Bs.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw zs;this.raise(e,t)},Bs.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var i=this.input.charCodeAt(this.pos);if(96===i||36===i&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==dr.template&&this.type!==dr.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(dr.template,e)):36===i?(this.pos+=2,this.finishToken(dr.dollarBraceL)):(++this.pos,this.finishToken(dr.backQuote));if(92===i)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(gr(i)){switch(e+=this.input.slice(t,this.pos),++this.pos,i){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(i)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},Bs.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if("{"!==this.input[this.pos+1])break;case"`":return this.finishToken(dr.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":"\n"===this.input[this.pos+1]&&++this.pos;case"\n":case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1}this.raise(this.start,"Unterminated template")},Bs.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return _r(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var i=this.pos-1;this.invalidStringToken(i,"Invalid escape sequence in template string")}default:if(t>=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(n,8);return r>255&&(n=n.slice(0,-1),r=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),"0"===n&&56!==t&&57!==t||!this.strict&&!e||this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(r)}return gr(t)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(t)}},Bs.readHexChar=function(e){var t=this.pos,i=this.readInt(16,e);return null===i&&this.invalidStringToken(t,"Bad character escape sequence"),i},Bs.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,i=this.pos,n=this.options.ecmaVersion>=6;this.pos<this.input.length;){var r=this.fullCharCodeAtPos();if(ar(r,n))this.pos+=r<=65535?1:2;else{if(92!==r)break;this.containsEsc=!0,e+=this.input.slice(i,this.pos);var s=this.pos;117!==this.input.charCodeAt(++this.pos)&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var a=this.readCodePoint();(t?sr:ar)(a,n)||this.invalidStringToken(s,"Invalid Unicode escape"),e+=_r(a),i=this.pos}t=!1}return e+this.input.slice(i,this.pos)},Bs.readWord=function(){var e=this.readWord1(),t=dr.name;return this.keywords.test(e)&&(t=pr[e]),this.finishToken(t,e)};Mr.acorn={Parser:Mr,version:"8.16.0",defaultOptions:Lr,Position:Ir,SourceLocation:Tr,getLineInfo:Pr,Node:ls,TokenType:or,tokTypes:dr,keywordTypes:pr,TokContext:Yr,tokContexts:Zr,isIdentifierChar:ar,isIdentifierStart:sr,Token:Fs,isNewLine:gr,lineBreak:fr,lineBreakG:mr,nonASCIIwhitespace:yr};const Js={}.hasOwnProperty,qs=Symbol("continue"),Gs=Symbol("exit"),Xs=Symbol("skip");function Hs(e){return Array.isArray(e)?e:"number"==typeof e?[qs,e]:[e]}function Ws(e){return Boolean(e&&"object"==typeof e&&"type"in e&&"string"==typeof e.type&&e.type.length>0)}function $s(e,t){const i=t.prefix||"",n=t.suffix||"",r=Object.assign({},t.acornOptions),s=[],a=[],o=r.onComment,l=r.onToken;let c,h,p=!1;const u=Object.assign({},r,{onComment:s,preserveParens:!0});l&&(u.onToken=a);const d=function(e,t){const i={value:"",stops:[]};let n=-1;for(;++n<e.length;){const r=e[n];if("enter"===r[0]){const e=r[1].type;if("lineEnding"===e||t.includes(e)){const e=r[2].sliceStream(r[1]);for(;e.length>0&&-1===e[0];)e.shift();const t=Qs(e);i.stops.push([i.value.length,r[1].start]),i.value+=t,i.stops.push([i.value.length,r[1].end])}}}return i}(e,t.tokenTypes),f=d.value,m=i+f+n,g=t.expression&&Ks(f);if(g&&!t.allowEmpty)throw new ot("Unexpected empty expression",{place:y(0),ruleId:"unexpected-empty-expression",source:"micromark-extension-mdx-expression"});try{c=t.expression&&!g?t.acorn.parseExpressionAt(m,0,u):t.acorn.parse(m,u)}catch(e){const t=e,n=y(t.pos);t.message=String(t.message).replace(/ \(\d+:\d+\)$/,""),t.pos=n.offset,t.loc={line:n.line,column:n.column-1},h=t,p=t.raisedAt>=i.length+f.length||"Unterminated comment"===t.message}if(c&&t.expression&&!g)if(Ks(m.slice(c.end,m.length-n.length)))c={type:"Program",start:0,end:i.length+f.length,body:[{type:"ExpressionStatement",expression:c,start:0,end:i.length+f.length}],sourceType:"module",comments:[]};else{const e=y(c.end),t=new Error("Unexpected content after expression");t.pos=e.offset,t.loc={line:e.line,column:e.column-1},h=t,c=void 0}if(c){if(c.comments=s,function(e,t){let i,n;"function"==typeof t?i=t:t&&"object"==typeof t&&(t.enter&&(i=t.enter),t.leave&&(n=t.leave)),function e(t,r,s,a){return Ws(t)&&(o.displayName="node ("+t.type+")"),o;function o(){const o=i?Hs(i(t,r,s,a)):[];if(o[0]===Gs)return o;if(o[0]!==Xs){let i;for(i in t)if(Js.call(t,i)&&t[i]&&"object"==typeof t[i]&&"data"!==i&&"position"!==i){const n=a.concat(t),r=t[i];if(Array.isArray(r)){const t=r;let s=0;for(;s>-1&&s<t.length;){const r=t[s];if(Ws(r)){const t=e(r,i,s,n)();if(t[0]===Gs)return t;s="number"==typeof t[1]?t[1]:s+1}else s++}}else if(Ws(r)){const t=e(r,i,void 0,n)();if(t[0]===Gs)return t}}}return n?Hs(n(t,r,s,a)):o}}(e,void 0,void 0,[])()}(c,function(e,t,i,n){let r=n[n.length-1],s=t;"ParenthesizedExpression"===e.type&&r&&s&&("number"==typeof i&&(r=r[s],s=i),r[s]=e.expression),x(e)}),Array.isArray(o))o.push(...s);else if("function"==typeof o)for(const e of s)o("Block"===e.type,e.value,e.start,e.end,e.loc.start,e.loc.end);for(const e of a)e.end<=i.length||e.start-i.length>=f.length||(x(e),Array.isArray(l)?l.push(e):l(e))}return{estree:c,error:h,swallow:p};function x(e){const t=y(e.start),i=y(e.end);e.start=t.offset,e.end=i.offset,e.loc={start:{line:t.line,column:t.column-1,offset:t.offset},end:{line:i.line,column:i.column-1,offset:i.offset}},e.range=[e.start,e.end]}function y(e){let n=e-i.length;n<0?n=0:n>f.length&&(n=f.length);let r=function(e,t){let i=0;for(;i<e.length&&e[i][0]<=t;)i+=1;if(0===i)return;const[n,r]=e[i-1],s=t-n;return{line:r.line,column:r.column+s,offset:r.offset+s}}(d.stops,n);return r||(r={line:t.start.line,column:t.start.column,offset:t.start.offset}),r}}function Ks(e){return/^\s*$/.test(e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\/\/[^\r\n]*(\r\n|\n|\r)/g,""))}function Qs(e){let t=-1;const i=[];let n;for(;++t<e.length;){const r=e[t];let s;if("string"==typeof r)s=r;else switch(r){case-5:s="\r";break;case-4:s="\n";break;case-3:s="\r\n";break;case-2:s="\t";break;case-1:if(n)continue;s=" ";break;default:s=String.fromCharCode(r)}n=-2===r,i.push(s)}return i.join("")}function Ys(e){const t=e||{},i=t.loc||{},n=t.range||[void 0,void 0],r=Zs(i.start,n[0]||t.start),s=Zs(i.end,n[1]||t.end);if(r&&s)return{start:r,end:s}}function Zs(e,t){if(e&&"object"==typeof e){const i="line"in e?ea(e.line):void 0,n="column"in e?ea(e.column):void 0;if(i&&void 0!==n)return{line:i,column:n+1,offset:ea(t)}}}function ea(e){return"number"==typeof e&&e>-1?e:void 0}const ta="https://github.com/micromark/micromark-extension-mdx-expression/tree/main/packages/micromark-extension-mdx-expression",ia="#unexpected-type-in-code-expected-an-object-spread-spread";function na(e,t,i,n,r,s,a,o,l,c,h){const p=this,u=this.events.length+3;let d,f,m=0;return function(t){return e.enter(i),e.enter(n),e.consume(t),e.exit(n),d=p.now(),g};function g(h){if(null===h){if(f)throw f;const e=new ot("Unexpected end of file in expression, expected a corresponding closing brace for `{`",{place:p.now(),ruleId:"unexpected-eof",source:"micromark-extension-mdx-expression"});throw e.url=ta+"#unexpected-end-of-file-in-expression-expected-a-corresponding-closing-brace-for-",e}if(ht(h))return e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),y;if(125===h&&0===m){const m=s?ra.call(p,s,a,r,u,d,c||!1,l||!1):{type:"ok",estree:void 0};if("ok"===m.type){e.enter(n),e.consume(h),e.exit(n);const r=e.exit(i);return o&&m.estree&&Object.assign(r,{estree:m.estree}),t}return f=m.message,e.enter(r),e.consume(h),x}return e.enter(r),x(h)}function x(t){return 125===t&&0===m||null===t||ht(t)?(e.exit(r),g(t)):(123!==t||s?125===t&&(m-=1):m+=1,e.consume(t),x)}function y(t){const i=p.now();if(i.line!==d.line&&!h&&p.parser.lazy[i.line]){const e=new ot("Unexpected lazy line in expression in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",{place:p.now(),ruleId:"unexpected-lazy",source:"micromark-extension-mdx-expression"});throw e.url=ta+"#unexpected-lazy-line-in-expression-in-container-expected-line-to-be-prefixed",e}return pt(t)?ut(e,g,"linePrefix",3)(t):g(t)}}function ra(e,t,i,n,r,s,a){const o=$s(this.events.slice(n),{acorn:e,tokenTypes:[i],acornOptions:t,start:r,expression:!0,allowEmpty:s,prefix:a?"({":"",suffix:a?"})":""}),l=o.estree;if(a&&l){const e=l.body[0];if("ExpressionStatement"!==e.type||"ObjectExpression"!==e.expression.type){const t=Ys(e),i=new ot("Unexpected `"+e.type+"` in code: expected an object spread (`{...spread}`)",{place:t.start,ruleId:"non-spread",source:"micromark-extension-mdx-expression"});throw i.url=ta+ia,i}if(e.expression.properties[1]){const t=Ys(e.expression.properties[1]),i=new ot("Unexpected extra content in spread: only a single spread is supported",{place:t.start,ruleId:"spread-extra",source:"micromark-extension-mdx-expression"});throw i.url=ta+"#unexpected-extra-content-in-spread-only-a-single-spread-is-supported",i}if(e.expression.properties[0]&&"SpreadElement"!==e.expression.properties[0].type){const t=Ys(e.expression.properties[0]),i=new ot("Unexpected `"+e.expression.properties[0].type+"` in code: only spread elements are supported",{place:t.start,ruleId:"non-spread",source:"micromark-extension-mdx-expression"});throw i.url=ta+ia,i}}if(o.error){const e=new ot("Could not parse expression with acorn",{cause:o.error,place:{line:o.error.loc.line,column:o.error.loc.column+1,offset:o.error.pos},ruleId:"acorn",source:"micromark-extension-mdx-expression"});return e.url=ta+"#could-not-parse-expression-with-acorn",{type:"nok",message:e}}return{type:"ok",estree:l}}function sa(e){const t=e||{},i=t.addResult,n=t.acorn,r=t.spread;let s,a=t.allowEmpty;if(null==a&&(a=!0),n){if(!n.parseExpressionAt)throw new Error("Expected a proper `acorn` instance passed in as `options.acorn`");s=Object.assign({ecmaVersion:2024,sourceType:"module"},t.acornOptions)}else if(t.acornOptions||t.addResult)throw new Error("Expected an `acorn` instance passed in as `options.acorn`");return{flow:{123:{name:"mdxFlowExpression",tokenize:function(e,t,o){const l=this;return function(t){return function(t){return na.call(l,e,c,"mdxFlowExpression","mdxFlowExpressionMarker","mdxFlowExpressionChunk",n,s,i,r,a)(t)}(t)};function c(t){return pt(t)?ut(e,h,"whitespace")(t):h(t)}function h(i){const n=l.parser.constructs.flow[60],r=(Array.isArray(n)?n:n?[n]:[]).find(function(e){return"mdxJsxFlowTag"===e.name});return 60===i&&r?e.attempt(r,h,o)(i):null===i||ht(i)?t(i):o(i)}},concrete:!0}},text:{123:{name:"mdxTextExpression",tokenize:function(e,t){const o=this;return function(l){return na.call(o,e,t,"mdxTextExpression","mdxTextExpressionMarker","mdxTextExpressionChunk",n,s,i,r,a,!0)(l)}}}}}}const aa="https://github.com/micromark/micromark-extension-mdx-jsx";function oa(e,t,i,n,r,s,a,o,l,c,h,p,u,d,f,m,g,x,y,v,b,w,k,E,S,C,A,_,N,I,T,P){const L=this;let V,R;return function(t){return e.enter(o),e.enter(l),e.consume(t),e.exit(l),O};function O(e){return dt(e)?i(e):(V=j,se(e))}function j(t){return 47===t?(e.enter(c),e.consume(t),e.exit(c),V=D,se):62===t?re(t):null!==t&&t>=0&&Vt(t)?(e.enter(p),e.enter(u),e.consume(t),M):void le(t,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(33===t?" (note: to create a comment in MDX, use `{/* text */}`)":""))}function D(t){return 62===t?re(t):null!==t&&t>=0&&Vt(t)?(e.enter(p),e.enter(u),e.consume(t),M):void le(t,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(42===t||47===t?" (note: JS comments in JSX tags are not supported in MDX)":""))}function M(t){return null!==t&&t>=0&&Rt(t,{jsx:!0})?(e.consume(t),M):46===t||47===t||58===t||62===t||123===t||dt(t)||ft(t)?(e.exit(u),V=F,se(t)):void le(t,"in name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(64===t?" (note: to create a link in MDX, use `[text](url)`)":""))}function F(t){return 46===t?(e.enter(d),e.consume(t),e.exit(d),V=B,se):58===t?(e.enter(m),e.consume(t),e.exit(m),V=J,se):47===t||62===t||123===t||null!==t&&t>=0&&Vt(t)?(e.exit(p),X(t)):void le(t,"after name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function B(t){if(null!==t&&t>=0&&Vt(t))return e.enter(f),e.consume(t),U;le(t,"before member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function U(t){return null!==t&&t>=0&&Rt(t,{jsx:!0})?(e.consume(t),U):46===t||47===t||62===t||123===t||dt(t)||ft(t)?(e.exit(f),V=z,se(t)):void le(t,"in member name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(64===t?" (note: to create a link in MDX, use `[text](url)`)":""))}function z(t){return 46===t?(e.enter(d),e.consume(t),e.exit(d),V=B,se):47===t||62===t||123===t||null!==t&&t>=0&&Vt(t)?(e.exit(p),X(t)):void le(t,"after member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function J(t){if(null!==t&&t>=0&&Vt(t))return e.enter(g),e.consume(t),q;le(t,"before local name","a character that can start a name, such as a letter, `$`, or `_`"+(43===t||null!==t&&t>46&&t<58?" (note: to create a link in MDX, use `[text](url)`)":""))}function q(t){return null!==t&&t>=0&&Rt(t,{jsx:!0})?(e.consume(t),q):47===t||62===t||123===t||dt(t)||ft(t)?(e.exit(g),V=G,se(t)):void le(t,"in local name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag")}function G(t){if(47===t||62===t||123===t||null!==t&&t>=0&&Vt(t))return e.exit(p),X(t);le(t,"after local name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function X(t){return 47===t?(e.enter(h),e.consume(t),e.exit(h),V=ne,se):62===t?re(t):123===t?na.call(L,e,H,x,y,v,n,r,s,!0,!1,a)(t):null!==t&&t>=0&&Vt(t)?(e.enter(b),e.enter(w),e.enter(k),e.consume(t),W):void le(t,"before attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function H(e){return V=X,se(e)}function W(t){return null!==t&&t>=0&&Rt(t,{jsx:!0})?(e.consume(t),W):47===t||58===t||61===t||62===t||123===t||dt(t)||ft(t)?(e.exit(k),V=$,se(t)):void le(t,"in attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function $(t){return 58===t?(e.enter(E),e.consume(t),e.exit(E),V=K,se):61===t?(e.exit(w),e.enter(C),e.consume(t),e.exit(C),V=Z,se):47===t||62===t||123===t||dt(t)||ft(t)||null!==t&&t>=0&&Vt(t)?(e.exit(w),e.exit(b),V=X,se(t)):void le(t,"after attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function K(t){if(null!==t&&t>=0&&Vt(t))return e.enter(S),e.consume(t),Q;le(t,"before local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function Q(t){return null!==t&&t>=0&&Rt(t,{jsx:!0})?(e.consume(t),Q):47===t||61===t||62===t||123===t||dt(t)||ft(t)?(e.exit(S),e.exit(w),V=Y,se(t)):void le(t,"in local attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function Y(t){return 61===t?(e.enter(C),e.consume(t),e.exit(C),V=Z,se):47===t||62===t||123===t||null!==t&&t>=0&&Vt(t)?(e.exit(b),X(t)):void le(t,"after local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function Z(t){return 34===t||39===t?(e.enter(A),e.enter(_),e.consume(t),e.exit(_),R=t,te):123===t?na.call(L,e,ee,I,T,P,n,r,s,!1,!1,a)(t):void le(t,"before attribute value","a character that can start an attribute value, such as `\"`, `'`, or `{`"+(60===t?" (note: to use an element or fragment as a prop value in MDX, use `{<element />}`)":""))}function ee(t){return e.exit(b),V=X,se(t)}function te(t){return null===t&&le(t,"in attribute value","a corresponding closing quote `"+String.fromCodePoint(R)+"`"),t===R?(e.enter(_),e.consume(t),e.exit(_),e.exit(A),e.exit(b),R=void 0,V=X,se):ht(t)?(V=te,se(t)):(e.enter(N),ie(t))}function ie(t){return null===t||t===R||ht(t)?(e.exit(N),te(t)):(e.consume(t),ie)}function ne(e){if(62===e)return re(e);le(e,"after self-closing slash","`>` to end the tag"+(42===e||47===e?" (note: JS comments in JSX tags are not supported in MDX)":""))}function re(i){return e.enter(l),e.consume(i),e.exit(l),e.exit(o),t}function se(t){return ht(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),oe):pt(t)||ft(t)?(e.enter("esWhitespace"),ae(t)):V(t)}function ae(t){return ht(t)?(e.exit("esWhitespace"),se(t)):pt(t)||ft(t)?(e.consume(t),ae):(e.exit("esWhitespace"),V(t))}function oe(e){if(!a&&L.parser.lazy[L.now().line]){const e=new ot("Unexpected lazy line in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",L.now(),"micromark-extension-mdx-jsx:unexpected-lazy");throw e.url=aa+"#unexpected-lazy-line-in-container-expected-line-to-be",e}return se(e)}function le(e,t,i){const n=new ot("Unexpected "+(null===e?"end of file":"character `"+(96===e?"` ` `":String.fromCodePoint(e))+"` ("+function(e){return"U+"+e.toString(16).toUpperCase().padStart(4,"0")}(e)+")")+" "+t+", expected "+i,L.now(),"micromark-extension-mdx-jsx:unexpected-"+(null===e?"eof":"character"));throw n.url=aa+(null===e?"#unexpected-end-of-file-at-expected-expect":"#unexpected-character-at-expected-expect"),n}}function la(e,t){return{name:"mdxJsxTextTag",tokenize:function(i,n,r){return oa.call(this,i,n,r,e,t.acornOptions,t.addResult,!0,"mdxJsxTextTag","mdxJsxTextTagMarker","mdxJsxTextTagClosingMarker","mdxJsxTextTagSelfClosingMarker","mdxJsxTextTagName","mdxJsxTextTagNamePrimary","mdxJsxTextTagNameMemberMarker","mdxJsxTextTagNameMember","mdxJsxTextTagNamePrefixMarker","mdxJsxTextTagNameLocal","mdxJsxTextTagExpressionAttribute","mdxJsxTextTagExpressionAttributeMarker","mdxJsxTextTagExpressionAttributeValue","mdxJsxTextTagAttribute","mdxJsxTextTagAttributeName","mdxJsxTextTagAttributeNamePrimary","mdxJsxTextTagAttributeNamePrefixMarker","mdxJsxTextTagAttributeNameLocal","mdxJsxTextTagAttributeInitializerMarker","mdxJsxTextTagAttributeValueLiteral","mdxJsxTextTagAttributeValueLiteralMarker","mdxJsxTextTagAttributeValueLiteralValue","mdxJsxTextTagAttributeValueExpression","mdxJsxTextTagAttributeValueExpressionMarker","mdxJsxTextTagAttributeValueExpressionValue")}}}function ca(e,t){return{concrete:!0,name:"mdxJsxFlowTag",tokenize:function(i,n,r){const s=this;return a;function a(n){return function(n){return oa.call(s,i,o,r,e,t.acornOptions,t.addResult,!1,"mdxJsxFlowTag","mdxJsxFlowTagMarker","mdxJsxFlowTagClosingMarker","mdxJsxFlowTagSelfClosingMarker","mdxJsxFlowTagName","mdxJsxFlowTagNamePrimary","mdxJsxFlowTagNameMemberMarker","mdxJsxFlowTagNameMember","mdxJsxFlowTagNamePrefixMarker","mdxJsxFlowTagNameLocal","mdxJsxFlowTagExpressionAttribute","mdxJsxFlowTagExpressionAttributeMarker","mdxJsxFlowTagExpressionAttributeValue","mdxJsxFlowTagAttribute","mdxJsxFlowTagAttributeName","mdxJsxFlowTagAttributeNamePrimary","mdxJsxFlowTagAttributeNamePrefixMarker","mdxJsxFlowTagAttributeNameLocal","mdxJsxFlowTagAttributeInitializerMarker","mdxJsxFlowTagAttributeValueLiteral","mdxJsxFlowTagAttributeValueLiteralMarker","mdxJsxFlowTagAttributeValueLiteralValue","mdxJsxFlowTagAttributeValueExpression","mdxJsxFlowTagAttributeValueExpressionMarker","mdxJsxFlowTagAttributeValueExpressionValue")(n)}(n)}function o(e){return pt(e)?ut(i,l,"whitespace")(e):l(e)}function l(e){const t=s.parser.constructs.flow[123],o=Array.isArray(t)?t:t?[t]:[];let c;for(const e of o)if("mdxFlowExpression"===e.name){c=e;break}return 60===e?a(e):123===e&&c?i.attempt(c,l,r)(e):null===e||ht(e)?n(e):r(e)}}}}function ha(e){const t=e||{},i=t.acorn;let n;if(i){if(!i.parse||!i.parseExpressionAt)throw new Error("Expected a proper `acorn` instance passed in as `options.acorn`");n=Object.assign({ecmaVersion:2024,sourceType:"module"},t.acornOptions,{locations:!0})}else if(t.acornOptions||t.addResult)throw new Error("Expected an `acorn` instance passed in as `options.acorn`");return{flow:{60:ca(i||void 0,{acornOptions:n,addResult:t.addResult||void 0})},text:{60:la(i||void 0,{acornOptions:n,addResult:t.addResult||void 0})}}}const pa={tokenize:function(e,t,i){return function(n){return e.enter("lineEndingBlank"),e.consume(n),e.exit("lineEndingBlank"),e.attempt(gt,t,i)}},partial:!0},ua="https://github.com/micromark/micromark-extension-mdxjs-esm",da=new Set(["ExportAllDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ImportDeclaration"]);function fa(e){const t={tokenize:function(t,r,s){const a=this,o=a.parser.definedModuleSpecifiers||(a.parser.definedModuleSpecifiers=[]),l=this.events.length+1;let c="";return a.interrupt?s:function(e){return a.now().column>1?s(e):(t.enter("mdxjsEsm"),t.enter("mdxjsEsmData"),t.consume(e),c+=String.fromCharCode(e),h)};function h(e){return mt(e)?(t.consume(e),c+=String.fromCharCode(e),h):"import"!==c&&"export"!==c||32!==e?s(e):(t.consume(e),p)}function p(e){return null===e||ht(e)?(t.exit("mdxjsEsmData"),u(e)):(t.consume(e),p)}function u(e){return null===e?f(e):ht(e)?t.check(pa,f,d)(e):(t.enter("mdxjsEsmData"),p(e))}function d(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),u}function f(s){const c=$s(a.events.slice(l),{acorn:i,acornOptions:n,tokenTypes:["mdxjsEsmData"],prefix:o.length>0?"var "+o.join(",")+"\n":""});if(c.error){if(null!==s&&c.swallow)return d(s);const e=new ot("Could not parse import/exports with acorn",{cause:c.error,place:{line:c.error.loc.line,column:c.error.loc.column+1,offset:c.error.pos},ruleId:"acorn",source:"micromark-extension-mdxjs-esm"});throw e.url=ua+"#could-not-parse-importexports-with-acorn",e}o.length>0&&c.estree.body.shift();let h=-1;for(;++h<c.estree.body.length;){const e=c.estree.body[h];if(!da.has(e.type)){const t=new ot("Unexpected `"+e.type+"` in code: only import/exports are supported",{place:Ys(e),ruleId:"non-esm",source:"micromark-extension-mdxjs-esm"});throw t.url=ua+"#unexpected-type-in-code-only-importexports-are-supported",t}if("ImportDeclaration"===e.type&&!a.interrupt){let t=-1;for(;++t<e.specifiers.length;){const i=e.specifiers[t];o.push(i.local.name)}}}return Object.assign(t.exit("mdxjsEsm"),e.addResult?{estree:c.estree}:void 0),r(s)}},concrete:!0};if(!e||!e.acorn||!e.acorn.parse)throw new Error("Expected an `acorn` instance passed in as `options.acorn`");const i=e.acorn,n=Object.assign({ecmaVersion:2024,sourceType:"module"},e.acornOptions,{locations:!0});return{flow:{101:t,105:t}}}const ma={};function ga(e){const t=e||ma,i=this.data(),n=i.micromarkExtensions||(i.micromarkExtensions=[]),r=i.fromMarkdownExtensions||(i.fromMarkdownExtensions=[]),s=i.toMarkdownExtensions||(i.toMarkdownExtensions=[]);n.push(function(e){const t=Object.assign({acorn:Mr.extend(xi()),acornOptions:{ecmaVersion:2024,sourceType:"module"},addResult:!0},e);return xt([fa(t),sa(t),ha(t),{disable:{null:["autolink","codeIndented","htmlFlow","htmlText"]}}])}(t)),r.push([{enter:{mdxFlowExpression:vn,mdxTextExpression:bn},exit:{mdxFlowExpression:wn,mdxFlowExpressionChunk:kn,mdxTextExpression:wn,mdxTextExpressionChunk:kn}},Bn(),{enter:{mdxjsEsm:Gn},exit:{mdxjsEsm:Xn,mdxjsEsmData:Hn}}]),s.push(function(e){return{extensions:[{handlers:{mdxFlowExpression:En,mdxTextExpression:En},unsafe:[{character:"{",inConstruct:["phrasing"]},{atBreak:!0,character:"{"}]},Un(e),{handlers:{mdxjsEsm:Wn}}]}}(t))}function xa(e,t){const i=["start","end","loc","range"];let n=-1;for(;++n<i.length;){const r=i[n];r in e&&(t[r]=e[r])}}function ya(e,t){let i=-1;const n=[],r=[];let s;for(;++i<e.length;){const t=e[i];"ImportNamespaceSpecifier"===t.type?s=t:r.push(t)}if(s){const e={type:"VariableDeclarator",id:s.local,init:t};xa(s,e),n.push(e)}return n.push({type:"VariableDeclarator",id:{type:"ObjectPattern",properties:r.map(function(e){let t="ImportSpecifier"===e.type?e.imported:"ExportSpecifier"===e.type?e.exported:{type:"Identifier",name:"default"},i=e.local;"ExportSpecifier"===e.type&&(i=t,t=e.local),rt("Identifier"===i.type);const n={type:"Property",kind:"init",shorthand:"Identifier"===t.type&&"Identifier"===i.type&&t.name===i.name,method:!1,computed:!1,key:t,value:i};return xa(e,n),n})},init:s?{type:"Identifier",name:s.local.name}:t}),n}function va(e){let t,i=-1;for(;++i<e.length;){const n=e[i],r="string"==typeof n&&Et(n)?{type:"Identifier",name:n}:{type:"Literal",value:n};t=t?{type:"MemberExpression",object:t,property:r,computed:"Literal"===r.type,optional:!1}:r}return rt("Literal"!==t.type),t}function ba(e){let t,i=-1;for(;++i<e.length;){const n=e[i];rt("string"==typeof n&&Et(n,{jsx:!0}));const r={type:"JSXIdentifier",name:n};t=t?{type:"JSXMemberExpression",object:t,property:r}:r}return t}function wa(e){const{outputFormat:t}=e||{};return function(e){if(e.comments&&(e.comments=e.comments.filter(function(e){return!e.data?._mdxIsPragmaComment})),"function-body"===t){let t=0;for(;t<e.body.length;){const i=e.body[t];if(!("directive"in i)||!i.directive)break;t++}const i=e.body[t];i&&"ImportDeclaration"===i.type&&"string"==typeof i.source.value&&/\/jsx-(dev-)?runtime$/.test(i.source.value)&&(e.body[t]={type:"VariableDeclaration",kind:"const",declarations:ya(i.specifiers,va(["arguments",0]))})}}}function ka(){const e=[{block:!1,defined:[]}];return{enter:function(n){if("ArrowFunctionExpression"===n.type){e.push({block:!1,defined:[]});for(const e of n.params)i(e,!1)}else if("BlockStatement"===n.type||"DoWhileStatement"===n.type||"ForInStatement"===n.type||"ForOfStatement"===n.type||"ForStatement"===n.type||"WhileStatement"===n.type)e.push({block:!0,defined:[]});else if("CatchClause"===n.type)e.push({block:!0,defined:[]}),n.param&&i(n.param,!0);else if("ClassDeclaration"===n.type)t(n.id.name,!1);else if("FunctionDeclaration"===n.type){t(n.id.name,!1),e.push({block:!1,defined:[]});for(const e of n.params)i(e,!1)}else if("FunctionExpression"===n.type){n.id&&t(n.id.name,!1),e.push({block:!1,defined:[]});for(const e of n.params)i(e,!1)}else if("ImportDeclaration"===n.type)for(const e of n.specifiers)t(e.local.name,!1);else if("VariableDeclaration"===n.type)for(const e of n.declarations)i(e.id,"var"!==n.kind)},exit:function(t){if("ArrowFunctionExpression"===t.type||"FunctionDeclaration"===t.type||"FunctionExpression"===t.type){const t=e.pop();rt(!t.block)}else if("BlockStatement"===t.type||"CatchClause"===t.type||"DoWhileStatement"===t.type||"ForInStatement"===t.type||"ForOfStatement"===t.type||"ForStatement"===t.type||"WhileStatement"===t.type){const t=e.pop();rt(t.block)}},scopes:e};function t(t,i){let n,r=e.length;for(;r--&&(n=e[r],!i&&n.block););n.defined.push(t)}function i(e,n){if("ArrayPattern"===e.type)for(const t of e.elements)t&&i(t,n);else if("AssignmentPattern"===e.type)i(e.left,n);else if("Identifier"===e.type)t(e.name,n);else if("ObjectPattern"===e.type)for(const t of e.properties)"Property"===t.type?i(t.value,n):(rt("RestElement"===t.type),i(t,n));else rt("RestElement"===e.type),i(e.argument,n)}}function Ea(e){return"FunctionDeclaration"===e.type?{...e,type:"FunctionExpression"}:(rt("ClassDeclaration"===e.type),{...e,type:"ClassExpression"})}function Sa(e){return Boolean("FunctionDeclaration"===e.type||"ClassDeclaration"===e.type||"VariableDeclaration"===e.type)}function Ca(e){const t=e.baseUrl||void 0,i="object"==typeof t?t.href:t,n=e.outputFormat||"program",r=void 0===e.pragma?"React.createElement":e.pragma,s=void 0===e.pragmaFrag?"React.Fragment":e.pragmaFrag,a=e.pragmaImportSource||"react",o=e.jsxImportSource||"react",l=e.jsxRuntime||"automatic";return function(e,t){const h=[],p=[];let u,d,f,m=0;if("classic"===l&&s&&Aa(e,"@jsxFrag",s),"classic"===l&&r&&Aa(e,"@jsx",r),"automatic"===l&&o&&Aa(e,"@jsxImportSource",o),Aa(e,"@jsxRuntime",l),"classic"===l&&a){if(!r)throw new Error("Missing `pragma` in classic runtime with `pragmaImportSource`");b({type:"ImportDeclaration",specifiers:[{type:"ImportDefaultSpecifier",local:{type:"Identifier",name:r.split(".")[0]}}],attributes:[],source:{type:"Literal",value:a}})}for(f of e.body)if("ExportDefaultDeclaration"===f.type)u&&t.fail("Unexpected duplicate layout, expected a single layout (previous: "+lt(Ys(u))+")",{ancestors:[e,f],place:Ys(f),ruleId:"duplicate-layout",source:"recma-document"}),u=f,p.push({type:"VariableDeclaration",kind:"const",declarations:[{type:"VariableDeclarator",id:{type:"Identifier",name:"MDXLayout"},init:Sa(f.declaration)?Ea(f.declaration):f.declaration}]});else if("ExportNamedDeclaration"===f.type&&f.source){const i=f.source;f.specifiers=f.specifiers.filter(function(n){if("Identifier"===n.exported.type&&"default"===n.exported.name){u&&t.fail("Unexpected duplicate layout, expected a single layout (previous: "+lt(Ys(u))+")",{ancestors:[e,f,n],place:Ys(f),ruleId:"duplicate-layout",source:"recma-document"}),u=n;const r=[];if("Identifier"===n.local.type&&"default"===n.local.name)r.push({type:"ImportDefaultSpecifier",local:{type:"Identifier",name:"MDXLayout"}});else{const e={type:"ImportSpecifier",imported:n.local,local:{type:"Identifier",name:"MDXLayout"}};xa(n.local,e),r.push(e)}const s={type:"Literal",value:i.value};xa(i,s);const a={type:"ImportDeclaration",specifiers:r,attributes:[],source:s};return xa(n,a),b(a),!1}return!0}),f.specifiers.length>0&&v(f)}else"ExportNamedDeclaration"===f.type||"ExportAllDeclaration"===f.type?v(f):"ImportDeclaration"===f.type?b(f):"ExpressionStatement"!==f.type||"JSXElement"!==f.expression.type&&"JSXFragment"!==f.expression.type?p.push(f):(d=!0,p.push(...c(f.expression,n,Boolean(u))));d||p.push(...c(void 0,n,Boolean(u))),h.push(["MDXContent","default"]),"function-body"===n&&p.push({type:"ReturnStatement",argument:{type:"ObjectExpression",properties:[...Array.from({length:m}).map(function(e,t){return{type:"SpreadElement",argument:{type:"Identifier",name:"_exportAll"+(t+1)}}}),...h.map(function(e){return{type:"Property",kind:"init",method:!1,computed:!1,shorthand:"string"==typeof e,key:{type:"Identifier",name:"string"==typeof e?e:e[1]},value:{type:"Identifier",name:"string"==typeof e?e:e[0]}}})]}}),e.body=p;let g=!1,x=!1;var y;function v(e){if("ExportNamedDeclaration"===e.type){if(e.declaration){const t=ka();ii(e,{enter(e){t.enter(e),"ArrowFunctionExpression"!==e.type&&"FunctionDeclaration"!==e.type&&"FunctionExpression"!==e.type||(this.skip(),t.exit(e))},leave:t.exit}),h.push(...t.scopes[0].defined)}for(f of e.specifiers)"Identifier"===f.exported.type?h.push(f.exported.name):(rt("string"==typeof f.exported.value),h.push(f.exported.value))}b(e)}function b(e){let t,i;if("function-body"===n)if("ImportDeclaration"===e.type||"ExportAllDeclaration"===e.type||"ExportNamedDeclaration"===e.type&&e.source){rt(e.source);const n={type:"ImportExpression",source:e.source};xa(e,n),i={type:"AwaitExpression",argument:n},t="ImportDeclaration"!==e.type&&"ExportNamedDeclaration"!==e.type||0!==e.specifiers.length?{type:"VariableDeclaration",kind:"const",declarations:"ExportAllDeclaration"===e.type?[{type:"VariableDeclarator",id:{type:"Identifier",name:"_exportAll"+ ++m},init:i}]:ya(e.specifiers,i)}:{type:"ExpressionStatement",expression:i}}else if(e.declaration)t=e.declaration;else{const i=[];for(const t of e.specifiers)"Identifier"===t.exported.type&&"Identifier"===t.local.type&&t.local.name!==t.exported.name&&i.push({type:"VariableDeclarator",id:t.exported,init:t.local});i.length>0&&(t={type:"VariableDeclaration",kind:"const",declarations:i})}else t=e;t&&p.push(t)}(i||"function-body"===n)&&ii(e,{enter(e){if(("ExportAllDeclaration"===e.type||"ExportNamedDeclaration"===e.type||"ImportDeclaration"===e.type)&&e.source){let t=e.source.value;try{new URL(t)}catch{(t.startsWith("/")||t.startsWith("./")||t.startsWith("../"))&&(t=new URL(t,i).href)}const n={type:"Literal",value:t};return xa(e.source,n),void(e.source=n)}if("ImportExpression"===e.type){x=!0;const t={type:"CallExpression",callee:{type:"Identifier",name:"_resolveDynamicMdxSpecifier"},arguments:[e.source],optional:!1};return void(e.source=t)}if("MemberExpression"===e.type&&"object"in e&&"MetaProperty"===e.object.type&&"Identifier"===e.property.type&&"import"===e.object.meta.name&&"meta"===e.object.property.name&&"url"===e.property.name){g=!0;const t={type:"Identifier",name:"_importMetaUrl"};xa(e,t),this.replace(t)}}}),x&&(i||(g=!0),e.body.push((y=i?{type:"Literal",value:i}:{type:"Identifier",name:"_importMetaUrl"},{type:"FunctionDeclaration",id:{type:"Identifier",name:"_resolveDynamicMdxSpecifier"},generator:!1,async:!1,params:[{type:"Identifier",name:"d"}],body:{type:"BlockStatement",body:[{type:"IfStatement",test:{type:"BinaryExpression",left:{type:"UnaryExpression",operator:"typeof",prefix:!0,argument:{type:"Identifier",name:"d"}},operator:"!==",right:{type:"Literal",value:"string"}},consequent:{type:"ReturnStatement",argument:{type:"Identifier",name:"d"}},alternate:null},{type:"TryStatement",block:{type:"BlockStatement",body:[{type:"ExpressionStatement",expression:{type:"NewExpression",callee:{type:"Identifier",name:"URL"},arguments:[{type:"Identifier",name:"d"}]}},{type:"ReturnStatement",argument:{type:"Identifier",name:"d"}}]},handler:{type:"CatchClause",param:null,body:{type:"BlockStatement",body:[]}},finalizer:null},{type:"IfStatement",test:{type:"LogicalExpression",left:{type:"LogicalExpression",left:{type:"CallExpression",callee:va(["d","startsWith"]),arguments:[{type:"Literal",value:"/"}],optional:!1},operator:"||",right:{type:"CallExpression",callee:va(["d","startsWith"]),arguments:[{type:"Literal",value:"./"}],optional:!1}},operator:"||",right:{type:"CallExpression",callee:va(["d","startsWith"]),arguments:[{type:"Literal",value:"../"}],optional:!1}},consequent:{type:"ReturnStatement",argument:{type:"MemberExpression",object:{type:"NewExpression",callee:{type:"Identifier",name:"URL"},arguments:[{type:"Identifier",name:"d"},y]},property:{type:"Identifier",name:"href"},computed:!1,optional:!1}},alternate:null},{type:"ReturnStatement",argument:{type:"Identifier",name:"d"}}]}}))),g&&e.body.unshift({type:"VariableDeclaration",declarations:[{type:"VariableDeclarator",id:{type:"Identifier",name:"_importMetaUrl"},init:va(["arguments",0,"baseUrl"])}],kind:"const"},{type:"IfStatement",test:{type:"UnaryExpression",operator:"!",prefix:!0,argument:{type:"Identifier",name:"_importMetaUrl"}},consequent:{type:"ThrowStatement",argument:{type:"NewExpression",callee:{type:"Identifier",name:"Error"},arguments:[{type:"Literal",value:"Unexpected missing `options.baseUrl` needed to support `export … from`, `import`, or `import.meta.url` when generating `function-body`"}]}},alternate:null})};function c(e,t,i){let n={type:"JSXElement",openingElement:{type:"JSXOpeningElement",name:{type:"JSXIdentifier",name:"MDXLayout"},attributes:[{type:"JSXSpreadAttribute",argument:{type:"Identifier",name:"props"}}],selfClosing:!1},closingElement:{type:"JSXClosingElement",name:{type:"JSXIdentifier",name:"MDXLayout"}},children:[{type:"JSXElement",openingElement:{type:"JSXOpeningElement",name:{type:"JSXIdentifier",name:"_createMdxContent"},attributes:[{type:"JSXSpreadAttribute",argument:{type:"Identifier",name:"props"}}],selfClosing:!0},closingElement:null,children:[]}]};i||(n={type:"ConditionalExpression",test:{type:"Identifier",name:"MDXLayout"},consequent:n,alternate:{type:"CallExpression",callee:{type:"Identifier",name:"_createMdxContent"},arguments:[{type:"Identifier",name:"props"}],optional:!1}});let r=e||{type:"Identifier",name:"undefined"};"JSXFragment"===r.type&&1===r.children.length&&"JSXElement"===r.children[0].type&&(r=r.children[0]);let s=!1;ii(r,{enter(e){if("ArrowFunctionExpression"===e.type||"FunctionDeclaration"===e.type||"FunctionExpression"===e.type)return this.skip();("AwaitExpression"===e.type||"ForOfStatement"===e.type&&e.await)&&(s=!0)}});const a={type:"FunctionDeclaration",id:{type:"Identifier",name:"MDXContent"},params:[{type:"AssignmentPattern",left:{type:"Identifier",name:"props"},right:{type:"ObjectExpression",properties:[]}}],body:{type:"BlockStatement",body:[{type:"ReturnStatement",argument:n}]}};return[{type:"FunctionDeclaration",async:s,id:{type:"Identifier",name:"_createMdxContent"},params:[{type:"Identifier",name:"props"}],body:{type:"BlockStatement",body:[{type:"ReturnStatement",argument:r}]}},"program"===t?{type:"ExportDefaultDeclaration",declaration:a}:a]}}function Aa(e,t,i){e.comments?.unshift({type:"Block",value:t+" "+i,data:{_mdxIsPragmaComment:!0}})}function _a(e){let t,i=-1;for(;++i<e.length;){const n=e[i];t=t?{type:"BinaryExpression",left:t,operator:"+",right:n}:n}return t}function Na(e){const{development:t,outputFormat:i,providerImportSource:n}=e;return function(e,r){const s=ka(),a=[];let o=!1,l=!1;if(ii(e,{enter(e){s.enter(e),"FunctionDeclaration"!==e.type&&"FunctionExpression"!==e.type&&"ArrowFunctionExpression"!==e.type||(a.push({components:[],idToInvalidComponentName:new Map,node:e,objects:[],references:{},tags:[]}),Ia(e,"MDXContent")&&!Ta(s.scopes,"MDXLayout")&&a[0].components.push("MDXLayout"));const t=a[0];if(t&&(Ia(t.node,"_createMdxContent")||n)&&"JSXElement"===e.type){let i=e.openingElement.name;if("JSXMemberExpression"===i.type){const n=[];for(;"JSXMemberExpression"===i.type;)n.unshift(i.property.name),i=i.object;n.unshift(i.name);const r=n.join("."),o=i.name,l=Ta(s.scopes,o);Object.hasOwn(t.references,r)||l&&(1!==a.length||"FunctionDeclaration"!==a[0].node.type||!Ia(a[0].node,"_createMdxContent"))||(t.references[r]={component:!0,node:e}),t.objects.includes(o)||l||t.objects.push(o)}else if("JSXNamespacedName"===i.type);else if(Et(i.name)&&!/^[a-z]/.test(i.name)){const n=i.name;Ta(s.scopes,n)||("MDXLayout"===n||Object.hasOwn(t.references,n)||(t.references[n]={component:!0,node:e}),t.components.includes(n)||t.components.push(n))}else if(e.data&&e.data._mdxExplicitJsx);else{const n=i.name;t.tags.includes(n)||t.tags.push(n);let r=["_components",n];if(!1===Et(n)){let e=t.idToInvalidComponentName.get(n);void 0===e&&(e=`_component${t.idToInvalidComponentName.size}`,t.idToInvalidComponentName.set(n,e)),r=[e]}e.openingElement.name=ba(r),e.closingElement&&(e.closingElement.name=ba(r))}}},leave(e){s.exit(e);const i=[],r=[],c=[],h=[];if("FunctionDeclaration"===e.type||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type){const s=a[a.length-1];let p;for(p of s.tags.sort())i.push({type:"Property",kind:"init",key:Et(p)?{type:"Identifier",name:p}:{type:"Literal",value:p},value:{type:"Literal",value:p},method:!1,shorthand:!1,computed:!1});for(p of(r.push(...s.components),s.objects))r.includes(p)||r.push(p);r.sort();const u=[];if(i.length>0||r.length>0||s.idToInvalidComponentName.size>0){if(n&&(o=!0,c.push({type:"CallExpression",callee:{type:"Identifier",name:"_provideComponents"},arguments:[],optional:!1})),(Ia(s.node,"MDXContent")||Ia(s.node,"_createMdxContent"))&&c.push(va(["props","components"])),i.length>0||c.length>1)for(const e of c)i.push({type:"SpreadElement",argument:e});let e,t=i.length>0?{type:"ObjectExpression",properties:i}:{type:"LogicalExpression",operator:"||",left:c[0],right:{type:"ObjectExpression",properties:[]}};if(r.length>0&&(e={type:"ObjectPattern",properties:r.map(function(e){return{type:"Property",kind:"init",key:{type:"Identifier",name:"MDXLayout"===e?"wrapper":e},value:{type:"Identifier",name:e},method:!1,shorthand:"MDXLayout"!==e,computed:!1}})}),s.tags.length>0&&(h.push({type:"VariableDeclarator",id:{type:"Identifier",name:"_components"},init:t}),t={type:"Identifier",name:"_components"}),Ia(s.node,"_createMdxContent"))for(const[e,t]of[...s.idToInvalidComponentName].sort(function([e],[t]){return e.localeCompare(t)}))h.push({type:"VariableDeclarator",id:{type:"Identifier",name:t},init:{type:"MemberExpression",object:{type:"Identifier",name:"_components"},property:{type:"Literal",value:e},computed:!0,optional:!1}});e&&h.push({type:"VariableDeclarator",id:e,init:t}),h.length>0&&u.push({type:"VariableDeclaration",kind:"const",declarations:h})}let d;for(d in s.references)if(Object.hasOwn(s.references,d)){const e=d.split(".");let t=0;for(;++t<e.length;){const i=e.slice(0,t).join(".");Object.hasOwn(s.references,i)||(s.references[i]={component:!1,node:s.references[d].node})}}const f=Object.keys(s.references).sort();let m=-1;for(;++m<f.length;){const e=f[m],i=s.references[e],n=lt(Ys(i.node)),r=[{type:"Literal",value:e},{type:"Literal",value:i.component}];l=!0,t&&n&&r.push({type:"Literal",value:n}),u.push({type:"IfStatement",test:{type:"UnaryExpression",operator:"!",prefix:!0,argument:va(e.split("."))},consequent:{type:"ExpressionStatement",expression:{type:"CallExpression",callee:{type:"Identifier",name:"_missingMdxReference"},arguments:r,optional:!1}},alternate:void 0})}u.length>0&&("BlockStatement"!==e.body.type&&(e.body={type:"BlockStatement",body:[{type:"ReturnStatement",argument:e.body}]}),e.body.body.unshift(...u)),a.pop()}}}),o&&n&&e.body.unshift(function(e,t){const i=[{type:"ImportSpecifier",imported:{type:"Identifier",name:"useMDXComponents"},local:{type:"Identifier",name:"_provideComponents"}}];return"function-body"===t?{type:"VariableDeclaration",kind:"const",declarations:ya(i,va(["arguments",0]))}:{type:"ImportDeclaration",specifiers:i,attributes:[],source:{type:"Literal",value:e}}}(n,i)),l){const i=[{type:"Literal",value:"Expected "},{type:"ConditionalExpression",test:{type:"Identifier",name:"component"},consequent:{type:"Literal",value:"component"},alternate:{type:"Literal",value:"object"}},{type:"Literal",value:" `"},{type:"Identifier",name:"id"},{type:"Literal",value:"` to be defined: you likely forgot to import, pass, or provide it."}],n=[{type:"Identifier",name:"id"},{type:"Identifier",name:"component"}];t&&(i.push({type:"ConditionalExpression",test:{type:"Identifier",name:"place"},consequent:_a([{type:"Literal",value:"\nIt’s referenced in your code at `"},{type:"Identifier",name:"place"},{type:"Literal",value:(r.path?"` in `"+r.path:"")+"`"}]),alternate:{type:"Literal",value:""}}),n.push({type:"Identifier",name:"place"})),e.body.push({type:"FunctionDeclaration",id:{type:"Identifier",name:"_missingMdxReference"},generator:!1,async:!1,params:n,body:{type:"BlockStatement",body:[{type:"ThrowStatement",argument:{type:"NewExpression",callee:{type:"Identifier",name:"Error"},arguments:[_a(i)]}}]}})}"function-body"===i&&e.body.unshift({type:"ExpressionStatement",expression:{type:"Literal",value:"use strict"},directive:"use strict"})}}function Ia(e,t){return Boolean(e&&"id"in e&&e.id&&e.id.name===t)}function Ta(e,t){let i=e.length;for(;i--;){if(e[i].defined.includes(t))return!0}return!1}function Pa(){return function(e){yt(e,"raw",function(e,t,i){if(i&&"number"==typeof t)return i.children.splice(t,1),t})}}const La=/\s+/g,Va=/[\t\n\v\f\r ]+/g;function Ra(e,t){t?"string"==typeof t&&(t={style:t}):t={};const i=t.preserveLineEndings?Oa:ja;return String(e).replace("html"===t.style?Va:La,t.trim?function(e){return t;function t(t,i,n){return 0===i||i+t.length===n.length?"":e(t)}}(i):i)}function Oa(e){const t=/\r?\n|\r/.exec(e);return t?t[0]:" "}function ja(){return" "}function Da(){return function(e){yt(e,function(e,t,i){let n=-1,r=!0,s=!1;if(i&&"number"==typeof t&&"paragraph"===e.type){const a=e.children;for(;++n<a.length;){const e=a[n];if("mdxJsxTextElement"===e.type||"mdxTextExpression"===e.type)s=!0;else if("text"!==e.type||""!==Ra(e.value,{style:"html",trim:!0})){r=!1;break}}if(r&&s){n=-1;const e=[];for(;++n<a.length;){const t=a[n];"mdxJsxTextElement"===t.type&&(t.type="mdxJsxFlowElement"),"mdxTextExpression"===t.type&&(t.type="mdxFlowExpression"),"text"===t.type&&/^[\t\r\n ]+$/.test(String(t.value))||e.push(t)}return i.children.splice(t,1,...e),t}}if("mdxJsxFlowElement"===e.type||"mdxJsxTextElement"===e.type){(e.data||(e.data={}))._mdxExplicitJsx=!0}("mdxFlowExpression"===e.type||"mdxTextExpression"===e.type||"mdxjsEsm"===e.type)&&e.data&&e.data.estree&&ii(e.data.estree,{enter(e){if("JSXElement"===e.type){(e.data||(e.data={}))._mdxExplicitJsx=!0}}})})}}const Ma=["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"];let Fa=!1;function Ba(e,t){const{file:i,options:n}=Yt(e,t);return function(e){const t=e||{};t.format,("classic"===t.jsxRuntime||t.pragma||t.pragmaFrag||t.pragmaImportSource)&&!Fa&&(Fa=!0,console.warn("Unexpected deprecated option `jsxRuntime: 'classic'`, `pragma`, `pragmaFrag`, or `pragmaImportSource`; see <https://mdxjs.com/migrating/v3/> on how to migrate"));const i=vt().use(bt);"md"!==t.format&&i.use(ga);const n=t.remarkRehypeOptions||{};return i.use(Da).use(t.remarkPlugins||[]).use(Ot,{...n,allowDangerousHtml:!0,passThrough:[...n.passThrough||[],...Ma]}).use(t.rehypePlugins||[]),"md"===t.format&&i.use(Pa),i.use(yn,t).use(Ca,t).use(Na,t),t.jsx||i.use(li,t).use(wa,t),i.use(zi).use(Ji,t).use(t.recmaPlugins||[]),i}(n).process(i)}const Ua=Object.getPrototypeOf(za).constructor;async function za(e,t){return new Ua(String(e))(t)}async function Ja(e,t){const{compiletime:i,runtime:n}=function(e){const{Fragment:t,baseUrl:i,development:n,jsx:r,jsxDEV:s,jsxs:a,useMDXComponents:o,...l}=e||{};if(!t)throw new Error("Expected `Fragment` given to `evaluate`");if(n){if(!s)throw new Error("Expected `jsxDEV` given to `evaluate`")}else{if(!r)throw new Error("Expected `jsx` given to `evaluate`");if(!a)throw new Error("Expected `jsxs` given to `evaluate`")}return{compiletime:{...l,development:n,outputFormat:"function-body",providerImportSource:o?"#":void 0},runtime:{Fragment:t,baseUrl:i,jsx:r,jsxDEV:s,jsxs:a,useMDXComponents:o}}}(t);return za(await Ba(e,i),n)}const qa=(e,t=0)=>{const i=new Int32Array(e.length);for(let n=0;n<e.length;n++)i[n]=e.charCodeAt(n)-48-t;return i},Ga=e=>{const t=new Int32Array(e.length+1);for(let i=0;i<e.length;i++)t[i+1]=t[i]+e[i];return t},Xa=e=>{const t=new Int32Array(e.length);let i=0;for(let n=0;n<e.length;n++){const r=e.charCodeAt(n)-48;i+=r>>>1^-(1&r),t[n]=i}return t},Ha=Ga(qa("E0500002005282000000002000150000020021820000011200000003022202000300004200120000200420001200021200301200010400162000010000220021010:2192001200220012000220012000200200200400010200040000000000400200108200110100000022010313000162002000020020012020080213000228200000000082000000000120002000120020020040101020300130001001010")),Wa=Ga(qa(":11111111211111119311546544411119731869:671397415686432441111111111161114151214313433415:78311132233313187211117221449443411141111151152226611131111112212518142224214215421421542142424242516171151615616347111111111197911327451111111111111111111113134714133513411111311111111111111111111112444411111342312715245411117:3")),$a=(()=>{const e=Ha.length-1,t=new Int32Array(e);for(let i=e-1;i>=0;i--){let e=1,n=i+1;for(let r=Ha[i];r<Ha[i+1];r++)e+=t[n],n+=t[n];t[i]=e}const i=new Int32Array(Ha[e]);let n=0;for(let r=0;r<e;r++){let e=r+1;for(let s=Ha[r];s<Ha[r+1];s++)i[n++]=e,e+=t[e]}return i})(),Ka=qa("02000000000000900<=0?000B000F00F00ŏI0J0LNPRTVX0000]_a00000000000000000000000rst0000000zŏ00000000000
ŏ0000000ŏ00000000000000000000000000000000000000000000000000000000000000Ë000000000000000000000Þ000000000000000000ð0000000ø0ùúûüýþÿĀāĂ㥹Ć000000000000000000000000000000000000000000ħ0ĨĪ00000000000000000000ļĽ00000Ŭ000000",1),Qa=Ga(qa("123333359346463635126536711576")),Ya=qa("93203242332583253248325D>E?F@03263243255B:032523853:0325B:8GA032542H<C=12727B:0328432553;D>E?3257D>032585:0325B:;0328B:032"),Za=qa("012113445661666666789111:5;;;;;;;;444;;;:62999<1161=62>>?61:21@ABCD4446996:64E:::;:?::64:F114GHHIHHHHIHH1HH1HH1HHHHHH::EEJ4444::EE4444441691;644444114244444:;K6666555555555555555999666664444444444444444444444226?6:66644L9M?D:111::::6DE199"),eo=Xa("020200202020020020020020020020200200200200200200200002020202001003040106000200200200200200200200200200200200200200200200200200200200200200200200200200200200020020020020020020002020200202002002002002002002002002002020002002020020200220200200200200200200200200200200020020020000200020002000200200200020020020002000200200200020020202002020202000200200020022000200200020020002002000200220002002000200W0Z00020020002002020002002000200g0j0002002000200200020020002002000200200020020002000200002000002002002002002000200020000200002002002002002002002020020020200200200200200200200200202020020020020020020020020002002002020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020002002002002002002000200200200200200200200200200020202020002000200020002002002002000020200200"),to=(()=>{const e=new Int32Array(319).fill(-1),t=Xa("02422242:222222242224222242442222222422222244442242226224222426222422442462222422622222222626222462242622422622422424242422222222422222222242422222222222222222622442224222222222222224424442262222222222222222222226224222424242422224422422422222"),i=Xa("02222222222222222222202222222222222222222222221422222222222222222222222222222222222Y\\222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222221422222222222222222222222222222222222222Ŀł222222222222222222");for(let n=0;n<t.length;n++)e[t[n]]=i[n];return e})(),io="container |break-after- all auto avoid avoid-page column left page right|break-before- all auto avoid avoid-page column left page right|break-inside-a uto void void-column void-page|box-decoration- clone slice|box- border content| contents flow-root hidden table table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group| not-sr-only sr-only|float- end left none right start|clear- both end left none right start|isolat e ion-auto|overflow- auto clip hidden scroll visible|overflow-x- auto clip hidden scroll visible|overflow-y- auto clip hidden scroll visible|overscroll- auto contain none|overscroll-x- auto contain none|overscroll-y- auto contain none| absolute fixed relative static sticky| collapse invisible visible|justify- around baseline between center center-safe end end-safe evenly normal start stretch|justify-items- center center-safe end end-safe normal start stretch|justify-self- auto center center-safe end end-safe start stretch|items- baseline baseline-last center center-safe end end-safe start stretch|self- auto baseline baseline-last center center-safe end end-safe start stretch|place-content- around baseline between center center-safe end end-safe evenly start stretch|place-items- baseline center center-safe end end-safe start stretch|place-self- auto center center-safe end end-safe start stretch| antialiased subpixel-antialiased| italic not-italic|normal-nums |ordinal |slashed-zero | lining-nums oldstyle-nums| proportional-nums tabular-nums| diagonal-fractions stacked-fractions| no-underline overline| capitalize lowercase normal-case uppercase|truncate |whitespace- break-spaces normal nowrap pre pre-line pre-wrap|break- all keep normal words|wrap- anywhere break-word normal|hyphens- auto manual none|mix-blend- color color-burn color-dodge darken difference exclusion hard-light hue lighten luminosity multiply normal overlay plus-darker plus-lighter saturation screen soft-light|table- auto fixed|caption- bottom top|backface- hidden visible|appearance- auto none|scheme- dark light light-dark normal only-dark only-light|field-sizing- content fixed|pointer-events- auto none|resize -none -x -y|snap- align-none center end start|snap- always normal|snap- both none x y|snap- mandatory proximity|touch- auto manipulation none|touch-pan- left right x|touch-pan- down up y|touch-pinch-zoom |select- all auto none text|forced-color-adjust- auto none| normal size| baseline bottom middle sub super text-bottom text-top top| bounce none ping pulse spin| auto square video| auto fr max min px|none | auto full px| fixed local scroll|clip- border content padding text|origin- border content padding| bottom bottom-left bottom-right center left left-bottom left-top right right-bottom right-top top top-left top-right| no-repeat repeat repeat-round repeat-space repeat-x repeat-y| auto contain cover|blend- color color-burn color-dodge darken difference exclusion hard-light hue lighten luminosity multiply normal overlay saturation screen soft-light|to- b bl br l r t tl tr| auto dvh fit full lh lvh max min px screen svh| dashed dotted double hidden none solid| collapse separate|px |auto |full | content none strict| inline-size size|layout |paint |style | around baseline between center center-safe end end-safe evenly normal start stretch| alias all-scroll auto cell col-resize context-menu copy crosshair default e-resize ew-resize grab grabbing help move n-resize ne-resize nesw-resize no-drop none not-allowed ns-resize nw-resize nwse-resize pointer progress row-resize s-resize se-resize sw-resize text vertical-text w-resize wait zoom-in zoom-out| dashed dotted double solid wavy| auto from-font|reverse |initial | in in-out initial linear out| col col-reverse row row-reverse| nowrap wrap wrap-reverse| auto initial none| black bold extrabold extralight light medium normal semibold thin| condensed expanded extra-condensed extra-expanded normal semi-condensed semi-expanded ultra-condensed ultra-expanded|flow- col col-dense dense row row-dense| none subgrid| auto dvh dvw fit full lh lvh lvw max min px screen svh svw| block flex grid table| auto dvw fit full lvw max min px screen svw| loose none normal px relaxed snug tight|through |item | inside outside| decimal disc none| auto px| clip-border clip-content clip-fill clip-padding clip-stroke clip-view no-clip| add exclude intersect subtract| alpha luminance match|origin- border content fill padding stroke view|type- alpha luminance| circle ellipse| closest-corner closest-side farthest-corner farthest-side|at- bottom bottom-left bottom-right center left left-bottom left-top right right-bottom right-top top top-left top-right| dvh fit full lh lvh max min none px screen svh| auto dvh dvw fit full lh lvh lvw max min none px screen svh svw| dvw fit full lvw max min none px screen svw| auto dvh dvw fit full lvh lvw max min none prose px svh svw| auto dvh dvw fit full lvh lvw max min none px screen svh svw| contain cover fill none scale-down| first last none| distant dramatic midrange near none normal|inset | full none|3d | auto smooth|gutter- auto both stable| auto none thin| inner none| auto dvh dvw fit full lvh lvw max min px svh svw|base | center end justify left right start| clip ellipsis| balance nowrap pretty wrap| normal tight tighter wide wider widest| cpu gpu none| 3d flat| all colors none opacity shadow transform| discrete normal| full px| auto dvh dvw fit full lvh lvw max min px screen svh svw| auto contents scroll transform".split("|").map(e=>{const t=e.split(" "),i=t.shift();for(let e=0;e<t.length;e++)t[e]=i+t[e];return t}),no=Xa("0000000000000000000000000000000000000000000000000000000000000262242:6@200000006:240B428:4422400002046044222426220026642642462026224222824220022400000000\\00N222422242222222224062242222222422226264222422222222222222442804222422222222222222222222220<4<0204260002444020204224422"),ro=Xa("ɠ222222222222222222222222222222222222222222222222222222222222˕4222226>6ʰ22ʷʺʷʺʷ42ʴ2ʓ22>621422ɶ222ɹɼɷɺɷɺ22ɱ42222ɨ2ɧ26622ɘɓ244ƸƵ222]d24242ǖǓƚÄȫ2263ȨȥȨ2222222ǣ222222222222222222ǂƽ2ƾƵ2222222422222ƜƑ22222222222222222222144Ŧţ22Ţş222222222222222222222ĸ2ı68ĦģĦɡŰ4Ġ«®ĝ822ĔđĔ2ē2222622"),so=Xa("02222222222222222222222222222222222222222222222222222222222222222202021422222222CF2200GJ021042222WZ222IL0ad2c10h2222U00X202[^2w0000120zy|}22
:22z22222222222G000qOVI00000{2<40000@00000G¦§000ª00000000000000021K¬«00®000000000000000000000222HGH_1¸222½2¾2222ÇÊ000°2±"),ao=new Int32Array(987),oo=new Int32Array(987),lo=new Int32Array(987);let co="";const ho=new Int32Array(1022);{const e=new Map;let t=0,i=0;for(let n=0;n<no.length;n++)for(const r of io[so[n]]){let s=e.get(r);void 0===s&&(s=t++,e.set(r,s),ho[2*s]=co.length,ho[2*s+1]=r.length,co+=r),ao[i]=no[n],oo[i]=ro[n],lo[i]=s,i++}}const po=Xa("0b2N:222@R>F@286¦2@H2D266226FB22B2>BD\\6N22222Z222D222p"),uo=Ga(qa("1::24444432:442:44:44>222222:44:4421322511111311111114")),fo=Xa("24A;33N=C@H4A;33N=C@<27;83:;8393NQ:3NQʰ222ˉºŴŽ2R2=18cƴÅŇ=cĞÛC1ƈǝȈ:ħ25=11D3A@4=<1;1DEr25;11B3?<6;:371BCn9@7=<8192>2E121@9@EHE@9>2T25511<398454131<=V25511<398454131<=ƧNž2Đå242L222290000f22500ɛ000ǘ222"),mo=qa("ij"),go=qa(""),xo=qa("1");var yo={GROUP_COUNT:384,customValidatorNames:[],edgeStart:Ha,labelStart:Wa,labelText:"@containerabcdefghinlmoprstunderlineviawzccentlignnimatespectuto-colsrowsaglorightnessckdrop-sisbcontrastfiltergrayscalehue-rotateinvertopacityslurrightnessaturateepia-coniclinearpositionradialsizeockurrderttom-belrstxyespacing-xyaretoursorlnt-umnsendspantartainentrasteividerop-shadowurationcorationlay-xyasendillexontromlter-featuresstretchapr-xyayscaleidow-colsrowsue-rotatedentlinesetvert-beringsxyeshadoweiadingftnest-clamp-imageabein-lrstxyskx--b-coniclpositionrsizet-x-y-fromto-fromto-inearfromto-fromto-adialfromto-fromtofromtofromtofromtoblockhinlinew-screenesblockhinlinewbjectpacityrutlinederigin-offsetbelrstxyesrspective-originaceholderioghtng-offsettateundedw-xyz-belrstlreseslr-endspantartaturatecepiahizekewpace-taleroll-xyz-barmpbelrstxyesbelrstxyes-thumbrackadowrink-xyxyartrokeabextora-shadowpckingnsformitionlate-xyz-offsetill-changeoom",edgeTarget:$a,nodeGroup:Ka,nodeVlist:to,vlistPat:Qa,vlistOps:Ya,vlistRef:Za,vlistGroup:eo,litAnchor:ao,litGroup:oo,litPool:lo,poolOffsets:ho,poolText:co,adjGid:po,adjStart:uo,adjTgt:fo,patGid:mo,patTgt:go,postfixLookupGroups:xo,orderSensitiveModifiers:"* ** after backdrop before details-content file first-letter first-line marker placeholder selection"};const vo="line"in new Error,bo=-1,wo=-1,ko=(e,t,i)=>{let n=2166136261;for(let r=t;r<i;r++)n=Math.imul(n^e.charCodeAt(r),16777619);return n},Eo=(e,t,i)=>{const n=i-t;let r=Math.imul(n,2654435761)^e.charCodeAt(t);if(n>3){const s=n>>2,a=n>>1;r=Math.imul(r^e.charCodeAt(t+1)<<8^e.charCodeAt(t+2)<<16^e.charCodeAt(t+s),2246822507),r=Math.imul(r^e.charCodeAt(t+a)<<8^e.charCodeAt(t+a+s)<<16^e.charCodeAt(i-3),3266489909),r^=e.charCodeAt(i-2)<<8^e.charCodeAt(i-1)<<16;for(let n=t+3,s=i-4;n<t+8&&n<s;n++,s--)r=Math.imul(r^e.charCodeAt(n)^e.charCodeAt(s)<<8,16777619)}return r^r>>>15},So=(e,t,i={})=>{const{GROUP_COUNT:n,edgeStart:r,labelStart:s,labelText:a,edgeTarget:o,nodeGroup:l,nodeVlist:c,vlistPat:h,vlistOps:p,vlistRef:u,vlistGroup:d,litAnchor:f,litGroup:m,litPool:g,poolOffsets:x,poolText:y,adjGid:v,adjStart:b,adjTgt:w,patGid:k,patTgt:E,postfixLookupGroups:S,customValidatorNames:C,orderSensitiveModifiers:A}=e,_=new Int32Array(n).fill(-1);for(let e=0;e<v.length;e++)_[v[e]]=e;let N=0;for(let e=0;e+1<b.length;e++){const t=b[e+1]-b[e];t>N&&(N=t)}let I=32;for(;I<2*(1+N+k.length);)I<<=1;const T=new Int32Array(u.length+1);for(let e=0;e<u.length;e++)T[e+1]=T[e]+h[u[e]+1]-h[u[e]];const P=new Uint8Array(n);for(let e=0;e<S.length;e++)P[S[e]]=1;const L=r.length-1,V=new Uint8Array(L);let R=0,O=!0;for(let e=0;e<f.length;e++){V[f[e]]=1;const t=x[2*g[e]+1];t>R&&(R=t);const i=y.charCodeAt(x[2*g[e]]);91!==i&&40!==i||(O=!1)}let j=1;for(;j<2*f.length;)j<<=1;const D=new Int32Array(j).fill(-1);for(let e=0;e<f.length;e++){const t=x[2*g[e]];let i=(ko(y,t,t+x[2*g[e]+1])^Math.imul(f[e],2654435761))&j-1;for(;-1!==D[i];)i=i+1&j-1;D[i]=e}const M=(e,t,i,n)=>{let r=(ko(t,i,n)^Math.imul(e,2654435761))&j-1;const s=n-i;for(;;){const n=D[r];if(-1===n)return-1;if(f[n]===e&&x[2*g[n]+1]===s){const e=x[2*g[n]];let r=!0;for(let n=0;n<s;n++)if(y.charCodeAt(e+n)!==t.charCodeAt(i+n)){r=!1;break}if(r)return m[n]}r=r+1&j-1}},F=i.cacheSize??8192,B=i.prefix??e.prefix??"",U=""===B?"":B+":",z=U.length,J=(C??[]).map(e=>{throw new Error("cn: missing validator "+e)}),q=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,G=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,X=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,H=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;let W=0,$=-1,K=-1,Q=-1,Y=-1;const Z=e=>e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57||95===e,ee=e=>/\s/.test(String.fromCharCode(e)),te=(e,t,i)=>{if(W=0,$=-1,i-t<3)return;const n=e.charCodeAt(t),r=e.charCodeAt(i-1);if(91===n&&93===r)W=1;else{if(40!==n||41!==r)return;W=2}Q=t+1,Y=i-1;let s=t+1;if(Z(e.charCodeAt(s))){for(s++;s<i-1;){const t=e.charCodeAt(s);if(!Z(t)&&45!==t)break;s++}s<i-2&&58===e.charCodeAt(s)&&($=t+1,K=s,Q=s+1)}},ie=(e,t,i,n)=>{if(i-t!==n.length)return!1;for(let i=0;i<n.length;i++)if(e.charCodeAt(t+i)!==n.charCodeAt(i))return!1;return!0},ne=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,re=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,se=e=>!!e&&!Number.isNaN(Number(e)),ae=[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2],oe="length|number|number weight|family-name|position percentage|length size bg-size|image url|shadow|length|family-name|position percentage|length size bg-size|image url|shadow|number weight".split("|").map(e=>e.split(" ")),le=[2,3,1,0,0,0,4,5,0,0,0,0,0,1,1],ce=(e,t,i,n)=>{if(e>=10){if(e>=25)return J[e-25](t.slice(i,n));const r=e-10;if(W!==ae[r])return!1;if($>=0){for(const e of oe[r])if(ie(t,$,K,e))return!0;return!1}switch(le[r]){case 0:return!1;case 1:return!0;case 2:{const e=t.slice(Q,Y);return q.test(e)&&!G.test(e)}case 3:return se(t.slice(Q,Y));case 4:return H.test(t.slice(Q,Y));default:return X.test(t.slice(Q,Y))}}switch(e){case 0:return!0;case 1:return 0===W;case 2:return 1===W;case 3:return 2===W;case 4:return ne.test(t.slice(i,n));case 5:return se(t.slice(i,n));case 6:{const e=t.slice(i,n);return!!e&&Number.isInteger(Number(e))}case 7:return n>i&&37===t.charCodeAt(n-1)&&se(t.slice(i,n-1));case 8:return re.test(t.slice(i,n));default:return((e,t,i)=>{if(i-t<11||!ie(e,t,t+10,"@container"))return!1;if(47===e.charCodeAt(t+10))return i-t>=12;const n=e.charCodeAt(t+11);return 115===n&&i-t>=17&&ie(e,t+10,t+16,"-size/")||110===n&&i-t>=19&&ie(e,t+10,t+18,"-normal/")})(t,i,n)}},he=new Set("string"==typeof A?A.split(" "):A),pe=(e,t,i,n,r,s)=>{const a=ko(t,i,n)^(r?2654435769:0);let o=e.get(a);if(void 0!==o)e:for(let e=0;e<o.length;e++){const s=o[e];if(s.imp===r&&s.k.length===n-i){for(let e=0;e<s.k.length;e++)if(s.k.charCodeAt(e)!==t.charCodeAt(i+e))continue e;return s.id}}else e.set(a,o=[]);const l=t.slice(i,n),c=s(l);return o.push({k:l,imp:r,id:c}),c};let ue=new Map,de=new Map,fe=2;const me=(e,t)=>{const i=[];let n=0,r=0,s=0;for(let t=0;t<e.length;t++){const a=e.charCodeAt(t);0===n&&0===r&&58===a?(i.push(e.slice(s,t)),s=t+1):91===a?n++:93===a?n--:40===a?r++:41===a&&r--}i.push(e.slice(s));let a=i[0];if(i.length>1){const e=[];let t=[];for(const n of i)91===n.charCodeAt(0)||he.has(n)?(t.length&&(e.push(...t.sort()),t=[]),e.push(n)):t.push(n);t.length&&e.push(...t.sort()),a=e.join(":")}const o=t?a+" !":a;let l=de.get(o);return void 0===l&&de.set(o,l=fe++),l};let ge=new Map,xe=n;const ye=n+4096,ve=()=>xe++,be=2097152,we=8192,ke=new Int32Array(we),Ee=new Array(we).fill(null),Se=new Int32Array(we),Ce=new Int32Array(we),Ae=new Uint8Array(we);let _e=0;const Ne=(e,t,i,n,r,s,a,o)=>{let l=e;if(null!==Ee[e])if(null===Ee[1|e])l=1|e;else{if(3&_e++)return;l=e|_e>>2&1}Ee[l]=t.slice(i,n),ke[l]=r,Se[l]=s,Ce[l]=a,Ae[l]=o},Ie=()=>Ee.fill(null);let Te=256,Pe=[new Int32Array(Te),new Int32Array(Te),new Int32Array(Te),new Int32Array(Te)],[Le,Ve,Re,Oe]=Pe,je=new Uint8Array(Te),De=new Uint8Array(Te);const Me=()=>{Te*=2,Pe=Pe.map(e=>{const t=new Int32Array(Te);return t.set(e),t}),[Le,Ve,Re,Oe]=Pe;const e=new Uint8Array(Te);e.set(je),je=e,De=new Uint8Array(Te)};let Fe=64,Be=new Int32Array(Fe),Ue=new Int32Array(Fe);const ze=new Int32Array(n);let Je=2048,qe=21,Ge=new Float64Array(Je),Xe=new Int32Array(Je),He=0;const We=(e,t)=>{if(0===e&&t<n)return ze[t]===He?1:(ze[t]=He,0);const i=2097152*e+t+1;let r=Math.imul(i,2654435761)>>>qe;for(;Xe[r]===He;){if(Ge[r]===i)return 1;r=r+1&Je-1}return Ge[r]=i,Xe[r]=He,0},$e=(e,t,i,n,r)=>{if(i-t>=2&&91===e.charCodeAt(t)&&93===e.charCodeAt(i-1)){let n=-1;for(let r=t+1;r<i-1;r++)if(58===e.charCodeAt(r)){n=r;break}return-1===n||n===t+1?bo:pe(ge,e,t+1,n,0,ve)}if(n>=0&&l[n]>=0)return l[n];for(let t=r-1;t>=0;t--){const n=Ue[t];if(n>i)continue;const r=Be[t],s=i-n;if(1===V[r]&&s>0&&s<=R){const t=e.charCodeAt(n);if(!1===O||91!==t&&40!==t){const t=M(r,e,n,i);if(t>=0)return t}}const a=c[r];if(a<0)continue;const o=u[a],l=h[o],f=h[o+1];if(l===f)continue;te(e,n,i);const m=T[a]-l;for(let t=l;t<f;t++)if(ce(p[t],e,n,i))return d[m+t]}return bo},Ke=e=>{const t=e.length;let i=0,l=0,h=!1;(fe>4096||ue.size>4096)&&(ue=new Map,de=new Map,fe=2,Ie()),xe>ye&&(ge=new Map,xe=n,Ie());let p=0;for(;p<t;){let u=e.charCodeAt(p);if(32===u||u>=9&&u<=13||u>=160&&ee(u)){32!==u&&(h=!0),p++;continue}const d=p;let f=0;for(;p<t;){if(u=e.charCodeAt(p),u<=32){if(32===u)break;if(u>=9&&u<=13){h=!0;break}}else if(u>=160&&ee(u)){h=!0;break}f=Math.imul(f^u,16777619),p++}const m=p,g=m-d;i===Te&&Me();const x=i++;Le[x]=d,Ve[x]=m,l+=g,f^=Math.imul(g,2654435761);const y=f^f>>>15,v=8190&y;{let t=-1;if(ke[v]===y&&null!==Ee[v]&&Ee[v].length===g?t=v:ke[1|v]===y&&null!==Ee[1|v]&&Ee[1|v].length===g&&(t=1|v),t>=0){const i=Ee[t];let n=!0;for(let t=0;t<g;t++)if(i.charCodeAt(t)!==e.charCodeAt(d+t)){n=!1;break}if(n){Re[x]=Se[t],Oe[x]=Ce[t],je[x]=Ae[t];continue}}}let b=d;if(0!==z){if(m-d<=z||!e.startsWith(U,d)){Re[x]=bo,Ne(v,e,d,m,y,bo,0,0);continue}b=d+z}let w=0,k=0,E=-1,S=-1;for(let t=b;t<m;t++){const i=e.charCodeAt(t);if(0===w&&0===k){if(58===i){E=t;continue}if(47===i){S=t;continue}}91===i?w++:93===i?w--:40===i?k++:41===i&&k--}const C=E>=b?E+1:b;let A=C,_=m,N=!1,I=0;_>A&&33===e.charCodeAt(_-1)?(N=!0,_--):_>A&&33===e.charCodeAt(A)&&(N=!0,A++,I=1);let T=-1;S>C&&(T=S+I,T>=_&&(T=-1));let L=A;_-A>1&&45===e.charCodeAt(A)&&(L=A+1);let R=0,O=0,j=0,D=-1,M=0;(c[0]>=0||1===V[0])&&(Be[0]=0,Ue[0]=L,M=1);let F=wo,B=0;for(let t=L;t<_;t++)if(t===T&&(F=O<j?wo:R,B=M),R!==wo){const i=e.charCodeAt(t);let n=-1;if(O<j)a.charCodeAt(O)===i?(O++,O===j&&(n=R=D)):R=wo;else{const e=r[R],t=r[R+1];let l=wo;for(let r=e;r<t;r++){const e=s[r];if(a.charCodeAt(e)===i){s[r+1]-e===1?n=l=o[r]:(O=e+1,j=s[r+1],D=o[r],l=R);break}}R=l}if(n>=0&&(c[n]>=0||1===V[n])&&t+1<_&&45===e.charCodeAt(t+1)){if(M===Fe){Fe*=2;const e=new Int32Array(Fe);e.set(Be),Be=e;const t=new Int32Array(Fe);t.set(Ue),Ue=t}Be[M]=n,Ue[M]=t+2,M++}}T===_&&(F=O<j?wo:R,B=M);const J=O<j?wo:R;let q,G=!1;if(T>=0)if(G=!0,q=$e(e,A,T,F,B),q!==bo&&q<n&&P[q]){const t=$e(e,A,_,J,M);t!==bo&&t!==q&&(q=t,G=!1)}else q===bo&&(q=$e(e,A,_,J,M),G=!1);else q=$e(e,A,_,J,M);let X=0,H=0;q===bo?Re[x]=bo:(H=G?1:0,X=b>=E?N?1:0:pe(ue,e,b,E,N?1:0,e=>me(e,N)),Re[x]=q,je[x]=H,Oe[x]=X),Ne(v,e,d,m,y,q,X,H)}if(0===i)return"";if(1===i)return 0===Le[0]&&Ve[0]===t?e:e.slice(Le[0],Ve[0]);if(i*I>Je){for(;i*I>Je;)Je<<=1,qe--;Ge=new Float64Array(Je),Xe=new Int32Array(Je)}if(fe>=be||xe>=be)throw new Error("cn: too many distinct classes in one merge");He=He+1|0,0===He&&(ze.fill(0),Xe.fill(0),He=1);let u=!1;for(let e=i-1;e>=0;e--){const t=Re[e];if(t===bo){De[e]=1;continue}const i=Oe[e];if(1!==We(i,t)){if(De[e]=1,t<n){const n=_[t];if(n>=0)for(let e=b[n];e<b[n+1];e++)We(i,w[e]);if(1&je[e])for(let e=0;e<k.length;e++)k[e]===t&&We(i,E[e])}}else De[e]=0,u=!0}if(!u&&!h&&t===l+i-1)return e;let d="",f=0;for(;f<i;){if(!De[f]){f++;continue}const t=Le[f];let n=Ve[f],r=f+1;for(;r<i&&De[r]&&Le[r]===n+1&&32===e.charCodeAt(n);)n=Ve[r],r++;d.length>0&&(d+=" "),d+=e.slice(t,n),f=r}return d},Qe=16384,Ye=new Int32Array(32768);let Ze=0,et=1,tt=Object.create(null),it=Object.create(null),nt=new Map,rt=new Map,st=0,at=0;const ot=()=>{Ze^=Qe,et=et+1|0,at=0},lt=0===F?Ke:vo?e=>{const t=nt.get(e);return void 0!==t?t:(e=>{let t=nt.get(e);if(void 0!==t)return t;const i=Eo(e,0,e.length),n=(16383&i)+Ze,r=Ye[n]===(i^et)||Ye[n^Qe]===(i^et-1);return r&&(t=rt.get(e),void 0!==t)?(nt.set(e,t),t):(t=Ke(e),r?(nt.set(e,t),++st>F&&(st=0,rt=nt,nt=new Map,ot())):(Ye[n]=i^et,++at>Qe&&ot()),t)})(e)}:e=>{let t=tt[e];if(void 0!==t)return t;const i=Eo(e,0,e.length),n=(16383&i)+Ze,r=Ye[n]===(i^et)||Ye[n^Qe]===(i^et-1);return r&&(t=it[e],void 0!==t)?(tt[e]=t,t):(t=Ke(e),r?(tt[e]=t,++st>F&&(st=0,it=tt,tt=Object.create(null),ot())):(Ye[n]=i^et,++at>Qe&&ot()),t)};return{merge:function(){return lt(1===arguments.length&&"string"==typeof arguments[0]?arguments[0]:Ao.apply(null,arguments))},mergeString:lt,seenBefore:0===F?()=>!1:e=>{const t=Eo(e,0,e.length),i=(16383&t)+Ze;return Ye[i]===(t^et)||Ye[i^Qe]===(t^et-1)||(Ye[i]=t^et,++at>Qe&&ot(),!1)},mergeUncached:Ke}},Co=(e,t)=>{if(!e)return"";if("string"==typeof e)return e;let i="";if("number"==typeof e.length&&(!t||Array.isArray(e))){const n=e;for(let e=0;e<n.length;e++){const r=n[e];if(!r)continue;const s="string"==typeof r?r:Co(r,t);s&&(i&&(i+=" "),i+=s)}return i}if(t){if("number"==typeof e)return""+e;if("object"==typeof e)for(const t in e)e[t]&&(i&&(i+=" "),i+=t)}return i},Ao=function(){return((e,t)=>{let i="";for(let n=0;n<e.length;n++){const r=e[n];if(!r)continue;const s="string"==typeof r?r:Co(r,t);s&&(i&&(i+=" "),i+=s)}return i})(arguments,!1)},_o=4096,No=(e,t)=>{const i=void 0===t?()=>!0:t.seenBefore,n=void 0===t?e:t.mergeUncached;let r=new Map,s=new Map,a=0,o=null,l=null,c=[],h=[],p=0;const u=(t,i,n)=>{null===l&&(l=new Array(_o).fill(""),c=new Array(_o).fill(""),h=new Array(_o).fill(""));const r=4094&Eo(t,0,t.length);if(l[r]===t&&c[r]===i)return h[r];if(l[1|r]===t&&c[1|r]===i)return h[1|r];const s=e(n?i+" "+t:t),a=""===l[r]?r:r|(""===l[1|r]?1:1&p++);return l[a]=t,c[a]=i,h[a]=s,s},d=(e,t,i,n)=>{let r=0;if(t){if(t!==e.a0)return!1;r=1}if(i){if(i!==(0===r?e.a0:e.a1))return!1;r++}if(n){if(n!==(0===r?e.a0:1===r?e.a1:e.a2))return!1;r++}return r===e.t},f=(e,t)=>{const i=e.a;let n=0;for(let e=0;e<t.length;e++){const r=t[e];if(r){if(r!==i[n])return!1;n++}}return n===e.t},m=(t,l)=>{const c=t.length,h=null===o?null:o.n;if(!l){if(null!==h&&f(h,t))return o=h,h.r;if(null!==o&&o!==h&&f(o,t))return o.r}let p="",d=-1,m=0,g=!1;for(let e=0;e<c;e++){let i=t[e];if(i){if("string"!=typeof i){if(i=t[e]=Co(i,!0),!i)continue;g=!0}d<0&&(p=i,d=e),m++}}if(0===m)return"";if(1===m)return e(p);if(g){if(null!==h&&f(h,t))return o=h,h.r;if(null!==o&&o!==h&&f(o,t))return o.r}let x=r.get(p);void 0===x&&(x=s.get(p),void 0!==x&&r.set(p,x));let y=null;if(void 0!==x){if(x.skip>0){x.skip--,o=null;let e=p;for(let i=d+1;i<c;i++){const n=t[i];n&&(e+=" "+n)}return u(e,"",!1)}const e=x.e;e:for(let i=0;i<e.length;i++){const n=e[i];if(n.t!==m)continue;const r=n.a;let s=1;for(let e=d+1;e<c;e++){const i=t[e];if(i&&i!==r[s++])continue e}y=n;break}null!==y&&(x.miss=0)}if(null===y){let o=p;const l=[p];for(let e=d+1;e<c;e++){const i=t[e];i&&(o+=" "+i,l.push(i))}if(!i(o))return n(o);y={r:e(o),t:l.length,a0:l[0],a1:l[1],a2:l[2]??"",a:l,n:null},void 0===x?r.set(p,x={e:[],miss:0,skip:0,at:0}):++x.miss>16&&(x.miss=16,x.skip=1024,x.e.length=0,x.at=0);const h=x.e;h.length<256?h.push(y):(h[x.at]=y,x.at=x.at+1&255),++a>1e3&&(a=0,s=r,r=new Map)}return null!==o&&o!==y&&(o.n=y),o=y,y.r};return function(t,i,n){const s=arguments.length;if(3==(1|s)){const e=o;if(null!==e){const r=e.n;if(null!==r&&d(r,t,i,n))return o=r,r.r;if(e!==r&&d(e,t,i,n))return e.r}if(2===s&&"string"==typeof i&&""!==i){const e=r.get(t);if(void 0!==e&&e.skip>0)return e.skip--,o=null,u(i,t,!0)}return m([t,i,n],!0)}if(1===s)return"string"==typeof t?e(t):(a=t,Array.isArray(a)?m(a.slice(),!1):e(Co(a,!0)));var a;const l=o;if(null!==l){const e=l.n;if(null!==e){const t=e.a;let i=0,n=!0;for(let e=0;e<s;e++){const r=arguments[e];if(r){if(r!==t[i]){n=!1;break}i++}}if(n&&i===e.t)return o=e,e.r}if(l!==e){const e=l.a;let t=0,i=!0;for(let n=0;n<s;n++){const r=arguments[n];if(r){if(r!==e[t]){i=!1;break}t++}}if(i&&t===l.t)return l.r}}const c=[];for(let e=0;e<s;e++)c.push(arguments[e]);return m(c,!0)}},Io=So(yo),To=No(Io.mergeString,Io),Po=()=>{throw new Error("You need to wrap your application inside `FrameworkProvider`.")},Lo=L({useParams:Po,useRouter:Po,usePathname:Po});function Vo(e){const{Image:t}=P(Lo);if(!t){const{src:t,alt:i,priority:r,...s}=e;return n("img",{alt:i,src:t,fetchPriority:r?"high":"auto",...s})}return n(t,{...e})}function Ro(e){const{Link:t}=P(Lo);if(!t){const{href:t,prefetch:i,...r}=e;return n("a",{href:t,...r})}return n(t,{...e})}function Oo({ref:e,href:t="#",external:i=!(!t.match(/^\w+:/)&&!t.startsWith("//")),prefetch:r,children:s,...a}){return i?n("a",{ref:e,href:t,rel:"noreferrer noopener",target:"_blank",...a,children:s}):n(Ro,{ref:e,href:t,prefetch:r,...a,children:s})}
|
|
3
|
+
/**
|
|
4
|
+
* @license lucide-react v1.66.0 - ISC
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the ISC license.
|
|
7
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
const jo=(...e)=>e.filter((e,t,i)=>Boolean(e)&&""!==e.trim()&&i.indexOf(e)===t).join(" ").trim(),Do={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};
|
|
10
|
+
/**
|
|
11
|
+
* @license lucide-react v1.66.0 - ISC
|
|
12
|
+
*
|
|
13
|
+
* This source code is licensed under the ISC license.
|
|
14
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* @license lucide-react v1.66.0 - ISC
|
|
18
|
+
*
|
|
19
|
+
* This source code is licensed under the ISC license.
|
|
20
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
21
|
+
*/
|
|
22
|
+
function Mo(e){return null!=e}
|
|
23
|
+
/**
|
|
24
|
+
* @license lucide-react v1.66.0 - ISC
|
|
25
|
+
*
|
|
26
|
+
* This source code is licensed under the ISC license.
|
|
27
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
28
|
+
*/
|
|
29
|
+
function Fo(e,t={}){return function(e,t={}){const i=t.attributeNames??{},n=e=>i[e]??e,r=e.size??e.width??Do.width,s=e.size??e.height??Do.height,a=e.aliases?.filter(e=>"string"==typeof e&&""!==e.trim()).map(e=>`lucide-${e}`)??[],o=[...e.name?[`lucide-${e.name}`]:[],...a],l=t.className?.split(" ").filter(Boolean)??[],c=!1===t.includeDefaultClasses?jo(...l):jo("lucide",...o,...l),h=t.absoluteStrokeWidth?Number(t.strokeWidth??Do["stroke-width"])*Number(e.size??e.width??Do.width)/Number(t.size??t.width??Do.width):t.strokeWidth??Do["stroke-width"];return["svg",{...Object.entries(Do).reduce((e,[t,i])=>(e[n(t)]=i,e),{}),..."color"in t&&t.color&&{[n("stroke")]:t.color},..."size"in t&&Mo(t.size)&&{[n("width")]:t.size,[n("height")]:t.size},..."width"in t&&Mo(t.width)&&{[n("width")]:t.width},..."height"in t&&Mo(t.height)&&{[n("height")]:t.height},[n("stroke-width")]:h,...c&&{[n("class")]:c},[n("viewBox")]:`0 0 ${r} ${s}`,...!1===t.hasA11yProp?{[n("aria-hidden")]:"true"}:{},..."attributes"in t&&t.attributes},e.node.map(e=>{const[i,r,s]=e,a=t.nonScalingStroke?{[n("vector-effect")]:"non-scaling-stroke",...r}:r;return s?[i,a,s]:[i,a]})]}(e,{...t,attributeNames:{...t.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}
|
|
30
|
+
/**
|
|
31
|
+
* @license lucide-react v1.66.0 - ISC
|
|
32
|
+
*
|
|
33
|
+
* This source code is licensed under the ISC license.
|
|
34
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
35
|
+
*/const Bo=L({}),Uo=R(({color:e,size:t,width:i,height:n,strokeWidth:r,absoluteStrokeWidth:s,nonScalingStroke:a,className:o="",children:l,iconNode:c=[],icon:h={node:c,aliases:[],size:24},...p},u)=>{const{size:d=24,strokeWidth:f=2,absoluteStrokeWidth:m=!1,nonScalingStroke:g=!1,color:x="currentColor",className:y=""}=V(Bo)??{},v=Boolean(l)||(e=>{for(const t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(p),[b,w,k=[]]=Fo(h,{color:e??x,width:i??t??d,height:n??t??d,strokeWidth:r??f,absoluteStrokeWidth:s??m,nonScalingStroke:a??g,className:jo(y,o),hasA11yProp:v,attributes:p});return O(b,{ref:u,...w},[...k.map(([e,t])=>O(e,t)),...Array.isArray(l)?l:[l]])});
|
|
36
|
+
/**
|
|
37
|
+
* @license lucide-react v1.66.0 - ISC
|
|
38
|
+
*
|
|
39
|
+
* This source code is licensed under the ISC license.
|
|
40
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
41
|
+
*/
|
|
42
|
+
function zo(e,t=[],i=[]){const n="string"==typeof e?
|
|
43
|
+
/**
|
|
44
|
+
* @license lucide-react v1.66.0 - ISC
|
|
45
|
+
*
|
|
46
|
+
* This source code is licensed under the ISC license.
|
|
47
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
48
|
+
*/
|
|
49
|
+
function(e,t,i=[]){if(null==t)throw new Error("[lucide]: iconNode is required when icon name is used");return{name:(n=e,n?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),size:24,node:t,...i.length>0?{aliases:i}:{}};var n}(e,t,i):e,r=R(({className:e,...t},i)=>O(Uo,{ref:i,icon:n,className:e,...t}));return n.name&&(r.displayName=(e=>{const t=(e=>{let t="",i=!1;for(const n of e)"-"===n||"_"===n||n<=" "?i=t.length>0:(0===t.length?t+=n.toLowerCase():t+=i?n.toUpperCase():n,i=!1);return t})(e);return t.charAt(0).toUpperCase()+t.slice(1)})(n.name)),r}
|
|
50
|
+
/**
|
|
51
|
+
* @license lucide-react v1.66.0 - ISC
|
|
52
|
+
*
|
|
53
|
+
* This source code is licensed under the ISC license.
|
|
54
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
55
|
+
*/const Jo={name:"check",size:24,node:[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]},qo=zo(Jo),Go={name:"circle-check",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 9-5.5 5.5L8 12",key:"xofnsj"}]],aliases:["check-circle-2"]},Xo=zo(Go),Ho={name:"circle-x",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],aliases:["x-circle"]},Wo=zo(Ho),$o={name:"clipboard",size:24,node:[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]]},Ko=zo($o),Qo={name:"copy-check",size:24,node:[["path",{d:"m12 15 2 2 4-4",key:"2c609p"}],["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]},Yo=zo(Qo),Zo={name:"info",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]},el=zo(Zo),tl={name:"lightbulb",size:24,node:[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]},il=zo(tl),nl={name:"link",size:24,node:[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]},rl=zo(nl),sl={name:"triangle-alert",size:24,node:[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],aliases:["alert-triangle"]},al=zo(sl),ol="size-5 -me-0.5 fill-(--callout-color) text-fd-card";function ll({type:e="info",icon:i,children:r,className:s,style:a,...o}){const l=function(e){return"warn"===e?"warning":"tip"===e?"info":e}(e);return t("div",{className:To("flex gap-2 my-4 rounded-xl border bg-fd-card p-3 ps-1 text-sm text-fd-card-foreground",s),style:{"--callout-color":`var(--color-fd-${l}, var(--color-fd-muted))`,...a},...o,children:[n("div",{role:"none",className:"w-0.5 bg-(--callout-color)/50 rounded-sm"}),i??{info:n(el,{className:ol}),warning:n(al,{className:ol}),error:n(Wo,{className:ol}),success:n(Xo,{className:ol}),idea:n(il,{className:"size-5 -me-0.5 fill-(--callout-color) text-(--callout-color)"})}[l],n("div",{className:"flex flex-col gap-2 min-w-0 flex-1",children:r})]})}function cl({children:e,className:t,...i}){return n("p",{className:To("font-medium my-0!",t),...i,children:e})}function hl({children:e,className:t,...i}){return n("div",{className:To("text-fd-muted-foreground prose-no-margin empty:hidden",t),...i,children:e})}const pl=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,ul=it,dl="bg-fd-primary text-fd-primary-foreground hover:bg-fd-primary/80 disabled:bg-fd-secondary disabled:text-fd-secondary-foreground",fl={default:dl,primary:dl,outline:"border hover:bg-fd-accent hover:text-fd-accent-foreground",ghost:"hover:bg-fd-accent hover:text-fd-accent-foreground",secondary:"border bg-fd-secondary text-fd-secondary-foreground hover:bg-fd-accent hover:text-fd-accent-foreground"},ml=(gl="inline-flex items-center justify-center rounded-md p-2 text-sm font-medium transition-colors duration-100 disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fd-ring",xl={variants:{variant:fl,color:fl,size:{sm:"gap-1 px-2 py-1.5 text-xs",icon:"p-1.5 [&_svg]:size-5","icon-sm":"p-1.5 [&_svg]:size-4.5","icon-xs":"p-1 [&_svg]:size-4"}}},e=>{var t;if(null==(null==xl?void 0:xl.variants))return ul(gl,null==e?void 0:e.class,null==e?void 0:e.className);const{variants:i,defaultVariants:n}=xl,r=Object.keys(i).map(t=>{const r=null==e?void 0:e[t],s=null==n?void 0:n[t];if(null===r)return null;const a=pl(r)||pl(s);return i[t][a]}),s=e&&Object.entries(e).reduce((e,t)=>{let[i,n]=t;return void 0===n||(e[i]=n),e},{}),a=null==xl||null===(t=xl.compoundVariants)||void 0===t?void 0:t.reduce((e,t)=>{let{class:i,className:r,...a}=t;return Object.entries(a).every(e=>{let[t,i]=e;return Array.isArray(i)?i.includes({...n,...s}[t]):{...n,...s}[t]===i})?[...e,i,r]:e},[]);return ul(gl,r,a,null==e?void 0:e.class,null==e?void 0:e.className)});var gl,xl;function yl(e){const[t,i]=A(!1),n=_(e),r=_(null);n.current=e;const s=N(()=>{r.current&&window.clearTimeout(r.current),Promise.resolve(n.current()).then(()=>{i(!0),r.current=window.setTimeout(()=>{i(!1)},1500)})},[]);return I(()=>()=>{r.current&&window.clearTimeout(r.current)},[]),[t,s]}const vl=L({}),bl=/\\?\{([^}]+)\}/g;function wl({note:e}={}){const t=P(vl);return T(()=>function(e,{note:t}={}){const i=(i,n={})=>{const{note:r,variables:s}=n,a=[];t&&a.push(t),r&&a.push(r);let o=e[kl(i,a)]??i;return s&&(o=o.replaceAll(bl,(e,t)=>"\\"===e[0]?e.slice(1):t in s?s[t]:e)),o};return i.jsx=(i,n={})=>{const{note:r,variables:s,tags:a}=n,o=[];t&&o.push(t),r&&o.push(r);const l=e[kl(i,o)]??i;return a?function(e,t,i){const n=[{children:[]}];let r=0;const s=()=>{const e=n.pop();n[n.length-1].children.push(Al(e.tag&&i[e.tag]?Cl(i[e.tag],e.children):e.children,r))};for(const a of e.matchAll(Sl)){const o=n[n.length-1],[l,c]=a;if(r<a.index){const i=e.slice(r,a.index);o.children.push(t?El(i,t):i)}if(r=a.index+l.length,"\\"===l[0]){const e=l.slice(1);o.children.push(t?El(e,t):e)}else if("/"===c[0]){const e=c.slice(1);o.tag!==e?o.children.push(t?El(l,t):l):s()}else if("/"===c.at(-1)){const e=c.slice(0,-1);i[e]&&o.children.push(Al(Cl(i[e]),r))}else n.push({children:[],tag:c})}if(r<e.length){const i=e.slice(r);n[n.length-1].children.push(t?El(i,t):i)}for(;n.length>1;)s();return n[0].children}(l,s,a):s?El(l,s):l},i.translations=e,i}(t,{note:e}),[t,e])}function kl(e,t){return e+t.map(e=>`(${e})`).join("")}function El(e,t){let i=0;const n=[];for(const r of e.matchAll(bl)){const[s,a]=r;i<r.index&&n.push(e.slice(i,r.index)),i=r.index+s.length,"\\"===s[0]?n.push(s.slice(1)):a in t?n.push(Al(t[a],i)):n.push(s)}return n.push(e.slice(i)),n}const Sl=/\\?<([^>]+)>/g;function Cl(e,t){return j(e)?void 0===t?e:D(e,void 0,t):e(t)}function Al(e,t){return j(e)?D(e,{key:t}):e}function _l({as:e,...i}){const r=e??"h1",s=wl({note:"heading anchor"}),[a,o]=yl(()=>{if(!i.id)return;const e=new URL(window.location.href);return e.hash=i.id,navigator.clipboard.writeText(e.href)});return i.id?t(r,{...i,className:To("group/heading flex scroll-m-28 flex-row items-center gap-1",i.className),children:[n("a",{"data-card":"",href:`#${i.id}`,children:i.children}),t("button",{"aria-live":"polite",className:To(ml({variant:"ghost",size:"icon-xs"}),"not-prose shrink-0 text-fd-muted-foreground opacity-0 transition-opacity group-hover/heading:opacity-100"),onClick:o,children:[n(a?Yo:rl,{}),n("span",{className:"sr-only",children:s(a?"Copied Anchor Link":"Copy Anchor Link",{note:"aria-label"})})]})]}):n(r,{...i})}function Nl(...e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):e&&(e.current=t)})}}var Il=Object.defineProperty,Tl=(e,t)=>Il(e,"name",{value:t,configurable:!0}),Pl=!("undefined"==typeof window||!window.document||!window.document.createElement);function Ll(e,t,{checkForDefaultPrevented:i=!0}={}){return Tl(function(n){if(e?.(n),!1===i||!n||!n.defaultPrevented)return t?.(n)},"handleEvent")}function Vl(e){if(!Pl)throw new Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}function Rl(e){return"IFRAME"===e.tagName}Tl(Ll,"composeEventHandlers"),Tl(function(e){if(!Pl)throw new Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window},"getOwnerWindow"),Tl(Vl,"getOwnerDocument"),Tl(function e(t,i=!1){const{activeElement:n}=Vl(t);if(!n?.nodeName)return null;if(Rl(n)&&n.contentDocument)return e(n.contentDocument.body,i);if(i){const e=n.getAttribute("aria-activedescendant");if(e){const t=Vl(n).getElementById(e);if(t)return t}}return n},"getActiveElement"),Tl(Rl,"isFrame");var Ol=Object.defineProperty,jl=(e,t)=>Ol(e,"name",{value:t,configurable:!0});function Dl(e,t=[]){let i=[];function r(t,r){const s=C.createContext(r);s.displayName=t+"Context";const a=i.length;i=[...i,r];const o=jl(t=>{const{scope:i,children:r,...o}=t,l=i?.[e]?.[a]||s,c=C.useMemo(()=>o,Object.values(o));return n(l.Provider,{value:c,children:r})},"Provider");function l(i,n,o={}){const{optional:l=!1}=o,c=n?.[e]?.[a]||s,h=C.useContext(c);if(h)return h;if(void 0!==r)return r;if(!l)throw new Error(`\`${i}\` must be used within \`${t}\``)}return o.displayName=t+"Provider",jl(l,"useContext"),[o,l]}jl(r,"createContext");const s=jl(()=>{const t=i.map(e=>C.createContext(e));return jl(function(i){const n=i?.[e]||t;return C.useMemo(()=>({[`__scope${e}`]:{...i,[e]:n}}),[i,n])},"useScope")},"createScope");return s.scopeName=e,[r,Ml(s,...t)]}function Ml(...e){const t=e[0];if(1===e.length)return t;const i=jl(()=>{const i=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return jl(function(e){const n=i.reduce((t,{useScope:i,scopeName:n})=>({...t,...i(e)[`__scope${n}`]}),{});return C.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])},"useComposedScopes")},"createScope");return i.scopeName=t.scopeName,i}jl(function(e,t){const i=C.createContext(t);i.displayName=e+"Context";const r=jl(e=>{const{children:t,...r}=e,s=C.useMemo(()=>r,Object.values(r));return n(i.Provider,{value:s,children:t})},"Provider");function s(n,r={}){const{optional:s=!1}=r,a=C.useContext(i);if(a)return a;if(void 0!==t)return t;if(!s)throw new Error(`\`${n}\` must be used within \`${e}\``)}return r.displayName=e+"Provider",jl(s,"useContext"),[r,s]},"createContext"),jl(Dl,"createContextScope"),jl(Ml,"composeContextScopes");var Fl=Object.defineProperty,Bl=(e,t)=>Fl(e,"name",{value:t,configurable:!0});function Ul(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function zl(...e){return t=>{let i=!1;const n=e.map(e=>{const n=Ul(e,t);return i||"function"!=typeof n||(i=!0),n});if(i)return()=>{for(let t=0;t<n.length;t++){const i=n[t];"function"==typeof i?i():Ul(e[t],null)}}}}function Jl(...e){return C.useCallback(zl(...e),e)}Bl(Ul,"setRef"),Bl(zl,"composeRefs"),Bl(Jl,"useComposedRefs");var ql=Object.defineProperty,Gl=(e,t)=>ql(e,"name",{value:t,configurable:!0});function Xl(e){const t=C.forwardRef((t,i)=>{let{children:n,...r}=t,s=null,a=!1;const o=[];n=tc(n),C.Children.forEach(n,e=>{if(Ql(e)){a=!0;const t=e;let i="child"in t.props?t.props.child:t.props.children;for(;Zl(i)&&"function"==typeof sc;)i=sc(i._payload);s=Wl(t,i),o.push(s?.props?.children)}else o.push(e)}),s?s=C.cloneElement(s,void 0,o):!a&&1===C.Children.count(n)&&C.isValidElement(n)&&(s=n);const l=s?Kl(s):void 0,c=Jl(i,l);if(!s){if(n||0===n)throw new Error(a?rc(e):nc(e));return n}const h=$l(r,s.props??{});return s.type!==C.Fragment&&(h.ref=i?c:l),C.cloneElement(s,h)});return t.displayName=`${e}.Slot`,t}Gl(Xl,"createSlot");var Hl=Symbol.for("radix.slottable");Gl(function(e){const t=Gl(e=>"child"in e?e.children(e.child):e.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=Hl,t},"createSlottable");var Wl=Gl((e,t)=>"child"in e.props?C.isValidElement(t)?C.cloneElement(t,void 0,e.props.children(t.props.children)):null:C.isValidElement(t)?t:null,"getSlottableElementFromSlottable");function $l(e,t){const i={...t};for(const n in t){const r=e[n],s=t[n];/^on[A-Z]/.test(n)?r&&s?i[n]=(...e)=>{const t=s(...e);return r(...e),t}:r&&(i[n]=r):"style"===n?i[n]={...r,...s}:"className"===n?i[n]=[r,s].filter(Boolean).join(" "):"aria-describedby"===n&&(i[n]=ic(s,r))}return{...e,...i}}function Kl(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,i=t&&"isReactWarning"in t&&t.isReactWarning;return i?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,i=t&&"isReactWarning"in t&&t.isReactWarning,i?e.props.ref:e.props.ref||e.ref)}function Ql(e){return C.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===Hl}Gl($l,"mergeProps"),Gl(Kl,"getElementRef"),Gl(Ql,"isSlottable");var Yl=Symbol.for("react.lazy");function Zl(e){return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===Yl&&"_payload"in e&&ec(e._payload)}function ec(e){return"object"==typeof e&&null!==e&&"then"in e}function tc(e){let t=e;for(;Zl(t)&&"function"==typeof sc;)t=sc(t._payload);return t}function ic(...e){const t=new Set;for(const i of e)if("string"==typeof i)for(const e of String(i).trim().split(/\s+/))e&&t.add(e);return t.size>0?Array.from(t).join(" "):void 0}Gl(Zl,"isLazyComponent"),Gl(ec,"isPromiseLike"),Gl(tc,"useUnwrappedLazy"),Gl(ic,"concatAriaDescribedby");var nc=Gl(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),rc=Gl(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),sc=C[" use ".trim().toString()],ac=globalThis?.document?C.useLayoutEffect:()=>{},oc=Object.defineProperty,lc=(e,t)=>oc(e,"name",{value:t,configurable:!0});function cc(e){const t=e+"CollectionProvider",[i,r]=Dl(t),[s,a]=i(t,{collectionRef:{current:null},itemMap:new Map}),o=lc(e=>{const{scope:t,children:i}=e,r=C.useRef(null),a=C.useRef(new Map).current;return n(s,{scope:t,itemMap:a,collectionRef:r,children:i})},"CollectionProvider");o.displayName=t;const l=e+"CollectionSlot",c=Xl(l),h=C.forwardRef((e,t)=>{const{scope:i,children:r}=e,s=Jl(t,a(l,i).collectionRef);return n(c,{ref:s,children:r})});h.displayName=l;const p=e+"CollectionItemSlot",u="data-radix-collection-item",d=Xl(p),f=C.forwardRef((e,t)=>{const{scope:i,children:r,...s}=e,o=C.useRef(null),l=Jl(t,o),c=a(p,i);return C.useEffect(()=>(c.itemMap.set(o,{ref:o,...s}),()=>{c.itemMap.delete(o)})),n(d,{[u]:"",ref:l,children:r})});function m(t){const i=a(e+"CollectionConsumer",t);return C.useCallback(()=>{const e=i.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${u}]`));return Array.from(i.itemMap.values()).sort((e,i)=>t.indexOf(e.ref.current)-t.indexOf(i.ref.current))},[i.collectionRef,i.itemMap])}return f.displayName=p,lc(m,"useCollection"),[{Provider:o,Slot:h,ItemSlot:f},m,r]}lc(cc,"createCollection");var hc=new WeakMap,pc=class e extends Map{static{lc(this,"OrderedDict")}#e;constructor(e){super(e),this.#e=[...super.keys()],hc.set(this,!0)}set(e,t){return hc.get(this)&&!this.has(e)&&this.#e.push(e),super.set(e,t),this}insert(e,t,i){const n=this.has(t),r=n?this.size:this.size+1,s=fc(e),a=s>=0?Math.min(s,r-1):Math.max(r+s,0);if(n?this.#e.indexOf(t)===a:a===this.size)return this.set(t,i),this;const o=this.#e.filter(e=>e!==t);o.splice(a,0,t);const l=o.map(e=>[e,e===t?i:this.get(e)]);this.clear();for(const[e,t]of l)this.set(e,t);return this}with(t,i,n){const r=new e(this);return r.insert(t,i,n),r}before(e){const t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,i){const n=this.#e.indexOf(e);if(-1===n)return this;const r=this.#e.indexOf(t),s=-1!==r&&r<n?n-1:n;return this.insert(s,t,i)}after(e){let t=this.#e.indexOf(e);if(t=-1===t||t===this.size-1?-1:t+1,-1!==t)return this.entryAt(t)}setAfter(e,t,i){const n=this.#e.indexOf(e);if(-1===n)return this;const r=this.#e.indexOf(t),s=-1!==r&&r<=n?n:n+1;return this.insert(s,t,i)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){const t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){const t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){const t=uc(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){const t=uc(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return uc(this.#e,e)}from(e,t){const i=this.indexOf(e);if(-1===i)return;let n=i+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){const i=this.indexOf(e);if(-1===i)return;let n=i+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let i=0;for(const n of this){if(Reflect.apply(e,t,[n,i,this]))return n;i++}}findIndex(e,t){let i=0;for(const n of this){if(Reflect.apply(e,t,[n,i,this]))return i;i++}return-1}filter(t,i){const n=[];let r=0;for(const e of this)Reflect.apply(t,i,[e,r,this])&&n.push(e),r++;return new e(n)}map(t,i){const n=[];let r=0;for(const e of this)n.push([e[0],Reflect.apply(t,i,[e,r,this])]),r++;return new e(n)}reduce(...e){const[t,i]=e,n=e.length>1;if(!n&&0===this.size)throw new TypeError("Reduce of empty OrderedDict with no initial value");let r=0,s=i;for(const e of this)s=0!==r||n?Reflect.apply(t,this,[s,e,r,this]):e,r++;return s}reduceRight(...e){const[t,i]=e,n=e.length>1;if(!n&&0===this.size)throw new TypeError("Reduce of empty OrderedDict with no initial value");let r=i;for(let e=this.size-1;e>=0;e--){const i=this.entryAt(e);r=e!==this.size-1||n?Reflect.apply(t,this,[r,i,e,this]):i}return r}sort(e){if("function"!=typeof e)throw new TypeError("OrderedDict.sort requires a compare function");const t=[...this.entries()].sort(e);this.clear();for(const[e,i]of t)this.set(e,i);return this}toSorted(t){if("function"!=typeof t)throw new TypeError("OrderedDict.toSorted requires a compare function");const i=[...this.entries()].sort(t);return new e(i)}toReversed(){const t=new e;for(let e=this.size-1;e>=0;e--){const i=this.keyAt(e),n=this.get(i);t.set(i,n)}return t}toSpliced(...t){const i=[...this.entries()];return i.splice(...t),new e(i)}slice(t,i){const n=new e;for(const e of this.#e.slice(t,i))n.set(e,this.get(e));return n}every(e,t){let i=0;for(const n of this){if(!Reflect.apply(e,t,[n,i,this]))return!1;i++}return!0}some(e,t){let i=0;for(const n of this){if(Reflect.apply(e,t,[n,i,this]))return!0;i++}return!1}};function uc(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);const i=dc(e,t);return-1===i?void 0:e[i]}function dc(e,t){const i=e.length,n=fc(t),r=n>=0?n:i+n;return r<0||r>=i?-1:r}function fc(e){return e!=e||0===e?0:Math.trunc(e)}function mc(e,t){if(e===t)return!0;if("object"!=typeof e||"object"!=typeof t)return!1;if(null==e||null==t)return!1;const i=Object.keys(e),n=Object.keys(t);if(i.length!==n.length)return!1;for(const n of i){if(!Object.prototype.hasOwnProperty.call(t,n))return!1;if(e[n]!==t[n])return!1}return!0}function gc(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function xc(e){let t;for(const i of e.keys()){if(t){const e=t.compareDocumentPosition(i);if(!(e&Node.DOCUMENT_POSITION_DISCONNECTED)&&e&Node.DOCUMENT_POSITION_PRECEDING)return!1}t=i}return!0}function yc(e,t){return e[1].element&&t[1].element?gc(e[1].element,t[1].element)?-1:1:0}function vc(e){return new MutationObserver(t=>{for(const i of t)if("childList"===i.type)return void e()})}lc(uc,"at"),lc(dc,"toSafeIndex"),lc(fc,"toSafeInteger"),lc(function(e){const t=e+"CollectionProvider",[i,r]=Dl(t),[s,a]=i(t);s.displayName=e+"CollectionStableContextProvider";const[o,l]=i(t);o.displayName=e+"CollectionStatefulContextProvider";const c=lc(({state:e,...t})=>e?n(p,{...t,state:e}):n(h,{...t}),"CollectionProvider");c.displayName=t;const h=lc(e=>{const t=v();return n(p,{...e,state:t})},"CollectionInit");h.displayName=e+"CollectionInit";const p=lc(e=>{const{scope:t,children:i,state:r}=e,a=C.useRef(null),[l,c]=C.useState(null),h=Jl(a,c),[p,u]=r,d=C.useRef(new pc),f=C.useCallback(()=>{const e=d.current;return xc(e)||e.sort(yc),e},[]);return C.useEffect(()=>{if(!l)return;const e=vc(()=>{u(e=>{const t=e.toSorted(yc);return t.some(([t],i)=>e.keyAt(i)!==t)?t:e})});return e.observe(l,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[l,u]),n(s,{scope:t,collectionElementRef:h,collectionElementRefObject:a,getCollection:f,setCollection:u,registryRef:d,children:n(o,{scope:t,collectionElement:l,collection:p,children:i})})},"CollectionProviderImpl");p.displayName=e+"CollectionProviderImpl";const u=e+"CollectionSlot",d=Xl(u),f=C.forwardRef((e,t)=>{const{scope:i,children:r}=e,s=Jl(t,a(u,i).collectionElementRef);return n(d,{ref:s,children:r})});f.displayName=u;const m=e+"CollectionItemSlot",g="data-radix-collection-item",x=Xl(m),y=C.forwardRef((e,t)=>{const{scope:i,children:r,...s}=e,o=C.useRef(null),l=a(m,i),{setCollection:c,registryRef:h}=l,p=C.useRef(s);mc(p.current,s)||(p.current=s);const u=p.current,d=Jl(t,C.useCallback(e=>{const t=h.current;e?t.set(e,{...p.current,element:e}):o.current&&t.delete(o.current)},[h]),o);ac(()=>{const e=o.current,t=h.current;e&&t.has(e)&&t.set(e,{...u,element:e})},[u,h]);const f=C.useRef(null);return C.useEffect(()=>{const e=o.current,t=f.current;((t?.element??null)!==e||e&&t?.itemData!==u)&&(f.current=e?{element:e,itemData:u}:null,c(i=>{const n=new pc(i);return t&&t.element!==e&&n.delete(t.element),e&&n.set(e,{...u,element:e}),n.sort(yc)}))}),C.useEffect(()=>()=>{const e=f.current;f.current=null,e&&c(t=>{if(!t.has(e.element))return t;const i=new pc(t);return i.delete(e.element),i})},[c]),n(x,{[g]:"",ref:d,children:r})});function v(){return C.useState(new pc)}function b(t){const{collection:i}=l(e+"CollectionConsumer",t);return i}function w(t){const{getCollection:i}=a(e+"CollectionConsumer",t);return i}return y.displayName=m,lc(v,"useInitCollection"),lc(b,"useCollection"),lc(w,"useGetCollection"),[{Provider:c,Slot:f,ItemSlot:y},{createCollectionScope:r,useCollection:b,useGetCollection:w,useInitCollection:v}]},"createCollection"),lc(mc,"shallowEqual"),lc(gc,"isElementPreceding"),lc(xc,"isInDocumentOrder"),lc(yc,"sortByDocumentPosition"),lc(vc,"getChildListObserver");var bc=Object.defineProperty,wc=C[" useId ".trim().toString()]||(()=>{}),kc=0;function Ec(e){const[t,i]=C.useState(wc());return ac(()=>{e||i(e=>e??String(kc++))},[e]),e||(t?`radix-${t}`:"")}bc(Ec,"name",{value:"useId",configurable:!0});var Sc=Object.defineProperty,Cc=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{const i=Xl(`Primitive.${t}`),r=C.forwardRef((e,r)=>{const{asChild:s,...a}=e,o=s?i:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),n(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});((e,t)=>{Sc(e,"name",{value:t,configurable:!0})})(function(e,t){e&&Xe.flushSync(()=>e.dispatchEvent(t))},"dispatchDiscreteCustomEvent");var Ac=Object.defineProperty,_c=C[" useInsertionEffect ".trim().toString()];function Nc(e){const t=C.useRef(e);return"function"==typeof _c?_c(()=>{t.current=e}):ac(()=>{t.current=e}),C.useMemo(()=>(...e)=>t.current?.(...e),[])}((e,t)=>{Ac(e,"name",{value:t,configurable:!0})})(Nc,"useCallbackRef");var Ic=Object.defineProperty,Tc=C[" useEffectEvent ".trim().toString()],Pc=C[" useInsertionEffect ".trim().toString()];function Lc(e){if("function"==typeof Tc)return Tc(e);const t=C.useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return"function"==typeof Pc?Pc(()=>{t.current=e}):ac(()=>{t.current=e}),C.useMemo(()=>(...e)=>t.current?.(...e),[])}((e,t)=>{Ic(e,"name",{value:t,configurable:!0})})(Lc,"useEffectEvent");var Vc=Object.defineProperty,Rc=(e,t)=>Vc(e,"name",{value:t,configurable:!0}),Oc=C[" useInsertionEffect ".trim().toString()]||ac;function jc({prop:e,defaultProp:t,onChange:i=Rc(()=>{},"onChange"),caller:n}){const[r,s,a]=Dc({defaultProp:t,onChange:i}),o=void 0!==e;return[o?e:r,C.useCallback(t=>{if(o){const i=Mc(t)?t(e):t;i!==e&&a.current?.(i)}else s(t)},[o,e,s,a])]}function Dc({defaultProp:e,onChange:t}){const[i,n]=C.useState(e),r=C.useRef(i),s=C.useRef(t);return Oc(()=>{s.current=t},[t]),C.useEffect(()=>{r.current!==i&&(s.current?.(i),r.current=i)},[i,r]),[i,n,s]}function Mc(e){return"function"==typeof e}Rc(jc,"useControllableState"),Rc(Dc,"useUncontrolledState"),Rc(Mc,"isFunction");var Fc=Symbol("RADIX:SYNC_STATE");Rc(function(e,t,i,n){const{prop:r,defaultProp:s,onChange:a,caller:o}=t,l=void 0!==r,c=Lc(a),h=[{...i,state:s}];n&&h.push(n);const[p,u]=C.useReducer((t,i)=>{if(i.type===Fc)return{...t,state:i.state};const n=e(t,i);return l&&!Object.is(n.state,t.state)&&c(n.state),n},...h),d=p.state,f=C.useRef(d);C.useEffect(()=>{f.current!==d&&(f.current=d,l||c(d))},[d,f,l]);const m=C.useMemo(()=>void 0!==r?{...p,state:r}:p,[p,r]);return C.useEffect(()=>{l&&!Object.is(r,p.state)&&u({type:Fc,state:r})},[r,p.state,l]),[m,u]},"useControllableStateReducer");var Bc=Object.defineProperty,Uc="ltr",zc=C.createContext(void 0);function Jc(e){const t=C.useContext(zc);return e||t||Uc}((e,t)=>{Bc(e,"name",{value:t,configurable:!0})})(Jc,"useDirection");var qc=Object.defineProperty,Gc=(e,t)=>qc(e,"name",{value:t,configurable:!0}),Xc=!1;function Hc(){const[e,t]=C.useState(Xc);return C.useEffect(()=>{Xc||(Xc=!0,t(!0))},[]),e}Gc(Hc,"useIsHydrated");var Wc=C[" useSyncExternalStore ".trim().toString()];function $c(){return()=>{}}function Kc(){return Wc($c,()=>!0,()=>!1)}Gc($c,"subscribe"),Gc(Kc,"useIsHydratedModern");var Qc="function"==typeof Wc?Kc:Hc,Yc=Object.defineProperty,Zc=(e,t)=>Yc(e,"name",{value:t,configurable:!0}),eh="rovingFocusGroup.onEntryFocus",th={bubbles:!1,cancelable:!0},ih="RovingFocusGroup",[nh,rh,sh]=cc(ih),[ah,oh]=Dl(ih,[sh]),lh="vertical",ch="horizontal",hh="rtl",[ph,uh]=ah(ih),dh=C.forwardRef(Zc(function(e,t){return n(nh.Provider,{scope:e.__scopeRovingFocusGroup,children:n(nh.Slot,{scope:e.__scopeRovingFocusGroup,children:n(fh,{...e,ref:t})})})},"RovingFocusGroup")),fh=C.forwardRef(Zc(function(e,t){const{__scopeRovingFocusGroup:i,orientation:r,loop:s=!1,dir:a,currentTabStopId:o,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:c,onEntryFocus:h,preventScrollOnEntryFocus:p=!1,...u}=e,d=C.useRef(null),f=Jl(t,d),m=Jc(a),[g,x]=jc({prop:o,defaultProp:l??null,onChange:c,caller:ih}),[y,v]=C.useState(!1),b=Nc(h),w=rh(i),k=C.useRef(!1),[E,S]=C.useState(0);return C.useEffect(()=>{const e=d.current;if(e)return e.addEventListener(eh,b),()=>e.removeEventListener(eh,b)},[b]),n(ph,{scope:i,orientation:r,dir:m,loop:s,currentTabStopId:g,onItemFocus:C.useCallback(e=>x(e),[x]),onItemShiftTab:C.useCallback(()=>v(!0),[]),onFocusableItemAdd:C.useCallback(()=>S(e=>e+1),[]),onFocusableItemRemove:C.useCallback(()=>S(e=>e-1),[]),children:n(Cc.div,{tabIndex:y||0===E?-1:0,"data-orientation":r,...u,ref:f,style:{outline:"none",...e.style},onMouseDown:Ll(e.onMouseDown,()=>{k.current=!0}),onFocus:Ll(e.onFocus,e=>{const t=!k.current;if(e.target===e.currentTarget&&t&&!y){const t=new CustomEvent(eh,th);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){const e=w().filter(e=>e.focusable);vh([e.find(e=>e.active),e.find(e=>e.id===g),...e].filter(Boolean).map(e=>e.ref.current),p)}}k.current=!1}),onBlur:Ll(e.onBlur,()=>v(!1))})})},"RovingFocusGroupImpl")),mh=C.forwardRef(Zc(function(e,t){const{__scopeRovingFocusGroup:i,focusable:r=!0,active:s=!1,tabStopId:a,children:o,...l}=e,c=Ec(),h=a||c,p=uh("RovingFocusGroupItem",i),u=p.currentTabStopId===h,d=rh(i),{onFocusableItemAdd:f,onFocusableItemRemove:m,currentTabStopId:g}=p,x=Qc();return ac(()=>{if(x&&r)return f(),()=>m()},[x,r,f,m]),C.useEffect(()=>{if(!x&&r)return f(),()=>m()},[x,r,f,m]),n(nh.ItemSlot,{scope:i,id:h,focusable:r,active:s,children:n(Cc.span,{tabIndex:u?0:-1,"data-orientation":p.orientation,...l,ref:t,onMouseDown:Ll(e.onMouseDown,e=>{r?p.onItemFocus(h):e.preventDefault()}),onFocus:Ll(e.onFocus,()=>p.onItemFocus(h)),onKeyDown:Ll(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void p.onItemShiftTab();if(e.target!==e.currentTarget)return;const t=yh(e,p.orientation,p.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let i=d().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)i.reverse();else if("prev"===t||"next"===t){"prev"===t&&i.reverse();const n=i.indexOf(e.currentTarget);i=p.loop?bh(i,n+1):i.slice(n+1)}setTimeout(()=>vh(i))}}),children:"function"==typeof o?o({isCurrentTabStop:u,hasTabStop:null!=g}):o})})},"RovingFocusGroupItem")),gh={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function xh(e,t){return t!==hh?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}function yh(e,t,i){const n=xh(e.key,i);if(!(t===lh&&["ArrowLeft","ArrowRight"].includes(n)||t===ch&&["ArrowUp","ArrowDown"].includes(n)))return gh[n]}function vh(e,t=!1){const i=document.activeElement;for(const n of e){if(n===i)return;if(n.focus({preventScroll:t}),document.activeElement!==i)return}}function bh(e,t){return e.map((i,n)=>e[(t+n)%e.length])}Zc(xh,"getDirectionAwareKey"),Zc(yh,"getFocusIntent"),Zc(vh,"focusFirst"),Zc(bh,"wrapArray");var wh=Object.defineProperty,kh=(e,t)=>wh(e,"name",{value:t,configurable:!0});function Eh(e,t){return C.useReducer((e,i)=>t[e][i]??e,e)}kh(Eh,"useStateMachine");var Sh=kh(e=>{const{present:t,children:i}=e,n=Ch(t),r="function"==typeof i?i({present:n.isPresent}):C.Children.only(i),s=_h(n.ref,Ih(r));return"function"==typeof i||n.isPresent?C.cloneElement(r,{ref:s}):null},"Presence");function Ch(e){const[t,i]=C.useState(),n=C.useRef(null),r=C.useRef(e),s=C.useRef("none"),a=C.useRef(void 0),o=e?"mounted":"unmounted",[l,c]=Eh(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return C.useEffect(()=>{"mounted"===l?(s.current=a.current??Nh(n.current),a.current=void 0):s.current="none"},[l]),ac(()=>{const t=n.current,i=r.current;if(i!==e){const n=s.current,o=Nh(t);if(e)a.current=o,c("MOUNT");else if("none"===o||"none"===t?.display)c("UNMOUNT");else{c(i&&n!==o?"ANIMATION_OUT":"UNMOUNT")}r.current=e}},[e,c]),ac(()=>{if(t){let e;const i=t.ownerDocument.defaultView??window,a=kh(s=>{const a=Nh(n.current).includes(CSS.escape(s.animationName));if(s.target===t&&a&&(c("ANIMATION_END"),!r.current)){const n=t.style.animationFillMode;t.style.animationFillMode="forwards",e=i.setTimeout(()=>{"forwards"===t.style.animationFillMode&&(t.style.animationFillMode=n)})}},"handleAnimationEnd"),o=kh(e=>{e.target===t&&(s.current=Nh(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",o),t.addEventListener("animationcancel",a),t.addEventListener("animationend",a),()=>{i.clearTimeout(e),t.removeEventListener("animationstart",o),t.removeEventListener("animationcancel",a),t.removeEventListener("animationend",a)}}c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:C.useCallback(e=>{if(e){const t=getComputedStyle(e);n.current=t,a.current=Nh(t)}else n.current=null;i(e)},[])}}function Ah(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function _h(...e){const t=C.useRef(e);return t.current=e,C.useCallback(e=>{const i=t.current;let n=!1;const r=i.map(t=>{const i=Ah(t,e);return n||"function"!=typeof i||(n=!0),i});if(n)return()=>{for(let e=0;e<r.length;e++){const t=r[e];"function"==typeof t?t():Ah(i[e],null)}}},[])}function Nh(e){return e?.animationName||"none"}function Ih(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,i=t&&"isReactWarning"in t&&t.isReactWarning;return i?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,i=t&&"isReactWarning"in t&&t.isReactWarning,i?e.props.ref:e.props.ref||e.ref)}kh(Ch,"usePresence"),kh(Ah,"setRef"),kh(_h,"useStableComposedRefs"),kh(Nh,"getAnimationName"),kh(Ih,"getElementRef");var Th=Object.defineProperty,Ph=(e,t)=>Th(e,"name",{value:t,configurable:!0}),Lh={Automatic:"automatic",Manual:"manual"},Vh="Tabs",[Rh,Oh]=Dl(Vh,[oh]),jh=oh(),[Dh,Mh]=Rh(Vh),Fh=C.forwardRef(Ph(function(e,t){const{__scopeTabs:i,value:r,onValueChange:s,defaultValue:a,orientation:o="horizontal",dir:l,activationMode:c=Lh.Automatic,...h}=e,p=Jc(l),[u,d]=jc({prop:r,onChange:s,defaultProp:a??"",caller:Vh});return n(Dh,{scope:i,baseId:Ec(),value:u,onValueChange:d,orientation:o,dir:p,activationMode:c,children:n(Cc.div,{dir:p,"data-orientation":o,...h,ref:t})})},"Tabs")),Bh=C.forwardRef(Ph(function(e,t){const{__scopeTabs:i,loop:r=!0,...s}=e,a=Mh("TabsList",i),o=jh(i);return n(dh,{asChild:!0,...o,orientation:a.orientation,dir:a.dir,loop:r,children:n(Cc.div,{role:"tablist","aria-orientation":a.orientation,...s,ref:t})})},"TabsList")),Uh=C.forwardRef(Ph(function(e,t){const{__scopeTabs:i,value:r,disabled:s=!1,...a}=e,o=Mh("TabsTrigger",i),l=jh(i),c=Jh(o.baseId,r),h=qh(o.baseId,r),p=r===o.value;return n(mh,{asChild:!0,...l,focusable:!s,active:p,children:n(Cc.button,{type:"button",role:"tab","aria-selected":p,"aria-controls":h,"data-state":p?"active":"inactive","data-disabled":s?"":void 0,disabled:s,id:c,...a,ref:t,onMouseDown:Ll(e.onMouseDown,e=>{s||0!==e.button||!1!==e.ctrlKey?e.preventDefault():(e.currentTarget.focus(),o.onValueChange(r))}),onKeyDown:Ll(e.onKeyDown,e=>{s||e.target!==e.currentTarget||[" ","Enter"].includes(e.key)&&o.onValueChange(r)}),onFocus:Ll(e.onFocus,()=>{const e=o.activationMode!==Lh.Manual;p||s||!e||o.onValueChange(r)})})})},"TabsTrigger")),zh=C.forwardRef(Ph(function(e,t){const{__scopeTabs:i,value:r,forceMount:s,children:a,...o}=e,l=Mh("TabsContent",i),c=Jh(l.baseId,r),h=qh(l.baseId,r),p=r===l.value,u=C.useRef(p);return C.useEffect(()=>{const e=requestAnimationFrame(()=>u.current=!1);return()=>cancelAnimationFrame(e)},[]),n(Sh,{present:s||p,children:({present:i})=>n(Cc.div,{"data-state":p?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":c,hidden:!i,id:h,tabIndex:0,...o,ref:t,style:{...e.style,animationDuration:u.current?"0s":void 0},children:i&&a})})},"TabsContent"));function Jh(e,t){return`${e}-trigger-${t}`}function qh(e,t){return`${e}-content-${t}`}Ph(Jh,"makeTriggerId"),Ph(qh,"makeContentId");const Gh=new Map,Xh=L(null);function Hh(){const e=P(Xh);if(!e)throw new Error("You must wrap your component in <Tabs>");return e}const Wh=Bh;function $h({value:e,ref:t,...i}){const{triggers:r}=Hh();return n(Uh,{ref:Nl(t,t=>{t?r.add(e):r.delete(e)}),value:e,...i})}function Kh({ref:e,groupId:t,persist:i=!1,updateAnchor:r=!1,defaultValue:s,value:a,onValueChange:o,...l}){const c=_(null),h=T(()=>new Map,[]),p=T(()=>new Map,[]),u=T(()=>new Set,[]),[d,f]=void 0===a?A(s):[a,e=>o?.(e)],m=M(e=>{u.has(e)&&f(e)}),g=M(()=>{const e=window.location.hash.slice(1);if(!e)return;for(const[t,i]of h.entries())if(i===e)return f(t),void c.current?.scrollIntoView();const t=document.getElementById(e);if(t)for(const[e,i]of p.entries())if(i.contains(t))return f(e),void requestAnimationFrame(()=>t.scrollIntoView())});return F(()=>{if(!t)return;let e=sessionStorage.getItem(t);i&&(e??=localStorage.getItem(t)),e&&m(e);const n=Gh.get(t)??new Set;return n.add(m),Gh.set(t,n),()=>{n.delete(m)}},[t,i]),F(()=>(g(),window.addEventListener("hashchange",g),()=>window.removeEventListener("hashchange",g)),[]),n(Fh,{ref:Nl(e,c),value:d,onValueChange:e=>{if(r){const t=h.get(e);t&&window.history.replaceState(null,"",`#${t}`)}if(t){const n=Gh.get(t);if(n)for(const t of n)t(e);sessionStorage.setItem(t,e),i&&localStorage.setItem(t,e)}else f(e)},...l,children:n(Xh,{value:T(()=>({valueToIdMap:h,panels:p,triggers:u}),[h,p,u]),children:l.children})})}function Qh({value:e,ref:t,...i}){const{valueToIdMap:r,panels:s}=Hh();return i.id&&r.set(e,i.id),n(zh,{ref:Nl(t,t=>{t?s.set(e,t):s.delete(e)}),value:e,...i,children:i.children})}const Yh=L(null);function Zh(e){return n("pre",{...e,className:To("min-w-full w-max *:flex *:flex-col",e.className),children:e.children})}function ep({ref:e,title:i,allowCopy:r=!0,keepBackground:s=!1,icon:a,viewportProps:o={},children:l,Actions:c=e=>n("div",{...e,className:To("empty:hidden",e.className)}),...h}){const p=null!==P(Yh),u=_(null);return"true"===r?r=!0:"false"===r&&(r=!1),t("figure",{ref:e,dir:"ltr",...h,tabIndex:-1,className:To(p?"bg-fd-secondary -mx-px -mb-px last:rounded-b-xl":"my-4 bg-fd-card rounded-xl",s&&"bg-(--shiki-light-bg) dark:bg-(--shiki-dark-bg)","shiki relative border not-prose overflow-hidden text-sm",h.className),children:[i?t("div",{className:"flex text-fd-muted-foreground items-center gap-2 h-9.5 border-b px-4",children:["string"==typeof a?n("div",{className:"[&_svg]:size-3.5",dangerouslySetInnerHTML:{__html:a}}):a,n("figcaption",{className:"flex-1 truncate",children:i}),c({className:"-me-2",children:r&&n(tp,{containerRef:u})})]}):c({className:"absolute top-3 right-2 z-2 backdrop-blur-lg rounded-lg text-fd-muted-foreground",children:r&&n(tp,{containerRef:u})}),n("div",{ref:u,...o,role:"region",tabIndex:0,className:To("text-[0.8125rem] py-3.5 overflow-auto max-h-[600px] fd-scroll-container focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-fd-ring",o.className),style:{"--padding-right":i?void 0:"calc(var(--spacing) * 8)",counterSet:h["data-line-numbers"]?"line "+(Number(h["data-line-numbers-start"]??1)-1):void 0,...o.style},children:l})]})}function tp({className:e,containerRef:i,...r}){const s=wl({note:"code block"}),[a,o]=yl(()=>{const e=i.current?.getElementsByTagName("pre").item(0);if(!e)return;const t=e.cloneNode(!0);return t.querySelectorAll(".nd-copy-ignore").forEach(e=>{e.replaceWith("\n")}),navigator.clipboard.writeText(t.textContent??"")});return t("button",{type:"button","data-checked":a||void 0,className:To(ml({className:"hover:text-fd-accent-foreground data-checked:text-fd-accent-foreground",size:"icon-xs"}),e),"aria-live":"polite",onClick:o,...r,children:[n(a?qo:Ko,{}),n("span",{className:"sr-only",children:s(a?"Copied Text":"Copy Text",{note:"aria-label"})})]})}const ip={CodeBlockTab:function(e){return n(Qh,{...e})},CodeBlockTabs:function({ref:e,...t}){const i=_(null),r=null!==P(Yh);return n(Kh,{ref:Nl(i,e),...t,className:To("bg-fd-card rounded-xl border",!r&&"my-4",t.className),children:n(Yh,{value:T(()=>({containerRef:i,nested:r}),[r]),children:t.children})})},CodeBlockTabsList:function(e){return n(Wh,{...e,className:To("flex flex-row px-2 overflow-x-auto text-fd-muted-foreground",e.className),children:e.children})},CodeBlockTabsTrigger:function({children:e,...i}){return t($h,{...i,className:To("relative group inline-flex text-sm font-medium text-nowrap items-center transition-colors gap-2 px-2 py-1.5 hover:text-fd-accent-foreground data-[state=active]:text-fd-primary [&_svg]:size-3.5",i.className),children:[n("div",{className:"absolute inset-x-2 bottom-0 h-px group-data-[state=active]:bg-fd-primary"}),e]})},pre:e=>n(ep,{...e,children:n(Zh,{children:e.children})}),Card:function({icon:e,title:i,description:r,...s}){const a=s.href?Oo:"div";return t(a,{...s,"data-card":!0,className:To("block rounded-xl border bg-fd-card p-4 text-fd-card-foreground transition-colors @max-lg:col-span-full",s.href&&"hover:bg-fd-accent/80",s.className),children:[e?n("div",{className:"not-prose mb-2 w-fit shadow-md rounded-lg border bg-fd-muted p-1.5 text-fd-muted-foreground [&_svg]:size-4",children:e}):null,n("h3",{className:"not-prose mb-1 text-sm font-medium",children:i}),r?n("p",{className:"my-0! text-sm text-fd-muted-foreground",children:r}):null,n("div",{className:"text-sm text-fd-muted-foreground prose-no-margin empty:hidden",children:s.children})]})}
|
|
56
|
+
/**
|
|
57
|
+
* @license lucide-react v1.66.0 - ISC
|
|
58
|
+
*
|
|
59
|
+
* This source code is licensed under the ISC license.
|
|
60
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
61
|
+
*/,Cards:function(e){return n("div",{...e,className:To("grid grid-cols-2 gap-3 @container",e.className),children:e.children})},a:Oo,img:function(e){return n(Vo,{sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 70vw, 900px",...e,className:To("rounded-lg",e.className)})},h1:e=>n(_l,{as:"h1",...e}),h2:e=>n(_l,{as:"h2",...e}),h3:e=>n(_l,{as:"h3",...e}),h4:e=>n(_l,{as:"h4",...e}),h5:e=>n(_l,{as:"h5",...e}),h6:e=>n(_l,{as:"h6",...e}),table:function(e){return n("div",{className:"relative overflow-auto prose-no-margin my-6",tabIndex:0,children:n("table",{...e})})},Callout:function({children:e,title:i,...r}){return t(ll,{...r,children:[i&&n(cl,{children:i}),n(hl,{children:e})]})},CalloutContainer:ll,CalloutTitle:cl,CalloutDescription:hl};function np({source:i,components:r}){const[s,a]=A(null),[o,l]=A(null);if(I(()=>{let t=!1;return async function(){try{const{default:n}=await Ja(i,{...e,baseUrl:import.meta.url,remarkPlugins:[wt,kt],rehypePlugins:[jt]});t||(a(()=>n),l(null))}catch(e){t||(l(e.message),a(null))}}(),()=>{t=!0}},[i]),o)return n("pre",{style:{color:"red",whiteSpace:"pre-wrap"},children:o});if(!s)return null;const c={...ip,...r},h=[...i.matchAll(/<([A-Z][a-zA-Z0-9]*)\b/g)].map(e=>e[1]);for(const e of h)if(!(e in c)){const i=e;c[i]=({children:e})=>t("span",{style:{color:"orange",border:"1px dashed orange",padding:"0 4px",fontFamily:"monospace"},children:["<",i,">",e,"</",i,">"]})}return n(s,{components:c})}function rp(e){const{zoom:r,isRendering:s,isFullscreen:a,onZoom:o,onReset:l,onToggleFullscreen:c,zoomShortcutButtons:h}=e;return t("div",{className:"jk-row gap jk-pg-xsm",children:[n(Q,{onClick:()=>o(-.1),icon:n(et,{size:"small"}),size:"tiny",type:"secondary"}),t("span",{style:{minWidth:"42px",textAlign:"center",fontSize:"0.8rem",userSelect:"none"},children:[Math.round(100*r),"%"]}),n(Q,{onClick:()=>o(.1),icon:n(Fe,{size:"small"}),size:"tiny",type:"secondary"}),h&&t(i,{children:[n("div",{style:{width:"1px",height:"16px",background:"var(--t-color-gray-4)",margin:"0 4px"}}),n(Q,{onClick:()=>o(1-r),size:"tiny",type:"secondary",children:"100%"}),n(Q,{onClick:()=>o(2-r),size:"tiny",type:"secondary",children:"200%"}),n(Q,{onClick:l,icon:n(Be,{size:"small"}),size:"tiny",type:"secondary",children:n(H,{className:"tt-se",children:"reset"})})]}),n("div",{style:{flex:1}}),s&&n(Ue,{size:"small"}),n(Q,{onClick:c,icon:n(a?De:Me,{size:"small"}),size:"tiny",type:"secondary"})]})}const sp='{\n "logLevel": "error",\n "securityLevel": "loose",\n "startOnLoad": false\n}';function ap({error:e}){return t("div",{style:{background:"var(--t-color-error-light, #fee2e2)",color:"var(--t-color-error, #dc2626)",borderTop:"2px solid var(--t-color-error, #dc2626)",padding:"8px 12px",flexShrink:0,overflow:"auto",maxHeight:"140px",display:"flex",gap:"8px",alignItems:"flex-start"},children:[n(ze,{size:"small",style:{flexShrink:0,marginTop:"2px"}}),n("pre",{style:{fontSize:"0.75rem",margin:0,whiteSpace:"pre-wrap",wordBreak:"break-word",fontFamily:"monospace"},children:e})]})}const op=e=>{const{source:r,mermaidTheme:s="default",configJson:a=sp,fileName:o="diagram",copyButtons:l=!0,downloadButtons:c=!0,zoomShortcutButtons:h=!0}=e,[p,u]=A(1),[d,f]=A({x:0,y:0}),[m,g]=A(!1),[x,y]=A(!1),v=_({x:0,y:0}),b=_(null),w=_(null);I(()=>{const e=()=>y(!!document.fullscreenElement);return document.addEventListener("fullscreenchange",e),()=>document.removeEventListener("fullscreenchange",e)},[]);const k=N(e=>{u(t=>Math.max(.1,Math.min(8,parseFloat((t+e).toFixed(2)))))},[]),E=N(()=>{u(1),f({x:0,y:0})},[]),S=N(e=>{0===e.button&&(g(!0),v.current={x:e.clientX-d.x,y:e.clientY-d.y})},[d]),C=N(e=>{m&&f({x:e.clientX-v.current.x,y:e.clientY-v.current.y})},[m]),T=N(()=>g(!1),[]);I(()=>{const e=w.current;if(!e)return;const t=e=>{e.preventDefault();const t=.001*-e.deltaY;u(e=>Math.max(.1,Math.min(8,parseFloat((e+t).toFixed(3)))))};return e.addEventListener("wheel",t,{passive:!1}),()=>e.removeEventListener("wheel",t)},[]);const[P,L]=A(""),[V,R]=A(""),[O,j]=A(!1),D=_(null),M=_(0);I(()=>{const e=++M.current;j(!0);const t=setTimeout(async()=>{try{const{default:t}=await import("./mermaid.core-DBVKQvxW.js").then(function(e){return e.bk});let i={};try{i=JSON.parse(a)}catch(e){console.warn("Error on parsing configJson",e)}t.initialize({startOnLoad:!1,theme:s,look:"classic",layout:"dagre",securityLevel:"loose",...i});const{svg:n}=await t.render(`mermaid-render-${e}`,r);if(n.includes('aria-roledescription="error"')){const e=n.match(/<text class="error-text"[^>]*>([^<]*)<\/text>/);throw new Error(e?.[1]??"Syntax error")}e===M.current&&(L(n),R(""),j(!1))}catch(t){if(document.getElementById(`dmermaid-render-${e}`)?.remove(),e===M.current){const e=t instanceof Error?t.message:String(t);R(e.replace(/^Error:\s*/i,"")),L(""),j(!1)}}},400);return()=>{clearTimeout(t)}},[r,s,a]);const F=N(()=>{const e=D.current;return e?Xt.toBlob(e,{bgcolor:"dark"===s?"#1e1e2e":"#ffffff"}):Promise.reject(new Error("No SVG"))},[s]),B=N(()=>{if(!P)return;const e=new Blob([P],{type:"image/svg+xml"});Ee(e,`${o}.svg`)},[P,o]),U=N(async()=>{try{const e=await F();Ee(e,`${o}.png`)}catch(e){console.error("PNG export failed",e)}},[F,o]),z=N(async()=>{try{const e=await F();await navigator.clipboard.write([new ClipboardItem({"image/png":e})])}catch(e){console.error("PNG copy failed",e)}},[F]),J=N(async()=>{b.current&&(document.fullscreenElement?await document.exitFullscreen():await b.current.requestFullscreen())},[]);return n("div",{className:"ht-100 jk-col ow-hn flex-1 wh-100",ref:b,children:V?n(ap,{error:V}):t(i,{children:[n(rp,{zoom:p,isRendering:O,isFullscreen:x,onZoom:k,onReset:E,onToggleFullscreen:J,renderedSvg:P,mermaidTheme:s,zoomShortcutButtons:h}),(l||c)&&t("div",{className:"jk-row gap",children:[l&&t(i,{children:[n(le,{disabled:!P,iconSize:"tiny",text:P,children:"SVG"},"copy-svg"),n(Q,{onClick:z,disabled:!P,icon:n(Oe,{size:"small"}),size:"tiny",children:"PNG"})]}),c&&t(i,{children:[n(Q,{onClick:B,disabled:!P,icon:n(je,{size:"small"}),size:"tiny",children:"SVG"}),n(Q,{onClick:U,disabled:!P,icon:n(je,{size:"small"}),size:"tiny",children:"PNG"})]})]}),t("div",{ref:w,className:"wh-100",style:{flex:1,overflow:"hidden",cursor:m?"grabbing":"grab",position:"relative",userSelect:"none",background:"dark"===s?"#1e1e2e":"var(--t-color-bg-1, #f8fafc)"},onMouseDown:S,onMouseMove:C,onMouseUp:T,onMouseLeave:T,children:[n("div",{style:{position:"absolute",top:"50%",left:"50%",transform:`translate(calc(-50% + ${d.x}px), calc(-50% + ${d.y}px)) scale(${p})`,transformOrigin:"center center"},children:P?n("div",{ref:D,dangerouslySetInnerHTML:{__html:P},style:{maxWidth:"100%",lineHeight:0}}):O||V?null:t("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"12px",color:"var(--t-color-gray-5)",padding:"3rem",userSelect:"none"},children:[n(Ze,{size:"huge"}),n(H,{className:"tt-se",children:"start typing to see your diagram"})]})}),O&&!P&&n("div",{style:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(0,0,0,0.05)"},children:n(Ue,{size:"large"})}),n("div",{style:{position:"absolute",bottom:"8px",right:"8px",fontSize:"0.7rem",color:"var(--t-color-gray-5)",background:"var(--t-color-bg)",padding:"3px 7px",borderRadius:"4px",border:"1px solid var(--t-color-gray-3)",pointerEvents:"none",userSelect:"none"},children:"scroll to zoom · drag to pan"})]})]})})},lp=[a.COMPILING,a.COMPILED,a.COMPILATION_ERROR],cp=({testCase:e,timeLimit:i,memoryLimit:r})=>{const{timeUsed:s,timeLimitExceeded:o,memoryUsed:l,memoryLimitExceeded:c,exitCode:h,runtimeError:p}=d(e,lp.includes(e.status)?10*f:i,lp.includes(e.status)?1048576:r);if(e.status===a.COMPILATION_ERROR)return n("div",{className:"jk-pg-xsm jk-row gap left tx-t",style:{lineHeight:1},children:n("span",{className:"tt-se cr-er",children:n(H,{children:"compilation error"})})});const u=p&&!o&&!c;return t("div",{className:"jk-col gap left stretch tx-s",style:{lineHeight:1},children:[t("div",{className:ke("jk-row left",{"cr-er":o}),children:[n(H,{className:"tt-se",children:"time used"}),": ",s," ",n(H,{children:"ms"})," / ",i," ",n(H,{children:"ms"})]}),o&&n(H,{className:"tt-se cr-er jk-pg-l",children:"time limit exceeded"}),t("div",{className:ke("jk-row left",{"cr-er":c}),children:[n(H,{className:"tt-se",children:"memory used"}),": ",l," ",n(H,{children:"KB"})," / ",r," ",n(H,{children:"KB"})]}),c&&n(H,{className:"tt-se cr-er jk-pg-l",children:"memory limit exceeded"}),t("div",{className:ke("jk-row left",{"cr-er":u}),children:[n(H,{className:"tt-se",children:"exit code"}),": ",h]}),u&&n(H,{className:"tt-se cr-er jk-pg-l",children:"runtime error"})]})},hp=({onChange:e,testCasesValues:t,sample:i=!1})=>{const{addNotification:r}=Z();return n("div",{"data-tooltip-id":"jk-tooltip","data-tooltip-content":`add ${i?"sample":"custom sample"} case`,"data-tooltip-place":"left",className:"jk-button secondary small only-icon jk-br-ie",children:n(We,{size:"small",onClick:()=>{const s=t.filter(e=>!e.sample),o=t.filter(e=>e.sample),l=i?o:s;if(l.length<(i?30:16)){const t=globalThis.crypto.randomUUID(),n=y(l.map(e=>e.index));e?.({onTestCasesChange:e=>({...e,[t]:{key:t,index:n,in:"",out:"",testOut:"",withPE:o?.[0]?.withPE??!0,err:"",log:"",hidden:!1,sample:i,status:a.NONE,messageTimestamp:0}})})}else r({type:v.QUIET,message:n(H,{children:"maximum test cases achieved"})})}})})},pp=e=>{const{testCases:r={},onChangeRef:s,timeLimit:o,memoryLimit:l,direction:c,enableAddSampleCases:h,enableAddCustomSampleCases:p}=e,u=Object.values(r).sort((e,t)=>"*"===e.key?-1:"*"===t.key?1:e.sample!==t.sample?+t.sample-+e.sample:e.index-t.index),[f,y]=A(u[0]?.key||"*");I(()=>{const e=Object.values(r);e.length&&e[0]&&(e.some(e=>e.key===f)||y(e[0].key))},[f,r]);const[v,b]=A("output"),[w,k]=A("input"),E=r[f],S=!!E&&(d(E,o,l).failed||!!E?.err||[a.FAILED,a.COMPILATION_ERROR,a.FAILED_TEST_CASE].includes(E.status));I(()=>{b(S?"error":"output")},[S]);const C=E?.status===a.RECEIVED||E?.status===a.COMPILING||E?.status===a.RUNNING_TEST_CASES||E?.status===a.RUNNING_TEST_CASE,_=C&&n("div",{className:"jk-overlay jk-overlay-backdrop jk-row center pn-ae",style:{background:"transparent",position:"absolute"},children:t("div",{className:"jk-row",style:{alignItems:"baseline"},children:[n(H,{className:"tt-se",children:m[E?.status].label})," ",n("div",{className:"dot-flashing"})]})}),N={};E?.testOut&&(N["test-output"]={key:"test-output",header:t("div",{className:"jk-row gap left nowrap",children:[n(H,{className:"tt-se",children:"expected output"}),E?.withPE&&n(ce,{text:E?.testOut||""})]}),body:n("div",{className:"ht-100 jk-col stretch nowrap",children:n("div",{className:"jk-pg-xsm ow-ao flex-1",children:n("span",{className:"jk-text-stdout",children:E?.testOut})})})}),N.output={key:"output",header:n(H,{className:ke("tt-se"),children:"your output"}),body:t("div",{className:"ht-100 jk-col stretch nowrap pn-re",children:[_,n("div",{className:"jk-pg-xsm ow-ao flex-1",children:n("span",{className:"jk-text-stdout",children:E?.out})})]})},S&&(N.error={key:"error",header:n(H,{className:ke("tt-se"),children:"error"}),body:t("div",{className:"ht-100 jk-col stretch nowrap pn-re",children:[_,n("div",E&&!E?.err?{className:"jk-row",children:n(cp,{testCase:E,timeLimit:o,memoryLimit:l})}:{className:"jk-pg-xsm ow-ao flex-1",children:n("span",{className:"jk-text-stderr tx-t bc-er cr-we jk-pg-xsm",children:E?.err})})]})});const T={input:{key:"input",header:n(H,{className:"tt-se",children:"input"}),body:(E?.sample?h:p)&&s?.current?n(he,{style:{height:"calc(100% - 4px)",overflow:"auto",width:"calc(100% - 4px)",margin:2,position:"absolute"},wrap:"off",className:"tx-s flex-1",value:E?.in,disabled:!E,onChange:E?e=>s?.current?.({onTestCasesChange:t=>({...t,[E?.key]:{...E,in:e}})}):void 0}):n("div",{className:"flex-1 ow-ao jk-pg-xsm",children:n("span",{className:"jk-text-stdout",children:E?.in})})}};return E?.sample&&h&&(T.output={key:"output",header:n(H,{className:"tt-se",children:"expected output"}),body:s?.current?n(he,{style:{height:"calc(100% - 4px)",overflow:"auto",width:"calc(100% - 4px)",margin:2,position:"absolute"},wrap:"off",className:"tx-s flex-1",value:E?.testOut,onChange:e=>s?.current?.({onTestCasesChange:t=>({...t,[E?.key]:{...E,testOut:e}})})}):n("div",{className:"flex-1 ow-ao jk-pg-xsm",children:n("span",{className:"jk-text-stdout",children:E?.testOut})})},T.settings={key:"settings",header:n(H,{className:"tt-se",children:"settings"}),body:t("div",{className:"jk-col gap jk-pg-sm",children:[n(pe,{size:"small",checked:E?.hidden,leftLabel:n(H,{className:"tt-se tx-s",children:"no hidden"}),rightLabel:n(H,{className:"tt-se tx-s",children:"hidden"}),onChange:s?.current?e=>s?.current?.({onTestCasesChange:t=>({...t,[E?.key]:{...E,hidden:e}})}):void 0}),n(pe,{size:"small",checked:E?.withPE,leftLabel:n(H,{className:"tt-se tx-s",children:"without PE"}),rightLabel:n(H,{className:"tt-se tx-s",children:"with PE"}),onChange:s?.current?e=>s?.current?.({onTestCasesChange:t=>({...t,[E?.key]:{...E,withPE:e}})}):void 0})]})}),t("div",{className:"jk-code-mirror-editor-test-cases jk-row stretch nowrap",children:[t("div",{className:"jk-col nowrap stretch top tx-t border-right-highlight-light test-cases-header ow-ao",children:[n("div",{className:"jk-row ta-cr fw-bd jk-pg-xsm-tb border-bottom-highlight-light",children:n(H,{className:"tt-se",style:{width:48,lineHeight:1},children:"test cases"})}),u.map(e=>{const r=g(e,o,l).verdict;return t("div",{"data-tooltip-id":"jk-tooltip","data-tooltip-content":(e.sample?"sample":"custom sample")+" case","data-tooltip-place":"left",onClick:()=>y(e.key),className:ke("jk-row hoverable jk-pg-xsm space-between",{"bc-ht-lt":e.key===f}),style:{minWidth:80},children:[t("div",{className:"jk-row left",children:["*"===e.key?n(Ke,{size:"small"}):n(Ke,{letter:(e.index+1)%10+"",letterSize:12,size:"small",className:ke({"cr-io-lt":e.sample})}),(e.sample?h:p)&&"*"!==e.key&&t(i,{children:[" ",n(Le,{size:"tiny",className:"clickable br-50-pc","data-tooltip-id":"jk-tooltip","data-tooltip-content":"delete case","data-tooltip-place":"right",onClick:()=>{s?.current?.({onTestCasesChange:t=>{const i={...t};return delete i[e.key],i}})}})]})]}),e.status!==a.NONE&&([a.EXECUTED_TEST_CASE,a.FAILED_TEST_CASE,a.COMPILATION_ERROR].includes(e.status)?e.testOut||r===x.CE||r===x.MLE||r===x.TLE||r===x.RE?t(i,{children:[" ",n(ue,{verdict:r,small:!0})]}):n("div",{"data-tooltip-id":"jk-tooltip","data-tooltip-content":"success executed",className:"cr-io-lt",style:{lineHeight:1,padding:"2px 4px"},children:n(qe,{size:"tiny",filledCircle:!0})}):t(i,{children:[" ",n(Je,{size:"tiny"})]}))]},e.key)}),h&&s?.current&&n("div",{className:"jk-row jk-pg-xsm-tb border-top-highlight-light",children:n(hp,{onChange:s?.current,testCasesValues:u,testCases:r,sample:!0})}),p&&s?.current&&n("div",{className:"jk-row jk-pg-xsm-tb border-top-highlight-light",children:n(hp,{onChange:s?.current,testCasesValues:u,testCases:r})})]}),!h&&E?.hidden?n("div",{className:"jk-row center ht-100 flex-1",children:n(H,{className:"tt-se jk-tag bc-io-lt",children:"test input hidden"})}):t(de,{direction:"row"===c?"column":"row",className:"flex-1 ow-hn",children:[t("div",{className:"jk-col extend stretch nowrap",children:[n(fe,{tabs:T,selectedTabKey:w,onChange:k,tabButtonsClassName:"tx-t"}),n("div",{className:"flex-1 wh-100 pn-re ow-hn",children:n(me,{tabs:T,selectedTabKey:w})})]}),t("div",{className:"jk-col stretch test-cases-output-stderr",children:[n(fe,{tabs:N,selectedTabKey:v,onChange:b,tabButtonsClassName:"tx-t",extraNodesPlacement:"left",extraNodes:[n("div",{children:n(ge,{popoverClassName:"bc-sf-hi jk-br-ie elevation-1 jk-pg-xsm",content:t("div",{className:"pn-re",children:[C&&t("div",{className:"jk-row",style:{alignItems:"baseline"},children:[n(H,{className:"tt-se",children:m[E?.status].label})," ",n("div",{className:"dot-flashing"})]}),E&&!C&&E.status!==a.NONE?n(cp,{testCase:E,timeLimit:o,memoryLimit:l}):!!E&&!C&&n(H,{className:"tt-se",children:E.sample?"unexecuted sample case":"unexecuted test case"})]}),children:n("div",{className:ke("jk-row jk-pg-xsm-l",{"cr-er-lt":S,"cr-io-lt":!S}),children:n(Ge,{filledCircle:!0,size:"tiny"})})})},"info")]}),n("div",{className:"flex-1 wh-100 pn-re ow-hn",children:n(me,{tabs:N,selectedTabKey:v})})]})]})]})};function up(e){const{readOnly:i,languages:r=q.map(e=>({value:e,label:b[e]?.label||e})),onChange:s,leftButtons:a,centerButtons:o,rightButtons:c,testCases:h,tabSize:p=4,fontSize:d=14,timeLimit:m=f,memoryLimit:g=1048576,expandPosition:x,className:y,enableAddCustomSampleCases:v,enableAddSampleCases:k,onlyCodeEditor:E,files:S,currentFileName:C,triggerFocus:_,mdEditorRef:N,withoutRunCodeButton:I,mermaidTheme:P,mermaidConfigJson:L,mermaidFileName:V}=e,{source:R="",language:O=l.TEXT}=S?.[C]??{},j=te(i?void 0:s),D=xe(e=>e.user.settings[w.THEME]),[M,F]=A("row"),[B,U]=A(!1),z=ye(e=>e.viewPort.isSmallScreen),J=T(()=>u.includes(O)?n(pp,{testCases:h,timeLimit:m,memoryLimit:g,onChangeRef:j,direction:M,enableAddSampleCases:!i&&!!k,enableAddCustomSampleCases:!i&&!!v}):O===l.MERMAID?n(op,{source:R,mermaidTheme:P,configJson:L,fileName:V}):O===l.MDX?n("div",{className:"ht-100 wh-100 ow-ao jk-pg-xsm",children:n(np,{source:R})}):O===l.MARKDOWN?n(He,{ref:N,className:"ow-ao ht-100",value:R,onChange:e=>j?.current?.({source:e})}):null,[R,O,h,m,g,j,M,i,k,v,N,P,L,V]),G=null!=J,X=E||!G,W=T(()=>({testCases:h||{},timeLimit:m,memoryLimit:g,enableAddSampleCases:!!k,enableAddCustomSampleCases:!!v}),[v,k,g,h,m]),$=T(()=>n(Kt,{preferredTheme:D,language:O,readOnly:i,source:R,tabSize:p,fontSize:d,languages:r,onlyFirstPane:X,triggerFocus:_,setExpanded:U,files:S,currentFileName:C,leftButtons:a,centerButtons:o,rightButtons:c,onChangeRef:j,runner:W,expandPosition:x,expanded:B,withoutRunCodeButton:I}),[D,O,i,R,p,d,r,X,_,S,C,a,o,c,j,W,x,B,I]),K=T(()=>G?{align:"right",expandLabel:n(H,{className:"label tx-t",children:"test cases"})}:void 0,[G]),Y=T(()=>G&&z?{align:"right",expandLabel:n(H,{className:"label tx-t",children:"code editor"})}:void 0,[G,z]),{ref:Z,width:ee=0}=re(),ie=n("div",{className:ke("jk-code-mirror-editor-layout jk-br-ie jk-col nowrap stretch bc-sf-md ht-100 wh-100 pn-re",{"elevation-1":B},y),style:{overflow:B?"hidden":void 0},children:t("div",{className:"flex-1 ow-hn jk-row nowrap stretch",children:[n(Ut,{fileTreePanelRef:Z,files:S,currentFileName:C,onChangeRef:j,readOnly:i}),n("div",{className:"jk-row transition-width flex-1",style:{width:`calc(100% - ${ee}px)`},children:0===Object.keys(S).length?t("div",{className:"jk-col gap jk-pg",children:[n(H,{className:"tt-se",children:"there are no files in the editor, create a new file to start using the editor"}),n(Q,{type:"secondary",onClick:()=>j.current?.({newFileName:""}),children:n(H,{className:"tt-se",children:"create a new file"})})]}):X?$:t(de,{direction:M,minSize:80,onlyFirstPane:!G,closableSecondPane:K,closableFirstPane:Y,toggleable:!0,onChangeDirection:F,onePanelAtATime:z,className:"ht-100",children:[$,J]})})]})});return B?n(ve,{children:n("div",{className:"jk-overlay jk-overlay-backdrop",children:n("div",{style:{position:"absolute",...x},children:ie})})}):ie}function dp(e){let t={};if("undefined"!=typeof localStorage){const i=e&&localStorage.getItem(e)||"{}";S(i)&&(t=JSON.parse(i))}return t}function fp(e,t,i,n){const r=te(i),s=te(n),a=N(()=>{const i={},n=Object.entries(s.current(dp(e)));for(const[e,s]of Object.entries(t))i[e]=r.current(s,n.find(([t])=>t===e)?.[1]);for(const[e,t]of n)i[e]||(i[e]=t);return i},[e,s,r,t]),[o,l]=A(a());return I(()=>{l(a())},[a]),I(()=>{const t=setTimeout(()=>{const t=JSON.stringify(o);localStorage.getItem(e)!==t&&localStorage.setItem(e,t)},300);return()=>clearTimeout(t)},[e,o]),[o,l]}const mp=e=>b[e]?.fileExtension[0]??"source",gp=(e,t)=>e?`${e}/${t}`:t,xp=(e,t)=>{const i={};for(const[n,r]of Object.entries(e))i[n]={...r,out:t?.[n]?.out??r?.out??"",err:t?.[n]?.err??r?.err??"",log:t?.[n]?.log??r?.log??"",status:t?.[n]?.status??r?.status??a.NONE,messageTimestamp:t?.[n]?.messageTimestamp??r?.messageTimestamp??0},"*"===n&&(i[n].in=t?.[n]?.in??r?.in??"");for(const[e,n]of Object.entries(t??{}))i[e]||(i[e]=n);return i},yp=(e,t)=>({...t,...e}),vp=(e,t,i)=>{let n=`${e}${t}`,r=1;for(;i(n);)n=`${e}(${r})${t}`,r++;return n},bp=e=>{const t={};for(const[i,n]of Object.entries(e||{}))t[i]={lastFileName:"string"==typeof n?.lastFileName?n.lastFileName:""};return t},wp=e=>{const t={};for(const[i,n]of Object.entries(e||{})){t[i]={};for(const[e,r]of Object.entries(n))!1===r?.sample&&(t[i][e]={key:e,in:r?.in||"",testOut:r?.testOut||"",withPE:r?.withPE||!1,sample:!1,hidden:r?.hidden||!1,index:r?.index??-1,messageTimestamp:r?.messageTimestamp??0,out:r?.out||"",err:r?.err||"",log:r?.log||"",status:r?.status||a.NONE})}return t};var kp=R(function(e,t){const{className:i,expandPosition:r,initialTestCases:s={},initialFileName:o,storeKey:c,languages:h,leftButtons:p,centerButtons:u,rightButtons:d,onFilesChange:f,onCurrentFileNameChange:m,onTestCasesChange:g,initialFiles:x,enableAddSampleCases:y,enableAddCustomSampleCases:v,onIsRunningChange:w,readOnly:S,onCodeRunStatusChange:C,onlyCodeEditor:N,withoutRunCodeButton:T,mermaidTheme:P,mermaidConfigJson:L,mermaidFileName:V}=e,R=xe(e=>e.user.nickname),{addErrorNotification:O}=Z(),j=Ce(R),[D,M]=function(e,t){const i=dp(e),[n,r]=A({...t,...i}),s=_(t);s.current=t;const a=_(i);return a.current=i,I(()=>{r({...s.current,...a.current})},[e]),I(()=>{const t=setTimeout(()=>{if(e){const t=JSON.stringify(n);localStorage.getItem(e)!==t&&localStorage.setItem(e,t)}},300);return()=>clearTimeout(t)},[e,n]),[n,r]}(j,{theme:k.LIGHT,lastLanguageUsed:l.CPP,tabSize:2,fontSize:14});let F=D.lastLanguageUsed;h?.length&&!h.some(e=>e.value===F)&&h[0]&&(F=h[0].value);const U=(e=>t=>{const i={};for(const[n,r]of Object.entries(t||{})){i[n]={};let t=1;for(const[s,a]of Object.entries(r||{}))if("string"==typeof a){const r=`source-${t}.${mp(s)}`;i[n][r]={source:a,language:e?.some(({value:e})=>e===s)?s:l.TEXT,index:t,name:r,hidden:!1,protected:!1,readonly:!1,folderPath:"",description:"",active:!1},t++}else if("object"==typeof a&&null!==a){const t=we("folderPath"in a&&"string"==typeof a?.folderPath?a.folderPath:""),r=we("name"in a&&"string"==typeof a?.name?a.name:""),s=i[n]?.[gp(t,r)]?vp(r,`.${mp("language"in a&&"string"==typeof a?.language?a.language:"")}`,e=>!!i[n]?.[gp(t,e)]):r,o=gp(t,s);i[n][o]={source:"source"in a&&"string"==typeof a?.source?a?.source:"",language:("language"in a&&"string"==typeof a?.language?e?.some(({value:e})=>e===a?.language)?a?.language:l.TEXT:"")||l.TEXT,index:"index"in a&&"number"==typeof a?.index?a?.index:0,name:s,hidden:"hidden"in a&&"boolean"==typeof a?.hidden&&a.hidden,protected:"protected"in a&&"boolean"==typeof a?.protected&&a.protected,readonly:"readonly"in a&&"boolean"==typeof a?.readonly&&a.readonly,folderPath:t,description:"description"in a&&"string"==typeof a?.description?a?.description:"",active:!1}}}for(const[e,t]of Object.entries(i)){i[e]={};for(const[,n]of Object.entries(t||{}))n.name||(n.name=vp("recovered",`.${mp(n.language)}`,t=>!!i[e]?.[gp(n.folderPath,t)])),i[e][gp(n.folderPath,n.name)]=n}return i})(h),[z]=be(U({[c]:{...x}})),[J,q]=fp(Ae(R),z,yp,U),X=te(f),W=J[c]||G;I(()=>X.current?.(W),[W,X]);const $=o??Object.keys(W)[0]??(K=F,b[K]?.mainFilename??"main.source");var K;const[Q]=be({[c]:{lastFileName:$}}),[Y,ee]=fp(_e(R),Q,(e,t)=>({...e,...t}),bp),ie=te(m),ne=Y[c]?.lastFileName??$;I(()=>ie.current?.(ne),[ne,ie]);const re=e=>{ee(t=>({...t,[c]:{...t[c],lastFileName:e}})),q(t=>{if(t[c]&&t[c][ne]){const i=Object.fromEntries(Object.entries(t[c]).map(([t,i])=>[t,"object"==typeof i&&null!==i?{...i,active:t===e}:i]));return{...t,[c]:i}}return t})},se=c,[ae]=be(((e,t)=>{const i={[e]:{...t}};return 0===Object.keys(t).length&&(i[e]["*"]={key:"*",in:"",testOut:"",withPE:!1,sample:!1,hidden:!1,index:-1,messageTimestamp:0,out:"",err:"",log:"",status:a.NONE}),i})(se,s)),[oe,le]=fp(Ne(R),ae,xp,wp),ce=te(g),he=oe[se];I(()=>{ce.current?.(he)},[ce,he]);const[pe,ue]=A(0),de=()=>setTimeout(()=>ue(e=>e+1),200),fe=_(null);B(t,()=>({setFile:e=>{q(t=>{if(t[c]){const i=we(e.folderPath),n=gp(i,e.name);return{...t,[c]:{...t[c],[n]:{...e,folderPath:i}}}}return t})},markdownGetSelection:()=>fe.current?.getSelectionMarkdown()??"",markdownReplaceSelectionWithMarkdown:e=>fe.current?.replaceSelectionWithMarkdown(e),markdownHighlightSelectionNodes:e=>fe.current?.highlightSelectionNodes(e),markdownClearHighlight:()=>fe.current?.clearHighlight()}),[q,c]);const me=(e,t,i,n,r)=>{const s=e[c]||{};if(s[t]){const a=(void 0!==n?n:s[t]?.folderPath)||"",o=gp(a,i),l={...s[t],name:i,folderPath:a,...void 0!==r&&{description:r}},{[t]:h,...p}={...s};return p[o]=l,{...e,[c]:p}}return e};return n(up,{triggerFocus:pe,files:W,currentFileName:ne,className:i,theme:D.theme,tabSize:D.tabSize,fontSize:D.fontSize,languages:h,readOnly:S,onChange:({source:e,language:t,onTestCasesChange:i,theme:r,tabSize:s,fontSize:a,isRunning:o,codeRunStatus:l,newFileName:h,fileName:p,fileNameEdited:u,fileNameDeleted:d})=>{if(l&&C?.(l,{files:W,currentFileName:ne,testCases:he}),"boolean"==typeof o&&w?.(o),"string"==typeof e&&q(t=>t[c]&&t[c][ne]?{...t,[c]:{...t[c],[ne]:{...t[c][ne],source:e}}}:t),t&&(M(e=>({...e,lastLanguageUsed:t})),q(e=>{const i={...e[c]||{}},n=e[c]?.[ne],r=n?.folderPath??"",s=vp(E(n?.name??""),`.${mp(t)}`,e=>!!i[gp(r,e)]),a=gp(r,s);if(e[c]&&e[c][ne]){const i={...e,[c]:{...e[c],[ne]:{...e[c]?.[ne],language:t}}};return setTimeout(()=>{re(a)},100),me(i,ne,s,r)}return e}),de()),i&&le(e=>({...e,[se]:i(e[se]||{})})),r&&(M(e=>({...e,theme:r})),de()),s&&(M(e=>({...e,tabSize:s})),de()),a&&(M(e=>({...e,fontSize:a})),de()),void 0!==h&&(q(e=>{const t={...e[c]||{}},i=h,n=vp("new",`.${mp(F)}`,e=>!!t[gp(i,e)]),r=gp(i,n);re(r);const s=Object.values(t).reduce((e,{index:t})=>Math.max(e,t||0),0);return t[r]={source:b[F]?.templateSourceCode||"",language:F,index:s+1,name:n,hidden:!1,protected:!1,readonly:!1,folderPath:i,description:"",active:!0},{...e,[c]:t}}),de()),p&&(re(p),de()),"string"==typeof u?.[0]&&"string"==typeof u?.[1]){const e=u[0],t=u[1],i=W,r=void 0!==u[2]?u[2]:i[e]?.folderPath??"",s=gp(r,t);i[s]&&s!==e?O(n(H,{className:"tt-se",children:"file name already exists"})):(q(i=>me(i,e,t,r,u[3])),re(s),de())}d&&(q(e=>{const t=e[c]||{},{[d]:i,...n}={...t};return re(Object.keys(t)[0]??""),{...e,[c]:n}}),de())},leftButtons:p,centerButtons:u,rightButtons:d,testCases:he,expandPosition:r,enableAddSampleCases:y,enableAddCustomSampleCases:v,onlyCodeEditor:N,mdEditorRef:fe,withoutRunCodeButton:T,mermaidTheme:P,mermaidConfigJson:L,mermaidFileName:V})});export{kp as default};
|