boreal-ui 0.0.72 → 0.0.74
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/core/Accordion-7FjsUwVp.cjs +249 -0
- package/dist/core/Accordion-7FjsUwVp.cjs.map +1 -0
- package/dist/core/Accordion-Bp-rbJiD.js +250 -0
- package/dist/core/Accordion-Bp-rbJiD.js.map +1 -0
- package/dist/core/Accordion.cjs.js +1 -1
- package/dist/core/Accordion.js +1 -1
- package/dist/core/Avatar-CHatDRhp.js +291 -0
- package/dist/core/Avatar-CHatDRhp.js.map +1 -0
- package/dist/core/Avatar-jxGFijtF.cjs +290 -0
- package/dist/core/Avatar-jxGFijtF.cjs.map +1 -0
- package/dist/core/Avatar.cjs.js +1 -1
- package/dist/core/Avatar.js +1 -1
- package/dist/core/Badge-DwWiN50f.js +179 -0
- package/dist/core/Badge-DwWiN50f.js.map +1 -0
- package/dist/core/Badge-oXVUTleI.cjs +178 -0
- package/dist/core/Badge-oXVUTleI.cjs.map +1 -0
- package/dist/core/Badge.cjs.js +1 -1
- package/dist/core/Badge.js +1 -1
- package/dist/core/Breadcrumbs-B7hp9_u1.cjs +210 -0
- package/dist/core/Breadcrumbs-B7hp9_u1.cjs.map +1 -0
- package/dist/core/Breadcrumbs-kbOyaea6.js +211 -0
- package/dist/core/Breadcrumbs-kbOyaea6.js.map +1 -0
- package/dist/core/Breadcrumbs.cjs.js +2 -4
- package/dist/core/Breadcrumbs.cjs.js.map +1 -1
- package/dist/core/Breadcrumbs.js +1 -2
- package/dist/core/Button-CneoIlVV.js +217 -0
- package/dist/core/Button-CneoIlVV.js.map +1 -0
- package/dist/core/Button-nxtJFOWD.cjs +216 -0
- package/dist/core/Button-nxtJFOWD.cjs.map +1 -0
- package/dist/core/Button.cjs.js +1 -1
- package/dist/core/Button.js +1 -1
- package/dist/core/Card-C3kfPs8j.cjs +349 -0
- package/dist/core/Card-C3kfPs8j.cjs.map +1 -0
- package/dist/core/Card-CZY1qzwZ.js +350 -0
- package/dist/core/Card-CZY1qzwZ.js.map +1 -0
- package/dist/core/Card.cjs.js +1 -1
- package/dist/core/Card.js +1 -1
- package/dist/core/CheckBox.cjs.js +1 -1
- package/dist/core/CheckBox.js +1 -1
- package/dist/core/Checkbox-BuFcBJb9.js +193 -0
- package/dist/core/Checkbox-BuFcBJb9.js.map +1 -0
- package/dist/core/Checkbox-JWFInEW_.cjs +192 -0
- package/dist/core/Checkbox-JWFInEW_.cjs.map +1 -0
- package/dist/core/Chip-DV-l08jr.cjs +194 -0
- package/dist/core/Chip-DV-l08jr.cjs.map +1 -0
- package/dist/core/Chip-DoRSxZKk.js +195 -0
- package/dist/core/Chip-DoRSxZKk.js.map +1 -0
- package/dist/core/Chip.cjs.js +1 -1
- package/dist/core/Chip.js +1 -1
- package/dist/core/CircularProgress-CAlIuRfH.cjs +132 -0
- package/dist/core/CircularProgress-CAlIuRfH.cjs.map +1 -0
- package/dist/core/CircularProgress-DEZZm76L.js +133 -0
- package/dist/core/CircularProgress-DEZZm76L.js.map +1 -0
- package/dist/core/CircularProgress.cjs.js +1 -1
- package/dist/core/CircularProgress.js +1 -1
- package/dist/core/ColorPicker-BpJgDnaw.js +187 -0
- package/dist/core/ColorPicker-BpJgDnaw.js.map +1 -0
- package/dist/core/ColorPicker-j6djvLOC.cjs +186 -0
- package/dist/core/ColorPicker-j6djvLOC.cjs.map +1 -0
- package/dist/core/ColorPicker.cjs.js +1 -1
- package/dist/core/ColorPicker.js +1 -1
- package/dist/core/CommandPalette-0uVG4iR2.js +447 -0
- package/dist/core/CommandPalette-0uVG4iR2.js.map +1 -0
- package/dist/core/CommandPalette-BtpQ9cio.cjs +446 -0
- package/dist/core/CommandPalette-BtpQ9cio.cjs.map +1 -0
- package/dist/core/CommandPalette.cjs.js +1 -1
- package/dist/core/CommandPalette.js +1 -1
- package/dist/core/DataTable-CCPWihcW.cjs +313 -0
- package/dist/core/DataTable-CCPWihcW.cjs.map +1 -0
- package/dist/core/DataTable-FIxUWKG4.js +314 -0
- package/dist/core/DataTable-FIxUWKG4.js.map +1 -0
- package/dist/core/DataTable.cjs.js +1 -1
- package/dist/core/DataTable.js +1 -1
- package/dist/core/DateTimePicker-Ul1dl1A1.cjs +268 -0
- package/dist/core/DateTimePicker-Ul1dl1A1.cjs.map +1 -0
- package/dist/core/DateTimePicker-wO_P5Ab1.js +269 -0
- package/dist/core/DateTimePicker-wO_P5Ab1.js.map +1 -0
- package/dist/core/DateTimePicker.cjs.js +1 -1
- package/dist/core/DateTimePicker.js +1 -1
- package/dist/core/Divider-C34MwVBv.js +91 -0
- package/dist/core/Divider-C34MwVBv.js.map +1 -0
- package/dist/core/Divider-CgUoL8NV.cjs +90 -0
- package/dist/core/Divider-CgUoL8NV.cjs.map +1 -0
- package/dist/core/Divider.cjs.js +1 -1
- package/dist/core/Divider.js +1 -1
- package/dist/core/Dropdown-B7-_OH9p.cjs +366 -0
- package/dist/core/Dropdown-B7-_OH9p.cjs.map +1 -0
- package/dist/core/Dropdown-BEPGhf-i.js +367 -0
- package/dist/core/Dropdown-BEPGhf-i.js.map +1 -0
- package/dist/core/Dropdown.cjs.js +1 -1
- package/dist/core/Dropdown.js +1 -1
- package/dist/core/EmptyState-CM7nlKER.js +153 -0
- package/dist/core/EmptyState-CM7nlKER.js.map +1 -0
- package/dist/core/EmptyState-Du2xqi6G.cjs +152 -0
- package/dist/core/EmptyState-Du2xqi6G.cjs.map +1 -0
- package/dist/core/EmptyState.cjs.js +1 -1
- package/dist/core/EmptyState.js +1 -1
- package/dist/core/FileUpload-BR9-eENT.cjs +561 -0
- package/dist/core/FileUpload-BR9-eENT.cjs.map +1 -0
- package/dist/core/FileUpload-CPZetlXM.js +562 -0
- package/dist/core/FileUpload-CPZetlXM.js.map +1 -0
- package/dist/core/FileUpload.cjs.js +1 -1
- package/dist/core/FileUpload.js +1 -1
- package/dist/core/Footer-60sTURxB.cjs +272 -0
- package/dist/core/Footer-60sTURxB.cjs.map +1 -0
- package/dist/core/Footer-Q_60pe6o.js +273 -0
- package/dist/core/Footer-Q_60pe6o.js.map +1 -0
- package/dist/core/Footer.cjs.js +1 -1
- package/dist/core/Footer.js +1 -1
- package/dist/core/FormGroup-qqHKY5fP.js +179 -0
- package/dist/core/FormGroup-qqHKY5fP.js.map +1 -0
- package/dist/core/FormGroup-s3n6ZiDT.cjs +178 -0
- package/dist/core/FormGroup-s3n6ZiDT.cjs.map +1 -0
- package/dist/core/FormGroup.cjs.js +1 -1
- package/dist/core/FormGroup.js +1 -1
- package/dist/core/IconButton-By8zuXrs.js +189 -0
- package/dist/core/IconButton-By8zuXrs.js.map +1 -0
- package/dist/core/IconButton-C_ktew-6.cjs +188 -0
- package/dist/core/IconButton-C_ktew-6.cjs.map +1 -0
- package/dist/core/IconButton.cjs.js +1 -1
- package/dist/core/IconButton.js +1 -1
- package/dist/core/MarkdownRenderer-CBPB1PJt.cjs +131 -0
- package/dist/core/MarkdownRenderer-CBPB1PJt.cjs.map +1 -0
- package/dist/core/MarkdownRenderer-EbqPYLEM.js +132 -0
- package/dist/core/MarkdownRenderer-EbqPYLEM.js.map +1 -0
- package/dist/core/MarkdownRenderer.cjs.js +1 -1
- package/dist/core/MarkdownRenderer.js +1 -1
- package/dist/core/MessagePopup-D6ljI_rQ.js +255 -0
- package/dist/core/MessagePopup-D6ljI_rQ.js.map +1 -0
- package/dist/core/MessagePopup-DIfdILWZ.cjs +254 -0
- package/dist/core/MessagePopup-DIfdILWZ.cjs.map +1 -0
- package/dist/core/MessagePopup.cjs.js +1 -1
- package/dist/core/MessagePopup.js +1 -1
- package/dist/core/MetricBox-DTn2x1vz.js +154 -0
- package/dist/core/MetricBox-DTn2x1vz.js.map +1 -0
- package/dist/core/MetricBox-Dq8ZwEGV.cjs +153 -0
- package/dist/core/MetricBox-Dq8ZwEGV.cjs.map +1 -0
- package/dist/core/MetricBox.cjs.js +1 -1
- package/dist/core/MetricBox.js +1 -1
- package/dist/core/Modal-B9FXClBr.cjs +232 -0
- package/dist/core/Modal-B9FXClBr.cjs.map +1 -0
- package/dist/core/Modal-CW8jt0lU.js +233 -0
- package/dist/core/Modal-CW8jt0lU.js.map +1 -0
- package/dist/core/Modal.cjs.js +1 -1
- package/dist/core/Modal.js +1 -1
- package/dist/core/NavBar-DelYH3IR.js +159 -0
- package/dist/core/NavBar-DelYH3IR.js.map +1 -0
- package/dist/core/NavBar-Dq1f1NSn.cjs +158 -0
- package/dist/core/NavBar-Dq1f1NSn.cjs.map +1 -0
- package/dist/core/NavBar.cjs.js +1 -1
- package/dist/core/NavBar.js +1 -1
- package/dist/core/NotificationCenter-CsKJTZhk.cjs +420 -0
- package/dist/core/NotificationCenter-CsKJTZhk.cjs.map +1 -0
- package/dist/core/NotificationCenter-DA-WGPP9.js +421 -0
- package/dist/core/NotificationCenter-DA-WGPP9.js.map +1 -0
- package/dist/core/NotificationCenter.cjs.js +2 -4
- package/dist/core/NotificationCenter.cjs.js.map +1 -1
- package/dist/core/NotificationCenter.js +2 -3
- package/dist/core/Pager-B4hyIUdo.js +225 -0
- package/dist/core/Pager-B4hyIUdo.js.map +1 -0
- package/dist/core/Pager-wl7_umU4.cjs +224 -0
- package/dist/core/Pager-wl7_umU4.cjs.map +1 -0
- package/dist/core/Pager.cjs.js +1 -1
- package/dist/core/Pager.js +1 -1
- package/dist/core/PopOver-B87GGM3R.cjs +226 -0
- package/dist/core/PopOver-B87GGM3R.cjs.map +1 -0
- package/dist/core/PopOver-DCuqGQ_j.js +227 -0
- package/dist/core/PopOver-DCuqGQ_j.js.map +1 -0
- package/dist/core/PopOver.cjs.js +1 -1
- package/dist/core/PopOver.js +1 -1
- package/dist/core/ProgressBar-BxzX6yn1.js +146 -0
- package/dist/core/ProgressBar-BxzX6yn1.js.map +1 -0
- package/dist/core/ProgressBar-Cjw7Npjq.cjs +145 -0
- package/dist/core/ProgressBar-Cjw7Npjq.cjs.map +1 -0
- package/dist/core/ProgressBar.cjs.js +1 -1
- package/dist/core/ProgressBar.js +1 -1
- package/dist/core/RadioButton-BM0-FaUG.js +139 -0
- package/dist/core/RadioButton-BM0-FaUG.js.map +1 -0
- package/dist/core/RadioButton-QK6SCEbU.cjs +138 -0
- package/dist/core/RadioButton-QK6SCEbU.cjs.map +1 -0
- package/dist/core/RadioButton.cjs.js +1 -1
- package/dist/core/RadioButton.js +1 -1
- package/dist/core/Rating-C7xfIXYT.js +203 -0
- package/dist/core/Rating-C7xfIXYT.js.map +1 -0
- package/dist/core/Rating-CIo6DFh5.cjs +202 -0
- package/dist/core/Rating-CIo6DFh5.cjs.map +1 -0
- package/dist/core/Rating.cjs.js +1 -1
- package/dist/core/Rating.js +1 -1
- package/dist/core/ScrollToTop-BYyKPqix.js +136 -0
- package/dist/core/ScrollToTop-BYyKPqix.js.map +1 -0
- package/dist/core/ScrollToTop-CK74BkzY.cjs +135 -0
- package/dist/core/ScrollToTop-CK74BkzY.cjs.map +1 -0
- package/dist/core/ScrollToTop.cjs.js +1 -1
- package/dist/core/ScrollToTop.js +1 -1
- package/dist/core/Select-BXIz5BbU.js +229 -0
- package/dist/core/Select-BXIz5BbU.js.map +1 -0
- package/dist/core/Select-KiOrD0xY.cjs +228 -0
- package/dist/core/Select-KiOrD0xY.cjs.map +1 -0
- package/dist/core/Select.cjs.js +1 -1
- package/dist/core/Select.js +1 -1
- package/dist/core/Sidebar-Bi7elIRO.js +354 -0
- package/dist/core/Sidebar-Bi7elIRO.js.map +1 -0
- package/dist/core/Sidebar-DrEQ7PwW.cjs +353 -0
- package/dist/core/Sidebar-DrEQ7PwW.cjs.map +1 -0
- package/dist/core/Sidebar.cjs.js +1 -1
- package/dist/core/Sidebar.js +1 -1
- package/dist/core/Skeleton-BXeQBgX2.cjs +106 -0
- package/dist/core/Skeleton-BXeQBgX2.cjs.map +1 -0
- package/dist/core/Skeleton-C-L3OgVt.js +107 -0
- package/dist/core/Skeleton-C-L3OgVt.js.map +1 -0
- package/dist/core/Skeleton.cjs.js +1 -1
- package/dist/core/Skeleton.js +1 -1
- package/dist/core/Slider-CW11kjMv.js +165 -0
- package/dist/core/Slider-CW11kjMv.js.map +1 -0
- package/dist/core/Slider-Davbqf_v.cjs +164 -0
- package/dist/core/Slider-Davbqf_v.cjs.map +1 -0
- package/dist/core/Slider.cjs.js +1 -1
- package/dist/core/Slider.js +1 -1
- package/dist/core/Spinner-C0bxVDCy.js +114 -0
- package/dist/core/Spinner-C0bxVDCy.js.map +1 -0
- package/dist/core/Spinner-DvzolXTI.cjs +113 -0
- package/dist/core/Spinner-DvzolXTI.cjs.map +1 -0
- package/dist/core/Spinner.cjs.js +1 -1
- package/dist/core/Spinner.js +1 -1
- package/dist/core/Stepper-CLfy0_gZ.js +154 -0
- package/dist/core/Stepper-CLfy0_gZ.js.map +1 -0
- package/dist/core/Stepper-CQRJID19.cjs +153 -0
- package/dist/core/Stepper-CQRJID19.cjs.map +1 -0
- package/dist/core/Stepper.cjs.js +1 -1
- package/dist/core/Stepper.js +1 -1
- package/dist/core/Tabs-DBqWn9j9.js +236 -0
- package/dist/core/Tabs-DBqWn9j9.js.map +1 -0
- package/dist/core/Tabs-r1nyJCFz.cjs +235 -0
- package/dist/core/Tabs-r1nyJCFz.cjs.map +1 -0
- package/dist/core/Tabs.cjs.js +1 -1
- package/dist/core/Tabs.js +1 -1
- package/dist/core/TagInput-YieWARAt.js +337 -0
- package/dist/core/TagInput-YieWARAt.js.map +1 -0
- package/dist/core/TagInput-pWRdhaP3.cjs +336 -0
- package/dist/core/TagInput-pWRdhaP3.cjs.map +1 -0
- package/dist/core/TagInput.cjs.js +1 -1
- package/dist/core/TagInput.js +1 -1
- package/dist/core/TextArea-BKmmcXld.cjs +210 -0
- package/dist/core/TextArea-BKmmcXld.cjs.map +1 -0
- package/dist/core/TextArea-CLLK5k18.js +211 -0
- package/dist/core/TextArea-CLLK5k18.js.map +1 -0
- package/dist/core/TextArea.cjs.js +1 -1
- package/dist/core/TextArea.js +1 -1
- package/dist/core/TextInput-Bc2YpcvM.js +331 -0
- package/dist/core/TextInput-Bc2YpcvM.js.map +1 -0
- package/dist/core/TextInput-DbAsQxjr.cjs +330 -0
- package/dist/core/TextInput-DbAsQxjr.cjs.map +1 -0
- package/dist/core/TextInput.cjs.js +1 -1
- package/dist/core/TextInput.js +1 -1
- package/dist/core/ThemeContext-zE_shsx6.js +199 -0
- package/dist/core/ThemeContext-zE_shsx6.js.map +1 -0
- package/dist/core/ThemeProvider.js +3 -3
- package/dist/core/Timeline-5mzFplzB.js +194 -0
- package/dist/core/Timeline-5mzFplzB.js.map +1 -0
- package/dist/core/Timeline-CfTmjEVS.cjs +193 -0
- package/dist/core/Timeline-CfTmjEVS.cjs.map +1 -0
- package/dist/core/Timeline.cjs.js +1 -1
- package/dist/core/Timeline.js +1 -1
- package/dist/core/Toggle-BRUwXOhV.cjs +159 -0
- package/dist/core/Toggle-BRUwXOhV.cjs.map +1 -0
- package/dist/core/Toggle-DCK1KtP5.js +160 -0
- package/dist/core/Toggle-DCK1KtP5.js.map +1 -0
- package/dist/core/Toggle.cjs.js +1 -1
- package/dist/core/Toggle.js +1 -1
- package/dist/core/Toolbar-CxJxebIJ.cjs +149 -0
- package/dist/core/Toolbar-CxJxebIJ.cjs.map +1 -0
- package/dist/core/Toolbar-DLgQqPBh.js +150 -0
- package/dist/core/Toolbar-DLgQqPBh.js.map +1 -0
- package/dist/core/Toolbar.cjs.js +1 -1
- package/dist/core/Toolbar.js +1 -1
- package/dist/core/Tooltip-Dua_3tqJ.js +170 -0
- package/dist/core/Tooltip-Dua_3tqJ.js.map +1 -0
- package/dist/core/Tooltip-_e_4s6pE.cjs +169 -0
- package/dist/core/Tooltip-_e_4s6pE.cjs.map +1 -0
- package/dist/core/Tooltip.cjs.js +1 -1
- package/dist/core/Tooltip.js +1 -1
- package/dist/core/Typography-D0hPzK5Y.js +194 -0
- package/dist/core/Typography-D0hPzK5Y.js.map +1 -0
- package/dist/core/Typography-DdTiWRgQ.cjs +193 -0
- package/dist/core/Typography-DdTiWRgQ.cjs.map +1 -0
- package/dist/core/Typography.cjs.js +1 -1
- package/dist/core/Typography.js +1 -1
- package/dist/core/boreal-ui.css +41 -3
- package/dist/core/index.cjs.js +8059 -47
- package/dist/core/index.cjs.js.map +1 -1
- package/dist/core/index.js +8063 -51
- package/dist/core/index.js.map +1 -1
- package/dist/next/Accordion-BEa1jxTt.cjs +310 -0
- package/dist/next/Accordion-BEa1jxTt.cjs.map +1 -0
- package/dist/next/Accordion-Bg8V6T38.js +311 -0
- package/dist/next/Accordion-Bg8V6T38.js.map +1 -0
- package/dist/next/Accordion.cjs.js +1 -1
- package/dist/next/Accordion.js +1 -1
- package/dist/next/Avatar-DL_juTQA.cjs +340 -0
- package/dist/next/Avatar-DL_juTQA.cjs.map +1 -0
- package/dist/next/Avatar-nnjhILk-.js +341 -0
- package/dist/next/Avatar-nnjhILk-.js.map +1 -0
- package/dist/next/Avatar.cjs.js +1 -1
- package/dist/next/Avatar.js +1 -1
- package/dist/next/Badge-DzcjI-JI.cjs +211 -0
- package/dist/next/Badge-DzcjI-JI.cjs.map +1 -0
- package/dist/next/Badge-uyqxj7ag.js +212 -0
- package/dist/next/Badge-uyqxj7ag.js.map +1 -0
- package/dist/next/Badge.cjs.js +1 -1
- package/dist/next/Badge.js +1 -1
- package/dist/next/Breadcrumbs-CuvOmgFe.cjs +255 -0
- package/dist/next/Breadcrumbs-CuvOmgFe.cjs.map +1 -0
- package/dist/next/Breadcrumbs-D0AmJB4U.js +256 -0
- package/dist/next/Breadcrumbs-D0AmJB4U.js.map +1 -0
- package/dist/next/Breadcrumbs.cjs.js +2 -4
- package/dist/next/Breadcrumbs.cjs.js.map +1 -1
- package/dist/next/Breadcrumbs.js +1 -2
- package/dist/next/Button-BZmph-Qr.cjs +269 -0
- package/dist/next/Button-BZmph-Qr.cjs.map +1 -0
- package/dist/next/Button-DWpImTmr.js +270 -0
- package/dist/next/Button-DWpImTmr.js.map +1 -0
- package/dist/next/Button.cjs.js +1 -1
- package/dist/next/Button.js +1 -1
- package/dist/next/Card-DnZOsQLP.js +459 -0
- package/dist/next/Card-DnZOsQLP.js.map +1 -0
- package/dist/next/Card-oPTXIvsb.cjs +458 -0
- package/dist/next/Card-oPTXIvsb.cjs.map +1 -0
- package/dist/next/Card.cjs.js +1 -1
- package/dist/next/Card.js +1 -1
- package/dist/next/CheckBox.cjs.js +1 -1
- package/dist/next/CheckBox.js +1 -1
- package/dist/next/Checkbox-CRg5oEdB.js +243 -0
- package/dist/next/Checkbox-CRg5oEdB.js.map +1 -0
- package/dist/next/Checkbox-DXNxt-4b.cjs +242 -0
- package/dist/next/Checkbox-DXNxt-4b.cjs.map +1 -0
- package/dist/next/Chip-Cg7khsSn.js +251 -0
- package/dist/next/Chip-Cg7khsSn.js.map +1 -0
- package/dist/next/Chip-DpMTNARP.cjs +250 -0
- package/dist/next/Chip-DpMTNARP.cjs.map +1 -0
- package/dist/next/Chip.cjs.js +1 -1
- package/dist/next/Chip.js +1 -1
- package/dist/next/CircularProgress-CzFUYDX1.cjs +175 -0
- package/dist/next/CircularProgress-CzFUYDX1.cjs.map +1 -0
- package/dist/next/CircularProgress-Dn1VXFsq.js +176 -0
- package/dist/next/CircularProgress-Dn1VXFsq.js.map +1 -0
- package/dist/next/CircularProgress.cjs.js +1 -1
- package/dist/next/CircularProgress.js +1 -1
- package/dist/next/ColorPicker-ByPKPsMz.cjs +232 -0
- package/dist/next/ColorPicker-ByPKPsMz.cjs.map +1 -0
- package/dist/next/ColorPicker-CCzSZDjx.js +233 -0
- package/dist/next/ColorPicker-CCzSZDjx.js.map +1 -0
- package/dist/next/ColorPicker.cjs.js +1 -1
- package/dist/next/ColorPicker.js +1 -1
- package/dist/next/CommandPalette-BvjlLE14.cjs +495 -0
- package/dist/next/CommandPalette-BvjlLE14.cjs.map +1 -0
- package/dist/next/CommandPalette-D6R9_gmo.js +496 -0
- package/dist/next/CommandPalette-D6R9_gmo.js.map +1 -0
- package/dist/next/CommandPalette.cjs.js +1 -1
- package/dist/next/CommandPalette.js +1 -1
- package/dist/next/DataTable-Bt6D__oo.cjs +359 -0
- package/dist/next/DataTable-Bt6D__oo.cjs.map +1 -0
- package/dist/next/DataTable-CZj_U9rg.js +360 -0
- package/dist/next/DataTable-CZj_U9rg.js.map +1 -0
- package/dist/next/DataTable.cjs.js +1 -1
- package/dist/next/DataTable.js +1 -1
- package/dist/next/DateTimePicker-Cols3qxt.cjs +322 -0
- package/dist/next/DateTimePicker-Cols3qxt.cjs.map +1 -0
- package/dist/next/DateTimePicker-DB2exnHd.js +323 -0
- package/dist/next/DateTimePicker-DB2exnHd.js.map +1 -0
- package/dist/next/DateTimePicker.cjs.js +1 -1
- package/dist/next/DateTimePicker.js +1 -1
- package/dist/next/Divider-DXGze_D2.js +126 -0
- package/dist/next/Divider-DXGze_D2.js.map +1 -0
- package/dist/next/Divider-Dr0xlon0.cjs +125 -0
- package/dist/next/Divider-Dr0xlon0.cjs.map +1 -0
- package/dist/next/Divider.cjs.js +1 -1
- package/dist/next/Divider.js +1 -1
- package/dist/next/Dropdown-B7PgWHlY.js +390 -0
- package/dist/next/Dropdown-B7PgWHlY.js.map +1 -0
- package/dist/next/Dropdown-kQLhr7_M.cjs +389 -0
- package/dist/next/Dropdown-kQLhr7_M.cjs.map +1 -0
- package/dist/next/Dropdown.cjs.js +1 -1
- package/dist/next/Dropdown.js +1 -1
- package/dist/next/EmptyState-BH1X81TH.cjs +182 -0
- package/dist/next/EmptyState-BH1X81TH.cjs.map +1 -0
- package/dist/next/EmptyState-DCCDQWOQ.js +183 -0
- package/dist/next/EmptyState-DCCDQWOQ.js.map +1 -0
- package/dist/next/EmptyState.cjs.js +1 -1
- package/dist/next/EmptyState.js +1 -1
- package/dist/next/FileUpload-BQW5ol7P.js +620 -0
- package/dist/next/FileUpload-BQW5ol7P.js.map +1 -0
- package/dist/next/FileUpload-C9Ke2cTs.cjs +619 -0
- package/dist/next/FileUpload-C9Ke2cTs.cjs.map +1 -0
- package/dist/next/FileUpload.cjs.js +1 -1
- package/dist/next/FileUpload.js +1 -1
- package/dist/next/Footer-Dl_wQwsb.js +325 -0
- package/dist/next/Footer-Dl_wQwsb.js.map +1 -0
- package/dist/next/Footer-i9rgxATK.cjs +324 -0
- package/dist/next/Footer-i9rgxATK.cjs.map +1 -0
- package/dist/next/Footer.cjs.js +1 -1
- package/dist/next/Footer.js +1 -1
- package/dist/next/FormGroup-AHYiWnkX.js +209 -0
- package/dist/next/FormGroup-AHYiWnkX.js.map +1 -0
- package/dist/next/FormGroup-B4Xb3X61.cjs +208 -0
- package/dist/next/FormGroup-B4Xb3X61.cjs.map +1 -0
- package/dist/next/FormGroup.cjs.js +1 -1
- package/dist/next/FormGroup.js +1 -1
- package/dist/next/IconButton-4ySBEhn1.cjs +217 -0
- package/dist/next/IconButton-4ySBEhn1.cjs.map +1 -0
- package/dist/next/IconButton-BWw3WPaS.js +218 -0
- package/dist/next/IconButton-BWw3WPaS.js.map +1 -0
- package/dist/next/IconButton.cjs.js +1 -1
- package/dist/next/IconButton.js +1 -1
- package/dist/next/MarkdownRenderer-CGnuIkVY.js +143 -0
- package/dist/next/MarkdownRenderer-CGnuIkVY.js.map +1 -0
- package/dist/next/MarkdownRenderer-CO_rlPOB.cjs +142 -0
- package/dist/next/MarkdownRenderer-CO_rlPOB.cjs.map +1 -0
- package/dist/next/MarkdownRenderer.cjs.js +1 -1
- package/dist/next/MarkdownRenderer.js +1 -1
- package/dist/next/MessagePopup-DIrdAeyg.js +275 -0
- package/dist/next/MessagePopup-DIrdAeyg.js.map +1 -0
- package/dist/next/MessagePopup-D_gZy6eH.cjs +274 -0
- package/dist/next/MessagePopup-D_gZy6eH.cjs.map +1 -0
- package/dist/next/MessagePopup.cjs.js +1 -1
- package/dist/next/MessagePopup.js +1 -1
- package/dist/next/MetricBox-CeONzyEu.cjs +206 -0
- package/dist/next/MetricBox-CeONzyEu.cjs.map +1 -0
- package/dist/next/MetricBox-D9-RmZoy.js +207 -0
- package/dist/next/MetricBox-D9-RmZoy.js.map +1 -0
- package/dist/next/MetricBox.cjs.js +1 -1
- package/dist/next/MetricBox.js +1 -1
- package/dist/next/Modal-D7hNuMII.cjs +258 -0
- package/dist/next/Modal-D7hNuMII.cjs.map +1 -0
- package/dist/next/Modal-Dre8TMtr.js +259 -0
- package/dist/next/Modal-Dre8TMtr.js.map +1 -0
- package/dist/next/Modal.cjs.js +1 -1
- package/dist/next/Modal.js +1 -1
- package/dist/next/NavBar-d-Hx7gkg.cjs +201 -0
- package/dist/next/NavBar-d-Hx7gkg.cjs.map +1 -0
- package/dist/next/NavBar-dpbPYT0w.js +202 -0
- package/dist/next/NavBar-dpbPYT0w.js.map +1 -0
- package/dist/next/NavBar.cjs.js +1 -1
- package/dist/next/NavBar.js +1 -1
- package/dist/next/NotificationCenter-BrAzv2oD.js +469 -0
- package/dist/next/NotificationCenter-BrAzv2oD.js.map +1 -0
- package/dist/next/NotificationCenter-JIX-pouI.cjs +468 -0
- package/dist/next/NotificationCenter-JIX-pouI.cjs.map +1 -0
- package/dist/next/NotificationCenter.cjs.js +2 -4
- package/dist/next/NotificationCenter.cjs.js.map +1 -1
- package/dist/next/NotificationCenter.js +2 -3
- package/dist/next/Pager-DFKfUn1s.js +227 -0
- package/dist/next/Pager-DFKfUn1s.js.map +1 -0
- package/dist/next/Pager-DcibmVu1.cjs +226 -0
- package/dist/next/Pager-DcibmVu1.cjs.map +1 -0
- package/dist/next/Pager.cjs.js +1 -1
- package/dist/next/Pager.js +1 -1
- package/dist/next/PopOver-CUON_Abe.js +274 -0
- package/dist/next/PopOver-CUON_Abe.js.map +1 -0
- package/dist/next/PopOver-CpSdILYS.cjs +273 -0
- package/dist/next/PopOver-CpSdILYS.cjs.map +1 -0
- package/dist/next/PopOver.cjs.js +1 -1
- package/dist/next/PopOver.js +1 -1
- package/dist/next/ProgressBar-CMYDs8uL.js +199 -0
- package/dist/next/ProgressBar-CMYDs8uL.js.map +1 -0
- package/dist/next/ProgressBar-sg1jxDfy.cjs +198 -0
- package/dist/next/ProgressBar-sg1jxDfy.cjs.map +1 -0
- package/dist/next/ProgressBar.cjs.js +1 -1
- package/dist/next/ProgressBar.js +1 -1
- package/dist/next/RadioButton-X5L9U53Y.cjs +183 -0
- package/dist/next/RadioButton-X5L9U53Y.cjs.map +1 -0
- package/dist/next/RadioButton-z26U6POV.js +184 -0
- package/dist/next/RadioButton-z26U6POV.js.map +1 -0
- package/dist/next/RadioButton.cjs.js +1 -1
- package/dist/next/RadioButton.js +1 -1
- package/dist/next/Rating-D6JEDvn4.js +234 -0
- package/dist/next/Rating-D6JEDvn4.js.map +1 -0
- package/dist/next/Rating-DXYBYXmx.cjs +233 -0
- package/dist/next/Rating-DXYBYXmx.cjs.map +1 -0
- package/dist/next/Rating.cjs.js +1 -1
- package/dist/next/Rating.js +1 -1
- package/dist/next/ScrollToTop-CBRFQNC0.cjs +149 -0
- package/dist/next/ScrollToTop-CBRFQNC0.cjs.map +1 -0
- package/dist/next/ScrollToTop-Cw7LXubo.js +150 -0
- package/dist/next/ScrollToTop-Cw7LXubo.js.map +1 -0
- package/dist/next/ScrollToTop.cjs.js +1 -1
- package/dist/next/ScrollToTop.js +1 -1
- package/dist/next/Select-DAD4xA1b.cjs +258 -0
- package/dist/next/Select-DAD4xA1b.cjs.map +1 -0
- package/dist/next/Select-b8fO1q2K.js +259 -0
- package/dist/next/Select-b8fO1q2K.js.map +1 -0
- package/dist/next/Select.cjs.js +1 -1
- package/dist/next/Select.js +1 -1
- package/dist/next/Sidebar-BwW51HwF.js +392 -0
- package/dist/next/Sidebar-BwW51HwF.js.map +1 -0
- package/dist/next/Sidebar-U5BQKtKR.cjs +391 -0
- package/dist/next/Sidebar-U5BQKtKR.cjs.map +1 -0
- package/dist/next/Sidebar.cjs.js +1 -1
- package/dist/next/Sidebar.js +1 -1
- package/dist/next/Skeleton-Bk8l48-D.js +141 -0
- package/dist/next/Skeleton-Bk8l48-D.js.map +1 -0
- package/dist/next/Skeleton-N1-8bK7i.cjs +140 -0
- package/dist/next/Skeleton-N1-8bK7i.cjs.map +1 -0
- package/dist/next/Skeleton.cjs.js +1 -1
- package/dist/next/Skeleton.js +1 -1
- package/dist/next/Slider-BPtajU2m.cjs +207 -0
- package/dist/next/Slider-BPtajU2m.cjs.map +1 -0
- package/dist/next/Slider-DOGkUQYT.js +208 -0
- package/dist/next/Slider-DOGkUQYT.js.map +1 -0
- package/dist/next/Slider.cjs.js +1 -1
- package/dist/next/Slider.js +1 -1
- package/dist/next/Spinner-CmaoTjNr.cjs +161 -0
- package/dist/next/Spinner-CmaoTjNr.cjs.map +1 -0
- package/dist/next/Spinner-D7jfVZGm.js +162 -0
- package/dist/next/Spinner-D7jfVZGm.js.map +1 -0
- package/dist/next/Spinner.cjs.js +1 -1
- package/dist/next/Spinner.js +1 -1
- package/dist/next/Stepper-C0cNzpY8.cjs +198 -0
- package/dist/next/Stepper-C0cNzpY8.cjs.map +1 -0
- package/dist/next/Stepper-CSh2wccK.js +199 -0
- package/dist/next/Stepper-CSh2wccK.js.map +1 -0
- package/dist/next/Stepper.cjs.js +1 -1
- package/dist/next/Stepper.js +1 -1
- package/dist/next/Tabs-B6zeG5AB.cjs +264 -0
- package/dist/next/Tabs-B6zeG5AB.cjs.map +1 -0
- package/dist/next/Tabs-Dors0bVs.js +265 -0
- package/dist/next/Tabs-Dors0bVs.js.map +1 -0
- package/dist/next/Tabs.cjs.js +1 -1
- package/dist/next/Tabs.js +1 -1
- package/dist/next/TagInput-V3zvXcNq.js +389 -0
- package/dist/next/TagInput-V3zvXcNq.js.map +1 -0
- package/dist/next/TagInput-ceV9Jjqe.cjs +388 -0
- package/dist/next/TagInput-ceV9Jjqe.cjs.map +1 -0
- package/dist/next/TagInput.cjs.js +1 -1
- package/dist/next/TagInput.js +1 -1
- package/dist/next/TextArea-BSO1_gaS.js +240 -0
- package/dist/next/TextArea-BSO1_gaS.js.map +1 -0
- package/dist/next/TextArea-BXmbrq4-.cjs +239 -0
- package/dist/next/TextArea-BXmbrq4-.cjs.map +1 -0
- package/dist/next/TextArea.cjs.js +1 -1
- package/dist/next/TextArea.js +1 -1
- package/dist/next/TextInput-7nN8g78V.cjs +344 -0
- package/dist/next/TextInput-7nN8g78V.cjs.map +1 -0
- package/dist/next/TextInput-yUHEWbdK.js +345 -0
- package/dist/next/TextInput-yUHEWbdK.js.map +1 -0
- package/dist/next/TextInput.cjs.js +1 -1
- package/dist/next/TextInput.js +1 -1
- package/dist/next/ThemeContext-zE_shsx6.js +199 -0
- package/dist/next/ThemeContext-zE_shsx6.js.map +1 -0
- package/dist/next/ThemeProvider.js +3 -3
- package/dist/next/Timeline-BTsKMULd.js +223 -0
- package/dist/next/Timeline-BTsKMULd.js.map +1 -0
- package/dist/next/Timeline-Dep_oZrh.cjs +222 -0
- package/dist/next/Timeline-Dep_oZrh.cjs.map +1 -0
- package/dist/next/Timeline.cjs.js +1 -1
- package/dist/next/Timeline.js +1 -1
- package/dist/next/Toggle-BomUbOZa.js +190 -0
- package/dist/next/Toggle-BomUbOZa.js.map +1 -0
- package/dist/next/Toggle-C9uZG3i5.cjs +189 -0
- package/dist/next/Toggle-C9uZG3i5.cjs.map +1 -0
- package/dist/next/Toggle.cjs.js +1 -1
- package/dist/next/Toggle.js +1 -1
- package/dist/next/Toolbar-Be-YQqmX.js +191 -0
- package/dist/next/Toolbar-Be-YQqmX.js.map +1 -0
- package/dist/next/Toolbar-roQbIEcD.cjs +190 -0
- package/dist/next/Toolbar-roQbIEcD.cjs.map +1 -0
- package/dist/next/Toolbar.cjs.js +1 -1
- package/dist/next/Toolbar.js +1 -1
- package/dist/next/Tooltip-DVI61ebD.cjs +214 -0
- package/dist/next/Tooltip-DVI61ebD.cjs.map +1 -0
- package/dist/next/Tooltip-lxpnIfpO.js +215 -0
- package/dist/next/Tooltip-lxpnIfpO.js.map +1 -0
- package/dist/next/Tooltip.cjs.js +1 -1
- package/dist/next/Tooltip.js +1 -1
- package/dist/next/Typography-B6VNZtxH.cjs +231 -0
- package/dist/next/Typography-B6VNZtxH.cjs.map +1 -0
- package/dist/next/Typography-BdS7h4Eq.js +232 -0
- package/dist/next/Typography-BdS7h4Eq.js.map +1 -0
- package/dist/next/Typography.cjs.js +1 -1
- package/dist/next/Typography.js +1 -1
- package/dist/next/boreal-ui.css +308 -291
- package/dist/next/image-CvorlI3C.js +2893 -0
- package/dist/next/image-CvorlI3C.js.map +1 -0
- package/dist/next/image-DuTgdWOV.cjs +2892 -0
- package/dist/next/image-DuTgdWOV.cjs.map +1 -0
- package/dist/next/index.cjs.js +8059 -47
- package/dist/next/index.cjs.js.map +1 -1
- package/dist/next/index.js +8063 -51
- package/dist/next/index.js.map +1 -1
- package/dist/next/link-4NcriBFB.js +4098 -0
- package/dist/next/link-4NcriBFB.js.map +1 -0
- package/dist/next/link-CenftYXJ.cjs +4097 -0
- package/dist/next/link-CenftYXJ.cjs.map +1 -0
- package/dist/next/navigation-BCeRD3ib.js +4443 -0
- package/dist/next/navigation-BCeRD3ib.js.map +1 -0
- package/dist/next/navigation-DtjMH66C.cjs +4442 -0
- package/dist/next/navigation-DtjMH66C.cjs.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/components/Accordion/Accordion.types.d.ts +53 -13
- package/dist/types/components/Accordion/Accordion.types.d.ts.map +1 -1
- package/dist/types/components/Accordion/AccordionBase.d.ts.map +1 -1
- package/dist/types/components/Avatar/Avatar.types.d.ts +44 -21
- package/dist/types/components/Avatar/Avatar.types.d.ts.map +1 -1
- package/dist/types/components/Avatar/AvatarBase.d.ts.map +1 -1
- package/dist/types/components/Badge/Badge.types.d.ts +44 -13
- package/dist/types/components/Badge/Badge.types.d.ts.map +1 -1
- package/dist/types/components/Badge/BadgeBase.d.ts.map +1 -1
- package/dist/types/components/Breadcrumbs/Breadcrumbs.types.d.ts +29 -9
- package/dist/types/components/Breadcrumbs/Breadcrumbs.types.d.ts.map +1 -1
- package/dist/types/components/Breadcrumbs/BreadcrumbsBase.d.ts.map +1 -1
- package/dist/types/components/Button/Button.types.d.ts +63 -5
- package/dist/types/components/Button/Button.types.d.ts.map +1 -1
- package/dist/types/components/Button/ButtonBase.d.ts.map +1 -1
- package/dist/types/components/Card/Card.types.d.ts +62 -13
- package/dist/types/components/Card/Card.types.d.ts.map +1 -1
- package/dist/types/components/Card/CardBase.d.ts.map +1 -1
- package/dist/types/components/Checkbox/Checkbox.types.d.ts +42 -3
- package/dist/types/components/Checkbox/Checkbox.types.d.ts.map +1 -1
- package/dist/types/components/Checkbox/CheckboxBase.d.ts.map +1 -1
- package/dist/types/components/Checkbox/core/Checkbox.d.ts.map +1 -1
- package/dist/types/components/Chip/Chip.types.d.ts +33 -5
- package/dist/types/components/Chip/Chip.types.d.ts.map +1 -1
- package/dist/types/components/Chip/ChipBase.d.ts.map +1 -1
- package/dist/types/components/CircularProgress/CircularProgress.types.d.ts +38 -6
- package/dist/types/components/CircularProgress/CircularProgress.types.d.ts.map +1 -1
- package/dist/types/components/CircularProgress/CircularProgressBase.d.ts.map +1 -1
- package/dist/types/components/ColorPicker/ColorPicker.types.d.ts +35 -2
- package/dist/types/components/ColorPicker/ColorPicker.types.d.ts.map +1 -1
- package/dist/types/components/ColorPicker/ColorPickerBase.d.ts.map +1 -1
- package/dist/types/components/CommandPalette/CommandPalette.types.d.ts +38 -2
- package/dist/types/components/CommandPalette/CommandPalette.types.d.ts.map +1 -1
- package/dist/types/components/CommandPalette/CommandPaletteBase.d.ts +1 -5
- package/dist/types/components/CommandPalette/CommandPaletteBase.d.ts.map +1 -1
- package/dist/types/components/DataTable/DataTable.types.d.ts +84 -1
- package/dist/types/components/DataTable/DataTable.types.d.ts.map +1 -1
- package/dist/types/components/DataTable/DataTableBase.d.ts +1 -1
- package/dist/types/components/DataTable/DataTableBase.d.ts.map +1 -1
- package/dist/types/components/DataTable/core/DataTable.d.ts.map +1 -1
- package/dist/types/components/DateTimePicker/DateTimePicker.types.d.ts +42 -2
- package/dist/types/components/DateTimePicker/DateTimePicker.types.d.ts.map +1 -1
- package/dist/types/components/DateTimePicker/DateTimePickerBase.d.ts.map +1 -1
- package/dist/types/components/Divider/Divider.types.d.ts +19 -1
- package/dist/types/components/Divider/Divider.types.d.ts.map +1 -1
- package/dist/types/components/Divider/DividerBase.d.ts.map +1 -1
- package/dist/types/components/Dropdown/Dropdown.types.d.ts +93 -7
- package/dist/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
- package/dist/types/components/Dropdown/DropdownBase.d.ts.map +1 -1
- package/dist/types/components/EmptyState/EmptyState.types.d.ts +45 -7
- package/dist/types/components/EmptyState/EmptyState.types.d.ts.map +1 -1
- package/dist/types/components/EmptyState/EmptyStateBase.d.ts.map +1 -1
- package/dist/types/components/FileUpload/FileUpload.types.d.ts +52 -4
- package/dist/types/components/FileUpload/FileUpload.types.d.ts.map +1 -1
- package/dist/types/components/FileUpload/FileUploadBase.d.ts.map +1 -1
- package/dist/types/components/Footer/Footer.types.d.ts +101 -7
- package/dist/types/components/Footer/Footer.types.d.ts.map +1 -1
- package/dist/types/components/Footer/FooterBase.d.ts.map +1 -1
- package/dist/types/components/FormGroup/FormGroup.types.d.ts +42 -4
- package/dist/types/components/FormGroup/FormGroup.types.d.ts.map +1 -1
- package/dist/types/components/FormGroup/FormGroupBase.d.ts.map +1 -1
- package/dist/types/components/IconButton/IconButton.types.d.ts +41 -2
- package/dist/types/components/IconButton/IconButton.types.d.ts.map +1 -1
- package/dist/types/components/IconButton/IconButtonBase.d.ts.map +1 -1
- package/dist/types/components/MarkdownRenderer/MarkdownRenderer.types.d.ts +27 -1
- package/dist/types/components/MarkdownRenderer/MarkdownRenderer.types.d.ts.map +1 -1
- package/dist/types/components/MarkdownRenderer/MarkdownRendererBase.d.ts.map +1 -1
- package/dist/types/components/MessagePopup/MessagePopup.types.d.ts +30 -0
- package/dist/types/components/MessagePopup/MessagePopup.types.d.ts.map +1 -1
- package/dist/types/components/MessagePopup/MessagePopupBase.d.ts.map +1 -1
- package/dist/types/components/MetricBox/MetricBox.types.d.ts +38 -0
- package/dist/types/components/MetricBox/MetricBox.types.d.ts.map +1 -1
- package/dist/types/components/MetricBox/MetricBoxBase.d.ts.map +1 -1
- package/dist/types/components/Modal/Modal.types.d.ts +21 -0
- package/dist/types/components/Modal/Modal.types.d.ts.map +1 -1
- package/dist/types/components/Modal/ModalBase.d.ts.map +1 -1
- package/dist/types/components/NavBar/NavBar.types.d.ts +25 -0
- package/dist/types/components/NavBar/NavBar.types.d.ts.map +1 -1
- package/dist/types/components/NavBar/NavBarBase.d.ts.map +1 -1
- package/dist/types/components/NotificationCenter/NotificationCenter.constants.d.ts +7 -0
- package/dist/types/components/NotificationCenter/NotificationCenter.constants.d.ts.map +1 -0
- package/dist/types/components/NotificationCenter/NotificationCenter.types.d.ts +24 -5
- package/dist/types/components/NotificationCenter/NotificationCenter.types.d.ts.map +1 -1
- package/dist/types/components/NotificationCenter/NotificationCenterBase.d.ts.map +1 -1
- package/dist/types/components/Pager/Pager.types.d.ts +18 -0
- package/dist/types/components/Pager/Pager.types.d.ts.map +1 -1
- package/dist/types/components/Pager/PagerBase.d.ts.map +1 -1
- package/dist/types/components/PopOver/PopOver.types.d.ts +23 -0
- package/dist/types/components/PopOver/PopOver.types.d.ts.map +1 -1
- package/dist/types/components/PopOver/PopOverBase.d.ts.map +1 -1
- package/dist/types/components/ProgressBar/ProgressBar.types.d.ts +32 -1
- package/dist/types/components/ProgressBar/ProgressBar.types.d.ts.map +1 -1
- package/dist/types/components/ProgressBar/ProgressBarBase.d.ts.map +1 -1
- package/dist/types/components/RadioButton/RadioButton.types.d.ts +21 -0
- package/dist/types/components/RadioButton/RadioButton.types.d.ts.map +1 -1
- package/dist/types/components/RadioButton/RadioButtonBase.d.ts.map +1 -1
- package/dist/types/components/Rating/Rating.types.d.ts +31 -1
- package/dist/types/components/Rating/Rating.types.d.ts.map +1 -1
- package/dist/types/components/Rating/RatingBase.d.ts.map +1 -1
- package/dist/types/components/ScrollToTop/ScrollToTop.types.d.ts +30 -2
- package/dist/types/components/ScrollToTop/ScrollToTop.types.d.ts.map +1 -1
- package/dist/types/components/ScrollToTop/ScrollToTopBase.d.ts.map +1 -1
- package/dist/types/components/Select/Select.types.d.ts +92 -16
- package/dist/types/components/Select/Select.types.d.ts.map +1 -1
- package/dist/types/components/Select/SelectBase.d.ts.map +1 -1
- package/dist/types/components/Sidebar/Sidebar.types.d.ts +57 -3
- package/dist/types/components/Sidebar/Sidebar.types.d.ts.map +1 -1
- package/dist/types/components/Sidebar/SidebarBase.d.ts.map +1 -1
- package/dist/types/components/Skeleton/Skeleton.types.d.ts +33 -2
- package/dist/types/components/Skeleton/Skeleton.types.d.ts.map +1 -1
- package/dist/types/components/Skeleton/SkeletonBase.d.ts.map +1 -1
- package/dist/types/components/Slider/Slider.types.d.ts +26 -1
- package/dist/types/components/Slider/Slider.types.d.ts.map +1 -1
- package/dist/types/components/Slider/SliderBase.d.ts.map +1 -1
- package/dist/types/components/Spinner/Spinner.types.d.ts +31 -1
- package/dist/types/components/Spinner/Spinner.types.d.ts.map +1 -1
- package/dist/types/components/Spinner/SpinnerBase.d.ts.map +1 -1
- package/dist/types/components/Stepper/Stepper.types.d.ts +24 -0
- package/dist/types/components/Stepper/Stepper.types.d.ts.map +1 -1
- package/dist/types/components/Stepper/StepperBase.d.ts.map +1 -1
- package/dist/types/components/Tabs/Tabs.types.d.ts +24 -4
- package/dist/types/components/Tabs/Tabs.types.d.ts.map +1 -1
- package/dist/types/components/Tabs/TabsBase.d.ts.map +1 -1
- package/dist/types/components/TagInput/TagInput.types.d.ts +50 -4
- package/dist/types/components/TagInput/TagInput.types.d.ts.map +1 -1
- package/dist/types/components/TagInput/TagInputBase.d.ts.map +1 -1
- package/dist/types/components/TextArea/TextArea.types.d.ts +33 -19
- package/dist/types/components/TextArea/TextArea.types.d.ts.map +1 -1
- package/dist/types/components/TextArea/TextAreaBase.d.ts.map +1 -1
- package/dist/types/components/TextInput/TextInput.types.d.ts +77 -19
- package/dist/types/components/TextInput/TextInput.types.d.ts.map +1 -1
- package/dist/types/components/TextInput/TextInputBase.d.ts.map +1 -1
- package/dist/types/components/Timeline/Timeline.types.d.ts +21 -5
- package/dist/types/components/Timeline/Timeline.types.d.ts.map +1 -1
- package/dist/types/components/Timeline/TimelineBase.d.ts.map +1 -1
- package/dist/types/components/Toggle/Toggle.types.d.ts +37 -0
- package/dist/types/components/Toggle/Toggle.types.d.ts.map +1 -1
- package/dist/types/components/Toggle/ToggleBase.d.ts.map +1 -1
- package/dist/types/components/Toolbar/Toolbar.types.d.ts +40 -7
- package/dist/types/components/Toolbar/Toolbar.types.d.ts.map +1 -1
- package/dist/types/components/Toolbar/ToolbarBase.d.ts.map +1 -1
- package/dist/types/components/Tooltip/Tooltip.types.d.ts +50 -1
- package/dist/types/components/Tooltip/Tooltip.types.d.ts.map +1 -1
- package/dist/types/components/Tooltip/TooltipBase.d.ts.map +1 -1
- package/dist/types/components/Typography/Typography.types.d.ts +11 -3
- package/dist/types/components/Typography/Typography.types.d.ts.map +1 -1
- package/dist/types/components/Typography/TypographyBase.d.ts +1 -1
- package/dist/types/components/Typography/TypographyBase.d.ts.map +1 -1
- package/dist/types/components/Typography/core/Typography.d.ts +1 -2
- package/dist/types/components/Typography/core/Typography.d.ts.map +1 -1
- package/dist/types/components/Typography/next/Typography.d.ts +1 -2
- package/dist/types/components/Typography/next/Typography.d.ts.map +1 -1
- package/dist/types/generated-docs/Accordion.props.d.ts +7 -0
- package/dist/types/generated-docs/Accordion.props.d.ts.map +1 -0
- package/dist/types/generated-docs/Avatar.props.d.ts +7 -0
- package/dist/types/generated-docs/Avatar.props.d.ts.map +1 -0
- package/dist/types/generated-docs/Badge.props.d.ts +7 -0
- package/dist/types/generated-docs/Badge.props.d.ts.map +1 -0
- package/dist/types/generated-docs/Breadcrumbs.props.d.ts +7 -0
- package/dist/types/generated-docs/Breadcrumbs.props.d.ts.map +1 -0
- package/dist/types/generated-docs/Button.props.d.ts +7 -0
- package/dist/types/generated-docs/Button.props.d.ts.map +1 -0
- package/dist/types/generated-docs/Card.props.d.ts +7 -0
- package/dist/types/generated-docs/Card.props.d.ts.map +1 -0
- package/dist/types/generated-docs/Chip.props.d.ts +7 -0
- package/dist/types/generated-docs/Chip.props.d.ts.map +1 -0
- package/dist/types/generated-docs/CircularProgress.props.d.ts +7 -0
- package/dist/types/generated-docs/CircularProgress.props.d.ts.map +1 -0
- package/dist/types/generated-docs/ColorPicker.props.d.ts +7 -0
- package/dist/types/generated-docs/ColorPicker.props.d.ts.map +1 -0
- package/dist/types/generated-docs/CommandPalette.props.d.ts +7 -0
- package/dist/types/generated-docs/CommandPalette.props.d.ts.map +1 -0
- package/dist/types/generated-docs/DataTable.props.d.ts +7 -0
- package/dist/types/generated-docs/DataTable.props.d.ts.map +1 -0
- package/dist/types/generated-docs/DateTimePicker.props.d.ts +7 -0
- package/dist/types/generated-docs/DateTimePicker.props.d.ts.map +1 -0
- package/dist/types/generated-docs/Divider.props.d.ts +7 -0
- package/dist/types/generated-docs/Divider.props.d.ts.map +1 -0
- package/dist/types/generated-docs/Dropdown.props.d.ts +7 -0
- package/dist/types/generated-docs/Dropdown.props.d.ts.map +1 -0
- package/dist/types/generated-docs/EmptyState.props.d.ts +7 -0
- package/dist/types/generated-docs/EmptyState.props.d.ts.map +1 -0
- package/dist/types/generated-docs/FileUpload.props.d.ts +7 -0
- package/dist/types/generated-docs/FileUpload.props.d.ts.map +1 -0
- package/dist/types/generated-docs/Footer.props.d.ts +7 -0
- package/dist/types/generated-docs/Footer.props.d.ts.map +1 -0
- package/dist/types/generated-docs/FormGroup.props.d.ts +7 -0
- package/dist/types/generated-docs/FormGroup.props.d.ts.map +1 -0
- package/dist/types/generated-docs/IconButton.props.d.ts +7 -0
- package/dist/types/generated-docs/IconButton.props.d.ts.map +1 -0
- package/dist/types/generated-docs/MarkdownRenderer.props.d.ts +7 -0
- package/dist/types/generated-docs/MarkdownRenderer.props.d.ts.map +1 -0
- package/dist/types/generated-docs/MessagePopup.props.d.ts +7 -0
- package/dist/types/generated-docs/MessagePopup.props.d.ts.map +1 -0
- package/dist/types/generated-docs/MetricBox.props.d.ts +7 -0
- package/dist/types/generated-docs/MetricBox.props.d.ts.map +1 -0
- package/dist/types/generated-docs/Modal.props.d.ts +7 -0
- package/dist/types/generated-docs/Modal.props.d.ts.map +1 -0
- package/dist/types/generated-docs/NavBar.props.d.ts +7 -0
- package/dist/types/generated-docs/NavBar.props.d.ts.map +1 -0
- package/dist/types/generated-docs/NotificationCenter.props.d.ts +7 -0
- package/dist/types/generated-docs/NotificationCenter.props.d.ts.map +1 -0
- package/dist/types/generated-docs/ProgressBar.props.d.ts +7 -0
- package/dist/types/generated-docs/ProgressBar.props.d.ts.map +1 -0
- package/dist/types/generated-docs/RadioButton.props.d.ts +7 -0
- package/dist/types/generated-docs/RadioButton.props.d.ts.map +1 -0
- package/dist/types/generated-docs/Rating.props.d.ts +7 -0
- package/dist/types/generated-docs/Rating.props.d.ts.map +1 -0
- package/dist/types/generated-docs/ScrollToTop.props.d.ts +7 -0
- package/dist/types/generated-docs/ScrollToTop.props.d.ts.map +1 -0
- package/dist/types/generated-docs/Select.props.d.ts +7 -0
- package/dist/types/generated-docs/Select.props.d.ts.map +1 -0
- package/dist/types/generated-docs/Sidebar.props.d.ts +7 -0
- package/dist/types/generated-docs/Sidebar.props.d.ts.map +1 -0
- package/dist/types/generated-docs/Skeleton.props.d.ts +7 -0
- package/dist/types/generated-docs/Skeleton.props.d.ts.map +1 -0
- package/dist/types/generated-docs/Slider.props.d.ts +7 -0
- package/dist/types/generated-docs/Slider.props.d.ts.map +1 -0
- package/dist/types/generated-docs/Spinner.props.d.ts +7 -0
- package/dist/types/generated-docs/Spinner.props.d.ts.map +1 -0
- package/dist/types/generated-docs/Stepper.props.d.ts +7 -0
- package/dist/types/generated-docs/Stepper.props.d.ts.map +1 -0
- package/dist/types/generated-docs/Tabs.props.d.ts +7 -0
- package/dist/types/generated-docs/Tabs.props.d.ts.map +1 -0
- package/dist/types/generated-docs/TagInput.props.d.ts +7 -0
- package/dist/types/generated-docs/TagInput.props.d.ts.map +1 -0
- package/dist/types/generated-docs/TextArea.props.d.ts +7 -0
- package/dist/types/generated-docs/TextArea.props.d.ts.map +1 -0
- package/dist/types/generated-docs/TextInput.props.d.ts +7 -0
- package/dist/types/generated-docs/TextInput.props.d.ts.map +1 -0
- package/dist/types/generated-docs/Timeline.props.d.ts +7 -0
- package/dist/types/generated-docs/Timeline.props.d.ts.map +1 -0
- package/dist/types/generated-docs/Toggle.props.d.ts +7 -0
- package/dist/types/generated-docs/Toggle.props.d.ts.map +1 -0
- package/dist/types/generated-docs/Toolbar.props.d.ts +7 -0
- package/dist/types/generated-docs/Toolbar.props.d.ts.map +1 -0
- package/dist/types/generated-docs/Tooltip.props.d.ts +7 -0
- package/dist/types/generated-docs/Tooltip.props.d.ts.map +1 -0
- package/dist/types/generated-docs/Typography.props.d.ts +7 -0
- package/dist/types/generated-docs/Typography.props.d.ts.map +1 -0
- package/dist/types/generated-docs/index.d.ts +50 -0
- package/dist/types/generated-docs/index.d.ts.map +1 -0
- package/dist/types/generated-docs/types.d.ts +20 -0
- package/dist/types/generated-docs/types.d.ts.map +1 -0
- package/dist/types/index.core.d.ts +1 -0
- package/dist/types/index.core.d.ts.map +1 -1
- package/dist/types/index.next.d.ts +1 -0
- package/dist/types/index.next.d.ts.map +1 -1
- package/package.json +175 -128
- package/dist/core/Accordion-BwtII31u.js +0 -218
- package/dist/core/Accordion-BwtII31u.js.map +0 -1
- package/dist/core/Accordion-CyxuUy_t.cjs +0 -217
- package/dist/core/Accordion-CyxuUy_t.cjs.map +0 -1
- package/dist/core/Avatar-CUSWjsVo.js +0 -254
- package/dist/core/Avatar-CUSWjsVo.js.map +0 -1
- package/dist/core/Avatar-CxrSOiu7.cjs +0 -253
- package/dist/core/Avatar-CxrSOiu7.cjs.map +0 -1
- package/dist/core/Badge-BEj0KQvW.js +0 -161
- package/dist/core/Badge-BEj0KQvW.js.map +0 -1
- package/dist/core/Badge-BFvrWTX6.cjs +0 -160
- package/dist/core/Badge-BFvrWTX6.cjs.map +0 -1
- package/dist/core/Breadcrumbs-CJ-f4SqB.js +0 -195
- package/dist/core/Breadcrumbs-CJ-f4SqB.js.map +0 -1
- package/dist/core/Breadcrumbs-CMQYmSDB.cjs +0 -194
- package/dist/core/Breadcrumbs-CMQYmSDB.cjs.map +0 -1
- package/dist/core/Button-BT9ID2ki.cjs +0 -178
- package/dist/core/Button-BT9ID2ki.cjs.map +0 -1
- package/dist/core/Button-Sn-XGEsn.js +0 -179
- package/dist/core/Button-Sn-XGEsn.js.map +0 -1
- package/dist/core/Card-BmlPaqJZ.cjs +0 -299
- package/dist/core/Card-BmlPaqJZ.cjs.map +0 -1
- package/dist/core/Card-CRIPRZ_b.js +0 -300
- package/dist/core/Card-CRIPRZ_b.js.map +0 -1
- package/dist/core/Checkbox-8EgwIJTX.js +0 -153
- package/dist/core/Checkbox-8EgwIJTX.js.map +0 -1
- package/dist/core/Checkbox-BN4KCkz0.cjs +0 -152
- package/dist/core/Checkbox-BN4KCkz0.cjs.map +0 -1
- package/dist/core/Chip-9iK2hsJj.cjs +0 -161
- package/dist/core/Chip-9iK2hsJj.cjs.map +0 -1
- package/dist/core/Chip-BN-6gv8X.js +0 -162
- package/dist/core/Chip-BN-6gv8X.js.map +0 -1
- package/dist/core/CircularProgress-BAjEgUf9.js +0 -116
- package/dist/core/CircularProgress-BAjEgUf9.js.map +0 -1
- package/dist/core/CircularProgress-DVHra4Wi.cjs +0 -115
- package/dist/core/CircularProgress-DVHra4Wi.cjs.map +0 -1
- package/dist/core/ColorPicker-BE1z0P4n.cjs +0 -119
- package/dist/core/ColorPicker-BE1z0P4n.cjs.map +0 -1
- package/dist/core/ColorPicker-N8ZUJmJv.js +0 -120
- package/dist/core/ColorPicker-N8ZUJmJv.js.map +0 -1
- package/dist/core/CommandPalette-BVV9ElyC.js +0 -267
- package/dist/core/CommandPalette-BVV9ElyC.js.map +0 -1
- package/dist/core/CommandPalette-D4Onjukh.cjs +0 -266
- package/dist/core/CommandPalette-D4Onjukh.cjs.map +0 -1
- package/dist/core/DataTable-CBZ0XtxS.cjs +0 -188
- package/dist/core/DataTable-CBZ0XtxS.cjs.map +0 -1
- package/dist/core/DataTable-CF1AaO2t.js +0 -189
- package/dist/core/DataTable-CF1AaO2t.js.map +0 -1
- package/dist/core/DateTimePicker-B_x-Hw30.js +0 -204
- package/dist/core/DateTimePicker-B_x-Hw30.js.map +0 -1
- package/dist/core/DateTimePicker-Dh83Kd8i.cjs +0 -203
- package/dist/core/DateTimePicker-Dh83Kd8i.cjs.map +0 -1
- package/dist/core/Divider-2UcgENdU.js +0 -84
- package/dist/core/Divider-2UcgENdU.js.map +0 -1
- package/dist/core/Divider-AaLX554p.cjs +0 -83
- package/dist/core/Divider-AaLX554p.cjs.map +0 -1
- package/dist/core/Dropdown-D3hW8fec.js +0 -281
- package/dist/core/Dropdown-D3hW8fec.js.map +0 -1
- package/dist/core/Dropdown-wW-i6oeS.cjs +0 -280
- package/dist/core/Dropdown-wW-i6oeS.cjs.map +0 -1
- package/dist/core/EmptyState-D47l1YgZ.cjs +0 -152
- package/dist/core/EmptyState-D47l1YgZ.cjs.map +0 -1
- package/dist/core/EmptyState-D_7LnNDB.js +0 -153
- package/dist/core/EmptyState-D_7LnNDB.js.map +0 -1
- package/dist/core/FileUpload-B3gV8uYa.cjs +0 -421
- package/dist/core/FileUpload-B3gV8uYa.cjs.map +0 -1
- package/dist/core/FileUpload-H_G60ktw.js +0 -422
- package/dist/core/FileUpload-H_G60ktw.js.map +0 -1
- package/dist/core/Footer-DXBSC-EW.cjs +0 -217
- package/dist/core/Footer-DXBSC-EW.cjs.map +0 -1
- package/dist/core/Footer-j3QFfvxK.js +0 -218
- package/dist/core/Footer-j3QFfvxK.js.map +0 -1
- package/dist/core/FormGroup-Cit_2_Wo.cjs +0 -145
- package/dist/core/FormGroup-Cit_2_Wo.cjs.map +0 -1
- package/dist/core/FormGroup-DDZ1D_CI.js +0 -146
- package/dist/core/FormGroup-DDZ1D_CI.js.map +0 -1
- package/dist/core/IconButton-6hjW9_Za.js +0 -168
- package/dist/core/IconButton-6hjW9_Za.js.map +0 -1
- package/dist/core/IconButton-B7DYdUHH.cjs +0 -167
- package/dist/core/IconButton-B7DYdUHH.cjs.map +0 -1
- package/dist/core/MarkdownRenderer-CIJSu7o6.js +0 -112
- package/dist/core/MarkdownRenderer-CIJSu7o6.js.map +0 -1
- package/dist/core/MarkdownRenderer-D4emln2b.cjs +0 -111
- package/dist/core/MarkdownRenderer-D4emln2b.cjs.map +0 -1
- package/dist/core/MessagePopup-CyU-0yY3.cjs +0 -243
- package/dist/core/MessagePopup-CyU-0yY3.cjs.map +0 -1
- package/dist/core/MessagePopup-D6h1dJ-D.js +0 -244
- package/dist/core/MessagePopup-D6h1dJ-D.js.map +0 -1
- package/dist/core/MetricBox--nk1HHt-.js +0 -127
- package/dist/core/MetricBox--nk1HHt-.js.map +0 -1
- package/dist/core/MetricBox-Cy4qboZV.cjs +0 -126
- package/dist/core/MetricBox-Cy4qboZV.cjs.map +0 -1
- package/dist/core/Modal-GW1_WI8d.js +0 -225
- package/dist/core/Modal-GW1_WI8d.js.map +0 -1
- package/dist/core/Modal-gYZyAmkB.cjs +0 -224
- package/dist/core/Modal-gYZyAmkB.cjs.map +0 -1
- package/dist/core/NavBar-D8IkIqs9.js +0 -134
- package/dist/core/NavBar-D8IkIqs9.js.map +0 -1
- package/dist/core/NavBar-Dn1gUrAi.cjs +0 -133
- package/dist/core/NavBar-Dn1gUrAi.cjs.map +0 -1
- package/dist/core/NotificationCenter-DBRsoFv2.cjs +0 -375
- package/dist/core/NotificationCenter-DBRsoFv2.cjs.map +0 -1
- package/dist/core/NotificationCenter-nyzZ8p0t.js +0 -376
- package/dist/core/NotificationCenter-nyzZ8p0t.js.map +0 -1
- package/dist/core/Pager-rEKbCsap.js +0 -187
- package/dist/core/Pager-rEKbCsap.js.map +0 -1
- package/dist/core/Pager-wg8JPfcU.cjs +0 -186
- package/dist/core/Pager-wg8JPfcU.cjs.map +0 -1
- package/dist/core/PopOver-CZ-ZzkVe.js +0 -204
- package/dist/core/PopOver-CZ-ZzkVe.js.map +0 -1
- package/dist/core/PopOver-DMEKU24G.cjs +0 -203
- package/dist/core/PopOver-DMEKU24G.cjs.map +0 -1
- package/dist/core/ProgressBar-DENoE2ZA.js +0 -122
- package/dist/core/ProgressBar-DENoE2ZA.js.map +0 -1
- package/dist/core/ProgressBar-Djh3tscr.cjs +0 -121
- package/dist/core/ProgressBar-Djh3tscr.cjs.map +0 -1
- package/dist/core/RadioButton-Af4h43-j.js +0 -127
- package/dist/core/RadioButton-Af4h43-j.js.map +0 -1
- package/dist/core/RadioButton-o6h5NsTK.cjs +0 -126
- package/dist/core/RadioButton-o6h5NsTK.cjs.map +0 -1
- package/dist/core/Rating-Ce9hjQVC.cjs +0 -178
- package/dist/core/Rating-Ce9hjQVC.cjs.map +0 -1
- package/dist/core/Rating-D6ltlsWy.js +0 -179
- package/dist/core/Rating-D6ltlsWy.js.map +0 -1
- package/dist/core/ScrollToTop-BwntJ7A5.js +0 -121
- package/dist/core/ScrollToTop-BwntJ7A5.js.map +0 -1
- package/dist/core/ScrollToTop-CLBwqdLe.cjs +0 -120
- package/dist/core/ScrollToTop-CLBwqdLe.cjs.map +0 -1
- package/dist/core/Select-DQDXyKPq.js +0 -196
- package/dist/core/Select-DQDXyKPq.js.map +0 -1
- package/dist/core/Select-FS746FcH.cjs +0 -195
- package/dist/core/Select-FS746FcH.cjs.map +0 -1
- package/dist/core/Sidebar-CniHke_6.js +0 -305
- package/dist/core/Sidebar-CniHke_6.js.map +0 -1
- package/dist/core/Sidebar-DFAi7pQh.cjs +0 -304
- package/dist/core/Sidebar-DFAi7pQh.cjs.map +0 -1
- package/dist/core/Skeleton-B9LVkce_.js +0 -84
- package/dist/core/Skeleton-B9LVkce_.js.map +0 -1
- package/dist/core/Skeleton-DPR3hXBc.cjs +0 -83
- package/dist/core/Skeleton-DPR3hXBc.cjs.map +0 -1
- package/dist/core/Slider-BLSK3_yt.js +0 -131
- package/dist/core/Slider-BLSK3_yt.js.map +0 -1
- package/dist/core/Slider-XeEn7t2O.cjs +0 -130
- package/dist/core/Slider-XeEn7t2O.cjs.map +0 -1
- package/dist/core/Spinner-D2V23we6.cjs +0 -105
- package/dist/core/Spinner-D2V23we6.cjs.map +0 -1
- package/dist/core/Spinner-oky6qn-3.js +0 -106
- package/dist/core/Spinner-oky6qn-3.js.map +0 -1
- package/dist/core/Stepper-D5iUsoKL.js +0 -141
- package/dist/core/Stepper-D5iUsoKL.js.map +0 -1
- package/dist/core/Stepper-O6PTrY95.cjs +0 -140
- package/dist/core/Stepper-O6PTrY95.cjs.map +0 -1
- package/dist/core/Tabs-C2MAHi3V.js +0 -227
- package/dist/core/Tabs-C2MAHi3V.js.map +0 -1
- package/dist/core/Tabs-CncWfZxF.cjs +0 -226
- package/dist/core/Tabs-CncWfZxF.cjs.map +0 -1
- package/dist/core/TagInput-BFNzMNLC.cjs +0 -323
- package/dist/core/TagInput-BFNzMNLC.cjs.map +0 -1
- package/dist/core/TagInput-BdrT33b_.js +0 -324
- package/dist/core/TagInput-BdrT33b_.js.map +0 -1
- package/dist/core/TextArea-B7BTlqcx.js +0 -171
- package/dist/core/TextArea-B7BTlqcx.js.map +0 -1
- package/dist/core/TextArea-tX4BO8iT.cjs +0 -170
- package/dist/core/TextArea-tX4BO8iT.cjs.map +0 -1
- package/dist/core/TextInput-D9IHA-K3.js +0 -308
- package/dist/core/TextInput-D9IHA-K3.js.map +0 -1
- package/dist/core/TextInput-k_V-hTwW.cjs +0 -307
- package/dist/core/TextInput-k_V-hTwW.cjs.map +0 -1
- package/dist/core/ThemeContext-nYSJ_G6L.js +0 -199
- package/dist/core/ThemeContext-nYSJ_G6L.js.map +0 -1
- package/dist/core/Timeline-CHxLOSfo.cjs +0 -154
- package/dist/core/Timeline-CHxLOSfo.cjs.map +0 -1
- package/dist/core/Timeline-CysPgst2.js +0 -155
- package/dist/core/Timeline-CysPgst2.js.map +0 -1
- package/dist/core/Toggle-BjcHSRky.cjs +0 -142
- package/dist/core/Toggle-BjcHSRky.cjs.map +0 -1
- package/dist/core/Toggle-x0wutBcD.js +0 -143
- package/dist/core/Toggle-x0wutBcD.js.map +0 -1
- package/dist/core/Toolbar-Ce40CpVS.js +0 -130
- package/dist/core/Toolbar-Ce40CpVS.js.map +0 -1
- package/dist/core/Toolbar-DS4OWUio.cjs +0 -129
- package/dist/core/Toolbar-DS4OWUio.cjs.map +0 -1
- package/dist/core/Tooltip-BqUQU9du.cjs +0 -118
- package/dist/core/Tooltip-BqUQU9du.cjs.map +0 -1
- package/dist/core/Tooltip-fOb5jy6R.js +0 -119
- package/dist/core/Tooltip-fOb5jy6R.js.map +0 -1
- package/dist/core/Typography-D9WF2TVi.cjs +0 -177
- package/dist/core/Typography-D9WF2TVi.cjs.map +0 -1
- package/dist/core/Typography-DeV9eoQj.js +0 -178
- package/dist/core/Typography-DeV9eoQj.js.map +0 -1
- package/dist/next/Accordion-B6n350De.js +0 -279
- package/dist/next/Accordion-B6n350De.js.map +0 -1
- package/dist/next/Accordion-D9pe1F_C.cjs +0 -278
- package/dist/next/Accordion-D9pe1F_C.cjs.map +0 -1
- package/dist/next/Avatar-Dl-SRO6q.cjs +0 -303
- package/dist/next/Avatar-Dl-SRO6q.cjs.map +0 -1
- package/dist/next/Avatar-LMGhrarO.js +0 -304
- package/dist/next/Avatar-LMGhrarO.js.map +0 -1
- package/dist/next/Badge-C4NhHVhm.cjs +0 -193
- package/dist/next/Badge-C4NhHVhm.cjs.map +0 -1
- package/dist/next/Badge-DcwVDzeX.js +0 -194
- package/dist/next/Badge-DcwVDzeX.js.map +0 -1
- package/dist/next/Breadcrumbs-DRCULfdB.cjs +0 -239
- package/dist/next/Breadcrumbs-DRCULfdB.cjs.map +0 -1
- package/dist/next/Breadcrumbs-DtHfXe1F.js +0 -240
- package/dist/next/Breadcrumbs-DtHfXe1F.js.map +0 -1
- package/dist/next/Button-BNV2cbTA.js +0 -232
- package/dist/next/Button-BNV2cbTA.js.map +0 -1
- package/dist/next/Button-aiECSNNc.cjs +0 -231
- package/dist/next/Button-aiECSNNc.cjs.map +0 -1
- package/dist/next/Card-CpycObH7.js +0 -409
- package/dist/next/Card-CpycObH7.js.map +0 -1
- package/dist/next/Card-DIFHDDIr.cjs +0 -408
- package/dist/next/Card-DIFHDDIr.cjs.map +0 -1
- package/dist/next/Checkbox-C422yH7e.cjs +0 -201
- package/dist/next/Checkbox-C422yH7e.cjs.map +0 -1
- package/dist/next/Checkbox-CsiGiTSg.js +0 -202
- package/dist/next/Checkbox-CsiGiTSg.js.map +0 -1
- package/dist/next/Chip-B4LcQgyC.cjs +0 -217
- package/dist/next/Chip-B4LcQgyC.cjs.map +0 -1
- package/dist/next/Chip-dGaHUdOu.js +0 -218
- package/dist/next/Chip-dGaHUdOu.js.map +0 -1
- package/dist/next/CircularProgress-C2jVHm3Q.js +0 -159
- package/dist/next/CircularProgress-C2jVHm3Q.js.map +0 -1
- package/dist/next/CircularProgress-DWcdPslR.cjs +0 -158
- package/dist/next/CircularProgress-DWcdPslR.cjs.map +0 -1
- package/dist/next/ColorPicker-1i0Lgdgq.js +0 -166
- package/dist/next/ColorPicker-1i0Lgdgq.js.map +0 -1
- package/dist/next/ColorPicker-Oy9unTHe.cjs +0 -165
- package/dist/next/ColorPicker-Oy9unTHe.cjs.map +0 -1
- package/dist/next/CommandPalette-B-aiEtIm.js +0 -316
- package/dist/next/CommandPalette-B-aiEtIm.js.map +0 -1
- package/dist/next/CommandPalette-CtnVZcVo.cjs +0 -315
- package/dist/next/CommandPalette-CtnVZcVo.cjs.map +0 -1
- package/dist/next/DataTable-Cdhd9JxJ.js +0 -234
- package/dist/next/DataTable-Cdhd9JxJ.js.map +0 -1
- package/dist/next/DataTable-GpE9KYNX.cjs +0 -233
- package/dist/next/DataTable-GpE9KYNX.cjs.map +0 -1
- package/dist/next/DateTimePicker-CGz-n7Bi.js +0 -258
- package/dist/next/DateTimePicker-CGz-n7Bi.js.map +0 -1
- package/dist/next/DateTimePicker-D0d9tw5_.cjs +0 -257
- package/dist/next/DateTimePicker-D0d9tw5_.cjs.map +0 -1
- package/dist/next/Divider-DM2Y1wLx.js +0 -119
- package/dist/next/Divider-DM2Y1wLx.js.map +0 -1
- package/dist/next/Divider-DYResQrs.cjs +0 -118
- package/dist/next/Divider-DYResQrs.cjs.map +0 -1
- package/dist/next/Dropdown-D69FL3pW.cjs +0 -303
- package/dist/next/Dropdown-D69FL3pW.cjs.map +0 -1
- package/dist/next/Dropdown-k6Zs2Jss.js +0 -304
- package/dist/next/Dropdown-k6Zs2Jss.js.map +0 -1
- package/dist/next/EmptyState-C-tk-GFs.js +0 -183
- package/dist/next/EmptyState-C-tk-GFs.js.map +0 -1
- package/dist/next/EmptyState-DbTEeF_t.cjs +0 -182
- package/dist/next/EmptyState-DbTEeF_t.cjs.map +0 -1
- package/dist/next/FileUpload-CysOXhXj.js +0 -480
- package/dist/next/FileUpload-CysOXhXj.js.map +0 -1
- package/dist/next/FileUpload-uJZYGisD.cjs +0 -479
- package/dist/next/FileUpload-uJZYGisD.cjs.map +0 -1
- package/dist/next/Footer-BcYAcM_g.js +0 -270
- package/dist/next/Footer-BcYAcM_g.js.map +0 -1
- package/dist/next/Footer-BuG3hX1X.cjs +0 -269
- package/dist/next/Footer-BuG3hX1X.cjs.map +0 -1
- package/dist/next/FormGroup-DqApTe27.cjs +0 -175
- package/dist/next/FormGroup-DqApTe27.cjs.map +0 -1
- package/dist/next/FormGroup-cW5IOn3e.js +0 -176
- package/dist/next/FormGroup-cW5IOn3e.js.map +0 -1
- package/dist/next/IconButton-BCPASTa0.js +0 -197
- package/dist/next/IconButton-BCPASTa0.js.map +0 -1
- package/dist/next/IconButton-BNXb1M9u.cjs +0 -196
- package/dist/next/IconButton-BNXb1M9u.cjs.map +0 -1
- package/dist/next/MarkdownRenderer-DeCTcC0r.cjs +0 -122
- package/dist/next/MarkdownRenderer-DeCTcC0r.cjs.map +0 -1
- package/dist/next/MarkdownRenderer-fvuFdR5h.js +0 -123
- package/dist/next/MarkdownRenderer-fvuFdR5h.js.map +0 -1
- package/dist/next/MessagePopup-iUTfHS2G.js +0 -264
- package/dist/next/MessagePopup-iUTfHS2G.js.map +0 -1
- package/dist/next/MessagePopup-lIh8y0Np.cjs +0 -263
- package/dist/next/MessagePopup-lIh8y0Np.cjs.map +0 -1
- package/dist/next/MetricBox-CDiRiG0K.js +0 -180
- package/dist/next/MetricBox-CDiRiG0K.js.map +0 -1
- package/dist/next/MetricBox-CrUuF7Ib.cjs +0 -179
- package/dist/next/MetricBox-CrUuF7Ib.cjs.map +0 -1
- package/dist/next/Modal-Bp95SzfF.js +0 -251
- package/dist/next/Modal-Bp95SzfF.js.map +0 -1
- package/dist/next/Modal-C4vwVesv.cjs +0 -250
- package/dist/next/Modal-C4vwVesv.cjs.map +0 -1
- package/dist/next/NavBar-DerfegGE.cjs +0 -176
- package/dist/next/NavBar-DerfegGE.cjs.map +0 -1
- package/dist/next/NavBar-v32eP9CE.js +0 -177
- package/dist/next/NavBar-v32eP9CE.js.map +0 -1
- package/dist/next/NotificationCenter-BWSTBnIE.js +0 -424
- package/dist/next/NotificationCenter-BWSTBnIE.js.map +0 -1
- package/dist/next/NotificationCenter-D-sGoOkb.cjs +0 -423
- package/dist/next/NotificationCenter-D-sGoOkb.cjs.map +0 -1
- package/dist/next/Pager-B3pjiD9O.js +0 -189
- package/dist/next/Pager-B3pjiD9O.js.map +0 -1
- package/dist/next/Pager-D8IOqiwM.cjs +0 -188
- package/dist/next/Pager-D8IOqiwM.cjs.map +0 -1
- package/dist/next/PopOver-BtR7eYNZ.cjs +0 -250
- package/dist/next/PopOver-BtR7eYNZ.cjs.map +0 -1
- package/dist/next/PopOver-Dth_QWWN.js +0 -251
- package/dist/next/PopOver-Dth_QWWN.js.map +0 -1
- package/dist/next/ProgressBar-4SyKFeny.cjs +0 -174
- package/dist/next/ProgressBar-4SyKFeny.cjs.map +0 -1
- package/dist/next/ProgressBar-BwbZzKn2.js +0 -175
- package/dist/next/ProgressBar-BwbZzKn2.js.map +0 -1
- package/dist/next/RadioButton-0VwZVK6J.cjs +0 -171
- package/dist/next/RadioButton-0VwZVK6J.cjs.map +0 -1
- package/dist/next/RadioButton-kgfBSrYx.js +0 -172
- package/dist/next/RadioButton-kgfBSrYx.js.map +0 -1
- package/dist/next/Rating-BNWMCHyv.cjs +0 -209
- package/dist/next/Rating-BNWMCHyv.cjs.map +0 -1
- package/dist/next/Rating-XYsOe0I9.js +0 -210
- package/dist/next/Rating-XYsOe0I9.js.map +0 -1
- package/dist/next/ScrollToTop-BC6geDsg.js +0 -135
- package/dist/next/ScrollToTop-BC6geDsg.js.map +0 -1
- package/dist/next/ScrollToTop-BhjYKcA6.cjs +0 -134
- package/dist/next/ScrollToTop-BhjYKcA6.cjs.map +0 -1
- package/dist/next/Select-BqUSEl8c.cjs +0 -225
- package/dist/next/Select-BqUSEl8c.cjs.map +0 -1
- package/dist/next/Select-wOJwWWef.js +0 -226
- package/dist/next/Select-wOJwWWef.js.map +0 -1
- package/dist/next/Sidebar-BWzgyABD.js +0 -343
- package/dist/next/Sidebar-BWzgyABD.js.map +0 -1
- package/dist/next/Sidebar-QM59O02V.cjs +0 -342
- package/dist/next/Sidebar-QM59O02V.cjs.map +0 -1
- package/dist/next/Skeleton-BmjCgwT_.js +0 -118
- package/dist/next/Skeleton-BmjCgwT_.js.map +0 -1
- package/dist/next/Skeleton-IMaB6d3N.cjs +0 -117
- package/dist/next/Skeleton-IMaB6d3N.cjs.map +0 -1
- package/dist/next/Slider-Don9oIYb.js +0 -174
- package/dist/next/Slider-Don9oIYb.js.map +0 -1
- package/dist/next/Slider-_uNLGVLb.cjs +0 -173
- package/dist/next/Slider-_uNLGVLb.cjs.map +0 -1
- package/dist/next/Spinner-Byhhnxa6.cjs +0 -153
- package/dist/next/Spinner-Byhhnxa6.cjs.map +0 -1
- package/dist/next/Spinner-DhTkPvHN.js +0 -154
- package/dist/next/Spinner-DhTkPvHN.js.map +0 -1
- package/dist/next/Stepper-D3KEbYHa.cjs +0 -185
- package/dist/next/Stepper-D3KEbYHa.cjs.map +0 -1
- package/dist/next/Stepper-DX2Jyu88.js +0 -186
- package/dist/next/Stepper-DX2Jyu88.js.map +0 -1
- package/dist/next/Tabs-D5_4LqI2.cjs +0 -255
- package/dist/next/Tabs-D5_4LqI2.cjs.map +0 -1
- package/dist/next/Tabs-XAXQS4Zl.js +0 -256
- package/dist/next/Tabs-XAXQS4Zl.js.map +0 -1
- package/dist/next/TagInput-BXTLgtkv.cjs +0 -375
- package/dist/next/TagInput-BXTLgtkv.cjs.map +0 -1
- package/dist/next/TagInput-D--kg_iB.js +0 -376
- package/dist/next/TagInput-D--kg_iB.js.map +0 -1
- package/dist/next/TextArea-UmejfjCR.js +0 -200
- package/dist/next/TextArea-UmejfjCR.js.map +0 -1
- package/dist/next/TextArea-fYn3QxpQ.cjs +0 -199
- package/dist/next/TextArea-fYn3QxpQ.cjs.map +0 -1
- package/dist/next/TextInput-B9-DIw86.js +0 -322
- package/dist/next/TextInput-B9-DIw86.js.map +0 -1
- package/dist/next/TextInput-D2ptuAkp.cjs +0 -321
- package/dist/next/TextInput-D2ptuAkp.cjs.map +0 -1
- package/dist/next/ThemeContext-nYSJ_G6L.js +0 -199
- package/dist/next/ThemeContext-nYSJ_G6L.js.map +0 -1
- package/dist/next/Timeline-CMndHG2q.cjs +0 -183
- package/dist/next/Timeline-CMndHG2q.cjs.map +0 -1
- package/dist/next/Timeline-Cv4jkiMp.js +0 -184
- package/dist/next/Timeline-Cv4jkiMp.js.map +0 -1
- package/dist/next/Toggle-CGVOlAre.js +0 -173
- package/dist/next/Toggle-CGVOlAre.js.map +0 -1
- package/dist/next/Toggle-_eIwxdgg.cjs +0 -172
- package/dist/next/Toggle-_eIwxdgg.cjs.map +0 -1
- package/dist/next/Toolbar-C5uFJJ9N.cjs +0 -170
- package/dist/next/Toolbar-C5uFJJ9N.cjs.map +0 -1
- package/dist/next/Toolbar-CIm4HBqd.js +0 -171
- package/dist/next/Toolbar-CIm4HBqd.js.map +0 -1
- package/dist/next/Tooltip-DZtFS9wd.cjs +0 -163
- package/dist/next/Tooltip-DZtFS9wd.cjs.map +0 -1
- package/dist/next/Tooltip-c9nsr0yw.js +0 -164
- package/dist/next/Tooltip-c9nsr0yw.js.map +0 -1
- package/dist/next/Typography-BEENFqan.cjs +0 -215
- package/dist/next/Typography-BEENFqan.cjs.map +0 -1
- package/dist/next/Typography-D9yQ776l.js +0 -216
- package/dist/next/Typography-D9yQ776l.js.map +0 -1
- package/dist/next/image-B9PuwflE.js +0 -2841
- package/dist/next/image-B9PuwflE.js.map +0 -1
- package/dist/next/image-Bo_vHlt1.cjs +0 -2840
- package/dist/next/image-Bo_vHlt1.cjs.map +0 -1
- package/dist/next/link-B1N-q38H.cjs +0 -4055
- package/dist/next/link-B1N-q38H.cjs.map +0 -1
- package/dist/next/link-CyxHztrS.js +0 -4056
- package/dist/next/link-CyxHztrS.js.map +0 -1
- package/dist/next/navigation-C2hD8Jlk.js +0 -2402
- package/dist/next/navigation-C2hD8Jlk.js.map +0 -1
- package/dist/next/navigation-C3npGZmO.cjs +0 -2401
- package/dist/next/navigation-C3npGZmO.cjs.map +0 -1
|
@@ -1,2840 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const link = require("./link-B1N-q38H.cjs");
|
|
3
|
-
const require$$2 = require("react/jsx-runtime");
|
|
4
|
-
const React = require("react");
|
|
5
|
-
const ReactDOM = require("react-dom");
|
|
6
|
-
var imageExternal = {};
|
|
7
|
-
var getImgProps = {};
|
|
8
|
-
var warnOnce = {};
|
|
9
|
-
var hasRequiredWarnOnce;
|
|
10
|
-
function requireWarnOnce() {
|
|
11
|
-
if (hasRequiredWarnOnce) return warnOnce;
|
|
12
|
-
hasRequiredWarnOnce = 1;
|
|
13
|
-
(function(exports$1) {
|
|
14
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
15
|
-
value: true
|
|
16
|
-
});
|
|
17
|
-
Object.defineProperty(exports$1, "warnOnce", {
|
|
18
|
-
enumerable: true,
|
|
19
|
-
get: function() {
|
|
20
|
-
return warnOnce2;
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
let warnOnce2 = (_) => {
|
|
24
|
-
};
|
|
25
|
-
if (process.env.NODE_ENV !== "production") {
|
|
26
|
-
const warnings = /* @__PURE__ */ new Set();
|
|
27
|
-
warnOnce2 = (msg) => {
|
|
28
|
-
if (!warnings.has(msg)) {
|
|
29
|
-
console.warn(msg);
|
|
30
|
-
}
|
|
31
|
-
warnings.add(msg);
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
})(warnOnce);
|
|
35
|
-
return warnOnce;
|
|
36
|
-
}
|
|
37
|
-
var deploymentId = {};
|
|
38
|
-
var hasRequiredDeploymentId;
|
|
39
|
-
function requireDeploymentId() {
|
|
40
|
-
if (hasRequiredDeploymentId) return deploymentId;
|
|
41
|
-
hasRequiredDeploymentId = 1;
|
|
42
|
-
(function(exports$1) {
|
|
43
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
44
|
-
value: true
|
|
45
|
-
});
|
|
46
|
-
function _export(target, all) {
|
|
47
|
-
for (var name in all) Object.defineProperty(target, name, {
|
|
48
|
-
enumerable: true,
|
|
49
|
-
get: all[name]
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
_export(exports$1, {
|
|
53
|
-
getDeploymentId: function() {
|
|
54
|
-
return getDeploymentId;
|
|
55
|
-
},
|
|
56
|
-
getDeploymentIdQueryOrEmptyString: function() {
|
|
57
|
-
return getDeploymentIdQueryOrEmptyString;
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
function getDeploymentId() {
|
|
61
|
-
return process.env.NEXT_DEPLOYMENT_ID;
|
|
62
|
-
}
|
|
63
|
-
function getDeploymentIdQueryOrEmptyString() {
|
|
64
|
-
let deploymentId2 = getDeploymentId();
|
|
65
|
-
if (deploymentId2) {
|
|
66
|
-
return `?dpl=${deploymentId2}`;
|
|
67
|
-
}
|
|
68
|
-
return "";
|
|
69
|
-
}
|
|
70
|
-
})(deploymentId);
|
|
71
|
-
return deploymentId;
|
|
72
|
-
}
|
|
73
|
-
var imageBlurSvg = {};
|
|
74
|
-
var hasRequiredImageBlurSvg;
|
|
75
|
-
function requireImageBlurSvg() {
|
|
76
|
-
if (hasRequiredImageBlurSvg) return imageBlurSvg;
|
|
77
|
-
hasRequiredImageBlurSvg = 1;
|
|
78
|
-
(function(exports$1) {
|
|
79
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
80
|
-
value: true
|
|
81
|
-
});
|
|
82
|
-
Object.defineProperty(exports$1, "getImageBlurSvg", {
|
|
83
|
-
enumerable: true,
|
|
84
|
-
get: function() {
|
|
85
|
-
return getImageBlurSvg;
|
|
86
|
-
}
|
|
87
|
-
});
|
|
88
|
-
function getImageBlurSvg({ widthInt, heightInt, blurWidth, blurHeight, blurDataURL, objectFit }) {
|
|
89
|
-
const std = 20;
|
|
90
|
-
const svgWidth = blurWidth ? blurWidth * 40 : widthInt;
|
|
91
|
-
const svgHeight = blurHeight ? blurHeight * 40 : heightInt;
|
|
92
|
-
const viewBox = svgWidth && svgHeight ? `viewBox='0 0 ${svgWidth} ${svgHeight}'` : "";
|
|
93
|
-
const preserveAspectRatio = viewBox ? "none" : objectFit === "contain" ? "xMidYMid" : objectFit === "cover" ? "xMidYMid slice" : "none";
|
|
94
|
-
return `%3Csvg xmlns='http://www.w3.org/2000/svg' ${viewBox}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='${std}'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='${std}'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${preserveAspectRatio}' style='filter: url(%23b);' href='${blurDataURL}'/%3E%3C/svg%3E`;
|
|
95
|
-
}
|
|
96
|
-
})(imageBlurSvg);
|
|
97
|
-
return imageBlurSvg;
|
|
98
|
-
}
|
|
99
|
-
var imageConfig = {};
|
|
100
|
-
var hasRequiredImageConfig;
|
|
101
|
-
function requireImageConfig() {
|
|
102
|
-
if (hasRequiredImageConfig) return imageConfig;
|
|
103
|
-
hasRequiredImageConfig = 1;
|
|
104
|
-
(function(exports$1) {
|
|
105
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
106
|
-
value: true
|
|
107
|
-
});
|
|
108
|
-
function _export(target, all) {
|
|
109
|
-
for (var name in all) Object.defineProperty(target, name, {
|
|
110
|
-
enumerable: true,
|
|
111
|
-
get: all[name]
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
_export(exports$1, {
|
|
115
|
-
VALID_LOADERS: function() {
|
|
116
|
-
return VALID_LOADERS;
|
|
117
|
-
},
|
|
118
|
-
imageConfigDefault: function() {
|
|
119
|
-
return imageConfigDefault;
|
|
120
|
-
}
|
|
121
|
-
});
|
|
122
|
-
const VALID_LOADERS = [
|
|
123
|
-
"default",
|
|
124
|
-
"imgix",
|
|
125
|
-
"cloudinary",
|
|
126
|
-
"akamai",
|
|
127
|
-
"custom"
|
|
128
|
-
];
|
|
129
|
-
const imageConfigDefault = {
|
|
130
|
-
deviceSizes: [
|
|
131
|
-
640,
|
|
132
|
-
750,
|
|
133
|
-
828,
|
|
134
|
-
1080,
|
|
135
|
-
1200,
|
|
136
|
-
1920,
|
|
137
|
-
2048,
|
|
138
|
-
3840
|
|
139
|
-
],
|
|
140
|
-
imageSizes: [
|
|
141
|
-
32,
|
|
142
|
-
48,
|
|
143
|
-
64,
|
|
144
|
-
96,
|
|
145
|
-
128,
|
|
146
|
-
256,
|
|
147
|
-
384
|
|
148
|
-
],
|
|
149
|
-
path: "/_next/image",
|
|
150
|
-
loader: "default",
|
|
151
|
-
loaderFile: "",
|
|
152
|
-
/**
|
|
153
|
-
* @deprecated Use `remotePatterns` instead to protect your application from malicious users.
|
|
154
|
-
*/
|
|
155
|
-
domains: [],
|
|
156
|
-
disableStaticImages: false,
|
|
157
|
-
minimumCacheTTL: 14400,
|
|
158
|
-
formats: [
|
|
159
|
-
"image/webp"
|
|
160
|
-
],
|
|
161
|
-
maximumRedirects: 3,
|
|
162
|
-
dangerouslyAllowLocalIP: false,
|
|
163
|
-
dangerouslyAllowSVG: false,
|
|
164
|
-
contentSecurityPolicy: `script-src 'none'; frame-src 'none'; sandbox;`,
|
|
165
|
-
contentDispositionType: "attachment",
|
|
166
|
-
localPatterns: void 0,
|
|
167
|
-
remotePatterns: [],
|
|
168
|
-
qualities: [
|
|
169
|
-
75
|
|
170
|
-
],
|
|
171
|
-
unoptimized: false
|
|
172
|
-
};
|
|
173
|
-
})(imageConfig);
|
|
174
|
-
return imageConfig;
|
|
175
|
-
}
|
|
176
|
-
var hasRequiredGetImgProps;
|
|
177
|
-
function requireGetImgProps() {
|
|
178
|
-
if (hasRequiredGetImgProps) return getImgProps;
|
|
179
|
-
hasRequiredGetImgProps = 1;
|
|
180
|
-
(function(exports$1) {
|
|
181
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
182
|
-
value: true
|
|
183
|
-
});
|
|
184
|
-
Object.defineProperty(exports$1, "getImgProps", {
|
|
185
|
-
enumerable: true,
|
|
186
|
-
get: function() {
|
|
187
|
-
return getImgProps2;
|
|
188
|
-
}
|
|
189
|
-
});
|
|
190
|
-
const _warnonce = requireWarnOnce();
|
|
191
|
-
const _deploymentid = requireDeploymentId();
|
|
192
|
-
const _imageblursvg = requireImageBlurSvg();
|
|
193
|
-
const _imageconfig = requireImageConfig();
|
|
194
|
-
const VALID_LOADING_VALUES = [
|
|
195
|
-
"lazy",
|
|
196
|
-
"eager",
|
|
197
|
-
void 0
|
|
198
|
-
];
|
|
199
|
-
const INVALID_BACKGROUND_SIZE_VALUES = [
|
|
200
|
-
"-moz-initial",
|
|
201
|
-
"fill",
|
|
202
|
-
"none",
|
|
203
|
-
"scale-down",
|
|
204
|
-
void 0
|
|
205
|
-
];
|
|
206
|
-
function isStaticRequire(src) {
|
|
207
|
-
return src.default !== void 0;
|
|
208
|
-
}
|
|
209
|
-
function isStaticImageData(src) {
|
|
210
|
-
return src.src !== void 0;
|
|
211
|
-
}
|
|
212
|
-
function isStaticImport(src) {
|
|
213
|
-
return !!src && typeof src === "object" && (isStaticRequire(src) || isStaticImageData(src));
|
|
214
|
-
}
|
|
215
|
-
const allImgs = /* @__PURE__ */ new Map();
|
|
216
|
-
let perfObserver;
|
|
217
|
-
function getInt(x) {
|
|
218
|
-
if (typeof x === "undefined") {
|
|
219
|
-
return x;
|
|
220
|
-
}
|
|
221
|
-
if (typeof x === "number") {
|
|
222
|
-
return Number.isFinite(x) ? x : NaN;
|
|
223
|
-
}
|
|
224
|
-
if (typeof x === "string" && /^[0-9]+$/.test(x)) {
|
|
225
|
-
return parseInt(x, 10);
|
|
226
|
-
}
|
|
227
|
-
return NaN;
|
|
228
|
-
}
|
|
229
|
-
function getWidths({ deviceSizes, allSizes }, width, sizes) {
|
|
230
|
-
if (sizes) {
|
|
231
|
-
const viewportWidthRe = /(^|\s)(1?\d?\d)vw/g;
|
|
232
|
-
const percentSizes = [];
|
|
233
|
-
for (let match; match = viewportWidthRe.exec(sizes); match) {
|
|
234
|
-
percentSizes.push(parseInt(match[2]));
|
|
235
|
-
}
|
|
236
|
-
if (percentSizes.length) {
|
|
237
|
-
const smallestRatio = Math.min(...percentSizes) * 0.01;
|
|
238
|
-
return {
|
|
239
|
-
widths: allSizes.filter((s) => s >= deviceSizes[0] * smallestRatio),
|
|
240
|
-
kind: "w"
|
|
241
|
-
};
|
|
242
|
-
}
|
|
243
|
-
return {
|
|
244
|
-
widths: allSizes,
|
|
245
|
-
kind: "w"
|
|
246
|
-
};
|
|
247
|
-
}
|
|
248
|
-
if (typeof width !== "number") {
|
|
249
|
-
return {
|
|
250
|
-
widths: deviceSizes,
|
|
251
|
-
kind: "w"
|
|
252
|
-
};
|
|
253
|
-
}
|
|
254
|
-
const widths = [
|
|
255
|
-
...new Set(
|
|
256
|
-
// > This means that most OLED screens that say they are 3x resolution,
|
|
257
|
-
// > are actually 3x in the green color, but only 1.5x in the red and
|
|
258
|
-
// > blue colors. Showing a 3x resolution image in the app vs a 2x
|
|
259
|
-
// > resolution image will be visually the same, though the 3x image
|
|
260
|
-
// > takes significantly more data. Even true 3x resolution screens are
|
|
261
|
-
// > wasteful as the human eye cannot see that level of detail without
|
|
262
|
-
// > something like a magnifying glass.
|
|
263
|
-
// https://blog.twitter.com/engineering/en_us/topics/infrastructure/2019/capping-image-fidelity-on-ultra-high-resolution-devices.html
|
|
264
|
-
[
|
|
265
|
-
width,
|
|
266
|
-
width * 2
|
|
267
|
-
/*, width * 3*/
|
|
268
|
-
].map((w) => allSizes.find((p) => p >= w) || allSizes[allSizes.length - 1])
|
|
269
|
-
)
|
|
270
|
-
];
|
|
271
|
-
return {
|
|
272
|
-
widths,
|
|
273
|
-
kind: "x"
|
|
274
|
-
};
|
|
275
|
-
}
|
|
276
|
-
function generateImgAttrs({ config, src, unoptimized, width, quality, sizes, loader }) {
|
|
277
|
-
if (unoptimized) {
|
|
278
|
-
const deploymentId2 = (0, _deploymentid.getDeploymentId)();
|
|
279
|
-
if (src.startsWith("/") && !src.startsWith("//") && deploymentId2) {
|
|
280
|
-
const sep = src.includes("?") ? "&" : "?";
|
|
281
|
-
src = `${src}${sep}dpl=${deploymentId2}`;
|
|
282
|
-
}
|
|
283
|
-
return {
|
|
284
|
-
src,
|
|
285
|
-
srcSet: void 0,
|
|
286
|
-
sizes: void 0
|
|
287
|
-
};
|
|
288
|
-
}
|
|
289
|
-
const { widths, kind } = getWidths(config, width, sizes);
|
|
290
|
-
const last = widths.length - 1;
|
|
291
|
-
return {
|
|
292
|
-
sizes: !sizes && kind === "w" ? "100vw" : sizes,
|
|
293
|
-
srcSet: widths.map((w, i) => `${loader({
|
|
294
|
-
config,
|
|
295
|
-
src,
|
|
296
|
-
quality,
|
|
297
|
-
width: w
|
|
298
|
-
})} ${kind === "w" ? w : i + 1}${kind}`).join(", "),
|
|
299
|
-
// It's intended to keep `src` the last attribute because React updates
|
|
300
|
-
// attributes in order. If we keep `src` the first one, Safari will
|
|
301
|
-
// immediately start to fetch `src`, before `sizes` and `srcSet` are even
|
|
302
|
-
// updated by React. That causes multiple unnecessary requests if `srcSet`
|
|
303
|
-
// and `sizes` are defined.
|
|
304
|
-
// This bug cannot be reproduced in Chrome or Firefox.
|
|
305
|
-
src: loader({
|
|
306
|
-
config,
|
|
307
|
-
src,
|
|
308
|
-
quality,
|
|
309
|
-
width: widths[last]
|
|
310
|
-
})
|
|
311
|
-
};
|
|
312
|
-
}
|
|
313
|
-
function getImgProps2({ src, sizes, unoptimized = false, priority = false, preload = false, loading, className, quality, width, height, fill = false, style, overrideSrc, onLoad, onLoadingComplete, placeholder = "empty", blurDataURL, fetchPriority, decoding = "async", layout, objectFit, objectPosition, lazyBoundary, lazyRoot, ...rest }, _state) {
|
|
314
|
-
var _a;
|
|
315
|
-
const { imgConf, showAltText, blurComplete, defaultLoader } = _state;
|
|
316
|
-
let config;
|
|
317
|
-
let c = imgConf || _imageconfig.imageConfigDefault;
|
|
318
|
-
if ("allSizes" in c) {
|
|
319
|
-
config = c;
|
|
320
|
-
} else {
|
|
321
|
-
const allSizes = [
|
|
322
|
-
...c.deviceSizes,
|
|
323
|
-
...c.imageSizes
|
|
324
|
-
].sort((a, b) => a - b);
|
|
325
|
-
const deviceSizes = c.deviceSizes.sort((a, b) => a - b);
|
|
326
|
-
const qualities = (_a = c.qualities) == null ? void 0 : _a.sort((a, b) => a - b);
|
|
327
|
-
config = {
|
|
328
|
-
...c,
|
|
329
|
-
allSizes,
|
|
330
|
-
deviceSizes,
|
|
331
|
-
qualities
|
|
332
|
-
};
|
|
333
|
-
}
|
|
334
|
-
if (typeof defaultLoader === "undefined") {
|
|
335
|
-
throw Object.defineProperty(new Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"), "__NEXT_ERROR_CODE", {
|
|
336
|
-
value: "E163",
|
|
337
|
-
enumerable: false,
|
|
338
|
-
configurable: true
|
|
339
|
-
});
|
|
340
|
-
}
|
|
341
|
-
let loader = rest.loader || defaultLoader;
|
|
342
|
-
delete rest.loader;
|
|
343
|
-
delete rest.srcSet;
|
|
344
|
-
const isDefaultLoader = "__next_img_default" in loader;
|
|
345
|
-
if (isDefaultLoader) {
|
|
346
|
-
if (config.loader === "custom") {
|
|
347
|
-
throw Object.defineProperty(new Error(`Image with src "${src}" is missing "loader" prop.
|
|
348
|
-
Read more: https://nextjs.org/docs/messages/next-image-missing-loader`), "__NEXT_ERROR_CODE", {
|
|
349
|
-
value: "E252",
|
|
350
|
-
enumerable: false,
|
|
351
|
-
configurable: true
|
|
352
|
-
});
|
|
353
|
-
}
|
|
354
|
-
} else {
|
|
355
|
-
const customImageLoader = loader;
|
|
356
|
-
loader = (obj) => {
|
|
357
|
-
const { config: _, ...opts } = obj;
|
|
358
|
-
return customImageLoader(opts);
|
|
359
|
-
};
|
|
360
|
-
}
|
|
361
|
-
if (layout) {
|
|
362
|
-
if (layout === "fill") {
|
|
363
|
-
fill = true;
|
|
364
|
-
}
|
|
365
|
-
const layoutToStyle = {
|
|
366
|
-
intrinsic: {
|
|
367
|
-
maxWidth: "100%",
|
|
368
|
-
height: "auto"
|
|
369
|
-
},
|
|
370
|
-
responsive: {
|
|
371
|
-
width: "100%",
|
|
372
|
-
height: "auto"
|
|
373
|
-
}
|
|
374
|
-
};
|
|
375
|
-
const layoutToSizes = {
|
|
376
|
-
responsive: "100vw",
|
|
377
|
-
fill: "100vw"
|
|
378
|
-
};
|
|
379
|
-
const layoutStyle = layoutToStyle[layout];
|
|
380
|
-
if (layoutStyle) {
|
|
381
|
-
style = {
|
|
382
|
-
...style,
|
|
383
|
-
...layoutStyle
|
|
384
|
-
};
|
|
385
|
-
}
|
|
386
|
-
const layoutSizes = layoutToSizes[layout];
|
|
387
|
-
if (layoutSizes && !sizes) {
|
|
388
|
-
sizes = layoutSizes;
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
let staticSrc = "";
|
|
392
|
-
let widthInt = getInt(width);
|
|
393
|
-
let heightInt = getInt(height);
|
|
394
|
-
let blurWidth;
|
|
395
|
-
let blurHeight;
|
|
396
|
-
if (isStaticImport(src)) {
|
|
397
|
-
const staticImageData = isStaticRequire(src) ? src.default : src;
|
|
398
|
-
if (!staticImageData.src) {
|
|
399
|
-
throw Object.defineProperty(new Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(staticImageData)}`), "__NEXT_ERROR_CODE", {
|
|
400
|
-
value: "E460",
|
|
401
|
-
enumerable: false,
|
|
402
|
-
configurable: true
|
|
403
|
-
});
|
|
404
|
-
}
|
|
405
|
-
if (!staticImageData.height || !staticImageData.width) {
|
|
406
|
-
throw Object.defineProperty(new Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(staticImageData)}`), "__NEXT_ERROR_CODE", {
|
|
407
|
-
value: "E48",
|
|
408
|
-
enumerable: false,
|
|
409
|
-
configurable: true
|
|
410
|
-
});
|
|
411
|
-
}
|
|
412
|
-
blurWidth = staticImageData.blurWidth;
|
|
413
|
-
blurHeight = staticImageData.blurHeight;
|
|
414
|
-
blurDataURL = blurDataURL || staticImageData.blurDataURL;
|
|
415
|
-
staticSrc = staticImageData.src;
|
|
416
|
-
if (!fill) {
|
|
417
|
-
if (!widthInt && !heightInt) {
|
|
418
|
-
widthInt = staticImageData.width;
|
|
419
|
-
heightInt = staticImageData.height;
|
|
420
|
-
} else if (widthInt && !heightInt) {
|
|
421
|
-
const ratio = widthInt / staticImageData.width;
|
|
422
|
-
heightInt = Math.round(staticImageData.height * ratio);
|
|
423
|
-
} else if (!widthInt && heightInt) {
|
|
424
|
-
const ratio = heightInt / staticImageData.height;
|
|
425
|
-
widthInt = Math.round(staticImageData.width * ratio);
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
}
|
|
429
|
-
src = typeof src === "string" ? src : staticSrc;
|
|
430
|
-
let isLazy = !priority && !preload && (loading === "lazy" || typeof loading === "undefined");
|
|
431
|
-
if (!src || src.startsWith("data:") || src.startsWith("blob:")) {
|
|
432
|
-
unoptimized = true;
|
|
433
|
-
isLazy = false;
|
|
434
|
-
}
|
|
435
|
-
if (config.unoptimized) {
|
|
436
|
-
unoptimized = true;
|
|
437
|
-
}
|
|
438
|
-
if (isDefaultLoader && !config.dangerouslyAllowSVG && src.split("?", 1)[0].endsWith(".svg")) {
|
|
439
|
-
unoptimized = true;
|
|
440
|
-
}
|
|
441
|
-
const qualityInt = getInt(quality);
|
|
442
|
-
if (process.env.NODE_ENV !== "production") {
|
|
443
|
-
if (config.output === "export" && isDefaultLoader && !unoptimized) {
|
|
444
|
-
throw Object.defineProperty(new Error(`Image Optimization using the default loader is not compatible with \`{ output: 'export' }\`.
|
|
445
|
-
Possible solutions:
|
|
446
|
-
- Remove \`{ output: 'export' }\` and run "next start" to run server mode including the Image Optimization API.
|
|
447
|
-
- Configure \`{ images: { unoptimized: true } }\` in \`next.config.js\` to disable the Image Optimization API.
|
|
448
|
-
Read more: https://nextjs.org/docs/messages/export-image-api`), "__NEXT_ERROR_CODE", {
|
|
449
|
-
value: "E500",
|
|
450
|
-
enumerable: false,
|
|
451
|
-
configurable: true
|
|
452
|
-
});
|
|
453
|
-
}
|
|
454
|
-
if (!src) {
|
|
455
|
-
unoptimized = true;
|
|
456
|
-
} else {
|
|
457
|
-
if (fill) {
|
|
458
|
-
if (width) {
|
|
459
|
-
throw Object.defineProperty(new Error(`Image with src "${src}" has both "width" and "fill" properties. Only one should be used.`), "__NEXT_ERROR_CODE", {
|
|
460
|
-
value: "E96",
|
|
461
|
-
enumerable: false,
|
|
462
|
-
configurable: true
|
|
463
|
-
});
|
|
464
|
-
}
|
|
465
|
-
if (height) {
|
|
466
|
-
throw Object.defineProperty(new Error(`Image with src "${src}" has both "height" and "fill" properties. Only one should be used.`), "__NEXT_ERROR_CODE", {
|
|
467
|
-
value: "E115",
|
|
468
|
-
enumerable: false,
|
|
469
|
-
configurable: true
|
|
470
|
-
});
|
|
471
|
-
}
|
|
472
|
-
if ((style == null ? void 0 : style.position) && style.position !== "absolute") {
|
|
473
|
-
throw Object.defineProperty(new Error(`Image with src "${src}" has both "fill" and "style.position" properties. Images with "fill" always use position absolute - it cannot be modified.`), "__NEXT_ERROR_CODE", {
|
|
474
|
-
value: "E216",
|
|
475
|
-
enumerable: false,
|
|
476
|
-
configurable: true
|
|
477
|
-
});
|
|
478
|
-
}
|
|
479
|
-
if ((style == null ? void 0 : style.width) && style.width !== "100%") {
|
|
480
|
-
throw Object.defineProperty(new Error(`Image with src "${src}" has both "fill" and "style.width" properties. Images with "fill" always use width 100% - it cannot be modified.`), "__NEXT_ERROR_CODE", {
|
|
481
|
-
value: "E73",
|
|
482
|
-
enumerable: false,
|
|
483
|
-
configurable: true
|
|
484
|
-
});
|
|
485
|
-
}
|
|
486
|
-
if ((style == null ? void 0 : style.height) && style.height !== "100%") {
|
|
487
|
-
throw Object.defineProperty(new Error(`Image with src "${src}" has both "fill" and "style.height" properties. Images with "fill" always use height 100% - it cannot be modified.`), "__NEXT_ERROR_CODE", {
|
|
488
|
-
value: "E404",
|
|
489
|
-
enumerable: false,
|
|
490
|
-
configurable: true
|
|
491
|
-
});
|
|
492
|
-
}
|
|
493
|
-
} else {
|
|
494
|
-
if (typeof widthInt === "undefined") {
|
|
495
|
-
throw Object.defineProperty(new Error(`Image with src "${src}" is missing required "width" property.`), "__NEXT_ERROR_CODE", {
|
|
496
|
-
value: "E451",
|
|
497
|
-
enumerable: false,
|
|
498
|
-
configurable: true
|
|
499
|
-
});
|
|
500
|
-
} else if (isNaN(widthInt)) {
|
|
501
|
-
throw Object.defineProperty(new Error(`Image with src "${src}" has invalid "width" property. Expected a numeric value in pixels but received "${width}".`), "__NEXT_ERROR_CODE", {
|
|
502
|
-
value: "E66",
|
|
503
|
-
enumerable: false,
|
|
504
|
-
configurable: true
|
|
505
|
-
});
|
|
506
|
-
}
|
|
507
|
-
if (typeof heightInt === "undefined") {
|
|
508
|
-
throw Object.defineProperty(new Error(`Image with src "${src}" is missing required "height" property.`), "__NEXT_ERROR_CODE", {
|
|
509
|
-
value: "E397",
|
|
510
|
-
enumerable: false,
|
|
511
|
-
configurable: true
|
|
512
|
-
});
|
|
513
|
-
} else if (isNaN(heightInt)) {
|
|
514
|
-
throw Object.defineProperty(new Error(`Image with src "${src}" has invalid "height" property. Expected a numeric value in pixels but received "${height}".`), "__NEXT_ERROR_CODE", {
|
|
515
|
-
value: "E444",
|
|
516
|
-
enumerable: false,
|
|
517
|
-
configurable: true
|
|
518
|
-
});
|
|
519
|
-
}
|
|
520
|
-
if (/^[\x00-\x20]/.test(src)) {
|
|
521
|
-
throw Object.defineProperty(new Error(`Image with src "${src}" cannot start with a space or control character. Use src.trimStart() to remove it or encodeURIComponent(src) to keep it.`), "__NEXT_ERROR_CODE", {
|
|
522
|
-
value: "E176",
|
|
523
|
-
enumerable: false,
|
|
524
|
-
configurable: true
|
|
525
|
-
});
|
|
526
|
-
}
|
|
527
|
-
if (/[\x00-\x20]$/.test(src)) {
|
|
528
|
-
throw Object.defineProperty(new Error(`Image with src "${src}" cannot end with a space or control character. Use src.trimEnd() to remove it or encodeURIComponent(src) to keep it.`), "__NEXT_ERROR_CODE", {
|
|
529
|
-
value: "E21",
|
|
530
|
-
enumerable: false,
|
|
531
|
-
configurable: true
|
|
532
|
-
});
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
}
|
|
536
|
-
if (!VALID_LOADING_VALUES.includes(loading)) {
|
|
537
|
-
throw Object.defineProperty(new Error(`Image with src "${src}" has invalid "loading" property. Provided "${loading}" should be one of ${VALID_LOADING_VALUES.map(String).join(",")}.`), "__NEXT_ERROR_CODE", {
|
|
538
|
-
value: "E357",
|
|
539
|
-
enumerable: false,
|
|
540
|
-
configurable: true
|
|
541
|
-
});
|
|
542
|
-
}
|
|
543
|
-
if (priority && loading === "lazy") {
|
|
544
|
-
throw Object.defineProperty(new Error(`Image with src "${src}" has both "priority" and "loading='lazy'" properties. Only one should be used.`), "__NEXT_ERROR_CODE", {
|
|
545
|
-
value: "E218",
|
|
546
|
-
enumerable: false,
|
|
547
|
-
configurable: true
|
|
548
|
-
});
|
|
549
|
-
}
|
|
550
|
-
if (preload && loading === "lazy") {
|
|
551
|
-
throw Object.defineProperty(new Error(`Image with src "${src}" has both "preload" and "loading='lazy'" properties. Only one should be used.`), "__NEXT_ERROR_CODE", {
|
|
552
|
-
value: "E803",
|
|
553
|
-
enumerable: false,
|
|
554
|
-
configurable: true
|
|
555
|
-
});
|
|
556
|
-
}
|
|
557
|
-
if (preload && priority) {
|
|
558
|
-
throw Object.defineProperty(new Error(`Image with src "${src}" has both "preload" and "priority" properties. Only "preload" should be used.`), "__NEXT_ERROR_CODE", {
|
|
559
|
-
value: "E802",
|
|
560
|
-
enumerable: false,
|
|
561
|
-
configurable: true
|
|
562
|
-
});
|
|
563
|
-
}
|
|
564
|
-
if (placeholder !== "empty" && placeholder !== "blur" && !placeholder.startsWith("data:image/")) {
|
|
565
|
-
throw Object.defineProperty(new Error(`Image with src "${src}" has invalid "placeholder" property "${placeholder}".`), "__NEXT_ERROR_CODE", {
|
|
566
|
-
value: "E431",
|
|
567
|
-
enumerable: false,
|
|
568
|
-
configurable: true
|
|
569
|
-
});
|
|
570
|
-
}
|
|
571
|
-
if (placeholder !== "empty") {
|
|
572
|
-
if (widthInt && heightInt && widthInt * heightInt < 1600) {
|
|
573
|
-
(0, _warnonce.warnOnce)(`Image with src "${src}" is smaller than 40x40. Consider removing the "placeholder" property to improve performance.`);
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
if (qualityInt && config.qualities && !config.qualities.includes(qualityInt)) {
|
|
577
|
-
(0, _warnonce.warnOnce)(`Image with src "${src}" is using quality "${qualityInt}" which is not configured in images.qualities [${config.qualities.join(", ")}]. Please update your config to [${[
|
|
578
|
-
...config.qualities,
|
|
579
|
-
qualityInt
|
|
580
|
-
].sort().join(", ")}].
|
|
581
|
-
Read more: https://nextjs.org/docs/messages/next-image-unconfigured-qualities`);
|
|
582
|
-
}
|
|
583
|
-
if (placeholder === "blur" && !blurDataURL) {
|
|
584
|
-
const VALID_BLUR_EXT = [
|
|
585
|
-
"jpeg",
|
|
586
|
-
"png",
|
|
587
|
-
"webp",
|
|
588
|
-
"avif"
|
|
589
|
-
];
|
|
590
|
-
throw Object.defineProperty(new Error(`Image with src "${src}" has "placeholder='blur'" property but is missing the "blurDataURL" property.
|
|
591
|
-
Possible solutions:
|
|
592
|
-
- Add a "blurDataURL" property, the contents should be a small Data URL to represent the image
|
|
593
|
-
- Change the "src" property to a static import with one of the supported file types: ${VALID_BLUR_EXT.join(",")} (animated images not supported)
|
|
594
|
-
- Remove the "placeholder" property, effectively no blur effect
|
|
595
|
-
Read more: https://nextjs.org/docs/messages/placeholder-blur-data-url`), "__NEXT_ERROR_CODE", {
|
|
596
|
-
value: "E371",
|
|
597
|
-
enumerable: false,
|
|
598
|
-
configurable: true
|
|
599
|
-
});
|
|
600
|
-
}
|
|
601
|
-
if ("ref" in rest) {
|
|
602
|
-
(0, _warnonce.warnOnce)(`Image with src "${src}" is using unsupported "ref" property. Consider using the "onLoad" property instead.`);
|
|
603
|
-
}
|
|
604
|
-
if (!unoptimized && !isDefaultLoader) {
|
|
605
|
-
const urlStr = loader({
|
|
606
|
-
config,
|
|
607
|
-
src,
|
|
608
|
-
width: widthInt || 400,
|
|
609
|
-
quality: qualityInt || 75
|
|
610
|
-
});
|
|
611
|
-
let url;
|
|
612
|
-
try {
|
|
613
|
-
url = new URL(urlStr);
|
|
614
|
-
} catch (err) {
|
|
615
|
-
}
|
|
616
|
-
if (urlStr === src || url && url.pathname === src && !url.search) {
|
|
617
|
-
(0, _warnonce.warnOnce)(`Image with src "${src}" has a "loader" property that does not implement width. Please implement it or use the "unoptimized" property instead.
|
|
618
|
-
Read more: https://nextjs.org/docs/messages/next-image-missing-loader-width`);
|
|
619
|
-
}
|
|
620
|
-
}
|
|
621
|
-
if (onLoadingComplete) {
|
|
622
|
-
(0, _warnonce.warnOnce)(`Image with src "${src}" is using deprecated "onLoadingComplete" property. Please use the "onLoad" property instead.`);
|
|
623
|
-
}
|
|
624
|
-
for (const [legacyKey, legacyValue] of Object.entries({
|
|
625
|
-
layout,
|
|
626
|
-
objectFit,
|
|
627
|
-
objectPosition,
|
|
628
|
-
lazyBoundary,
|
|
629
|
-
lazyRoot
|
|
630
|
-
})) {
|
|
631
|
-
if (legacyValue) {
|
|
632
|
-
(0, _warnonce.warnOnce)(`Image with src "${src}" has legacy prop "${legacyKey}". Did you forget to run the codemod?
|
|
633
|
-
Read more: https://nextjs.org/docs/messages/next-image-upgrade-to-13`);
|
|
634
|
-
}
|
|
635
|
-
}
|
|
636
|
-
if (typeof window !== "undefined" && !perfObserver && window.PerformanceObserver) {
|
|
637
|
-
perfObserver = new PerformanceObserver((entryList) => {
|
|
638
|
-
var _a2;
|
|
639
|
-
for (const entry of entryList.getEntries()) {
|
|
640
|
-
const imgSrc = ((_a2 = entry == null ? void 0 : entry.element) == null ? void 0 : _a2.src) || "";
|
|
641
|
-
const lcpImage = allImgs.get(imgSrc);
|
|
642
|
-
if (lcpImage && lcpImage.loading === "lazy" && lcpImage.placeholder === "empty" && !lcpImage.src.startsWith("data:") && !lcpImage.src.startsWith("blob:")) {
|
|
643
|
-
(0, _warnonce.warnOnce)(`Image with src "${lcpImage.src}" was detected as the Largest Contentful Paint (LCP). Please add the \`loading="eager"\` property if this image is above the fold.
|
|
644
|
-
Read more: https://nextjs.org/docs/app/api-reference/components/image#loading`);
|
|
645
|
-
}
|
|
646
|
-
}
|
|
647
|
-
});
|
|
648
|
-
try {
|
|
649
|
-
perfObserver.observe({
|
|
650
|
-
type: "largest-contentful-paint",
|
|
651
|
-
buffered: true
|
|
652
|
-
});
|
|
653
|
-
} catch (err) {
|
|
654
|
-
console.error(err);
|
|
655
|
-
}
|
|
656
|
-
}
|
|
657
|
-
}
|
|
658
|
-
const imgStyle = Object.assign(fill ? {
|
|
659
|
-
position: "absolute",
|
|
660
|
-
height: "100%",
|
|
661
|
-
width: "100%",
|
|
662
|
-
left: 0,
|
|
663
|
-
top: 0,
|
|
664
|
-
right: 0,
|
|
665
|
-
bottom: 0,
|
|
666
|
-
objectFit,
|
|
667
|
-
objectPosition
|
|
668
|
-
} : {}, showAltText ? {} : {
|
|
669
|
-
color: "transparent"
|
|
670
|
-
}, style);
|
|
671
|
-
const backgroundImage = !blurComplete && placeholder !== "empty" ? placeholder === "blur" ? `url("data:image/svg+xml;charset=utf-8,${(0, _imageblursvg.getImageBlurSvg)({
|
|
672
|
-
widthInt,
|
|
673
|
-
heightInt,
|
|
674
|
-
blurWidth,
|
|
675
|
-
blurHeight,
|
|
676
|
-
blurDataURL: blurDataURL || "",
|
|
677
|
-
objectFit: imgStyle.objectFit
|
|
678
|
-
})}")` : `url("${placeholder}")` : null;
|
|
679
|
-
const backgroundSize = !INVALID_BACKGROUND_SIZE_VALUES.includes(imgStyle.objectFit) ? imgStyle.objectFit : imgStyle.objectFit === "fill" ? "100% 100%" : "cover";
|
|
680
|
-
let placeholderStyle = backgroundImage ? {
|
|
681
|
-
backgroundSize,
|
|
682
|
-
backgroundPosition: imgStyle.objectPosition || "50% 50%",
|
|
683
|
-
backgroundRepeat: "no-repeat",
|
|
684
|
-
backgroundImage
|
|
685
|
-
} : {};
|
|
686
|
-
if (process.env.NODE_ENV === "development") {
|
|
687
|
-
if (placeholderStyle.backgroundImage && placeholder === "blur" && (blurDataURL == null ? void 0 : blurDataURL.startsWith("/"))) {
|
|
688
|
-
placeholderStyle.backgroundImage = `url("${blurDataURL}")`;
|
|
689
|
-
}
|
|
690
|
-
}
|
|
691
|
-
const imgAttributes = generateImgAttrs({
|
|
692
|
-
config,
|
|
693
|
-
src,
|
|
694
|
-
unoptimized,
|
|
695
|
-
width: widthInt,
|
|
696
|
-
quality: qualityInt,
|
|
697
|
-
sizes,
|
|
698
|
-
loader
|
|
699
|
-
});
|
|
700
|
-
const loadingFinal = isLazy ? "lazy" : loading;
|
|
701
|
-
if (process.env.NODE_ENV !== "production") {
|
|
702
|
-
if (typeof window !== "undefined") {
|
|
703
|
-
let fullUrl;
|
|
704
|
-
try {
|
|
705
|
-
fullUrl = new URL(imgAttributes.src);
|
|
706
|
-
} catch (e) {
|
|
707
|
-
fullUrl = new URL(imgAttributes.src, window.location.href);
|
|
708
|
-
}
|
|
709
|
-
allImgs.set(fullUrl.href, {
|
|
710
|
-
src,
|
|
711
|
-
loading: loadingFinal,
|
|
712
|
-
placeholder
|
|
713
|
-
});
|
|
714
|
-
}
|
|
715
|
-
}
|
|
716
|
-
const props = {
|
|
717
|
-
...rest,
|
|
718
|
-
loading: loadingFinal,
|
|
719
|
-
fetchPriority,
|
|
720
|
-
width: widthInt,
|
|
721
|
-
height: heightInt,
|
|
722
|
-
decoding,
|
|
723
|
-
className,
|
|
724
|
-
style: {
|
|
725
|
-
...imgStyle,
|
|
726
|
-
...placeholderStyle
|
|
727
|
-
},
|
|
728
|
-
sizes: imgAttributes.sizes,
|
|
729
|
-
srcSet: imgAttributes.srcSet,
|
|
730
|
-
src: overrideSrc || imgAttributes.src
|
|
731
|
-
};
|
|
732
|
-
const meta = {
|
|
733
|
-
unoptimized,
|
|
734
|
-
preload: preload || priority,
|
|
735
|
-
placeholder,
|
|
736
|
-
fill
|
|
737
|
-
};
|
|
738
|
-
return {
|
|
739
|
-
props,
|
|
740
|
-
meta
|
|
741
|
-
};
|
|
742
|
-
}
|
|
743
|
-
})(getImgProps);
|
|
744
|
-
return getImgProps;
|
|
745
|
-
}
|
|
746
|
-
var imageComponent = { exports: {} };
|
|
747
|
-
var head = { exports: {} };
|
|
748
|
-
var sideEffect = {};
|
|
749
|
-
var hasRequiredSideEffect;
|
|
750
|
-
function requireSideEffect() {
|
|
751
|
-
if (hasRequiredSideEffect) return sideEffect;
|
|
752
|
-
hasRequiredSideEffect = 1;
|
|
753
|
-
(function(exports$1) {
|
|
754
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
755
|
-
value: true
|
|
756
|
-
});
|
|
757
|
-
Object.defineProperty(exports$1, "default", {
|
|
758
|
-
enumerable: true,
|
|
759
|
-
get: function() {
|
|
760
|
-
return SideEffect;
|
|
761
|
-
}
|
|
762
|
-
});
|
|
763
|
-
const _react = React;
|
|
764
|
-
const isServer = typeof window === "undefined";
|
|
765
|
-
const useClientOnlyLayoutEffect = isServer ? () => {
|
|
766
|
-
} : _react.useLayoutEffect;
|
|
767
|
-
const useClientOnlyEffect = isServer ? () => {
|
|
768
|
-
} : _react.useEffect;
|
|
769
|
-
function SideEffect(props) {
|
|
770
|
-
var _a;
|
|
771
|
-
const { headManager, reduceComponentsToState } = props;
|
|
772
|
-
function emitChange() {
|
|
773
|
-
if (headManager && headManager.mountedInstances) {
|
|
774
|
-
const headElements = _react.Children.toArray(Array.from(headManager.mountedInstances).filter(Boolean));
|
|
775
|
-
headManager.updateHead(reduceComponentsToState(headElements));
|
|
776
|
-
}
|
|
777
|
-
}
|
|
778
|
-
if (isServer) {
|
|
779
|
-
(_a = headManager == null ? void 0 : headManager.mountedInstances) == null ? void 0 : _a.add(props.children);
|
|
780
|
-
emitChange();
|
|
781
|
-
}
|
|
782
|
-
useClientOnlyLayoutEffect(() => {
|
|
783
|
-
var _a2;
|
|
784
|
-
(_a2 = headManager == null ? void 0 : headManager.mountedInstances) == null ? void 0 : _a2.add(props.children);
|
|
785
|
-
return () => {
|
|
786
|
-
var _a3;
|
|
787
|
-
(_a3 = headManager == null ? void 0 : headManager.mountedInstances) == null ? void 0 : _a3.delete(props.children);
|
|
788
|
-
};
|
|
789
|
-
});
|
|
790
|
-
useClientOnlyLayoutEffect(() => {
|
|
791
|
-
if (headManager) {
|
|
792
|
-
headManager._pendingUpdate = emitChange;
|
|
793
|
-
}
|
|
794
|
-
return () => {
|
|
795
|
-
if (headManager) {
|
|
796
|
-
headManager._pendingUpdate = emitChange;
|
|
797
|
-
}
|
|
798
|
-
};
|
|
799
|
-
});
|
|
800
|
-
useClientOnlyEffect(() => {
|
|
801
|
-
if (headManager && headManager._pendingUpdate) {
|
|
802
|
-
headManager._pendingUpdate();
|
|
803
|
-
headManager._pendingUpdate = null;
|
|
804
|
-
}
|
|
805
|
-
return () => {
|
|
806
|
-
if (headManager && headManager._pendingUpdate) {
|
|
807
|
-
headManager._pendingUpdate();
|
|
808
|
-
headManager._pendingUpdate = null;
|
|
809
|
-
}
|
|
810
|
-
};
|
|
811
|
-
});
|
|
812
|
-
return null;
|
|
813
|
-
}
|
|
814
|
-
})(sideEffect);
|
|
815
|
-
return sideEffect;
|
|
816
|
-
}
|
|
817
|
-
var headManagerContext_sharedRuntime = {};
|
|
818
|
-
var hasRequiredHeadManagerContext_sharedRuntime;
|
|
819
|
-
function requireHeadManagerContext_sharedRuntime() {
|
|
820
|
-
if (hasRequiredHeadManagerContext_sharedRuntime) return headManagerContext_sharedRuntime;
|
|
821
|
-
hasRequiredHeadManagerContext_sharedRuntime = 1;
|
|
822
|
-
(function(exports$1) {
|
|
823
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
824
|
-
value: true
|
|
825
|
-
});
|
|
826
|
-
Object.defineProperty(exports$1, "HeadManagerContext", {
|
|
827
|
-
enumerable: true,
|
|
828
|
-
get: function() {
|
|
829
|
-
return HeadManagerContext;
|
|
830
|
-
}
|
|
831
|
-
});
|
|
832
|
-
const _interop_require_default = /* @__PURE__ */ link.require_interop_require_default();
|
|
833
|
-
const _react = /* @__PURE__ */ _interop_require_default._(React);
|
|
834
|
-
const HeadManagerContext = _react.default.createContext({});
|
|
835
|
-
if (process.env.NODE_ENV !== "production") {
|
|
836
|
-
HeadManagerContext.displayName = "HeadManagerContext";
|
|
837
|
-
}
|
|
838
|
-
})(headManagerContext_sharedRuntime);
|
|
839
|
-
return headManagerContext_sharedRuntime;
|
|
840
|
-
}
|
|
841
|
-
var hasRequiredHead;
|
|
842
|
-
function requireHead() {
|
|
843
|
-
if (hasRequiredHead) return head.exports;
|
|
844
|
-
hasRequiredHead = 1;
|
|
845
|
-
(function(module2, exports$1) {
|
|
846
|
-
"use client";
|
|
847
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
848
|
-
value: true
|
|
849
|
-
});
|
|
850
|
-
function _export(target, all) {
|
|
851
|
-
for (var name in all) Object.defineProperty(target, name, {
|
|
852
|
-
enumerable: true,
|
|
853
|
-
get: all[name]
|
|
854
|
-
});
|
|
855
|
-
}
|
|
856
|
-
_export(exports$1, {
|
|
857
|
-
default: function() {
|
|
858
|
-
return _default;
|
|
859
|
-
},
|
|
860
|
-
defaultHead: function() {
|
|
861
|
-
return defaultHead;
|
|
862
|
-
}
|
|
863
|
-
});
|
|
864
|
-
const _interop_require_default = /* @__PURE__ */ link.require_interop_require_default();
|
|
865
|
-
const _interop_require_wildcard = /* @__PURE__ */ link.require_interop_require_wildcard();
|
|
866
|
-
const _jsxruntime = require$$2;
|
|
867
|
-
const _react = /* @__PURE__ */ _interop_require_wildcard._(React);
|
|
868
|
-
const _sideeffect = /* @__PURE__ */ _interop_require_default._(requireSideEffect());
|
|
869
|
-
const _headmanagercontextsharedruntime = requireHeadManagerContext_sharedRuntime();
|
|
870
|
-
const _warnonce = requireWarnOnce();
|
|
871
|
-
function defaultHead() {
|
|
872
|
-
const head2 = [
|
|
873
|
-
/* @__PURE__ */ (0, _jsxruntime.jsx)("meta", {
|
|
874
|
-
charSet: "utf-8"
|
|
875
|
-
}, "charset"),
|
|
876
|
-
/* @__PURE__ */ (0, _jsxruntime.jsx)("meta", {
|
|
877
|
-
name: "viewport",
|
|
878
|
-
content: "width=device-width"
|
|
879
|
-
}, "viewport")
|
|
880
|
-
];
|
|
881
|
-
return head2;
|
|
882
|
-
}
|
|
883
|
-
function onlyReactElement(list, child) {
|
|
884
|
-
if (typeof child === "string" || typeof child === "number") {
|
|
885
|
-
return list;
|
|
886
|
-
}
|
|
887
|
-
if (child.type === _react.default.Fragment) {
|
|
888
|
-
return list.concat(
|
|
889
|
-
// @ts-expect-error @types/react does not remove fragments but this could also return ReactPortal[]
|
|
890
|
-
_react.default.Children.toArray(child.props.children).reduce(
|
|
891
|
-
// @ts-expect-error @types/react does not remove fragments but this could also return ReactPortal[]
|
|
892
|
-
(fragmentList, fragmentChild) => {
|
|
893
|
-
if (typeof fragmentChild === "string" || typeof fragmentChild === "number") {
|
|
894
|
-
return fragmentList;
|
|
895
|
-
}
|
|
896
|
-
return fragmentList.concat(fragmentChild);
|
|
897
|
-
},
|
|
898
|
-
[]
|
|
899
|
-
)
|
|
900
|
-
);
|
|
901
|
-
}
|
|
902
|
-
return list.concat(child);
|
|
903
|
-
}
|
|
904
|
-
const METATYPES = [
|
|
905
|
-
"name",
|
|
906
|
-
"httpEquiv",
|
|
907
|
-
"charSet",
|
|
908
|
-
"itemProp"
|
|
909
|
-
];
|
|
910
|
-
function unique() {
|
|
911
|
-
const keys = /* @__PURE__ */ new Set();
|
|
912
|
-
const tags = /* @__PURE__ */ new Set();
|
|
913
|
-
const metaTypes = /* @__PURE__ */ new Set();
|
|
914
|
-
const metaCategories = {};
|
|
915
|
-
return (h) => {
|
|
916
|
-
let isUnique = true;
|
|
917
|
-
let hasKey = false;
|
|
918
|
-
if (h.key && typeof h.key !== "number" && h.key.indexOf("$") > 0) {
|
|
919
|
-
hasKey = true;
|
|
920
|
-
const key = h.key.slice(h.key.indexOf("$") + 1);
|
|
921
|
-
if (keys.has(key)) {
|
|
922
|
-
isUnique = false;
|
|
923
|
-
} else {
|
|
924
|
-
keys.add(key);
|
|
925
|
-
}
|
|
926
|
-
}
|
|
927
|
-
switch (h.type) {
|
|
928
|
-
case "title":
|
|
929
|
-
case "base":
|
|
930
|
-
if (tags.has(h.type)) {
|
|
931
|
-
isUnique = false;
|
|
932
|
-
} else {
|
|
933
|
-
tags.add(h.type);
|
|
934
|
-
}
|
|
935
|
-
break;
|
|
936
|
-
case "meta":
|
|
937
|
-
for (let i = 0, len = METATYPES.length; i < len; i++) {
|
|
938
|
-
const metatype = METATYPES[i];
|
|
939
|
-
if (!h.props.hasOwnProperty(metatype)) continue;
|
|
940
|
-
if (metatype === "charSet") {
|
|
941
|
-
if (metaTypes.has(metatype)) {
|
|
942
|
-
isUnique = false;
|
|
943
|
-
} else {
|
|
944
|
-
metaTypes.add(metatype);
|
|
945
|
-
}
|
|
946
|
-
} else {
|
|
947
|
-
const category = h.props[metatype];
|
|
948
|
-
const categories = metaCategories[metatype] || /* @__PURE__ */ new Set();
|
|
949
|
-
if ((metatype !== "name" || !hasKey) && categories.has(category)) {
|
|
950
|
-
isUnique = false;
|
|
951
|
-
} else {
|
|
952
|
-
categories.add(category);
|
|
953
|
-
metaCategories[metatype] = categories;
|
|
954
|
-
}
|
|
955
|
-
}
|
|
956
|
-
}
|
|
957
|
-
break;
|
|
958
|
-
}
|
|
959
|
-
return isUnique;
|
|
960
|
-
};
|
|
961
|
-
}
|
|
962
|
-
function reduceComponents(headChildrenElements) {
|
|
963
|
-
return headChildrenElements.reduce(onlyReactElement, []).reverse().concat(defaultHead().reverse()).filter(unique()).reverse().map((c, i) => {
|
|
964
|
-
const key = c.key || i;
|
|
965
|
-
if (process.env.NODE_ENV === "development") {
|
|
966
|
-
if (c.type === "script" && c.props["type"] !== "application/ld+json") {
|
|
967
|
-
const srcMessage = c.props["src"] ? `<script> tag with src="${c.props["src"]}"` : `inline <script>`;
|
|
968
|
-
(0, _warnonce.warnOnce)(`Do not add <script> tags using next/head (see ${srcMessage}). Use next/script instead.
|
|
969
|
-
See more info here: https://nextjs.org/docs/messages/no-script-tags-in-head-component`);
|
|
970
|
-
} else if (c.type === "link" && c.props["rel"] === "stylesheet") {
|
|
971
|
-
(0, _warnonce.warnOnce)(`Do not add stylesheets using next/head (see <link rel="stylesheet"> tag with href="${c.props["href"]}"). Use Document instead.
|
|
972
|
-
See more info here: https://nextjs.org/docs/messages/no-stylesheets-in-head-component`);
|
|
973
|
-
}
|
|
974
|
-
}
|
|
975
|
-
return /* @__PURE__ */ _react.default.cloneElement(c, {
|
|
976
|
-
key
|
|
977
|
-
});
|
|
978
|
-
});
|
|
979
|
-
}
|
|
980
|
-
function Head({ children }) {
|
|
981
|
-
const headManager = (0, _react.useContext)(_headmanagercontextsharedruntime.HeadManagerContext);
|
|
982
|
-
return /* @__PURE__ */ (0, _jsxruntime.jsx)(_sideeffect.default, {
|
|
983
|
-
reduceComponentsToState: reduceComponents,
|
|
984
|
-
headManager,
|
|
985
|
-
children
|
|
986
|
-
});
|
|
987
|
-
}
|
|
988
|
-
const _default = Head;
|
|
989
|
-
if ((typeof exports$1.default === "function" || typeof exports$1.default === "object" && exports$1.default !== null) && typeof exports$1.default.__esModule === "undefined") {
|
|
990
|
-
Object.defineProperty(exports$1.default, "__esModule", { value: true });
|
|
991
|
-
Object.assign(exports$1.default, exports$1);
|
|
992
|
-
module2.exports = exports$1.default;
|
|
993
|
-
}
|
|
994
|
-
})(head, head.exports);
|
|
995
|
-
return head.exports;
|
|
996
|
-
}
|
|
997
|
-
var imageConfigContext_sharedRuntime = {};
|
|
998
|
-
var hasRequiredImageConfigContext_sharedRuntime;
|
|
999
|
-
function requireImageConfigContext_sharedRuntime() {
|
|
1000
|
-
if (hasRequiredImageConfigContext_sharedRuntime) return imageConfigContext_sharedRuntime;
|
|
1001
|
-
hasRequiredImageConfigContext_sharedRuntime = 1;
|
|
1002
|
-
(function(exports$1) {
|
|
1003
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
1004
|
-
value: true
|
|
1005
|
-
});
|
|
1006
|
-
Object.defineProperty(exports$1, "ImageConfigContext", {
|
|
1007
|
-
enumerable: true,
|
|
1008
|
-
get: function() {
|
|
1009
|
-
return ImageConfigContext;
|
|
1010
|
-
}
|
|
1011
|
-
});
|
|
1012
|
-
const _interop_require_default = /* @__PURE__ */ link.require_interop_require_default();
|
|
1013
|
-
const _react = /* @__PURE__ */ _interop_require_default._(React);
|
|
1014
|
-
const _imageconfig = requireImageConfig();
|
|
1015
|
-
const ImageConfigContext = _react.default.createContext(_imageconfig.imageConfigDefault);
|
|
1016
|
-
if (process.env.NODE_ENV !== "production") {
|
|
1017
|
-
ImageConfigContext.displayName = "ImageConfigContext";
|
|
1018
|
-
}
|
|
1019
|
-
})(imageConfigContext_sharedRuntime);
|
|
1020
|
-
return imageConfigContext_sharedRuntime;
|
|
1021
|
-
}
|
|
1022
|
-
var imageLoader = {};
|
|
1023
|
-
var findClosestQuality = {};
|
|
1024
|
-
var hasRequiredFindClosestQuality;
|
|
1025
|
-
function requireFindClosestQuality() {
|
|
1026
|
-
if (hasRequiredFindClosestQuality) return findClosestQuality;
|
|
1027
|
-
hasRequiredFindClosestQuality = 1;
|
|
1028
|
-
(function(exports$1) {
|
|
1029
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
1030
|
-
value: true
|
|
1031
|
-
});
|
|
1032
|
-
Object.defineProperty(exports$1, "findClosestQuality", {
|
|
1033
|
-
enumerable: true,
|
|
1034
|
-
get: function() {
|
|
1035
|
-
return findClosestQuality2;
|
|
1036
|
-
}
|
|
1037
|
-
});
|
|
1038
|
-
function findClosestQuality2(quality, config) {
|
|
1039
|
-
var _a;
|
|
1040
|
-
const q = quality || 75;
|
|
1041
|
-
if (!((_a = config == null ? void 0 : config.qualities) == null ? void 0 : _a.length)) {
|
|
1042
|
-
return q;
|
|
1043
|
-
}
|
|
1044
|
-
return config.qualities.reduce((prev, cur) => Math.abs(cur - q) < Math.abs(prev - q) ? cur : prev, 0);
|
|
1045
|
-
}
|
|
1046
|
-
})(findClosestQuality);
|
|
1047
|
-
return findClosestQuality;
|
|
1048
|
-
}
|
|
1049
|
-
var matchLocalPattern = {};
|
|
1050
|
-
var picomatch = { exports: {} };
|
|
1051
|
-
var hasRequiredPicomatch;
|
|
1052
|
-
function requirePicomatch() {
|
|
1053
|
-
if (hasRequiredPicomatch) return picomatch.exports;
|
|
1054
|
-
hasRequiredPicomatch = 1;
|
|
1055
|
-
(() => {
|
|
1056
|
-
var t = { 170: (t2, e2, u2) => {
|
|
1057
|
-
const n = u2(510);
|
|
1058
|
-
const isWindows = () => {
|
|
1059
|
-
if (typeof navigator !== "undefined" && navigator.platform) {
|
|
1060
|
-
const t3 = navigator.platform.toLowerCase();
|
|
1061
|
-
return t3 === "win32" || t3 === "windows";
|
|
1062
|
-
}
|
|
1063
|
-
if (typeof process !== "undefined" && process.platform) {
|
|
1064
|
-
return process.platform === "win32";
|
|
1065
|
-
}
|
|
1066
|
-
return false;
|
|
1067
|
-
};
|
|
1068
|
-
function picomatch2(t3, e3, u3 = false) {
|
|
1069
|
-
if (e3 && (e3.windows === null || e3.windows === void 0)) {
|
|
1070
|
-
e3 = { ...e3, windows: isWindows() };
|
|
1071
|
-
}
|
|
1072
|
-
return n(t3, e3, u3);
|
|
1073
|
-
}
|
|
1074
|
-
Object.assign(picomatch2, n);
|
|
1075
|
-
t2.exports = picomatch2;
|
|
1076
|
-
}, 154: (t2) => {
|
|
1077
|
-
const e2 = "\\\\/";
|
|
1078
|
-
const u2 = `[^${e2}]`;
|
|
1079
|
-
const n = "\\.";
|
|
1080
|
-
const o = "\\+";
|
|
1081
|
-
const s = "\\?";
|
|
1082
|
-
const r = "\\/";
|
|
1083
|
-
const a = "(?=.)";
|
|
1084
|
-
const i = "[^/]";
|
|
1085
|
-
const c = `(?:${r}|$)`;
|
|
1086
|
-
const p = `(?:^|${r})`;
|
|
1087
|
-
const l = `${n}{1,2}${c}`;
|
|
1088
|
-
const f = `(?!${n})`;
|
|
1089
|
-
const A = `(?!${p}${l})`;
|
|
1090
|
-
const _ = `(?!${n}{0,1}${c})`;
|
|
1091
|
-
const R = `(?!${l})`;
|
|
1092
|
-
const E = `[^.${r}]`;
|
|
1093
|
-
const h = `${i}*?`;
|
|
1094
|
-
const g = "/";
|
|
1095
|
-
const b = { DOT_LITERAL: n, PLUS_LITERAL: o, QMARK_LITERAL: s, SLASH_LITERAL: r, ONE_CHAR: a, QMARK: i, END_ANCHOR: c, DOTS_SLASH: l, NO_DOT: f, NO_DOTS: A, NO_DOT_SLASH: _, NO_DOTS_SLASH: R, QMARK_NO_DOT: E, STAR: h, START_ANCHOR: p, SEP: g };
|
|
1096
|
-
const C = { ...b, SLASH_LITERAL: `[${e2}]`, QMARK: u2, STAR: `${u2}*?`, DOTS_SLASH: `${n}{1,2}(?:[${e2}]|$)`, NO_DOT: `(?!${n})`, NO_DOTS: `(?!(?:^|[${e2}])${n}{1,2}(?:[${e2}]|$))`, NO_DOT_SLASH: `(?!${n}{0,1}(?:[${e2}]|$))`, NO_DOTS_SLASH: `(?!${n}{1,2}(?:[${e2}]|$))`, QMARK_NO_DOT: `[^.${e2}]`, START_ANCHOR: `(?:^|[${e2}])`, END_ANCHOR: `(?:[${e2}]|$)`, SEP: "\\" };
|
|
1097
|
-
const y = { alnum: "a-zA-Z0-9", alpha: "a-zA-Z", ascii: "\\x00-\\x7F", blank: " \\t", cntrl: "\\x00-\\x1F\\x7F", digit: "0-9", graph: "\\x21-\\x7E", lower: "a-z", print: "\\x20-\\x7E ", punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~", space: " \\t\\r\\n\\v\\f", upper: "A-Z", word: "A-Za-z0-9_", xdigit: "A-Fa-f0-9" };
|
|
1098
|
-
t2.exports = { MAX_LENGTH: 1024 * 64, POSIX_REGEX_SOURCE: y, REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g, REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/, REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/, REGEX_SPECIAL_CHARS_BACKREF: /(\\?)((\W)(\3*))/g, REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\]])/g, REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g, REPLACEMENTS: { "***": "*", "**/**": "**", "**/**/**": "**" }, CHAR_0: 48, CHAR_9: 57, CHAR_UPPERCASE_A: 65, CHAR_LOWERCASE_A: 97, CHAR_UPPERCASE_Z: 90, CHAR_LOWERCASE_Z: 122, CHAR_LEFT_PARENTHESES: 40, CHAR_RIGHT_PARENTHESES: 41, CHAR_ASTERISK: 42, CHAR_AMPERSAND: 38, CHAR_AT: 64, CHAR_BACKWARD_SLASH: 92, CHAR_CARRIAGE_RETURN: 13, CHAR_CIRCUMFLEX_ACCENT: 94, CHAR_COLON: 58, CHAR_COMMA: 44, CHAR_DOT: 46, CHAR_DOUBLE_QUOTE: 34, CHAR_EQUAL: 61, CHAR_EXCLAMATION_MARK: 33, CHAR_FORM_FEED: 12, CHAR_FORWARD_SLASH: 47, CHAR_GRAVE_ACCENT: 96, CHAR_HASH: 35, CHAR_HYPHEN_MINUS: 45, CHAR_LEFT_ANGLE_BRACKET: 60, CHAR_LEFT_CURLY_BRACE: 123, CHAR_LEFT_SQUARE_BRACKET: 91, CHAR_LINE_FEED: 10, CHAR_NO_BREAK_SPACE: 160, CHAR_PERCENT: 37, CHAR_PLUS: 43, CHAR_QUESTION_MARK: 63, CHAR_RIGHT_ANGLE_BRACKET: 62, CHAR_RIGHT_CURLY_BRACE: 125, CHAR_RIGHT_SQUARE_BRACKET: 93, CHAR_SEMICOLON: 59, CHAR_SINGLE_QUOTE: 39, CHAR_SPACE: 32, CHAR_TAB: 9, CHAR_UNDERSCORE: 95, CHAR_VERTICAL_LINE: 124, CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279, extglobChars(t3) {
|
|
1099
|
-
return { "!": { type: "negate", open: "(?:(?!(?:", close: `))${t3.STAR})` }, "?": { type: "qmark", open: "(?:", close: ")?" }, "+": { type: "plus", open: "(?:", close: ")+" }, "*": { type: "star", open: "(?:", close: ")*" }, "@": { type: "at", open: "(?:", close: ")" } };
|
|
1100
|
-
}, globChars(t3) {
|
|
1101
|
-
return t3 === true ? C : b;
|
|
1102
|
-
} };
|
|
1103
|
-
}, 697: (t2, e2, u2) => {
|
|
1104
|
-
const n = u2(154);
|
|
1105
|
-
const o = u2(96);
|
|
1106
|
-
const { MAX_LENGTH: s, POSIX_REGEX_SOURCE: r, REGEX_NON_SPECIAL_CHARS: a, REGEX_SPECIAL_CHARS_BACKREF: i, REPLACEMENTS: c } = n;
|
|
1107
|
-
const expandRange = (t3, e3) => {
|
|
1108
|
-
if (typeof e3.expandRange === "function") {
|
|
1109
|
-
return e3.expandRange(...t3, e3);
|
|
1110
|
-
}
|
|
1111
|
-
t3.sort();
|
|
1112
|
-
const u3 = `[${t3.join("-")}]`;
|
|
1113
|
-
try {
|
|
1114
|
-
new RegExp(u3);
|
|
1115
|
-
} catch (e4) {
|
|
1116
|
-
return t3.map(((t4) => o.escapeRegex(t4))).join("..");
|
|
1117
|
-
}
|
|
1118
|
-
return u3;
|
|
1119
|
-
};
|
|
1120
|
-
const syntaxError = (t3, e3) => `Missing ${t3}: "${e3}" - use "\\\\${e3}" to match literal characters`;
|
|
1121
|
-
const parse = (t3, e3) => {
|
|
1122
|
-
if (typeof t3 !== "string") {
|
|
1123
|
-
throw new TypeError("Expected a string");
|
|
1124
|
-
}
|
|
1125
|
-
t3 = c[t3] || t3;
|
|
1126
|
-
const u3 = { ...e3 };
|
|
1127
|
-
const p = typeof u3.maxLength === "number" ? Math.min(s, u3.maxLength) : s;
|
|
1128
|
-
let l = t3.length;
|
|
1129
|
-
if (l > p) {
|
|
1130
|
-
throw new SyntaxError(`Input length: ${l}, exceeds maximum allowed length: ${p}`);
|
|
1131
|
-
}
|
|
1132
|
-
const f = { type: "bos", value: "", output: u3.prepend || "" };
|
|
1133
|
-
const A = [f];
|
|
1134
|
-
const _ = u3.capture ? "" : "?:";
|
|
1135
|
-
const R = n.globChars(u3.windows);
|
|
1136
|
-
const E = n.extglobChars(R);
|
|
1137
|
-
const { DOT_LITERAL: h, PLUS_LITERAL: g, SLASH_LITERAL: b, ONE_CHAR: C, DOTS_SLASH: y, NO_DOT: $, NO_DOT_SLASH: x, NO_DOTS_SLASH: S, QMARK: H, QMARK_NO_DOT: v, STAR: d, START_ANCHOR: L } = R;
|
|
1138
|
-
const globstar = (t4) => `(${_}(?:(?!${L}${t4.dot ? y : h}).)*?)`;
|
|
1139
|
-
const T = u3.dot ? "" : $;
|
|
1140
|
-
const O = u3.dot ? H : v;
|
|
1141
|
-
let k = u3.bash === true ? globstar(u3) : d;
|
|
1142
|
-
if (u3.capture) {
|
|
1143
|
-
k = `(${k})`;
|
|
1144
|
-
}
|
|
1145
|
-
if (typeof u3.noext === "boolean") {
|
|
1146
|
-
u3.noextglob = u3.noext;
|
|
1147
|
-
}
|
|
1148
|
-
const m = { input: t3, index: -1, start: 0, dot: u3.dot === true, consumed: "", output: "", prefix: "", backtrack: false, negated: false, brackets: 0, braces: 0, parens: 0, quotes: 0, globstar: false, tokens: A };
|
|
1149
|
-
t3 = o.removePrefix(t3, m);
|
|
1150
|
-
l = t3.length;
|
|
1151
|
-
const w = [];
|
|
1152
|
-
const N = [];
|
|
1153
|
-
const I = [];
|
|
1154
|
-
let B = f;
|
|
1155
|
-
let G;
|
|
1156
|
-
const eos = () => m.index === l - 1;
|
|
1157
|
-
const D = m.peek = (e4 = 1) => t3[m.index + e4];
|
|
1158
|
-
const M = m.advance = () => t3[++m.index] || "";
|
|
1159
|
-
const remaining = () => t3.slice(m.index + 1);
|
|
1160
|
-
const consume = (t4 = "", e4 = 0) => {
|
|
1161
|
-
m.consumed += t4;
|
|
1162
|
-
m.index += e4;
|
|
1163
|
-
};
|
|
1164
|
-
const append = (t4) => {
|
|
1165
|
-
m.output += t4.output != null ? t4.output : t4.value;
|
|
1166
|
-
consume(t4.value);
|
|
1167
|
-
};
|
|
1168
|
-
const negate = () => {
|
|
1169
|
-
let t4 = 1;
|
|
1170
|
-
while (D() === "!" && (D(2) !== "(" || D(3) === "?")) {
|
|
1171
|
-
M();
|
|
1172
|
-
m.start++;
|
|
1173
|
-
t4++;
|
|
1174
|
-
}
|
|
1175
|
-
if (t4 % 2 === 0) {
|
|
1176
|
-
return false;
|
|
1177
|
-
}
|
|
1178
|
-
m.negated = true;
|
|
1179
|
-
m.start++;
|
|
1180
|
-
return true;
|
|
1181
|
-
};
|
|
1182
|
-
const increment = (t4) => {
|
|
1183
|
-
m[t4]++;
|
|
1184
|
-
I.push(t4);
|
|
1185
|
-
};
|
|
1186
|
-
const decrement = (t4) => {
|
|
1187
|
-
m[t4]--;
|
|
1188
|
-
I.pop();
|
|
1189
|
-
};
|
|
1190
|
-
const push = (t4) => {
|
|
1191
|
-
if (B.type === "globstar") {
|
|
1192
|
-
const e4 = m.braces > 0 && (t4.type === "comma" || t4.type === "brace");
|
|
1193
|
-
const u4 = t4.extglob === true || w.length && (t4.type === "pipe" || t4.type === "paren");
|
|
1194
|
-
if (t4.type !== "slash" && t4.type !== "paren" && !e4 && !u4) {
|
|
1195
|
-
m.output = m.output.slice(0, -B.output.length);
|
|
1196
|
-
B.type = "star";
|
|
1197
|
-
B.value = "*";
|
|
1198
|
-
B.output = k;
|
|
1199
|
-
m.output += B.output;
|
|
1200
|
-
}
|
|
1201
|
-
}
|
|
1202
|
-
if (w.length && t4.type !== "paren") {
|
|
1203
|
-
w[w.length - 1].inner += t4.value;
|
|
1204
|
-
}
|
|
1205
|
-
if (t4.value || t4.output) append(t4);
|
|
1206
|
-
if (B && B.type === "text" && t4.type === "text") {
|
|
1207
|
-
B.output = (B.output || B.value) + t4.value;
|
|
1208
|
-
B.value += t4.value;
|
|
1209
|
-
return;
|
|
1210
|
-
}
|
|
1211
|
-
t4.prev = B;
|
|
1212
|
-
A.push(t4);
|
|
1213
|
-
B = t4;
|
|
1214
|
-
};
|
|
1215
|
-
const extglobOpen = (t4, e4) => {
|
|
1216
|
-
const n2 = { ...E[e4], conditions: 1, inner: "" };
|
|
1217
|
-
n2.prev = B;
|
|
1218
|
-
n2.parens = m.parens;
|
|
1219
|
-
n2.output = m.output;
|
|
1220
|
-
const o2 = (u3.capture ? "(" : "") + n2.open;
|
|
1221
|
-
increment("parens");
|
|
1222
|
-
push({ type: t4, value: e4, output: m.output ? "" : C });
|
|
1223
|
-
push({ type: "paren", extglob: true, value: M(), output: o2 });
|
|
1224
|
-
w.push(n2);
|
|
1225
|
-
};
|
|
1226
|
-
const extglobClose = (t4) => {
|
|
1227
|
-
let n2 = t4.close + (u3.capture ? ")" : "");
|
|
1228
|
-
let o2;
|
|
1229
|
-
if (t4.type === "negate") {
|
|
1230
|
-
let s2 = k;
|
|
1231
|
-
if (t4.inner && t4.inner.length > 1 && t4.inner.includes("/")) {
|
|
1232
|
-
s2 = globstar(u3);
|
|
1233
|
-
}
|
|
1234
|
-
if (s2 !== k || eos() || /^\)+$/.test(remaining())) {
|
|
1235
|
-
n2 = t4.close = `)$))${s2}`;
|
|
1236
|
-
}
|
|
1237
|
-
if (t4.inner.includes("*") && (o2 = remaining()) && /^\.[^\\/.]+$/.test(o2)) {
|
|
1238
|
-
const u4 = parse(o2, { ...e3, fastpaths: false }).output;
|
|
1239
|
-
n2 = t4.close = `)${u4})${s2})`;
|
|
1240
|
-
}
|
|
1241
|
-
if (t4.prev.type === "bos") {
|
|
1242
|
-
m.negatedExtglob = true;
|
|
1243
|
-
}
|
|
1244
|
-
}
|
|
1245
|
-
push({ type: "paren", extglob: true, value: G, output: n2 });
|
|
1246
|
-
decrement("parens");
|
|
1247
|
-
};
|
|
1248
|
-
if (u3.fastpaths !== false && !/(^[*!]|[/()[\]{}"])/.test(t3)) {
|
|
1249
|
-
let n2 = false;
|
|
1250
|
-
let s2 = t3.replace(i, ((t4, e4, u4, o2, s3, r2) => {
|
|
1251
|
-
if (o2 === "\\") {
|
|
1252
|
-
n2 = true;
|
|
1253
|
-
return t4;
|
|
1254
|
-
}
|
|
1255
|
-
if (o2 === "?") {
|
|
1256
|
-
if (e4) {
|
|
1257
|
-
return e4 + o2 + (s3 ? H.repeat(s3.length) : "");
|
|
1258
|
-
}
|
|
1259
|
-
if (r2 === 0) {
|
|
1260
|
-
return O + (s3 ? H.repeat(s3.length) : "");
|
|
1261
|
-
}
|
|
1262
|
-
return H.repeat(u4.length);
|
|
1263
|
-
}
|
|
1264
|
-
if (o2 === ".") {
|
|
1265
|
-
return h.repeat(u4.length);
|
|
1266
|
-
}
|
|
1267
|
-
if (o2 === "*") {
|
|
1268
|
-
if (e4) {
|
|
1269
|
-
return e4 + o2 + (s3 ? k : "");
|
|
1270
|
-
}
|
|
1271
|
-
return k;
|
|
1272
|
-
}
|
|
1273
|
-
return e4 ? t4 : `\\${t4}`;
|
|
1274
|
-
}));
|
|
1275
|
-
if (n2 === true) {
|
|
1276
|
-
if (u3.unescape === true) {
|
|
1277
|
-
s2 = s2.replace(/\\/g, "");
|
|
1278
|
-
} else {
|
|
1279
|
-
s2 = s2.replace(/\\+/g, ((t4) => t4.length % 2 === 0 ? "\\\\" : t4 ? "\\" : ""));
|
|
1280
|
-
}
|
|
1281
|
-
}
|
|
1282
|
-
if (s2 === t3 && u3.contains === true) {
|
|
1283
|
-
m.output = t3;
|
|
1284
|
-
return m;
|
|
1285
|
-
}
|
|
1286
|
-
m.output = o.wrapOutput(s2, m, e3);
|
|
1287
|
-
return m;
|
|
1288
|
-
}
|
|
1289
|
-
while (!eos()) {
|
|
1290
|
-
G = M();
|
|
1291
|
-
if (G === "\0") {
|
|
1292
|
-
continue;
|
|
1293
|
-
}
|
|
1294
|
-
if (G === "\\") {
|
|
1295
|
-
const t4 = D();
|
|
1296
|
-
if (t4 === "/" && u3.bash !== true) {
|
|
1297
|
-
continue;
|
|
1298
|
-
}
|
|
1299
|
-
if (t4 === "." || t4 === ";") {
|
|
1300
|
-
continue;
|
|
1301
|
-
}
|
|
1302
|
-
if (!t4) {
|
|
1303
|
-
G += "\\";
|
|
1304
|
-
push({ type: "text", value: G });
|
|
1305
|
-
continue;
|
|
1306
|
-
}
|
|
1307
|
-
const e5 = /^\\+/.exec(remaining());
|
|
1308
|
-
let n3 = 0;
|
|
1309
|
-
if (e5 && e5[0].length > 2) {
|
|
1310
|
-
n3 = e5[0].length;
|
|
1311
|
-
m.index += n3;
|
|
1312
|
-
if (n3 % 2 !== 0) {
|
|
1313
|
-
G += "\\";
|
|
1314
|
-
}
|
|
1315
|
-
}
|
|
1316
|
-
if (u3.unescape === true) {
|
|
1317
|
-
G = M();
|
|
1318
|
-
} else {
|
|
1319
|
-
G += M();
|
|
1320
|
-
}
|
|
1321
|
-
if (m.brackets === 0) {
|
|
1322
|
-
push({ type: "text", value: G });
|
|
1323
|
-
continue;
|
|
1324
|
-
}
|
|
1325
|
-
}
|
|
1326
|
-
if (m.brackets > 0 && (G !== "]" || B.value === "[" || B.value === "[^")) {
|
|
1327
|
-
if (u3.posix !== false && G === ":") {
|
|
1328
|
-
const t4 = B.value.slice(1);
|
|
1329
|
-
if (t4.includes("[")) {
|
|
1330
|
-
B.posix = true;
|
|
1331
|
-
if (t4.includes(":")) {
|
|
1332
|
-
const t5 = B.value.lastIndexOf("[");
|
|
1333
|
-
const e5 = B.value.slice(0, t5);
|
|
1334
|
-
const u4 = B.value.slice(t5 + 2);
|
|
1335
|
-
const n3 = r[u4];
|
|
1336
|
-
if (n3) {
|
|
1337
|
-
B.value = e5 + n3;
|
|
1338
|
-
m.backtrack = true;
|
|
1339
|
-
M();
|
|
1340
|
-
if (!f.output && A.indexOf(B) === 1) {
|
|
1341
|
-
f.output = C;
|
|
1342
|
-
}
|
|
1343
|
-
continue;
|
|
1344
|
-
}
|
|
1345
|
-
}
|
|
1346
|
-
}
|
|
1347
|
-
}
|
|
1348
|
-
if (G === "[" && D() !== ":" || G === "-" && D() === "]") {
|
|
1349
|
-
G = `\\${G}`;
|
|
1350
|
-
}
|
|
1351
|
-
if (G === "]" && (B.value === "[" || B.value === "[^")) {
|
|
1352
|
-
G = `\\${G}`;
|
|
1353
|
-
}
|
|
1354
|
-
if (u3.posix === true && G === "!" && B.value === "[") {
|
|
1355
|
-
G = "^";
|
|
1356
|
-
}
|
|
1357
|
-
B.value += G;
|
|
1358
|
-
append({ value: G });
|
|
1359
|
-
continue;
|
|
1360
|
-
}
|
|
1361
|
-
if (m.quotes === 1 && G !== '"') {
|
|
1362
|
-
G = o.escapeRegex(G);
|
|
1363
|
-
B.value += G;
|
|
1364
|
-
append({ value: G });
|
|
1365
|
-
continue;
|
|
1366
|
-
}
|
|
1367
|
-
if (G === '"') {
|
|
1368
|
-
m.quotes = m.quotes === 1 ? 0 : 1;
|
|
1369
|
-
if (u3.keepQuotes === true) {
|
|
1370
|
-
push({ type: "text", value: G });
|
|
1371
|
-
}
|
|
1372
|
-
continue;
|
|
1373
|
-
}
|
|
1374
|
-
if (G === "(") {
|
|
1375
|
-
increment("parens");
|
|
1376
|
-
push({ type: "paren", value: G });
|
|
1377
|
-
continue;
|
|
1378
|
-
}
|
|
1379
|
-
if (G === ")") {
|
|
1380
|
-
if (m.parens === 0 && u3.strictBrackets === true) {
|
|
1381
|
-
throw new SyntaxError(syntaxError("opening", "("));
|
|
1382
|
-
}
|
|
1383
|
-
const t4 = w[w.length - 1];
|
|
1384
|
-
if (t4 && m.parens === t4.parens + 1) {
|
|
1385
|
-
extglobClose(w.pop());
|
|
1386
|
-
continue;
|
|
1387
|
-
}
|
|
1388
|
-
push({ type: "paren", value: G, output: m.parens ? ")" : "\\)" });
|
|
1389
|
-
decrement("parens");
|
|
1390
|
-
continue;
|
|
1391
|
-
}
|
|
1392
|
-
if (G === "[") {
|
|
1393
|
-
if (u3.nobracket === true || !remaining().includes("]")) {
|
|
1394
|
-
if (u3.nobracket !== true && u3.strictBrackets === true) {
|
|
1395
|
-
throw new SyntaxError(syntaxError("closing", "]"));
|
|
1396
|
-
}
|
|
1397
|
-
G = `\\${G}`;
|
|
1398
|
-
} else {
|
|
1399
|
-
increment("brackets");
|
|
1400
|
-
}
|
|
1401
|
-
push({ type: "bracket", value: G });
|
|
1402
|
-
continue;
|
|
1403
|
-
}
|
|
1404
|
-
if (G === "]") {
|
|
1405
|
-
if (u3.nobracket === true || B && B.type === "bracket" && B.value.length === 1) {
|
|
1406
|
-
push({ type: "text", value: G, output: `\\${G}` });
|
|
1407
|
-
continue;
|
|
1408
|
-
}
|
|
1409
|
-
if (m.brackets === 0) {
|
|
1410
|
-
if (u3.strictBrackets === true) {
|
|
1411
|
-
throw new SyntaxError(syntaxError("opening", "["));
|
|
1412
|
-
}
|
|
1413
|
-
push({ type: "text", value: G, output: `\\${G}` });
|
|
1414
|
-
continue;
|
|
1415
|
-
}
|
|
1416
|
-
decrement("brackets");
|
|
1417
|
-
const t4 = B.value.slice(1);
|
|
1418
|
-
if (B.posix !== true && t4[0] === "^" && !t4.includes("/")) {
|
|
1419
|
-
G = `/${G}`;
|
|
1420
|
-
}
|
|
1421
|
-
B.value += G;
|
|
1422
|
-
append({ value: G });
|
|
1423
|
-
if (u3.literalBrackets === false || o.hasRegexChars(t4)) {
|
|
1424
|
-
continue;
|
|
1425
|
-
}
|
|
1426
|
-
const e5 = o.escapeRegex(B.value);
|
|
1427
|
-
m.output = m.output.slice(0, -B.value.length);
|
|
1428
|
-
if (u3.literalBrackets === true) {
|
|
1429
|
-
m.output += e5;
|
|
1430
|
-
B.value = e5;
|
|
1431
|
-
continue;
|
|
1432
|
-
}
|
|
1433
|
-
B.value = `(${_}${e5}|${B.value})`;
|
|
1434
|
-
m.output += B.value;
|
|
1435
|
-
continue;
|
|
1436
|
-
}
|
|
1437
|
-
if (G === "{" && u3.nobrace !== true) {
|
|
1438
|
-
increment("braces");
|
|
1439
|
-
const t4 = { type: "brace", value: G, output: "(", outputIndex: m.output.length, tokensIndex: m.tokens.length };
|
|
1440
|
-
N.push(t4);
|
|
1441
|
-
push(t4);
|
|
1442
|
-
continue;
|
|
1443
|
-
}
|
|
1444
|
-
if (G === "}") {
|
|
1445
|
-
const t4 = N[N.length - 1];
|
|
1446
|
-
if (u3.nobrace === true || !t4) {
|
|
1447
|
-
push({ type: "text", value: G, output: G });
|
|
1448
|
-
continue;
|
|
1449
|
-
}
|
|
1450
|
-
let e5 = ")";
|
|
1451
|
-
if (t4.dots === true) {
|
|
1452
|
-
const t5 = A.slice();
|
|
1453
|
-
const n3 = [];
|
|
1454
|
-
for (let e6 = t5.length - 1; e6 >= 0; e6--) {
|
|
1455
|
-
A.pop();
|
|
1456
|
-
if (t5[e6].type === "brace") {
|
|
1457
|
-
break;
|
|
1458
|
-
}
|
|
1459
|
-
if (t5[e6].type !== "dots") {
|
|
1460
|
-
n3.unshift(t5[e6].value);
|
|
1461
|
-
}
|
|
1462
|
-
}
|
|
1463
|
-
e5 = expandRange(n3, u3);
|
|
1464
|
-
m.backtrack = true;
|
|
1465
|
-
}
|
|
1466
|
-
if (t4.comma !== true && t4.dots !== true) {
|
|
1467
|
-
const u4 = m.output.slice(0, t4.outputIndex);
|
|
1468
|
-
const n3 = m.tokens.slice(t4.tokensIndex);
|
|
1469
|
-
t4.value = t4.output = "\\{";
|
|
1470
|
-
G = e5 = "\\}";
|
|
1471
|
-
m.output = u4;
|
|
1472
|
-
for (const t5 of n3) {
|
|
1473
|
-
m.output += t5.output || t5.value;
|
|
1474
|
-
}
|
|
1475
|
-
}
|
|
1476
|
-
push({ type: "brace", value: G, output: e5 });
|
|
1477
|
-
decrement("braces");
|
|
1478
|
-
N.pop();
|
|
1479
|
-
continue;
|
|
1480
|
-
}
|
|
1481
|
-
if (G === "|") {
|
|
1482
|
-
if (w.length > 0) {
|
|
1483
|
-
w[w.length - 1].conditions++;
|
|
1484
|
-
}
|
|
1485
|
-
push({ type: "text", value: G });
|
|
1486
|
-
continue;
|
|
1487
|
-
}
|
|
1488
|
-
if (G === ",") {
|
|
1489
|
-
let t4 = G;
|
|
1490
|
-
const e5 = N[N.length - 1];
|
|
1491
|
-
if (e5 && I[I.length - 1] === "braces") {
|
|
1492
|
-
e5.comma = true;
|
|
1493
|
-
t4 = "|";
|
|
1494
|
-
}
|
|
1495
|
-
push({ type: "comma", value: G, output: t4 });
|
|
1496
|
-
continue;
|
|
1497
|
-
}
|
|
1498
|
-
if (G === "/") {
|
|
1499
|
-
if (B.type === "dot" && m.index === m.start + 1) {
|
|
1500
|
-
m.start = m.index + 1;
|
|
1501
|
-
m.consumed = "";
|
|
1502
|
-
m.output = "";
|
|
1503
|
-
A.pop();
|
|
1504
|
-
B = f;
|
|
1505
|
-
continue;
|
|
1506
|
-
}
|
|
1507
|
-
push({ type: "slash", value: G, output: b });
|
|
1508
|
-
continue;
|
|
1509
|
-
}
|
|
1510
|
-
if (G === ".") {
|
|
1511
|
-
if (m.braces > 0 && B.type === "dot") {
|
|
1512
|
-
if (B.value === ".") B.output = h;
|
|
1513
|
-
const t4 = N[N.length - 1];
|
|
1514
|
-
B.type = "dots";
|
|
1515
|
-
B.output += G;
|
|
1516
|
-
B.value += G;
|
|
1517
|
-
t4.dots = true;
|
|
1518
|
-
continue;
|
|
1519
|
-
}
|
|
1520
|
-
if (m.braces + m.parens === 0 && B.type !== "bos" && B.type !== "slash") {
|
|
1521
|
-
push({ type: "text", value: G, output: h });
|
|
1522
|
-
continue;
|
|
1523
|
-
}
|
|
1524
|
-
push({ type: "dot", value: G, output: h });
|
|
1525
|
-
continue;
|
|
1526
|
-
}
|
|
1527
|
-
if (G === "?") {
|
|
1528
|
-
const t4 = B && B.value === "(";
|
|
1529
|
-
if (!t4 && u3.noextglob !== true && D() === "(" && D(2) !== "?") {
|
|
1530
|
-
extglobOpen("qmark", G);
|
|
1531
|
-
continue;
|
|
1532
|
-
}
|
|
1533
|
-
if (B && B.type === "paren") {
|
|
1534
|
-
const t5 = D();
|
|
1535
|
-
let e5 = G;
|
|
1536
|
-
if (B.value === "(" && !/[!=<:]/.test(t5) || t5 === "<" && !/<([!=]|\w+>)/.test(remaining())) {
|
|
1537
|
-
e5 = `\\${G}`;
|
|
1538
|
-
}
|
|
1539
|
-
push({ type: "text", value: G, output: e5 });
|
|
1540
|
-
continue;
|
|
1541
|
-
}
|
|
1542
|
-
if (u3.dot !== true && (B.type === "slash" || B.type === "bos")) {
|
|
1543
|
-
push({ type: "qmark", value: G, output: v });
|
|
1544
|
-
continue;
|
|
1545
|
-
}
|
|
1546
|
-
push({ type: "qmark", value: G, output: H });
|
|
1547
|
-
continue;
|
|
1548
|
-
}
|
|
1549
|
-
if (G === "!") {
|
|
1550
|
-
if (u3.noextglob !== true && D() === "(") {
|
|
1551
|
-
if (D(2) !== "?" || !/[!=<:]/.test(D(3))) {
|
|
1552
|
-
extglobOpen("negate", G);
|
|
1553
|
-
continue;
|
|
1554
|
-
}
|
|
1555
|
-
}
|
|
1556
|
-
if (u3.nonegate !== true && m.index === 0) {
|
|
1557
|
-
negate();
|
|
1558
|
-
continue;
|
|
1559
|
-
}
|
|
1560
|
-
}
|
|
1561
|
-
if (G === "+") {
|
|
1562
|
-
if (u3.noextglob !== true && D() === "(" && D(2) !== "?") {
|
|
1563
|
-
extglobOpen("plus", G);
|
|
1564
|
-
continue;
|
|
1565
|
-
}
|
|
1566
|
-
if (B && B.value === "(" || u3.regex === false) {
|
|
1567
|
-
push({ type: "plus", value: G, output: g });
|
|
1568
|
-
continue;
|
|
1569
|
-
}
|
|
1570
|
-
if (B && (B.type === "bracket" || B.type === "paren" || B.type === "brace") || m.parens > 0) {
|
|
1571
|
-
push({ type: "plus", value: G });
|
|
1572
|
-
continue;
|
|
1573
|
-
}
|
|
1574
|
-
push({ type: "plus", value: g });
|
|
1575
|
-
continue;
|
|
1576
|
-
}
|
|
1577
|
-
if (G === "@") {
|
|
1578
|
-
if (u3.noextglob !== true && D() === "(" && D(2) !== "?") {
|
|
1579
|
-
push({ type: "at", extglob: true, value: G, output: "" });
|
|
1580
|
-
continue;
|
|
1581
|
-
}
|
|
1582
|
-
push({ type: "text", value: G });
|
|
1583
|
-
continue;
|
|
1584
|
-
}
|
|
1585
|
-
if (G !== "*") {
|
|
1586
|
-
if (G === "$" || G === "^") {
|
|
1587
|
-
G = `\\${G}`;
|
|
1588
|
-
}
|
|
1589
|
-
const t4 = a.exec(remaining());
|
|
1590
|
-
if (t4) {
|
|
1591
|
-
G += t4[0];
|
|
1592
|
-
m.index += t4[0].length;
|
|
1593
|
-
}
|
|
1594
|
-
push({ type: "text", value: G });
|
|
1595
|
-
continue;
|
|
1596
|
-
}
|
|
1597
|
-
if (B && (B.type === "globstar" || B.star === true)) {
|
|
1598
|
-
B.type = "star";
|
|
1599
|
-
B.star = true;
|
|
1600
|
-
B.value += G;
|
|
1601
|
-
B.output = k;
|
|
1602
|
-
m.backtrack = true;
|
|
1603
|
-
m.globstar = true;
|
|
1604
|
-
consume(G);
|
|
1605
|
-
continue;
|
|
1606
|
-
}
|
|
1607
|
-
let e4 = remaining();
|
|
1608
|
-
if (u3.noextglob !== true && /^\([^?]/.test(e4)) {
|
|
1609
|
-
extglobOpen("star", G);
|
|
1610
|
-
continue;
|
|
1611
|
-
}
|
|
1612
|
-
if (B.type === "star") {
|
|
1613
|
-
if (u3.noglobstar === true) {
|
|
1614
|
-
consume(G);
|
|
1615
|
-
continue;
|
|
1616
|
-
}
|
|
1617
|
-
const n3 = B.prev;
|
|
1618
|
-
const o2 = n3.prev;
|
|
1619
|
-
const s2 = n3.type === "slash" || n3.type === "bos";
|
|
1620
|
-
const r2 = o2 && (o2.type === "star" || o2.type === "globstar");
|
|
1621
|
-
if (u3.bash === true && (!s2 || e4[0] && e4[0] !== "/")) {
|
|
1622
|
-
push({ type: "star", value: G, output: "" });
|
|
1623
|
-
continue;
|
|
1624
|
-
}
|
|
1625
|
-
const a2 = m.braces > 0 && (n3.type === "comma" || n3.type === "brace");
|
|
1626
|
-
const i2 = w.length && (n3.type === "pipe" || n3.type === "paren");
|
|
1627
|
-
if (!s2 && n3.type !== "paren" && !a2 && !i2) {
|
|
1628
|
-
push({ type: "star", value: G, output: "" });
|
|
1629
|
-
continue;
|
|
1630
|
-
}
|
|
1631
|
-
while (e4.slice(0, 3) === "/**") {
|
|
1632
|
-
const u4 = t3[m.index + 4];
|
|
1633
|
-
if (u4 && u4 !== "/") {
|
|
1634
|
-
break;
|
|
1635
|
-
}
|
|
1636
|
-
e4 = e4.slice(3);
|
|
1637
|
-
consume("/**", 3);
|
|
1638
|
-
}
|
|
1639
|
-
if (n3.type === "bos" && eos()) {
|
|
1640
|
-
B.type = "globstar";
|
|
1641
|
-
B.value += G;
|
|
1642
|
-
B.output = globstar(u3);
|
|
1643
|
-
m.output = B.output;
|
|
1644
|
-
m.globstar = true;
|
|
1645
|
-
consume(G);
|
|
1646
|
-
continue;
|
|
1647
|
-
}
|
|
1648
|
-
if (n3.type === "slash" && n3.prev.type !== "bos" && !r2 && eos()) {
|
|
1649
|
-
m.output = m.output.slice(0, -(n3.output + B.output).length);
|
|
1650
|
-
n3.output = `(?:${n3.output}`;
|
|
1651
|
-
B.type = "globstar";
|
|
1652
|
-
B.output = globstar(u3) + (u3.strictSlashes ? ")" : "|$)");
|
|
1653
|
-
B.value += G;
|
|
1654
|
-
m.globstar = true;
|
|
1655
|
-
m.output += n3.output + B.output;
|
|
1656
|
-
consume(G);
|
|
1657
|
-
continue;
|
|
1658
|
-
}
|
|
1659
|
-
if (n3.type === "slash" && n3.prev.type !== "bos" && e4[0] === "/") {
|
|
1660
|
-
const t4 = e4[1] !== void 0 ? "|$" : "";
|
|
1661
|
-
m.output = m.output.slice(0, -(n3.output + B.output).length);
|
|
1662
|
-
n3.output = `(?:${n3.output}`;
|
|
1663
|
-
B.type = "globstar";
|
|
1664
|
-
B.output = `${globstar(u3)}${b}|${b}${t4})`;
|
|
1665
|
-
B.value += G;
|
|
1666
|
-
m.output += n3.output + B.output;
|
|
1667
|
-
m.globstar = true;
|
|
1668
|
-
consume(G + M());
|
|
1669
|
-
push({ type: "slash", value: "/", output: "" });
|
|
1670
|
-
continue;
|
|
1671
|
-
}
|
|
1672
|
-
if (n3.type === "bos" && e4[0] === "/") {
|
|
1673
|
-
B.type = "globstar";
|
|
1674
|
-
B.value += G;
|
|
1675
|
-
B.output = `(?:^|${b}|${globstar(u3)}${b})`;
|
|
1676
|
-
m.output = B.output;
|
|
1677
|
-
m.globstar = true;
|
|
1678
|
-
consume(G + M());
|
|
1679
|
-
push({ type: "slash", value: "/", output: "" });
|
|
1680
|
-
continue;
|
|
1681
|
-
}
|
|
1682
|
-
m.output = m.output.slice(0, -B.output.length);
|
|
1683
|
-
B.type = "globstar";
|
|
1684
|
-
B.output = globstar(u3);
|
|
1685
|
-
B.value += G;
|
|
1686
|
-
m.output += B.output;
|
|
1687
|
-
m.globstar = true;
|
|
1688
|
-
consume(G);
|
|
1689
|
-
continue;
|
|
1690
|
-
}
|
|
1691
|
-
const n2 = { type: "star", value: G, output: k };
|
|
1692
|
-
if (u3.bash === true) {
|
|
1693
|
-
n2.output = ".*?";
|
|
1694
|
-
if (B.type === "bos" || B.type === "slash") {
|
|
1695
|
-
n2.output = T + n2.output;
|
|
1696
|
-
}
|
|
1697
|
-
push(n2);
|
|
1698
|
-
continue;
|
|
1699
|
-
}
|
|
1700
|
-
if (B && (B.type === "bracket" || B.type === "paren") && u3.regex === true) {
|
|
1701
|
-
n2.output = G;
|
|
1702
|
-
push(n2);
|
|
1703
|
-
continue;
|
|
1704
|
-
}
|
|
1705
|
-
if (m.index === m.start || B.type === "slash" || B.type === "dot") {
|
|
1706
|
-
if (B.type === "dot") {
|
|
1707
|
-
m.output += x;
|
|
1708
|
-
B.output += x;
|
|
1709
|
-
} else if (u3.dot === true) {
|
|
1710
|
-
m.output += S;
|
|
1711
|
-
B.output += S;
|
|
1712
|
-
} else {
|
|
1713
|
-
m.output += T;
|
|
1714
|
-
B.output += T;
|
|
1715
|
-
}
|
|
1716
|
-
if (D() !== "*") {
|
|
1717
|
-
m.output += C;
|
|
1718
|
-
B.output += C;
|
|
1719
|
-
}
|
|
1720
|
-
}
|
|
1721
|
-
push(n2);
|
|
1722
|
-
}
|
|
1723
|
-
while (m.brackets > 0) {
|
|
1724
|
-
if (u3.strictBrackets === true) throw new SyntaxError(syntaxError("closing", "]"));
|
|
1725
|
-
m.output = o.escapeLast(m.output, "[");
|
|
1726
|
-
decrement("brackets");
|
|
1727
|
-
}
|
|
1728
|
-
while (m.parens > 0) {
|
|
1729
|
-
if (u3.strictBrackets === true) throw new SyntaxError(syntaxError("closing", ")"));
|
|
1730
|
-
m.output = o.escapeLast(m.output, "(");
|
|
1731
|
-
decrement("parens");
|
|
1732
|
-
}
|
|
1733
|
-
while (m.braces > 0) {
|
|
1734
|
-
if (u3.strictBrackets === true) throw new SyntaxError(syntaxError("closing", "}"));
|
|
1735
|
-
m.output = o.escapeLast(m.output, "{");
|
|
1736
|
-
decrement("braces");
|
|
1737
|
-
}
|
|
1738
|
-
if (u3.strictSlashes !== true && (B.type === "star" || B.type === "bracket")) {
|
|
1739
|
-
push({ type: "maybe_slash", value: "", output: `${b}?` });
|
|
1740
|
-
}
|
|
1741
|
-
if (m.backtrack === true) {
|
|
1742
|
-
m.output = "";
|
|
1743
|
-
for (const t4 of m.tokens) {
|
|
1744
|
-
m.output += t4.output != null ? t4.output : t4.value;
|
|
1745
|
-
if (t4.suffix) {
|
|
1746
|
-
m.output += t4.suffix;
|
|
1747
|
-
}
|
|
1748
|
-
}
|
|
1749
|
-
}
|
|
1750
|
-
return m;
|
|
1751
|
-
};
|
|
1752
|
-
parse.fastpaths = (t3, e3) => {
|
|
1753
|
-
const u3 = { ...e3 };
|
|
1754
|
-
const r2 = typeof u3.maxLength === "number" ? Math.min(s, u3.maxLength) : s;
|
|
1755
|
-
const a2 = t3.length;
|
|
1756
|
-
if (a2 > r2) {
|
|
1757
|
-
throw new SyntaxError(`Input length: ${a2}, exceeds maximum allowed length: ${r2}`);
|
|
1758
|
-
}
|
|
1759
|
-
t3 = c[t3] || t3;
|
|
1760
|
-
const { DOT_LITERAL: i2, SLASH_LITERAL: p, ONE_CHAR: l, DOTS_SLASH: f, NO_DOT: A, NO_DOTS: _, NO_DOTS_SLASH: R, STAR: E, START_ANCHOR: h } = n.globChars(u3.windows);
|
|
1761
|
-
const g = u3.dot ? _ : A;
|
|
1762
|
-
const b = u3.dot ? R : A;
|
|
1763
|
-
const C = u3.capture ? "" : "?:";
|
|
1764
|
-
const y = { negated: false, prefix: "" };
|
|
1765
|
-
let $ = u3.bash === true ? ".*?" : E;
|
|
1766
|
-
if (u3.capture) {
|
|
1767
|
-
$ = `(${$})`;
|
|
1768
|
-
}
|
|
1769
|
-
const globstar = (t4) => {
|
|
1770
|
-
if (t4.noglobstar === true) return $;
|
|
1771
|
-
return `(${C}(?:(?!${h}${t4.dot ? f : i2}).)*?)`;
|
|
1772
|
-
};
|
|
1773
|
-
const create = (t4) => {
|
|
1774
|
-
switch (t4) {
|
|
1775
|
-
case "*":
|
|
1776
|
-
return `${g}${l}${$}`;
|
|
1777
|
-
case ".*":
|
|
1778
|
-
return `${i2}${l}${$}`;
|
|
1779
|
-
case "*.*":
|
|
1780
|
-
return `${g}${$}${i2}${l}${$}`;
|
|
1781
|
-
case "*/*":
|
|
1782
|
-
return `${g}${$}${p}${l}${b}${$}`;
|
|
1783
|
-
case "**":
|
|
1784
|
-
return g + globstar(u3);
|
|
1785
|
-
case "**/*":
|
|
1786
|
-
return `(?:${g}${globstar(u3)}${p})?${b}${l}${$}`;
|
|
1787
|
-
case "**/*.*":
|
|
1788
|
-
return `(?:${g}${globstar(u3)}${p})?${b}${$}${i2}${l}${$}`;
|
|
1789
|
-
case "**/.*":
|
|
1790
|
-
return `(?:${g}${globstar(u3)}${p})?${i2}${l}${$}`;
|
|
1791
|
-
default: {
|
|
1792
|
-
const e4 = /^(.*?)\.(\w+)$/.exec(t4);
|
|
1793
|
-
if (!e4) return;
|
|
1794
|
-
const u4 = create(e4[1]);
|
|
1795
|
-
if (!u4) return;
|
|
1796
|
-
return u4 + i2 + e4[2];
|
|
1797
|
-
}
|
|
1798
|
-
}
|
|
1799
|
-
};
|
|
1800
|
-
const x = o.removePrefix(t3, y);
|
|
1801
|
-
let S = create(x);
|
|
1802
|
-
if (S && u3.strictSlashes !== true) {
|
|
1803
|
-
S += `${p}?`;
|
|
1804
|
-
}
|
|
1805
|
-
return S;
|
|
1806
|
-
};
|
|
1807
|
-
t2.exports = parse;
|
|
1808
|
-
}, 510: (t2, e2, u2) => {
|
|
1809
|
-
const n = u2(716);
|
|
1810
|
-
const o = u2(697);
|
|
1811
|
-
const s = u2(96);
|
|
1812
|
-
const r = u2(154);
|
|
1813
|
-
const isObject = (t3) => t3 && typeof t3 === "object" && !Array.isArray(t3);
|
|
1814
|
-
const picomatch2 = (t3, e3, u3 = false) => {
|
|
1815
|
-
if (Array.isArray(t3)) {
|
|
1816
|
-
const n3 = t3.map(((t4) => picomatch2(t4, e3, u3)));
|
|
1817
|
-
const arrayMatcher = (t4) => {
|
|
1818
|
-
for (const e4 of n3) {
|
|
1819
|
-
const u4 = e4(t4);
|
|
1820
|
-
if (u4) return u4;
|
|
1821
|
-
}
|
|
1822
|
-
return false;
|
|
1823
|
-
};
|
|
1824
|
-
return arrayMatcher;
|
|
1825
|
-
}
|
|
1826
|
-
const n2 = isObject(t3) && t3.tokens && t3.input;
|
|
1827
|
-
if (t3 === "" || typeof t3 !== "string" && !n2) {
|
|
1828
|
-
throw new TypeError("Expected pattern to be a non-empty string");
|
|
1829
|
-
}
|
|
1830
|
-
const o2 = e3 || {};
|
|
1831
|
-
const s2 = o2.windows;
|
|
1832
|
-
const r2 = n2 ? picomatch2.compileRe(t3, e3) : picomatch2.makeRe(t3, e3, false, true);
|
|
1833
|
-
const a = r2.state;
|
|
1834
|
-
delete r2.state;
|
|
1835
|
-
let isIgnored = () => false;
|
|
1836
|
-
if (o2.ignore) {
|
|
1837
|
-
const t4 = { ...e3, ignore: null, onMatch: null, onResult: null };
|
|
1838
|
-
isIgnored = picomatch2(o2.ignore, t4, u3);
|
|
1839
|
-
}
|
|
1840
|
-
const matcher = (u4, n3 = false) => {
|
|
1841
|
-
const { isMatch: i, match: c, output: p } = picomatch2.test(u4, r2, e3, { glob: t3, posix: s2 });
|
|
1842
|
-
const l = { glob: t3, state: a, regex: r2, posix: s2, input: u4, output: p, match: c, isMatch: i };
|
|
1843
|
-
if (typeof o2.onResult === "function") {
|
|
1844
|
-
o2.onResult(l);
|
|
1845
|
-
}
|
|
1846
|
-
if (i === false) {
|
|
1847
|
-
l.isMatch = false;
|
|
1848
|
-
return n3 ? l : false;
|
|
1849
|
-
}
|
|
1850
|
-
if (isIgnored(u4)) {
|
|
1851
|
-
if (typeof o2.onIgnore === "function") {
|
|
1852
|
-
o2.onIgnore(l);
|
|
1853
|
-
}
|
|
1854
|
-
l.isMatch = false;
|
|
1855
|
-
return n3 ? l : false;
|
|
1856
|
-
}
|
|
1857
|
-
if (typeof o2.onMatch === "function") {
|
|
1858
|
-
o2.onMatch(l);
|
|
1859
|
-
}
|
|
1860
|
-
return n3 ? l : true;
|
|
1861
|
-
};
|
|
1862
|
-
if (u3) {
|
|
1863
|
-
matcher.state = a;
|
|
1864
|
-
}
|
|
1865
|
-
return matcher;
|
|
1866
|
-
};
|
|
1867
|
-
picomatch2.test = (t3, e3, u3, { glob: n2, posix: o2 } = {}) => {
|
|
1868
|
-
if (typeof t3 !== "string") {
|
|
1869
|
-
throw new TypeError("Expected input to be a string");
|
|
1870
|
-
}
|
|
1871
|
-
if (t3 === "") {
|
|
1872
|
-
return { isMatch: false, output: "" };
|
|
1873
|
-
}
|
|
1874
|
-
const r2 = u3 || {};
|
|
1875
|
-
const a = r2.format || (o2 ? s.toPosixSlashes : null);
|
|
1876
|
-
let i = t3 === n2;
|
|
1877
|
-
let c = i && a ? a(t3) : t3;
|
|
1878
|
-
if (i === false) {
|
|
1879
|
-
c = a ? a(t3) : t3;
|
|
1880
|
-
i = c === n2;
|
|
1881
|
-
}
|
|
1882
|
-
if (i === false || r2.capture === true) {
|
|
1883
|
-
if (r2.matchBase === true || r2.basename === true) {
|
|
1884
|
-
i = picomatch2.matchBase(t3, e3, u3, o2);
|
|
1885
|
-
} else {
|
|
1886
|
-
i = e3.exec(c);
|
|
1887
|
-
}
|
|
1888
|
-
}
|
|
1889
|
-
return { isMatch: Boolean(i), match: i, output: c };
|
|
1890
|
-
};
|
|
1891
|
-
picomatch2.matchBase = (t3, e3, u3) => {
|
|
1892
|
-
const n2 = e3 instanceof RegExp ? e3 : picomatch2.makeRe(e3, u3);
|
|
1893
|
-
return n2.test(s.basename(t3));
|
|
1894
|
-
};
|
|
1895
|
-
picomatch2.isMatch = (t3, e3, u3) => picomatch2(e3, u3)(t3);
|
|
1896
|
-
picomatch2.parse = (t3, e3) => {
|
|
1897
|
-
if (Array.isArray(t3)) return t3.map(((t4) => picomatch2.parse(t4, e3)));
|
|
1898
|
-
return o(t3, { ...e3, fastpaths: false });
|
|
1899
|
-
};
|
|
1900
|
-
picomatch2.scan = (t3, e3) => n(t3, e3);
|
|
1901
|
-
picomatch2.compileRe = (t3, e3, u3 = false, n2 = false) => {
|
|
1902
|
-
if (u3 === true) {
|
|
1903
|
-
return t3.output;
|
|
1904
|
-
}
|
|
1905
|
-
const o2 = e3 || {};
|
|
1906
|
-
const s2 = o2.contains ? "" : "^";
|
|
1907
|
-
const r2 = o2.contains ? "" : "$";
|
|
1908
|
-
let a = `${s2}(?:${t3.output})${r2}`;
|
|
1909
|
-
if (t3 && t3.negated === true) {
|
|
1910
|
-
a = `^(?!${a}).*$`;
|
|
1911
|
-
}
|
|
1912
|
-
const i = picomatch2.toRegex(a, e3);
|
|
1913
|
-
if (n2 === true) {
|
|
1914
|
-
i.state = t3;
|
|
1915
|
-
}
|
|
1916
|
-
return i;
|
|
1917
|
-
};
|
|
1918
|
-
picomatch2.makeRe = (t3, e3 = {}, u3 = false, n2 = false) => {
|
|
1919
|
-
if (!t3 || typeof t3 !== "string") {
|
|
1920
|
-
throw new TypeError("Expected a non-empty string");
|
|
1921
|
-
}
|
|
1922
|
-
let s2 = { negated: false, fastpaths: true };
|
|
1923
|
-
if (e3.fastpaths !== false && (t3[0] === "." || t3[0] === "*")) {
|
|
1924
|
-
s2.output = o.fastpaths(t3, e3);
|
|
1925
|
-
}
|
|
1926
|
-
if (!s2.output) {
|
|
1927
|
-
s2 = o(t3, e3);
|
|
1928
|
-
}
|
|
1929
|
-
return picomatch2.compileRe(s2, e3, u3, n2);
|
|
1930
|
-
};
|
|
1931
|
-
picomatch2.toRegex = (t3, e3) => {
|
|
1932
|
-
try {
|
|
1933
|
-
const u3 = e3 || {};
|
|
1934
|
-
return new RegExp(t3, u3.flags || (u3.nocase ? "i" : ""));
|
|
1935
|
-
} catch (t4) {
|
|
1936
|
-
if (e3 && e3.debug === true) throw t4;
|
|
1937
|
-
return /$^/;
|
|
1938
|
-
}
|
|
1939
|
-
};
|
|
1940
|
-
picomatch2.constants = r;
|
|
1941
|
-
t2.exports = picomatch2;
|
|
1942
|
-
}, 716: (t2, e2, u2) => {
|
|
1943
|
-
const n = u2(96);
|
|
1944
|
-
const { CHAR_ASTERISK: o, CHAR_AT: s, CHAR_BACKWARD_SLASH: r, CHAR_COMMA: a, CHAR_DOT: i, CHAR_EXCLAMATION_MARK: c, CHAR_FORWARD_SLASH: p, CHAR_LEFT_CURLY_BRACE: l, CHAR_LEFT_PARENTHESES: f, CHAR_LEFT_SQUARE_BRACKET: A, CHAR_PLUS: _, CHAR_QUESTION_MARK: R, CHAR_RIGHT_CURLY_BRACE: E, CHAR_RIGHT_PARENTHESES: h, CHAR_RIGHT_SQUARE_BRACKET: g } = u2(154);
|
|
1945
|
-
const isPathSeparator = (t3) => t3 === p || t3 === r;
|
|
1946
|
-
const depth = (t3) => {
|
|
1947
|
-
if (t3.isPrefix !== true) {
|
|
1948
|
-
t3.depth = t3.isGlobstar ? Infinity : 1;
|
|
1949
|
-
}
|
|
1950
|
-
};
|
|
1951
|
-
const scan = (t3, e3) => {
|
|
1952
|
-
const u3 = e3 || {};
|
|
1953
|
-
const b = t3.length - 1;
|
|
1954
|
-
const C = u3.parts === true || u3.scanToEnd === true;
|
|
1955
|
-
const y = [];
|
|
1956
|
-
const $ = [];
|
|
1957
|
-
const x = [];
|
|
1958
|
-
let S = t3;
|
|
1959
|
-
let H = -1;
|
|
1960
|
-
let v = 0;
|
|
1961
|
-
let d = 0;
|
|
1962
|
-
let L = false;
|
|
1963
|
-
let T = false;
|
|
1964
|
-
let O = false;
|
|
1965
|
-
let k = false;
|
|
1966
|
-
let m = false;
|
|
1967
|
-
let w = false;
|
|
1968
|
-
let N = false;
|
|
1969
|
-
let I = false;
|
|
1970
|
-
let B = false;
|
|
1971
|
-
let G = false;
|
|
1972
|
-
let D = 0;
|
|
1973
|
-
let M;
|
|
1974
|
-
let P;
|
|
1975
|
-
let K = { value: "", depth: 0, isGlob: false };
|
|
1976
|
-
const eos = () => H >= b;
|
|
1977
|
-
const peek = () => S.charCodeAt(H + 1);
|
|
1978
|
-
const advance = () => {
|
|
1979
|
-
M = P;
|
|
1980
|
-
return S.charCodeAt(++H);
|
|
1981
|
-
};
|
|
1982
|
-
while (H < b) {
|
|
1983
|
-
P = advance();
|
|
1984
|
-
let t4;
|
|
1985
|
-
if (P === r) {
|
|
1986
|
-
N = K.backslashes = true;
|
|
1987
|
-
P = advance();
|
|
1988
|
-
if (P === l) {
|
|
1989
|
-
w = true;
|
|
1990
|
-
}
|
|
1991
|
-
continue;
|
|
1992
|
-
}
|
|
1993
|
-
if (w === true || P === l) {
|
|
1994
|
-
D++;
|
|
1995
|
-
while (eos() !== true && (P = advance())) {
|
|
1996
|
-
if (P === r) {
|
|
1997
|
-
N = K.backslashes = true;
|
|
1998
|
-
advance();
|
|
1999
|
-
continue;
|
|
2000
|
-
}
|
|
2001
|
-
if (P === l) {
|
|
2002
|
-
D++;
|
|
2003
|
-
continue;
|
|
2004
|
-
}
|
|
2005
|
-
if (w !== true && P === i && (P = advance()) === i) {
|
|
2006
|
-
L = K.isBrace = true;
|
|
2007
|
-
O = K.isGlob = true;
|
|
2008
|
-
G = true;
|
|
2009
|
-
if (C === true) {
|
|
2010
|
-
continue;
|
|
2011
|
-
}
|
|
2012
|
-
break;
|
|
2013
|
-
}
|
|
2014
|
-
if (w !== true && P === a) {
|
|
2015
|
-
L = K.isBrace = true;
|
|
2016
|
-
O = K.isGlob = true;
|
|
2017
|
-
G = true;
|
|
2018
|
-
if (C === true) {
|
|
2019
|
-
continue;
|
|
2020
|
-
}
|
|
2021
|
-
break;
|
|
2022
|
-
}
|
|
2023
|
-
if (P === E) {
|
|
2024
|
-
D--;
|
|
2025
|
-
if (D === 0) {
|
|
2026
|
-
w = false;
|
|
2027
|
-
L = K.isBrace = true;
|
|
2028
|
-
G = true;
|
|
2029
|
-
break;
|
|
2030
|
-
}
|
|
2031
|
-
}
|
|
2032
|
-
}
|
|
2033
|
-
if (C === true) {
|
|
2034
|
-
continue;
|
|
2035
|
-
}
|
|
2036
|
-
break;
|
|
2037
|
-
}
|
|
2038
|
-
if (P === p) {
|
|
2039
|
-
y.push(H);
|
|
2040
|
-
$.push(K);
|
|
2041
|
-
K = { value: "", depth: 0, isGlob: false };
|
|
2042
|
-
if (G === true) continue;
|
|
2043
|
-
if (M === i && H === v + 1) {
|
|
2044
|
-
v += 2;
|
|
2045
|
-
continue;
|
|
2046
|
-
}
|
|
2047
|
-
d = H + 1;
|
|
2048
|
-
continue;
|
|
2049
|
-
}
|
|
2050
|
-
if (u3.noext !== true) {
|
|
2051
|
-
const t5 = P === _ || P === s || P === o || P === R || P === c;
|
|
2052
|
-
if (t5 === true && peek() === f) {
|
|
2053
|
-
O = K.isGlob = true;
|
|
2054
|
-
k = K.isExtglob = true;
|
|
2055
|
-
G = true;
|
|
2056
|
-
if (P === c && H === v) {
|
|
2057
|
-
B = true;
|
|
2058
|
-
}
|
|
2059
|
-
if (C === true) {
|
|
2060
|
-
while (eos() !== true && (P = advance())) {
|
|
2061
|
-
if (P === r) {
|
|
2062
|
-
N = K.backslashes = true;
|
|
2063
|
-
P = advance();
|
|
2064
|
-
continue;
|
|
2065
|
-
}
|
|
2066
|
-
if (P === h) {
|
|
2067
|
-
O = K.isGlob = true;
|
|
2068
|
-
G = true;
|
|
2069
|
-
break;
|
|
2070
|
-
}
|
|
2071
|
-
}
|
|
2072
|
-
continue;
|
|
2073
|
-
}
|
|
2074
|
-
break;
|
|
2075
|
-
}
|
|
2076
|
-
}
|
|
2077
|
-
if (P === o) {
|
|
2078
|
-
if (M === o) m = K.isGlobstar = true;
|
|
2079
|
-
O = K.isGlob = true;
|
|
2080
|
-
G = true;
|
|
2081
|
-
if (C === true) {
|
|
2082
|
-
continue;
|
|
2083
|
-
}
|
|
2084
|
-
break;
|
|
2085
|
-
}
|
|
2086
|
-
if (P === R) {
|
|
2087
|
-
O = K.isGlob = true;
|
|
2088
|
-
G = true;
|
|
2089
|
-
if (C === true) {
|
|
2090
|
-
continue;
|
|
2091
|
-
}
|
|
2092
|
-
break;
|
|
2093
|
-
}
|
|
2094
|
-
if (P === A) {
|
|
2095
|
-
while (eos() !== true && (t4 = advance())) {
|
|
2096
|
-
if (t4 === r) {
|
|
2097
|
-
N = K.backslashes = true;
|
|
2098
|
-
advance();
|
|
2099
|
-
continue;
|
|
2100
|
-
}
|
|
2101
|
-
if (t4 === g) {
|
|
2102
|
-
T = K.isBracket = true;
|
|
2103
|
-
O = K.isGlob = true;
|
|
2104
|
-
G = true;
|
|
2105
|
-
break;
|
|
2106
|
-
}
|
|
2107
|
-
}
|
|
2108
|
-
if (C === true) {
|
|
2109
|
-
continue;
|
|
2110
|
-
}
|
|
2111
|
-
break;
|
|
2112
|
-
}
|
|
2113
|
-
if (u3.nonegate !== true && P === c && H === v) {
|
|
2114
|
-
I = K.negated = true;
|
|
2115
|
-
v++;
|
|
2116
|
-
continue;
|
|
2117
|
-
}
|
|
2118
|
-
if (u3.noparen !== true && P === f) {
|
|
2119
|
-
O = K.isGlob = true;
|
|
2120
|
-
if (C === true) {
|
|
2121
|
-
while (eos() !== true && (P = advance())) {
|
|
2122
|
-
if (P === f) {
|
|
2123
|
-
N = K.backslashes = true;
|
|
2124
|
-
P = advance();
|
|
2125
|
-
continue;
|
|
2126
|
-
}
|
|
2127
|
-
if (P === h) {
|
|
2128
|
-
G = true;
|
|
2129
|
-
break;
|
|
2130
|
-
}
|
|
2131
|
-
}
|
|
2132
|
-
continue;
|
|
2133
|
-
}
|
|
2134
|
-
break;
|
|
2135
|
-
}
|
|
2136
|
-
if (O === true) {
|
|
2137
|
-
G = true;
|
|
2138
|
-
if (C === true) {
|
|
2139
|
-
continue;
|
|
2140
|
-
}
|
|
2141
|
-
break;
|
|
2142
|
-
}
|
|
2143
|
-
}
|
|
2144
|
-
if (u3.noext === true) {
|
|
2145
|
-
k = false;
|
|
2146
|
-
O = false;
|
|
2147
|
-
}
|
|
2148
|
-
let U = S;
|
|
2149
|
-
let X = "";
|
|
2150
|
-
let F = "";
|
|
2151
|
-
if (v > 0) {
|
|
2152
|
-
X = S.slice(0, v);
|
|
2153
|
-
S = S.slice(v);
|
|
2154
|
-
d -= v;
|
|
2155
|
-
}
|
|
2156
|
-
if (U && O === true && d > 0) {
|
|
2157
|
-
U = S.slice(0, d);
|
|
2158
|
-
F = S.slice(d);
|
|
2159
|
-
} else if (O === true) {
|
|
2160
|
-
U = "";
|
|
2161
|
-
F = S;
|
|
2162
|
-
} else {
|
|
2163
|
-
U = S;
|
|
2164
|
-
}
|
|
2165
|
-
if (U && U !== "" && U !== "/" && U !== S) {
|
|
2166
|
-
if (isPathSeparator(U.charCodeAt(U.length - 1))) {
|
|
2167
|
-
U = U.slice(0, -1);
|
|
2168
|
-
}
|
|
2169
|
-
}
|
|
2170
|
-
if (u3.unescape === true) {
|
|
2171
|
-
if (F) F = n.removeBackslashes(F);
|
|
2172
|
-
if (U && N === true) {
|
|
2173
|
-
U = n.removeBackslashes(U);
|
|
2174
|
-
}
|
|
2175
|
-
}
|
|
2176
|
-
const Q = { prefix: X, input: t3, start: v, base: U, glob: F, isBrace: L, isBracket: T, isGlob: O, isExtglob: k, isGlobstar: m, negated: I, negatedExtglob: B };
|
|
2177
|
-
if (u3.tokens === true) {
|
|
2178
|
-
Q.maxDepth = 0;
|
|
2179
|
-
if (!isPathSeparator(P)) {
|
|
2180
|
-
$.push(K);
|
|
2181
|
-
}
|
|
2182
|
-
Q.tokens = $;
|
|
2183
|
-
}
|
|
2184
|
-
if (u3.parts === true || u3.tokens === true) {
|
|
2185
|
-
let e4;
|
|
2186
|
-
for (let n2 = 0; n2 < y.length; n2++) {
|
|
2187
|
-
const o2 = e4 ? e4 + 1 : v;
|
|
2188
|
-
const s2 = y[n2];
|
|
2189
|
-
const r2 = t3.slice(o2, s2);
|
|
2190
|
-
if (u3.tokens) {
|
|
2191
|
-
if (n2 === 0 && v !== 0) {
|
|
2192
|
-
$[n2].isPrefix = true;
|
|
2193
|
-
$[n2].value = X;
|
|
2194
|
-
} else {
|
|
2195
|
-
$[n2].value = r2;
|
|
2196
|
-
}
|
|
2197
|
-
depth($[n2]);
|
|
2198
|
-
Q.maxDepth += $[n2].depth;
|
|
2199
|
-
}
|
|
2200
|
-
if (n2 !== 0 || r2 !== "") {
|
|
2201
|
-
x.push(r2);
|
|
2202
|
-
}
|
|
2203
|
-
e4 = s2;
|
|
2204
|
-
}
|
|
2205
|
-
if (e4 && e4 + 1 < t3.length) {
|
|
2206
|
-
const n2 = t3.slice(e4 + 1);
|
|
2207
|
-
x.push(n2);
|
|
2208
|
-
if (u3.tokens) {
|
|
2209
|
-
$[$.length - 1].value = n2;
|
|
2210
|
-
depth($[$.length - 1]);
|
|
2211
|
-
Q.maxDepth += $[$.length - 1].depth;
|
|
2212
|
-
}
|
|
2213
|
-
}
|
|
2214
|
-
Q.slashes = y;
|
|
2215
|
-
Q.parts = x;
|
|
2216
|
-
}
|
|
2217
|
-
return Q;
|
|
2218
|
-
};
|
|
2219
|
-
t2.exports = scan;
|
|
2220
|
-
}, 96: (t2, e2, u2) => {
|
|
2221
|
-
const { REGEX_BACKSLASH: n, REGEX_REMOVE_BACKSLASH: o, REGEX_SPECIAL_CHARS: s, REGEX_SPECIAL_CHARS_GLOBAL: r } = u2(154);
|
|
2222
|
-
e2.isObject = (t3) => t3 !== null && typeof t3 === "object" && !Array.isArray(t3);
|
|
2223
|
-
e2.hasRegexChars = (t3) => s.test(t3);
|
|
2224
|
-
e2.isRegexChar = (t3) => t3.length === 1 && e2.hasRegexChars(t3);
|
|
2225
|
-
e2.escapeRegex = (t3) => t3.replace(r, "\\$1");
|
|
2226
|
-
e2.toPosixSlashes = (t3) => t3.replace(n, "/");
|
|
2227
|
-
e2.removeBackslashes = (t3) => t3.replace(o, ((t4) => t4 === "\\" ? "" : t4));
|
|
2228
|
-
e2.escapeLast = (t3, u3, n2) => {
|
|
2229
|
-
const o2 = t3.lastIndexOf(u3, n2);
|
|
2230
|
-
if (o2 === -1) return t3;
|
|
2231
|
-
if (t3[o2 - 1] === "\\") return e2.escapeLast(t3, u3, o2 - 1);
|
|
2232
|
-
return `${t3.slice(0, o2)}\\${t3.slice(o2)}`;
|
|
2233
|
-
};
|
|
2234
|
-
e2.removePrefix = (t3, e3 = {}) => {
|
|
2235
|
-
let u3 = t3;
|
|
2236
|
-
if (u3.startsWith("./")) {
|
|
2237
|
-
u3 = u3.slice(2);
|
|
2238
|
-
e3.prefix = "./";
|
|
2239
|
-
}
|
|
2240
|
-
return u3;
|
|
2241
|
-
};
|
|
2242
|
-
e2.wrapOutput = (t3, e3 = {}, u3 = {}) => {
|
|
2243
|
-
const n2 = u3.contains ? "" : "^";
|
|
2244
|
-
const o2 = u3.contains ? "" : "$";
|
|
2245
|
-
let s2 = `${n2}(?:${t3})${o2}`;
|
|
2246
|
-
if (e3.negated === true) {
|
|
2247
|
-
s2 = `(?:^(?!${s2}).*$)`;
|
|
2248
|
-
}
|
|
2249
|
-
return s2;
|
|
2250
|
-
};
|
|
2251
|
-
e2.basename = (t3, { windows: e3 } = {}) => {
|
|
2252
|
-
const u3 = t3.split(e3 ? /[\\/]/ : "/");
|
|
2253
|
-
const n2 = u3[u3.length - 1];
|
|
2254
|
-
if (n2 === "") {
|
|
2255
|
-
return u3[u3.length - 2];
|
|
2256
|
-
}
|
|
2257
|
-
return n2;
|
|
2258
|
-
};
|
|
2259
|
-
} };
|
|
2260
|
-
var e = {};
|
|
2261
|
-
function __nccwpck_require__(u2) {
|
|
2262
|
-
var n = e[u2];
|
|
2263
|
-
if (n !== void 0) {
|
|
2264
|
-
return n.exports;
|
|
2265
|
-
}
|
|
2266
|
-
var o = e[u2] = { exports: {} };
|
|
2267
|
-
var s = true;
|
|
2268
|
-
try {
|
|
2269
|
-
t[u2](o, o.exports, __nccwpck_require__);
|
|
2270
|
-
s = false;
|
|
2271
|
-
} finally {
|
|
2272
|
-
if (s) delete e[u2];
|
|
2273
|
-
}
|
|
2274
|
-
return o.exports;
|
|
2275
|
-
}
|
|
2276
|
-
if (typeof __nccwpck_require__ !== "undefined") __nccwpck_require__.ab = __dirname + "/";
|
|
2277
|
-
var u = __nccwpck_require__(170);
|
|
2278
|
-
picomatch.exports = u;
|
|
2279
|
-
})();
|
|
2280
|
-
return picomatch.exports;
|
|
2281
|
-
}
|
|
2282
|
-
var hasRequiredMatchLocalPattern;
|
|
2283
|
-
function requireMatchLocalPattern() {
|
|
2284
|
-
if (hasRequiredMatchLocalPattern) return matchLocalPattern;
|
|
2285
|
-
hasRequiredMatchLocalPattern = 1;
|
|
2286
|
-
(function(exports$1) {
|
|
2287
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
2288
|
-
value: true
|
|
2289
|
-
});
|
|
2290
|
-
function _export(target, all) {
|
|
2291
|
-
for (var name in all) Object.defineProperty(target, name, {
|
|
2292
|
-
enumerable: true,
|
|
2293
|
-
get: all[name]
|
|
2294
|
-
});
|
|
2295
|
-
}
|
|
2296
|
-
_export(exports$1, {
|
|
2297
|
-
hasLocalMatch: function() {
|
|
2298
|
-
return hasLocalMatch;
|
|
2299
|
-
},
|
|
2300
|
-
matchLocalPattern: function() {
|
|
2301
|
-
return matchLocalPattern2;
|
|
2302
|
-
}
|
|
2303
|
-
});
|
|
2304
|
-
const _picomatch = requirePicomatch();
|
|
2305
|
-
function matchLocalPattern2(pattern, url) {
|
|
2306
|
-
if (pattern.search !== void 0) {
|
|
2307
|
-
if (pattern.search !== url.search) {
|
|
2308
|
-
return false;
|
|
2309
|
-
}
|
|
2310
|
-
}
|
|
2311
|
-
if (!(0, _picomatch.makeRe)(pattern.pathname ?? "**", {
|
|
2312
|
-
dot: true
|
|
2313
|
-
}).test(url.pathname)) {
|
|
2314
|
-
return false;
|
|
2315
|
-
}
|
|
2316
|
-
return true;
|
|
2317
|
-
}
|
|
2318
|
-
function hasLocalMatch(localPatterns, urlPathAndQuery) {
|
|
2319
|
-
if (!localPatterns) {
|
|
2320
|
-
return true;
|
|
2321
|
-
}
|
|
2322
|
-
const url = new URL(urlPathAndQuery, "http://n");
|
|
2323
|
-
return localPatterns.some((p) => matchLocalPattern2(p, url));
|
|
2324
|
-
}
|
|
2325
|
-
})(matchLocalPattern);
|
|
2326
|
-
return matchLocalPattern;
|
|
2327
|
-
}
|
|
2328
|
-
var matchRemotePattern = {};
|
|
2329
|
-
var hasRequiredMatchRemotePattern;
|
|
2330
|
-
function requireMatchRemotePattern() {
|
|
2331
|
-
if (hasRequiredMatchRemotePattern) return matchRemotePattern;
|
|
2332
|
-
hasRequiredMatchRemotePattern = 1;
|
|
2333
|
-
(function(exports$1) {
|
|
2334
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
2335
|
-
value: true
|
|
2336
|
-
});
|
|
2337
|
-
function _export(target, all) {
|
|
2338
|
-
for (var name in all) Object.defineProperty(target, name, {
|
|
2339
|
-
enumerable: true,
|
|
2340
|
-
get: all[name]
|
|
2341
|
-
});
|
|
2342
|
-
}
|
|
2343
|
-
_export(exports$1, {
|
|
2344
|
-
hasRemoteMatch: function() {
|
|
2345
|
-
return hasRemoteMatch;
|
|
2346
|
-
},
|
|
2347
|
-
matchRemotePattern: function() {
|
|
2348
|
-
return matchRemotePattern2;
|
|
2349
|
-
}
|
|
2350
|
-
});
|
|
2351
|
-
const _picomatch = requirePicomatch();
|
|
2352
|
-
function matchRemotePattern2(pattern, url) {
|
|
2353
|
-
if (pattern.protocol !== void 0) {
|
|
2354
|
-
if (pattern.protocol.replace(/:$/, "") !== url.protocol.replace(/:$/, "")) {
|
|
2355
|
-
return false;
|
|
2356
|
-
}
|
|
2357
|
-
}
|
|
2358
|
-
if (pattern.port !== void 0) {
|
|
2359
|
-
if (pattern.port !== url.port) {
|
|
2360
|
-
return false;
|
|
2361
|
-
}
|
|
2362
|
-
}
|
|
2363
|
-
if (pattern.hostname === void 0) {
|
|
2364
|
-
throw Object.defineProperty(new Error(`Pattern should define hostname but found
|
|
2365
|
-
${JSON.stringify(pattern)}`), "__NEXT_ERROR_CODE", {
|
|
2366
|
-
value: "E410",
|
|
2367
|
-
enumerable: false,
|
|
2368
|
-
configurable: true
|
|
2369
|
-
});
|
|
2370
|
-
} else {
|
|
2371
|
-
if (!(0, _picomatch.makeRe)(pattern.hostname).test(url.hostname)) {
|
|
2372
|
-
return false;
|
|
2373
|
-
}
|
|
2374
|
-
}
|
|
2375
|
-
if (pattern.search !== void 0) {
|
|
2376
|
-
if (pattern.search !== url.search) {
|
|
2377
|
-
return false;
|
|
2378
|
-
}
|
|
2379
|
-
}
|
|
2380
|
-
if (!(0, _picomatch.makeRe)(pattern.pathname ?? "**", {
|
|
2381
|
-
dot: true
|
|
2382
|
-
}).test(url.pathname)) {
|
|
2383
|
-
return false;
|
|
2384
|
-
}
|
|
2385
|
-
return true;
|
|
2386
|
-
}
|
|
2387
|
-
function hasRemoteMatch(domains, remotePatterns, url) {
|
|
2388
|
-
return domains.some((domain) => url.hostname === domain) || remotePatterns.some((p) => matchRemotePattern2(p, url));
|
|
2389
|
-
}
|
|
2390
|
-
})(matchRemotePattern);
|
|
2391
|
-
return matchRemotePattern;
|
|
2392
|
-
}
|
|
2393
|
-
var hasRequiredImageLoader;
|
|
2394
|
-
function requireImageLoader() {
|
|
2395
|
-
if (hasRequiredImageLoader) return imageLoader;
|
|
2396
|
-
hasRequiredImageLoader = 1;
|
|
2397
|
-
(function(exports$1) {
|
|
2398
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
2399
|
-
value: true
|
|
2400
|
-
});
|
|
2401
|
-
Object.defineProperty(exports$1, "default", {
|
|
2402
|
-
enumerable: true,
|
|
2403
|
-
get: function() {
|
|
2404
|
-
return _default;
|
|
2405
|
-
}
|
|
2406
|
-
});
|
|
2407
|
-
const _findclosestquality = requireFindClosestQuality();
|
|
2408
|
-
const _deploymentid = requireDeploymentId();
|
|
2409
|
-
function defaultLoader({ config, src, width, quality }) {
|
|
2410
|
-
var _a;
|
|
2411
|
-
if (src.startsWith("/") && src.includes("?") && ((_a = config.localPatterns) == null ? void 0 : _a.length) === 1 && config.localPatterns[0].pathname === "**" && config.localPatterns[0].search === "") {
|
|
2412
|
-
throw Object.defineProperty(new Error(`Image with src "${src}" is using a query string which is not configured in images.localPatterns.
|
|
2413
|
-
Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`), "__NEXT_ERROR_CODE", {
|
|
2414
|
-
value: "E871",
|
|
2415
|
-
enumerable: false,
|
|
2416
|
-
configurable: true
|
|
2417
|
-
});
|
|
2418
|
-
}
|
|
2419
|
-
if (process.env.NODE_ENV !== "production") {
|
|
2420
|
-
const missingValues = [];
|
|
2421
|
-
if (!src) missingValues.push("src");
|
|
2422
|
-
if (!width) missingValues.push("width");
|
|
2423
|
-
if (missingValues.length > 0) {
|
|
2424
|
-
throw Object.defineProperty(new Error(`Next Image Optimization requires ${missingValues.join(", ")} to be provided. Make sure you pass them as props to the \`next/image\` component. Received: ${JSON.stringify({
|
|
2425
|
-
src,
|
|
2426
|
-
width,
|
|
2427
|
-
quality
|
|
2428
|
-
})}`), "__NEXT_ERROR_CODE", {
|
|
2429
|
-
value: "E188",
|
|
2430
|
-
enumerable: false,
|
|
2431
|
-
configurable: true
|
|
2432
|
-
});
|
|
2433
|
-
}
|
|
2434
|
-
if (src.startsWith("//")) {
|
|
2435
|
-
throw Object.defineProperty(new Error(`Failed to parse src "${src}" on \`next/image\`, protocol-relative URL (//) must be changed to an absolute URL (http:// or https://)`), "__NEXT_ERROR_CODE", {
|
|
2436
|
-
value: "E360",
|
|
2437
|
-
enumerable: false,
|
|
2438
|
-
configurable: true
|
|
2439
|
-
});
|
|
2440
|
-
}
|
|
2441
|
-
if (src.startsWith("/") && config.localPatterns) {
|
|
2442
|
-
if (process.env.NODE_ENV !== "test" && // micromatch isn't compatible with edge runtime
|
|
2443
|
-
process.env.NEXT_RUNTIME !== "edge") {
|
|
2444
|
-
const { hasLocalMatch } = requireMatchLocalPattern();
|
|
2445
|
-
if (!hasLocalMatch(config.localPatterns, src)) {
|
|
2446
|
-
throw Object.defineProperty(new Error(`Invalid src prop (${src}) on \`next/image\` does not match \`images.localPatterns\` configured in your \`next.config.js\`
|
|
2447
|
-
See more info: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`), "__NEXT_ERROR_CODE", {
|
|
2448
|
-
value: "E426",
|
|
2449
|
-
enumerable: false,
|
|
2450
|
-
configurable: true
|
|
2451
|
-
});
|
|
2452
|
-
}
|
|
2453
|
-
}
|
|
2454
|
-
}
|
|
2455
|
-
if (!src.startsWith("/") && (config.domains || config.remotePatterns)) {
|
|
2456
|
-
let parsedSrc;
|
|
2457
|
-
try {
|
|
2458
|
-
parsedSrc = new URL(src);
|
|
2459
|
-
} catch (err) {
|
|
2460
|
-
console.error(err);
|
|
2461
|
-
throw Object.defineProperty(new Error(`Failed to parse src "${src}" on \`next/image\`, if using relative image it must start with a leading slash "/" or be an absolute URL (http:// or https://)`), "__NEXT_ERROR_CODE", {
|
|
2462
|
-
value: "E63",
|
|
2463
|
-
enumerable: false,
|
|
2464
|
-
configurable: true
|
|
2465
|
-
});
|
|
2466
|
-
}
|
|
2467
|
-
if (process.env.NODE_ENV !== "test" && // micromatch isn't compatible with edge runtime
|
|
2468
|
-
process.env.NEXT_RUNTIME !== "edge") {
|
|
2469
|
-
const { hasRemoteMatch } = requireMatchRemotePattern();
|
|
2470
|
-
if (!hasRemoteMatch(config.domains, config.remotePatterns, parsedSrc)) {
|
|
2471
|
-
throw Object.defineProperty(new Error(`Invalid src prop (${src}) on \`next/image\`, hostname "${parsedSrc.hostname}" is not configured under images in your \`next.config.js\`
|
|
2472
|
-
See more info: https://nextjs.org/docs/messages/next-image-unconfigured-host`), "__NEXT_ERROR_CODE", {
|
|
2473
|
-
value: "E231",
|
|
2474
|
-
enumerable: false,
|
|
2475
|
-
configurable: true
|
|
2476
|
-
});
|
|
2477
|
-
}
|
|
2478
|
-
}
|
|
2479
|
-
}
|
|
2480
|
-
}
|
|
2481
|
-
const q = (0, _findclosestquality.findClosestQuality)(quality, config);
|
|
2482
|
-
let deploymentId2 = (0, _deploymentid.getDeploymentId)();
|
|
2483
|
-
return `${config.path}?url=${encodeURIComponent(src)}&w=${width}&q=${q}${src.startsWith("/") && deploymentId2 ? `&dpl=${deploymentId2}` : ""}`;
|
|
2484
|
-
}
|
|
2485
|
-
defaultLoader.__next_img_default = true;
|
|
2486
|
-
const _default = defaultLoader;
|
|
2487
|
-
})(imageLoader);
|
|
2488
|
-
return imageLoader;
|
|
2489
|
-
}
|
|
2490
|
-
var hasRequiredImageComponent;
|
|
2491
|
-
function requireImageComponent() {
|
|
2492
|
-
if (hasRequiredImageComponent) return imageComponent.exports;
|
|
2493
|
-
hasRequiredImageComponent = 1;
|
|
2494
|
-
(function(module2, exports$1) {
|
|
2495
|
-
"use client";
|
|
2496
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
2497
|
-
value: true
|
|
2498
|
-
});
|
|
2499
|
-
Object.defineProperty(exports$1, "Image", {
|
|
2500
|
-
enumerable: true,
|
|
2501
|
-
get: function() {
|
|
2502
|
-
return Image2;
|
|
2503
|
-
}
|
|
2504
|
-
});
|
|
2505
|
-
const _interop_require_default = /* @__PURE__ */ link.require_interop_require_default();
|
|
2506
|
-
const _interop_require_wildcard = /* @__PURE__ */ link.require_interop_require_wildcard();
|
|
2507
|
-
const _jsxruntime = require$$2;
|
|
2508
|
-
const _react = /* @__PURE__ */ _interop_require_wildcard._(React);
|
|
2509
|
-
const _reactdom = /* @__PURE__ */ _interop_require_default._(ReactDOM);
|
|
2510
|
-
const _head = /* @__PURE__ */ _interop_require_default._(requireHead());
|
|
2511
|
-
const _getimgprops = requireGetImgProps();
|
|
2512
|
-
const _imageconfig = requireImageConfig();
|
|
2513
|
-
const _imageconfigcontextsharedruntime = requireImageConfigContext_sharedRuntime();
|
|
2514
|
-
const _warnonce = requireWarnOnce();
|
|
2515
|
-
const _routercontextsharedruntime = link.requireRouterContext_sharedRuntime();
|
|
2516
|
-
const _imageloader = /* @__PURE__ */ _interop_require_default._(requireImageLoader());
|
|
2517
|
-
const _usemergedref = link.requireUseMergedRef();
|
|
2518
|
-
const configEnv = process.env.__NEXT_IMAGE_OPTS;
|
|
2519
|
-
if (typeof window === "undefined") {
|
|
2520
|
-
globalThis.__NEXT_IMAGE_IMPORTED = true;
|
|
2521
|
-
}
|
|
2522
|
-
function handleLoading(img, placeholder, onLoadRef, onLoadingCompleteRef, setBlurComplete, unoptimized, sizesInput) {
|
|
2523
|
-
const src = img == null ? void 0 : img.src;
|
|
2524
|
-
if (!img || img["data-loaded-src"] === src) {
|
|
2525
|
-
return;
|
|
2526
|
-
}
|
|
2527
|
-
img["data-loaded-src"] = src;
|
|
2528
|
-
const p = "decode" in img ? img.decode() : Promise.resolve();
|
|
2529
|
-
p.catch(() => {
|
|
2530
|
-
}).then(() => {
|
|
2531
|
-
if (!img.parentElement || !img.isConnected) {
|
|
2532
|
-
return;
|
|
2533
|
-
}
|
|
2534
|
-
if (placeholder !== "empty") {
|
|
2535
|
-
setBlurComplete(true);
|
|
2536
|
-
}
|
|
2537
|
-
if (onLoadRef == null ? void 0 : onLoadRef.current) {
|
|
2538
|
-
const event = new Event("load");
|
|
2539
|
-
Object.defineProperty(event, "target", {
|
|
2540
|
-
writable: false,
|
|
2541
|
-
value: img
|
|
2542
|
-
});
|
|
2543
|
-
let prevented = false;
|
|
2544
|
-
let stopped = false;
|
|
2545
|
-
onLoadRef.current({
|
|
2546
|
-
...event,
|
|
2547
|
-
nativeEvent: event,
|
|
2548
|
-
currentTarget: img,
|
|
2549
|
-
target: img,
|
|
2550
|
-
isDefaultPrevented: () => prevented,
|
|
2551
|
-
isPropagationStopped: () => stopped,
|
|
2552
|
-
persist: () => {
|
|
2553
|
-
},
|
|
2554
|
-
preventDefault: () => {
|
|
2555
|
-
prevented = true;
|
|
2556
|
-
event.preventDefault();
|
|
2557
|
-
},
|
|
2558
|
-
stopPropagation: () => {
|
|
2559
|
-
stopped = true;
|
|
2560
|
-
event.stopPropagation();
|
|
2561
|
-
}
|
|
2562
|
-
});
|
|
2563
|
-
}
|
|
2564
|
-
if (onLoadingCompleteRef == null ? void 0 : onLoadingCompleteRef.current) {
|
|
2565
|
-
onLoadingCompleteRef.current(img);
|
|
2566
|
-
}
|
|
2567
|
-
if (process.env.NODE_ENV !== "production") {
|
|
2568
|
-
const origSrc = new URL(src, "http://n").searchParams.get("url") || src;
|
|
2569
|
-
if (img.getAttribute("data-nimg") === "fill") {
|
|
2570
|
-
if (!unoptimized && (!sizesInput || sizesInput === "100vw")) {
|
|
2571
|
-
let widthViewportRatio = img.getBoundingClientRect().width / window.innerWidth;
|
|
2572
|
-
if (widthViewportRatio < 0.6) {
|
|
2573
|
-
if (sizesInput === "100vw") {
|
|
2574
|
-
(0, _warnonce.warnOnce)(`Image with src "${origSrc}" has "fill" prop and "sizes" prop of "100vw", but image is not rendered at full viewport width. Please adjust "sizes" to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes`);
|
|
2575
|
-
} else {
|
|
2576
|
-
(0, _warnonce.warnOnce)(`Image with src "${origSrc}" has "fill" but is missing "sizes" prop. Please add it to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes`);
|
|
2577
|
-
}
|
|
2578
|
-
}
|
|
2579
|
-
}
|
|
2580
|
-
if (img.parentElement) {
|
|
2581
|
-
const { position } = window.getComputedStyle(img.parentElement);
|
|
2582
|
-
const valid = [
|
|
2583
|
-
"absolute",
|
|
2584
|
-
"fixed",
|
|
2585
|
-
"relative"
|
|
2586
|
-
];
|
|
2587
|
-
if (!valid.includes(position)) {
|
|
2588
|
-
(0, _warnonce.warnOnce)(`Image with src "${origSrc}" has "fill" and parent element with invalid "position". Provided "${position}" should be one of ${valid.map(String).join(",")}.`);
|
|
2589
|
-
}
|
|
2590
|
-
}
|
|
2591
|
-
if (img.height === 0) {
|
|
2592
|
-
(0, _warnonce.warnOnce)(`Image with src "${origSrc}" has "fill" and a height value of 0. This is likely because the parent element of the image has not been styled to have a set height.`);
|
|
2593
|
-
}
|
|
2594
|
-
}
|
|
2595
|
-
const heightModified = img.height.toString() !== img.getAttribute("height");
|
|
2596
|
-
const widthModified = img.width.toString() !== img.getAttribute("width");
|
|
2597
|
-
if (heightModified && !widthModified || !heightModified && widthModified) {
|
|
2598
|
-
(0, _warnonce.warnOnce)(`Image with src "${origSrc}" has either width or height modified, but not the other. If you use CSS to change the size of your image, also include the styles 'width: "auto"' or 'height: "auto"' to maintain the aspect ratio.`);
|
|
2599
|
-
}
|
|
2600
|
-
}
|
|
2601
|
-
});
|
|
2602
|
-
}
|
|
2603
|
-
function getDynamicProps(fetchPriority) {
|
|
2604
|
-
if (Boolean(_react.use)) {
|
|
2605
|
-
return {
|
|
2606
|
-
fetchPriority
|
|
2607
|
-
};
|
|
2608
|
-
}
|
|
2609
|
-
return {
|
|
2610
|
-
fetchpriority: fetchPriority
|
|
2611
|
-
};
|
|
2612
|
-
}
|
|
2613
|
-
const ImageElement = /* @__PURE__ */ (0, _react.forwardRef)(({ src, srcSet, sizes, height, width, decoding, className, style, fetchPriority, placeholder, loading, unoptimized, fill, onLoadRef, onLoadingCompleteRef, setBlurComplete, setShowAltText, sizesInput, onLoad, onError, ...rest }, forwardedRef) => {
|
|
2614
|
-
const ownRef = (0, _react.useCallback)((img) => {
|
|
2615
|
-
if (!img) {
|
|
2616
|
-
return;
|
|
2617
|
-
}
|
|
2618
|
-
if (onError) {
|
|
2619
|
-
img.src = img.src;
|
|
2620
|
-
}
|
|
2621
|
-
if (process.env.NODE_ENV !== "production") {
|
|
2622
|
-
if (!src) {
|
|
2623
|
-
console.error(`Image is missing required "src" property:`, img);
|
|
2624
|
-
}
|
|
2625
|
-
if (img.getAttribute("alt") === null) {
|
|
2626
|
-
console.error(`Image is missing required "alt" property. Please add Alternative Text to describe the image for screen readers and search engines.`);
|
|
2627
|
-
}
|
|
2628
|
-
}
|
|
2629
|
-
if (img.complete) {
|
|
2630
|
-
handleLoading(img, placeholder, onLoadRef, onLoadingCompleteRef, setBlurComplete, unoptimized, sizesInput);
|
|
2631
|
-
}
|
|
2632
|
-
}, [
|
|
2633
|
-
src,
|
|
2634
|
-
placeholder,
|
|
2635
|
-
onLoadRef,
|
|
2636
|
-
onLoadingCompleteRef,
|
|
2637
|
-
setBlurComplete,
|
|
2638
|
-
onError,
|
|
2639
|
-
unoptimized,
|
|
2640
|
-
sizesInput
|
|
2641
|
-
]);
|
|
2642
|
-
const ref = (0, _usemergedref.useMergedRef)(forwardedRef, ownRef);
|
|
2643
|
-
return /* @__PURE__ */ (0, _jsxruntime.jsx)("img", {
|
|
2644
|
-
...rest,
|
|
2645
|
-
...getDynamicProps(fetchPriority),
|
|
2646
|
-
// It's intended to keep `loading` before `src` because React updates
|
|
2647
|
-
// props in order which causes Safari/Firefox to not lazy load properly.
|
|
2648
|
-
// See https://github.com/facebook/react/issues/25883
|
|
2649
|
-
loading,
|
|
2650
|
-
width,
|
|
2651
|
-
height,
|
|
2652
|
-
decoding,
|
|
2653
|
-
"data-nimg": fill ? "fill" : "1",
|
|
2654
|
-
className,
|
|
2655
|
-
style,
|
|
2656
|
-
// It's intended to keep `src` the last attribute because React updates
|
|
2657
|
-
// attributes in order. If we keep `src` the first one, Safari will
|
|
2658
|
-
// immediately start to fetch `src`, before `sizes` and `srcSet` are even
|
|
2659
|
-
// updated by React. That causes multiple unnecessary requests if `srcSet`
|
|
2660
|
-
// and `sizes` are defined.
|
|
2661
|
-
// This bug cannot be reproduced in Chrome or Firefox.
|
|
2662
|
-
sizes,
|
|
2663
|
-
srcSet,
|
|
2664
|
-
src,
|
|
2665
|
-
ref,
|
|
2666
|
-
onLoad: (event) => {
|
|
2667
|
-
const img = event.currentTarget;
|
|
2668
|
-
handleLoading(img, placeholder, onLoadRef, onLoadingCompleteRef, setBlurComplete, unoptimized, sizesInput);
|
|
2669
|
-
},
|
|
2670
|
-
onError: (event) => {
|
|
2671
|
-
setShowAltText(true);
|
|
2672
|
-
if (placeholder !== "empty") {
|
|
2673
|
-
setBlurComplete(true);
|
|
2674
|
-
}
|
|
2675
|
-
if (onError) {
|
|
2676
|
-
onError(event);
|
|
2677
|
-
}
|
|
2678
|
-
}
|
|
2679
|
-
});
|
|
2680
|
-
});
|
|
2681
|
-
function ImagePreload({ isAppRouter, imgAttributes }) {
|
|
2682
|
-
const opts = {
|
|
2683
|
-
as: "image",
|
|
2684
|
-
imageSrcSet: imgAttributes.srcSet,
|
|
2685
|
-
imageSizes: imgAttributes.sizes,
|
|
2686
|
-
crossOrigin: imgAttributes.crossOrigin,
|
|
2687
|
-
referrerPolicy: imgAttributes.referrerPolicy,
|
|
2688
|
-
...getDynamicProps(imgAttributes.fetchPriority)
|
|
2689
|
-
};
|
|
2690
|
-
if (isAppRouter && _reactdom.default.preload) {
|
|
2691
|
-
_reactdom.default.preload(imgAttributes.src, opts);
|
|
2692
|
-
return null;
|
|
2693
|
-
}
|
|
2694
|
-
return /* @__PURE__ */ (0, _jsxruntime.jsx)(_head.default, {
|
|
2695
|
-
children: /* @__PURE__ */ (0, _jsxruntime.jsx)("link", {
|
|
2696
|
-
rel: "preload",
|
|
2697
|
-
// Note how we omit the `href` attribute, as it would only be relevant
|
|
2698
|
-
// for browsers that do not support `imagesrcset`, and in those cases
|
|
2699
|
-
// it would cause the incorrect image to be preloaded.
|
|
2700
|
-
//
|
|
2701
|
-
// https://html.spec.whatwg.org/multipage/semantics.html#attr-link-imagesrcset
|
|
2702
|
-
href: imgAttributes.srcSet ? void 0 : imgAttributes.src,
|
|
2703
|
-
...opts
|
|
2704
|
-
}, "__nimg-" + imgAttributes.src + imgAttributes.srcSet + imgAttributes.sizes)
|
|
2705
|
-
});
|
|
2706
|
-
}
|
|
2707
|
-
const Image2 = /* @__PURE__ */ (0, _react.forwardRef)((props, forwardedRef) => {
|
|
2708
|
-
const pagesRouter = (0, _react.useContext)(_routercontextsharedruntime.RouterContext);
|
|
2709
|
-
const isAppRouter = !pagesRouter;
|
|
2710
|
-
const configContext = (0, _react.useContext)(_imageconfigcontextsharedruntime.ImageConfigContext);
|
|
2711
|
-
const config = (0, _react.useMemo)(() => {
|
|
2712
|
-
var _a;
|
|
2713
|
-
const c = configEnv || configContext || _imageconfig.imageConfigDefault;
|
|
2714
|
-
const allSizes = [
|
|
2715
|
-
...c.deviceSizes,
|
|
2716
|
-
...c.imageSizes
|
|
2717
|
-
].sort((a, b) => a - b);
|
|
2718
|
-
const deviceSizes = c.deviceSizes.sort((a, b) => a - b);
|
|
2719
|
-
const qualities = (_a = c.qualities) == null ? void 0 : _a.sort((a, b) => a - b);
|
|
2720
|
-
return {
|
|
2721
|
-
...c,
|
|
2722
|
-
allSizes,
|
|
2723
|
-
deviceSizes,
|
|
2724
|
-
qualities,
|
|
2725
|
-
// During the SSR, configEnv (__NEXT_IMAGE_OPTS) does not include
|
|
2726
|
-
// security sensitive configs like `localPatterns`, which is needed
|
|
2727
|
-
// during the server render to ensure it's validated. Therefore use
|
|
2728
|
-
// configContext, which holds the config from the server for validation.
|
|
2729
|
-
localPatterns: typeof window === "undefined" ? configContext == null ? void 0 : configContext.localPatterns : c.localPatterns
|
|
2730
|
-
};
|
|
2731
|
-
}, [
|
|
2732
|
-
configContext
|
|
2733
|
-
]);
|
|
2734
|
-
const { onLoad, onLoadingComplete } = props;
|
|
2735
|
-
const onLoadRef = (0, _react.useRef)(onLoad);
|
|
2736
|
-
(0, _react.useEffect)(() => {
|
|
2737
|
-
onLoadRef.current = onLoad;
|
|
2738
|
-
}, [
|
|
2739
|
-
onLoad
|
|
2740
|
-
]);
|
|
2741
|
-
const onLoadingCompleteRef = (0, _react.useRef)(onLoadingComplete);
|
|
2742
|
-
(0, _react.useEffect)(() => {
|
|
2743
|
-
onLoadingCompleteRef.current = onLoadingComplete;
|
|
2744
|
-
}, [
|
|
2745
|
-
onLoadingComplete
|
|
2746
|
-
]);
|
|
2747
|
-
const [blurComplete, setBlurComplete] = (0, _react.useState)(false);
|
|
2748
|
-
const [showAltText, setShowAltText] = (0, _react.useState)(false);
|
|
2749
|
-
const { props: imgAttributes, meta: imgMeta } = (0, _getimgprops.getImgProps)(props, {
|
|
2750
|
-
defaultLoader: _imageloader.default,
|
|
2751
|
-
imgConf: config,
|
|
2752
|
-
blurComplete,
|
|
2753
|
-
showAltText
|
|
2754
|
-
});
|
|
2755
|
-
return /* @__PURE__ */ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, {
|
|
2756
|
-
children: [
|
|
2757
|
-
/* @__PURE__ */ (0, _jsxruntime.jsx)(ImageElement, {
|
|
2758
|
-
...imgAttributes,
|
|
2759
|
-
unoptimized: imgMeta.unoptimized,
|
|
2760
|
-
placeholder: imgMeta.placeholder,
|
|
2761
|
-
fill: imgMeta.fill,
|
|
2762
|
-
onLoadRef,
|
|
2763
|
-
onLoadingCompleteRef,
|
|
2764
|
-
setBlurComplete,
|
|
2765
|
-
setShowAltText,
|
|
2766
|
-
sizesInput: props.sizes,
|
|
2767
|
-
ref: forwardedRef
|
|
2768
|
-
}),
|
|
2769
|
-
imgMeta.preload ? /* @__PURE__ */ (0, _jsxruntime.jsx)(ImagePreload, {
|
|
2770
|
-
isAppRouter,
|
|
2771
|
-
imgAttributes
|
|
2772
|
-
}) : null
|
|
2773
|
-
]
|
|
2774
|
-
});
|
|
2775
|
-
});
|
|
2776
|
-
if ((typeof exports$1.default === "function" || typeof exports$1.default === "object" && exports$1.default !== null) && typeof exports$1.default.__esModule === "undefined") {
|
|
2777
|
-
Object.defineProperty(exports$1.default, "__esModule", { value: true });
|
|
2778
|
-
Object.assign(exports$1.default, exports$1);
|
|
2779
|
-
module2.exports = exports$1.default;
|
|
2780
|
-
}
|
|
2781
|
-
})(imageComponent, imageComponent.exports);
|
|
2782
|
-
return imageComponent.exports;
|
|
2783
|
-
}
|
|
2784
|
-
var hasRequiredImageExternal;
|
|
2785
|
-
function requireImageExternal() {
|
|
2786
|
-
if (hasRequiredImageExternal) return imageExternal;
|
|
2787
|
-
hasRequiredImageExternal = 1;
|
|
2788
|
-
(function(exports$1) {
|
|
2789
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
2790
|
-
value: true
|
|
2791
|
-
});
|
|
2792
|
-
function _export(target, all) {
|
|
2793
|
-
for (var name in all) Object.defineProperty(target, name, {
|
|
2794
|
-
enumerable: true,
|
|
2795
|
-
get: all[name]
|
|
2796
|
-
});
|
|
2797
|
-
}
|
|
2798
|
-
_export(exports$1, {
|
|
2799
|
-
default: function() {
|
|
2800
|
-
return _default;
|
|
2801
|
-
},
|
|
2802
|
-
getImageProps: function() {
|
|
2803
|
-
return getImageProps;
|
|
2804
|
-
}
|
|
2805
|
-
});
|
|
2806
|
-
const _interop_require_default = /* @__PURE__ */ link.require_interop_require_default();
|
|
2807
|
-
const _getimgprops = requireGetImgProps();
|
|
2808
|
-
const _imagecomponent = requireImageComponent();
|
|
2809
|
-
const _imageloader = /* @__PURE__ */ _interop_require_default._(requireImageLoader());
|
|
2810
|
-
function getImageProps(imgProps) {
|
|
2811
|
-
const { props } = (0, _getimgprops.getImgProps)(imgProps, {
|
|
2812
|
-
defaultLoader: _imageloader.default,
|
|
2813
|
-
// This is replaced by webpack define plugin
|
|
2814
|
-
imgConf: process.env.__NEXT_IMAGE_OPTS
|
|
2815
|
-
});
|
|
2816
|
-
for (const [key, value] of Object.entries(props)) {
|
|
2817
|
-
if (value === void 0) {
|
|
2818
|
-
delete props[key];
|
|
2819
|
-
}
|
|
2820
|
-
}
|
|
2821
|
-
return {
|
|
2822
|
-
props
|
|
2823
|
-
};
|
|
2824
|
-
}
|
|
2825
|
-
const _default = _imagecomponent.Image;
|
|
2826
|
-
})(imageExternal);
|
|
2827
|
-
return imageExternal;
|
|
2828
|
-
}
|
|
2829
|
-
var image;
|
|
2830
|
-
var hasRequiredImage;
|
|
2831
|
-
function requireImage() {
|
|
2832
|
-
if (hasRequiredImage) return image;
|
|
2833
|
-
hasRequiredImage = 1;
|
|
2834
|
-
image = requireImageExternal();
|
|
2835
|
-
return image;
|
|
2836
|
-
}
|
|
2837
|
-
var imageExports = requireImage();
|
|
2838
|
-
const Image = /* @__PURE__ */ link.getDefaultExportFromCjs(imageExports);
|
|
2839
|
-
exports.Image = Image;
|
|
2840
|
-
//# sourceMappingURL=image-Bo_vHlt1.cjs.map
|