admin-ui-starter-kit 0.4.2 → 0.4.3
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/.agents/skills/component-library-rules/SKILL.md +7 -1
- package/.agents/skills/component-library-rules/references/base-wrapper.md +24 -4
- package/.agents/skills/component-library-rules/references/components/INDEX.json +4 -3
- package/.agents/skills/component-library-rules/references/components/INDEX.md +4 -3
- package/.agents/skills/component-library-rules/references/components/ui__inputs.md +117 -18
- package/.agents/skills/component-library-rules/references/components/ui__layout-primitives.md +71 -0
- package/.agents/skills/component-library-rules/references/components/ui__menus.md +125 -43
- package/.agents/skills/component-library-rules/references/components/ui__overlays.md +117 -42
- package/AGENTS.md +7 -4
- package/README.md +28 -4
- package/dist/_shared/{header-BUAddfdE.js → header-CyBTcM-L.js} +9 -9
- package/dist/_shared/header-CyBTcM-L.js.map +1 -0
- package/dist/_shared/header-kwvkesfq.cjs +2 -0
- package/dist/_shared/header-kwvkesfq.cjs.map +1 -0
- package/dist/_shared/{sidebar-Bl_KRk-S.cjs → sidebar-B_L_dnAe.cjs} +2 -2
- package/dist/_shared/{sidebar-Bl_KRk-S.cjs.map → sidebar-B_L_dnAe.cjs.map} +1 -1
- package/dist/_shared/{sidebar-ux-yk-Ph.js → sidebar-C5DApiDy.js} +26 -19
- package/dist/_shared/{sidebar-ux-yk-Ph.js.map → sidebar-C5DApiDy.js.map} +1 -1
- package/dist/_shared/{sidebar-BML5ZZ5s.js → sidebar-CIlGkVbF.js} +156 -155
- package/dist/_shared/sidebar-CIlGkVbF.js.map +1 -0
- package/dist/_shared/sidebar-D3sK9otF.cjs +2 -0
- package/dist/_shared/sidebar-D3sK9otF.cjs.map +1 -0
- package/dist/components/base/sidebar/index.cjs +1 -1
- package/dist/components/base/sidebar/index.js +2 -2
- package/dist/components/base/sidebar/sidebar.d.ts +5 -3
- package/dist/components/base/sidebar/sidebar.d.ts.map +1 -1
- package/dist/components/layout/header/index.cjs +1 -1
- package/dist/components/layout/header/index.js +1 -1
- package/dist/components/layout/header/partials/header-search.d.ts.map +1 -1
- package/dist/components/layout/index.cjs +1 -1
- package/dist/components/layout/index.js +2 -2
- package/dist/components/layout/sidebar/components/sidebar-grouped-navigation.d.ts.map +1 -1
- package/dist/components/layout/sidebar/index.cjs +1 -1
- package/dist/components/layout/sidebar/index.js +1 -1
- package/dist/components/ui/alert-dialog.d.ts +19 -0
- package/dist/components/ui/alert-dialog.d.ts.map +1 -0
- package/dist/components/ui/aspect-ratio.d.ts +5 -0
- package/dist/components/ui/aspect-ratio.d.ts.map +1 -0
- package/dist/components/ui/carousel.d.ts +29 -0
- package/dist/components/ui/carousel.d.ts.map +1 -0
- package/dist/components/ui/direction.d.ts +2 -0
- package/dist/components/ui/direction.d.ts.map +1 -0
- package/dist/components/ui/drawer.d.ts +14 -0
- package/dist/components/ui/drawer.d.ts.map +1 -0
- package/dist/components/ui/field.d.ts +25 -0
- package/dist/components/ui/field.d.ts.map +1 -0
- package/dist/components/ui/input-otp.d.ts +12 -0
- package/dist/components/ui/input-otp.d.ts.map +1 -0
- package/dist/components/ui/kbd.d.ts +4 -0
- package/dist/components/ui/kbd.d.ts.map +1 -0
- package/dist/components/ui/label.d.ts +4 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/menubar.d.ts +30 -0
- package/dist/components/ui/menubar.d.ts.map +1 -0
- package/dist/components/ui/native-select.d.ts +9 -0
- package/dist/components/ui/native-select.d.ts.map +1 -0
- package/dist/components/ui/navigation-menu.d.ts +12 -0
- package/dist/components/ui/navigation-menu.d.ts.map +1 -0
- package/dist/components/ui/resizable.d.ts +8 -0
- package/dist/components/ui/resizable.d.ts.map +1 -0
- package/dist/showcase/assets/{AreaChart-DUe3j5uB.js → AreaChart-BkAbL-UV.js} +1 -1
- package/dist/showcase/assets/CSPContext-B11tftuK.js +1 -0
- package/dist/showcase/assets/CompositeItem-Dzu0MfUC.js +1 -0
- package/dist/showcase/assets/CompositeRoot-CQvQ_uj2.js +1 -0
- package/dist/showcase/assets/DialogTrigger-BxVhSw4D.js +1 -0
- package/dist/showcase/assets/FieldItemContext-BSFHjS7g.js +1 -0
- package/dist/showcase/assets/LabelableContext-DapqaNeY.js +1 -0
- package/dist/showcase/assets/{PreviewLayout-BG1B5TzA.js → PreviewLayout-CGEkbS-i.js} +1 -1
- package/dist/showcase/assets/RadioGroup-DBA3iBQw.js +1 -0
- package/dist/showcase/assets/Separator-BEMr82IS.js +1 -0
- package/dist/showcase/assets/ToolbarRootContext-xN-ruoGR.js +1 -0
- package/dist/showcase/assets/{accordion-BWkuKg77.js → accordion-B-Iy0jKu.js} +3 -3
- package/dist/showcase/assets/accordion-variants-B9GD0oBE.js +1 -0
- package/dist/showcase/assets/{action-menu-BOUHlGba.js → action-menu-CMUF6gPp.js} +1 -1
- package/dist/showcase/assets/{activities-DMDQje7Y.js → activities-C1P9bsJm.js} +2 -2
- package/dist/showcase/assets/{activities-feed-card-B8wpu4F3.js → activities-feed-card-WZUuGHmT.js} +1 -1
- package/dist/showcase/assets/{activity-B-FxNryB.js → activity-BVP5C805.js} +1 -1
- package/dist/showcase/assets/{admin-CAhEeKt_.js → admin-DWOK4sj4.js} +2 -2
- package/dist/showcase/assets/{ai-UioEgJ90.js → ai-Dteb3y6G.js} +2 -2
- package/dist/showcase/assets/{ai-artifact-CUAlhcSX.js → ai-artifact-B0d7GveY.js} +2 -2
- package/dist/showcase/assets/{ai-chat-C_w2PSmy.js → ai-chat-IJ0b2FOw.js} +7 -7
- package/dist/showcase/assets/{ai-elements-DmxqXR6H.js → ai-elements-Cr8GgtEV.js} +3 -3
- package/dist/showcase/assets/{ai-new-PG02TWQq.js → ai-new-BJN9wNvX.js} +2 -2
- package/dist/showcase/assets/{ai-tool-call-BaJx1rR4.js → ai-tool-call-BqlQuR1P.js} +1 -1
- package/dist/showcase/assets/{alert-DIelf1qF.js → alert-2_0J7Vv6.js} +1 -1
- package/dist/showcase/assets/{alert-D7n-kQoO.js → alert-7wEOpEor.js} +1 -1
- package/dist/showcase/assets/{alert-TQCZEcn-.js → alert-C_FOBilU.js} +2 -2
- package/dist/showcase/assets/{api-key-list-CSt4trYG.js → api-key-list-CGV1k52v.js} +2 -2
- package/dist/showcase/assets/app-sidebar-S6oUYO4h.js +1 -0
- package/dist/showcase/assets/arrow-down-VNr82bS3.js +1 -0
- package/dist/showcase/assets/arrow-left-BSVeKWNq.js +1 -0
- package/dist/showcase/assets/arrow-right-D6hTB0Bd.js +1 -0
- package/dist/showcase/assets/arrow-up-p9oA4cIz.js +1 -0
- package/dist/showcase/assets/arrow-up-right-BtlQ62bc.js +1 -0
- package/dist/showcase/assets/{avatar-DLpnivU0.js → avatar-BxcQUuh0.js} +1 -1
- package/dist/showcase/assets/avatar-LGWm52rv.js +1 -0
- package/dist/showcase/assets/{badge-yFoRqbiq.js → badge-COn5psy3.js} +2 -2
- package/dist/showcase/assets/{badge-check-BRAVo7dA.js → badge-check-D2C2BPUT.js} +1 -1
- package/dist/showcase/assets/{bell-Dt3Nz2y2.js → bell-C80n9VRl.js} +1 -1
- package/dist/showcase/assets/{bot-5Ro5Dayc.js → bot-C83bUUi9.js} +1 -1
- package/dist/showcase/assets/{box-mt6TbZO6.js → box-rZ0pA-02.js} +1 -1
- package/dist/showcase/assets/{brain-736080Wh.js → brain-BJtktdVu.js} +1 -1
- package/dist/showcase/assets/{brand-4K8xsJ91.js → brand-CxdIBpyJ.js} +1 -1
- package/dist/showcase/assets/{breadcrumb-CAlApdCw.js → breadcrumb-BZsr_A8k.js} +1 -1
- package/dist/showcase/assets/{breadcrumb-DHeGqoTD.js → breadcrumb-CSU8FvWB.js} +1 -1
- package/dist/showcase/assets/{breadcrumbs-D_lniGJs.js → breadcrumbs-BUm4gHzL.js} +1 -1
- package/dist/showcase/assets/{briefcase-B_Uti-Iu.js → briefcase-0WhUdLn5.js} +1 -1
- package/dist/showcase/assets/{building-2-zgcwuzxP.js → building-2-1D6zVdCI.js} +1 -1
- package/dist/showcase/assets/{button-PmqgeJKm.js → button-C22Gs6y0.js} +2 -2
- package/dist/showcase/assets/{button-group-DAOmmujV.js → button-group-C0Ts4-x3.js} +1 -1
- package/dist/showcase/assets/{buttons-PtpR_v16.js → buttons-Dfn6hmwe.js} +3 -3
- package/dist/showcase/assets/{calendar-DTgagmt7.js → calendar-7a4yQlzJ.js} +1 -1
- package/dist/showcase/assets/{calendar-BiOGjB7a.js → calendar-Bo17POsN.js} +1 -1
- package/dist/showcase/assets/{calendar-C1A98cz0.js → calendar-D6XNDRVQ.js} +1 -1
- package/dist/showcase/assets/{calendar-days-pr8kXiTx.js → calendar-days-C4mG2tOe.js} +1 -1
- package/dist/showcase/assets/{camera-CGKLOOep.js → camera-C16z6v0m.js} +1 -1
- package/dist/showcase/assets/{card-CFIG8Dgg.js → card-BjqRQxxz.js} +1 -1
- package/dist/showcase/assets/{card-CRd07Iun.js → card-IzYmUTpI.js} +2 -2
- package/dist/showcase/assets/{card-primitives-YgCOqVDI.js → card-primitives-BDj4DtS8.js} +1 -1
- package/dist/showcase/assets/{card-radio-group-Du6yaMZ-.js → card-radio-group-7GU9AtWs.js} +1 -1
- package/dist/showcase/assets/{cards-H7ywhTNM.js → cards-DAqpr8CM.js} +8 -8
- package/dist/showcase/assets/{carousel-Dwll5oz1.js → carousel-D1n4Kkoo.js} +4 -4
- package/dist/showcase/assets/{chart-BWnVf-d-.js → chart-D2EGeI3b.js} +5 -5
- package/dist/showcase/assets/{chart-column-DjAyOA-t.js → chart-column-DKcP77Dx.js} +1 -1
- package/dist/showcase/assets/checkbox-BI3gcjED.js +1 -0
- package/dist/showcase/assets/chevron-down-ByPPEdNm.js +1 -0
- package/dist/showcase/assets/chevron-left-BNByuq3g.js +1 -0
- package/dist/showcase/assets/chevron-right-D4pIMCh9.js +1 -0
- package/dist/showcase/assets/chevron-up-Cha879Nz.js +1 -0
- package/dist/showcase/assets/chevrons-up-down-eAgHau5X.js +1 -0
- package/dist/showcase/assets/circle-V5hdlsIn.js +1 -0
- package/dist/showcase/assets/{circle-alert-ysbx8rsZ.js → circle-alert-BW-Btwgh.js} +1 -1
- package/dist/showcase/assets/circle-check-1MSds3Vu.js +1 -0
- package/dist/showcase/assets/circle-check-big-vBWkmhCZ.js +1 -0
- package/dist/showcase/assets/circle-dot-CsD5uXwH.js +1 -0
- package/dist/showcase/assets/{circle-question-mark-Dbi-WTYN.js → circle-question-mark-xYn9p1nL.js} +1 -1
- package/dist/showcase/assets/{circle-x-c5z6-eYV.js → circle-x-VSqZOeGt.js} +1 -1
- package/dist/showcase/assets/clock-3-CP_t59kW.js +1 -0
- package/dist/showcase/assets/clock-9xbB7EnW.js +1 -0
- package/dist/showcase/assets/{code-xml-SoYTMEdm.js → code-xml-CeGA85eB.js} +1 -1
- package/dist/showcase/assets/{collapsible-Cv3oGVkH.js → collapsible-C2W51-wl.js} +2 -2
- package/dist/showcase/assets/collapsible-C4eof15p.js +1 -0
- package/dist/showcase/assets/{combobox-CPC4a_MH.js → combobox-i8o4u6Q0.js} +4 -4
- package/dist/showcase/assets/{command-C37Q471b.js → command-C4F78Ppy.js} +1 -1
- package/dist/showcase/assets/command-wjOXUieO.js +1 -0
- package/dist/showcase/assets/{comment-composer-W0xfh_HP.js → comment-composer-DeURrlgL.js} +1 -1
- package/dist/showcase/assets/comment-item-D07Qk-Nt.js +1 -0
- package/dist/showcase/assets/{comments-BODDdRry.js → comments-Bo-lZU18.js} +2 -2
- package/dist/showcase/assets/{commerce-extras-DsgnTkBH.js → commerce-extras-Cio3xn_B.js} +2 -2
- package/dist/showcase/assets/{commerce-B9MICTY2.js → commerce-jqA58sCZ.js} +2 -2
- package/dist/showcase/assets/{composite-B-19wwf9.js → composite-BQFpnmS9.js} +1 -1
- package/dist/showcase/assets/{contact-card-CqP3YxTq.js → contact-card-4ajPhcd_.js} +2 -2
- package/dist/showcase/assets/{content-container-x2tsQKwH.js → content-container-B83BnjFb.js} +1 -1
- package/dist/showcase/assets/{copyable-DH0w0i_h.js → copyable-DKkroGJ3.js} +3 -3
- package/dist/showcase/assets/{course-card-qpC4JUUM.js → course-card-DShYl03k.js} +2 -2
- package/dist/showcase/assets/{cpu-DjJeD_0Z.js → cpu-BZTsuaUu.js} +1 -1
- package/dist/showcase/assets/{credit-card-CYgRtM77.js → credit-card-CAI3F3HB.js} +1 -1
- package/dist/showcase/assets/{currency-hguqIjWU.js → currency-PXgbngHk.js} +6 -6
- package/dist/showcase/assets/{dark-surfaces-Cj34O9A0.js → dark-surfaces-pSCicdm4.js} +2 -2
- package/dist/showcase/assets/{database-BVwSMeGM.js → database-oHsxHUj-.js} +1 -1
- package/dist/showcase/assets/{date-block-LCTDXG5-.js → date-block-CvCdJr8d.js} +1 -1
- package/dist/showcase/assets/{date-picker-CbYq8wZ7.js → date-picker-Cd5vsEEd.js} +1 -1
- package/dist/showcase/assets/{date-pickers-BaSX23MK.js → date-pickers-CBK-zvSB.js} +4 -4
- package/dist/showcase/assets/{dense-info-kY1QmtaP.js → dense-info-zOdJpez6.js} +2 -2
- package/dist/showcase/assets/{dialog-B85US9Ue.js → dialog-D9-MRCRg.js} +1 -1
- package/dist/showcase/assets/{dialog-iIgfMvTJ.js → dialog-EDw9DvZs.js} +1 -1
- package/dist/showcase/assets/display-CE9JWinr.js +403 -0
- package/dist/showcase/assets/dist-CjZ6RM9v.js +45 -0
- package/dist/showcase/assets/{dollar-sign-DlK6XF_v.js → dollar-sign-BXD_x2mP.js} +1 -1
- package/dist/showcase/assets/{download-B_EY5cGA.js → download-D0ur_d_N.js} +1 -1
- package/dist/showcase/assets/dropdown-menu-Cto8-yDW.js +1 -0
- package/dist/showcase/assets/{dropzone-Bl7RO_Uk.js → dropzone-9Gb4mR4x.js} +1 -1
- package/dist/showcase/assets/{earth-C7n2JAYm.js → earth-BN1w3w7h.js} +1 -1
- package/dist/showcase/assets/{ellipsis-ntuo3ejh.js → ellipsis-DsrebD1Y.js} +1 -1
- package/dist/showcase/assets/{ellipsis-vertical-yH8S83bc.js → ellipsis-vertical-CAiMV7G2.js} +1 -1
- package/dist/showcase/assets/{empty-CY8f7iFe.js → empty-DoJF3uif.js} +1 -1
- package/dist/showcase/assets/{empty-item-Ct7uCr40.js → empty-item-zZ85qI6s.js} +2 -2
- package/dist/showcase/assets/{empty-state-IAAUTn6f.js → empty-state-CGfB7sOE.js} +1 -1
- package/dist/showcase/assets/{empty-state-DlO8SJi8.js → empty-state-Y_4qnNWt.js} +1 -1
- package/dist/showcase/assets/{enhanced-activities-DLwShhof.js → enhanced-activities-B41hAxhb.js} +2 -2
- package/dist/showcase/assets/enhanced-combobox-BOimEW-1.js +1 -0
- package/dist/showcase/assets/{event-calendar-C4KlumlG.js → event-calendar-BjcfC6fM.js} +3 -3
- package/dist/showcase/assets/{event-log-BvUU5Rj8.js → event-log-BhoMXcix.js} +2 -2
- package/dist/showcase/assets/example-Cz_880po.js +1 -0
- package/dist/showcase/assets/{external-link-DuJlM_H4.js → external-link-Cy1-PP8k.js} +1 -1
- package/dist/showcase/assets/{eye-CnRPL_H8.js → eye-C85PNNdH.js} +1 -1
- package/dist/showcase/assets/feature-announcement-_tpahla3.js +34 -0
- package/dist/showcase/assets/{file-Dc5UHkfE.js → file-C8PCBEtY.js} +1 -1
- package/dist/showcase/assets/{file-text-D3AE37vP.js → file-text-DwqbUujq.js} +1 -1
- package/dist/showcase/assets/{filters-CsovNSxS.js → filters-ChqGg_1z.js} +3 -3
- package/dist/showcase/assets/{flag-CJJ43K4x.js → flag-csHQcBml.js} +1 -1
- package/dist/showcase/assets/{folder-open-Dp0sceCi.js → folder-open-BThTng3d.js} +1 -1
- package/dist/showcase/assets/{form-field-Cxm4APa9.js → form-field-B5g_5Zjm.js} +1 -1
- package/dist/showcase/assets/{format-bDaUGCSP.js → format-DrTwpH65.js} +1 -1
- package/dist/showcase/assets/{forms-BrVikK1p.js → forms-BukyUSKs.js} +9 -9
- package/dist/showcase/assets/{frame-CkLEABTd.js → frame-BNKhZVlb.js} +4 -4
- package/dist/showcase/assets/getPseudoElementBounds-DwyQgIj-.js +1 -0
- package/dist/showcase/assets/{gift-Bx8IO1FQ.js → gift-CtM--bDo.js} +1 -1
- package/dist/showcase/assets/{giftcard-cards-CZTXBjv0.js → giftcard-cards-imm4Br0H.js} +2 -2
- package/dist/showcase/assets/{git-branch-D9jt-u1q.js → git-branch-Dl3AzbqP.js} +1 -1
- package/dist/showcase/assets/{global-search-D9XJ747r.js → global-search-Bhl7z_vN.js} +1 -1
- package/dist/showcase/assets/{global-search-C2R_3Pb3.js → global-search-C4yaPFSW.js} +1 -1
- package/dist/showcase/assets/{globe-BJHI134i.js → globe-BCikLfKc.js} +1 -1
- package/dist/showcase/assets/{gradient-card-CV8w2JG5.js → gradient-card-Dh_5ZYv0.js} +2 -2
- package/dist/showcase/assets/{hash-CtBGoIvf.js → hash-C8m0EECO.js} +1 -1
- package/dist/showcase/assets/{header-B3FSlVv4.js → header-BXjw7Lm_.js} +1 -1
- package/dist/showcase/assets/header-notifications-CShSQ8kR.js +1 -0
- package/dist/showcase/assets/{heart-BWZYF4xJ.js → heart-BJVBFZ-j.js} +1 -1
- package/dist/showcase/assets/{house-CAQOnHLO.js → house-C3fXPhlL.js} +1 -1
- package/dist/showcase/assets/{icon-badge-CxvxB8Vd.js → icon-badge-dwVx3Hxf.js} +1 -1
- package/dist/showcase/assets/{image-Byz-p7hT.js → image-gc4qX_7C.js} +1 -1
- package/dist/showcase/assets/{inbox-D4UE_W9O.js → inbox-C0GJ1KEC.js} +1 -1
- package/dist/showcase/assets/{index-Cz4UGUT2.js → index-BQIv1ffM.js} +2 -2
- package/dist/showcase/assets/index-DN3tqopz.css +2 -0
- package/dist/showcase/assets/inertValue-DeVQ2cCe.js +1 -0
- package/dist/showcase/assets/{info-DFu8OfxV.js → info-BimmreJ-.js} +1 -1
- package/dist/showcase/assets/{inline-stat-DqI70yoJ.js → inline-stat-DcNP6bcO.js} +1 -1
- package/dist/showcase/assets/input-DJAWOJEx.js +1 -0
- package/dist/showcase/assets/{input-BPDdWrB1.js → input-NIgvB9CZ.js} +1 -1
- package/dist/showcase/assets/{input-group-BYZYeQ7j.js → input-group-BmqJ20bA.js} +1 -1
- package/dist/showcase/assets/{input-group-YIWmmLJ6.js → input-group-gOUubhee.js} +1 -1
- package/dist/showcase/assets/inputs-Dk8YOVkI.js +155 -0
- package/dist/showcase/assets/{invoice-header-B00JrPAb.js → invoice-header-BnNpWej2.js} +2 -2
- package/dist/showcase/assets/{invoice-items-CUt5D3Wz.js → invoice-items-BdPmW10L.js} +2 -2
- package/dist/showcase/assets/{invoice-mini-CRoaQ9g9.js → invoice-mini-CbSYyHIb.js} +2 -2
- package/dist/showcase/assets/{invoice-table-DYNnDTQl.js → invoice-table-DjnWG3KF.js} +2 -2
- package/dist/showcase/assets/isSameDay-B2KDl_YX.js +1 -0
- package/dist/showcase/assets/isToday-CXNS7ELW.js +1 -0
- package/dist/showcase/assets/{italic-AbetEb3d.js → italic-BRS-PpYL.js} +1 -1
- package/dist/showcase/assets/{item-BJOYyqeO.js → item--6Hx9AXZ.js} +1 -1
- package/dist/showcase/assets/{item-BGA6_5Zh.js → item-BszVRzXj.js} +2 -2
- package/dist/showcase/assets/{item-CbiuwbAN.js → item-YF6wMI9W.js} +1 -1
- package/dist/showcase/assets/{kanban-Br-Yz002.js → kanban-BWBbWLVe.js} +2 -2
- package/dist/showcase/assets/{label-BlCKlLE-.js → label-BgpcD3V6.js} +1 -1
- package/dist/showcase/assets/{languages-CKcUvHnt.js → languages-DDgmIDFe.js} +1 -1
- package/dist/showcase/assets/{layers-CakZLRSD.js → layers-nkkXRmvA.js} +1 -1
- package/dist/showcase/assets/{layout-app-shell-ukDXqPxC.js → layout-app-shell-D3MbPoGC.js} +2 -2
- package/dist/showcase/assets/{layout-auth-BFza65L3.js → layout-auth-DIeRtG0B.js} +4 -4
- package/dist/showcase/assets/{layout-containers-v1jG_b7r.js → layout-containers-Dc3-IAgV.js} +2 -2
- package/dist/showcase/assets/{layout-header-CqBf9wjY.js → layout-header-Cg6GfMST.js} +2 -2
- package/dist/showcase/assets/{layout-page-WJcljCac.js → layout-page-DojPq8S6.js} +2 -2
- package/dist/showcase/assets/layout-primitives-JBSQS72B.js +34 -0
- package/dist/showcase/assets/{layout-sidebar-DL6TLuQC.js → layout-sidebar-C6jUJRhx.js} +2 -2
- package/dist/showcase/assets/{layout-users-B8qpsvV9.js → layout-users-uzPscfo7.js} +2 -2
- package/dist/showcase/assets/{layout-workspace-iOKZ4-9K.js → layout-workspace-B3leaOKl.js} +2 -2
- package/dist/showcase/assets/{lock-Dn4-vUBz.js → lock-DLIcOBUd.js} +1 -1
- package/dist/showcase/assets/{lock-keyhole-M6KZ_7RC.js → lock-keyhole-DY6aV7Mq.js} +1 -1
- package/dist/showcase/assets/{mail-w1nhszbW.js → mail-AES_tOd2.js} +1 -1
- package/dist/showcase/assets/{mail-check-DXqQwivW.js → mail-check-dJTzg2bD.js} +1 -1
- package/dist/showcase/assets/{map-CquesVXo.js → map-CZ2l0iGH.js} +1 -1
- package/dist/showcase/assets/{map-pin-DUl-Lt6t.js → map-pin-0O7GD5Dz.js} +1 -1
- package/dist/showcase/assets/{media-library-CCJBQRPu.js → media-library-CRllxSGQ.js} +3 -3
- package/dist/showcase/assets/mention-inline-suggestions-Dx2Z1GHF.js +1 -0
- package/dist/showcase/assets/{mentions-Ea4pSJqG.js → mentions-CDqqGCE4.js} +2 -2
- package/dist/showcase/assets/menus-CDgE79I5.js +165 -0
- package/dist/showcase/assets/{message-square-B0RnrJV6.js → message-square-CBNI_sf8.js} +1 -1
- package/dist/showcase/assets/{metadata-list-fm8e58ID.js → metadata-list-BoEVt7cX.js} +1 -1
- package/dist/showcase/assets/{metadata-list-DkN9yfTj.js → metadata-list-NtWuY9W8.js} +4 -4
- package/dist/showcase/assets/{metric-guQTLTAa.js → metric-Bx_LWobe.js} +1 -1
- package/dist/showcase/assets/{metric-bar-BydkmggA.js → metric-bar-BldYHNLQ.js} +1 -1
- package/dist/showcase/assets/{metric-grid-BKjrYpt9.js → metric-grid-BDw7w7d2.js} +1 -1
- package/dist/showcase/assets/{metric-trend-chip-DehaJ3nC.js → metric-trend-chip-lSjDkUEo.js} +1 -1
- package/dist/showcase/assets/{metrics-analytics-bar-YjwFT4ae.js → metrics-analytics-bar-CCFhTmQZ.js} +1 -1
- package/dist/showcase/assets/{metrics-analytics-cards-B6DspERM.js → metrics-analytics-cards-C1AjZqJU.js} +2 -2
- package/dist/showcase/assets/{metrics-comparison-Nru5wypZ.js → metrics-comparison-vEE6BtuW.js} +2 -2
- package/dist/showcase/assets/{metrics-heatmap-CcumN0Or.js → metrics-heatmap-DKkz8ibX.js} +2 -2
- package/dist/showcase/assets/{metrics-inline-badge-2WB7w9mz.js → metrics-inline-badge-CZmVnReB.js} +2 -2
- package/dist/showcase/assets/{metrics-kpi-row-jU3hsB3C.js → metrics-kpi-row-s2FYIYB1.js} +2 -2
- package/dist/showcase/assets/{metrics-micro-grid-CaJ99RXL.js → metrics-micro-grid-DDlCl9Ep.js} +2 -2
- package/dist/showcase/assets/{metrics-overview-Sa7z6jct.js → metrics-overview-BgliK2L1.js} +2 -2
- package/dist/showcase/assets/{metrics-stat-cards-PLvMkA0M.js → metrics-stat-cards-Cn5sRZsB.js} +1 -1
- package/dist/showcase/assets/minus-DByvcC8K.js +1 -0
- package/dist/showcase/assets/{money-display-23DKz-jK.js → money-display-DG4IaEaA.js} +1 -1
- package/dist/showcase/assets/{month-year-picker-oEoInnKW.js → month-year-picker-CVurc9L7.js} +1 -1
- package/dist/showcase/assets/{navigation-Dufz6qnF.js → navigation-CHYgQTsY.js} +2 -2
- package/dist/showcase/assets/{navigation-Ds60FMAs.js → navigation-C_6gS4FA.js} +3 -3
- package/dist/showcase/assets/{navigation-extras-DKufT82I.js → navigation-extras-CflOar2P.js} +2 -2
- package/dist/showcase/assets/{onboarding-checklist-DSkS2ktA.js → onboarding-checklist-CYiciKwv.js} +2 -2
- package/dist/showcase/assets/{overlays-BptoR4sm.js → overlays-HrH2wdTK.js} +2 -2
- package/dist/showcase/assets/overlays-cp7VMq3b.js +159 -0
- package/dist/showcase/assets/{package-0ZgMoFm1.js → package-CjcwDJKu.js} +1 -1
- package/dist/showcase/assets/{package-check-CT0dhSM8.js → package-check-CCH3ax-x.js} +1 -1
- package/dist/showcase/assets/{page-action-button-DrHJKFbp.js → page-action-button-Cn5j2_EP.js} +1 -1
- package/dist/showcase/assets/page-header-CkvCF1MQ.js +1 -0
- package/dist/showcase/assets/{pagination-CxuA2zkE.js → pagination-DM5QGPo2.js} +1 -1
- package/dist/showcase/assets/{pagination-DsPLs2Tx.js → pagination-DUzHnhJ6.js} +1 -1
- package/dist/showcase/assets/{paperclip-CDMZ_JAo.js → paperclip-DoqDQQVa.js} +1 -1
- package/dist/showcase/assets/{password-input-BVaUPw7a.js → password-input-CfS4sfCl.js} +1 -1
- package/dist/showcase/assets/{pencil-BouoJ5x7.js → pencil-C2OfFQMj.js} +1 -1
- package/dist/showcase/assets/{phone-DCNFH5yg.js → phone-CLvml_XI.js} +1 -1
- package/dist/showcase/assets/plus-D5swsZCz.js +1 -0
- package/dist/showcase/assets/{popover-menu-CuA8fb7i.js → popover-menu-Bu9q96nE.js} +1 -1
- package/dist/showcase/assets/{popover-CECpX3MQ.js → popover-nCGXR4Yd.js} +1 -1
- package/dist/showcase/assets/popover-xC8qczvP.js +1 -0
- package/dist/showcase/assets/{products-BJHNTW62.js → products-BbSzEFvw.js} +2 -2
- package/dist/showcase/assets/progress-DYfoy7pk.js +1 -0
- package/dist/showcase/assets/{progress-tpxRVOkp.js → progress-ENNwjW3X.js} +1 -1
- package/dist/showcase/assets/{props-table-BR-KjRNe.js → props-table-2pIZzGC-.js} +1 -1
- package/dist/showcase/assets/{props.generated-qdUud3iu.json → props.generated-DggzG-JL.json} +3 -3
- package/dist/showcase/assets/{quote-CN-Sodsj.js → quote-BO1bufuX.js} +1 -1
- package/dist/showcase/assets/{receipt-T8B9lscp.js → receipt-kIVP3kxJ.js} +1 -1
- package/dist/showcase/assets/{receipt-text-CeBruM29.js → receipt-text-BDQIvI4l.js} +1 -1
- package/dist/showcase/assets/{refresh-cw-DnxNcOMm.js → refresh-cw-UdL93poQ.js} +1 -1
- package/dist/showcase/assets/resolveAriaLabelledBy-iFo8AzEr.js +1 -0
- package/dist/showcase/assets/resolveValueLabel-DfiI3G4i.js +1 -0
- package/dist/showcase/assets/{rich-text-editor-Bha0lSKT.js → rich-text-editor-CNtfwLC2.js} +1 -1
- package/dist/showcase/assets/{rich-text-editor-NeOPmoZF.js → rich-text-editor-DB4QWptQ.js} +3 -3
- package/dist/showcase/assets/rotate-ccw-DQPoMfMY.js +1 -0
- package/dist/showcase/assets/{save-AT8JlA8E.js → save-Cd0ZM40i.js} +1 -1
- package/dist/showcase/assets/{schema-form-BpkVygoO.js → schema-form-Cyc6vCVO.js} +2 -2
- package/dist/showcase/assets/{scroll-area-B0wmaMAD.js → scroll-area-B5NZsDdi.js} +1 -1
- package/dist/showcase/assets/scroll-area-BvTq99pz.js +1 -0
- package/dist/showcase/assets/{select-t6dryszf.js → select-BRbyPtx8.js} +1 -1
- package/dist/showcase/assets/select-Dymyvyh6.js +1 -0
- package/dist/showcase/assets/{send-BzGRF4t-.js → send-BWzI7mwi.js} +1 -1
- package/dist/showcase/assets/{separator-BjGdXNcn.js → separator-BsYPzBlF.js} +1 -1
- package/dist/showcase/assets/{separator-DbiGagrP.js → separator-Osp0OJ78.js} +1 -1
- package/dist/showcase/assets/{settings-BSRT_96A.js → settings-DRmWJILI.js} +1 -1
- package/dist/showcase/assets/{sheet-CEuKOBxr.js → sheet-BKsjMYMo.js} +1 -1
- package/dist/showcase/assets/{shield-CcR2q5u_.js → shield-D1EaWJMG.js} +1 -1
- package/dist/showcase/assets/{shield-alert-DhbgXV1X.js → shield-alert-DWsbR2jn.js} +1 -1
- package/dist/showcase/assets/{shield-check-CRbBJXw2.js → shield-check-DUTAPADm.js} +1 -1
- package/dist/showcase/assets/{shopping-bag-B5BzpLV5.js → shopping-bag-XmeqUqk9.js} +1 -1
- package/dist/showcase/assets/sidebar-B5uO9sUB.js +1 -0
- package/dist/showcase/assets/{sidebar.context-BCb20eIt.js → sidebar.context-CRjgeYJL.js} +1 -1
- package/dist/showcase/assets/{skeleton-BeVdks4r.js → skeleton-BtiPkfxB.js} +1 -1
- package/dist/showcase/assets/{skeleton-DijlT51X.js → skeleton-DbybIpkV.js} +1 -1
- package/dist/showcase/assets/slider-vuwVVBby.js +1 -0
- package/dist/showcase/assets/{sliders-horizontal-C8RwUn0S.js → sliders-horizontal-BE_cwUn0.js} +1 -1
- package/dist/showcase/assets/{smart-card-B4P_C0nk.js → smart-card-Dhu_1A_u.js} +1 -1
- package/dist/showcase/assets/{sonner-CLYYRmEW.js → sonner-DZB-G4q5.js} +2 -2
- package/dist/showcase/assets/{sortable.esm-CoekVJlU.js → sortable.esm-YOwRw8Hr.js} +1 -1
- package/dist/showcase/assets/{sparkles-DFJmoAFP.js → sparkles-N8rqKQez.js} +1 -1
- package/dist/showcase/assets/{spinner-DMKANM9S.js → spinner-B5zKCNXu.js} +2 -2
- package/dist/showcase/assets/{spinner-WEI7TMVk.js → spinner-BOjRziLu.js} +1 -1
- package/dist/showcase/assets/{spinner-CeQHboSs.js → spinner-PIr8y8av.js} +1 -1
- package/dist/showcase/assets/{square-pen-CfvmmXYo.js → square-pen-ImRrVwT8.js} +1 -1
- package/dist/showcase/assets/{stacked-avatars-CcCnnUrA.js → stacked-avatars-DnIAc098.js} +1 -1
- package/dist/showcase/assets/{star-DK5onZCp.js → star-BaV-UTPq.js} +1 -1
- package/dist/showcase/assets/startOfDay-CtTeiGV0.js +1 -0
- package/dist/showcase/assets/stringifyLocale-CkHjdQTJ.js +1 -0
- package/dist/showcase/assets/{styles-BStlbPXe.js → styles-Bv0pDLVi.js} +1 -1
- package/dist/showcase/assets/{suggestions-Cd_XUmz3.js → suggestions-QnLPdgnG.js} +2 -2
- package/dist/showcase/assets/switch-DwAS_TXx.js +1 -0
- package/dist/showcase/assets/{switch-arjWj-n7.js → switch-xzxCDtyg.js} +1 -1
- package/dist/showcase/assets/{sync-DorQdMfx.js → sync-LeYxWAap.js} +2 -2
- package/dist/showcase/assets/{table-ClYkDRAk.js → table-BbEFanNu.js} +1 -1
- package/dist/showcase/assets/{table-D9q0odD8.js → table-CVVHBty6.js} +5 -5
- package/dist/showcase/assets/{table-actions-UJbkGb44.js → table-actions-DvI9U67L.js} +1 -1
- package/dist/showcase/assets/tabs-CLcyGwLd.js +1 -0
- package/dist/showcase/assets/{tabs-BENBPFif.js → tabs-ck8y1Bjr.js} +1 -1
- package/dist/showcase/assets/{tags-input-DRlg3zQH.js → tags-input-DmBY2CKI.js} +1 -1
- package/dist/showcase/assets/{text-button-CQvP6Kic.js → text-button-C54O1rZM.js} +1 -1
- package/dist/showcase/assets/{text-link-DT-nOORV.js → text-link-9_mZpq_f.js} +1 -1
- package/dist/showcase/assets/{textarea-BGHGV17m.js → textarea-CHvnWHWH.js} +1 -1
- package/dist/showcase/assets/{textarea-pstF1OBP.js → textarea-jexcMklP.js} +1 -1
- package/dist/showcase/assets/{timelines-D8y-IyxW.js → timelines-uvFVjEQv.js} +2 -2
- package/dist/showcase/assets/toggle-group-B3fORi8i.js +1 -0
- package/dist/showcase/assets/{toggles-dhLpAHSR.js → toggles-Cox6Yk2k.js} +1 -1
- package/dist/showcase/assets/{toggles-group-BJ5Jio2p.js → toggles-group-CSvSPqCB.js} +1 -1
- package/dist/showcase/assets/{trash-2-OsaEm8cc.js → trash-2-CE9bDw49.js} +1 -1
- package/dist/showcase/assets/trending-up-0iJl0XvC.js +1 -0
- package/dist/showcase/assets/{truck-CvvBxBeB.js → truck-DlhOPoCD.js} +1 -1
- package/dist/showcase/assets/{typography-D_99bjSh.js → typography-BotOITw4.js} +17 -17
- package/dist/showcase/assets/{ui-badge-C1bu7wRu.js → ui-badge-hfmO1K3-.js} +2 -2
- package/dist/showcase/assets/{ui-card-Ct1FFUxv.js → ui-card-Aigzxhn3.js} +1 -1
- package/dist/showcase/assets/{ui-table-Dxu9Jjq0.js → ui-table-CKif9sNO.js} +1 -1
- package/dist/showcase/assets/{upload-tray-BeOBVU1z.js → upload-tray-BnKDNrw9.js} +3 -3
- package/dist/showcase/assets/{use-layout-link-BK_oEoBg.js → use-layout-link-BQ6Y9z__.js} +1 -1
- package/dist/showcase/assets/useAnchoredPopupScrollLock-CP1vkwD7.js +1 -0
- package/dist/showcase/assets/useAriaLabelledBy-J_Rvjwx3.js +1 -0
- package/dist/showcase/assets/useCollapsiblePanel-BwUOowW2.js +1 -0
- package/dist/showcase/assets/useCompositeItem-D3XOIML-.js +1 -0
- package/dist/showcase/assets/useCompositeListItem-BWfShNPP.js +1 -0
- package/dist/showcase/assets/useControlled-BF8maje6.js +1 -0
- package/dist/showcase/assets/useLabelableId-DxorZ3YW.js +1 -0
- package/dist/showcase/assets/useOpenInteractionType-DLUX6CcH.js +1 -0
- package/dist/showcase/assets/useRender-B9zzqKA1.js +1 -0
- package/dist/showcase/assets/useTriggerFocusGuards-BSvL8pKg.js +1 -0
- package/dist/showcase/assets/useValueChanged-DSoTBFAJ.js +1 -0
- package/dist/showcase/assets/user-BZog6aIh.js +1 -0
- package/dist/showcase/assets/{user-plus-MMxrhI4h.js → user-plus-CPxlPoxf.js} +1 -1
- package/dist/showcase/assets/{users-ERTaffcv.js → users-BgXAp2UO.js} +1 -1
- package/dist/showcase/assets/valueToPercent-gleKSaFe.js +1 -0
- package/dist/showcase/assets/{vendor-profile-BAwCE0wP.js → vendor-profile-BLYiDIrO.js} +2 -2
- package/dist/showcase/assets/{video-DJm0ubTE.js → video-YBnCbmIb.js} +1 -1
- package/dist/showcase/assets/{wrench-gaXnvr_b.js → wrench-BFTavxzg.js} +1 -1
- package/dist/showcase/assets/x-D8UN9pOu.js +1 -0
- package/dist/showcase/assets/{zap-DHBVTfYZ.js → zap-DIJUAJEb.js} +1 -1
- package/dist/showcase/index.html +2 -2
- package/dist/style.css +1 -1
- package/package.json +5 -2
- package/dist/_shared/header-BUAddfdE.js.map +0 -1
- package/dist/_shared/header-BnxWOiNm.cjs +0 -2
- package/dist/_shared/header-BnxWOiNm.cjs.map +0 -1
- package/dist/_shared/sidebar-BML5ZZ5s.js.map +0 -1
- package/dist/_shared/sidebar-C89O5ho_.cjs +0 -2
- package/dist/_shared/sidebar-C89O5ho_.cjs.map +0 -1
- package/dist/showcase/assets/CSPContext-ImKusJJ_.js +0 -1
- package/dist/showcase/assets/CompositeItem-DleE4kTc.js +0 -1
- package/dist/showcase/assets/CompositeRoot-BbNkvtLz.js +0 -1
- package/dist/showcase/assets/DialogTrigger-C0DB0bXw.js +0 -1
- package/dist/showcase/assets/FieldItemContext-CFTR-INZ.js +0 -1
- package/dist/showcase/assets/FormContext-lmjYAh4E.js +0 -1
- package/dist/showcase/assets/LabelableContext-CDv6gSfU.js +0 -1
- package/dist/showcase/assets/RadioGroup-C-0MNAYY.js +0 -1
- package/dist/showcase/assets/Separator-KsPLUEno.js +0 -1
- package/dist/showcase/assets/ToolbarRootContext-AV8xAl2m.js +0 -1
- package/dist/showcase/assets/accordion-variants-CVT_62VO.js +0 -1
- package/dist/showcase/assets/app-sidebar-DixqrLf2.js +0 -1
- package/dist/showcase/assets/arrow-down-CYh_aUsd.js +0 -1
- package/dist/showcase/assets/arrow-left-pYYsNkZE.js +0 -1
- package/dist/showcase/assets/arrow-right-Bf1Tl6D5.js +0 -1
- package/dist/showcase/assets/arrow-up-BhmQRZs9.js +0 -1
- package/dist/showcase/assets/arrow-up-right-CuAsO3-r.js +0 -1
- package/dist/showcase/assets/avatar-5EFTnHEG.js +0 -1
- package/dist/showcase/assets/checkbox-fwuAAaUZ.js +0 -1
- package/dist/showcase/assets/chevron-down-CSn8HCwf.js +0 -1
- package/dist/showcase/assets/chevron-left-Ddj6-KOu.js +0 -1
- package/dist/showcase/assets/chevron-right-d-umkBru.js +0 -1
- package/dist/showcase/assets/chevron-up-CeFY6O0I.js +0 -1
- package/dist/showcase/assets/chevrons-up-down-Ck3rUZtc.js +0 -1
- package/dist/showcase/assets/circle-Dy08kACD.js +0 -1
- package/dist/showcase/assets/circle-check-TT7cFQrr.js +0 -1
- package/dist/showcase/assets/circle-check-big-4RnJfeaC.js +0 -1
- package/dist/showcase/assets/circle-dot-CvoDXS-W.js +0 -1
- package/dist/showcase/assets/clock-3-DDEsD4Tb.js +0 -1
- package/dist/showcase/assets/clock-DuBsP5t3.js +0 -1
- package/dist/showcase/assets/collapsible-DagkA3To.js +0 -1
- package/dist/showcase/assets/command-BtaMPVtf.js +0 -45
- package/dist/showcase/assets/comment-item-Ctcpx1GX.js +0 -1
- package/dist/showcase/assets/display-DTaQWVJp.js +0 -403
- package/dist/showcase/assets/dropdown-menu-bPWrLPgm.js +0 -1
- package/dist/showcase/assets/enhanced-combobox-Cs_-wq9p.js +0 -1
- package/dist/showcase/assets/example-BIrQab7K.js +0 -1
- package/dist/showcase/assets/feature-announcement-0dOcSH7F.js +0 -34
- package/dist/showcase/assets/getPseudoElementBounds-Bznj386s.js +0 -1
- package/dist/showcase/assets/header-notifications-3VH9lzzJ.js +0 -1
- package/dist/showcase/assets/index-ADfexGMA.css +0 -2
- package/dist/showcase/assets/inertValue-BVXUUuS4.js +0 -1
- package/dist/showcase/assets/input-BzafMIDj.js +0 -1
- package/dist/showcase/assets/inputs-DjzrYJdb.js +0 -49
- package/dist/showcase/assets/isSameDay-DVNkwpSk.js +0 -1
- package/dist/showcase/assets/isToday-DZ1HTCty.js +0 -1
- package/dist/showcase/assets/mention-inline-suggestions-DyW6IwL8.js +0 -1
- package/dist/showcase/assets/menus-CJjtE4fD.js +0 -89
- package/dist/showcase/assets/minus-OyRBql2C.js +0 -1
- package/dist/showcase/assets/overlays-CVGJ_FEg.js +0 -88
- package/dist/showcase/assets/page-header-CikNDnqI.js +0 -1
- package/dist/showcase/assets/plus-DkHZm34I.js +0 -1
- package/dist/showcase/assets/popover-BSB11Qjp.js +0 -1
- package/dist/showcase/assets/progress-DGvRQyPS.js +0 -1
- package/dist/showcase/assets/resolveAriaLabelledBy-B2ZzrlGb.js +0 -1
- package/dist/showcase/assets/resolveValueLabel-CGuVi0Dj.js +0 -1
- package/dist/showcase/assets/rotate-ccw-7aUlKQpX.js +0 -1
- package/dist/showcase/assets/scroll-area-CgXTHlpJ.js +0 -1
- package/dist/showcase/assets/select-BG_Iad8E.js +0 -1
- package/dist/showcase/assets/sidebar--2nHUTn3.js +0 -1
- package/dist/showcase/assets/slider-Cp4m3NTK.js +0 -1
- package/dist/showcase/assets/startOfDay-BuizEr24.js +0 -1
- package/dist/showcase/assets/switch-5f1vwEZ7.js +0 -1
- package/dist/showcase/assets/tabs-ePpje8sU.js +0 -1
- package/dist/showcase/assets/toggle-group-BVyFo04r.js +0 -1
- package/dist/showcase/assets/trending-up-HlQQXTth.js +0 -1
- package/dist/showcase/assets/useAnchoredPopupScrollLock-DLXArfPo.js +0 -1
- package/dist/showcase/assets/useAriaLabelledBy-etINba8U.js +0 -1
- package/dist/showcase/assets/useCollapsiblePanel-BNe9r1t_.js +0 -1
- package/dist/showcase/assets/useCompositeItem-CvG1CBEV.js +0 -1
- package/dist/showcase/assets/useCompositeListItem-CcY0U1bY.js +0 -1
- package/dist/showcase/assets/useControlled-Cpg8gDqb.js +0 -1
- package/dist/showcase/assets/useLabelableId-Czdg4nY8.js +0 -1
- package/dist/showcase/assets/useOpenInteractionType-eyZ6twES.js +0 -1
- package/dist/showcase/assets/useRender-BAZlIYnj.js +0 -1
- package/dist/showcase/assets/useTriggerFocusGuards-C2I8g7TT.js +0 -1
- package/dist/showcase/assets/useValueChanged-Bz3WRSDy.js +0 -1
- package/dist/showcase/assets/user-Bqmz8M16.js +0 -1
- package/dist/showcase/assets/valueToPercent-B5BHWU68.js +0 -1
- package/dist/showcase/assets/x-BqJnRkKw.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as e,r as t}from"./chunk-QTnfLwEv.js";import{n}from"./react-dom-Bz4cALsF.js";import{
|
|
1
|
+
import{n as e,r as t}from"./chunk-QTnfLwEv.js";import{n}from"./react-dom-Bz4cALsF.js";import{Dr as r,Er as i,Rr as a,jr as o,t as s}from"./example-Cz_880po.js";import{t as c}from"./brain-BJtktdVu.js";import{t as l}from"./chart-column-DKcP77Dx.js";import{n as u,t as d}from"./header-notifications-CShSQ8kR.js";import{t as f}from"./credit-card-CAI3F3HB.js";import{t as p}from"./external-link-Cy1-PP8k.js";import{t as ee}from"./house-C3fXPhlL.js";import{t as m}from"./inbox-C0GJ1KEC.js";import{c as h,f as te,m as g,r as ne,t as _,u as v}from"./sidebar.context-CRjgeYJL.js";import{t as y}from"./package-CjcwDJKu.js";import{t as b}from"./settings-DRmWJILI.js";import{t as x}from"./shield-D1EaWJMG.js";import{t as re}from"./sliders-horizontal-BE_cwUn0.js";import{t as ie}from"./users-BgXAp2UO.js";import{a as S,n as C,s as ae}from"./index-BQIv1ffM.js";import{t as oe}from"./smart-card-Dhu_1A_u.js";import{t as se}from"./separator-BsYPzBlF.js";import{t as ce}from"./sidebar-B5uO9sUB.js";import{t as le}from"./use-layout-link-BQ6Y9z__.js";import{a as ue,c as w,d as de,f as T,i as E,l as D,n as O,o as k,p as A,r as j,s as M,t as N,u as P}from"./app-sidebar-S6oUYO4h.js";import{t as F}from"./header-BXjw7Lm_.js";import{t as I}from"./page-header-CkvCF1MQ.js";var L=S(`life-buoy`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m4.93 4.93 4.24 4.24`,key:`1ymg45`}],[`path`,{d:`m14.83 9.17 4.24-4.24`,key:`1cb5xl`}],[`path`,{d:`m14.83 14.83 4.24 4.24`,key:`q42g0n`}],[`path`,{d:`m9.17 14.83-4.24 4.24`,key:`bqpfvv`}],[`circle`,{cx:`12`,cy:`12`,r:`4`,key:`4exip2`}]]),R=S(`store`,[[`path`,{d:`M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5`,key:`slp6dd`}],[`path`,{d:`M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244`,key:`o0xfot`}],[`path`,{d:`M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05`,key:`wn3emo`}]]),z=t(n(),1),B=ae();function fe({item:e}){return(0,B.jsx)(a,{tag:`span`,className:`truncate text-inherit`,children:D(e)})}function V({items:e,label:t=`Platform`,currentUrl:n=`/`,iconMap:r={},liveBadges:i,renderLink:a,LinkComponent:o,renderItem:s,className:c}){let l=le({renderLink:a,LinkComponent:o});return(0,B.jsxs)(h,{className:C(`px-2 py-0`,c),children:[!!t&&(0,B.jsx)(v,{children:t}),(0,B.jsx)(te,{className:`gap-0.5`,children:e.map((e,t)=>{let a=!!e.href&&P(n,A(e.href)),o=T(e.handle,e.badge,i),c={depth:0,active:a,expanded:!1,badge:o,renderLink:l},u=D(e);if(s)return(0,B.jsx)(z.Fragment,{children:s(e,c)},w(e,t));let d=(0,B.jsxs)(B.Fragment,{children:[!!e.icon&&(0,B.jsx)(k,{icon:e.icon,iconMap:r,className:`size-4`,"aria-hidden":`true`}),(0,B.jsx)(fe,{item:e}),!!o&&(0,B.jsx)(M,{value:o})]});return(0,B.jsx)(g,{children:(0,B.jsx)(ce,{isActive:a,render:e.href&&!e.disabled?de(l,e,d,void 0,a):void 0,tooltip:{children:u},disabled:e.disabled,className:C(`h-8 font-medium`,a&&`bg-sidebar-accent text-sidebar-accent-foreground`,e.disabled&&`cursor-not-allowed opacity-50`),children:d})},w(e,t))})})]})}var pe=e({AppSidebarShell:()=>J,CustomRowRenderer:()=>X,NavigationPartials:()=>Y}),H={Platform:[{label:`Dashboard`,href:`#/layout/sidebar`,icon:ee,handle:`dashboard`},{label:`Customers`,href:`#/customers`,icon:ie,handle:`customers`,badge:24},{label:`Orders`,href:`#/orders`,icon:y,handle:`orders`,children:[{label:`Pending`,href:`#/orders/pending`,handle:`orders-pending`,badge:8},{label:`Fulfilled`,href:`#/orders/fulfilled`,handle:`orders-fulfilled`}]}],Finance:[{label:`Invoices`,href:`#/invoices`,icon:f,handle:`invoices`,badge:12},{label:`Reports`,href:`#/reports`,icon:l,handle:`reports`}]},U=[{label:`Support`,href:`#/support`,icon:L,handle:`support`},{label:`Security`,href:`#/security`,icon:x,handle:`security`},{label:`External docs`,href:`https://example.com`,icon:p,handle:`docs`,external:!0}],W=[{label:`Settings`,href:`#/settings`,icon:re,handle:`settings`},{label:`AI`,href:`#/ai`,icon:c,handle:`ai`}],G={name:`Nicolas Vlachos`,email:`nicolas@example.com`,avatar:`https://i.pravatar.cc/96?img=11`};function K({href:e,children:t,className:n,target:r,rel:i}){return(0,B.jsx)(`a`,{href:e??`#`,className:n,target:r,rel:i,children:t})}function q(){return(0,B.jsxs)(`div`,{className:`flex min-w-0 items-center gap-2`,children:[(0,B.jsx)(`div`,{className:`flex size-8 items-center justify-center rounded-lg bg-primary text-primary-foreground shadow-sm`,children:(0,B.jsx)(R,{className:`size-4`,"aria-hidden":`true`})}),(0,B.jsxs)(`div`,{className:`min-w-0`,children:[(0,B.jsx)(a,{weight:`semibold`,className:`truncate text-inherit`,children:`Atlas Admin`}),(0,B.jsx)(a,{size:`xxs`,type:`secondary`,className:`truncate`,children:`Production`})]})]})}function me(){return(0,B.jsx)(`div`,{className:`flex size-8 items-center justify-center rounded-lg bg-primary text-primary-foreground shadow-sm`,children:(0,B.jsx)(R,{className:`size-4`,"aria-hidden":`true`})})}function J(){return(0,B.jsx)(B.Fragment,{children:(0,B.jsx)(_,{defaultOpen:!0,className:`min-h-0`,children:(0,B.jsx)(`div`,{className:`flex h-[42rem] w-full min-w-[56rem] overflow-hidden rounded-lg border border-border bg-background p-3`,children:(0,B.jsxs)(`div`,{className:`flex min-w-0 flex-1 overflow-hidden rounded-lg border border-border bg-background shadow-sm`,children:[(0,B.jsx)(N,{className:`h-full p-0`,surfaceClassName:`bg-background`,headerClassName:`px-4 pb-3 pt-4`,logoClassName:`px-0`,logo:(0,B.jsx)(q,{}),collapsedLogo:(0,B.jsx)(me,{}),workspaceLinks:[{label:`Production store`,url:`#/workspaces/production`,icon:R,external:!1},{label:`Sandbox`,url:`#/workspaces/sandbox`,icon:R,external:!1}],workspaceStrings:{label:`Workspace`,select:`Switch workspace`},navigationGroups:H,footerNavItems:W,currentUrl:`#/orders/pending`,liveBadges:{customers:31,invoices:14},renderLink:K,slots:{afterNavigation:(0,B.jsx)(j,{items:U,label:`Help`,currentUrl:`#/orders/pending`,renderLink:K})}}),(0,B.jsxs)(`div`,{className:`flex min-w-0 flex-1 flex-col`,children:[(0,B.jsx)(F,{renderLink:K,breadcrumbs:[{label:`Operations`,href:`#/features/activities`},{label:`Orders`}],centerClassName:`justify-start`,slots:{center:(0,B.jsx)(u,{className:`w-full max-w-sm`}),right:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(d,{unreadCount:2,notifications:[]}),(0,B.jsx)(se,{orientation:`vertical`,className:`h-7`}),(0,B.jsx)(ne,{user:G,showEmail:!1,onProfile:()=>{},onSettings:()=>{},onLogout:()=>{}})]})}}),(0,B.jsxs)(`main`,{className:`min-w-0 flex-1 space-y-4 p-5`,children:[(0,B.jsx)(I,{title:`Pending orders`,description:`The sidebar controls navigation only; the app owns routing and page content.`,headingTag:`h3`,titleBadges:[{label:`8 pending`,variant:`warning`}]}),(0,B.jsx)(`div`,{className:`grid gap-3 md:grid-cols-3`,children:[`Manual review`,`Awaiting stock`,`Ready to fulfill`].map((e,t)=>(0,B.jsxs)(oe,{padding:`sm`,className:`shadow-sm`,children:[(0,B.jsx)(a,{size:`xs`,type:`secondary`,children:e}),(0,B.jsx)(a,{weight:`semibold`,children:[8,12,36][t]})]},e))})]})]})]})})})})}function Y(){return(0,B.jsx)(B.Fragment,{children:(0,B.jsx)(_,{defaultOpen:!0,className:`min-h-0`,children:(0,B.jsxs)(`div`,{className:`grid w-full gap-5 md:grid-cols-2`,children:[(0,B.jsx)(`div`,{className:`h-[30rem] overflow-hidden rounded-xl border border-border bg-sidebar text-sidebar-foreground shadow-sm`,children:(0,B.jsxs)(ue,{collapsible:`none`,className:`w-full`,surfaceClassName:`bg-background`,children:[(0,B.jsx)(O,{logo:(0,B.jsx)(q,{}),workspaceLinks:[{label:`Production store`,url:`#/workspaces/production`,icon:R,external:!1},{label:`Sandbox`,url:`#/workspaces/sandbox`,icon:R,external:!1}],renderLink:K}),(0,B.jsx)(E,{navigationByGroups:H,currentUrl:`#/customers`,liveBadges:{customers:9},renderLink:K})]})}),(0,B.jsxs)(`div`,{className:`h-[30rem] overflow-hidden rounded-xl border border-border bg-sidebar p-2 text-sidebar-foreground shadow-sm`,children:[(0,B.jsx)(V,{label:`Flat navigation`,items:[{label:`Inbox`,href:`#/inbox`,icon:m,badge:6},{label:`Settings`,href:`#/settings`,icon:b},{label:`Disabled item`,href:`#/disabled`,icon:x,disabled:!0}],currentUrl:`#/inbox`,renderLink:K}),(0,B.jsxs)(`div`,{className:`mt-4 border-t border-sidebar-border pt-3`,children:[(0,B.jsx)(j,{items:U,label:`Help`,currentUrl:`#/orders/pending`,renderLink:K}),(0,B.jsx)(j,{items:W,currentUrl:`#/orders/pending`,renderLink:K})]})]})]})})})}function X(){return(0,B.jsx)(B.Fragment,{children:(0,B.jsx)(_,{defaultOpen:!0,className:`min-h-0`,children:(0,B.jsx)(`div`,{className:`rounded-xl border border-border bg-sidebar p-3 text-sidebar-foreground shadow-sm`,children:(0,B.jsx)(V,{label:`Custom renderItem`,items:[{label:`Priority inbox`,href:`#/priority`,icon:m,badge:3},{label:`Billing review`,href:`#/billing`,icon:f,badge:11}],renderLink:K,renderItem:(e,t)=>(0,B.jsx)(g,{children:(0,B.jsxs)(`div`,{className:`flex items-center justify-between rounded-lg px-3 py-2 hover:bg-sidebar-accent`,children:[(0,B.jsxs)(`div`,{children:[(0,B.jsx)(a,{weight:`medium`,className:`text-inherit`,children:e.label}),(0,B.jsxs)(a,{size:`xxs`,type:`secondary`,children:[`active: `,String(t.active)]})]}),!!t.badge&&(0,B.jsx)(o,{variant:`primary`,children:t.badge})]})})})})})})}var Z=`import { BarChart3, Brain, CreditCard, ExternalLink, Home, Inbox, LifeBuoy, Package, Settings, Shield, SlidersHorizontal, Store, Users } from 'lucide-react';
|
|
2
2
|
import { Badge } from '@/components/base/badge';
|
|
3
3
|
import { SmartCard } from '@/components/base/cards';
|
|
4
4
|
import { Separator } from '@/components/base/display/separator';
|
|
@@ -221,4 +221,4 @@ export function CustomRowRenderer() {
|
|
|
221
221
|
</>
|
|
222
222
|
);
|
|
223
223
|
}
|
|
224
|
-
`;function Q(e){return pe||$(`Examples`,!1),J||$(`Examples.AppSidebarShell`,!0),X||$(`Examples.CustomRowRenderer`,!0),Y||$(`Examples.NavigationPartials`,!0),(0,B.jsx)(
|
|
224
|
+
`;function Q(e){return pe||$(`Examples`,!1),J||$(`Examples.AppSidebarShell`,!0),X||$(`Examples.CustomRowRenderer`,!0),Y||$(`Examples.NavigationPartials`,!0),(0,B.jsx)(r,{title:`Layout · Sidebar`,description:`Full app sidebar assembly plus reusable navigation, workspace, and footer item partials.`,layer:`layout`,status:`ready`,children:(0,B.jsxs)(i,{title:`Examples`,id:`examples`,children:[(0,B.jsx)(s,{name:`AppSidebarShell`,source:Z,children:(0,B.jsx)(J,{})}),(0,B.jsx)(s,{name:`NavigationPartials`,source:Z,children:(0,B.jsx)(Y,{})}),(0,B.jsx)(s,{name:`CustomRowRenderer`,source:Z,children:(0,B.jsx)(X,{})})]})})}function he(e={}){let{wrapper:t}=e.components||{};return t?(0,B.jsx)(t,{...e,children:(0,B.jsx)(Q,{...e})}):Q(e)}function $(e,t){throw Error(`Expected `+(t?`component`:`object`)+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}export{he as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as e}from"./chunk-QTnfLwEv.js";import{
|
|
1
|
+
import{n as e}from"./chunk-QTnfLwEv.js";import{Dr as t,Er as n,Rr as r,jr as i,r as a,t as o}from"./example-Cz_880po.js";import{t as s}from"./chevrons-up-down-eAgHau5X.js";import{b as c,f as l,m as u,n as d,r as f,t as p}from"./sidebar.context-CRjgeYJL.js";import{t as m}from"./settings-DRmWJILI.js";import{t as h}from"./user-plus-CPxlPoxf.js";import{t as g}from"./user-BZog6aIh.js";import{k as _,n as v,s as y}from"./index-BQIv1ffM.js";import{a as b,c as x,l as S,r as C,t as w}from"./dropdown-menu-Cto8-yDW.js";import{a as T,i as E,n as D,o as O,r as k,t as A}from"./avatar-LGWm52rv.js";import{n as j}from"./PreviewLayout-CGEkbS-i.js";import{t as M}from"./sidebar-B5uO9sUB.js";var N=y(),P={sm:{avatar:`size-7`,gap:`gap-2`,nameSize:`sm`,subtitleSize:`xs`},base:{avatar:`size-9`,gap:`gap-3`,nameSize:`sm`,subtitleSize:`xs`},lg:{avatar:`size-11`,gap:`gap-3`,nameSize:`base`,subtitleSize:`sm`}};function F({name:e,subtitle:t,avatarUrl:n,avatarAlt:i,initials:a,avatar:o,trailing:s,size:c=`base`,className:l}){let u=P[c],d=o??(0,N.jsxs)(A,{className:u.avatar,children:[!!n&&(0,N.jsx)(O,{src:n,alt:i??(typeof e==`string`?e:void 0)}),!!a&&(0,N.jsx)(k,{children:a})]});return(0,N.jsxs)(`div`,{className:v(`user-cell--component`,`flex items-center`,u.gap,l),children:[d,(0,N.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,N.jsx)(r,{size:u.nameSize,weight:`semibold`,className:`truncate`,children:e}),!!t&&(0,N.jsx)(r,{size:u.subtitleSize,type:`secondary`,className:`truncate`,children:t})]}),!!s&&(0,N.jsx)(`div`,{className:`shrink-0`,children:s})]})}F.displayName=`UserCell`;var I={profile:`Profile`,settings:`Settings`,logout:`Log out`};function L(e){return e.split(` `).map(e=>e[0]).filter(Boolean).slice(0,2).join(``).toUpperCase()}function R({user:e,customContent:t,onProfile:n,onSettings:i,onLogout:a,strings:o,renderTrigger:f}){let p=_(I,o),{state:h,isMobile:v}=d(),y=v||h!==`collapsed`?`bottom`:`right`,T=L(e.name),E=(0,N.jsxs)(N.Fragment,{children:[!!n&&(0,N.jsxs)(b,{onClick:n,children:[(0,N.jsx)(g,{className:`mr-2 size-4`,"aria-hidden":`true`}),(0,N.jsx)(r,{tag:`span`,size:`xs`,className:`text-inherit`,children:p.profile})]}),!!i&&(0,N.jsxs)(b,{onClick:i,children:[(0,N.jsx)(m,{className:`mr-2 size-4`,"aria-hidden":`true`}),(0,N.jsx)(r,{tag:`span`,size:`xs`,className:`text-inherit`,children:p.settings})]}),!!(n||i)&&!!a&&(0,N.jsx)(x,{}),!!a&&(0,N.jsxs)(b,{onClick:a,children:[(0,N.jsx)(c,{className:`mr-2 size-4`,"aria-hidden":`true`}),(0,N.jsx)(r,{tag:`span`,size:`xs`,className:`text-inherit`,children:p.logout})]})]});return(0,N.jsx)(l,{children:(0,N.jsx)(u,{children:(0,N.jsxs)(w,{children:[(0,N.jsx)(S,{render:(0,N.jsx)(M,{size:`lg`,className:`group text-sidebar-accent-foreground data-[state=open]:bg-sidebar-accent`}),children:f?.(e)??(0,N.jsxs)(N.Fragment,{children:[(0,N.jsxs)(`div`,{className:`flex min-w-0 flex-1 items-center gap-2`,children:[(0,N.jsxs)(A,{className:`size-8 rounded-full`,children:[!!e.avatar&&(0,N.jsx)(O,{src:e.avatar,alt:e.name}),(0,N.jsx)(k,{className:`bg-sidebar-accent text-xs text-sidebar-accent-foreground`,children:T})]}),(0,N.jsxs)(`div`,{className:`flex flex-1 flex-col items-start justify-center overflow-hidden`,children:[(0,N.jsx)(r,{weight:`medium`,className:`w-full truncate`,children:e.name}),!!e.email&&(0,N.jsx)(r,{size:`xs`,type:`secondary`,className:`w-full truncate`,children:e.email})]})]}),(0,N.jsx)(s,{className:`ml-auto size-4 shrink-0`,"aria-hidden":`true`})]})}),(0,N.jsx)(C,{className:`w-(--radix-dropdown-menu-trigger-width) min-w-56 rounded-lg`,align:`end`,side:y,sideOffset:4,children:t??E})]})})})}var z=e({AvatarStates:()=>H,CustomTriggerCustomContent:()=>G,HeaderUserMenuExample:()=>U,SidebarUserMenu:()=>W}),B=[{name:`Sarah Smitha`,email:`maria@example.com`,avatar:`https://i.pravatar.cc/96?img=5`},{name:`Daniel Kowalski`,email:`stefan@example.com`,avatar:`https://i.pravatar.cc/96?img=12`},{name:`Emma Markova`,email:`elena@example.com`}];function V(e){return e.split(` `).map(e=>e[0]).join(``).slice(0,2).toUpperCase()}function H(){return(0,N.jsx)(N.Fragment,{children:(0,N.jsxs)(j,{children:[B.map((e,t)=>(0,N.jsxs)(A,{size:t===0?`lg`:`default`,children:[!!e.avatar&&(0,N.jsx)(O,{src:e.avatar,alt:e.name}),(0,N.jsx)(k,{children:V(e.name)}),(0,N.jsx)(D,{className:t===1?`bg-warning`:`bg-success`})]},e.name)),(0,N.jsxs)(E,{children:[B.map(e=>(0,N.jsxs)(A,{children:[!!e.avatar&&(0,N.jsx)(O,{src:e.avatar,alt:e.name}),(0,N.jsx)(k,{children:V(e.name)})]},e.name)),(0,N.jsx)(T,{children:`+8`})]})]})})}function U(){return(0,N.jsx)(N.Fragment,{children:(0,N.jsxs)(`div`,{className:`flex flex-col gap-4 rounded-xl border border-border p-4 sm:flex-row sm:items-center sm:justify-between`,children:[(0,N.jsxs)(`div`,{className:`min-w-0`,children:[(0,N.jsx)(r,{weight:`semibold`,children:`Account switcher surface`}),(0,N.jsx)(r,{size:`xs`,type:`secondary`,children:`Default trigger renders avatar, name, email, and dropdown actions.`})]}),(0,N.jsx)(f,{user:B[0],onProfile:()=>{},onSettings:()=>{},onLogout:()=>{}})]})})}function W(){return(0,N.jsx)(N.Fragment,{children:(0,N.jsx)(p,{className:`min-h-0`,children:(0,N.jsx)(`div`,{className:`max-w-sm rounded-xl border border-border bg-sidebar p-2 text-sidebar-foreground`,children:(0,N.jsx)(R,{user:B[1],onProfile:()=>{},onSettings:()=>{},onLogout:()=>{}})})})})}function G(){return(0,N.jsx)(N.Fragment,{children:(0,N.jsxs)(`div`,{className:`grid gap-3 md:grid-cols-[minmax(0,1fr)_minmax(14rem,0.85fr)] md:items-start`,children:[(0,N.jsx)(`div`,{className:`rounded-lg border border-border bg-card p-3`,children:(0,N.jsx)(f,{user:B[2],renderTrigger:e=>(0,N.jsx)(a,{type:`button`,variant:`secondary`,buttonStyle:`outline`,className:`h-auto w-full justify-start rounded-md px-2.5 py-2`,children:(0,N.jsx)(F,{size:`sm`,name:e.name,initials:V(e.name),trailing:(0,N.jsx)(i,{variant:`info`,children:`Admin`})})}),customContent:(0,N.jsxs)(`div`,{className:`space-y-1`,children:[(0,N.jsx)(a,{variant:`secondary`,buttonStyle:`ghost`,icon:g,className:`w-full justify-start`,children:`Profile`}),(0,N.jsx)(a,{variant:`secondary`,buttonStyle:`ghost`,icon:m,className:`w-full justify-start`,children:`Preferences`}),(0,N.jsx)(a,{variant:`secondary`,buttonStyle:`ghost`,icon:c,className:`w-full justify-start`,children:`Sign out`})]})})}),(0,N.jsx)(`div`,{className:`rounded-lg border border-border bg-card p-3`,children:(0,N.jsxs)(`div`,{className:`space-y-2`,children:[(0,N.jsx)(a,{variant:`primary`,icon:h,children:`Invite user`}),(0,N.jsx)(r,{size:`xs`,type:`secondary`,children:`Pair user menus with base buttons and badges for app-specific account controls.`})]})})]})})}var K=`import { LogOut, Settings, User, UserPlus } from 'lucide-react';
|
|
2
2
|
import { Button } from '@/components/base/buttons';
|
|
3
3
|
import { Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage } from '@/components/base/display/avatar';
|
|
4
4
|
import { UserCell } from '@/components/base/display/user-cell';
|
|
@@ -114,4 +114,4 @@ export function CustomTriggerCustomContent() {
|
|
|
114
114
|
</>
|
|
115
115
|
);
|
|
116
116
|
}
|
|
117
|
-
`;function q(e){return z||Y(`Examples`,!1),H||Y(`Examples.AvatarStates`,!0),G||Y(`Examples.CustomTriggerCustomContent`,!0),U||Y(`Examples.HeaderUserMenuExample`,!0),W||Y(`Examples.SidebarUserMenu`,!0),(0,N.jsx)(
|
|
117
|
+
`;function q(e){return z||Y(`Examples`,!1),H||Y(`Examples.AvatarStates`,!0),G||Y(`Examples.CustomTriggerCustomContent`,!0),U||Y(`Examples.HeaderUserMenuExample`,!0),W||Y(`Examples.SidebarUserMenu`,!0),(0,N.jsx)(t,{title:`Layout · Users & avatars`,description:`User identity surfaces used by layout headers, sidebars, menus, avatar groups, and status badges.`,layer:`layout`,status:`ready`,children:(0,N.jsxs)(n,{title:`Examples`,id:`examples`,children:[(0,N.jsx)(o,{name:`AvatarStates`,source:K,children:(0,N.jsx)(H,{})}),(0,N.jsx)(o,{name:`HeaderUserMenuExample`,source:K,children:(0,N.jsx)(U,{})}),(0,N.jsx)(o,{name:`SidebarUserMenu`,source:K,children:(0,N.jsx)(W,{})}),(0,N.jsx)(o,{name:`CustomTriggerCustomContent`,source:K,children:(0,N.jsx)(G,{})})]})})}function J(e={}){let{wrapper:t}=e.components||{};return t?(0,N.jsx)(t,{...e,children:(0,N.jsx)(q,{...e})}):q(e)}function Y(e,t){throw Error(`Expected `+(t?`component`:`object`)+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}export{J as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as e,r as t}from"./chunk-QTnfLwEv.js";import{n}from"./react-dom-Bz4cALsF.js";import{Er as r,Tr as i,hr as a,jr as o,mr as s,r as c,t as l,yr as u}from"./example-BIrQab7K.js";import{t as d}from"./box-mt6TbZO6.js";import{t as f}from"./circle-alert-ysbx8rsZ.js";import{t as p}from"./circle-Dy08kACD.js";import{n as m,t as h}from"./languages-CKcUvHnt.js";import{t as g}from"./earth-C7n2JAYm.js";import{t as _}from"./image-Byz-p7hT.js";import{t as ee}from"./package-check-CT0dhSM8.js";import{t as v}from"./shield-check-CRbBJXw2.js";import{t as y}from"./sliders-horizontal-C8RwUn0S.js";import{k as b,n as x,s as S}from"./index-Cz4UGUT2.js";import{t as C}from"./props-table-BR-KjRNe.js";import{t as w}from"./smart-card-B4P_C0nk.js";import{t as T}from"./inline-stat-DqI70yoJ.js";import{t as E}from"./progress-DGvRQyPS.js";import{c as D,i as O,n as k,o as A,r as j,t as M,u as te}from"./item-CbiuwbAN.js";import{t as ne}from"./use-layout-link-BK_oEoBg.js";var re={metadataLabel:`Record metadata`,actionsLabel:`Record actions`,secondaryActionsLabel:`Secondary actions`},ie={ariaLabel:`Workspace navigation`,completionLabel:e=>`${e}% complete`,currentLabel:`Current`},ae={ariaLabel:`Workspace locales`,activeLabel:`Active`,completionLabel:e=>`${e}% complete`},N=t(n(),1),P=S(),F={default:`[--workspace-content-max-width:58rem]`,wide:`[--workspace-content-max-width:86rem]`,full:`[--workspace-content-max-width:none]`},I={complete:o,current:p,attention:f,disabled:p,idle:p},L={complete:`text-success`,current:`text-primary`,attention:`text-warning`,disabled:`text-muted-foreground/40`,idle:`text-muted-foreground`};function R(e){return Number.isFinite(e)?Math.min(100,Math.max(0,Math.round(e))):0}function z({icon:e,className:t}){return e?N.isValidElement(e)?N.cloneElement(e,{className:x(t,e.props.className)}):typeof e==`function`?(0,P.jsx)(e,{className:t,"aria-hidden":`true`}):null:null}function B(e,t){return e.disabled?`disabled`:e.status?e.status:e.warning?`attention`:t?`current`:e.completion!==void 0&&R(e.completion)>=100?`complete`:`idle`}var V=N.forwardRef(function({header:e,sidebar:t,rail:n,children:r,contentWidth:i=`wide`,className:a,headerClassName:o,bodyClassName:s,sidebarClassName:c,mainClassName:l,contentClassName:u,railClassName:d,ariaLabel:f,style:p,...m},h){let g=!!t,_=!!n;return(0,P.jsxs)(`div`,{ref:h,"aria-label":f,className:x(`workspace-layout--component flex h-full min-h-0 w-full flex-col overflow-hidden rounded-md border border-border bg-background text-foreground`,`[--workspace-sidebar-width:16rem] [--workspace-rail-width:20rem]`,F[i],a),style:p,...m,children:[!!e&&(0,P.jsx)(`header`,{className:x(`workspace-layout--header shrink-0 border-b border-border bg-background`,o),children:e}),(0,P.jsxs)(`div`,{className:x(`workspace-layout--body grid min-h-0 flex-1 grid-cols-1 bg-muted/20`,g&&!_&&`min-[80rem]:grid-cols-[var(--workspace-sidebar-width)_minmax(0,1fr)]`,g&&_&&`min-[80rem]:grid-cols-[var(--workspace-sidebar-width)_minmax(0,1fr)] min-[96rem]:grid-cols-[var(--workspace-sidebar-width)_minmax(0,1fr)_var(--workspace-rail-width)]`,!g&&_&&`min-[96rem]:grid-cols-[minmax(0,1fr)_var(--workspace-rail-width)]`,s),children:[!!g&&(0,P.jsx)(`aside`,{className:x(`workspace-layout--sidebar hidden min-h-0 border-r border-border bg-background min-[80rem]:block`,c),children:(0,P.jsx)(`div`,{className:`h-full overflow-y-auto overscroll-contain p-3`,children:t})}),(0,P.jsx)(`main`,{className:x(`workspace-layout--main min-h-0 min-w-0 overflow-y-auto overscroll-contain`,l),children:(0,P.jsx)(`div`,{className:x(`workspace-layout--content mx-auto flex min-h-full w-full max-w-[var(--workspace-content-max-width)] flex-col gap-4 p-4 min-[64rem]:p-5`,i===`full`&&`max-w-none`,u),children:r})}),!!_&&(0,P.jsx)(`aside`,{className:x(`workspace-layout--rail hidden min-h-0 border-l border-border bg-background min-[96rem]:block`,d),children:(0,P.jsx)(`div`,{className:`h-full overflow-y-auto overscroll-contain p-3`,children:n})})]})]})});V.displayName=`WorkspaceLayout`;var H=N.forwardRef(function({title:e,description:t,badges:n,metadata:a,actions:o,secondaryActions:s,status:c,media:l,headerEnd:u,titleSlot:d,className:f,strings:p,...m},h){let g=b(re,p),_=!!a?.length;return(0,P.jsxs)(`div`,{ref:h,className:x(`workspace-record-header--component flex flex-col gap-4 px-4 py-4 min-[64rem]:flex-row min-[64rem]:items-start min-[64rem]:justify-between min-[64rem]:px-5`,f),...m,children:[(0,P.jsxs)(`div`,{className:`workspace-record-header--identity flex min-w-0 flex-1 gap-3`,children:[!!l&&(0,P.jsx)(`div`,{className:`workspace-record-header--media flex size-12 shrink-0 items-center justify-center overflow-hidden rounded-md border border-border bg-muted/40`,children:l}),(0,P.jsxs)(`div`,{className:`min-w-0 flex-1 space-y-2`,children:[(0,P.jsxs)(`div`,{className:`workspace-record-header--title-row flex min-w-0 flex-wrap items-center gap-2`,children:[d??(0,P.jsx)(i,{tag:`h4`,className:`leading-tight`,children:e}),!!n&&(0,P.jsx)(`div`,{className:`workspace-record-header--badges flex flex-wrap items-center gap-1.5`,children:n}),!!c&&(0,P.jsx)(`div`,{className:`workspace-record-header--status`,children:c})]}),!!t&&(0,P.jsx)(r,{size:`xs`,type:`secondary`,className:`workspace-record-header--description max-w-4xl leading-relaxed`,children:t}),!!_&&(0,P.jsx)(`div`,{"aria-label":g.metadataLabel,className:`workspace-record-header--metadata flex flex-wrap items-center gap-x-4 gap-y-1`,children:a.map((e,t)=>(0,P.jsxs)(`div`,{className:`flex items-baseline gap-1.5`,children:[(0,P.jsx)(r,{tag:`span`,size:`xxs`,type:`secondary`,className:`uppercase`,children:e.label}),(0,P.jsx)(r,{tag:`span`,size:`xs`,weight:`medium`,className:`tabular-nums`,children:e.value})]},e.id??t))})]})]}),!!(o||s||u)&&(0,P.jsxs)(`div`,{className:`workspace-record-header--actions flex shrink-0 flex-wrap items-center gap-2 min-[64rem]:justify-end`,children:[!!s&&(0,P.jsx)(`div`,{"aria-label":g.secondaryActionsLabel,className:`flex flex-wrap items-center gap-1.5`,children:s}),!!o&&(0,P.jsx)(`div`,{"aria-label":g.actionsLabel,className:`flex flex-wrap items-center gap-1.5`,children:o}),!!u&&(0,P.jsx)(`div`,{className:`workspace-record-header--end`,children:u})]})]})});H.displayName=`WorkspaceRecordHeader`;var U=N.forwardRef(function({groups:e,activeId:t,onSelect:n,renderItem:i,footerSlot:a,renderLink:o,LinkComponent:s,className:c,strings:l,...u},d){let f=b(ie,l),p=ne({renderLink:o,LinkComponent:s});return(0,P.jsxs)(`nav`,{ref:d,"aria-label":u[`aria-label`]??f.ariaLabel,className:x(`workspace-nav--component flex h-full flex-col gap-4`,c),...u,children:[(0,P.jsx)(`div`,{className:`workspace-nav--groups flex min-h-0 flex-1 flex-col gap-4`,children:e.map(e=>(0,P.jsxs)(`div`,{className:`workspace-nav--group space-y-2`,children:[!!e.label&&(0,P.jsxs)(`div`,{className:`workspace-nav--group-header px-1`,children:[(0,P.jsx)(r,{size:`xxs`,weight:`semibold`,type:`secondary`,className:`uppercase tracking-wide`,children:e.label}),!!e.description&&(0,P.jsx)(r,{size:`xxs`,type:`secondary`,className:`mt-0.5 leading-snug`,children:e.description})]}),(0,P.jsx)(A,{className:`workspace-nav--items gap-1`,children:e.items.map((a,o)=>{let s=a.id===t,c=B(a,s),l=I[c],u=a.completion===void 0?void 0:R(a.completion),d=e=>{if(a.disabled){e.preventDefault();return}n?.(a)},m={active:s,group:e,index:o,onSelect:d};if(i)return(0,P.jsx)(N.Fragment,{children:i(a,m)},a.id);let h=(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(D,{variant:`icon`,className:x(s&&`bg-primary/10 text-primary`),children:a.icon?(0,P.jsx)(z,{icon:a.icon,className:`size-4`}):(0,P.jsx)(l,{className:x(`size-3.5`,L[c]),"aria-hidden":`true`})}),(0,P.jsxs)(j,{children:[(0,P.jsxs)(`div`,{className:`flex items-center gap-1.5`,children:[(0,P.jsx)(te,{children:a.label}),s&&(0,P.jsx)(`span`,{className:`sr-only`,children:f.currentLabel})]}),!!a.description&&(0,P.jsx)(O,{clamp:2,children:a.description}),u!==void 0&&(0,P.jsxs)(`div`,{className:`mt-1.5 flex items-center gap-2`,children:[(0,P.jsx)(E,{value:u,className:`h-1.5 flex-1`}),(0,P.jsx)(r,{tag:`span`,size:`xxs`,type:`secondary`,className:`tabular-nums`,children:f.completionLabel(u)})]})]}),!!a.badge&&(0,P.jsx)(k,{children:a.badge})]}),g=x(`workspace-nav--item w-full border border-transparent px-2 py-2 text-left transition-colors`,s&&`border-primary/20 bg-primary/5`,a.warning&&!s&&`border-warning/30 bg-warning/5`,a.disabled&&`pointer-events-none opacity-50`);return a.href?(0,P.jsx)(M,{size:`sm`,render:p({href:a.href,children:h,className:`block`,active:s,disabled:a.disabled,external:a.external,target:a.target,rel:a.rel,onClick:d}),className:g,children:h},a.id):(0,P.jsx)(M,{size:`sm`,render:(0,P.jsx)(`button`,{type:`button`,onClick:d,disabled:a.disabled}),className:g,children:h},a.id)})})]},e.id))}),!!a&&(0,P.jsx)(`div`,{className:`workspace-nav--footer shrink-0 border-t border-border pt-3`,children:a})]})});U.displayName=`WorkspaceNav`;var W=N.forwardRef(function({locales:e,activeLocale:t,onLocaleChange:n,actions:r,status:i,className:a,strings:o,...s},l){let d=b(ae,o),f=e=>{e.disabled||n?.(e)};return(0,P.jsxs)(`div`,{ref:l,className:x(`workspace-locale-strip--component flex flex-col gap-3 border-t border-border bg-muted/20 px-4 py-3 min-[64rem]:flex-row min-[64rem]:items-center min-[64rem]:justify-between min-[64rem]:px-5`,a),...s,children:[(0,P.jsx)(`div`,{className:`workspace-locale-strip--locales flex min-w-0 flex-wrap items-center gap-2`,role:`list`,"aria-label":d.ariaLabel,children:e.map(e=>{let n=e.id===t,r=e.completion===void 0?void 0:R(e.completion);return(0,P.jsx)(c,{type:`button`,variant:n?`primary`:`secondary`,buttonStyle:n?`solid`:`ghost`,onClick:()=>f(e),disabled:e.disabled,"aria-pressed":n,className:x(`workspace-locale-strip--item h-auto min-h-8 justify-start px-2.5 py-1.5`),children:(0,P.jsxs)(`span`,{className:`flex min-w-0 items-center gap-2`,children:[(0,P.jsx)(`span`,{className:`truncate`,children:e.label}),n&&(0,P.jsx)(`span`,{className:`sr-only`,children:d.activeLabel}),r!==void 0&&(0,P.jsx)(u,{variant:r>=100?`success`:`secondary`,className:`shrink-0`,children:d.completionLabel(r)}),!!e.status&&(0,P.jsx)(`span`,{className:`shrink-0`,children:e.status})]})},e.id)})}),!!(i||r)&&(0,P.jsxs)(`div`,{className:`workspace-locale-strip--actions flex shrink-0 flex-wrap items-center gap-2`,children:[!!i&&(0,P.jsx)(`div`,{className:`workspace-locale-strip--status`,children:i}),!!r&&(0,P.jsx)(`div`,{className:`flex flex-wrap items-center gap-1.5`,children:r})]})]})});W.displayName=`WorkspaceLocaleStrip`;var G=e({ProductRecordWorkspaceShell:()=>Y,WorkspaceWithoutRail:()=>X});function K({href:e,children:t,className:n,onClick:r,target:i,rel:a}){return(0,P.jsx)(`a`,{href:e??`#`,className:n,onClick:r,target:i,rel:a,children:t})}function q({children:e,height:t=640}){return(0,P.jsx)(`div`,{className:`layout-demo-viewport relative w-full overflow-hidden rounded-md border border-dashed border-border bg-background`,style:{height:t},children:e})}var J=[{id:`content`,label:`Content`,description:`Public catalogue fields`,items:[{id:`basics`,label:`Basics`,description:`Name, handle, summary`,href:`#/products/1/basics`,icon:d,completion:100},{id:`media`,label:`Media`,description:`Cover and gallery`,href:`#/products/1/media`,icon:_,completion:80},{id:`taxonomy`,label:`Taxonomy`,description:`Categories and tags`,href:`#/products/1/taxonomy`,icon:y,completion:70}]},{id:`operations`,label:`Operations`,description:`Fulfilment controls`,items:[{id:`availability`,label:`Availability`,description:`Calendar and capacity`,href:`#/products/1/availability`,icon:ee,completion:55,warning:!0},{id:`policies`,label:`Policies`,description:`Booking and cancellation`,href:`#/products/1/policies`,icon:v,completion:100},{id:`translations`,label:`Translations`,description:`Locale readiness`,href:`#/products/1/translations`,icon:h,completion:42}]}];function oe(){return(0,P.jsxs)(`div`,{className:`space-y-4`,children:[(0,P.jsxs)(`div`,{className:`grid gap-3 md:grid-cols-3`,children:[(0,P.jsx)(w,{padding:`sm`,className:`border-border/80 shadow-sm`,children:(0,P.jsx)(T,{label:`Readiness`,value:`82%`,layout:`stacked`,mono:!0,valueClassName:`font-semibold`})}),(0,P.jsx)(w,{padding:`sm`,className:`border-border/80 shadow-sm`,children:(0,P.jsx)(T,{label:`Variants`,value:`6`,layout:`stacked`,mono:!0,valueClassName:`font-semibold`})}),(0,P.jsx)(w,{padding:`sm`,className:`border-border/80 shadow-sm`,children:(0,P.jsx)(T,{label:`Locales`,value:`2 / 4`,layout:`stacked`,mono:!0,valueClassName:`font-semibold`})})]}),(0,P.jsx)(w,{title:`Workspace body`,description:`Consumers mount composed product cards, feature surfaces, or their own forms here.`,padding:`sm`,headerDivider:!0,children:(0,P.jsx)(`div`,{className:`grid gap-3 md:grid-cols-2`,children:[`Identity`,`Media`,`Booking rules`,`Policies`].map(e=>(0,P.jsxs)(`div`,{className:`rounded-md border border-border bg-background px-3 py-2.5`,children:[(0,P.jsx)(r,{weight:`semibold`,children:e}),(0,P.jsx)(r,{size:`xs`,type:`secondary`,className:`mt-1`,children:`Section content keeps a compact admin rhythm inside the scrollable main region.`})]},e))})})]})}function se(){return(0,P.jsxs)(`div`,{className:`space-y-3`,children:[(0,P.jsx)(w,{icon:(0,P.jsx)(m,{className:`size-4`}),title:`Review`,description:`Right rail stays fixed to the workspace column on wide screens.`,padding:`sm`,children:(0,P.jsxs)(`div`,{className:`space-y-2`,children:[(0,P.jsx)(T,{label:`Blocked checks`,value:`2`,mono:!0}),(0,P.jsx)(T,{label:`Last review`,value:`Today`}),(0,P.jsx)(T,{label:`Owner`,value:`Catalogue`})]})}),(0,P.jsx)(w,{title:`Publishing`,padding:`sm`,children:(0,P.jsx)(r,{size:`xs`,type:`secondary`,children:`Rail cards are consumer-owned content. The layout only controls the column and scroll.`})})]})}function Y(){return(0,P.jsx)(q,{children:(0,P.jsx)(V,{header:(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(H,{title:`Balsamic tasting set`,description:`Reusable record header with badges, metadata, actions, and media. Navigation remains framework-neutral through renderLink.`,media:(0,P.jsx)(g,{className:`size-5 text-muted-foreground`}),badges:(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(u,{variant:`success`,children:`Live`}),(0,P.jsx)(u,{variant:`info`,children:`Catalogue`})]}),metadata:[{label:`SKU`,value:`BAL-TASTE-01`},{label:`Owner`,value:`Catalogue`},{label:`Updated`,value:`Today`}],secondaryActions:(0,P.jsx)(c,{variant:`secondary`,buttonStyle:`ghost`,children:`Preview`}),actions:(0,P.jsx)(c,{children:`Save draft`})}),(0,P.jsx)(W,{activeLocale:`en`,locales:[{id:`en`,label:`EN`,completion:100},{id:`el`,label:`EL`,completion:62},{id:`de`,label:`DE`,completion:20}],status:(0,P.jsx)(u,{variant:`warning`,children:`2 checks`}),actions:(0,P.jsx)(c,{variant:`secondary`,buttonStyle:`ghost`,children:`Translate`})})]}),sidebar:(0,P.jsx)(U,{activeId:`basics`,groups:J,renderLink:K}),rail:(0,P.jsx)(se,{}),children:(0,P.jsx)(oe,{})})})}function X(){return(0,P.jsx)(q,{height:520,children:(0,P.jsx)(V,{contentWidth:`default`,header:(0,P.jsx)(H,{title:`Translation workspace`,description:`The shell also works without a right rail. The main content keeps a readable width clamp.`,badges:(0,P.jsx)(u,{variant:`secondary`,children:`Draft`}),actions:(0,P.jsx)(c,{children:`Publish`})}),sidebar:(0,P.jsx)(U,{activeId:`translations`,groups:J.slice(1),renderLink:K}),children:(0,P.jsx)(w,{title:`Focused editor`,description:`A narrower workspace for dense forms or translation review.`,padding:`sm`,children:(0,P.jsx)(`div`,{className:`space-y-3`,children:[`Headline`,`Summary`,`Customer instructions`].map(e=>(0,P.jsxs)(`div`,{className:`rounded-md border border-border bg-background px-3 py-2.5`,children:[(0,P.jsx)(r,{weight:`semibold`,children:e}),(0,P.jsx)(r,{size:`xs`,type:`secondary`,className:`mt-1`,children:`Consumer-owned content inside the workspace body.`})]},e))})})})})}var Z=`import type { ReactNode } from 'react';
|
|
1
|
+
import{n as e,r as t}from"./chunk-QTnfLwEv.js";import{n}from"./react-dom-Bz4cALsF.js";import{Dr as r,Er as i,Lr as a,Rr as o,Ur as s,jr as c,r as l,t as u}from"./example-Cz_880po.js";import{t as d}from"./box-rZ0pA-02.js";import{t as f}from"./circle-alert-BW-Btwgh.js";import{t as p}from"./circle-V5hdlsIn.js";import{n as m,t as h}from"./languages-DDgmIDFe.js";import{t as g}from"./earth-BN1w3w7h.js";import{t as _}from"./image-gc4qX_7C.js";import{t as ee}from"./package-check-CCH3ax-x.js";import{t as v}from"./shield-check-DUTAPADm.js";import{t as y}from"./sliders-horizontal-BE_cwUn0.js";import{k as b,n as x,s as S}from"./index-BQIv1ffM.js";import{t as C}from"./props-table-2pIZzGC-.js";import{t as w}from"./smart-card-Dhu_1A_u.js";import{t as T}from"./inline-stat-DcNP6bcO.js";import{t as E}from"./progress-DYfoy7pk.js";import{c as D,i as O,n as k,o as A,r as j,t as M,u as te}from"./item-YF6wMI9W.js";import{t as ne}from"./use-layout-link-BQ6Y9z__.js";var re={metadataLabel:`Record metadata`,actionsLabel:`Record actions`,secondaryActionsLabel:`Secondary actions`},ie={ariaLabel:`Workspace navigation`,completionLabel:e=>`${e}% complete`,currentLabel:`Current`},ae={ariaLabel:`Workspace locales`,activeLabel:`Active`,completionLabel:e=>`${e}% complete`},N=t(n(),1),P=S(),F={default:`[--workspace-content-max-width:58rem]`,wide:`[--workspace-content-max-width:86rem]`,full:`[--workspace-content-max-width:none]`},I={complete:s,current:p,attention:f,disabled:p,idle:p},L={complete:`text-success`,current:`text-primary`,attention:`text-warning`,disabled:`text-muted-foreground/40`,idle:`text-muted-foreground`};function R(e){return Number.isFinite(e)?Math.min(100,Math.max(0,Math.round(e))):0}function z({icon:e,className:t}){return e?N.isValidElement(e)?N.cloneElement(e,{className:x(t,e.props.className)}):typeof e==`function`?(0,P.jsx)(e,{className:t,"aria-hidden":`true`}):null:null}function B(e,t){return e.disabled?`disabled`:e.status?e.status:e.warning?`attention`:t?`current`:e.completion!==void 0&&R(e.completion)>=100?`complete`:`idle`}var V=N.forwardRef(function({header:e,sidebar:t,rail:n,children:r,contentWidth:i=`wide`,className:a,headerClassName:o,bodyClassName:s,sidebarClassName:c,mainClassName:l,contentClassName:u,railClassName:d,ariaLabel:f,style:p,...m},h){let g=!!t,_=!!n;return(0,P.jsxs)(`div`,{ref:h,"aria-label":f,className:x(`workspace-layout--component flex h-full min-h-0 w-full flex-col overflow-hidden rounded-md border border-border bg-background text-foreground`,`[--workspace-sidebar-width:16rem] [--workspace-rail-width:20rem]`,F[i],a),style:p,...m,children:[!!e&&(0,P.jsx)(`header`,{className:x(`workspace-layout--header shrink-0 border-b border-border bg-background`,o),children:e}),(0,P.jsxs)(`div`,{className:x(`workspace-layout--body grid min-h-0 flex-1 grid-cols-1 bg-muted/20`,g&&!_&&`min-[80rem]:grid-cols-[var(--workspace-sidebar-width)_minmax(0,1fr)]`,g&&_&&`min-[80rem]:grid-cols-[var(--workspace-sidebar-width)_minmax(0,1fr)] min-[96rem]:grid-cols-[var(--workspace-sidebar-width)_minmax(0,1fr)_var(--workspace-rail-width)]`,!g&&_&&`min-[96rem]:grid-cols-[minmax(0,1fr)_var(--workspace-rail-width)]`,s),children:[!!g&&(0,P.jsx)(`aside`,{className:x(`workspace-layout--sidebar hidden min-h-0 border-r border-border bg-background min-[80rem]:block`,c),children:(0,P.jsx)(`div`,{className:`h-full overflow-y-auto overscroll-contain p-3`,children:t})}),(0,P.jsx)(`main`,{className:x(`workspace-layout--main min-h-0 min-w-0 overflow-y-auto overscroll-contain`,l),children:(0,P.jsx)(`div`,{className:x(`workspace-layout--content mx-auto flex min-h-full w-full max-w-[var(--workspace-content-max-width)] flex-col gap-4 p-4 min-[64rem]:p-5`,i===`full`&&`max-w-none`,u),children:r})}),!!_&&(0,P.jsx)(`aside`,{className:x(`workspace-layout--rail hidden min-h-0 border-l border-border bg-background min-[96rem]:block`,d),children:(0,P.jsx)(`div`,{className:`h-full overflow-y-auto overscroll-contain p-3`,children:n})})]})]})});V.displayName=`WorkspaceLayout`;var H=N.forwardRef(function({title:e,description:t,badges:n,metadata:r,actions:i,secondaryActions:s,status:c,media:l,headerEnd:u,titleSlot:d,className:f,strings:p,...m},h){let g=b(re,p),_=!!r?.length;return(0,P.jsxs)(`div`,{ref:h,className:x(`workspace-record-header--component flex flex-col gap-4 px-4 py-4 min-[64rem]:flex-row min-[64rem]:items-start min-[64rem]:justify-between min-[64rem]:px-5`,f),...m,children:[(0,P.jsxs)(`div`,{className:`workspace-record-header--identity flex min-w-0 flex-1 gap-3`,children:[!!l&&(0,P.jsx)(`div`,{className:`workspace-record-header--media flex size-12 shrink-0 items-center justify-center overflow-hidden rounded-md border border-border bg-muted/40`,children:l}),(0,P.jsxs)(`div`,{className:`min-w-0 flex-1 space-y-2`,children:[(0,P.jsxs)(`div`,{className:`workspace-record-header--title-row flex min-w-0 flex-wrap items-center gap-2`,children:[d??(0,P.jsx)(a,{tag:`h4`,className:`leading-tight`,children:e}),!!n&&(0,P.jsx)(`div`,{className:`workspace-record-header--badges flex flex-wrap items-center gap-1.5`,children:n}),!!c&&(0,P.jsx)(`div`,{className:`workspace-record-header--status`,children:c})]}),!!t&&(0,P.jsx)(o,{size:`xs`,type:`secondary`,className:`workspace-record-header--description max-w-4xl leading-relaxed`,children:t}),!!_&&(0,P.jsx)(`div`,{"aria-label":g.metadataLabel,className:`workspace-record-header--metadata flex flex-wrap items-center gap-x-4 gap-y-1`,children:r.map((e,t)=>(0,P.jsxs)(`div`,{className:`flex items-baseline gap-1.5`,children:[(0,P.jsx)(o,{tag:`span`,size:`xxs`,type:`secondary`,className:`uppercase`,children:e.label}),(0,P.jsx)(o,{tag:`span`,size:`xs`,weight:`medium`,className:`tabular-nums`,children:e.value})]},e.id??t))})]})]}),!!(i||s||u)&&(0,P.jsxs)(`div`,{className:`workspace-record-header--actions flex shrink-0 flex-wrap items-center gap-2 min-[64rem]:justify-end`,children:[!!s&&(0,P.jsx)(`div`,{"aria-label":g.secondaryActionsLabel,className:`flex flex-wrap items-center gap-1.5`,children:s}),!!i&&(0,P.jsx)(`div`,{"aria-label":g.actionsLabel,className:`flex flex-wrap items-center gap-1.5`,children:i}),!!u&&(0,P.jsx)(`div`,{className:`workspace-record-header--end`,children:u})]})]})});H.displayName=`WorkspaceRecordHeader`;var U=N.forwardRef(function({groups:e,activeId:t,onSelect:n,renderItem:r,footerSlot:i,renderLink:a,LinkComponent:s,className:c,strings:l,...u},d){let f=b(ie,l),p=ne({renderLink:a,LinkComponent:s});return(0,P.jsxs)(`nav`,{ref:d,"aria-label":u[`aria-label`]??f.ariaLabel,className:x(`workspace-nav--component flex h-full flex-col gap-4`,c),...u,children:[(0,P.jsx)(`div`,{className:`workspace-nav--groups flex min-h-0 flex-1 flex-col gap-4`,children:e.map(e=>(0,P.jsxs)(`div`,{className:`workspace-nav--group space-y-2`,children:[!!e.label&&(0,P.jsxs)(`div`,{className:`workspace-nav--group-header px-1`,children:[(0,P.jsx)(o,{size:`xxs`,weight:`semibold`,type:`secondary`,className:`uppercase tracking-wide`,children:e.label}),!!e.description&&(0,P.jsx)(o,{size:`xxs`,type:`secondary`,className:`mt-0.5 leading-snug`,children:e.description})]}),(0,P.jsx)(A,{className:`workspace-nav--items gap-1`,children:e.items.map((i,a)=>{let s=i.id===t,c=B(i,s),l=I[c],u=i.completion===void 0?void 0:R(i.completion),d=e=>{if(i.disabled){e.preventDefault();return}n?.(i)},m={active:s,group:e,index:a,onSelect:d};if(r)return(0,P.jsx)(N.Fragment,{children:r(i,m)},i.id);let h=(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(D,{variant:`icon`,className:x(s&&`bg-primary/10 text-primary`),children:i.icon?(0,P.jsx)(z,{icon:i.icon,className:`size-4`}):(0,P.jsx)(l,{className:x(`size-3.5`,L[c]),"aria-hidden":`true`})}),(0,P.jsxs)(j,{children:[(0,P.jsxs)(`div`,{className:`flex items-center gap-1.5`,children:[(0,P.jsx)(te,{children:i.label}),s&&(0,P.jsx)(`span`,{className:`sr-only`,children:f.currentLabel})]}),!!i.description&&(0,P.jsx)(O,{clamp:2,children:i.description}),u!==void 0&&(0,P.jsxs)(`div`,{className:`mt-1.5 flex items-center gap-2`,children:[(0,P.jsx)(E,{value:u,className:`h-1.5 flex-1`}),(0,P.jsx)(o,{tag:`span`,size:`xxs`,type:`secondary`,className:`tabular-nums`,children:f.completionLabel(u)})]})]}),!!i.badge&&(0,P.jsx)(k,{children:i.badge})]}),g=x(`workspace-nav--item w-full border border-transparent px-2 py-2 text-left transition-colors`,s&&`border-primary/20 bg-primary/5`,i.warning&&!s&&`border-warning/30 bg-warning/5`,i.disabled&&`pointer-events-none opacity-50`);return i.href?(0,P.jsx)(M,{size:`sm`,render:p({href:i.href,children:h,className:`block`,active:s,disabled:i.disabled,external:i.external,target:i.target,rel:i.rel,onClick:d}),className:g,children:h},i.id):(0,P.jsx)(M,{size:`sm`,render:(0,P.jsx)(`button`,{type:`button`,onClick:d,disabled:i.disabled}),className:g,children:h},i.id)})})]},e.id))}),!!i&&(0,P.jsx)(`div`,{className:`workspace-nav--footer shrink-0 border-t border-border pt-3`,children:i})]})});U.displayName=`WorkspaceNav`;var W=N.forwardRef(function({locales:e,activeLocale:t,onLocaleChange:n,actions:r,status:i,className:a,strings:o,...s},u){let d=b(ae,o),f=e=>{e.disabled||n?.(e)};return(0,P.jsxs)(`div`,{ref:u,className:x(`workspace-locale-strip--component flex flex-col gap-3 border-t border-border bg-muted/20 px-4 py-3 min-[64rem]:flex-row min-[64rem]:items-center min-[64rem]:justify-between min-[64rem]:px-5`,a),...s,children:[(0,P.jsx)(`div`,{className:`workspace-locale-strip--locales flex min-w-0 flex-wrap items-center gap-2`,role:`list`,"aria-label":d.ariaLabel,children:e.map(e=>{let n=e.id===t,r=e.completion===void 0?void 0:R(e.completion);return(0,P.jsx)(l,{type:`button`,variant:n?`primary`:`secondary`,buttonStyle:n?`solid`:`ghost`,onClick:()=>f(e),disabled:e.disabled,"aria-pressed":n,className:x(`workspace-locale-strip--item h-auto min-h-8 justify-start px-2.5 py-1.5`),children:(0,P.jsxs)(`span`,{className:`flex min-w-0 items-center gap-2`,children:[(0,P.jsx)(`span`,{className:`truncate`,children:e.label}),n&&(0,P.jsx)(`span`,{className:`sr-only`,children:d.activeLabel}),r!==void 0&&(0,P.jsx)(c,{variant:r>=100?`success`:`secondary`,className:`shrink-0`,children:d.completionLabel(r)}),!!e.status&&(0,P.jsx)(`span`,{className:`shrink-0`,children:e.status})]})},e.id)})}),!!(i||r)&&(0,P.jsxs)(`div`,{className:`workspace-locale-strip--actions flex shrink-0 flex-wrap items-center gap-2`,children:[!!i&&(0,P.jsx)(`div`,{className:`workspace-locale-strip--status`,children:i}),!!r&&(0,P.jsx)(`div`,{className:`flex flex-wrap items-center gap-1.5`,children:r})]})]})});W.displayName=`WorkspaceLocaleStrip`;var G=e({ProductRecordWorkspaceShell:()=>Y,WorkspaceWithoutRail:()=>X});function K({href:e,children:t,className:n,onClick:r,target:i,rel:a}){return(0,P.jsx)(`a`,{href:e??`#`,className:n,onClick:r,target:i,rel:a,children:t})}function q({children:e,height:t=640}){return(0,P.jsx)(`div`,{className:`layout-demo-viewport relative w-full overflow-hidden rounded-md border border-dashed border-border bg-background`,style:{height:t},children:e})}var J=[{id:`content`,label:`Content`,description:`Public catalogue fields`,items:[{id:`basics`,label:`Basics`,description:`Name, handle, summary`,href:`#/products/1/basics`,icon:d,completion:100},{id:`media`,label:`Media`,description:`Cover and gallery`,href:`#/products/1/media`,icon:_,completion:80},{id:`taxonomy`,label:`Taxonomy`,description:`Categories and tags`,href:`#/products/1/taxonomy`,icon:y,completion:70}]},{id:`operations`,label:`Operations`,description:`Fulfilment controls`,items:[{id:`availability`,label:`Availability`,description:`Calendar and capacity`,href:`#/products/1/availability`,icon:ee,completion:55,warning:!0},{id:`policies`,label:`Policies`,description:`Booking and cancellation`,href:`#/products/1/policies`,icon:v,completion:100},{id:`translations`,label:`Translations`,description:`Locale readiness`,href:`#/products/1/translations`,icon:h,completion:42}]}];function oe(){return(0,P.jsxs)(`div`,{className:`space-y-4`,children:[(0,P.jsxs)(`div`,{className:`grid gap-3 md:grid-cols-3`,children:[(0,P.jsx)(w,{padding:`sm`,className:`border-border/80 shadow-sm`,children:(0,P.jsx)(T,{label:`Readiness`,value:`82%`,layout:`stacked`,mono:!0,valueClassName:`font-semibold`})}),(0,P.jsx)(w,{padding:`sm`,className:`border-border/80 shadow-sm`,children:(0,P.jsx)(T,{label:`Variants`,value:`6`,layout:`stacked`,mono:!0,valueClassName:`font-semibold`})}),(0,P.jsx)(w,{padding:`sm`,className:`border-border/80 shadow-sm`,children:(0,P.jsx)(T,{label:`Locales`,value:`2 / 4`,layout:`stacked`,mono:!0,valueClassName:`font-semibold`})})]}),(0,P.jsx)(w,{title:`Workspace body`,description:`Consumers mount composed product cards, feature surfaces, or their own forms here.`,padding:`sm`,headerDivider:!0,children:(0,P.jsx)(`div`,{className:`grid gap-3 md:grid-cols-2`,children:[`Identity`,`Media`,`Booking rules`,`Policies`].map(e=>(0,P.jsxs)(`div`,{className:`rounded-md border border-border bg-background px-3 py-2.5`,children:[(0,P.jsx)(o,{weight:`semibold`,children:e}),(0,P.jsx)(o,{size:`xs`,type:`secondary`,className:`mt-1`,children:`Section content keeps a compact admin rhythm inside the scrollable main region.`})]},e))})})]})}function se(){return(0,P.jsxs)(`div`,{className:`space-y-3`,children:[(0,P.jsx)(w,{icon:(0,P.jsx)(m,{className:`size-4`}),title:`Review`,description:`Right rail stays fixed to the workspace column on wide screens.`,padding:`sm`,children:(0,P.jsxs)(`div`,{className:`space-y-2`,children:[(0,P.jsx)(T,{label:`Blocked checks`,value:`2`,mono:!0}),(0,P.jsx)(T,{label:`Last review`,value:`Today`}),(0,P.jsx)(T,{label:`Owner`,value:`Catalogue`})]})}),(0,P.jsx)(w,{title:`Publishing`,padding:`sm`,children:(0,P.jsx)(o,{size:`xs`,type:`secondary`,children:`Rail cards are consumer-owned content. The layout only controls the column and scroll.`})})]})}function Y(){return(0,P.jsx)(q,{children:(0,P.jsx)(V,{header:(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(H,{title:`Balsamic tasting set`,description:`Reusable record header with badges, metadata, actions, and media. Navigation remains framework-neutral through renderLink.`,media:(0,P.jsx)(g,{className:`size-5 text-muted-foreground`}),badges:(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(c,{variant:`success`,children:`Live`}),(0,P.jsx)(c,{variant:`info`,children:`Catalogue`})]}),metadata:[{label:`SKU`,value:`BAL-TASTE-01`},{label:`Owner`,value:`Catalogue`},{label:`Updated`,value:`Today`}],secondaryActions:(0,P.jsx)(l,{variant:`secondary`,buttonStyle:`ghost`,children:`Preview`}),actions:(0,P.jsx)(l,{children:`Save draft`})}),(0,P.jsx)(W,{activeLocale:`en`,locales:[{id:`en`,label:`EN`,completion:100},{id:`el`,label:`EL`,completion:62},{id:`de`,label:`DE`,completion:20}],status:(0,P.jsx)(c,{variant:`warning`,children:`2 checks`}),actions:(0,P.jsx)(l,{variant:`secondary`,buttonStyle:`ghost`,children:`Translate`})})]}),sidebar:(0,P.jsx)(U,{activeId:`basics`,groups:J,renderLink:K}),rail:(0,P.jsx)(se,{}),children:(0,P.jsx)(oe,{})})})}function X(){return(0,P.jsx)(q,{height:520,children:(0,P.jsx)(V,{contentWidth:`default`,header:(0,P.jsx)(H,{title:`Translation workspace`,description:`The shell also works without a right rail. The main content keeps a readable width clamp.`,badges:(0,P.jsx)(c,{variant:`secondary`,children:`Draft`}),actions:(0,P.jsx)(l,{children:`Publish`})}),sidebar:(0,P.jsx)(U,{activeId:`translations`,groups:J.slice(1),renderLink:K}),children:(0,P.jsx)(w,{title:`Focused editor`,description:`A narrower workspace for dense forms or translation review.`,padding:`sm`,children:(0,P.jsx)(`div`,{className:`space-y-3`,children:[`Headline`,`Summary`,`Customer instructions`].map(e=>(0,P.jsxs)(`div`,{className:`rounded-md border border-border bg-background px-3 py-2.5`,children:[(0,P.jsx)(o,{weight:`semibold`,children:e}),(0,P.jsx)(o,{size:`xs`,type:`secondary`,className:`mt-1`,children:`Consumer-owned content inside the workspace body.`})]},e))})})})})}var Z=`import type { ReactNode } from 'react';
|
|
2
2
|
import { Box, ClipboardCheck, Globe2, Image, Languages, PackageCheck, ShieldCheck, SlidersHorizontal } from 'lucide-react';
|
|
3
3
|
|
|
4
4
|
import { Badge } from '@/components/base/badge';
|
|
@@ -180,4 +180,4 @@ export function WorkspaceWithoutRail() {
|
|
|
180
180
|
</DemoViewport>
|
|
181
181
|
);
|
|
182
182
|
}
|
|
183
|
-
`;function Q(e){let t={h4:`h4`,...e.components};return G||$(`Examples`,!1),Y||$(`Examples.ProductRecordWorkspaceShell`,!0),X||$(`Examples.WorkspaceWithoutRail`,!0),(0,P.jsxs)(
|
|
183
|
+
`;function Q(e){let t={h4:`h4`,...e.components};return G||$(`Examples`,!1),Y||$(`Examples.ProductRecordWorkspaceShell`,!0),X||$(`Examples.WorkspaceWithoutRail`,!0),(0,P.jsxs)(r,{title:`Layout · Workspace`,description:`Nested record workspace shell with header, workflow navigation, scroll-owned body, and optional right rail.`,layer:`layout`,status:`ready`,sourcePath:`src/components/layout/workspace`,children:[(0,P.jsxs)(i,{title:`Examples`,id:`examples`,children:[(0,P.jsx)(u,{name:`ProductRecordWorkspaceShell`,source:Z,children:(0,P.jsx)(Y,{})}),(0,P.jsx)(u,{name:`WorkspaceWithoutRail`,source:Z,children:(0,P.jsx)(X,{})})]}),(0,P.jsxs)(i,{title:`API`,id:`api`,children:[(0,P.jsx)(t.h4,{children:`WorkspaceLayout`}),(0,P.jsx)(C,{component:`WorkspaceLayout`}),(0,P.jsx)(t.h4,{children:`WorkspaceRecordHeader`}),(0,P.jsx)(C,{component:`WorkspaceRecordHeader`}),(0,P.jsx)(t.h4,{children:`WorkspaceNav`}),(0,P.jsx)(C,{component:`WorkspaceNav`}),(0,P.jsx)(t.h4,{children:`WorkspaceLocaleStrip`}),(0,P.jsx)(C,{component:`WorkspaceLocaleStrip`})]})]})}function ce(e={}){let{wrapper:t}=e.components||{};return t?(0,P.jsx)(t,{...e,children:(0,P.jsx)(Q,{...e})}):Q(e)}function $(e,t){throw Error(`Expected `+(t?`component`:`object`)+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}export{ce as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./index-
|
|
1
|
+
import{a as e}from"./index-BQIv1ffM.js";var t=e(`lock`,[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`,key:`fwvmzm`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./index-
|
|
1
|
+
import{a as e}from"./index-BQIv1ffM.js";var t=e(`lock-keyhole`,[[`circle`,{cx:`12`,cy:`16`,r:`1`,key:`1au0dj`}],[`rect`,{x:`3`,y:`10`,width:`18`,height:`12`,rx:`2`,key:`6s8ecr`}],[`path`,{d:`M7 10V7a5 5 0 0 1 10 0v3`,key:`1pqi11`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./index-
|
|
1
|
+
import{a as e}from"./index-BQIv1ffM.js";var t=e(`mail`,[[`path`,{d:`m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7`,key:`132q7q`}],[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`,key:`izxlao`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./index-
|
|
1
|
+
import{a as e}from"./index-BQIv1ffM.js";var t=e(`mail-check`,[[`path`,{d:`M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8`,key:`12jkf8`}],[`path`,{d:`m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7`,key:`1ocrg3`}],[`path`,{d:`m16 19 2 2 4-4`,key:`1b14m6`}]]);export{t};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./lib-DMGme4uo.js","./chunk-QTnfLwEv.js","./generic-BH5YLC_H.js","./react-dom-Bz4cALsF.js","./leaflet-src-S_KZeH2q.js","./esm-CAF_uoYd.js","./Control.FullScreen-CwLQ1MMK.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{n as e,r as t,t as n}from"./chunk-QTnfLwEv.js";import{n as r,t as i}from"./react-dom-Bz4cALsF.js";import{hr as a,mr as o,t as s}from"./example-BIrQab7K.js";import{t as c}from"./map-pin-DUl-Lt6t.js";import{n as l,s as u,t as d}from"./index-Cz4UGUT2.js";import{t as f}from"./props-table-BR-KjRNe.js";var p=n((e=>{var t=r(),n=i();function a(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}var o=Symbol.for(`react.transitional.element`),s=Symbol.for(`react.portal`),c=Symbol.for(`react.fragment`),l=Symbol.for(`react.strict_mode`),u=Symbol.for(`react.profiler`),d=Symbol.for(`react.consumer`),f=Symbol.for(`react.context`),p=Symbol.for(`react.forward_ref`),m=Symbol.for(`react.suspense`),h=Symbol.for(`react.suspense_list`),g=Symbol.for(`react.memo`),_=Symbol.for(`react.lazy`),v=Symbol.for(`react.scope`),y=Symbol.for(`react.activity`),b=Symbol.for(`react.legacy_hidden`),x=Symbol.for(`react.memo_cache_sentinel`),S=Symbol.for(`react.view_transition`),C=Symbol.iterator;function ee(e){return typeof e!=`object`||!e?null:(e=C&&e[C]||e[`@@iterator`],typeof e==`function`?e:null)}var w=Array.isArray;function T(e,t){var n=e.length&3,r=e.length-n,i=t;for(t=0;t<r;){var a=e.charCodeAt(t)&255|(e.charCodeAt(++t)&255)<<8|(e.charCodeAt(++t)&255)<<16|(e.charCodeAt(++t)&255)<<24;++t,a=3432918353*(a&65535)+((3432918353*(a>>>16)&65535)<<16)&4294967295,a=a<<15|a>>>17,a=461845907*(a&65535)+((461845907*(a>>>16)&65535)<<16)&4294967295,i^=a,i=i<<13|i>>>19,i=5*(i&65535)+((5*(i>>>16)&65535)<<16)&4294967295,i=(i&65535)+27492+(((i>>>16)+58964&65535)<<16)}switch(a=0,n){case 3:a^=(e.charCodeAt(t+2)&255)<<16;case 2:a^=(e.charCodeAt(t+1)&255)<<8;case 1:a^=e.charCodeAt(t)&255,a=3432918353*(a&65535)+((3432918353*(a>>>16)&65535)<<16)&4294967295,a=a<<15|a>>>17,i^=461845907*(a&65535)+((461845907*(a>>>16)&65535)<<16)&4294967295}return i^=e.length,i^=i>>>16,i=2246822507*(i&65535)+((2246822507*(i>>>16)&65535)<<16)&4294967295,i^=i>>>13,i=3266489909*(i&65535)+((3266489909*(i>>>16)&65535)<<16)&4294967295,(i^i>>>16)>>>0}var E=Object.assign,D=Object.prototype.hasOwnProperty,O=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),k={},A={};function j(e){return D.call(A,e)?!0:D.call(k,e)?!1:O.test(e)?A[e]=!0:(k[e]=!0,!1)}var M=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `)),N=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),P=/["'&<>]/;function F(e){if(typeof e==`boolean`||typeof e==`number`||typeof e==`bigint`)return``+e;e=``+e;var t=P.exec(e);if(t){var n=``,r,i=0;for(r=t.index;r<e.length;r++){switch(e.charCodeAt(r)){case 34:t=`"`;break;case 38:t=`&`;break;case 39:t=`'`;break;case 60:t=`<`;break;case 62:t=`>`;break;default:continue}i!==r&&(n+=e.slice(i,r)),i=r+1,n+=t}e=i===r?n:n+e.slice(i,r)}return e}var te=/([A-Z])/g,ne=/^ms-/,I=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function L(e){return I.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}var re=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ie=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,R={pending:!1,data:null,method:null,action:null},z=ie.d;ie.d={f:z.f,r:z.r,D:it,C:at,L:ot,m:st,X:lt,S:ct,M:ut};var ae=[],oe=null,se=/(<\/|<)(s)(cript)/gi;function ce(e,t,n,r){return``+t+(n===`s`?`\\u0073`:`\\u0053`)+r}function le(e,t,n,r,i){return{idPrefix:e===void 0?``:e,nextFormID:0,streamingFormat:0,bootstrapScriptContent:n,bootstrapScripts:r,bootstrapModules:i,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function B(e,t,n,r){return{insertionMode:e,selectedValue:t,tagScope:n,viewTransition:r}}function ue(e,t,n){var r=e.tagScope&-25;switch(t){case`noscript`:return B(2,null,r|1,null);case`select`:return B(2,n.value==null?n.defaultValue:n.value,r,null);case`svg`:return B(4,null,r,null);case`picture`:return B(2,null,r|2,null);case`math`:return B(5,null,r,null);case`foreignObject`:return B(2,null,r,null);case`table`:return B(6,null,r,null);case`thead`:case`tbody`:case`tfoot`:return B(7,null,r,null);case`colgroup`:return B(9,null,r,null);case`tr`:return B(8,null,r,null);case`head`:if(2>e.insertionMode)return B(3,null,r,null);break;case`html`:if(e.insertionMode===0)return B(1,null,r,null)}return 6<=e.insertionMode||2>e.insertionMode?B(2,null,r,null):e.tagScope===r?e:B(e.insertionMode,e.selectedValue,r,null)}function V(e){return e===null?null:{update:e.update,enter:`none`,exit:`none`,share:e.update,name:e.autoName,autoName:e.autoName,nameIdx:0}}function de(e,t){return t.tagScope&32&&(e.instructions|=128),B(t.insertionMode,t.selectedValue,t.tagScope|12,V(t.viewTransition))}function fe(e,t){e=V(t.viewTransition);var n=t.tagScope|16;return e!==null&&e.share!==`none`&&(n|=64),B(t.insertionMode,t.selectedValue,n,e)}var pe=new Map;function me(e,t){if(typeof t!=`object`)throw Error(a(62));var n=!0,r;for(r in t)if(D.call(t,r)){var i=t[r];if(i!=null&&typeof i!=`boolean`&&i!==``){if(r.indexOf(`--`)===0){var o=F(r);i=F((``+i).trim())}else o=pe.get(r),o===void 0&&(o=F(r.replace(te,`-$1`).toLowerCase().replace(ne,`-ms-`)),pe.set(r,o)),i=typeof i==`number`?i===0||M.has(r)?``+i:i+`px`:F((``+i).trim());n?(n=!1,e.push(` style="`,o,`:`,i)):e.push(`;`,o,`:`,i)}}n||e.push(`"`)}function he(e,t,n){n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(` `,t,`=""`)}function ge(e,t,n){typeof n!=`function`&&typeof n!=`symbol`&&typeof n!=`boolean`&&e.push(` `,t,`="`,F(n),`"`)}var _e=F(`javascript:throw new Error('React form unexpectedly submitted.')`);function ve(e,t){this.push(`<input type="hidden"`),ye(e),ge(this,`name`,t),ge(this,`value`,e),this.push(`/>`)}function ye(e){if(typeof e!=`string`)throw Error(a(480))}function be(e,t){if(typeof t.$$FORM_ACTION==`function`){var n=e.nextFormID++;e=e.idPrefix+n;try{var r=t.$$FORM_ACTION(e);return r&&r.data?.forEach(ye),r}catch(e){if(typeof e==`object`&&e&&typeof e.then==`function`)throw e}}return null}function xe(e,t,n,r,i,a,o,s){var c=null;if(typeof r==`function`){var l=be(t,r);l===null?(e.push(` `,`formAction`,`="`,_e,`"`),o=a=i=r=s=null,we(t,n)):(s=l.name,r=l.action||``,i=l.encType,a=l.method,o=l.target,c=l.data)}return s!=null&&H(e,`name`,s),r!=null&&H(e,`formAction`,r),i!=null&&H(e,`formEncType`,i),a!=null&&H(e,`formMethod`,a),o!=null&&H(e,`formTarget`,o),c}function H(e,t,n){switch(t){case`className`:ge(e,`class`,n);break;case`tabIndex`:ge(e,`tabindex`,n);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:ge(e,t,n);break;case`style`:me(e,n);break;case`src`:case`href`:if(n===``)break;case`action`:case`formAction`:if(n==null||typeof n==`function`||typeof n==`symbol`||typeof n==`boolean`)break;n=L(``+n),e.push(` `,t,`="`,F(n),`"`);break;case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`ref`:break;case`autoFocus`:case`multiple`:case`muted`:he(e,t.toLowerCase(),n);break;case`xlinkHref`:if(typeof n==`function`||typeof n==`symbol`||typeof n==`boolean`)break;n=L(``+n),e.push(` `,`xlink:href`,`="`,F(n),`"`);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:typeof n!=`function`&&typeof n!=`symbol`&&e.push(` `,t,`="`,F(n),`"`);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(` `,t,`=""`);break;case`capture`:case`download`:!0===n?e.push(` `,t,`=""`):!1!==n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(` `,t,`="`,F(n),`"`);break;case`cols`:case`rows`:case`size`:case`span`:typeof n!=`function`&&typeof n!=`symbol`&&!isNaN(n)&&1<=n&&e.push(` `,t,`="`,F(n),`"`);break;case`rowSpan`:case`start`:typeof n==`function`||typeof n==`symbol`||isNaN(n)||e.push(` `,t,`="`,F(n),`"`);break;case`xlinkActuate`:ge(e,`xlink:actuate`,n);break;case`xlinkArcrole`:ge(e,`xlink:arcrole`,n);break;case`xlinkRole`:ge(e,`xlink:role`,n);break;case`xlinkShow`:ge(e,`xlink:show`,n);break;case`xlinkTitle`:ge(e,`xlink:title`,n);break;case`xlinkType`:ge(e,`xlink:type`,n);break;case`xmlBase`:ge(e,`xml:base`,n);break;case`xmlLang`:ge(e,`xml:lang`,n);break;case`xmlSpace`:ge(e,`xml:space`,n);break;default:if((!(2<t.length)||t[0]!==`o`&&t[0]!==`O`||t[1]!==`n`&&t[1]!==`N`)&&(t=N.get(t)||t,j(t))){switch(typeof n){case`function`:case`symbol`:return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`)return}e.push(` `,t,`="`,F(n),`"`)}}}function Se(e,t,n){if(t!=null){if(n!=null)throw Error(a(60));if(typeof t!=`object`||!(`__html`in t))throw Error(a(61));t=t.__html,t!=null&&e.push(``+t)}}function Ce(e){var n=``;return t.Children.forEach(e,function(e){e!=null&&(n+=e)}),n}function we(e,t){if(!(e.instructions&16)){e.instructions|=16;var n=t.preamble,r=t.bootstrapChunks;(n.htmlChunks||n.headChunks)&&r.length===0?(r.push(t.startInlineScript),nt(r,e),r.push(`>`,`addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error('React form unexpectedly submitted.')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});`,`<\/script>`)):r.unshift(t.startInlineScript,`>`,`addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error('React form unexpectedly submitted.')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});`,`<\/script>`)}}function Te(e,t){for(var n in e.push(U(`link`)),t)if(D.call(t,n)){var r=t[n];if(r!=null)switch(n){case`children`:case`dangerouslySetInnerHTML`:throw Error(a(399,`link`));default:H(e,n,r)}}return e.push(`/>`),null}var Ee=/(<\/|<)(s)(tyle)/gi;function De(e,t,n,r){return``+t+(n===`s`?`\\73 `:`\\53 `)+r}function Oe(e,t,n){for(var r in e.push(U(n)),t)if(D.call(t,r)){var i=t[r];if(i!=null)switch(r){case`children`:case`dangerouslySetInnerHTML`:throw Error(a(399,n));default:H(e,r,i)}}return e.push(`/>`),null}function ke(e,t){e.push(U(`title`));var n=null,r=null,i;for(i in t)if(D.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:H(e,i,a)}}return e.push(`>`),t=Array.isArray(n)?2>n.length?n[0]:null:n,typeof t!=`function`&&typeof t!=`symbol`&&t!=null&&e.push(F(``+t)),Se(e,r,n),e.push(Le(`title`)),null}function Ae(e,t){e.push(U(`script`));var n=null,r=null,i;for(i in t)if(D.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:H(e,i,a)}}return e.push(`>`),Se(e,r,n),typeof n==`string`&&e.push((``+n).replace(se,ce)),e.push(Le(`script`)),null}function je(e,t,n){e.push(U(n));var r=n=null,i;for(i in t)if(D.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:H(e,i,a)}}return e.push(`>`),Se(e,r,n),n}function Me(e,t,n){e.push(U(n));var r=n=null,i;for(i in t)if(D.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:H(e,i,a)}}return e.push(`>`),Se(e,r,n),typeof n==`string`?(e.push(F(n)),null):n}var Ne=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Pe=new Map;function U(e){var t=Pe.get(e);if(t===void 0){if(!Ne.test(e))throw Error(a(65,e));t=`<`+e,Pe.set(e,t)}return t}function Fe(e,t,n,r,i,o,s,c,l){switch(t){case`div`:case`span`:case`svg`:case`path`:break;case`a`:e.push(U(`a`));var u=null,d=null,f;for(f in n)if(D.call(n,f)){var p=n[f];if(p!=null)switch(f){case`children`:u=p;break;case`dangerouslySetInnerHTML`:d=p;break;case`href`:p===``?ge(e,`href`,``):H(e,f,p);break;default:H(e,f,p)}}if(e.push(`>`),Se(e,d,u),typeof u==`string`){e.push(F(u));var m=null}else m=u;return m;case`g`:case`p`:case`li`:break;case`select`:e.push(U(`select`));var h=null,g=null,_;for(_ in n)if(D.call(n,_)){var v=n[_];if(v!=null)switch(_){case`children`:h=v;break;case`dangerouslySetInnerHTML`:g=v;break;case`defaultValue`:case`value`:break;default:H(e,_,v)}}return e.push(`>`),Se(e,g,h),h;case`option`:var y=c.selectedValue;e.push(U(`option`));var b=null,x=null,S=null,C=null,ee;for(ee in n)if(D.call(n,ee)){var T=n[ee];if(T!=null)switch(ee){case`children`:b=T;break;case`selected`:S=T;break;case`dangerouslySetInnerHTML`:C=T;break;case`value`:x=T;default:H(e,ee,T)}}if(y!=null){var O=x===null?Ce(b):``+x;if(w(y)){for(var k=0;k<y.length;k++)if(``+y[k]===O){e.push(` selected=""`);break}}else ``+y===O&&e.push(` selected=""`)}else S&&e.push(` selected=""`);return e.push(`>`),Se(e,C,b),b;case`textarea`:e.push(U(`textarea`));var A=null,M=null,N=null,P;for(P in n)if(D.call(n,P)){var te=n[P];if(te!=null)switch(P){case`children`:N=te;break;case`value`:A=te;break;case`defaultValue`:M=te;break;case`dangerouslySetInnerHTML`:throw Error(a(91));default:H(e,P,te)}}if(A===null&&M!==null&&(A=M),e.push(`>`),N!=null){if(A!=null)throw Error(a(92));if(w(N)){if(1<N.length)throw Error(a(93));A=``+N[0]}A=``+N}return typeof A==`string`&&A[0]===`
|
|
2
|
+
import{n as e,r as t,t as n}from"./chunk-QTnfLwEv.js";import{n as r,t as i}from"./react-dom-Bz4cALsF.js";import{Dr as a,Er as o,t as s}from"./example-Cz_880po.js";import{t as c}from"./map-pin-0O7GD5Dz.js";import{n as l,s as u,t as d}from"./index-BQIv1ffM.js";import{t as f}from"./props-table-2pIZzGC-.js";var p=n((e=>{var t=r(),n=i();function a(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}var o=Symbol.for(`react.transitional.element`),s=Symbol.for(`react.portal`),c=Symbol.for(`react.fragment`),l=Symbol.for(`react.strict_mode`),u=Symbol.for(`react.profiler`),d=Symbol.for(`react.consumer`),f=Symbol.for(`react.context`),p=Symbol.for(`react.forward_ref`),m=Symbol.for(`react.suspense`),h=Symbol.for(`react.suspense_list`),g=Symbol.for(`react.memo`),_=Symbol.for(`react.lazy`),v=Symbol.for(`react.scope`),y=Symbol.for(`react.activity`),b=Symbol.for(`react.legacy_hidden`),x=Symbol.for(`react.memo_cache_sentinel`),S=Symbol.for(`react.view_transition`),C=Symbol.iterator;function ee(e){return typeof e!=`object`||!e?null:(e=C&&e[C]||e[`@@iterator`],typeof e==`function`?e:null)}var w=Array.isArray;function T(e,t){var n=e.length&3,r=e.length-n,i=t;for(t=0;t<r;){var a=e.charCodeAt(t)&255|(e.charCodeAt(++t)&255)<<8|(e.charCodeAt(++t)&255)<<16|(e.charCodeAt(++t)&255)<<24;++t,a=3432918353*(a&65535)+((3432918353*(a>>>16)&65535)<<16)&4294967295,a=a<<15|a>>>17,a=461845907*(a&65535)+((461845907*(a>>>16)&65535)<<16)&4294967295,i^=a,i=i<<13|i>>>19,i=5*(i&65535)+((5*(i>>>16)&65535)<<16)&4294967295,i=(i&65535)+27492+(((i>>>16)+58964&65535)<<16)}switch(a=0,n){case 3:a^=(e.charCodeAt(t+2)&255)<<16;case 2:a^=(e.charCodeAt(t+1)&255)<<8;case 1:a^=e.charCodeAt(t)&255,a=3432918353*(a&65535)+((3432918353*(a>>>16)&65535)<<16)&4294967295,a=a<<15|a>>>17,i^=461845907*(a&65535)+((461845907*(a>>>16)&65535)<<16)&4294967295}return i^=e.length,i^=i>>>16,i=2246822507*(i&65535)+((2246822507*(i>>>16)&65535)<<16)&4294967295,i^=i>>>13,i=3266489909*(i&65535)+((3266489909*(i>>>16)&65535)<<16)&4294967295,(i^i>>>16)>>>0}var E=Object.assign,D=Object.prototype.hasOwnProperty,O=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),k={},A={};function j(e){return D.call(A,e)?!0:D.call(k,e)?!1:O.test(e)?A[e]=!0:(k[e]=!0,!1)}var M=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `)),N=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),P=/["'&<>]/;function F(e){if(typeof e==`boolean`||typeof e==`number`||typeof e==`bigint`)return``+e;e=``+e;var t=P.exec(e);if(t){var n=``,r,i=0;for(r=t.index;r<e.length;r++){switch(e.charCodeAt(r)){case 34:t=`"`;break;case 38:t=`&`;break;case 39:t=`'`;break;case 60:t=`<`;break;case 62:t=`>`;break;default:continue}i!==r&&(n+=e.slice(i,r)),i=r+1,n+=t}e=i===r?n:n+e.slice(i,r)}return e}var te=/([A-Z])/g,ne=/^ms-/,I=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function L(e){return I.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}var re=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ie=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,R={pending:!1,data:null,method:null,action:null},z=ie.d;ie.d={f:z.f,r:z.r,D:it,C:at,L:ot,m:st,X:lt,S:ct,M:ut};var ae=[],oe=null,se=/(<\/|<)(s)(cript)/gi;function ce(e,t,n,r){return``+t+(n===`s`?`\\u0073`:`\\u0053`)+r}function le(e,t,n,r,i){return{idPrefix:e===void 0?``:e,nextFormID:0,streamingFormat:0,bootstrapScriptContent:n,bootstrapScripts:r,bootstrapModules:i,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function B(e,t,n,r){return{insertionMode:e,selectedValue:t,tagScope:n,viewTransition:r}}function ue(e,t,n){var r=e.tagScope&-25;switch(t){case`noscript`:return B(2,null,r|1,null);case`select`:return B(2,n.value==null?n.defaultValue:n.value,r,null);case`svg`:return B(4,null,r,null);case`picture`:return B(2,null,r|2,null);case`math`:return B(5,null,r,null);case`foreignObject`:return B(2,null,r,null);case`table`:return B(6,null,r,null);case`thead`:case`tbody`:case`tfoot`:return B(7,null,r,null);case`colgroup`:return B(9,null,r,null);case`tr`:return B(8,null,r,null);case`head`:if(2>e.insertionMode)return B(3,null,r,null);break;case`html`:if(e.insertionMode===0)return B(1,null,r,null)}return 6<=e.insertionMode||2>e.insertionMode?B(2,null,r,null):e.tagScope===r?e:B(e.insertionMode,e.selectedValue,r,null)}function V(e){return e===null?null:{update:e.update,enter:`none`,exit:`none`,share:e.update,name:e.autoName,autoName:e.autoName,nameIdx:0}}function de(e,t){return t.tagScope&32&&(e.instructions|=128),B(t.insertionMode,t.selectedValue,t.tagScope|12,V(t.viewTransition))}function fe(e,t){e=V(t.viewTransition);var n=t.tagScope|16;return e!==null&&e.share!==`none`&&(n|=64),B(t.insertionMode,t.selectedValue,n,e)}var pe=new Map;function me(e,t){if(typeof t!=`object`)throw Error(a(62));var n=!0,r;for(r in t)if(D.call(t,r)){var i=t[r];if(i!=null&&typeof i!=`boolean`&&i!==``){if(r.indexOf(`--`)===0){var o=F(r);i=F((``+i).trim())}else o=pe.get(r),o===void 0&&(o=F(r.replace(te,`-$1`).toLowerCase().replace(ne,`-ms-`)),pe.set(r,o)),i=typeof i==`number`?i===0||M.has(r)?``+i:i+`px`:F((``+i).trim());n?(n=!1,e.push(` style="`,o,`:`,i)):e.push(`;`,o,`:`,i)}}n||e.push(`"`)}function he(e,t,n){n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(` `,t,`=""`)}function ge(e,t,n){typeof n!=`function`&&typeof n!=`symbol`&&typeof n!=`boolean`&&e.push(` `,t,`="`,F(n),`"`)}var _e=F(`javascript:throw new Error('React form unexpectedly submitted.')`);function ve(e,t){this.push(`<input type="hidden"`),ye(e),ge(this,`name`,t),ge(this,`value`,e),this.push(`/>`)}function ye(e){if(typeof e!=`string`)throw Error(a(480))}function be(e,t){if(typeof t.$$FORM_ACTION==`function`){var n=e.nextFormID++;e=e.idPrefix+n;try{var r=t.$$FORM_ACTION(e);return r&&r.data?.forEach(ye),r}catch(e){if(typeof e==`object`&&e&&typeof e.then==`function`)throw e}}return null}function xe(e,t,n,r,i,a,o,s){var c=null;if(typeof r==`function`){var l=be(t,r);l===null?(e.push(` `,`formAction`,`="`,_e,`"`),o=a=i=r=s=null,we(t,n)):(s=l.name,r=l.action||``,i=l.encType,a=l.method,o=l.target,c=l.data)}return s!=null&&H(e,`name`,s),r!=null&&H(e,`formAction`,r),i!=null&&H(e,`formEncType`,i),a!=null&&H(e,`formMethod`,a),o!=null&&H(e,`formTarget`,o),c}function H(e,t,n){switch(t){case`className`:ge(e,`class`,n);break;case`tabIndex`:ge(e,`tabindex`,n);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:ge(e,t,n);break;case`style`:me(e,n);break;case`src`:case`href`:if(n===``)break;case`action`:case`formAction`:if(n==null||typeof n==`function`||typeof n==`symbol`||typeof n==`boolean`)break;n=L(``+n),e.push(` `,t,`="`,F(n),`"`);break;case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`ref`:break;case`autoFocus`:case`multiple`:case`muted`:he(e,t.toLowerCase(),n);break;case`xlinkHref`:if(typeof n==`function`||typeof n==`symbol`||typeof n==`boolean`)break;n=L(``+n),e.push(` `,`xlink:href`,`="`,F(n),`"`);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:typeof n!=`function`&&typeof n!=`symbol`&&e.push(` `,t,`="`,F(n),`"`);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(` `,t,`=""`);break;case`capture`:case`download`:!0===n?e.push(` `,t,`=""`):!1!==n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(` `,t,`="`,F(n),`"`);break;case`cols`:case`rows`:case`size`:case`span`:typeof n!=`function`&&typeof n!=`symbol`&&!isNaN(n)&&1<=n&&e.push(` `,t,`="`,F(n),`"`);break;case`rowSpan`:case`start`:typeof n==`function`||typeof n==`symbol`||isNaN(n)||e.push(` `,t,`="`,F(n),`"`);break;case`xlinkActuate`:ge(e,`xlink:actuate`,n);break;case`xlinkArcrole`:ge(e,`xlink:arcrole`,n);break;case`xlinkRole`:ge(e,`xlink:role`,n);break;case`xlinkShow`:ge(e,`xlink:show`,n);break;case`xlinkTitle`:ge(e,`xlink:title`,n);break;case`xlinkType`:ge(e,`xlink:type`,n);break;case`xmlBase`:ge(e,`xml:base`,n);break;case`xmlLang`:ge(e,`xml:lang`,n);break;case`xmlSpace`:ge(e,`xml:space`,n);break;default:if((!(2<t.length)||t[0]!==`o`&&t[0]!==`O`||t[1]!==`n`&&t[1]!==`N`)&&(t=N.get(t)||t,j(t))){switch(typeof n){case`function`:case`symbol`:return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`)return}e.push(` `,t,`="`,F(n),`"`)}}}function Se(e,t,n){if(t!=null){if(n!=null)throw Error(a(60));if(typeof t!=`object`||!(`__html`in t))throw Error(a(61));t=t.__html,t!=null&&e.push(``+t)}}function Ce(e){var n=``;return t.Children.forEach(e,function(e){e!=null&&(n+=e)}),n}function we(e,t){if(!(e.instructions&16)){e.instructions|=16;var n=t.preamble,r=t.bootstrapChunks;(n.htmlChunks||n.headChunks)&&r.length===0?(r.push(t.startInlineScript),nt(r,e),r.push(`>`,`addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error('React form unexpectedly submitted.')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});`,`<\/script>`)):r.unshift(t.startInlineScript,`>`,`addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error('React form unexpectedly submitted.')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});`,`<\/script>`)}}function Te(e,t){for(var n in e.push(U(`link`)),t)if(D.call(t,n)){var r=t[n];if(r!=null)switch(n){case`children`:case`dangerouslySetInnerHTML`:throw Error(a(399,`link`));default:H(e,n,r)}}return e.push(`/>`),null}var Ee=/(<\/|<)(s)(tyle)/gi;function De(e,t,n,r){return``+t+(n===`s`?`\\73 `:`\\53 `)+r}function Oe(e,t,n){for(var r in e.push(U(n)),t)if(D.call(t,r)){var i=t[r];if(i!=null)switch(r){case`children`:case`dangerouslySetInnerHTML`:throw Error(a(399,n));default:H(e,r,i)}}return e.push(`/>`),null}function ke(e,t){e.push(U(`title`));var n=null,r=null,i;for(i in t)if(D.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:H(e,i,a)}}return e.push(`>`),t=Array.isArray(n)?2>n.length?n[0]:null:n,typeof t!=`function`&&typeof t!=`symbol`&&t!=null&&e.push(F(``+t)),Se(e,r,n),e.push(Le(`title`)),null}function Ae(e,t){e.push(U(`script`));var n=null,r=null,i;for(i in t)if(D.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:H(e,i,a)}}return e.push(`>`),Se(e,r,n),typeof n==`string`&&e.push((``+n).replace(se,ce)),e.push(Le(`script`)),null}function je(e,t,n){e.push(U(n));var r=n=null,i;for(i in t)if(D.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:H(e,i,a)}}return e.push(`>`),Se(e,r,n),n}function Me(e,t,n){e.push(U(n));var r=n=null,i;for(i in t)if(D.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:H(e,i,a)}}return e.push(`>`),Se(e,r,n),typeof n==`string`?(e.push(F(n)),null):n}var Ne=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Pe=new Map;function U(e){var t=Pe.get(e);if(t===void 0){if(!Ne.test(e))throw Error(a(65,e));t=`<`+e,Pe.set(e,t)}return t}function Fe(e,t,n,r,i,o,s,c,l){switch(t){case`div`:case`span`:case`svg`:case`path`:break;case`a`:e.push(U(`a`));var u=null,d=null,f;for(f in n)if(D.call(n,f)){var p=n[f];if(p!=null)switch(f){case`children`:u=p;break;case`dangerouslySetInnerHTML`:d=p;break;case`href`:p===``?ge(e,`href`,``):H(e,f,p);break;default:H(e,f,p)}}if(e.push(`>`),Se(e,d,u),typeof u==`string`){e.push(F(u));var m=null}else m=u;return m;case`g`:case`p`:case`li`:break;case`select`:e.push(U(`select`));var h=null,g=null,_;for(_ in n)if(D.call(n,_)){var v=n[_];if(v!=null)switch(_){case`children`:h=v;break;case`dangerouslySetInnerHTML`:g=v;break;case`defaultValue`:case`value`:break;default:H(e,_,v)}}return e.push(`>`),Se(e,g,h),h;case`option`:var y=c.selectedValue;e.push(U(`option`));var b=null,x=null,S=null,C=null,ee;for(ee in n)if(D.call(n,ee)){var T=n[ee];if(T!=null)switch(ee){case`children`:b=T;break;case`selected`:S=T;break;case`dangerouslySetInnerHTML`:C=T;break;case`value`:x=T;default:H(e,ee,T)}}if(y!=null){var O=x===null?Ce(b):``+x;if(w(y)){for(var k=0;k<y.length;k++)if(``+y[k]===O){e.push(` selected=""`);break}}else ``+y===O&&e.push(` selected=""`)}else S&&e.push(` selected=""`);return e.push(`>`),Se(e,C,b),b;case`textarea`:e.push(U(`textarea`));var A=null,M=null,N=null,P;for(P in n)if(D.call(n,P)){var te=n[P];if(te!=null)switch(P){case`children`:N=te;break;case`value`:A=te;break;case`defaultValue`:M=te;break;case`dangerouslySetInnerHTML`:throw Error(a(91));default:H(e,P,te)}}if(A===null&&M!==null&&(A=M),e.push(`>`),N!=null){if(A!=null)throw Error(a(92));if(w(N)){if(1<N.length)throw Error(a(93));A=``+N[0]}A=``+N}return typeof A==`string`&&A[0]===`
|
|
3
3
|
`&&e.push(`
|
|
4
4
|
`),A!==null&&e.push(F(``+A)),null;case`input`:e.push(U(`input`));var ne=null,I=null,re=null,ie=null,R=null,z=null,oe=null,se=null,ce=null,le;for(le in n)if(D.call(n,le)){var B=n[le];if(B!=null)switch(le){case`children`:case`dangerouslySetInnerHTML`:throw Error(a(399,`input`));case`name`:ne=B;break;case`formAction`:I=B;break;case`formEncType`:re=B;break;case`formMethod`:ie=B;break;case`formTarget`:R=B;break;case`defaultChecked`:ce=B;break;case`defaultValue`:oe=B;break;case`checked`:se=B;break;case`value`:z=B;break;default:H(e,le,B)}}var ue=xe(e,r,i,I,re,ie,R,ne);return se===null?ce!==null&&he(e,`checked`,ce):he(e,`checked`,se),z===null?oe!==null&&H(e,`value`,oe):H(e,`value`,z),e.push(`/>`),ue?.forEach(ve,e),null;case`button`:e.push(U(`button`));var V=null,de=null,fe=null,pe=null,ye=null,Ne=null,Pe=null,Fe;for(Fe in n)if(D.call(n,Fe)){var Ie=n[Fe];if(Ie!=null)switch(Fe){case`children`:V=Ie;break;case`dangerouslySetInnerHTML`:de=Ie;break;case`name`:fe=Ie;break;case`formAction`:pe=Ie;break;case`formEncType`:ye=Ie;break;case`formMethod`:Ne=Ie;break;case`formTarget`:Pe=Ie;break;default:H(e,Fe,Ie)}}var Re=xe(e,r,i,pe,ye,Ne,Pe,fe);if(e.push(`>`),Re?.forEach(ve,e),Se(e,de,V),typeof V==`string`){e.push(F(V));var ze=null}else ze=V;return ze;case`form`:e.push(U(`form`));var Be=null,Ve=null,He=null,Ue=null,We=null,Ge=null,Ke;for(Ke in n)if(D.call(n,Ke)){var qe=n[Ke];if(qe!=null)switch(Ke){case`children`:Be=qe;break;case`dangerouslySetInnerHTML`:Ve=qe;break;case`action`:He=qe;break;case`encType`:Ue=qe;break;case`method`:We=qe;break;case`target`:Ge=qe;break;default:H(e,Ke,qe)}}var Je=null,Ye=null;if(typeof He==`function`){var W=be(r,He);W===null?(e.push(` `,`action`,`="`,_e,`"`),Ge=We=Ue=He=null,we(r,i)):(He=W.action||``,Ue=W.encType,We=W.method,Ge=W.target,Je=W.data,Ye=W.name)}if(He!=null&&H(e,`action`,He),Ue!=null&&H(e,`encType`,Ue),We!=null&&H(e,`method`,We),Ge!=null&&H(e,`target`,Ge),e.push(`>`),Ye!==null&&(e.push(`<input type="hidden"`),ge(e,`name`,Ye),e.push(`/>`),Je?.forEach(ve,e)),Se(e,Ve,Be),typeof Be==`string`){e.push(F(Be));var Xe=null}else Xe=Be;return Xe;case`menuitem`:for(var Ze in e.push(U(`menuitem`)),n)if(D.call(n,Ze)){var G=n[Ze];if(G!=null)switch(Ze){case`children`:case`dangerouslySetInnerHTML`:throw Error(a(400));default:H(e,Ze,G)}}return e.push(`>`),null;case`object`:e.push(U(`object`));var Qe=null,$e=null,et;for(et in n)if(D.call(n,et)){var tt=n[et];if(tt!=null)switch(et){case`children`:Qe=tt;break;case`dangerouslySetInnerHTML`:$e=tt;break;case`data`:var nt=L(``+tt);if(nt===``)break;e.push(` `,`data`,`="`,F(nt),`"`);break;default:H(e,et,tt)}}if(e.push(`>`),Se(e,$e,Qe),typeof Qe==`string`){e.push(F(Qe));var rt=null}else rt=Qe;return rt;case`title`:var K=c.tagScope&1,q=c.tagScope&4;if(c.insertionMode===4||K||n.itemProp!=null)var it=ke(e,n);else q?it=null:(ke(i.hoistableChunks,n),it=void 0);return it;case`link`:var at=c.tagScope&1,ot=c.tagScope&4,st=n.rel,ct=n.href,lt=n.precedence;if(c.insertionMode===4||at||n.itemProp!=null||typeof st!=`string`||typeof ct!=`string`||ct===``){Te(e,n);var ut=null}else if(n.rel===`stylesheet`)if(typeof lt!=`string`||n.disabled!=null||n.onLoad||n.onError)ut=Te(e,n);else{var pt=i.styles.get(lt),mt=r.styleResources.hasOwnProperty(ct)?r.styleResources[ct]:void 0;if(mt!==null){r.styleResources[ct]=null,pt||(pt={precedence:F(lt),rules:[],hrefs:[],sheets:new Map},i.styles.set(lt,pt));var ht={state:0,props:E({},n,{"data-precedence":n.precedence,precedence:null})};if(mt){mt.length===2&&dt(ht.props,mt);var gt=i.preloads.stylesheets.get(ct);gt&&0<gt.length?gt.length=0:ht.state=1}pt.sheets.set(ct,ht),s&&s.stylesheets.add(ht)}else if(pt){var _t=pt.sheets.get(ct);_t&&s&&s.stylesheets.add(_t)}l&&e.push(`<!-- -->`),ut=null}else n.onLoad||n.onError?ut=Te(e,n):(l&&e.push(`<!-- -->`),ut=ot?null:Te(i.hoistableChunks,n));return ut;case`script`:var vt=c.tagScope&1,yt=n.async;if(typeof n.src!=`string`||!n.src||!yt||typeof yt==`function`||typeof yt==`symbol`||n.onLoad||n.onError||c.insertionMode===4||vt||n.itemProp!=null)var bt=Ae(e,n);else{var xt=n.src;if(n.type===`module`)var St=r.moduleScriptResources,Ct=i.preloads.moduleScripts;else St=r.scriptResources,Ct=i.preloads.scripts;var wt=St.hasOwnProperty(xt)?St[xt]:void 0;if(wt!==null){St[xt]=null;var Tt=n;if(wt){wt.length===2&&(Tt=E({},n),dt(Tt,wt));var Et=Ct.get(xt);Et&&(Et.length=0)}var Dt=[];i.scripts.add(Dt),Ae(Dt,Tt)}l&&e.push(`<!-- -->`),bt=null}return bt;case`style`:var Ot=c.tagScope&1,kt=n.precedence,At=n.href,jt=n.nonce;if(c.insertionMode===4||Ot||n.itemProp!=null||typeof kt!=`string`||typeof At!=`string`||At===``){e.push(U(`style`));var Mt=null,Nt=null,Pt;for(Pt in n)if(D.call(n,Pt)){var Ft=n[Pt];if(Ft!=null)switch(Pt){case`children`:Mt=Ft;break;case`dangerouslySetInnerHTML`:Nt=Ft;break;default:H(e,Pt,Ft)}}e.push(`>`);var It=Array.isArray(Mt)?2>Mt.length?Mt[0]:null:Mt;typeof It!=`function`&&typeof It!=`symbol`&&It!=null&&e.push((``+It).replace(Ee,De)),Se(e,Nt,Mt),e.push(Le(`style`));var Lt=null}else{var Rt=i.styles.get(kt);if((r.styleResources.hasOwnProperty(At)?r.styleResources[At]:void 0)!==null){r.styleResources[At]=null,Rt||(Rt={precedence:F(kt),rules:[],hrefs:[],sheets:new Map},i.styles.set(kt,Rt));var zt=i.nonce.style;if(!zt||zt===jt){Rt.hrefs.push(F(At));var Bt=Rt.rules,J=null,Vt=null,Ht;for(Ht in n)if(D.call(n,Ht)){var Ut=n[Ht];if(Ut!=null)switch(Ht){case`children`:J=Ut;break;case`dangerouslySetInnerHTML`:Vt=Ut}}var Wt=Array.isArray(J)?2>J.length?J[0]:null:J;typeof Wt!=`function`&&typeof Wt!=`symbol`&&Wt!=null&&Bt.push((``+Wt).replace(Ee,De)),Se(Bt,Vt,J)}}Rt&&s&&s.styles.add(Rt),l&&e.push(`<!-- -->`),Lt=void 0}return Lt;case`meta`:var Gt=c.tagScope&1,Kt=c.tagScope&4;if(c.insertionMode===4||Gt||n.itemProp!=null)var qt=Oe(e,n,`meta`);else l&&e.push(`<!-- -->`),qt=Kt?null:typeof n.charSet==`string`?Oe(i.charsetChunks,n,`meta`):n.name===`viewport`?Oe(i.viewportChunks,n,`meta`):Oe(i.hoistableChunks,n,`meta`);return qt;case`listing`:case`pre`:e.push(U(t));var Jt=null,Yt=null,Xt;for(Xt in n)if(D.call(n,Xt)){var Zt=n[Xt];if(Zt!=null)switch(Xt){case`children`:Jt=Zt;break;case`dangerouslySetInnerHTML`:Yt=Zt;break;default:H(e,Xt,Zt)}}if(e.push(`>`),Yt!=null){if(Jt!=null)throw Error(a(60));if(typeof Yt!=`object`||!(`__html`in Yt))throw Error(a(61));var Y=Yt.__html;Y!=null&&(typeof Y==`string`&&0<Y.length&&Y[0]===`
|
|
5
5
|
`?e.push(`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./index-
|
|
1
|
+
import{a as e}from"./index-BQIv1ffM.js";var t=e(`map-pin`,[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`,key:`1r0f0z`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}]]);export{t};
|