ghost 6.37.1 → 6.38.0
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/components/tryghost-i18n-0.0.0.tgz +0 -0
- package/core/boot.js +13 -9
- package/core/bridge.js +10 -6
- package/core/built/admin/assets/{PolarAngleAxis-Cavik65s.js → PolarAngleAxis-CB-FJBDa.js} +1 -1
- package/core/built/admin/assets/{_baseAssignValue-CnqN6ZMT.js → _baseAssignValue-BEAjPAfy.js} +1 -1
- package/core/built/admin/assets/{a-large-small-Wi4LtZX-.js → a-large-small-L1BJa6mG.js} +1 -1
- package/core/built/admin/assets/admin-x-settings/admin-x-settings.js +1 -1
- package/core/built/admin/assets/admin-x-settings/{code-editor-view-Cf8T5Jfd.mjs → code-editor-view-bOZzJ3a1.mjs} +2 -2
- package/core/built/admin/assets/admin-x-settings/{index-BMWEh-vR.mjs → index-BRuMxaCz.mjs} +2 -2
- package/core/built/admin/assets/admin-x-settings/{index-Aj-hFSnY.mjs → index-CTAQj489.mjs} +5 -5
- package/core/built/admin/assets/admin-x-settings/{index-DjBJrXYn.mjs → index-WoKKBOe4.mjs} +2 -2
- package/core/built/admin/assets/admin-x-settings/{modals-8WpWZZdI.mjs → modals-BQ5M-RTA.mjs} +3 -3
- package/core/built/admin/assets/{arrow-right-BiAOKOto.js → arrow-right-B2j-ecEK.js} +1 -1
- package/core/built/admin/assets/{at-sign-z5gBMxDW.js → at-sign-CtAw8_lw.js} +1 -1
- package/core/built/admin/assets/{audience-DxNilLIv.js → audience-CvSOqHuo.js} +1 -1
- package/core/built/admin/assets/automations-BVUNuVOh.js +1 -0
- package/core/built/admin/assets/automations-Bi9RJq5E.js +1 -0
- package/core/built/admin/assets/{avatar-flipboard-5OzseZFV.js → avatar-flipboard-DocLTXLh.js} +1 -1
- package/core/built/admin/assets/{bluesky-sharing-D9YcSpW8.js → bluesky-sharing-DafX2lE1.js} +1 -1
- package/core/built/admin/assets/chart-BRQeD9eh.js +67 -0
- package/core/built/admin/assets/{chevron-up-DVt6fhV3.js → chevron-up-v4_QwmnL.js} +1 -1
- package/core/built/admin/assets/{chunk.524.fcd26ef812d73e2b0620.js → chunk.524.c3d844070c24d7984fd7.js} +4 -4
- package/core/built/admin/assets/{chunk.582.b61ffaad1c2fa4aba820.js → chunk.582.0e0ede1eac12926acceb.js} +6 -6
- package/core/built/admin/assets/{chunk.383.adb5a3fe32b6b98c43ff.js → chunk.995.4b32363ab39da3e7f5d7.js} +3 -3
- package/core/built/admin/assets/circle-alert-Dbz54fYb.js +1 -0
- package/core/built/admin/assets/{code-editor-view-CbQIqTrK.js → code-editor-view-D-pYCcdu.js} +1 -1
- package/core/built/admin/assets/comments-DSv09jRn.js +1 -0
- package/core/built/admin/assets/{content-helpers-jANWGIfA.js → content-helpers-DQdPPDGb.js} +1 -1
- package/core/built/admin/assets/{copy-BBLeLEnG.js → copy-BULQsPZ4.js} +1 -1
- package/core/built/admin/assets/{data-list-BveeOSGI.js → data-list-WxXC0iKE.js} +1 -1
- package/core/built/admin/assets/{deleted-feed-item-DupAEk4P.js → deleted-feed-item-ZBLfgRkK.js} +1 -1
- package/core/built/admin/assets/{dropzone-D3PSdAHN.js → dropzone-B8mAoWrn.js} +1 -1
- package/core/built/admin/assets/{edit-profile-NrCR9_bi.js → edit-profile-Bj3th8H0.js} +1 -1
- package/core/built/admin/assets/editor-BZV40eAE.css +1 -0
- package/core/built/admin/assets/editor-u20VuPzn.js +7 -0
- package/core/built/admin/assets/{empty-indicator-Dhi_KeYX.js → empty-indicator-P3IsUguf.js} +1 -1
- package/core/built/admin/assets/{en-BontI3SP.js → en-C9bUnuy7.js} +1 -1
- package/core/built/admin/assets/{feed-B3Kfiz5R.js → feed-B94mO944.js} +1 -1
- package/core/built/admin/assets/{filter-query-core-Dwh4Qulu.js → filter-query-core-CM0KKIr2.js} +1 -1
- package/core/built/admin/assets/filters-D52FTE0z.js +1 -0
- package/core/built/admin/assets/gh-chart-Xa6Nvzwz.js +1 -0
- package/core/built/admin/assets/{ghost-c25434d5bbf5a5429883d4c3590f1946.js → ghost-82f1c4ffe0e1cd058ce4b66b5253b620.js} +159 -201
- package/core/built/admin/assets/{ghost-dark-52df27573e5f2a75e6cf4b1d06eea9e4.css → ghost-dark-9897cf5102772faedf566e5e54d4fbee.css} +1 -1
- package/core/built/admin/assets/{ghost-fcf460028e04192f392f16e173f2e3a8.css → ghost-e11f1814be0f38e98bb77b49eba11178.css} +1 -1
- package/core/built/admin/assets/{growth-DRH8zUIJ.js → growth-D3TW3JIB.js} +1 -1
- package/core/built/admin/assets/{hash-UvX5iOa9.js → hash-CstXS-iB.js} +1 -1
- package/core/built/admin/assets/{header-G1a38jnf.js → header-StkTITw-.js} +1 -1
- package/core/built/admin/assets/{inbox-By7HZskI.js → inbox-D1RM3kVF.js} +1 -1
- package/core/built/admin/assets/index-BEkJ9xtY.css +1 -0
- package/core/built/admin/assets/{index-CS_ZmI8F.js → index-BJx5Uas5.js} +1 -1
- package/core/built/admin/assets/index-BKzg6OE7.js +1 -0
- package/core/built/admin/assets/{index-D7JyKf1m.js → index-BM-MBdD0.js} +1 -1
- package/core/built/admin/assets/index-BRzvVuXt.js +2 -0
- package/core/built/admin/assets/index-B_3xqeM9.js +1 -0
- package/core/built/admin/assets/{index-ydyrczVl.js → index-C-OdR2wJ.js} +1 -1
- package/core/built/admin/assets/{index-X-MG1ikg.js → index-C59QlJqT.js} +1 -1
- package/core/built/admin/assets/{index-CJo0Qh4V.js → index-CCq_1tCo.js} +1 -1
- package/core/built/admin/assets/{index-qHUvPjQB.js → index-CYyEyBYw.js} +11 -11
- package/core/built/admin/assets/{index-CX4ztLSk.js → index-DHbiBjyq.js} +1 -1
- package/core/built/admin/assets/{index-BP6hBbPK.js → index-DTVgSMyL.js} +2 -2
- package/core/built/admin/assets/{index-vZMbI8e8.js → index-DiUjEgRw.js} +1 -1
- package/core/built/admin/assets/{index-YM4ZplGj.js → index-DugxKzA6.js} +1 -1
- package/core/built/admin/assets/{index-D8InZCr2.js → index-DzVHlhO1.js} +1 -1
- package/core/built/admin/assets/{index-D4b7U6K-.js → index-LsaD9Cq7.js} +1 -1
- package/core/built/admin/assets/{index-DRUPF8nN.js → index-x0hNfyqU.js} +1 -1
- package/core/built/admin/assets/{inline-Bc9zHR7e.js → inline-B4cWemrJ.js} +1 -1
- package/core/built/admin/assets/{koenig-lexical-B-ZnqRE1.js → koenig-lexical-BOdeH3QJ.js} +1 -1
- package/core/built/admin/assets/{kpi-card-zyi5Onb0.js → kpi-card-P7zSpcx0.js} +1 -1
- package/core/built/admin/assets/{kpi-card-CzlPIEPE.js → kpi-card-plhYOEtA.js} +1 -1
- package/core/built/admin/assets/{kpi-tabs-Dsa5ldXK.js → kpi-tabs-DZw2Qktb.js} +1 -1
- package/core/built/admin/assets/{kpis-Cw5ZRQhk.js → kpis-CDHM0xhW.js} +1 -1
- package/core/built/admin/assets/{label-BvxmsD1M.js → label-Ckacdx14.js} +1 -1
- package/core/built/admin/assets/{links-CiS5BPKS.js → links-BtXE5d0Y.js} +1 -1
- package/core/built/admin/assets/{list-filter-zmkB7rg4.js → list-filter-DLjjiktn.js} +1 -1
- package/core/built/admin/assets/{list-header-Cp779e3H.js → list-header-Cc7Ia3nr.js} +1 -1
- package/core/built/admin/assets/loader-circle-DLJd-dNm.js +1 -0
- package/core/built/admin/assets/{mail-i2qs8CIG.js → mail-B97w28e2.js} +1 -1
- package/core/built/admin/assets/{main-layout-KCvKOX8F.js → main-layout-bwWvzc9B.js} +1 -1
- package/core/built/admin/assets/{members-w601v5JJ.js → members-CokS8MI2.js} +5 -5
- package/core/built/admin/assets/{message-square-text-bG9IoWIt.js → message-square-text-D3rsjDFR.js} +1 -1
- package/core/built/admin/assets/minus-BzXQVmMw.js +1 -0
- package/core/built/admin/assets/{modals-lNzhiL0o.js → modals-D0lip-iy.js} +2 -2
- package/core/built/admin/assets/{moderation-CyfNRSWj.js → moderation-Dv7AadCV.js} +1 -1
- package/core/built/admin/assets/newsletter-BazC5rIj.js +1 -0
- package/core/built/admin/assets/{newsletters-B8xSXSr_.js → newsletters-m6HQgU5J.js} +1 -1
- package/core/built/admin/assets/{note-dNfKEpxw.js → note-CCGiEKz-.js} +1 -1
- package/core/built/admin/assets/{onboarding-route-Drbw0QtT.js → onboarding-route-Cbt7qWNE.js} +1 -1
- package/core/built/admin/assets/overview-TN50tzUh.js +1 -0
- package/core/built/admin/assets/{pagemenu-VJXMoMB4.js → pagemenu-BXrHWtsU.js} +1 -1
- package/core/built/admin/assets/{pencil-DHNmlLjO.js → pencil-BL1r8KVy.js} +1 -1
- package/core/built/admin/assets/{post-analytics-PsqLsS2e.js → post-analytics-BqEXi6Ps.js} +1 -1
- package/core/built/admin/assets/{post-analytics-context-QLZsZCFg.js → post-analytics-context-DekYNlb3.js} +1 -1
- package/core/built/admin/assets/{post-analytics-header-PecXsIT-.js → post-analytics-header-AkNbn6uc.js} +1 -1
- package/core/built/admin/assets/{post-share-modal-B4Rvo7W1.js → post-share-modal-CXDGVKoQ.js} +1 -1
- package/core/built/admin/assets/posts/{app-utils-DIc5TmxO.mjs → app-utils-DxA7edI_.mjs} +2 -2
- package/core/built/admin/assets/posts/{automations-BZpT35kJ.mjs → automations-Cwu_gHl4.mjs} +64 -67
- package/core/built/admin/assets/posts/automations-D81hV_2c.mjs +13 -0
- package/core/built/admin/assets/posts/{avatar-K63cvqSS.mjs → avatar-IkjEzEjI.mjs} +19 -19
- package/core/built/admin/assets/posts/{button-ufGBCcsV.mjs → button-KaJZKcou.mjs} +21 -21
- package/core/built/admin/assets/posts/{check-IcEnuTpD.mjs → check-Cf74RvZ1.mjs} +21 -21
- package/core/built/admin/assets/posts/{comments-CyJU9Ums.mjs → comments-pdKhYbYG.mjs} +54 -52
- package/core/built/admin/assets/posts/createLucideIcon-Cj7h3r9g.mjs +320 -0
- package/core/built/admin/assets/posts/{dialog-D6_lBvtT.mjs → dialog-Ci3W8fjx.mjs} +71 -76
- package/core/built/admin/assets/posts/{dropdown-menu-BSSmAory.mjs → dropdown-menu-DZ9XCHSw.mjs} +5 -5
- package/core/built/admin/assets/posts/editor-Bb-xle0o.mjs +6084 -0
- package/core/built/admin/assets/posts/ellipsis-ChhZo9aT.mjs +10 -0
- package/core/built/admin/assets/posts/{empty-indicator-DvGCvRAX.mjs → empty-indicator-DnFs7hDy.mjs} +2 -2
- package/core/built/admin/assets/posts/{filters-BLBaHhJz.mjs → filters-CO_FUPX-.mjs} +42 -40
- package/core/built/admin/assets/posts/get-site-timezone-C21yKZT_.mjs +87 -0
- package/core/built/admin/assets/posts/{growth-Bz1ChJNB.mjs → growth-CtX9Efm2.mjs} +12 -12
- package/core/built/admin/assets/posts/heading-DZ_KtDTL.mjs +138 -0
- package/core/built/admin/assets/posts/{hooks-BEngBys9.mjs → hooks-DVhBDVlA.mjs} +3 -2
- package/core/built/admin/assets/posts/{index-BAF0YXsp.mjs → index-B4db8w_H.mjs} +181 -172
- package/core/built/admin/assets/posts/{inline-C2YFQAdU.mjs → inline-BfB-SNk0.mjs} +2 -2
- package/core/built/admin/assets/posts/{input-surface-TqJlNSp_.mjs → input-surface-CNwZJloi.mjs} +2 -2
- package/core/built/admin/assets/posts/{kpis-DAX5_0-Q.mjs → kpis-BvY_5Y1u.mjs} +8792 -8803
- package/core/built/admin/assets/posts/{links-A1YTsBbF.mjs → links-Ck-h7SKg.mjs} +57 -57
- package/core/built/admin/assets/posts/{loading-indicator-BZsjmp8g.mjs → loading-indicator-B_rU9Lie.mjs} +3 -3
- package/core/built/admin/assets/posts/mail-DiZ3oKEW.mjs +9 -0
- package/core/built/admin/assets/posts/{main-layout-D_HHTP_n.mjs → main-layout-aYo6qOBZ.mjs} +2 -2
- package/core/built/admin/assets/posts/{newsletter-BRzgjOIa.mjs → newsletter-BQc53TF2.mjs} +31 -30
- package/core/built/admin/assets/posts/{overview-C41VFjn7.mjs → overview-blz9Ak9q.mjs} +42 -41
- package/core/built/admin/assets/posts/plus-YVjtYaK3.mjs +15 -0
- package/core/built/admin/assets/posts/{post-analytics-DGgMkFaf.mjs → post-analytics-BQbWGoeu.mjs} +6 -6
- package/core/built/admin/assets/posts/{post-analytics-context-B1r3HBrp.mjs → post-analytics-context-Be7THgnd.mjs} +7 -7
- package/core/built/admin/assets/posts/{post-analytics-header-DTWSO0Aq.mjs → post-analytics-header-iDFy7Bao.mjs} +2762 -2764
- package/core/built/admin/assets/posts/{post-share-modal-ohHwk0Yt.mjs → post-share-modal-akP16idN.mjs} +50 -48
- package/core/built/admin/assets/posts/posts.js +2 -1
- package/core/built/admin/assets/posts/{settings-CZYL6Jhr.mjs → settings-BdQhfHxY.mjs} +2 -2
- package/core/built/admin/assets/posts/{sheet-D7YesQJE.mjs → sheet-3dBlKeXf.mjs} +14 -13
- package/core/built/admin/assets/posts/{skeleton-S1k58YKa.mjs → skeleton-DMgSvYqr.mjs} +11 -11
- package/core/built/admin/assets/posts/{source-icon-DnpCy5N4.mjs → source-icon-Bp5Qxq1E.mjs} +4 -4
- package/core/built/admin/assets/posts/{stats-CbOpowXb.mjs → stats-DJx9qc_u.mjs} +4 -4
- package/core/built/admin/assets/posts/{table-Cw3Wxf1C.mjs → table-BpVwuzeH.mjs} +2 -2
- package/core/built/admin/assets/posts/{data-list-BnZARP88.mjs → tabs-CbZCpxfI.mjs} +4885 -5284
- package/core/built/admin/assets/posts/{tags-BoMt6Ce3.mjs → tags-CNtvDS6f.mjs} +33 -33
- package/core/built/admin/assets/posts/{tags-CNdsvTtZ.mjs → tags-DFOoFZ_3.mjs} +2 -2
- package/core/built/admin/assets/posts/{tooltip-CTcyINxz.mjs → tooltip-Cc_09RDU.mjs} +106 -117
- package/core/built/admin/assets/posts/value-CwGM7M-1.mjs +410 -0
- package/core/built/admin/assets/posts/{virtual-list-window-Bs88yrut.mjs → virtual-list-window-D6nRoL0y.mjs} +5 -5
- package/core/built/admin/assets/posts/{web-Bsd8eTP6.mjs → web-yfPssEt8.mjs} +1042 -1040
- package/core/built/admin/assets/posts/x-DrUGcpfp.mjs +9 -0
- package/core/built/admin/assets/posts/zap-DAN0ur-o.mjs +24 -0
- package/core/built/admin/assets/posts-D-jyPPE6.js +1 -0
- package/core/built/admin/assets/power-Cc5ncYVl.js +1 -0
- package/core/built/admin/assets/{referrers-kcBT5smx.js → referrers-qnXsKsuv.js} +1 -1
- package/core/built/admin/assets/{repeat-Cn2sKd-L.js → repeat-BGIBynZH.js} +1 -1
- package/core/built/admin/assets/{reply-D7E-ZMd5.js → reply-DOKdAsL_.js} +1 -1
- package/core/built/admin/assets/{rocket-DnH0XAGW.js → rocket-CAN2NB82.js} +1 -1
- package/core/built/admin/assets/{select-f0MMMQWu.js → select-8S9kYGSM.js} +1 -1
- package/core/built/admin/assets/{settings-BAQNP3gU.js → settings-DeD-bmZc.js} +4 -4
- package/core/built/admin/assets/{settings-ORttG1jT.js → settings-e4IB9sx6.js} +1 -1
- package/core/built/admin/assets/{share-modal-CXU4tGY8.js → share-modal-CBavk20I.js} +1 -1
- package/core/built/admin/assets/{sort-button-BXMrChFu.js → sort-button-DlSKBzUq.js} +1 -1
- package/core/built/admin/assets/{source-icon-cjy79jGT.js → source-icon-27VIJSXr.js} +1 -1
- package/core/built/admin/assets/{sprout-DZ4tZ78G.js → sprout-D66nqc79.js} +1 -1
- package/core/built/admin/assets/{square-vOzqJf7x.js → square-DccaXQWe.js} +1 -1
- package/core/built/admin/assets/stats/{audience-5NeJICtP.mjs → audience-B84ClTDM.mjs} +3 -3
- package/core/built/admin/assets/stats/{content-helpers-DFSTl3uB.mjs → content-helpers-CBAddUg7.mjs} +4 -4
- package/core/built/admin/assets/stats/{index-C4T7u699.mjs → index-Bz5oVpED.mjs} +5 -5
- package/core/built/admin/assets/stats/{index-B8bp6qe2.mjs → index-Cs8i1uR4.mjs} +74 -75
- package/core/built/admin/assets/stats/{index-wvi17m79.mjs → index-DEsP_Tbd.mjs} +8 -8
- package/core/built/admin/assets/stats/{index-CFfAYHdD.mjs → index-Ds-pM47x.mjs} +5 -5
- package/core/built/admin/assets/stats/{index-Chqk7VlR.mjs → index-Wzk1IcAz.mjs} +6 -6
- package/core/built/admin/assets/stats/{kpi-tabs-Df9yOI2P.mjs → kpi-tabs-Cs4l8B_M.mjs} +7 -7
- package/core/built/admin/assets/stats/{sort-button-Doi8OgMU.mjs → sort-button-rR-GA9Hu.mjs} +3 -3
- package/core/built/admin/assets/stats/{stats-FXeCefyd.mjs → stats-RFpEJpEq.mjs} +34 -34
- package/core/built/admin/assets/stats/stats.js +1 -1
- package/core/built/admin/assets/stats/{use-growth-stats-93C_3EZk.mjs → use-growth-stats-DwgFzbq9.mjs} +3 -3
- package/core/built/admin/assets/{stats-CIGz2Win.js → stats-B4OybenW.js} +1 -1
- package/core/built/admin/assets/{stats-view-BTKRxYTQ.js → stats-view-BuExwFXa.js} +1 -1
- package/core/built/admin/assets/{step-1-BSMHbT-q.js → step-1-D_5LOQrC.js} +1 -1
- package/core/built/admin/assets/{step-2-_YC0LCZv.js → step-2-BZLBj8cj.js} +1 -1
- package/core/built/admin/assets/{step-3-DWMqP2bO.js → step-3-s5uNbcOH.js} +1 -1
- package/core/built/admin/assets/{table-mHKjXQba.js → table-pGS7EeJe.js} +1 -1
- package/core/built/admin/assets/{tabs-B93IVRBz.js → tabs-CjdKssUe.js} +1 -1
- package/core/built/admin/assets/{tags-DCb-x2ZB.js → tags-B0vRk0A6.js} +1 -1
- package/core/built/admin/assets/{tags-kUHJ1MZo.js → tags-Dso4-FA_.js} +1 -1
- package/core/built/admin/assets/{textarea-DswCtM7_.js → textarea-DzFnun0_.js} +1 -1
- package/core/built/admin/assets/{tiers-DueraQKd.js → tiers-4Vkr_D-L.js} +1 -1
- package/core/built/admin/assets/{toggle-group-ChTo8MPD.js → toggle-group-hDsr47IB.js} +1 -1
- package/core/built/admin/assets/{topic-filter-DrW3fYWo.js → topic-filter-C7TpPe1G.js} +1 -1
- package/core/built/admin/assets/{trash-B2ESGftj.js → trash-DCVuk7ZX.js} +1 -1
- package/core/built/admin/assets/{underline-vo-bPRac.js → underline-CjK8la2G.js} +1 -1
- package/core/built/admin/assets/{upload-DXQRkBBq.js → upload-CPYhmtWZ.js} +1 -1
- package/core/built/admin/assets/{use-growth-stats-CoB8-lsd.js → use-growth-stats-CaFSgp_R.js} +1 -1
- package/core/built/admin/assets/{use-simple-pagination-Y_Wv2N6g.js → use-simple-pagination-D0vJBMvF.js} +1 -1
- package/core/built/admin/assets/{user-round-check-Dp9a2x-e.js → user-round-check-CzQQeFd8.js} +1 -1
- package/core/built/admin/assets/{user-round-x-DwCTGlxc.js → user-round-x-BDFm8yQj.js} +1 -1
- package/core/built/admin/assets/value-BGBiTkF3.js +1 -0
- package/core/built/admin/assets/{vendor-17f3b979ba6f3898d1a8c5249cc22ff1.js → vendor-ce3fc901ccbcf37f36eb791b4e454138.js} +29 -31
- package/core/built/admin/assets/{virtual-list-window-BF7IvGMC.js → virtual-list-window-EKtWZ5cP.js} +1 -1
- package/core/built/admin/assets/{wallet-cards-IEmcxJvG.js → wallet-cards-C1NOBbWE.js} +1 -1
- package/core/built/admin/assets/web-DCA7HR1S.js +1 -0
- package/core/built/admin/index.html +8 -8
- package/core/frontend/helpers/social_accounts.js +91 -0
- package/core/frontend/services/sitemap/handler.js +14 -2
- package/core/frontend/services/sitemap/site-map-manager.js +133 -9
- package/core/frontend/web/middleware/handle-image-sizes.js +4 -0
- package/core/server/api/endpoints/automations.js +38 -45
- package/core/server/models/member.js +30 -25
- package/core/server/services/automations/automations-api.js +58 -0
- package/core/server/services/automations/automations-api.ts +71 -0
- package/core/server/services/automations/automations-repository.js +2 -0
- package/core/server/services/automations/automations-repository.ts +63 -0
- package/core/server/services/automations/fake-database-automations-repository.js +210 -0
- package/core/server/services/automations/fake-database-automations-repository.ts +273 -0
- package/core/server/services/automations/temporary-fake-database.js +5 -4
- package/core/server/services/gifts/email-templates/gift-purchase-confirmation.hbs +10 -32
- package/core/server/services/gifts/email-templates/gift-purchase-confirmation.js +6 -8
- package/core/server/services/gifts/email-templates/gift-purchase-confirmation.ts +6 -8
- package/core/server/services/gifts/email-templates/gift-reminder.hbs +12 -37
- package/core/server/services/gifts/email-templates/gift-reminder.js +5 -9
- package/core/server/services/gifts/email-templates/gift-reminder.ts +5 -9
- package/core/server/services/gifts/gift-service.js +1 -1
- package/core/server/services/gifts/gift-service.ts +2 -2
- package/core/server/services/member-welcome-emails/service.js +0 -1
- package/core/server/services/members/members-api/controllers/router-controller.js +52 -7
- package/core/server/services/members/members-api/services/member-bread-service.js +0 -8
- package/core/server/services/route-settings/route-settings.js +18 -2
- package/core/server/services/staff/email-templates/gift.hbs +1 -1
- package/core/server/services/staff/email-templates/gift.txt.js +1 -1
- package/core/server/services/staff/email-templates/new-gift-subscription.hbs +1 -1
- package/core/server/services/staff/email-templates/new-gift-subscription.txt.js +1 -1
- package/core/server/services/staff/staff-service-emails.js +1 -1
- package/core/server/services/url/index.js +16 -1
- package/core/server/services/url/lazy-find-resource.js +49 -0
- package/core/server/services/url/lazy-find-resource.ts +62 -0
- package/core/server/services/url/lazy-url-service.js +220 -0
- package/core/server/services/url/lazy-url-service.ts +265 -0
- package/core/server/web/api/endpoints/admin/routes.js +1 -0
- package/core/server/web/gift-preview/Inter.ttf +0 -0
- package/core/server/web/gift-preview/controller.js +56 -6
- package/core/server/web/gift-preview/gift-card-noise.png +0 -0
- package/core/server/web/gift-preview/gift-card-orb.png +0 -0
- package/core/server/web/gift-preview/image.js +170 -43
- package/core/shared/config/defaults.json +1 -0
- package/core/shared/one-at-a-time.js +28 -33
- package/core/shared/one-at-a-time.ts +58 -0
- package/package.json +18 -16
- package/pnpm-lock.yaml +989 -356
- package/core/built/admin/assets/automations-D1uMjd06.js +0 -1
- package/core/built/admin/assets/chart-_EXssQtm.js +0 -67
- package/core/built/admin/assets/comments-E00h1SbR.js +0 -1
- package/core/built/admin/assets/filters-CC7XfjOS.js +0 -1
- package/core/built/admin/assets/gh-chart-B9_ywrJJ.js +0 -1
- package/core/built/admin/assets/index-AsV-aY0z.css +0 -1
- package/core/built/admin/assets/index-B0y_ynZw.js +0 -1
- package/core/built/admin/assets/index-Bs6wWbLA.js +0 -2
- package/core/built/admin/assets/index-Cb4641XW.js +0 -1
- package/core/built/admin/assets/loader-circle-B5UPqSok.js +0 -1
- package/core/built/admin/assets/minus-DWx9VUtr.js +0 -1
- package/core/built/admin/assets/newsletter-fkQye9OK.js +0 -1
- package/core/built/admin/assets/overview-CZ-VrnXy.js +0 -1
- package/core/built/admin/assets/posts/createLucideIcon-DcUfTBt_.mjs +0 -454
- package/core/built/admin/assets/posts/get-site-timezone-DlXmHA3y.mjs +0 -93
- package/core/built/admin/assets/posts-Bx1RWrub.js +0 -1
- package/core/built/admin/assets/web-DSME3e8c.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as v,t as G,r as Se,aA as _U,aB as TC,aC as SU,aD as CU,aE as EU}from"./index-qHUvPjQB.js";var lc={};(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5d2a6041-ce8f-4058-acca-1c0b932a7422",e._sentryDebugIdIdentifier="sentry-dbid-5d2a6041-ce8f-4058-acca-1c0b932a7422")}catch{}})();var TU=Object.create,Sg=Object.defineProperty,MU=Object.getOwnPropertyDescriptor,NU=Object.getOwnPropertyNames,$U=Object.getPrototypeOf,DD=Object.prototype.hasOwnProperty,ft=(e,t)=>()=>(e&&(t=e(e=0)),t),fe=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),uv=(e,t)=>{let n={};for(var i in e)Sg(n,i,{get:e[i],enumerable:!0});return Sg(n,Symbol.toStringTag,{value:"Module"}),n},AD=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(var r=NU(t),a=0,s=r.length,o;a<s;a++)o=r[a],!DD.call(e,o)&&o!==n&&Sg(e,o,{get:(l=>t[l]).bind(null,o),enumerable:!(i=MU(t,o))||i.enumerable});return e},Ma=(e,t,n)=>(n=e==null?{}:TU($U(e)),AD(Sg(n,"default",{value:e,enumerable:!0}),e)),PD=e=>DD.call(e,"module.exports")?e["module.exports"]:AD(Sg({},"__esModule",{value:!0}),e),jD=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")}),ID=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M12 2v20m10-10H2"})}),ZO=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:v.jsxs("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,children:[v.jsx("path",{d:"M8 7h15"}),v.jsx("path",{d:"M23 17.5V1H8v18.5","data-cap":"butt"}),v.jsx("circle",{cx:4.5,cy:19.5,r:3.5}),v.jsx("circle",{cx:19.5,cy:17.5,r:3.5})]})}),LD=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M5 2v10h8a5 5 0 0 0 0-10H3m2 20V12h9c3.314 0 6 2.238 6 5s-2.686 5-6 5H3"})}),XO=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m21 22-9-5-9 5V3a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v19Z"})}),VO=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M22 6H2a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h20a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1ZM7 12h10"})}),YO=e=>v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20.8 2H3.2C1.985 2 1 2.895 1 4v16c0 1.105.985 2 2.2 2h17.6c1.215 0 2.2-.895 2.2-2V4c0-1.105-.985-2-2.2-2Z"}),v.jsx("path",{fill:"currentColor",d:"M12 18a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"}),v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 6.5v6"})]}),RD=e=>v.jsx("svg",{width:32,height:32,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",...e,children:v.jsx("path",{d:"M31.976 10.886c-.007-.039-.014-.078-.024-.116l-.022-.066c-.01-.034-.022-.068-.035-.1l-.03-.067c-.015-.031-.03-.062-.048-.092-.012-.022-.026-.042-.039-.063-.018-.029-.037-.057-.058-.084-.015-.02-.03-.04-.047-.059-.022-.026-.045-.05-.068-.075l-.055-.053c-.025-.023-.051-.045-.078-.065-.021-.016-.041-.033-.063-.047-.008-.006-.014-.013-.023-.018L16.762.231c-.461-.308-1.063-.308-1.525 0L.612 9.981l-.022.017c-.022.015-.042.031-.063.047-.027.021-.053.043-.078.065-.019.017-.037.035-.055.054-.024.024-.046.048-.068.074-.017.02-.032.039-.047.06-.02.028-.04.055-.058.084l-.04.064c-.017.03-.032.06-.046.09-.01.022-.022.045-.03.067-.014.033-.026.067-.036.1l-.022.065c-.01.038-.017.076-.024.115-.004.02-.008.04-.01.06-.009.06-.013.119-.013.18v9.751c0 .06.004.121.013.18.003.022.009.039.013.06.007.038.013.077.026.116l.021.067c.011.034.022.069.035.1.009.022.021.043.03.065.014.03.03.06.047.092.012.021.026.043.04.062.018.03.038.056.06.082.014.022.03.04.047.06.022.026.043.051.069.074.017.018.034.04.056.052l.077.066c.021.017.043.03.06.046.009.005.014.013.022.017l14.621 9.755c.231.155.496.233.763.232.267-.002.532-.078.763-.232l14.625-9.75.022-.016c.022-.015.042-.031.063-.047.027-.021.053-.043.078-.066l.055-.053c.024-.024.047-.049.068-.075.017-.02.032-.039.047-.06.02-.026.04-.054.058-.083.014-.02.027-.042.04-.063.017-.03.032-.06.047-.092l.03-.066c.014-.033.025-.067.035-.1.008-.023.016-.045.022-.067.01-.038.017-.077.024-.116.004-.02.009-.039.01-.06.009-.059.013-.118.013-.179v-9.75c0-.06-.005-.12-.012-.18-.004-.02-.01-.038-.014-.06h.002zM16 19.253L11.137 16 16 12.747 20.863 16 16 19.253zm-1.375-8.895l-5.962 3.988-4.812-3.22 10.774-7.182v6.414zM6.19 16l-3.44 2.3V13.7l3.44 2.3zm2.473 1.655l5.962 3.987v6.414L3.85 20.873l4.812-3.219v.001zm8.712 3.986l5.961-3.987 4.813 3.22-10.774 7.181v-6.414zm8.434-5.64l3.44-2.302v4.602L25.81 16zm-2.473-1.655l-5.961-3.987V3.944l10.774 7.183-4.813 3.219z",fill:"#000",fillRule:"nonzero"})}),GO=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M2 12h20"})}),KO=e=>v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m2 5 10 8 10-8"}),v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 4H3c-.53 0-1.04.199-1.414.553A1.837 1.837 0 0 0 1 5.89v13.22c0 .501.21.982.586 1.336C1.96 20.8 2.47 21 3 21h18c.53 0 1.04-.199 1.414-.553.375-.354.586-.835.586-1.336V5.89c0-.501-.21-.982-.586-1.336A2.061 2.061 0 0 0 21 4Z"})]}),Cg=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:v.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20 7 2 2l5 18 3-7 8 8 3-3-8-8z"})}),JO=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:v.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m22 11.4-8.8 8.8c-2.5 2.5-6.7 2.5-9.2 0h0c-2.5-2.5-2.5-6.7 0-9.2l7.8-7.8c1.8-1.8 4.6-1.8 6.4 0h0C20 5 20 7.8 18.2 9.6L11 16.7c-1 1-2.6 1-3.5 0h0c-1-1-1-2.6 0-3.5l6-6"})}),e_=e=>v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[v.jsxs("g",{clipPath:"url(#a)",children:[v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20.8 5H3.2C1.985 5 1 5.806 1 6.8v14.4c0 .994.985 1.8 2.2 1.8h17.6c1.215 0 2.2-.806 2.2-1.8V6.8c0-.994-.985-1.8-2.2-1.8ZM6 1h12"}),v.jsx("path",{fill:"currentColor",d:"M15.142 10.264a.75.75 0 0 1 .529.4l4 8A.75.75 0 0 1 19 19.75H6a.75.75 0 0 1-.498-1.31l9-8a.75.75 0 0 1 .64-.176ZM7 12a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"})]}),v.jsx("defs",{children:v.jsx("clipPath",{id:"a",children:v.jsx("path",{fill:"#fff",d:"M0 0h24v24H0z"})})})]}),FD=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",...e,children:v.jsxs("g",{strokeLinecap:"round",strokeWidth:2,fill:"none",stroke:"currentColor",strokeLinejoin:"round",className:"nc-icon-wrapper",children:[v.jsx("path",{d:"M3 9h42v36H3zm7-6h28"}),v.jsx("path",{d:"m10 38 7-10 5 4 8-11 9 17H10z"}),v.jsx("circle",{cx:17,cy:19,r:3})]})}),zD=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M1.5 2.75h21m-21 18.5h21M16 17V9a2 2 0 0 1 2-2h2m-4 6h3m-7 4V7m-5 6h1v2a2 2 0 0 1-4 0V9a2 2 0 0 1 2-2h2"})}),_b=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M22 7H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h20a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1ZM1 21h22M1 3h22"})}),QD=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M7 19.5v-6.25M7 7v6.25m0 0h10M17 7v12.5"})}),BD=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M4 22V12M4 2v10m0 0h16m0-10v20"})}),t_=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m8 6-6 6 6 6m8-12 6 6-6 6"})}),n_=e=>v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20.8 2H3.2C1.985 2 1 2.895 1 4v16c0 1.105.985 2 2.2 2h17.6c1.215 0 2.2-.895 2.2-2V4c0-1.105-.985-2-2.2-2Z"}),v.jsx("path",{fill:"currentColor",d:"m19.642 16.276-3.85-7a.517.517 0 0 0-.181-.189.585.585 0 0 0-.749.115l-4.533 5.494-2.307-2.516a.548.548 0 0 0-.206-.14.598.598 0 0 0-.499.031.529.529 0 0 0-.183.164l-2.75 4a.468.468 0 0 0-.015.507.526.526 0 0 0 .202.189c.084.045.18.069.28.069H19.15a.594.594 0 0 0 .268-.063.532.532 0 0 0 .2-.174.462.462 0 0 0 .024-.487ZM9.25 9c.911 0 1.65-.672 1.65-1.5S10.161 6 9.25 6c-.91 0-1.65.672-1.65 1.5S8.34 9 9.25 9Z"})]}),cv=e=>v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M4 12h16m-4-4 4 4-4 4m-8 0-4-4 4-4"}),v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeOpacity:.5,d:"M1 3v18M23 3v18"})]}),i_=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",...e,children:v.jsxs("g",{strokeLinecap:"round",strokeWidth:2,fill:"none",stroke:"currentColor",strokeLinejoin:"round",className:"nc-icon-wrapper",children:[v.jsx("circle",{cx:18,cy:16,r:4}),v.jsx("path",{"data-cap":"butt",d:"M20.849 33.164 33 20l13 13M2 38l12-11 10 9"}),v.jsx("path",{d:"M2 6h44v36H2z"})]})}),fv=e=>v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M23 8H1v8h22V8Z"}),v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeOpacity:.5,d:"M1 21h22M1 3h22"})]}),hv=e=>v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M23 8H1v8h22V8Z"}),v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeOpacity:.5,d:"M8 21h8M8 3h8"})]}),WD=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M22 2h-9.333m-1.334 20H2m4.667 0L17.333 2"})}),r_=e=>v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M13.54 10.46c2.2 2.2 2.2 5.61 0 7.81l-3.08 3.08c-2.2 2.2-5.61 2.2-7.81 0-2.2-2.2-2.2-5.61 0-7.81L5.4 10.9"}),v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M10.46 13.54c-2.2-2.2-2.2-5.61 0-7.81l3.08-3.08c2.2-2.2 5.61-2.2 7.81 0 2.2 2.2 2.2 5.61 0 7.81L18.6 13.1"})]}),a_=e=>v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 25 24",...e,children:[v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 6v12m-3-2 2.813 2.813L23.625 16"}),v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M14 19V6h-1L8 18.071H7L2 6H1v13"})]}),DU=e=>v.jsxs("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[v.jsx("path",{d:"M32 16C32 24.8361 24.8361 32 16 32C7.16394 32 0 24.8361 0 16C0 7.16394 7.16394 0 16 0C24.8379 0 32 7.16394 32 16Z",fill:"#2081E2"}),v.jsx("path",{d:"M7.89371 16.5376L7.96274 16.4291L12.125 9.91784C12.1858 9.82251 12.3288 9.83236 12.3748 9.93592C13.0702 11.4943 13.6702 13.4324 13.3891 14.639C13.2691 15.1354 12.9403 15.8078 12.5704 16.4291C12.5228 16.5196 12.4702 16.6083 12.4143 16.6938C12.388 16.7333 12.3436 16.7563 12.2959 16.7563H8.01534C7.90027 16.7563 7.83288 16.6313 7.89371 16.5376Z",fill:"white"}),v.jsx("path",{d:"M26.4461 17.7475V18.7782C26.4461 18.8374 26.4099 18.89 26.3573 18.913C26.0351 19.0511 24.9321 19.5574 24.4734 20.1952C23.303 21.8242 22.4088 24.1536 20.4098 24.1536H12.0706C9.11495 24.1536 6.71985 21.7503 6.71985 18.7848V18.6894C6.71985 18.6105 6.78394 18.5464 6.86286 18.5464H11.5117C11.6037 18.5464 11.6711 18.6319 11.6629 18.7223C11.63 19.0248 11.6859 19.3338 11.8289 19.6149C12.1051 20.1755 12.6772 20.5256 13.2952 20.5256H15.5966V18.7289H13.3215C13.2048 18.7289 13.1358 18.5941 13.2032 18.4987C13.2278 18.4609 13.2558 18.4215 13.2854 18.3771C13.5007 18.0714 13.8081 17.5963 14.1139 17.0555C14.3227 16.6905 14.5248 16.3009 14.6876 15.9097C14.7205 15.839 14.7468 15.7666 14.7731 15.696C14.8174 15.571 14.8635 15.4543 14.8964 15.3376C14.9293 15.239 14.9555 15.1354 14.9818 15.0384C15.0591 14.7064 15.092 14.3546 15.092 13.9897C15.092 13.8467 15.0854 13.697 15.0723 13.554C15.0657 13.3979 15.046 13.2417 15.0262 13.0855C15.0131 12.9474 14.9884 12.811 14.9621 12.668C14.9293 12.4592 14.8832 12.2521 14.8306 12.0433L14.8125 11.9644C14.7731 11.8214 14.7402 11.685 14.6942 11.542C14.5643 11.0932 14.4147 10.6559 14.2569 10.2466C14.1994 10.0839 14.1336 9.92771 14.0678 9.77155C13.9709 9.53647 13.8722 9.32278 13.7818 9.12057C13.7358 9.02851 13.6964 8.94467 13.6569 8.85919C13.6125 8.7622 13.5665 8.66521 13.5205 8.57318C13.4876 8.50249 13.4498 8.43673 13.4235 8.37097L13.1424 7.85151C13.1029 7.78083 13.1687 7.69699 13.2459 7.71836L15.0049 8.19507H15.0098C15.0131 8.19507 15.0147 8.19673 15.0164 8.19673L15.2481 8.26083L15.503 8.33318L15.5966 8.35945V7.31398C15.5966 6.80931 16.001 6.39999 16.5008 6.39999C16.7506 6.39999 16.9775 6.50191 17.1402 6.66793C17.303 6.83398 17.4049 7.06083 17.4049 7.31398V8.86579L17.5923 8.91836C17.6071 8.92332 17.6219 8.92988 17.635 8.93974C17.6811 8.97427 17.7468 9.02521 17.8306 9.08771C17.8964 9.14028 17.9671 9.20441 18.0526 9.27017C18.2219 9.40659 18.4241 9.58249 18.646 9.7847C18.7052 9.83564 18.7627 9.88825 18.8153 9.94086C19.1014 10.2072 19.4219 10.5195 19.7277 10.8647C19.8131 10.9617 19.897 11.0603 19.9824 11.1639C20.0679 11.2691 20.1583 11.3726 20.2372 11.4762C20.3408 11.6143 20.4526 11.7573 20.5496 11.9069C20.5956 11.9776 20.6482 12.0499 20.6926 12.1206C20.8175 12.3096 20.9277 12.5053 21.0329 12.7009C21.0773 12.7913 21.1233 12.8899 21.1627 12.9869C21.2794 13.2483 21.3715 13.5146 21.4307 13.7809C21.4487 13.8384 21.4619 13.9009 21.4685 13.9568V13.9699C21.4882 14.0488 21.4948 14.1327 21.5014 14.2181C21.5277 14.491 21.5145 14.7639 21.4553 15.0384C21.4307 15.1552 21.3978 15.2653 21.3583 15.382C21.3189 15.4938 21.2794 15.6105 21.2285 15.7206C21.1299 15.9491 21.0131 16.1776 20.875 16.3913C20.8307 16.4702 20.7781 16.5541 20.7254 16.633C20.6679 16.7168 20.6087 16.7957 20.5561 16.873C20.4838 16.9716 20.4066 17.0752 20.3277 17.1672C20.257 17.2642 20.1846 17.3612 20.1057 17.4467C19.9956 17.5765 19.8904 17.6998 19.7802 17.8182C19.7145 17.8954 19.6438 17.9744 19.5715 18.045C19.5008 18.1239 19.4285 18.1946 19.3627 18.2604C19.2526 18.3705 19.1605 18.456 19.0832 18.5267L18.9024 18.6927C18.8761 18.7157 18.8416 18.7289 18.8054 18.7289H17.4049V20.5256H19.1671C19.5616 20.5256 19.9364 20.3859 20.2389 20.1294C20.3424 20.039 20.7945 19.6478 21.3287 19.0577C21.3468 19.0379 21.3699 19.0231 21.3962 19.0166L26.2636 17.6094C26.354 17.5831 26.4461 17.6522 26.4461 17.7475Z",fill:"white"})]}),s_=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:v.jsxs("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,children:[v.jsx("circle",{cx:12,cy:13,r:2}),v.jsx("circle",{cx:3,cy:13,r:2}),v.jsx("circle",{cx:21,cy:13,r:2})]})}),_w=e=>v.jsx("svg",{width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:v.jsx("g",{fill:"none",fillRule:"evenodd",children:v.jsx("path",{d:"M12 1.5v21M1.5 12h21",strokeLinecap:"round",strokeLinejoin:"round"})})}),o_=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:v.jsxs("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,children:[v.jsx("path",{d:"M1.373 13.183a2.064 2.064 0 0 1 0-2.366C2.946 8.59 6.819 4 12 4s9.054 4.59 10.627 6.817a2.064 2.064 0 0 1 0 2.366C21.054 15.41 17.181 20 12 20s-9.054-4.59-10.627-6.817Z"}),v.jsx("circle",{cx:12,cy:12,r:4})]})}),l_=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:v.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m12 2.489 3.09 6.262L22 9.755l-5 4.874 1.18 6.882-6.18-3.25-6.18 3.25L7 14.629 2 9.755l6.91-1.004L12 2.489z"})}),HD=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M1 12h8v10H1V12Zm0 0C1 5 2.75 3.344 6 2m8 10h8v10h-8V12Zm0 0c0-7 1.75-8.656 5-10"})}),UD=e=>v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 22H10a5 5 0 0 1-5-5v-7"}),v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"m1 14 4-4 4 4m1.5-12H14a5 5 0 0 1 5 5v7"}),v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"m23 10-4 4-4-4"})]}),qD=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M22 13.667V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h9.667M22 13.667 13.667 22M22 13.667h-6.333a2 2 0 0 0-2 2V22"})}),Sb=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M22 13.667V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h9.667M22 13.667 13.667 22M22 13.667h-6.333a2 2 0 0 0-2 2V22"})}),ZD=e=>v.jsx("svg",{width:32,height:32,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",...e,children:v.jsx("path",{d:"M15.924 9.922c-.236 0-.43.194-.434.433l-.177 8.866.178 3.218c.003.235.197.43.433.43s.43-.195.433-.433v.004l.193-3.219-.193-8.867c-.003-.238-.197-.432-.433-.432zm12.14 5.102c-.54 0-1.054.11-1.522.306C26.228 11.783 23.254 9 19.625 9c-.887 0-1.753.175-2.517.47-.298.115-.377.234-.38.463v12.492c.004.242.19.442.426.466l10.91.006c2.174 0 3.936-1.762 3.936-3.936s-1.762-3.937-3.936-3.937zM10.886 22.56v-.002l.226-3.338-.226-7.276c-.006-.181-.148-.323-.325-.323-.176 0-.319.142-.324.323l-.202 7.276.202 3.34c.005.178.148.32.324.32.177 0 .318-.142.325-.321v.001zm-2.952.32c.144 0 .262-.117.27-.267l.264-3.394-.265-6.497c-.007-.15-.125-.267-.27-.267-.144 0-.263.117-.269.267l-.234 6.497.234 3.395c.006.149.125.266.27.266zm5.297-10.868c-.209 0-.375.166-.38.377l-.169 6.832.17 3.287c.004.21.17.375.379.375.207 0 .373-.166.378-.377v.002l.19-3.287-.19-6.832c-.005-.211-.17-.377-.378-.377zM2.802 22.657c.083 0 .15-.066.16-.156l.34-3.286-.34-3.41c-.01-.091-.077-.157-.16-.157-.084 0-.152.066-.16.157l-.299 3.41.299 3.285c.008.091.076.157.16.157zm2.546.188c.113 0 .206-.092.214-.212l.302-3.418-.302-3.25c-.008-.12-.1-.211-.214-.211-.116 0-.208.09-.216.212l-.266 3.25.266 3.417c.008.12.1.212.216.212zm6.543.03c.191 0 .346-.154.351-.35v.003l.209-3.309-.209-7.09c-.005-.196-.16-.35-.351-.35-.193 0-.348.154-.352.35l-.185 7.09.185 3.308c.004.194.159.348.352.348zm2.69.013c.22 0 .401-.181.405-.404v.002-.002l.172-3.263-.172-8.13c-.004-.223-.186-.405-.406-.405-.22 0-.403.182-.406.405l-.153 8.127.153 3.268c.003.22.186.402.406.402zm-5.338-.016c.16 0 .29-.129.296-.294l.246-3.36-.246-7.039c-.006-.165-.137-.294-.296-.294-.162 0-.292.13-.297.295l-.218 7.038.218 3.361c.005.164.135.293.297.293zM4.07 15.527c-.1 0-.18.08-.188.185L3.6 19.215l.282 3.39c.008.104.089.184.188.184.098 0 .178-.08.187-.184l.32-3.39-.32-3.504c-.009-.104-.09-.184-.187-.184zm2.565-1.837c-.129 0-.235.105-.242.24l-.25 5.287.25 3.417c.007.133.113.239.242.239s.235-.106.243-.24v.001l.283-3.417-.283-5.288c-.008-.134-.114-.24-.243-.24zm-4.957 2.65c-.01-.076-.066-.129-.133-.129-.068 0-.124.055-.133.13l-.315 2.873.315 2.81c.01.076.065.13.133.13.067 0 .122-.053.133-.129l.358-2.81-.358-2.874zm-1.316.972c-.067 0-.12.052-.128.125L0 19.214l.234 1.747c.009.074.061.125.128.125.065 0 .117-.05.128-.124l.277-1.748-.277-1.778c-.01-.073-.063-.124-.128-.124z",fill:"#EE7C25",fillRule:"evenodd"})}),XD=e=>v.jsx("svg",{width:32,height:32,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",...e,children:v.jsx("path",{d:"M16 .053C7.19.053.047 7.194.047 16.003c0 8.81 7.142 15.951 15.951 15.951 8.81 0 15.951-7.14 15.951-15.95C31.95 7.194 24.81.054 16 .054V.053zm7.314 23.005c-.285.469-.899.618-1.367.33-3.745-2.288-8.46-2.806-14.013-1.537-.535.122-1.068-.213-1.19-.749-.122-.535.212-1.068.748-1.19 6.076-1.389 11.288-.79 15.493 1.779.468.287.617.899.33 1.367zm1.953-4.343c-.36.585-1.126.77-1.71.41-4.288-2.636-10.824-3.4-15.896-1.86-.657.199-1.352-.172-1.552-.828-.198-.658.173-1.351.83-1.551 5.793-1.758 12.994-.907 17.918 2.12.585.36.77 1.125.41 1.709zm.167-4.523c-5.14-3.054-13.623-3.334-18.531-1.845-.788.24-1.622-.205-1.86-.994-.24-.788.205-1.621.994-1.86 5.634-1.711 15.001-1.38 20.92 2.133.71.42.943 1.336.522 2.044-.42.71-1.337.943-2.044.522z",fill:"#1ED760",fillRule:"nonzero"})}),d_=e=>v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20.8 2H3.2C1.985 2 1 2.895 1 4v16c0 1.105.985 2 2.2 2h17.6c1.215 0 2.2-.895 2.2-2V4c0-1.105-.985-2-2.2-2Z"}),v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M16.5 11 12 15l-4.5-4"})]}),AU=e=>v.jsx("svg",{width:32,height:32,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",...e,children:v.jsx("path",{d:"M10.063 29.002c12.076 0 18.68-10.005 18.68-18.68 0-.285 0-.567-.019-.85C30.01 8.545 31.12 7.393 32 6.076c-1.198.53-2.47.879-3.77 1.032 1.37-.82 2.395-2.11 2.886-3.63-1.29.764-2.7 1.303-4.17 1.593-2.035-2.164-5.268-2.694-7.887-1.292-2.62 1.401-3.973 4.386-3.3 7.28-5.28-.265-10.198-2.758-13.532-6.86-1.742 3-.852 6.838 2.033 8.764-1.045-.03-2.067-.313-2.98-.822v.084c0 3.125 2.204 5.817 5.267 6.435-.966.264-1.98.303-2.964.113.86 2.675 3.325 4.507 6.133 4.56-2.324 1.827-5.196 2.818-8.153 2.815-.522 0-1.044-.032-1.563-.094 3.002 1.927 6.496 2.949 10.063 2.944",fill:"#1DA1F2",fillRule:"nonzero"})}),VD=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 122.43 122.41",...e,children:v.jsx("path",{d:"M83.86 54.15v34.13H38.57V54.15H0v68.26h122.43V54.15H83.86zM38.57 0h45.3v34.13h-45.3z"})}),u_=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6.555 20.963A1 1 0 0 1 5 20.131V3.87a1 1 0 0 1 1.555-.833l12.197 8.132a1 1 0 0 1 0 1.664l-12.197 8.13Z"})}),YD=e=>v.jsx("svg",{width:32,height:32,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",...e,children:v.jsxs("g",{fill:"none",fillRule:"evenodd",children:[v.jsx("path",{d:"M31.886 25.508c0 3.522-2.855 6.377-6.377 6.377H6.377C2.857 31.885 0 29.03 0 25.508V6.378C0 2.854 2.857 0 6.377 0H25.51c3.522 0 6.377 2.855 6.377 6.377v19.131",fill:"#0FB7FF"}),v.jsx("path",{d:"M25.998 10.58c.175-.982.17-1.992-.436-2.755-.846-1.07-2.646-1.11-3.88-.921-1.003.153-4.397 1.651-5.552 5.236 2.046-.156 3.118.148 2.921 2.4-.082.943-.558 1.976-1.09 2.966-.614 1.141-1.765 3.382-3.274 1.767-1.36-1.454-1.257-4.235-1.568-6.086-.173-1.04-.356-2.334-.697-3.402-.293-.92-.966-2.027-1.788-2.267-.884-.26-1.976.146-2.618.523-2.042 1.2-3.598 2.908-5.365 4.317v.132c.35.335.444.884.96.959 1.216.179 2.375-1.134 3.184.232.492.834.645 1.749.96 2.648.42 1.198.746 2.503 1.09 3.88.583 2.334 1.299 5.82 3.316 6.675 1.029.437 2.575-.148 3.358-.612 2.122-1.255 3.775-3.075 5.19-4.927 3.234-4.382 5.019-9.347 5.289-10.765",fill:"#FFFFFE"})]})}),GD=e=>v.jsx("svg",{width:32,height:32,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",...e,children:v.jsxs("g",{fill:"none",fillRule:"evenodd",children:[v.jsx("path",{d:"M31.252 8.488c-.366-1.37-1.448-2.452-2.824-2.823C25.941 5 15.958 5 15.958 5s-9.977 0-12.47.665c-1.37.366-2.452 1.447-2.823 2.823C0 10.976 0 16.17 0 16.17s0 5.194.665 7.682c.366 1.372 1.447 2.453 2.823 2.823 2.493.666 12.47.666 12.47.666s9.983 0 12.47-.666c1.372-.365 2.453-1.447 2.824-2.823.665-2.488.665-7.682.665-7.682s0-5.194-.665-7.682",fill:"#D9252A"}),v.jsx("path",{fill:"#FFFFFE",d:"M12.77 20.958l8.291-4.788-8.291-4.788v9.576"})]})}),kke=()=>{return v.jsxs("div",{className:"koenig-lexical",children:[v.jsx(e,{label:"Text toolbar"}),v.jsx(t,{}),v.jsx(e,{label:"Image toolbar"}),v.jsx(n,{}),v.jsx(e,{label:"Gallery toolbar"}),v.jsx(i,{}),v.jsx(e,{label:"Plus menu"}),v.jsx(s,{}),v.jsx(e,{label:"Card menu"}),v.jsx(o,{}),v.jsx(e,{label:"Divider card"}),v.jsx("div",{className:"relative max-w-[740px]",children:v.jsx(f,{})}),v.jsx(e,{label:"Code block"}),v.jsx("div",{className:"relative max-w-[740px]",children:v.jsx(p,{})}),v.jsx(e,{label:"Image card"}),v.jsx("div",{className:"relative max-w-[740px]",children:v.jsx(m,{})}),v.jsx(e,{label:"Gallery card"}),v.jsx("div",{className:"relative max-w-[1172px]",children:v.jsx(k,{})})]});function e({label:S}){return v.jsx("h3",{className:"mb-4 mt-20 text-xl font-bold first-of-type:mt-8",children:S})}function t(){return v.jsx("div",{className:"max-w-fit",children:v.jsxs("ul",{className:"m-0 flex items-center justify-evenly rounded bg-black px-1 py-0 font-sans text-md font-normal text-white",children:[v.jsx(r,{Icon:LD,label:"Format text as bold"}),v.jsx(r,{Icon:WD,label:"Format text as italics"}),v.jsx(r,{Icon:BD,label:"Toggle heading 1"}),v.jsx(r,{Icon:QD,label:"Toggle heading 2"}),v.jsx(a,{}),v.jsx(r,{Icon:HD,label:"Toggle blockquote"}),v.jsx(r,{Icon:r_,label:"Insert link"}),v.jsx(a,{}),v.jsx(r,{Icon:Sb,label:"Save as snippet"})]})})}function n(){return v.jsx("div",{className:"max-w-fit",children:v.jsxs("ul",{className:"m-0 flex items-center justify-evenly rounded bg-black px-1 py-0 font-sans text-md font-normal text-white",children:[v.jsx(r,{Icon:fv,label:"Set image to regular"}),v.jsx(r,{Icon:hv,label:"Set image to wide"}),v.jsx(r,{Icon:cv,label:"Set image to full"}),v.jsx(a,{}),v.jsx(r,{Icon:r_,label:"Insert link"}),v.jsx(r,{Icon:UD,label:"Replace image"}),v.jsx(a,{}),v.jsx(r,{Icon:Sb,label:"Save as snippet"})]})})}function i(){return v.jsx("div",{className:"max-w-fit",children:v.jsxs("ul",{className:"m-0 flex items-center justify-evenly rounded bg-black px-1 py-0 font-sans text-md font-normal text-white",children:[v.jsx(r,{Icon:ID,label:"Add image"}),v.jsx(a,{}),v.jsx(r,{Icon:Sb,label:"Save as snippet"})]})})}function r({label:S,Icon:C,...T}){return v.jsx("li",{className:"m-0 flex p-0 first:m-0",...T,children:v.jsx("div",{className:"flex size-9 items-center justify-center",type:"button",children:v.jsx(C,{className:"fill-white"})})})}function a(){return v.jsx("li",{className:"m-0 mx-1 h-5 w-px bg-grey-900"})}function s(){return v.jsx("button",{"aria-label":"Add a card",className:"group relative flex size-7 cursor-pointer items-center justify-center rounded-full border border-grey bg-white transition-all ease-linear hover:border-grey-900 md:size-9",type:"button",children:v.jsx(_w,{className:"size-4 stroke-grey-800 stroke-2 group-hover:stroke-grey-900"})})}function o(){return v.jsxs("div",{className:"z-[9999999] m-0 mb-3 max-h-[376px] w-[312px] flex-col overflow-y-auto rounded-lg bg-white bg-clip-padding p-0 text-sm shadow",children:[v.jsx(l,{label:"Primary"}),v.jsx(u,{desc:"Upload, or embed with /image [url]",Icon:n_,label:"Image"}),v.jsx(u,{desc:"Insert a Markdown editor card",Icon:a_,label:"Markdown"}),v.jsx(u,{desc:"Insert a raw HTML card",Icon:t_,label:"HTML"}),v.jsx(u,{desc:"Create an image gallery",Icon:e_,label:"Gallery"}),v.jsx(u,{desc:"Insert a dividing line",Icon:GO,label:"Divider"}),v.jsx(u,{desc:"Embed a link as a visual bookmark",Icon:XO,label:"Bookmark"}),v.jsx(u,{desc:"Only visible when delivered by email",Icon:KO,label:"Email content"}),v.jsx(u,{desc:"Target free or paid members with a CTA",Icon:Cg,label:"Email call to action"}),v.jsx(u,{desc:"Attract signups with a public intro",Icon:o_,label:"Public preview"}),v.jsx(u,{desc:"Add a button to your post",Icon:VO,label:"Button"}),v.jsx(u,{desc:"Info boxes that stand out",Icon:YO,label:"Callout"}),v.jsx(u,{desc:"Search and embed gifs",Icon:zD,label:"GIF"}),v.jsx(u,{desc:"Add collapsible content",Icon:d_,label:"Toggle"}),v.jsx(u,{desc:"Upload and play a video",Icon:u_,label:"Video"}),v.jsx(u,{desc:"Upload and play an audio file",Icon:ZO,label:"Audio"}),v.jsx(u,{desc:"Upload a downloadable file",Icon:JO,label:"File"}),v.jsx(u,{desc:"Add a product recommendation",Icon:l_,label:"Product"}),v.jsx(u,{desc:"Add a bold section header",Icon:_b,label:"Header"}),v.jsx(l,{label:"Embed"}),v.jsx(u,{desc:"/youtube [video url]",Icon:GD,label:"YouTube"}),v.jsx(u,{desc:"/twitter [tweet url]",Icon:AU,label:"Twitter"}),v.jsx(u,{desc:"/unsplash [search-term or url]",Icon:VD,label:"Unsplash"}),v.jsx(u,{desc:"/vimeo [video url]",Icon:YD,label:"Vimeo"}),v.jsx(u,{desc:"/codepen [pen url]",Icon:RD,label:"CodePen"}),v.jsx(u,{desc:"/spotify [track or playlist url]",Icon:XD,label:"Spotify"}),v.jsx(u,{desc:"/soundcloud [track or playlist url]",Icon:ZD,label:"SoundCloud"}),v.jsx(u,{desc:"/nft [opensea url]",Icon:DU,label:"NFT"}),v.jsx(u,{desc:"/embed [url]",Icon:s_,label:"Other..."}),v.jsx(l,{label:"Snippets"}),v.jsx(c,{Icon:qD,label:"A random snippet"})]})}function l({label:S,...C}){return v.jsx("div",{className:"mb-2 flex shrink-0 flex-col justify-center px-4 pt-3 text-2xs font-medium uppercase tracking-[.06rem] text-grey",style:{minWidth:"calc(100% - 3.2rem)"},...C,children:S})}function u({label:S,desc:C,Icon:T,...$}){return v.jsxs("div",{className:"flex cursor-pointer flex-row items-center border border-transparent px-4 py-2 text-grey-800 hover:bg-grey-100",...$,children:[v.jsx("div",{className:"flex items-center",children:v.jsx(T,{className:"size-7"})}),v.jsxs("div",{className:"flex flex-col",children:[v.jsx("div",{className:"m-0 ml-4 truncate text-[1.3rem] font-normal leading-[1.333em] tracking-[.02rem] text-grey-900",children:S}),v.jsx("div",{className:"m-0 ml-4 truncate text-2xs font-normal leading-[1.333em] tracking-[.02rem] text-grey",children:C})]})]})}function c({label:S,Icon:C,...T}){return v.jsxs("div",{className:"flex cursor-pointer flex-row items-center border border-transparent px-4 py-2 text-grey-800 hover:bg-grey-100",...T,children:[v.jsx("div",{className:"flex items-center",children:v.jsx(C,{className:"size-7"})}),v.jsx("div",{className:"flex flex-col",children:v.jsx("div",{className:"m-0 ml-4 truncate text-[1.3rem] font-normal leading-[1.333em] tracking-[.02rem] text-grey-900",children:S})})]})}function f(){return v.jsx("div",{children:v.jsx("hr",{className:"block h-[1px] border-0 border-t border-grey-300"})})}function p(){return v.jsxs("div",{className:"border-2 border-green",children:[v.jsx("div",{className:"rounded bg-grey-50 px-3 py-2",children:v.jsx("textarea",{className:"w-full resize-none bg-grey-50 font-mono text-[1.7rem]"})}),v.jsx(b,{placeholder:"Type caption for code block (optional)"})]})}function m(){let[S,C]=Se.useState(!1),[T,$]=Se.useState(!1),D=()=>{C(!S)},N=F=>{F.stopPropagation(),$(!T)};return S?v.jsxs("div",{className:`border border-transparent ${S?"shadow-[0_0_0_2px_#30cf43]":"hover:shadow-[0_0_0_1px_#30cf43]"}`,onClick:D,children:[v.jsx(g,{desc:"Click to select an image",Icon:i_}),v.jsx(b,{placeholder:"Type caption for image (optional)"}),v.jsx("button",{className:`absolute bottom-0 right-0 m-3 cursor-pointer rounded border px-1 text-[1.3rem] font-normal leading-7 tracking-wide transition-all duration-100 ${T?"border-green bg-green text-white":"border-grey text-grey"} `,type:"button",onClick:F=>N(F),children:"Alt"})]}):v.jsx("div",{className:`border border-transparent ${S?"shadow-[0_0_0_2px_#30cf43]":"hover:shadow-[0_0_0_1px_#30cf43]"}`,onClick:D,children:v.jsx(g,{desc:"Click to select an image",Icon:i_})})}function g({desc:S,Icon:C,...T}){return v.jsxs("div",{className:"relative",children:[v.jsx("figure",{className:"cursor-pointer border border-transparent",...T,children:v.jsx("div",{className:"h-100 relative flex items-center justify-center border border-grey-100 bg-grey-50 before:pb-[62.5%]",children:v.jsxs("button",{className:"group flex flex-col items-center justify-center p-20",type:"button",children:[v.jsx(C,{className:"size-32 opacity-80 transition-all ease-linear group-hover:scale-105 group-hover:opacity-100"}),v.jsx("p",{className:"mt-4 text-sm font-normal text-grey-700 group-hover:text-grey-800",children:S})]})})}),v.jsx("form",{children:v.jsx("input",{accept:"image/*",hidden:!0,name:"image",type:"file"})})]})}function b({placeholder:S}){return v.jsx("input",{className:"not-kg-prose w-full p-2 text-center font-sans text-sm font-normal tracking-wide text-grey-900",placeholder:S})}function k(){return v.jsxs("div",{className:"border-2 border-green",children:[v.jsx(g,{desc:"Click to select up to 9 images",Icon:FD}),v.jsx(b,{placeholder:"Type caption for gallery (optional)"})]})}},PU=fe((e=>{var t={},n={},i={},r={},a={},s={},o={},l={},u={},c={},f={},p={},m={},g={},b={},k={},S={},C={},T={},$={},D={},N={},F={},z={},ee={},q={},j={},U={},ae={},le={},Y={},me={},J={},X={},ie={},ue={};function ce(x){let O=new URLSearchParams;O.append("code",x);for(let E=1;E<arguments.length;E++)O.append("v",arguments[E]);throw Error(`Minified Lexical error #${x}; visit https://lexical.dev/docs/error?${O} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}var te=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,P=te&&"documentMode"in document?document.documentMode:null,L=te&&/Mac|iPod|iPhone|iPad/.test(navigator.platform),Z=te&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),oe=te&&"InputEvent"in window&&!P?"getTargetRanges"in new window.InputEvent("input"):!1,de=te&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),we=te&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,Ce=te&&/Android/.test(navigator.userAgent),Ne=te&&/^(?=.*Chrome).*/i.test(navigator.userAgent),Ee=te&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&!Ne,Ae=de||we||Ee?" ":"",Re=Z?" ":Ae,Ze=/^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u07ff\ufb1d-\ufdfd\ufe70-\ufefc]/,je=/^[^\u0591-\u07ff\ufb1d-\ufdfd\ufe70-\ufefc]*[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]/,Oe={bold:1,code:16,highlight:128,italic:2,strikethrough:4,subscript:32,superscript:64,underline:8},Le={directionless:1,unmergeable:2},K={center:2,end:6,justify:4,left:1,right:3,start:5},se={2:"center",6:"end",4:"justify",1:"left",3:"right",5:"start"},ge={normal:0,segmented:2,token:1},pe={0:"normal",2:"segmented",1:"token"},xe=!1,Pe=0;function $e(x){Pe=x.timeStamp}function De(x,O,E){return O.__lexicalLineBreak===x||x[`__lexicalKey_${E._key}`]!==void 0}function Qe(x){return x.getEditorState().read(()=>{let O=bn();return O===null?null:O.clone()})}function Ye(x,O,E){xe=!0;let A=100<performance.now()-Pe;try{ni(x,()=>{let W=bn()||Qe(x);var H=new Map,re=x.getRootElement(),he=x._editorState,_e=x._blockCursorElement;let Ie=!1,Ve="";for(var it=0;it<O.length;it++){var ze=O[it],Be=ze.type,mt=ze.target,St=mi(mt,he);if(!(St===null&&mt!==re||zn(St))){if(Be==="characterData"){if(ze=A&&wt(St))e:{ze=W,Be=mt;var Bt=St;if(Tt(ze)){var Wt=ze.anchor.getNode();if(Wt.is(Bt)&&ze.format!==Wt.getFormat()){ze=!1;break e}}ze=Be.nodeType===3&&Bt.isAttached()}ze&&(Bt=er(x._window),Be=ze=null,Bt!==null&&Bt.anchorNode===mt&&(ze=Bt.anchorOffset,Be=Bt.focusOffset),mt=mt.nodeValue,mt!==null&&vo(St,mt,ze,Be,!1))}else if(Be==="childList"){for(Ie=!0,Be=ze.addedNodes,Bt=0;Bt<Be.length;Bt++){Wt=Be[Bt];var yi=Qi(Wt),ga=Wt.parentNode;ga==null||Wt===_e||yi!==null||Wt.nodeName==="BR"&&De(Wt,ga,x)||(Z&&(yi=Wt.innerText||Wt.nodeValue)&&(Ve+=yi),ga.removeChild(Wt))}if(ze=ze.removedNodes,Be=ze.length,0<Be){for(Bt=0,Wt=0;Wt<Be;Wt++)ga=ze[Wt],(ga.nodeName==="BR"&&De(ga,mt,x)||_e===ga)&&(mt.appendChild(ga),Bt++);Be!==Bt&&(mt===re&&(St=he._nodeMap.get("root")),H.set(mt,St))}}}}if(0<H.size)for(let[za,gr]of H)if(Xe(gr))for(H=gr.getChildrenKeys(),re=za.firstChild,he=0;he<H.length;he++)_e=x.getElementByKey(H[he]),_e!==null&&(re==null?(za.appendChild(_e),re=_e):re!==_e&&za.replaceChild(_e,re),re=re.nextSibling);else wt(gr)&&gr.markDirty();if(H=E.takeRecords(),0<H.length){for(re=0;re<H.length;re++)for(_e=H[re],he=_e.addedNodes,_e=_e.target,it=0;it<he.length;it++)St=he[it],mt=St.parentNode,mt==null||St.nodeName!=="BR"||De(St,_e,x)||mt.removeChild(St);E.takeRecords()}W!==null&&(Ie&&(W.dirty=!0,Vr(W)),Z&&Ge(x)&&W.insertRawText(Ve))})}finally{xe=!1}}function bt(x){let O=x._observer;O!==null&&Ye(x,O.takeRecords(),O)}function Dt(x){Pe===0&&Dr(x).addEventListener("textInput",$e,!0),x._observer=new MutationObserver((O,E)=>{Ye(x,O,E)})}function Je(x,O){let E=x.__mode,A=x.__format;x=x.__style;let W=O.__mode,H=O.__format;return O=O.__style,(E===null||E===W)&&(A===null||A===H)&&(x===null||x===O)}function _t(x,O){let E=x.mergeWithSibling(O),A=hn()._normalizedNodes;return A.add(x.__key),A.add(O.__key),E}function kt(x){if(x.__text===""&&x.isSimpleText()&&!x.isUnmergeable())x.remove();else{for(var O;(O=x.getPreviousSibling())!==null&&wt(O)&&O.isSimpleText()&&!O.isUnmergeable();)if(O.__text==="")O.remove();else{Je(O,x)&&(x=_t(O,x));break}for(var E;(E=x.getNextSibling())!==null&&wt(E)&&E.isSimpleText()&&!E.isUnmergeable();)if(E.__text==="")E.remove();else{Je(x,E)&&_t(x,E);break}}}function Lt(x){return Zt(x.anchor),Zt(x.focus),x}function Zt(x){for(;x.type==="element";){var O=x.getNode(),E=x.offset;if(E===O.getChildrenSize()?(O=O.getChildAtIndex(E-1),E=!0):(O=O.getChildAtIndex(E),E=!1),wt(O)){x.set(O.__key,E?O.getTextContentSize():0,"text");break}else if(!Xe(O))break;x.set(O.__key,E?O.getChildrenSize():0,"element")}}var Ft=1,nn=typeof queueMicrotask=="function"?queueMicrotask:x=>{Promise.resolve().then(x)};function sn(x){let O=document.activeElement;if(O===null)return!1;let E=O.nodeName;return zn(mi(x))&&(E==="INPUT"||E==="TEXTAREA"||O.contentEditable==="true"&&O.__lexicalEditor==null)}function kn(x,O,E){let A=x.getRootElement();try{return A!==null&&A.contains(O)&&A.contains(E)&&O!==null&&!sn(O)&&ut(O)===x}catch{return!1}}function ut(x){for(;x!=null;){let O=x.__lexicalEditor;if(O!=null)return O;x=fn(x)}return null}function Fn(x){return x.isToken()||x.isSegmented()}function on(x){for(;x!=null;){if(x.nodeType===3)return x;x=x.firstChild}return null}function ln(x,O,E){let A=Oe[O];return E!==null&&(x&A)===(E&A)||(x^=A,O==="subscript"?x&=-65:O==="superscript"&&(x&=-33)),x}function cn(x,O){if(O!=null)x.__key=O;else{mr(),99<Jl&&ce(14),O=hn();var E=rs(),A=""+Ft++;E._nodeMap.set(A,x),Xe(x)?O._dirtyElements.set(A,!0):O._dirtyLeaves.add(A),O._cloneNotNeeded.add(A),O._dirtyType=1,x.__key=A}}function ua(x){var O=x.getParent();if(O!==null){let W=x.getWritable();O=O.getWritable();var E=x.getPreviousSibling();if(x=x.getNextSibling(),E===null)if(x!==null){var A=x.getWritable();O.__first=x.__key,A.__prev=null}else O.__first=null;else{if(A=E.getWritable(),x!==null){let H=x.getWritable();H.__prev=A.__key,A.__next=H.__key}else A.__next=null;W.__prev=null}x===null?E===null?O.__last=null:(x=E.getWritable(),O.__last=E.__key,x.__next=null):(x=x.getWritable(),E===null?x.__prev=null:(E=E.getWritable(),E.__next=x.__key,x.__prev=E.__key),W.__next=null),O.__size--,W.__parent=null}}function Gt(x){99<Jl&&ce(14);var O=x.getLatest(),E=O.__parent,A=rs();let W=hn(),H=A._nodeMap;if(A=W._dirtyElements,E!==null)e:for(;E!==null;){if(A.has(E))break e;let re=H.get(E);if(re===void 0)break;A.set(E,!1),E=re.__parent}O=O.__key,W._dirtyType=1,Xe(x)?A.set(O,!0):W._dirtyLeaves.add(O)}function At(x){mr();var O=hn();let E=O._compositionKey;x!==E&&(O._compositionKey=x,E!==null&&(O=mn(E),O!==null&&O.getWritable()),x!==null&&(x=mn(x),x!==null&&x.getWritable()))}function dn(){return ed()?null:hn()._compositionKey}function mn(x,O){return x=(O||rs())._nodeMap.get(x),x===void 0?null:x}function Qi(x,O){let E=hn();return x=x[`__lexicalKey_${E._key}`],x===void 0?null:mn(x,O)}function mi(x,O){for(;x!=null;){let E=Qi(x,O);if(E!==null)return E;x=fn(x)}return null}function Xr(x){return x._pendingDecorators=Object.assign({},x._decorators)}function go(x){return x.read(()=>xn().getTextContent())}function Na(x,O){ni(x,()=>{var E=rs();if(!E.isEmpty())if(O==="root")xn().markDirty();else{E=E._nodeMap;for(let[,A]of E)A.markDirty()}},x._pendingEditorState===null?{tag:"history-merge"}:void 0)}function xn(){return rs()._nodeMap.get("root")}function Vr(x){mr();let O=rs();x!==null&&(x.dirty=!0,x.setCachedNodes(null)),O._selection=x}function $a(x){var O=hn(),E;e:{for(E=x;E!=null;){let A=E[`__lexicalKey_${O._key}`];if(A!==void 0){E=A;break e}E=fn(E)}E=null}return E===null?(O=O.getRootElement(),x===O?mn("root"):null):mn(E)}function Wl(x){return/[\uD800-\uDBFF][\uDC00-\uDFFF]/g.test(x)}function _s(x){let O=[];for(;x!==null;)O.push(x),x=x._parentEditor;return O}function ca(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5)}function Hl(x,O,E){if(O=er(O._window),O!==null){var A=O.anchorNode,{anchorOffset:W,focusOffset:H}=O;if(A!==null&&(O=A.nodeType===3?A.nodeValue:null,A=mi(A),O!==null&&wt(A))){if(O===Ae&&E){let re=E.length;O=E,H=W=re}O!==null&&vo(A,O,W,H,x)}}}function vo(x,O,E,A,W){let H=x;if(H.isAttached()&&(W||!H.isDirty())){let Ie=H.isComposing(),Ve=O;if((Ie||W)&&O[O.length-1]===Ae&&(Ve=O.slice(0,-1)),O=H.getTextContent(),W||Ve!==O)if(Ve==="")if(At(null),de||we||Ee)H.remove();else{let it=hn();setTimeout(()=>{it.update(()=>{H.isAttached()&&H.remove()})},20)}else{W=H.getParent(),O=hl();var re=H.getTextContentSize(),he=dn(),_e=H.getKey();H.isToken()||he!==null&&_e===he&&!Ie||Tt(O)&&(W!==null&&!W.canInsertTextBefore()&&O.anchor.offset===0||O.anchor.key===x.__key&&O.anchor.offset===0&&!H.canInsertTextBefore()&&!Ie||O.focus.key===x.__key&&O.focus.offset===re&&!H.canInsertTextAfter()&&!Ie)?H.markDirty():(x=bn(),Tt(x)&&E!==null&&A!==null&&(x.setTextNodeRange(H,E,H,A),H.isSegmented()&&(E=H.getTextContent(),E=Ni(E),H.replace(E),H=E)),H.setTextContent(Ve))}}}function Kh(x,O){if(O.isSegmented())return!0;if(!x.isCollapsed())return!1;x=x.anchor.offset;let E=O.getParentOrThrow(),A=O.isToken();return x===0?((x=!O.canInsertTextBefore()||!E.canInsertTextBefore()||A)||(O=O.getPreviousSibling(),x=(wt(O)||Xe(O)&&O.isInline())&&!O.canInsertTextAfter()),x):x===O.getTextContentSize()?!O.canInsertTextAfter()||!E.canInsertTextAfter()||A:!1}function ns(x,O){x.__lexicalClassNameCache===void 0&&(x.__lexicalClassNameCache={});let E=x.__lexicalClassNameCache,A=E[O];return A===void 0?(x=x[O],typeof x=="string"?(x=x.split(" "),E[O]=x):x):A}function Da(x,O,E,A,W){E.size!==0&&(E=A.__type,A=A.__key,O=O.get(E),O===void 0&&ce(33,E),E=O.klass,O=x.get(E),O===void 0&&(O=new Map,x.set(E,O)),x=O.get(A),E=x==="destroyed"&&W==="created",(x===void 0||E)&&O.set(A,E?"updated":W))}function ou(x,O,E){let A=x.getParent(),W=E;return A!==null&&(O&&E===0?(W=x.getIndexWithinParent(),x=A):O||E!==x.getChildrenSize()||(W=x.getIndexWithinParent()+1,x=A)),x.getChildAtIndex(O?W-1:W)}function ke(x,O){var E=x.offset;return x.type==="element"?(x=x.getNode(),ou(x,O,E)):(x=x.getNode(),O&&E===0||!O&&E===x.getTextContentSize()?(E=O?x.getPreviousSibling():x.getNextSibling(),E===null?ou(x.getParentOrThrow(),O,x.getIndexWithinParent()+ +!O):E):null)}function Ge(x){return x=(x=Dr(x).event)&&x.inputType,x==="insertFromPaste"||x==="insertFromPasteAsQuotation"}function tt(x){return!ir(x)&&!x.isLastChild()&&!x.isInline()}function en(x,O){return x=x._keyToDOMMap.get(O),x===void 0&&ce(75,O),x}function fn(x){return x=x.assignedSlot||x.parentElement,x!==null&&x.nodeType===11?x.host:x}function On(x,O){for(x=x.getParent();x!==null;){if(x.is(O))return!0;x=x.getParent()}return!1}function Dr(x){return x=x._window,x===null&&ce(78),x}function gi(x){for(x=x.getParentOrThrow();x!==null&&!Ut(x);)x=x.getParentOrThrow();return x}function Ut(x){return ir(x)||Xe(x)&&x.isShadowRoot()}function et(x){return x=x.constructor.clone(x),cn(x,null),x}function Ar(x){var O=hn();let E=x.constructor.getType();return O=O._nodes.get(E),O===void 0&&ce(97),O=O.replace,O===null?x:(O=O(x),O instanceof x.constructor||ce(98),O)}function ll(x,O){x=x.getParent(),!ir(x)||Xe(O)||zn(O)||ce(99)}function fa(x){return(zn(x)||Xe(x)&&!x.canBeEmpty())&&!x.isInline()}function rn(x,O,E){E.style.removeProperty("caret-color"),O._blockCursorElement=null,O=x.parentElement,O!==null&&O.removeChild(x)}function er(x){return te?(x||window).getSelection():null}function bo(x){return x.nodeType===1}function yo(x){if(zn(x)&&!x.isInline())return!0;if(!Xe(x)||Ut(x))return!1;var O=x.getFirstChild();return O=O===null||cl(O)||wt(O)||O.isInline(),!x.isInline()&&x.canBeEmpty()!==!1&&O}function Ue(x,O){for(;x!==null&&x.getParent()!==null&&!O(x);)x=x.getParentOrThrow();return O(x)?x:null}function Pt(x,O,E,A,W,H){for(x=x.getFirstChild();x!==null;){let re=x.__key;x.__parent===O&&(Xe(x)&&Pt(x,re,E,A,W,H),E.has(re)||H.delete(re),W.push(re)),x=x.getNextSibling()}}function Jh(x,O,E,A){x=x._nodeMap,O=O._nodeMap;let W=[];for(let[H]of A){let re=O.get(H);re===void 0||re.isAttached()||(Xe(re)&&Pt(re,H,x,O,W,A),x.has(H)||A.delete(H),W.push(H))}for(let H of W)O.delete(H);for(let H of E)A=O.get(H),A===void 0||A.isAttached()||(x.has(H)||E.delete(H),O.delete(H))}var Xn="",Mi="",ha="",Ss,yt,lu,ep=!1,Ul=!1,Yr,du=null,$c,dl,Cs,Es,uu,ql;function cu(x,O){let E=Cs.get(x);if(O!==null){let A=np(x);A.parentNode===O&&O.removeChild(A)}Es.has(x)||yt._keyToDOMMap.delete(x),Xe(E)&&(x=ko(E,Cs),Dc(x,0,x.length-1,null)),E!==void 0&&Da(ql,lu,Yr,E,"destroyed")}function Dc(x,O,E,A){for(;O<=E;++O){let W=x[O];W!==void 0&&cu(W,A)}}function wo(x,O){x.setProperty("text-align",O)}function zv(x,O){var E=Ss.theme.indent;if(typeof E=="string"){let A=x.classList.contains(E);0<O&&!A?x.classList.add(E):1>O&&A&&x.classList.remove(E)}E=getComputedStyle(x).getPropertyValue("--lexical-indent-base-value")||"40px",x.style.setProperty("padding-inline-start",O===0?"":`calc(${O} * ${E})`)}function Qv(x,O){x=x.style,O===0?wo(x,""):O===1?wo(x,"left"):O===2?wo(x,"center"):O===3?wo(x,"right"):O===4?wo(x,"justify"):O===5?wo(x,"start"):O===6&&wo(x,"end")}function fu(x,O,E){let A=Es.get(x);A===void 0&&ce(60);let W=A.createDOM(Ss,yt);var H=yt._keyToDOMMap;if(W["__lexicalKey_"+yt._key]=x,H.set(x,W),wt(A)?W.setAttribute("data-lexical-text","true"):zn(A)&&W.setAttribute("data-lexical-decorator","true"),Xe(A)){if(x=A.__indent,H=A.__size,x!==0&&zv(W,x),H!==0){--H,x=ko(A,Es);var re=Mi;Mi="",Aa(x,A,0,H,W,null),hu(A,W),Mi=re}x=A.__format,x!==0&&Qv(W,x),A.isInline()||Wv(null,A,W),tt(A)&&(Xn+=`
|
|
1
|
+
import{j as v,t as G,r as Se,aA as _U,aB as TC,aC as SU,aD as CU,aE as EU}from"./index-CYyEyBYw.js";var lc={};(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5d2a6041-ce8f-4058-acca-1c0b932a7422",e._sentryDebugIdIdentifier="sentry-dbid-5d2a6041-ce8f-4058-acca-1c0b932a7422")}catch{}})();var TU=Object.create,Sg=Object.defineProperty,MU=Object.getOwnPropertyDescriptor,NU=Object.getOwnPropertyNames,$U=Object.getPrototypeOf,DD=Object.prototype.hasOwnProperty,ft=(e,t)=>()=>(e&&(t=e(e=0)),t),fe=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),uv=(e,t)=>{let n={};for(var i in e)Sg(n,i,{get:e[i],enumerable:!0});return Sg(n,Symbol.toStringTag,{value:"Module"}),n},AD=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(var r=NU(t),a=0,s=r.length,o;a<s;a++)o=r[a],!DD.call(e,o)&&o!==n&&Sg(e,o,{get:(l=>t[l]).bind(null,o),enumerable:!(i=MU(t,o))||i.enumerable});return e},Ma=(e,t,n)=>(n=e==null?{}:TU($U(e)),AD(Sg(n,"default",{value:e,enumerable:!0}),e)),PD=e=>DD.call(e,"module.exports")?e["module.exports"]:AD(Sg({},"__esModule",{value:!0}),e),jD=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")}),ID=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M12 2v20m10-10H2"})}),ZO=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:v.jsxs("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,children:[v.jsx("path",{d:"M8 7h15"}),v.jsx("path",{d:"M23 17.5V1H8v18.5","data-cap":"butt"}),v.jsx("circle",{cx:4.5,cy:19.5,r:3.5}),v.jsx("circle",{cx:19.5,cy:17.5,r:3.5})]})}),LD=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M5 2v10h8a5 5 0 0 0 0-10H3m2 20V12h9c3.314 0 6 2.238 6 5s-2.686 5-6 5H3"})}),XO=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m21 22-9-5-9 5V3a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v19Z"})}),VO=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M22 6H2a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h20a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1ZM7 12h10"})}),YO=e=>v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20.8 2H3.2C1.985 2 1 2.895 1 4v16c0 1.105.985 2 2.2 2h17.6c1.215 0 2.2-.895 2.2-2V4c0-1.105-.985-2-2.2-2Z"}),v.jsx("path",{fill:"currentColor",d:"M12 18a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"}),v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 6.5v6"})]}),RD=e=>v.jsx("svg",{width:32,height:32,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",...e,children:v.jsx("path",{d:"M31.976 10.886c-.007-.039-.014-.078-.024-.116l-.022-.066c-.01-.034-.022-.068-.035-.1l-.03-.067c-.015-.031-.03-.062-.048-.092-.012-.022-.026-.042-.039-.063-.018-.029-.037-.057-.058-.084-.015-.02-.03-.04-.047-.059-.022-.026-.045-.05-.068-.075l-.055-.053c-.025-.023-.051-.045-.078-.065-.021-.016-.041-.033-.063-.047-.008-.006-.014-.013-.023-.018L16.762.231c-.461-.308-1.063-.308-1.525 0L.612 9.981l-.022.017c-.022.015-.042.031-.063.047-.027.021-.053.043-.078.065-.019.017-.037.035-.055.054-.024.024-.046.048-.068.074-.017.02-.032.039-.047.06-.02.028-.04.055-.058.084l-.04.064c-.017.03-.032.06-.046.09-.01.022-.022.045-.03.067-.014.033-.026.067-.036.1l-.022.065c-.01.038-.017.076-.024.115-.004.02-.008.04-.01.06-.009.06-.013.119-.013.18v9.751c0 .06.004.121.013.18.003.022.009.039.013.06.007.038.013.077.026.116l.021.067c.011.034.022.069.035.1.009.022.021.043.03.065.014.03.03.06.047.092.012.021.026.043.04.062.018.03.038.056.06.082.014.022.03.04.047.06.022.026.043.051.069.074.017.018.034.04.056.052l.077.066c.021.017.043.03.06.046.009.005.014.013.022.017l14.621 9.755c.231.155.496.233.763.232.267-.002.532-.078.763-.232l14.625-9.75.022-.016c.022-.015.042-.031.063-.047.027-.021.053-.043.078-.066l.055-.053c.024-.024.047-.049.068-.075.017-.02.032-.039.047-.06.02-.026.04-.054.058-.083.014-.02.027-.042.04-.063.017-.03.032-.06.047-.092l.03-.066c.014-.033.025-.067.035-.1.008-.023.016-.045.022-.067.01-.038.017-.077.024-.116.004-.02.009-.039.01-.06.009-.059.013-.118.013-.179v-9.75c0-.06-.005-.12-.012-.18-.004-.02-.01-.038-.014-.06h.002zM16 19.253L11.137 16 16 12.747 20.863 16 16 19.253zm-1.375-8.895l-5.962 3.988-4.812-3.22 10.774-7.182v6.414zM6.19 16l-3.44 2.3V13.7l3.44 2.3zm2.473 1.655l5.962 3.987v6.414L3.85 20.873l4.812-3.219v.001zm8.712 3.986l5.961-3.987 4.813 3.22-10.774 7.181v-6.414zm8.434-5.64l3.44-2.302v4.602L25.81 16zm-2.473-1.655l-5.961-3.987V3.944l10.774 7.183-4.813 3.219z",fill:"#000",fillRule:"nonzero"})}),GO=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M2 12h20"})}),KO=e=>v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m2 5 10 8 10-8"}),v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 4H3c-.53 0-1.04.199-1.414.553A1.837 1.837 0 0 0 1 5.89v13.22c0 .501.21.982.586 1.336C1.96 20.8 2.47 21 3 21h18c.53 0 1.04-.199 1.414-.553.375-.354.586-.835.586-1.336V5.89c0-.501-.21-.982-.586-1.336A2.061 2.061 0 0 0 21 4Z"})]}),Cg=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:v.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20 7 2 2l5 18 3-7 8 8 3-3-8-8z"})}),JO=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:v.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m22 11.4-8.8 8.8c-2.5 2.5-6.7 2.5-9.2 0h0c-2.5-2.5-2.5-6.7 0-9.2l7.8-7.8c1.8-1.8 4.6-1.8 6.4 0h0C20 5 20 7.8 18.2 9.6L11 16.7c-1 1-2.6 1-3.5 0h0c-1-1-1-2.6 0-3.5l6-6"})}),e_=e=>v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[v.jsxs("g",{clipPath:"url(#a)",children:[v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20.8 5H3.2C1.985 5 1 5.806 1 6.8v14.4c0 .994.985 1.8 2.2 1.8h17.6c1.215 0 2.2-.806 2.2-1.8V6.8c0-.994-.985-1.8-2.2-1.8ZM6 1h12"}),v.jsx("path",{fill:"currentColor",d:"M15.142 10.264a.75.75 0 0 1 .529.4l4 8A.75.75 0 0 1 19 19.75H6a.75.75 0 0 1-.498-1.31l9-8a.75.75 0 0 1 .64-.176ZM7 12a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"})]}),v.jsx("defs",{children:v.jsx("clipPath",{id:"a",children:v.jsx("path",{fill:"#fff",d:"M0 0h24v24H0z"})})})]}),FD=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",...e,children:v.jsxs("g",{strokeLinecap:"round",strokeWidth:2,fill:"none",stroke:"currentColor",strokeLinejoin:"round",className:"nc-icon-wrapper",children:[v.jsx("path",{d:"M3 9h42v36H3zm7-6h28"}),v.jsx("path",{d:"m10 38 7-10 5 4 8-11 9 17H10z"}),v.jsx("circle",{cx:17,cy:19,r:3})]})}),zD=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M1.5 2.75h21m-21 18.5h21M16 17V9a2 2 0 0 1 2-2h2m-4 6h3m-7 4V7m-5 6h1v2a2 2 0 0 1-4 0V9a2 2 0 0 1 2-2h2"})}),_b=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M22 7H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h20a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1ZM1 21h22M1 3h22"})}),QD=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M7 19.5v-6.25M7 7v6.25m0 0h10M17 7v12.5"})}),BD=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M4 22V12M4 2v10m0 0h16m0-10v20"})}),t_=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m8 6-6 6 6 6m8-12 6 6-6 6"})}),n_=e=>v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20.8 2H3.2C1.985 2 1 2.895 1 4v16c0 1.105.985 2 2.2 2h17.6c1.215 0 2.2-.895 2.2-2V4c0-1.105-.985-2-2.2-2Z"}),v.jsx("path",{fill:"currentColor",d:"m19.642 16.276-3.85-7a.517.517 0 0 0-.181-.189.585.585 0 0 0-.749.115l-4.533 5.494-2.307-2.516a.548.548 0 0 0-.206-.14.598.598 0 0 0-.499.031.529.529 0 0 0-.183.164l-2.75 4a.468.468 0 0 0-.015.507.526.526 0 0 0 .202.189c.084.045.18.069.28.069H19.15a.594.594 0 0 0 .268-.063.532.532 0 0 0 .2-.174.462.462 0 0 0 .024-.487ZM9.25 9c.911 0 1.65-.672 1.65-1.5S10.161 6 9.25 6c-.91 0-1.65.672-1.65 1.5S8.34 9 9.25 9Z"})]}),cv=e=>v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M4 12h16m-4-4 4 4-4 4m-8 0-4-4 4-4"}),v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeOpacity:.5,d:"M1 3v18M23 3v18"})]}),i_=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",...e,children:v.jsxs("g",{strokeLinecap:"round",strokeWidth:2,fill:"none",stroke:"currentColor",strokeLinejoin:"round",className:"nc-icon-wrapper",children:[v.jsx("circle",{cx:18,cy:16,r:4}),v.jsx("path",{"data-cap":"butt",d:"M20.849 33.164 33 20l13 13M2 38l12-11 10 9"}),v.jsx("path",{d:"M2 6h44v36H2z"})]})}),fv=e=>v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M23 8H1v8h22V8Z"}),v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeOpacity:.5,d:"M1 21h22M1 3h22"})]}),hv=e=>v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M23 8H1v8h22V8Z"}),v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeOpacity:.5,d:"M8 21h8M8 3h8"})]}),WD=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M22 2h-9.333m-1.334 20H2m4.667 0L17.333 2"})}),r_=e=>v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M13.54 10.46c2.2 2.2 2.2 5.61 0 7.81l-3.08 3.08c-2.2 2.2-5.61 2.2-7.81 0-2.2-2.2-2.2-5.61 0-7.81L5.4 10.9"}),v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M10.46 13.54c-2.2-2.2-2.2-5.61 0-7.81l3.08-3.08c2.2-2.2 5.61-2.2 7.81 0 2.2 2.2 2.2 5.61 0 7.81L18.6 13.1"})]}),a_=e=>v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 25 24",...e,children:[v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 6v12m-3-2 2.813 2.813L23.625 16"}),v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M14 19V6h-1L8 18.071H7L2 6H1v13"})]}),DU=e=>v.jsxs("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[v.jsx("path",{d:"M32 16C32 24.8361 24.8361 32 16 32C7.16394 32 0 24.8361 0 16C0 7.16394 7.16394 0 16 0C24.8379 0 32 7.16394 32 16Z",fill:"#2081E2"}),v.jsx("path",{d:"M7.89371 16.5376L7.96274 16.4291L12.125 9.91784C12.1858 9.82251 12.3288 9.83236 12.3748 9.93592C13.0702 11.4943 13.6702 13.4324 13.3891 14.639C13.2691 15.1354 12.9403 15.8078 12.5704 16.4291C12.5228 16.5196 12.4702 16.6083 12.4143 16.6938C12.388 16.7333 12.3436 16.7563 12.2959 16.7563H8.01534C7.90027 16.7563 7.83288 16.6313 7.89371 16.5376Z",fill:"white"}),v.jsx("path",{d:"M26.4461 17.7475V18.7782C26.4461 18.8374 26.4099 18.89 26.3573 18.913C26.0351 19.0511 24.9321 19.5574 24.4734 20.1952C23.303 21.8242 22.4088 24.1536 20.4098 24.1536H12.0706C9.11495 24.1536 6.71985 21.7503 6.71985 18.7848V18.6894C6.71985 18.6105 6.78394 18.5464 6.86286 18.5464H11.5117C11.6037 18.5464 11.6711 18.6319 11.6629 18.7223C11.63 19.0248 11.6859 19.3338 11.8289 19.6149C12.1051 20.1755 12.6772 20.5256 13.2952 20.5256H15.5966V18.7289H13.3215C13.2048 18.7289 13.1358 18.5941 13.2032 18.4987C13.2278 18.4609 13.2558 18.4215 13.2854 18.3771C13.5007 18.0714 13.8081 17.5963 14.1139 17.0555C14.3227 16.6905 14.5248 16.3009 14.6876 15.9097C14.7205 15.839 14.7468 15.7666 14.7731 15.696C14.8174 15.571 14.8635 15.4543 14.8964 15.3376C14.9293 15.239 14.9555 15.1354 14.9818 15.0384C15.0591 14.7064 15.092 14.3546 15.092 13.9897C15.092 13.8467 15.0854 13.697 15.0723 13.554C15.0657 13.3979 15.046 13.2417 15.0262 13.0855C15.0131 12.9474 14.9884 12.811 14.9621 12.668C14.9293 12.4592 14.8832 12.2521 14.8306 12.0433L14.8125 11.9644C14.7731 11.8214 14.7402 11.685 14.6942 11.542C14.5643 11.0932 14.4147 10.6559 14.2569 10.2466C14.1994 10.0839 14.1336 9.92771 14.0678 9.77155C13.9709 9.53647 13.8722 9.32278 13.7818 9.12057C13.7358 9.02851 13.6964 8.94467 13.6569 8.85919C13.6125 8.7622 13.5665 8.66521 13.5205 8.57318C13.4876 8.50249 13.4498 8.43673 13.4235 8.37097L13.1424 7.85151C13.1029 7.78083 13.1687 7.69699 13.2459 7.71836L15.0049 8.19507H15.0098C15.0131 8.19507 15.0147 8.19673 15.0164 8.19673L15.2481 8.26083L15.503 8.33318L15.5966 8.35945V7.31398C15.5966 6.80931 16.001 6.39999 16.5008 6.39999C16.7506 6.39999 16.9775 6.50191 17.1402 6.66793C17.303 6.83398 17.4049 7.06083 17.4049 7.31398V8.86579L17.5923 8.91836C17.6071 8.92332 17.6219 8.92988 17.635 8.93974C17.6811 8.97427 17.7468 9.02521 17.8306 9.08771C17.8964 9.14028 17.9671 9.20441 18.0526 9.27017C18.2219 9.40659 18.4241 9.58249 18.646 9.7847C18.7052 9.83564 18.7627 9.88825 18.8153 9.94086C19.1014 10.2072 19.4219 10.5195 19.7277 10.8647C19.8131 10.9617 19.897 11.0603 19.9824 11.1639C20.0679 11.2691 20.1583 11.3726 20.2372 11.4762C20.3408 11.6143 20.4526 11.7573 20.5496 11.9069C20.5956 11.9776 20.6482 12.0499 20.6926 12.1206C20.8175 12.3096 20.9277 12.5053 21.0329 12.7009C21.0773 12.7913 21.1233 12.8899 21.1627 12.9869C21.2794 13.2483 21.3715 13.5146 21.4307 13.7809C21.4487 13.8384 21.4619 13.9009 21.4685 13.9568V13.9699C21.4882 14.0488 21.4948 14.1327 21.5014 14.2181C21.5277 14.491 21.5145 14.7639 21.4553 15.0384C21.4307 15.1552 21.3978 15.2653 21.3583 15.382C21.3189 15.4938 21.2794 15.6105 21.2285 15.7206C21.1299 15.9491 21.0131 16.1776 20.875 16.3913C20.8307 16.4702 20.7781 16.5541 20.7254 16.633C20.6679 16.7168 20.6087 16.7957 20.5561 16.873C20.4838 16.9716 20.4066 17.0752 20.3277 17.1672C20.257 17.2642 20.1846 17.3612 20.1057 17.4467C19.9956 17.5765 19.8904 17.6998 19.7802 17.8182C19.7145 17.8954 19.6438 17.9744 19.5715 18.045C19.5008 18.1239 19.4285 18.1946 19.3627 18.2604C19.2526 18.3705 19.1605 18.456 19.0832 18.5267L18.9024 18.6927C18.8761 18.7157 18.8416 18.7289 18.8054 18.7289H17.4049V20.5256H19.1671C19.5616 20.5256 19.9364 20.3859 20.2389 20.1294C20.3424 20.039 20.7945 19.6478 21.3287 19.0577C21.3468 19.0379 21.3699 19.0231 21.3962 19.0166L26.2636 17.6094C26.354 17.5831 26.4461 17.6522 26.4461 17.7475Z",fill:"white"})]}),s_=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:v.jsxs("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,children:[v.jsx("circle",{cx:12,cy:13,r:2}),v.jsx("circle",{cx:3,cy:13,r:2}),v.jsx("circle",{cx:21,cy:13,r:2})]})}),_w=e=>v.jsx("svg",{width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:v.jsx("g",{fill:"none",fillRule:"evenodd",children:v.jsx("path",{d:"M12 1.5v21M1.5 12h21",strokeLinecap:"round",strokeLinejoin:"round"})})}),o_=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:v.jsxs("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,children:[v.jsx("path",{d:"M1.373 13.183a2.064 2.064 0 0 1 0-2.366C2.946 8.59 6.819 4 12 4s9.054 4.59 10.627 6.817a2.064 2.064 0 0 1 0 2.366C21.054 15.41 17.181 20 12 20s-9.054-4.59-10.627-6.817Z"}),v.jsx("circle",{cx:12,cy:12,r:4})]})}),l_=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:v.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m12 2.489 3.09 6.262L22 9.755l-5 4.874 1.18 6.882-6.18-3.25-6.18 3.25L7 14.629 2 9.755l6.91-1.004L12 2.489z"})}),HD=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M1 12h8v10H1V12Zm0 0C1 5 2.75 3.344 6 2m8 10h8v10h-8V12Zm0 0c0-7 1.75-8.656 5-10"})}),UD=e=>v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 22H10a5 5 0 0 1-5-5v-7"}),v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"m1 14 4-4 4 4m1.5-12H14a5 5 0 0 1 5 5v7"}),v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"m23 10-4 4-4-4"})]}),qD=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M22 13.667V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h9.667M22 13.667 13.667 22M22 13.667h-6.333a2 2 0 0 0-2 2V22"})}),Sb=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M22 13.667V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h9.667M22 13.667 13.667 22M22 13.667h-6.333a2 2 0 0 0-2 2V22"})}),ZD=e=>v.jsx("svg",{width:32,height:32,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",...e,children:v.jsx("path",{d:"M15.924 9.922c-.236 0-.43.194-.434.433l-.177 8.866.178 3.218c.003.235.197.43.433.43s.43-.195.433-.433v.004l.193-3.219-.193-8.867c-.003-.238-.197-.432-.433-.432zm12.14 5.102c-.54 0-1.054.11-1.522.306C26.228 11.783 23.254 9 19.625 9c-.887 0-1.753.175-2.517.47-.298.115-.377.234-.38.463v12.492c.004.242.19.442.426.466l10.91.006c2.174 0 3.936-1.762 3.936-3.936s-1.762-3.937-3.936-3.937zM10.886 22.56v-.002l.226-3.338-.226-7.276c-.006-.181-.148-.323-.325-.323-.176 0-.319.142-.324.323l-.202 7.276.202 3.34c.005.178.148.32.324.32.177 0 .318-.142.325-.321v.001zm-2.952.32c.144 0 .262-.117.27-.267l.264-3.394-.265-6.497c-.007-.15-.125-.267-.27-.267-.144 0-.263.117-.269.267l-.234 6.497.234 3.395c.006.149.125.266.27.266zm5.297-10.868c-.209 0-.375.166-.38.377l-.169 6.832.17 3.287c.004.21.17.375.379.375.207 0 .373-.166.378-.377v.002l.19-3.287-.19-6.832c-.005-.211-.17-.377-.378-.377zM2.802 22.657c.083 0 .15-.066.16-.156l.34-3.286-.34-3.41c-.01-.091-.077-.157-.16-.157-.084 0-.152.066-.16.157l-.299 3.41.299 3.285c.008.091.076.157.16.157zm2.546.188c.113 0 .206-.092.214-.212l.302-3.418-.302-3.25c-.008-.12-.1-.211-.214-.211-.116 0-.208.09-.216.212l-.266 3.25.266 3.417c.008.12.1.212.216.212zm6.543.03c.191 0 .346-.154.351-.35v.003l.209-3.309-.209-7.09c-.005-.196-.16-.35-.351-.35-.193 0-.348.154-.352.35l-.185 7.09.185 3.308c.004.194.159.348.352.348zm2.69.013c.22 0 .401-.181.405-.404v.002-.002l.172-3.263-.172-8.13c-.004-.223-.186-.405-.406-.405-.22 0-.403.182-.406.405l-.153 8.127.153 3.268c.003.22.186.402.406.402zm-5.338-.016c.16 0 .29-.129.296-.294l.246-3.36-.246-7.039c-.006-.165-.137-.294-.296-.294-.162 0-.292.13-.297.295l-.218 7.038.218 3.361c.005.164.135.293.297.293zM4.07 15.527c-.1 0-.18.08-.188.185L3.6 19.215l.282 3.39c.008.104.089.184.188.184.098 0 .178-.08.187-.184l.32-3.39-.32-3.504c-.009-.104-.09-.184-.187-.184zm2.565-1.837c-.129 0-.235.105-.242.24l-.25 5.287.25 3.417c.007.133.113.239.242.239s.235-.106.243-.24v.001l.283-3.417-.283-5.288c-.008-.134-.114-.24-.243-.24zm-4.957 2.65c-.01-.076-.066-.129-.133-.129-.068 0-.124.055-.133.13l-.315 2.873.315 2.81c.01.076.065.13.133.13.067 0 .122-.053.133-.129l.358-2.81-.358-2.874zm-1.316.972c-.067 0-.12.052-.128.125L0 19.214l.234 1.747c.009.074.061.125.128.125.065 0 .117-.05.128-.124l.277-1.748-.277-1.778c-.01-.073-.063-.124-.128-.124z",fill:"#EE7C25",fillRule:"evenodd"})}),XD=e=>v.jsx("svg",{width:32,height:32,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",...e,children:v.jsx("path",{d:"M16 .053C7.19.053.047 7.194.047 16.003c0 8.81 7.142 15.951 15.951 15.951 8.81 0 15.951-7.14 15.951-15.95C31.95 7.194 24.81.054 16 .054V.053zm7.314 23.005c-.285.469-.899.618-1.367.33-3.745-2.288-8.46-2.806-14.013-1.537-.535.122-1.068-.213-1.19-.749-.122-.535.212-1.068.748-1.19 6.076-1.389 11.288-.79 15.493 1.779.468.287.617.899.33 1.367zm1.953-4.343c-.36.585-1.126.77-1.71.41-4.288-2.636-10.824-3.4-15.896-1.86-.657.199-1.352-.172-1.552-.828-.198-.658.173-1.351.83-1.551 5.793-1.758 12.994-.907 17.918 2.12.585.36.77 1.125.41 1.709zm.167-4.523c-5.14-3.054-13.623-3.334-18.531-1.845-.788.24-1.622-.205-1.86-.994-.24-.788.205-1.621.994-1.86 5.634-1.711 15.001-1.38 20.92 2.133.71.42.943 1.336.522 2.044-.42.71-1.337.943-2.044.522z",fill:"#1ED760",fillRule:"nonzero"})}),d_=e=>v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20.8 2H3.2C1.985 2 1 2.895 1 4v16c0 1.105.985 2 2.2 2h17.6c1.215 0 2.2-.895 2.2-2V4c0-1.105-.985-2-2.2-2Z"}),v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M16.5 11 12 15l-4.5-4"})]}),AU=e=>v.jsx("svg",{width:32,height:32,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",...e,children:v.jsx("path",{d:"M10.063 29.002c12.076 0 18.68-10.005 18.68-18.68 0-.285 0-.567-.019-.85C30.01 8.545 31.12 7.393 32 6.076c-1.198.53-2.47.879-3.77 1.032 1.37-.82 2.395-2.11 2.886-3.63-1.29.764-2.7 1.303-4.17 1.593-2.035-2.164-5.268-2.694-7.887-1.292-2.62 1.401-3.973 4.386-3.3 7.28-5.28-.265-10.198-2.758-13.532-6.86-1.742 3-.852 6.838 2.033 8.764-1.045-.03-2.067-.313-2.98-.822v.084c0 3.125 2.204 5.817 5.267 6.435-.966.264-1.98.303-2.964.113.86 2.675 3.325 4.507 6.133 4.56-2.324 1.827-5.196 2.818-8.153 2.815-.522 0-1.044-.032-1.563-.094 3.002 1.927 6.496 2.949 10.063 2.944",fill:"#1DA1F2",fillRule:"nonzero"})}),VD=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 122.43 122.41",...e,children:v.jsx("path",{d:"M83.86 54.15v34.13H38.57V54.15H0v68.26h122.43V54.15H83.86zM38.57 0h45.3v34.13h-45.3z"})}),u_=e=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:v.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6.555 20.963A1 1 0 0 1 5 20.131V3.87a1 1 0 0 1 1.555-.833l12.197 8.132a1 1 0 0 1 0 1.664l-12.197 8.13Z"})}),YD=e=>v.jsx("svg",{width:32,height:32,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",...e,children:v.jsxs("g",{fill:"none",fillRule:"evenodd",children:[v.jsx("path",{d:"M31.886 25.508c0 3.522-2.855 6.377-6.377 6.377H6.377C2.857 31.885 0 29.03 0 25.508V6.378C0 2.854 2.857 0 6.377 0H25.51c3.522 0 6.377 2.855 6.377 6.377v19.131",fill:"#0FB7FF"}),v.jsx("path",{d:"M25.998 10.58c.175-.982.17-1.992-.436-2.755-.846-1.07-2.646-1.11-3.88-.921-1.003.153-4.397 1.651-5.552 5.236 2.046-.156 3.118.148 2.921 2.4-.082.943-.558 1.976-1.09 2.966-.614 1.141-1.765 3.382-3.274 1.767-1.36-1.454-1.257-4.235-1.568-6.086-.173-1.04-.356-2.334-.697-3.402-.293-.92-.966-2.027-1.788-2.267-.884-.26-1.976.146-2.618.523-2.042 1.2-3.598 2.908-5.365 4.317v.132c.35.335.444.884.96.959 1.216.179 2.375-1.134 3.184.232.492.834.645 1.749.96 2.648.42 1.198.746 2.503 1.09 3.88.583 2.334 1.299 5.82 3.316 6.675 1.029.437 2.575-.148 3.358-.612 2.122-1.255 3.775-3.075 5.19-4.927 3.234-4.382 5.019-9.347 5.289-10.765",fill:"#FFFFFE"})]})}),GD=e=>v.jsx("svg",{width:32,height:32,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",...e,children:v.jsxs("g",{fill:"none",fillRule:"evenodd",children:[v.jsx("path",{d:"M31.252 8.488c-.366-1.37-1.448-2.452-2.824-2.823C25.941 5 15.958 5 15.958 5s-9.977 0-12.47.665c-1.37.366-2.452 1.447-2.823 2.823C0 10.976 0 16.17 0 16.17s0 5.194.665 7.682c.366 1.372 1.447 2.453 2.823 2.823 2.493.666 12.47.666 12.47.666s9.983 0 12.47-.666c1.372-.365 2.453-1.447 2.824-2.823.665-2.488.665-7.682.665-7.682s0-5.194-.665-7.682",fill:"#D9252A"}),v.jsx("path",{fill:"#FFFFFE",d:"M12.77 20.958l8.291-4.788-8.291-4.788v9.576"})]})}),kke=()=>{return v.jsxs("div",{className:"koenig-lexical",children:[v.jsx(e,{label:"Text toolbar"}),v.jsx(t,{}),v.jsx(e,{label:"Image toolbar"}),v.jsx(n,{}),v.jsx(e,{label:"Gallery toolbar"}),v.jsx(i,{}),v.jsx(e,{label:"Plus menu"}),v.jsx(s,{}),v.jsx(e,{label:"Card menu"}),v.jsx(o,{}),v.jsx(e,{label:"Divider card"}),v.jsx("div",{className:"relative max-w-[740px]",children:v.jsx(f,{})}),v.jsx(e,{label:"Code block"}),v.jsx("div",{className:"relative max-w-[740px]",children:v.jsx(p,{})}),v.jsx(e,{label:"Image card"}),v.jsx("div",{className:"relative max-w-[740px]",children:v.jsx(m,{})}),v.jsx(e,{label:"Gallery card"}),v.jsx("div",{className:"relative max-w-[1172px]",children:v.jsx(k,{})})]});function e({label:S}){return v.jsx("h3",{className:"mb-4 mt-20 text-xl font-bold first-of-type:mt-8",children:S})}function t(){return v.jsx("div",{className:"max-w-fit",children:v.jsxs("ul",{className:"m-0 flex items-center justify-evenly rounded bg-black px-1 py-0 font-sans text-md font-normal text-white",children:[v.jsx(r,{Icon:LD,label:"Format text as bold"}),v.jsx(r,{Icon:WD,label:"Format text as italics"}),v.jsx(r,{Icon:BD,label:"Toggle heading 1"}),v.jsx(r,{Icon:QD,label:"Toggle heading 2"}),v.jsx(a,{}),v.jsx(r,{Icon:HD,label:"Toggle blockquote"}),v.jsx(r,{Icon:r_,label:"Insert link"}),v.jsx(a,{}),v.jsx(r,{Icon:Sb,label:"Save as snippet"})]})})}function n(){return v.jsx("div",{className:"max-w-fit",children:v.jsxs("ul",{className:"m-0 flex items-center justify-evenly rounded bg-black px-1 py-0 font-sans text-md font-normal text-white",children:[v.jsx(r,{Icon:fv,label:"Set image to regular"}),v.jsx(r,{Icon:hv,label:"Set image to wide"}),v.jsx(r,{Icon:cv,label:"Set image to full"}),v.jsx(a,{}),v.jsx(r,{Icon:r_,label:"Insert link"}),v.jsx(r,{Icon:UD,label:"Replace image"}),v.jsx(a,{}),v.jsx(r,{Icon:Sb,label:"Save as snippet"})]})})}function i(){return v.jsx("div",{className:"max-w-fit",children:v.jsxs("ul",{className:"m-0 flex items-center justify-evenly rounded bg-black px-1 py-0 font-sans text-md font-normal text-white",children:[v.jsx(r,{Icon:ID,label:"Add image"}),v.jsx(a,{}),v.jsx(r,{Icon:Sb,label:"Save as snippet"})]})})}function r({label:S,Icon:C,...T}){return v.jsx("li",{className:"m-0 flex p-0 first:m-0",...T,children:v.jsx("div",{className:"flex size-9 items-center justify-center",type:"button",children:v.jsx(C,{className:"fill-white"})})})}function a(){return v.jsx("li",{className:"m-0 mx-1 h-5 w-px bg-grey-900"})}function s(){return v.jsx("button",{"aria-label":"Add a card",className:"group relative flex size-7 cursor-pointer items-center justify-center rounded-full border border-grey bg-white transition-all ease-linear hover:border-grey-900 md:size-9",type:"button",children:v.jsx(_w,{className:"size-4 stroke-grey-800 stroke-2 group-hover:stroke-grey-900"})})}function o(){return v.jsxs("div",{className:"z-[9999999] m-0 mb-3 max-h-[376px] w-[312px] flex-col overflow-y-auto rounded-lg bg-white bg-clip-padding p-0 text-sm shadow",children:[v.jsx(l,{label:"Primary"}),v.jsx(u,{desc:"Upload, or embed with /image [url]",Icon:n_,label:"Image"}),v.jsx(u,{desc:"Insert a Markdown editor card",Icon:a_,label:"Markdown"}),v.jsx(u,{desc:"Insert a raw HTML card",Icon:t_,label:"HTML"}),v.jsx(u,{desc:"Create an image gallery",Icon:e_,label:"Gallery"}),v.jsx(u,{desc:"Insert a dividing line",Icon:GO,label:"Divider"}),v.jsx(u,{desc:"Embed a link as a visual bookmark",Icon:XO,label:"Bookmark"}),v.jsx(u,{desc:"Only visible when delivered by email",Icon:KO,label:"Email content"}),v.jsx(u,{desc:"Target free or paid members with a CTA",Icon:Cg,label:"Email call to action"}),v.jsx(u,{desc:"Attract signups with a public intro",Icon:o_,label:"Public preview"}),v.jsx(u,{desc:"Add a button to your post",Icon:VO,label:"Button"}),v.jsx(u,{desc:"Info boxes that stand out",Icon:YO,label:"Callout"}),v.jsx(u,{desc:"Search and embed gifs",Icon:zD,label:"GIF"}),v.jsx(u,{desc:"Add collapsible content",Icon:d_,label:"Toggle"}),v.jsx(u,{desc:"Upload and play a video",Icon:u_,label:"Video"}),v.jsx(u,{desc:"Upload and play an audio file",Icon:ZO,label:"Audio"}),v.jsx(u,{desc:"Upload a downloadable file",Icon:JO,label:"File"}),v.jsx(u,{desc:"Add a product recommendation",Icon:l_,label:"Product"}),v.jsx(u,{desc:"Add a bold section header",Icon:_b,label:"Header"}),v.jsx(l,{label:"Embed"}),v.jsx(u,{desc:"/youtube [video url]",Icon:GD,label:"YouTube"}),v.jsx(u,{desc:"/twitter [tweet url]",Icon:AU,label:"Twitter"}),v.jsx(u,{desc:"/unsplash [search-term or url]",Icon:VD,label:"Unsplash"}),v.jsx(u,{desc:"/vimeo [video url]",Icon:YD,label:"Vimeo"}),v.jsx(u,{desc:"/codepen [pen url]",Icon:RD,label:"CodePen"}),v.jsx(u,{desc:"/spotify [track or playlist url]",Icon:XD,label:"Spotify"}),v.jsx(u,{desc:"/soundcloud [track or playlist url]",Icon:ZD,label:"SoundCloud"}),v.jsx(u,{desc:"/nft [opensea url]",Icon:DU,label:"NFT"}),v.jsx(u,{desc:"/embed [url]",Icon:s_,label:"Other..."}),v.jsx(l,{label:"Snippets"}),v.jsx(c,{Icon:qD,label:"A random snippet"})]})}function l({label:S,...C}){return v.jsx("div",{className:"mb-2 flex shrink-0 flex-col justify-center px-4 pt-3 text-2xs font-medium uppercase tracking-[.06rem] text-grey",style:{minWidth:"calc(100% - 3.2rem)"},...C,children:S})}function u({label:S,desc:C,Icon:T,...$}){return v.jsxs("div",{className:"flex cursor-pointer flex-row items-center border border-transparent px-4 py-2 text-grey-800 hover:bg-grey-100",...$,children:[v.jsx("div",{className:"flex items-center",children:v.jsx(T,{className:"size-7"})}),v.jsxs("div",{className:"flex flex-col",children:[v.jsx("div",{className:"m-0 ml-4 truncate text-[1.3rem] font-normal leading-[1.333em] tracking-[.02rem] text-grey-900",children:S}),v.jsx("div",{className:"m-0 ml-4 truncate text-2xs font-normal leading-[1.333em] tracking-[.02rem] text-grey",children:C})]})]})}function c({label:S,Icon:C,...T}){return v.jsxs("div",{className:"flex cursor-pointer flex-row items-center border border-transparent px-4 py-2 text-grey-800 hover:bg-grey-100",...T,children:[v.jsx("div",{className:"flex items-center",children:v.jsx(C,{className:"size-7"})}),v.jsx("div",{className:"flex flex-col",children:v.jsx("div",{className:"m-0 ml-4 truncate text-[1.3rem] font-normal leading-[1.333em] tracking-[.02rem] text-grey-900",children:S})})]})}function f(){return v.jsx("div",{children:v.jsx("hr",{className:"block h-[1px] border-0 border-t border-grey-300"})})}function p(){return v.jsxs("div",{className:"border-2 border-green",children:[v.jsx("div",{className:"rounded bg-grey-50 px-3 py-2",children:v.jsx("textarea",{className:"w-full resize-none bg-grey-50 font-mono text-[1.7rem]"})}),v.jsx(b,{placeholder:"Type caption for code block (optional)"})]})}function m(){let[S,C]=Se.useState(!1),[T,$]=Se.useState(!1),D=()=>{C(!S)},N=F=>{F.stopPropagation(),$(!T)};return S?v.jsxs("div",{className:`border border-transparent ${S?"shadow-[0_0_0_2px_#30cf43]":"hover:shadow-[0_0_0_1px_#30cf43]"}`,onClick:D,children:[v.jsx(g,{desc:"Click to select an image",Icon:i_}),v.jsx(b,{placeholder:"Type caption for image (optional)"}),v.jsx("button",{className:`absolute bottom-0 right-0 m-3 cursor-pointer rounded border px-1 text-[1.3rem] font-normal leading-7 tracking-wide transition-all duration-100 ${T?"border-green bg-green text-white":"border-grey text-grey"} `,type:"button",onClick:F=>N(F),children:"Alt"})]}):v.jsx("div",{className:`border border-transparent ${S?"shadow-[0_0_0_2px_#30cf43]":"hover:shadow-[0_0_0_1px_#30cf43]"}`,onClick:D,children:v.jsx(g,{desc:"Click to select an image",Icon:i_})})}function g({desc:S,Icon:C,...T}){return v.jsxs("div",{className:"relative",children:[v.jsx("figure",{className:"cursor-pointer border border-transparent",...T,children:v.jsx("div",{className:"h-100 relative flex items-center justify-center border border-grey-100 bg-grey-50 before:pb-[62.5%]",children:v.jsxs("button",{className:"group flex flex-col items-center justify-center p-20",type:"button",children:[v.jsx(C,{className:"size-32 opacity-80 transition-all ease-linear group-hover:scale-105 group-hover:opacity-100"}),v.jsx("p",{className:"mt-4 text-sm font-normal text-grey-700 group-hover:text-grey-800",children:S})]})})}),v.jsx("form",{children:v.jsx("input",{accept:"image/*",hidden:!0,name:"image",type:"file"})})]})}function b({placeholder:S}){return v.jsx("input",{className:"not-kg-prose w-full p-2 text-center font-sans text-sm font-normal tracking-wide text-grey-900",placeholder:S})}function k(){return v.jsxs("div",{className:"border-2 border-green",children:[v.jsx(g,{desc:"Click to select up to 9 images",Icon:FD}),v.jsx(b,{placeholder:"Type caption for gallery (optional)"})]})}},PU=fe((e=>{var t={},n={},i={},r={},a={},s={},o={},l={},u={},c={},f={},p={},m={},g={},b={},k={},S={},C={},T={},$={},D={},N={},F={},z={},ee={},q={},j={},U={},ae={},le={},Y={},me={},J={},X={},ie={},ue={};function ce(x){let O=new URLSearchParams;O.append("code",x);for(let E=1;E<arguments.length;E++)O.append("v",arguments[E]);throw Error(`Minified Lexical error #${x}; visit https://lexical.dev/docs/error?${O} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}var te=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,P=te&&"documentMode"in document?document.documentMode:null,L=te&&/Mac|iPod|iPhone|iPad/.test(navigator.platform),Z=te&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),oe=te&&"InputEvent"in window&&!P?"getTargetRanges"in new window.InputEvent("input"):!1,de=te&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),we=te&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,Ce=te&&/Android/.test(navigator.userAgent),Ne=te&&/^(?=.*Chrome).*/i.test(navigator.userAgent),Ee=te&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&!Ne,Ae=de||we||Ee?" ":"",Re=Z?" ":Ae,Ze=/^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u07ff\ufb1d-\ufdfd\ufe70-\ufefc]/,je=/^[^\u0591-\u07ff\ufb1d-\ufdfd\ufe70-\ufefc]*[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]/,Oe={bold:1,code:16,highlight:128,italic:2,strikethrough:4,subscript:32,superscript:64,underline:8},Le={directionless:1,unmergeable:2},K={center:2,end:6,justify:4,left:1,right:3,start:5},se={2:"center",6:"end",4:"justify",1:"left",3:"right",5:"start"},ge={normal:0,segmented:2,token:1},pe={0:"normal",2:"segmented",1:"token"},xe=!1,Pe=0;function $e(x){Pe=x.timeStamp}function De(x,O,E){return O.__lexicalLineBreak===x||x[`__lexicalKey_${E._key}`]!==void 0}function Qe(x){return x.getEditorState().read(()=>{let O=bn();return O===null?null:O.clone()})}function Ye(x,O,E){xe=!0;let A=100<performance.now()-Pe;try{ni(x,()=>{let W=bn()||Qe(x);var H=new Map,re=x.getRootElement(),he=x._editorState,_e=x._blockCursorElement;let Ie=!1,Ve="";for(var it=0;it<O.length;it++){var ze=O[it],Be=ze.type,mt=ze.target,St=mi(mt,he);if(!(St===null&&mt!==re||zn(St))){if(Be==="characterData"){if(ze=A&&wt(St))e:{ze=W,Be=mt;var Bt=St;if(Tt(ze)){var Wt=ze.anchor.getNode();if(Wt.is(Bt)&&ze.format!==Wt.getFormat()){ze=!1;break e}}ze=Be.nodeType===3&&Bt.isAttached()}ze&&(Bt=er(x._window),Be=ze=null,Bt!==null&&Bt.anchorNode===mt&&(ze=Bt.anchorOffset,Be=Bt.focusOffset),mt=mt.nodeValue,mt!==null&&vo(St,mt,ze,Be,!1))}else if(Be==="childList"){for(Ie=!0,Be=ze.addedNodes,Bt=0;Bt<Be.length;Bt++){Wt=Be[Bt];var yi=Qi(Wt),ga=Wt.parentNode;ga==null||Wt===_e||yi!==null||Wt.nodeName==="BR"&&De(Wt,ga,x)||(Z&&(yi=Wt.innerText||Wt.nodeValue)&&(Ve+=yi),ga.removeChild(Wt))}if(ze=ze.removedNodes,Be=ze.length,0<Be){for(Bt=0,Wt=0;Wt<Be;Wt++)ga=ze[Wt],(ga.nodeName==="BR"&&De(ga,mt,x)||_e===ga)&&(mt.appendChild(ga),Bt++);Be!==Bt&&(mt===re&&(St=he._nodeMap.get("root")),H.set(mt,St))}}}}if(0<H.size)for(let[za,gr]of H)if(Xe(gr))for(H=gr.getChildrenKeys(),re=za.firstChild,he=0;he<H.length;he++)_e=x.getElementByKey(H[he]),_e!==null&&(re==null?(za.appendChild(_e),re=_e):re!==_e&&za.replaceChild(_e,re),re=re.nextSibling);else wt(gr)&&gr.markDirty();if(H=E.takeRecords(),0<H.length){for(re=0;re<H.length;re++)for(_e=H[re],he=_e.addedNodes,_e=_e.target,it=0;it<he.length;it++)St=he[it],mt=St.parentNode,mt==null||St.nodeName!=="BR"||De(St,_e,x)||mt.removeChild(St);E.takeRecords()}W!==null&&(Ie&&(W.dirty=!0,Vr(W)),Z&&Ge(x)&&W.insertRawText(Ve))})}finally{xe=!1}}function bt(x){let O=x._observer;O!==null&&Ye(x,O.takeRecords(),O)}function Dt(x){Pe===0&&Dr(x).addEventListener("textInput",$e,!0),x._observer=new MutationObserver((O,E)=>{Ye(x,O,E)})}function Je(x,O){let E=x.__mode,A=x.__format;x=x.__style;let W=O.__mode,H=O.__format;return O=O.__style,(E===null||E===W)&&(A===null||A===H)&&(x===null||x===O)}function _t(x,O){let E=x.mergeWithSibling(O),A=hn()._normalizedNodes;return A.add(x.__key),A.add(O.__key),E}function kt(x){if(x.__text===""&&x.isSimpleText()&&!x.isUnmergeable())x.remove();else{for(var O;(O=x.getPreviousSibling())!==null&&wt(O)&&O.isSimpleText()&&!O.isUnmergeable();)if(O.__text==="")O.remove();else{Je(O,x)&&(x=_t(O,x));break}for(var E;(E=x.getNextSibling())!==null&&wt(E)&&E.isSimpleText()&&!E.isUnmergeable();)if(E.__text==="")E.remove();else{Je(x,E)&&_t(x,E);break}}}function Lt(x){return Zt(x.anchor),Zt(x.focus),x}function Zt(x){for(;x.type==="element";){var O=x.getNode(),E=x.offset;if(E===O.getChildrenSize()?(O=O.getChildAtIndex(E-1),E=!0):(O=O.getChildAtIndex(E),E=!1),wt(O)){x.set(O.__key,E?O.getTextContentSize():0,"text");break}else if(!Xe(O))break;x.set(O.__key,E?O.getChildrenSize():0,"element")}}var Ft=1,nn=typeof queueMicrotask=="function"?queueMicrotask:x=>{Promise.resolve().then(x)};function sn(x){let O=document.activeElement;if(O===null)return!1;let E=O.nodeName;return zn(mi(x))&&(E==="INPUT"||E==="TEXTAREA"||O.contentEditable==="true"&&O.__lexicalEditor==null)}function kn(x,O,E){let A=x.getRootElement();try{return A!==null&&A.contains(O)&&A.contains(E)&&O!==null&&!sn(O)&&ut(O)===x}catch{return!1}}function ut(x){for(;x!=null;){let O=x.__lexicalEditor;if(O!=null)return O;x=fn(x)}return null}function Fn(x){return x.isToken()||x.isSegmented()}function on(x){for(;x!=null;){if(x.nodeType===3)return x;x=x.firstChild}return null}function ln(x,O,E){let A=Oe[O];return E!==null&&(x&A)===(E&A)||(x^=A,O==="subscript"?x&=-65:O==="superscript"&&(x&=-33)),x}function cn(x,O){if(O!=null)x.__key=O;else{mr(),99<Jl&&ce(14),O=hn();var E=rs(),A=""+Ft++;E._nodeMap.set(A,x),Xe(x)?O._dirtyElements.set(A,!0):O._dirtyLeaves.add(A),O._cloneNotNeeded.add(A),O._dirtyType=1,x.__key=A}}function ua(x){var O=x.getParent();if(O!==null){let W=x.getWritable();O=O.getWritable();var E=x.getPreviousSibling();if(x=x.getNextSibling(),E===null)if(x!==null){var A=x.getWritable();O.__first=x.__key,A.__prev=null}else O.__first=null;else{if(A=E.getWritable(),x!==null){let H=x.getWritable();H.__prev=A.__key,A.__next=H.__key}else A.__next=null;W.__prev=null}x===null?E===null?O.__last=null:(x=E.getWritable(),O.__last=E.__key,x.__next=null):(x=x.getWritable(),E===null?x.__prev=null:(E=E.getWritable(),E.__next=x.__key,x.__prev=E.__key),W.__next=null),O.__size--,W.__parent=null}}function Gt(x){99<Jl&&ce(14);var O=x.getLatest(),E=O.__parent,A=rs();let W=hn(),H=A._nodeMap;if(A=W._dirtyElements,E!==null)e:for(;E!==null;){if(A.has(E))break e;let re=H.get(E);if(re===void 0)break;A.set(E,!1),E=re.__parent}O=O.__key,W._dirtyType=1,Xe(x)?A.set(O,!0):W._dirtyLeaves.add(O)}function At(x){mr();var O=hn();let E=O._compositionKey;x!==E&&(O._compositionKey=x,E!==null&&(O=mn(E),O!==null&&O.getWritable()),x!==null&&(x=mn(x),x!==null&&x.getWritable()))}function dn(){return ed()?null:hn()._compositionKey}function mn(x,O){return x=(O||rs())._nodeMap.get(x),x===void 0?null:x}function Qi(x,O){let E=hn();return x=x[`__lexicalKey_${E._key}`],x===void 0?null:mn(x,O)}function mi(x,O){for(;x!=null;){let E=Qi(x,O);if(E!==null)return E;x=fn(x)}return null}function Xr(x){return x._pendingDecorators=Object.assign({},x._decorators)}function go(x){return x.read(()=>xn().getTextContent())}function Na(x,O){ni(x,()=>{var E=rs();if(!E.isEmpty())if(O==="root")xn().markDirty();else{E=E._nodeMap;for(let[,A]of E)A.markDirty()}},x._pendingEditorState===null?{tag:"history-merge"}:void 0)}function xn(){return rs()._nodeMap.get("root")}function Vr(x){mr();let O=rs();x!==null&&(x.dirty=!0,x.setCachedNodes(null)),O._selection=x}function $a(x){var O=hn(),E;e:{for(E=x;E!=null;){let A=E[`__lexicalKey_${O._key}`];if(A!==void 0){E=A;break e}E=fn(E)}E=null}return E===null?(O=O.getRootElement(),x===O?mn("root"):null):mn(E)}function Wl(x){return/[\uD800-\uDBFF][\uDC00-\uDFFF]/g.test(x)}function _s(x){let O=[];for(;x!==null;)O.push(x),x=x._parentEditor;return O}function ca(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5)}function Hl(x,O,E){if(O=er(O._window),O!==null){var A=O.anchorNode,{anchorOffset:W,focusOffset:H}=O;if(A!==null&&(O=A.nodeType===3?A.nodeValue:null,A=mi(A),O!==null&&wt(A))){if(O===Ae&&E){let re=E.length;O=E,H=W=re}O!==null&&vo(A,O,W,H,x)}}}function vo(x,O,E,A,W){let H=x;if(H.isAttached()&&(W||!H.isDirty())){let Ie=H.isComposing(),Ve=O;if((Ie||W)&&O[O.length-1]===Ae&&(Ve=O.slice(0,-1)),O=H.getTextContent(),W||Ve!==O)if(Ve==="")if(At(null),de||we||Ee)H.remove();else{let it=hn();setTimeout(()=>{it.update(()=>{H.isAttached()&&H.remove()})},20)}else{W=H.getParent(),O=hl();var re=H.getTextContentSize(),he=dn(),_e=H.getKey();H.isToken()||he!==null&&_e===he&&!Ie||Tt(O)&&(W!==null&&!W.canInsertTextBefore()&&O.anchor.offset===0||O.anchor.key===x.__key&&O.anchor.offset===0&&!H.canInsertTextBefore()&&!Ie||O.focus.key===x.__key&&O.focus.offset===re&&!H.canInsertTextAfter()&&!Ie)?H.markDirty():(x=bn(),Tt(x)&&E!==null&&A!==null&&(x.setTextNodeRange(H,E,H,A),H.isSegmented()&&(E=H.getTextContent(),E=Ni(E),H.replace(E),H=E)),H.setTextContent(Ve))}}}function Kh(x,O){if(O.isSegmented())return!0;if(!x.isCollapsed())return!1;x=x.anchor.offset;let E=O.getParentOrThrow(),A=O.isToken();return x===0?((x=!O.canInsertTextBefore()||!E.canInsertTextBefore()||A)||(O=O.getPreviousSibling(),x=(wt(O)||Xe(O)&&O.isInline())&&!O.canInsertTextAfter()),x):x===O.getTextContentSize()?!O.canInsertTextAfter()||!E.canInsertTextAfter()||A:!1}function ns(x,O){x.__lexicalClassNameCache===void 0&&(x.__lexicalClassNameCache={});let E=x.__lexicalClassNameCache,A=E[O];return A===void 0?(x=x[O],typeof x=="string"?(x=x.split(" "),E[O]=x):x):A}function Da(x,O,E,A,W){E.size!==0&&(E=A.__type,A=A.__key,O=O.get(E),O===void 0&&ce(33,E),E=O.klass,O=x.get(E),O===void 0&&(O=new Map,x.set(E,O)),x=O.get(A),E=x==="destroyed"&&W==="created",(x===void 0||E)&&O.set(A,E?"updated":W))}function ou(x,O,E){let A=x.getParent(),W=E;return A!==null&&(O&&E===0?(W=x.getIndexWithinParent(),x=A):O||E!==x.getChildrenSize()||(W=x.getIndexWithinParent()+1,x=A)),x.getChildAtIndex(O?W-1:W)}function ke(x,O){var E=x.offset;return x.type==="element"?(x=x.getNode(),ou(x,O,E)):(x=x.getNode(),O&&E===0||!O&&E===x.getTextContentSize()?(E=O?x.getPreviousSibling():x.getNextSibling(),E===null?ou(x.getParentOrThrow(),O,x.getIndexWithinParent()+ +!O):E):null)}function Ge(x){return x=(x=Dr(x).event)&&x.inputType,x==="insertFromPaste"||x==="insertFromPasteAsQuotation"}function tt(x){return!ir(x)&&!x.isLastChild()&&!x.isInline()}function en(x,O){return x=x._keyToDOMMap.get(O),x===void 0&&ce(75,O),x}function fn(x){return x=x.assignedSlot||x.parentElement,x!==null&&x.nodeType===11?x.host:x}function On(x,O){for(x=x.getParent();x!==null;){if(x.is(O))return!0;x=x.getParent()}return!1}function Dr(x){return x=x._window,x===null&&ce(78),x}function gi(x){for(x=x.getParentOrThrow();x!==null&&!Ut(x);)x=x.getParentOrThrow();return x}function Ut(x){return ir(x)||Xe(x)&&x.isShadowRoot()}function et(x){return x=x.constructor.clone(x),cn(x,null),x}function Ar(x){var O=hn();let E=x.constructor.getType();return O=O._nodes.get(E),O===void 0&&ce(97),O=O.replace,O===null?x:(O=O(x),O instanceof x.constructor||ce(98),O)}function ll(x,O){x=x.getParent(),!ir(x)||Xe(O)||zn(O)||ce(99)}function fa(x){return(zn(x)||Xe(x)&&!x.canBeEmpty())&&!x.isInline()}function rn(x,O,E){E.style.removeProperty("caret-color"),O._blockCursorElement=null,O=x.parentElement,O!==null&&O.removeChild(x)}function er(x){return te?(x||window).getSelection():null}function bo(x){return x.nodeType===1}function yo(x){if(zn(x)&&!x.isInline())return!0;if(!Xe(x)||Ut(x))return!1;var O=x.getFirstChild();return O=O===null||cl(O)||wt(O)||O.isInline(),!x.isInline()&&x.canBeEmpty()!==!1&&O}function Ue(x,O){for(;x!==null&&x.getParent()!==null&&!O(x);)x=x.getParentOrThrow();return O(x)?x:null}function Pt(x,O,E,A,W,H){for(x=x.getFirstChild();x!==null;){let re=x.__key;x.__parent===O&&(Xe(x)&&Pt(x,re,E,A,W,H),E.has(re)||H.delete(re),W.push(re)),x=x.getNextSibling()}}function Jh(x,O,E,A){x=x._nodeMap,O=O._nodeMap;let W=[];for(let[H]of A){let re=O.get(H);re===void 0||re.isAttached()||(Xe(re)&&Pt(re,H,x,O,W,A),x.has(H)||A.delete(H),W.push(H))}for(let H of W)O.delete(H);for(let H of E)A=O.get(H),A===void 0||A.isAttached()||(x.has(H)||E.delete(H),O.delete(H))}var Xn="",Mi="",ha="",Ss,yt,lu,ep=!1,Ul=!1,Yr,du=null,$c,dl,Cs,Es,uu,ql;function cu(x,O){let E=Cs.get(x);if(O!==null){let A=np(x);A.parentNode===O&&O.removeChild(A)}Es.has(x)||yt._keyToDOMMap.delete(x),Xe(E)&&(x=ko(E,Cs),Dc(x,0,x.length-1,null)),E!==void 0&&Da(ql,lu,Yr,E,"destroyed")}function Dc(x,O,E,A){for(;O<=E;++O){let W=x[O];W!==void 0&&cu(W,A)}}function wo(x,O){x.setProperty("text-align",O)}function zv(x,O){var E=Ss.theme.indent;if(typeof E=="string"){let A=x.classList.contains(E);0<O&&!A?x.classList.add(E):1>O&&A&&x.classList.remove(E)}E=getComputedStyle(x).getPropertyValue("--lexical-indent-base-value")||"40px",x.style.setProperty("padding-inline-start",O===0?"":`calc(${O} * ${E})`)}function Qv(x,O){x=x.style,O===0?wo(x,""):O===1?wo(x,"left"):O===2?wo(x,"center"):O===3?wo(x,"right"):O===4?wo(x,"justify"):O===5?wo(x,"start"):O===6&&wo(x,"end")}function fu(x,O,E){let A=Es.get(x);A===void 0&&ce(60);let W=A.createDOM(Ss,yt);var H=yt._keyToDOMMap;if(W["__lexicalKey_"+yt._key]=x,H.set(x,W),wt(A)?W.setAttribute("data-lexical-text","true"):zn(A)&&W.setAttribute("data-lexical-decorator","true"),Xe(A)){if(x=A.__indent,H=A.__size,x!==0&&zv(W,x),H!==0){--H,x=ko(A,Es);var re=Mi;Mi="",Aa(x,A,0,H,W,null),hu(A,W),Mi=re}x=A.__format,x!==0&&Qv(W,x),A.isInline()||Wv(null,A,W),tt(A)&&(Xn+=`
|
|
2
2
|
|
|
3
3
|
`,ha+=`
|
|
4
4
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as r,z as l}from"./index-
|
|
1
|
+
import{j as r,z as l}from"./index-CYyEyBYw.js";import{M as i,T as n}from"./gh-chart-Xa6Nvzwz.js";const p=({children:s,className:e,...a})=>r.jsx("div",{className:l("flex flex-col border-r border-border last:border-none items-start gap-4 px-6 py-5 transition-all",e),...a,children:s}),m=({children:s,className:e,color:a,...t})=>r.jsxs("div",{className:l("flex h-[22px] items-center gap-1.5 text-base font-medium text-muted-foreground [&_svg]:size-4",e),...t,children:[a&&r.jsx("div",{className:"ml-1 size-2 rounded-full opacity-50",style:{backgroundColor:a}}),s]}),c=({value:s,diffDirection:e,diffValue:a,diffTooltip:t})=>{let d=null;return e&&e!=="hidden"&&(e==="empty"?d=r.jsx("div",{className:"flex h-[22px] items-center px-1.5 text-xs leading-none font-medium","data-testid":"kpi-card-header-diff",children:a}):d=r.jsx(n,{"data-testid":"kpi-card-header-diff",direction:e,tooltip:t,value:a??""})),r.jsx(i,{trailing:d,value:s,valueTestId:"kpi-card-header-value"})};export{p as K,m as a,c as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as a,z as o,B as s}from"./index-
|
|
1
|
+
import{j as a,z as o,B as s}from"./index-CYyEyBYw.js";const i=({children:e,className:r,...t})=>a.jsx("div",{className:o("flex flex-col",r),...t,children:e}),l=({children:e,className:r,...t})=>a.jsx("div",{className:o("[&_svg]:size-4 flex items-center gap-1.5 text-base h-[22px] font-medium transition-all",r,t.onClick&&"hover:cursor-pointer hover:text-black dark:hover:text-white"),...t,children:e}),d=({children:e,className:r,...t})=>a.jsx("div",{className:o("text-[26px] mt-0.5 tracking-tighter leading-none text-foreground font-semibold",r),...t,children:e}),c=({children:e,className:r,...t})=>a.jsx(s,{className:o("absolute right-4 top-4 z-50 hidden translate-x-10 text-black dark:text-white/80 dark:hover:text-white opacity-0 transition-all duration-200 group-hover:translate-x-0 group-hover:opacity-100 md:visible! md:block!",r),size:"sm",variant:"outline",...t,children:e}),x=({children:e,className:r,...t})=>a.jsx("div",{className:o("group relative isolate flex flex-col border-r border-border last:border-none items-start gap-2 px-6 py-5 transition-all text-muted-foreground",t.onClick?"hover:bg-accent/50 hover:text-foreground cursor-pointer":"cursor-auto",r),...t,children:e});export{x as K,l as a,i as b,d as c,c as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e,z as d,r as t,B as m}from"./index-
|
|
1
|
+
import{j as e,z as d,r as t,B as m}from"./index-CYyEyBYw.js";import{M as T,T as x,L as f}from"./gh-chart-Xa6Nvzwz.js";import{b as g,T as j,a as K,c as N}from"./tabs-CjdKssUe.js";const v=t.forwardRef(({...a},s)=>e.jsx(j,{ref:s,variant:"kpis",...a}));v.displayName="KpiTabs";const w=t.forwardRef((a,s)=>e.jsx(K,{ref:s,...a}));w.displayName="KpiTabsList";const y=t.forwardRef((a,s)=>e.jsx(N,{ref:s,...a}));y.displayName="KpiTabsContent";const R=({children:a,...s})=>e.jsx(g,{className:"h-auto",...s,children:a}),z=({color:a,icon:s,label:o,value:r,diffDirection:n,diffValue:p,className:u,"data-testid":i})=>{const l=s?f[s]:null,c=e.jsxs("span",{className:"flex items-center gap-1.5 transition-all group-hover:text-foreground","data-type":"value",children:[a&&e.jsx("div",{className:"ml-1 size-2 rounded-full opacity-50",style:{backgroundColor:a}}),l&&e.jsx(l,{size:16,strokeWidth:1.5}),o]}),b=n&&n!=="hidden"?e.jsx(x,{className:"mt-0.5","data-testid":i?`${i}-diff`:void 0,direction:n,value:p??""}):null;return e.jsx(T,{className:d("group",u),label:c,size:"lg",trailing:b,value:r,valueTestId:i})},h=t.forwardRef(({variant:a="dropdown",className:s,...o},r)=>e.jsx(m,{ref:r,className:d("h-auto w-full rounded-none border-x-0 border-t-0 focus-visible:ring-0 bg-transparent py-5",s),variant:a,...o}));h.displayName="KpiDropdownButton";export{R as K,z as a,h as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as N,j as s,bM as w,bN as T,B as y,bO as D,bP as C,bQ as L,bR as S,a_ as E,bS as O,ap as h,ao as g,bT as M,bU as $,r as I,b2 as G,aM as q,aO as F,aN as U,b7 as k}from"./index-
|
|
1
|
+
import{t as N,j as s,bM as w,bN as T,B as y,bO as D,bP as C,bQ as L,bR as S,a_ as E,bS as O,ap as h,ao as g,bT as M,bU as $,r as I,b2 as G,aM as q,aO as F,aN as U,b7 as k}from"./index-CYyEyBYw.js";import{S as K}from"./source-icon-27VIJSXr.js";import{p as W,e as Q}from"./source-utils-B1S3ZHA2.js";import{C as H,a as J,b as X,g as Y,c as P,h as Z,T as ss}from"./pagemenu-BXrHWtsU.js";import{D as es,h as as,i as V,a as ts,b as rs,c as is,d as ls,e as ns,f as cs,g as os}from"./data-list-WxXC0iKE.js";import{S as ds,u as ms}from"./post-analytics-context-DekYNlb3.js";import{A as us}from"./arrow-right-B2j-ecEK.js";import{T as hs,a as xs}from"./tabs-CjdKssUe.js";import{G as ps}from"./gh-chart-Xa6Nvzwz.js";import{K as _,a as x,b as vs}from"./kpi-tabs-DZw2Qktb.js";const js=i=>{const a=Object.values(ds).find(l=>l.value===i);return a?["Last 7 days","Last 30 days","Last 90 days","Last 12 months"].includes(a.name)?`in the ${a.name.toLowerCase()}`:a.name==="All time"?"(all time)":a.name.toLowerCase():""},R="https://www.google.com/s2/favicons?domain=ghost.org&sz=64",p=({dataTableHeader:i,data:a,defaultSourceIconUrl:l=R,onSourceClick:o})=>s.jsxs(es,{children:[i&&s.jsxs(as,{children:[s.jsx(V,{children:"Source"}),s.jsx(V,{children:"Visitors"})]}),s.jsx(ts,{children:a?.map(e=>{const r=!!o,c=e.source?e.source.toLowerCase().replace(/[^a-z0-9]/g,"-"):"direct";return s.jsxs(rs,{className:`group/row ${r?"cursor-pointer":""}`,"data-testid":`source-row-${c}`,onClick:r?()=>o(e.source):void 0,children:[s.jsx(is,{style:{width:`${e.percentage?Math.round(e.percentage*100):0}%`}}),s.jsx(ls,{className:"group-hover/datalist:max-w-[calc(100%-140px)]",children:s.jsx("div",{className:"flex items-center space-x-4 overflow-hidden",children:s.jsx("div",{className:"truncate font-medium",children:e.linkUrl&&!o?s.jsxs("a",{className:"group/link flex items-center gap-2",href:e.linkUrl,rel:"noreferrer",target:"_blank",children:[s.jsx(K,{defaultSourceIconUrl:l,displayName:e.displayName,iconSrc:e.iconSrc}),s.jsx("span",{className:"group-hover/link:underline",children:e.displayName})]}):s.jsxs("span",{className:"flex items-center gap-2",children:[s.jsx(K,{defaultSourceIconUrl:l,displayName:e.displayName,iconSrc:e.iconSrc}),s.jsx("span",{children:e.displayName})]})})})}),s.jsxs(ns,{children:[s.jsx(cs,{children:h(e.visits)}),s.jsx(os,{children:g(e.percentage||0)})]})]},e.source)})})]}),ks=({data:i,range:a=30,totalVisitors:l=0,siteUrl:o,siteIcon:e,defaultSourceIconUrl:r=R,tableOnly:c=!1,topSourcesLimit:n=10,onSourceClick:t})=>{const{isPostLoading:m}=ms(),u=N.useMemo(()=>W({data:i,mode:"visits",siteUrl:o,siteIcon:e,defaultSourceIconUrl:r}),[i,o,e,r]),d=N.useMemo(()=>Q({processedData:u,totalVisitors:l,mode:"visits"}),[u,l]),f=d.slice(0,n),v="Top sources",j=`How readers found this post ${a&&` ${js(a)}`}`;if(c){const z=d.slice(0,n),B=d.length>n;return s.jsxs("div",{children:[s.jsx(p,{data:z,dataTableHeader:!1,defaultSourceIconUrl:r,range:a,onSourceClick:t}),B&&s.jsx("div",{className:"mt-4",children:s.jsxs(w,{children:[s.jsx(T,{asChild:!0,children:s.jsxs(y,{className:"w-full",size:"sm",variant:"outline",children:["View all (",d.length,") ",s.jsx(us,{size:14})]})}),s.jsxs(D,{className:"overflow-y-auto pt-0 sm:max-w-[600px]",children:[s.jsxs(C,{className:"sticky top-0 z-40 -mx-6 bg-background/60 p-6 backdrop-blur",children:[s.jsx(L,{children:v}),s.jsx(S,{children:j})]}),s.jsx("div",{className:"group/datalist",children:s.jsx(p,{data:d,dataTableHeader:!0,defaultSourceIconUrl:r,range:a,onSourceClick:t})})]})]})})]})}const A=m;return s.jsxs(H,{className:"group/datalist","data-testid":"top-sources-card",children:[s.jsxs("div",{className:"flex items-center justify-between p-6",children:[s.jsxs(J,{className:"p-0",children:[s.jsx(X,{children:v}),s.jsx(Y,{children:j})]}),s.jsx(E,{className:"mr-2",children:"Visitors"})]}),s.jsxs(P,{className:"overflow-hidden",children:[s.jsx("div",{className:"h-[1px] w-full bg-border"}),A?s.jsx(O,{lines:5}):f.length>0?s.jsx(p,{data:f,dataTableHeader:!1,defaultSourceIconUrl:r,range:a,onSourceClick:t}):s.jsx("div",{className:"py-20 text-center text-sm text-gray-700",children:"No sources data available."})]}),d.length>10&&s.jsx(Z,{children:s.jsxs(w,{children:[s.jsx(T,{asChild:!0,children:s.jsxs(y,{variant:"outline",children:["View all ",s.jsx(ss,{})]})}),s.jsxs(D,{className:"overflow-y-auto pt-0 sm:max-w-[600px]",children:[s.jsxs(C,{className:"sticky top-0 z-40 -mx-6 bg-background/60 p-6 backdrop-blur",children:[s.jsx(L,{children:v}),s.jsx(S,{children:j})]}),s.jsx("div",{className:"group/datalist",children:s.jsx(p,{data:d,dataTableHeader:!0,defaultSourceIconUrl:r,range:a,onSourceClick:t})})]})]})})]})},bs=i=>{if(!i?.length)return{visits:"0",views:"0",bounceRate:"0%",duration:"0s"};const a=n=>{const t=Number(n);return isNaN(t)?0:t},l=i.reduce((n,t)=>n+a(t.visits),0),o=i.reduce((n,t)=>n+a(t.pageviews),0),e=n=>l===0?0:i.reduce((t,m)=>{const u=a(m[n]),d=a(m.visits);return t+u*d/l},0),r=e("bounce_rate"),c=e("avg_session_sec");return{visits:h(l),views:h(o),bounceRate:g(r),duration:M(c)}},b={visits:{dataKey:"visits",label:"Visitors",color:"var(--chart-blue)",formatter:h},views:{dataKey:"pageviews",label:"Pageviews",color:"var(--chart-teal)",formatter:h},"bounce-rate":{dataKey:"bounce_rate",label:"Bounce rate",color:"var(--chart-purple)",formatter:g},duration:{dataKey:"avg_session_sec",label:"Time on page",color:"var(--chart-orange)",formatter:M}},Ks=({data:i,range:a})=>{const[l]=$(),o=l.get("tab")||"visits",[e,r]=I.useState(o),c=b[e],n=G(i||[],a,c.dataKey,"sum")?.map(m=>{const u=Number(m[c.dataKey]);return{date:String(m.date),value:u,formattedValue:c.formatter(u),label:c.label}}),t=bs(i);return s.jsx(H,{children:s.jsx(P,{children:s.jsxs(hs,{defaultValue:e,variant:"kpis",children:[s.jsxs(xs,{className:"-mx-6 hidden grid-cols-2 md:visible! md:grid!",children:[s.jsx(_,{value:"visits",onClick:()=>{r("visits")},children:s.jsx(x,{color:b.visits.color,label:"Unique visitors",value:t.visits})}),s.jsx(_,{value:"views",onClick:()=>{r("views")},children:s.jsx(x,{color:b.views.color,label:"Total views",value:t.views})})]}),s.jsxs(q,{children:[s.jsx(F,{className:"md:hidden",asChild:!0,children:s.jsxs(vs,{children:[e==="visits"&&s.jsx(x,{color:"var(--chart-blue)",label:"Unique visitors",value:t.visits}),e==="views"&&s.jsx(x,{color:"var(--chart-teal)",label:"Total views",value:t.views})]})}),s.jsxs(U,{align:"end",className:"w-56",children:[s.jsx(k,{onClick:()=>r("visits"),children:"Unique visitors"}),s.jsx(k,{onClick:()=>r("views"),children:"Total views"})]})]}),s.jsx("div",{className:"my-4 [&_.recharts-cartesian-axis-tick-value]:fill-gray-500",children:s.jsx(ps,{className:"-mb-3 aspect-auto h-[16vw] max-h-[320px] min-h-[180px] w-full",color:c.color,data:n,id:c.dataKey,range:a,showHours:!0,syncId:"overview-charts"})})]})})})};export{b as K,ks as S,Ks as a,js as b,bs as g};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,j as s,aK as i,z as n,ab as d}from"./index-
|
|
1
|
+
import{r,j as s,aK as i,z as n,ab as d}from"./index-CYyEyBYw.js";var c="Label",o=r.forwardRef((e,t)=>s.jsx(i.label,{...e,ref:t,onMouseDown:a=>{a.target.closest("button, input, select, textarea")||(e.onMouseDown?.(a),!a.defaultPrevented&&a.detail>1&&a.preventDefault())}}));o.displayName=c;var l=o;const f=d("text-sm leading-none font-medium peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),m=r.forwardRef(({className:e,...t},a)=>s.jsx(l,{ref:a,className:n(f(),e),...t}));m.displayName=l.displayName;export{m as L};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as A,aF as H,r as ht,j as o,ao as yt,z as gt,ag as bt,ah as vt}from"./index-qHUvPjQB.js";import{S as At,b as J,c as X,A as xt,i as G,L as N,d as Ot,e as st,m as V,h as Y,G as jt,j as St,k as Pt,l as kt,n as Rt,t as Ct,o as Et,p as Z,q as _t,r as wt,g as Dt,s as Tt,C as Nt,u as zt,a as It,v as Bt}from"./chart-_EXssQtm.js";import{P as ct,a as lt}from"./PolarAngleAxis-Cavik65s.js";function w(t){"@babel/helpers - typeof";return w=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(t)}function U(){return U=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(t[r]=a[r])}return t},U.apply(this,arguments)}function tt(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),a.push.apply(a,r)}return a}function K(t){for(var e=1;e<arguments.length;e++){var a=arguments[e]!=null?arguments[e]:{};e%2?tt(Object(a),!0).forEach(function(r){Lt(t,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):tt(Object(a)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(a,r))})}return t}function Lt(t,e,a){return e=$t(e),e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function $t(t){var e=Mt(t,"string");return w(e)=="symbol"?e:e+""}function Mt(t,e){if(w(t)!="object"||!t)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var r=a.call(t,e);if(w(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function et(t){return typeof t=="string"?parseInt(t,10):t}function Wt(t,e){var a="".concat(e.cx||t.cx),r=Number(a),n="".concat(e.cy||t.cy),i=Number(n);return K(K(K({},e),t),{},{cx:r,cy:i})}function rt(t){return A.createElement(At,U({shapeType:"sector",propTransformer:Wt},t))}var Ft=["shape","activeShape","activeIndex","cornerRadius"],Gt=["value","background"];function C(t){"@babel/helpers - typeof";return C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},C(t)}function z(){return z=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(t[r]=a[r])}return t},z.apply(this,arguments)}function at(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),a.push.apply(a,r)}return a}function u(t){for(var e=1;e<arguments.length;e++){var a=arguments[e]!=null?arguments[e]:{};e%2?at(Object(a),!0).forEach(function(r){j(t,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):at(Object(a)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(a,r))})}return t}function nt(t,e){if(t==null)return{};var a=Kt(t,e),r,n;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(a[r]=t[r])}return a}function Kt(t,e){if(t==null)return{};var a={};for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(e.indexOf(r)>=0)continue;a[r]=t[r]}return a}function Vt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function it(t,e){for(var a=0;a<e.length;a++){var r=e[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,pt(r.key),r)}}function Ut(t,e,a){return e&&it(t.prototype,e),a&&it(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}function qt(t,e,a){return e=I(e),Qt(t,ut()?Reflect.construct(e,a||[],I(t).constructor):e.apply(t,a))}function Qt(t,e){if(e&&(C(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ht(t)}function Ht(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ut(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ut=function(){return!!t})()}function I(t){return I=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},I(t)}function Jt(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&q(t,e)}function q(t,e){return q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},q(t,e)}function j(t,e,a){return e=pt(e),e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function pt(t){var e=Xt(t,"string");return C(e)=="symbol"?e:e+""}function Xt(t,e){if(C(t)!="object"||!t)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var r=a.call(t,e);if(C(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}var D=(function(t){function e(){var a;Vt(this,e);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return a=qt(this,e,[].concat(n)),j(a,"state",{isAnimationFinished:!1}),j(a,"handleAnimationEnd",function(){var s=a.props.onAnimationEnd;a.setState({isAnimationFinished:!0}),Y(s)&&s()}),j(a,"handleAnimationStart",function(){var s=a.props.onAnimationStart;a.setState({isAnimationFinished:!1}),Y(s)&&s()}),a}return Jt(e,t),Ut(e,[{key:"getDeltaAngle",value:function(){var r=this.props,n=r.startAngle,i=r.endAngle,s=V(i-n),p=Math.min(Math.abs(i-n),360);return s*p}},{key:"renderSectorsStatically",value:function(r){var n=this,i=this.props,s=i.shape,p=i.activeShape,m=i.activeIndex,l=i.cornerRadius,d=nt(i,Ft),c=J(d,!1);return r.map(function(y,f){var v=f===m,h=u(u(u(u({},c),{},{cornerRadius:et(l)},y),X(n.props,y,f)),{},{className:"recharts-radial-bar-sector ".concat(y.className),forceCornerRadius:d.forceCornerRadius,cornerIsExternal:d.cornerIsExternal,isActive:v,option:v?p:s});return A.createElement(rt,z({},h,{key:"sector-".concat(f)}))})}},{key:"renderSectorsWithAnimation",value:function(){var r=this,n=this.props,i=n.data,s=n.isAnimationActive,p=n.animationBegin,m=n.animationDuration,l=n.animationEasing,d=n.animationId,c=this.state.prevData;return A.createElement(xt,{begin:p,duration:m,isActive:s,easing:l,from:{t:0},to:{t:1},key:"radialBar-".concat(d),onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},function(y){var f=y.t,v=i.map(function(h,E){var S=c&&c[E];if(S){var B=G(S.startAngle,h.startAngle),b=G(S.endAngle,h.endAngle);return u(u({},h),{},{startAngle:B(f),endAngle:b(f)})}var T=h.endAngle,L=h.startAngle,$=G(L,T);return u(u({},h),{},{endAngle:$(f)})});return A.createElement(N,null,r.renderSectorsStatically(v))})}},{key:"renderSectors",value:function(){var r=this.props,n=r.data,i=r.isAnimationActive,s=this.state.prevData;return i&&n&&n.length&&(!s||!Ot(s,n))?this.renderSectorsWithAnimation():this.renderSectorsStatically(n)}},{key:"renderBackground",value:function(r){var n=this,i=this.props.cornerRadius,s=J(this.props.background,!1);return r.map(function(p,m){p.value;var l=p.background,d=nt(p,Gt);if(!l)return null;var c=u(u(u(u(u({cornerRadius:et(i)},d),{},{fill:"#eee"},l),s),X(n.props,p,m)),{},{index:m,className:H("recharts-radial-bar-background-sector",s?.className),option:l,isActive:!1});return A.createElement(rt,z({},c,{key:"sector-".concat(m)}))})}},{key:"render",value:function(){var r=this.props,n=r.hide,i=r.data,s=r.className,p=r.background,m=r.isAnimationActive;if(n||!i||!i.length)return null;var l=this.state.isAnimationFinished,d=H("recharts-area",s);return A.createElement(N,{className:d},p&&A.createElement(N,{className:"recharts-radial-bar-background"},this.renderBackground(i)),A.createElement(N,{className:"recharts-radial-bar-sectors"},this.renderSectors()),(!m||l)&&st.renderCallByParent(u({},this.props),i))}}],[{key:"getDerivedStateFromProps",value:function(r,n){return r.animationId!==n.prevAnimationId?{prevAnimationId:r.animationId,curData:r.data,prevData:n.curData}:r.data!==n.curData?{curData:r.data}:null}}])})(ht.PureComponent);j(D,"displayName","RadialBar");j(D,"defaultProps",{angleAxisId:0,radiusAxisId:0,minPointSize:0,hide:!1,legendType:"rect",data:[],isAnimationActive:!jt.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease",forceCornerRadius:!1,cornerIsExternal:!1});j(D,"getComposedData",function(t){var e=t.item,a=t.props,r=t.radiusAxis,n=t.radiusAxisTicks,i=t.angleAxis,s=t.angleAxisTicks,p=t.displayedData,m=t.dataKey,l=t.stackedData,d=t.barPosition,c=t.bandSize,y=t.dataStartIndex,f=St(d,e);if(!f)return null;var v=i.cx,h=i.cy,E=a.layout,S=e.props,B=S.children,b=S.minPointSize,T=E==="radial"?i:r,L=l?T.scale.domain():null,$=Pt({numericAxis:T}),M=kt(B,Rt),dt=p.map(function(P,_){var g,x,O,k,R,Q;if(l?g=Ct(l[y+_],L):(g=Et(P,m),Array.isArray(g)||(g=[$,g])),E==="radial"){x=Z({axis:r,ticks:n,bandSize:c,offset:f.offset,entry:P,index:_}),R=i.scale(g[1]),k=i.scale(g[0]),O=x+f.size;var W=R-k;if(Math.abs(b)>0&&Math.abs(W)<Math.abs(b)){var ft=V(W||b)*(Math.abs(b)-Math.abs(W));R+=ft}Q={background:{cx:v,cy:h,innerRadius:x,outerRadius:O,startAngle:a.startAngle,endAngle:a.endAngle}}}else{x=r.scale(g[0]),O=r.scale(g[1]),k=Z({axis:i,ticks:s,bandSize:c,offset:f.offset,entry:P,index:_}),R=k+f.size;var F=O-x;if(Math.abs(b)>0&&Math.abs(F)<Math.abs(b)){var mt=V(F||b)*(Math.abs(b)-Math.abs(F));O+=mt}}return u(u(u(u({},P),Q),{},{payload:P,value:l?g:g[1],cx:v,cy:h,innerRadius:x,outerRadius:O,startAngle:k,endAngle:R},M&&M[_]&&M[_].props),{},{tooltipPayload:[_t(e,P)],tooltipPosition:wt(v,h,(x+O)/2,(k+R)/2)})});return{data:dt,layout:E}});var Yt=Dt({chartName:"RadialBarChart",GraphicalChild:D,legendContent:"children",defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"angleAxis",AxisComp:ct},{axisType:"radiusAxis",AxisComp:lt}],formatAxisMap:Tt,defaultProps:{layout:"radial",startAngle:0,endAngle:360,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"}});const re=({config:t,data:e,percentageValue:a,percentageLabel:r,className:n,tooltip:i=!0,size:s="responsive"})=>{const p=c=>{if(typeof c=="number")return c;if(typeof c=="string"){const y=Number(c);return Number.isFinite(y)?y:0}return 0},l=(()=>{switch(s){case"sm":return{barWidth:28,innerRadiusStart:e.length>1?42:56,fontSize:{percentage:"1.2rem",label:"0.8rem"}};case"md":return{barWidth:36,innerRadiusStart:e.length>1?60:72,fontSize:{percentage:"1.4rem",label:"0.9rem"}};case"lg":return{barWidth:46,innerRadiusStart:e.length>1?72:94,fontSize:{percentage:"1.6rem",label:"1rem"}};default:return{barWidth:46,innerRadiusStart:e.length>1?72:94,fontSize:{percentage:"1.6rem",label:"1rem"}}}})(),d={innerRadius:l.innerRadiusStart,outerRadius:l.innerRadiusStart+l.barWidth,startAngle:90,endAngle:-270};return o.jsx(Nt,{className:gt("mx-auto",n),config:t,children:o.jsxs(Yt,{data:e,endAngle:d.endAngle,innerRadius:d.innerRadius,outerRadius:d.outerRadius,startAngle:d.startAngle,children:[o.jsxs("defs",{children:[o.jsxs("radialGradient",{cx:"30%",cy:"30%",id:"gradientPurple",r:"70%",children:[o.jsx("stop",{offset:"0%",stopColor:"var(--chart-purple)",stopOpacity:.5}),o.jsx("stop",{offset:"100%",stopColor:"var(--chart-purple)",stopOpacity:1})]}),o.jsxs("radialGradient",{cx:"30%",cy:"30%",id:"gradientBlue",r:"70%",children:[o.jsx("stop",{offset:"0%",stopColor:"var(--chart-blue)",stopOpacity:.5}),o.jsx("stop",{offset:"100%",stopColor:"var(--chart-blue)",stopOpacity:1})]}),o.jsxs("radialGradient",{cx:"30%",cy:"30%",id:"gradientTeal",r:"70%",children:[o.jsx("stop",{offset:"0%",stopColor:"var(--chart-teal)",stopOpacity:.5}),o.jsx("stop",{offset:"100%",stopColor:"var(--chart-teal)",stopOpacity:1})]}),o.jsxs("radialGradient",{cx:"30%",cy:"30%",id:"gradientGray",r:"70%",children:[o.jsx("stop",{offset:"0%",stopColor:"var(--chart-gray)",stopOpacity:.5}),o.jsx("stop",{offset:"100%",stopColor:"var(--chart-gray)",stopOpacity:1})]})]}),o.jsx(ct,{angleAxisId:0,domain:[0,1],tick:!1,type:"number"}),o.jsx(D,{cornerRadius:10,dataKey:"value",minPointSize:-2,background:!0,children:e.length>1&&o.jsx(st,{className:"fill-black opacity-60",dataKey:"datatype",fontSize:11,position:"insideStart"})}),o.jsx(lt,{axisLine:!1,tick:!1,tickLine:!1,children:o.jsx(zt,{content:({viewBox:c})=>{if(c&&"cx"in c&&"cy"in c)return o.jsxs("text",{dominantBaseline:"middle",textAnchor:"middle",x:c.cx,y:c.cy,children:[a&&o.jsx("tspan",{className:"fill-foreground text-[1.6rem] font-semibold tracking-tight",x:c.cx,y:(c.cy||0)-6,children:a}),r&&o.jsx("tspan",{className:"fill-muted-foreground font-medium",x:c.cx,y:(c.cy||0)+14,children:r})]})}})}),i&&o.jsx(It,{content:o.jsx(Bt,{formatter:(c,y,f)=>o.jsxs("div",{className:"flex items-center gap-1",children:[o.jsx("div",{className:"size-2 rounded-full opacity-50",style:{backgroundColor:f.payload?.color}}),o.jsx("div",{className:"text-xs text-muted-foreground",children:f.payload?.datatype}),o.jsx("div",{className:"ml-3 font-mono text-xs",children:yt(p(c))})]}),nameKey:"datatype",hideLabel:!0}),cursor:!1,isAnimationActive:!1})]})})},ot=(t,e=!1)=>{try{const a=["ref","attribution_id","attribution_type"],r=new URL(t);for(const i of a)r.searchParams.delete(i);return e?(r.host+(r.pathname==="/"&&!r.search?"":r.pathname)+(r.search?r.search:"")+(r.hash?r.hash:"")).replace(/^www\./,""):r.toString()}catch{return t}},ae=(t,e)=>t.find(a=>a.link.link_id===e),ne=t=>{const r=(t?.links.map(n=>({link:n.link,count:n.count?.clicks||0}))||[]).map(n=>({...n,link:{...n.link,originalTo:n.link.to,to:ot(n.link.to,!1),title:ot(n.link.to,!0)}})).reduce((n,i)=>(n[i.link.title]?(n[i.link.title].count||(n[i.link.title].count=0),n[i.link.title].count+=i.count??0):n[i.link.title]=i,n),{});return Object.values(r).sort((n,i)=>{const s=n.count||0;return(i.count||0)-s})},ie=bt({dataType:"LinkResponseType",path:"/links/"}),oe=vt({method:"PUT",path:()=>"/links/bulk/",body:({editedUrl:t})=>({bulk:{action:"updateLink",meta:{link:{to:t}}}}),searchParams:({originalUrl:t,postId:e})=>({filter:`post_id:'${e}'+to:'${t}'`})});export{re as N,oe as a,ot as c,ae as g,ne as p,ie as u};
|
|
1
|
+
import{t as A,aF as H,r as ht,j as o,ao as yt,z as bt,ad as gt,ai as vt}from"./index-CYyEyBYw.js";import{S as At,b as J,c as X,A as xt,i as G,L as N,d as Ot,e as st,m as V,h as Y,G as jt,j as St,k as Pt,l as kt,n as Rt,t as Ct,o as Et,p as Z,q as _t,r as wt,g as Dt,s as Tt,C as Nt,u as zt,a as It,v as Bt}from"./chart-BRQeD9eh.js";import{P as ct,a as lt}from"./PolarAngleAxis-CB-FJBDa.js";function w(t){"@babel/helpers - typeof";return w=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(t)}function U(){return U=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(t[r]=a[r])}return t},U.apply(this,arguments)}function tt(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),a.push.apply(a,r)}return a}function K(t){for(var e=1;e<arguments.length;e++){var a=arguments[e]!=null?arguments[e]:{};e%2?tt(Object(a),!0).forEach(function(r){Lt(t,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):tt(Object(a)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(a,r))})}return t}function Lt(t,e,a){return e=$t(e),e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function $t(t){var e=Mt(t,"string");return w(e)=="symbol"?e:e+""}function Mt(t,e){if(w(t)!="object"||!t)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var r=a.call(t,e);if(w(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function et(t){return typeof t=="string"?parseInt(t,10):t}function Wt(t,e){var a="".concat(e.cx||t.cx),r=Number(a),n="".concat(e.cy||t.cy),i=Number(n);return K(K(K({},e),t),{},{cx:r,cy:i})}function rt(t){return A.createElement(At,U({shapeType:"sector",propTransformer:Wt},t))}var Ft=["shape","activeShape","activeIndex","cornerRadius"],Gt=["value","background"];function C(t){"@babel/helpers - typeof";return C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},C(t)}function z(){return z=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(t[r]=a[r])}return t},z.apply(this,arguments)}function at(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),a.push.apply(a,r)}return a}function u(t){for(var e=1;e<arguments.length;e++){var a=arguments[e]!=null?arguments[e]:{};e%2?at(Object(a),!0).forEach(function(r){j(t,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):at(Object(a)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(a,r))})}return t}function nt(t,e){if(t==null)return{};var a=Kt(t,e),r,n;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(a[r]=t[r])}return a}function Kt(t,e){if(t==null)return{};var a={};for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(e.indexOf(r)>=0)continue;a[r]=t[r]}return a}function Vt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function it(t,e){for(var a=0;a<e.length;a++){var r=e[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,pt(r.key),r)}}function Ut(t,e,a){return e&&it(t.prototype,e),a&&it(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}function qt(t,e,a){return e=I(e),Qt(t,ut()?Reflect.construct(e,a||[],I(t).constructor):e.apply(t,a))}function Qt(t,e){if(e&&(C(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ht(t)}function Ht(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ut(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ut=function(){return!!t})()}function I(t){return I=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},I(t)}function Jt(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&q(t,e)}function q(t,e){return q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},q(t,e)}function j(t,e,a){return e=pt(e),e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function pt(t){var e=Xt(t,"string");return C(e)=="symbol"?e:e+""}function Xt(t,e){if(C(t)!="object"||!t)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var r=a.call(t,e);if(C(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}var D=(function(t){function e(){var a;Vt(this,e);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return a=qt(this,e,[].concat(n)),j(a,"state",{isAnimationFinished:!1}),j(a,"handleAnimationEnd",function(){var s=a.props.onAnimationEnd;a.setState({isAnimationFinished:!0}),Y(s)&&s()}),j(a,"handleAnimationStart",function(){var s=a.props.onAnimationStart;a.setState({isAnimationFinished:!1}),Y(s)&&s()}),a}return Jt(e,t),Ut(e,[{key:"getDeltaAngle",value:function(){var r=this.props,n=r.startAngle,i=r.endAngle,s=V(i-n),p=Math.min(Math.abs(i-n),360);return s*p}},{key:"renderSectorsStatically",value:function(r){var n=this,i=this.props,s=i.shape,p=i.activeShape,m=i.activeIndex,l=i.cornerRadius,d=nt(i,Ft),c=J(d,!1);return r.map(function(y,f){var v=f===m,h=u(u(u(u({},c),{},{cornerRadius:et(l)},y),X(n.props,y,f)),{},{className:"recharts-radial-bar-sector ".concat(y.className),forceCornerRadius:d.forceCornerRadius,cornerIsExternal:d.cornerIsExternal,isActive:v,option:v?p:s});return A.createElement(rt,z({},h,{key:"sector-".concat(f)}))})}},{key:"renderSectorsWithAnimation",value:function(){var r=this,n=this.props,i=n.data,s=n.isAnimationActive,p=n.animationBegin,m=n.animationDuration,l=n.animationEasing,d=n.animationId,c=this.state.prevData;return A.createElement(xt,{begin:p,duration:m,isActive:s,easing:l,from:{t:0},to:{t:1},key:"radialBar-".concat(d),onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},function(y){var f=y.t,v=i.map(function(h,E){var S=c&&c[E];if(S){var B=G(S.startAngle,h.startAngle),g=G(S.endAngle,h.endAngle);return u(u({},h),{},{startAngle:B(f),endAngle:g(f)})}var T=h.endAngle,L=h.startAngle,$=G(L,T);return u(u({},h),{},{endAngle:$(f)})});return A.createElement(N,null,r.renderSectorsStatically(v))})}},{key:"renderSectors",value:function(){var r=this.props,n=r.data,i=r.isAnimationActive,s=this.state.prevData;return i&&n&&n.length&&(!s||!Ot(s,n))?this.renderSectorsWithAnimation():this.renderSectorsStatically(n)}},{key:"renderBackground",value:function(r){var n=this,i=this.props.cornerRadius,s=J(this.props.background,!1);return r.map(function(p,m){p.value;var l=p.background,d=nt(p,Gt);if(!l)return null;var c=u(u(u(u(u({cornerRadius:et(i)},d),{},{fill:"#eee"},l),s),X(n.props,p,m)),{},{index:m,className:H("recharts-radial-bar-background-sector",s?.className),option:l,isActive:!1});return A.createElement(rt,z({},c,{key:"sector-".concat(m)}))})}},{key:"render",value:function(){var r=this.props,n=r.hide,i=r.data,s=r.className,p=r.background,m=r.isAnimationActive;if(n||!i||!i.length)return null;var l=this.state.isAnimationFinished,d=H("recharts-area",s);return A.createElement(N,{className:d},p&&A.createElement(N,{className:"recharts-radial-bar-background"},this.renderBackground(i)),A.createElement(N,{className:"recharts-radial-bar-sectors"},this.renderSectors()),(!m||l)&&st.renderCallByParent(u({},this.props),i))}}],[{key:"getDerivedStateFromProps",value:function(r,n){return r.animationId!==n.prevAnimationId?{prevAnimationId:r.animationId,curData:r.data,prevData:n.curData}:r.data!==n.curData?{curData:r.data}:null}}])})(ht.PureComponent);j(D,"displayName","RadialBar");j(D,"defaultProps",{angleAxisId:0,radiusAxisId:0,minPointSize:0,hide:!1,legendType:"rect",data:[],isAnimationActive:!jt.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease",forceCornerRadius:!1,cornerIsExternal:!1});j(D,"getComposedData",function(t){var e=t.item,a=t.props,r=t.radiusAxis,n=t.radiusAxisTicks,i=t.angleAxis,s=t.angleAxisTicks,p=t.displayedData,m=t.dataKey,l=t.stackedData,d=t.barPosition,c=t.bandSize,y=t.dataStartIndex,f=St(d,e);if(!f)return null;var v=i.cx,h=i.cy,E=a.layout,S=e.props,B=S.children,g=S.minPointSize,T=E==="radial"?i:r,L=l?T.scale.domain():null,$=Pt({numericAxis:T}),M=kt(B,Rt),dt=p.map(function(P,_){var b,x,O,k,R,Q;if(l?b=Ct(l[y+_],L):(b=Et(P,m),Array.isArray(b)||(b=[$,b])),E==="radial"){x=Z({axis:r,ticks:n,bandSize:c,offset:f.offset,entry:P,index:_}),R=i.scale(b[1]),k=i.scale(b[0]),O=x+f.size;var W=R-k;if(Math.abs(g)>0&&Math.abs(W)<Math.abs(g)){var ft=V(W||g)*(Math.abs(g)-Math.abs(W));R+=ft}Q={background:{cx:v,cy:h,innerRadius:x,outerRadius:O,startAngle:a.startAngle,endAngle:a.endAngle}}}else{x=r.scale(b[0]),O=r.scale(b[1]),k=Z({axis:i,ticks:s,bandSize:c,offset:f.offset,entry:P,index:_}),R=k+f.size;var F=O-x;if(Math.abs(g)>0&&Math.abs(F)<Math.abs(g)){var mt=V(F||g)*(Math.abs(g)-Math.abs(F));O+=mt}}return u(u(u(u({},P),Q),{},{payload:P,value:l?b:b[1],cx:v,cy:h,innerRadius:x,outerRadius:O,startAngle:k,endAngle:R},M&&M[_]&&M[_].props),{},{tooltipPayload:[_t(e,P)],tooltipPosition:wt(v,h,(x+O)/2,(k+R)/2)})});return{data:dt,layout:E}});var Yt=Dt({chartName:"RadialBarChart",GraphicalChild:D,legendContent:"children",defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"angleAxis",AxisComp:ct},{axisType:"radiusAxis",AxisComp:lt}],formatAxisMap:Tt,defaultProps:{layout:"radial",startAngle:0,endAngle:360,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"}});const re=({config:t,data:e,percentageValue:a,percentageLabel:r,className:n,tooltip:i=!0,size:s="responsive"})=>{const p=c=>{if(typeof c=="number")return c;if(typeof c=="string"){const y=Number(c);return Number.isFinite(y)?y:0}return 0},l=(()=>{switch(s){case"sm":return{barWidth:28,innerRadiusStart:e.length>1?42:56,fontSize:{percentage:"1.2rem",label:"0.8rem"}};case"md":return{barWidth:36,innerRadiusStart:e.length>1?60:72,fontSize:{percentage:"1.4rem",label:"0.9rem"}};case"lg":return{barWidth:46,innerRadiusStart:e.length>1?72:94,fontSize:{percentage:"1.6rem",label:"1rem"}};default:return{barWidth:46,innerRadiusStart:e.length>1?72:94,fontSize:{percentage:"1.6rem",label:"1rem"}}}})(),d={innerRadius:l.innerRadiusStart,outerRadius:l.innerRadiusStart+l.barWidth,startAngle:90,endAngle:-270};return o.jsx(Nt,{className:bt("mx-auto",n),config:t,children:o.jsxs(Yt,{data:e,endAngle:d.endAngle,innerRadius:d.innerRadius,outerRadius:d.outerRadius,startAngle:d.startAngle,children:[o.jsxs("defs",{children:[o.jsxs("radialGradient",{cx:"30%",cy:"30%",id:"gradientPurple",r:"70%",children:[o.jsx("stop",{offset:"0%",stopColor:"var(--chart-purple)",stopOpacity:.5}),o.jsx("stop",{offset:"100%",stopColor:"var(--chart-purple)",stopOpacity:1})]}),o.jsxs("radialGradient",{cx:"30%",cy:"30%",id:"gradientBlue",r:"70%",children:[o.jsx("stop",{offset:"0%",stopColor:"var(--chart-blue)",stopOpacity:.5}),o.jsx("stop",{offset:"100%",stopColor:"var(--chart-blue)",stopOpacity:1})]}),o.jsxs("radialGradient",{cx:"30%",cy:"30%",id:"gradientTeal",r:"70%",children:[o.jsx("stop",{offset:"0%",stopColor:"var(--chart-teal)",stopOpacity:.5}),o.jsx("stop",{offset:"100%",stopColor:"var(--chart-teal)",stopOpacity:1})]}),o.jsxs("radialGradient",{cx:"30%",cy:"30%",id:"gradientGray",r:"70%",children:[o.jsx("stop",{offset:"0%",stopColor:"var(--chart-gray)",stopOpacity:.5}),o.jsx("stop",{offset:"100%",stopColor:"var(--chart-gray)",stopOpacity:1})]})]}),o.jsx(ct,{angleAxisId:0,domain:[0,1],tick:!1,type:"number"}),o.jsx(D,{cornerRadius:10,dataKey:"value",minPointSize:-2,background:!0,children:e.length>1&&o.jsx(st,{className:"fill-black opacity-60",dataKey:"datatype",fontSize:11,position:"insideStart"})}),o.jsx(lt,{axisLine:!1,tick:!1,tickLine:!1,children:o.jsx(zt,{content:({viewBox:c})=>{if(c&&"cx"in c&&"cy"in c)return o.jsxs("text",{dominantBaseline:"middle",textAnchor:"middle",x:c.cx,y:c.cy,children:[a&&o.jsx("tspan",{className:"fill-foreground text-[1.6rem] font-semibold tracking-tight",x:c.cx,y:(c.cy||0)-6,children:a}),r&&o.jsx("tspan",{className:"fill-muted-foreground font-medium",x:c.cx,y:(c.cy||0)+14,children:r})]})}})}),i&&o.jsx(It,{content:o.jsx(Bt,{formatter:(c,y,f)=>o.jsxs("div",{className:"flex items-center gap-1",children:[o.jsx("div",{className:"size-2 rounded-full opacity-50",style:{backgroundColor:f.payload?.color}}),o.jsx("div",{className:"text-xs text-muted-foreground",children:f.payload?.datatype}),o.jsx("div",{className:"ml-3 font-mono text-xs",children:yt(p(c))})]}),nameKey:"datatype",hideLabel:!0}),cursor:!1,isAnimationActive:!1})]})})},ot=(t,e=!1)=>{try{const a=["ref","attribution_id","attribution_type"],r=new URL(t);for(const i of a)r.searchParams.delete(i);return e?(r.host+(r.pathname==="/"&&!r.search?"":r.pathname)+(r.search?r.search:"")+(r.hash?r.hash:"")).replace(/^www\./,""):r.toString()}catch{return t}},ae=(t,e)=>t.find(a=>a.link.link_id===e),ne=t=>{const r=(t?.links.map(n=>({link:n.link,count:n.count?.clicks||0}))||[]).map(n=>({...n,link:{...n.link,originalTo:n.link.to,to:ot(n.link.to,!1),title:ot(n.link.to,!0)}})).reduce((n,i)=>(n[i.link.title]?(n[i.link.title].count||(n[i.link.title].count=0),n[i.link.title].count+=i.count??0):n[i.link.title]=i,n),{});return Object.values(r).sort((n,i)=>{const s=n.count||0;return(i.count||0)-s})},ie=gt({dataType:"LinkResponseType",path:"/links/"}),oe=vt({method:"PUT",path:()=>"/links/bulk/",body:({editedUrl:t})=>({bulk:{action:"updateLink",meta:{link:{to:t}}}}),searchParams:({originalUrl:t,postId:e})=>({filter:`post_id:'${e}'+to:'${t}'`})});export{re as N,oe as a,ot as c,ae as g,ne as p,ie as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ar as e}from"./index-
|
|
1
|
+
import{ar as e}from"./index-CYyEyBYw.js";const t=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]],c=e("archive",t);const a=[["path",{d:"M2 5h20",key:"1fs1ex"}],["path",{d:"M6 12h12",key:"8npq4p"}],["path",{d:"M9 19h6",key:"456am0"}]],i=e("list-filter",a);export{c as A,i as L};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as c,j as r,z as i,aL as x,ac as L,aM as A,aN as M,aO as w}from"./index-
|
|
1
|
+
import{t as c,j as r,z as i,aL as x,ac as L,aM as A,aN as M,aO as w}from"./index-CYyEyBYw.js";import{J as y,A as S,G as C,I as s}from"./inline-B4cWemrJ.js";const b=c.forwardRef(function({className:t,gap:a="md",align:n="stretch",justify:l="start",...o},u){return r.jsx("div",{ref:u,className:i("flex flex-col",C[a],S[n],y[l],t),...o})});b.displayName="Stack";function E({className:e,children:t}){return r.jsx(b,{className:i("min-w-0 h-full min-h-(--control-height)",e),"data-list-header":"list-header-left",gap:"xs",justify:"center",children:t})}function H({className:e,children:t}){return r.jsx(s,{align:"center",className:i("text-sm text-muted-foreground",e),"data-list-header":"list-header-breadcrumb",gap:"sm",children:t})}function N({className:e,children:t}){return r.jsx(L,{className:i("text-2xl leading-[1.2em] sidebar:text-[2.5rem] whitespace-nowrap",e),"data-list-header":"list-header-title",children:t})}function k({className:e,children:t}){return r.jsx(x,{as:"p",className:e,"data-list-header":"list-header-description",size:"sm",tone:"secondary",children:t})}function T({className:e,children:t}){return r.jsx(x,{as:"span",className:i("ml-2 lg:ml-3 text-[1.9rem] sidebar:text-[2.2rem] tabular-nums",e),"data-list-header":"list-header-count",tone:"secondary",weight:"regular",children:t})}function m({children:e}){return r.jsx(r.Fragment,{children:e})}function g({children:e}){return r.jsx(A,{children:e})}function G({children:e,...t}){return r.jsx(w,{asChild:!0,...t,children:e})}function _({children:e,...t}){return r.jsx(M,{align:"end",sideOffset:8,...t,children:e})}const I=640,f=e=>typeof window>"u"?!1:window.innerWidth<e,O=e=>{const[t,a]=c.useState(()=>f(e));return c.useEffect(()=>{const n=()=>{a(f(e))};return n(),window.addEventListener("resize",n),()=>{window.removeEventListener("resize",n)}},[e]),t},v=Object.assign(function({className:t,children:a,mobileMenuBreakpoint:n=I}){const l=c.Children.toArray(a),o=[];let u=null,p=null;const j=O(n);return l.forEach(h=>{if(!c.isValidElement(h)){o.push(h);return}const d=h;if(d.type===g){u=d;return}if(d.type===m){p=d.props.children??null,o.push(d.props.children??null);return}o.push(d)}),u?j?r.jsx(s,{align:"center",className:t,"data-list-header":"list-header-action-group",gap:"sm",justify:"end",children:r.jsxs(s,{align:"center",className:"ml-auto","data-list-header":"list-header-action-group-mobile",gap:"sm",children:[u,p&&r.jsx("div",{"data-list-header":"list-header-action-group-mobile-primary",children:p})]})}):r.jsx(s,{align:"center",className:t,"data-list-header":"list-header-action-group",gap:"sm",justify:"end",children:r.jsx(s,{align:"center","data-list-header":"list-header-action-group-desktop",gap:"sm",justify:"end",children:o})}):r.jsx(s,{align:"center",className:t,"data-list-header":"list-header-action-group",gap:"sm",justify:"end",children:a})},{Primary:m,MobileMenu:g,MobileMenuTrigger:G,MobileMenuContent:_});function z({className:e,children:t}){return r.jsx(s,{align:"center",className:i("shrink-0",e),"data-list-header":"list-header-actions",gap:"lg",children:t})}const P=Object.assign(function({className:t,children:a,sticky:n=!0,blurredBackground:l=!0}){return r.jsx(s,{align:"start",as:"header",className:i("px-4 lg:px-8",n&&"sticky top-0 z-50 -mb-4 lg:-mb-4",l&&"bg-gradient-to-b from-background via-background/70 to-background/70 backdrop-blur-md dark:bg-black",t),"data-list-header":"list-header",gap:"lg",justify:"between",children:a})},{Left:E,Breadcrumb:H,Title:N,Count:T,Description:k,Actions:z,ActionGroup:v});export{P as L};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{ar as e}from"./index-CYyEyBYw.js";const a=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],s=e("calendar",a);const c=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],l=e("eye",c);const o=[["path",{d:"M13.354 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14v6a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341l1.218-1.348",key:"8mvsmf"}],["path",{d:"M16 6h6",key:"1dogtp"}],["path",{d:"M19 3v6",key:"1ytpjt"}]],y=e("funnel-plus",o);const t=[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]],p=e("funnel",t);const n=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],r=e("loader-circle",n);export{s as C,l as E,y as F,r as L,p as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ar as a}from"./index-
|
|
1
|
+
import{ar as a}from"./index-CYyEyBYw.js";const e=[["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"}]],t=a("mail",e);export{t as M};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as a}from"./index-
|
|
1
|
+
import{j as a}from"./index-CYyEyBYw.js";const t=({children:e,...s})=>a.jsx("div",{className:"size-full",children:a.jsx("div",{className:"relative mx-auto flex h-full max-w-page flex-col",...s,children:e})});export{t as M};
|