koboyo 0.3.0 → 0.5.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/README.md +26 -0
- package/assets/editor/assets/ContextMenuTrigger-CXUL1E23.js +1 -0
- package/assets/editor/assets/DialogDescription-Ddhk2rmF.js +1 -0
- package/assets/editor/assets/DialogRoot-DUeVfNhS.js +1 -0
- package/assets/editor/assets/DialogTitle-D5au2NAn.js +1 -0
- package/assets/editor/assets/FloatingPortalLite-HnWQWrLk.js +1 -0
- package/assets/editor/assets/{IconAlertTriangle-CxPhYpe-.js → IconAlertTriangle-B33xznYN.js} +1 -1
- package/assets/editor/assets/{IconArrowLeft-DFk3Krim.js → IconArrowLeft-B4Zcy-Fc.js} +1 -1
- package/assets/editor/assets/IconChevronLeft-D7e7QC0h.js +1 -0
- package/assets/editor/assets/IconChevronRight-csfMBSUs.js +1 -0
- package/assets/editor/assets/{IconCode-hd05zxU4.js → IconCode-CHIz1nCU.js} +1 -1
- package/assets/editor/assets/IconCornerDownRight-DDiBMO4O.js +1 -0
- package/assets/editor/assets/{IconEraser-DlZQe3-r.js → IconEraser-CYfXj27R.js} +1 -1
- package/assets/editor/assets/{IconFocusCentered-C5PcDeR0.js → IconFocusCentered-Cn8rbfRI.js} +1 -1
- package/assets/editor/assets/IconHelp-4FIVl1rh.js +2 -0
- package/assets/editor/assets/{IconLink-ze4g4Lrj.js → IconLink-VS5p9Ytk.js} +1 -1
- package/assets/editor/assets/IconLoader2-CzCTn-Sn.js +1 -0
- package/assets/editor/assets/IconMinus-BcaDLts8.js +1 -0
- package/assets/editor/assets/{IconMoodSmile-Bic_fw54.js → IconMoodSmile-CSZ5p_Hy.js} +1 -1
- package/assets/editor/assets/{IconPencil-C5Y-Y4dC.js → IconPencil-D_pQsAyv.js} +1 -1
- package/assets/editor/assets/{IconPhoto-CR36IK-b.js → IconPhoto-5zuCDtnR.js} +1 -1
- package/assets/editor/assets/{IconPlayerPlayFilled-D4OODBX7.js → IconPlayerPlayFilled-DVAWmYt7.js} +1 -1
- package/assets/editor/assets/{IconPlayerStopFilled-BUbX6ZO5.js → IconPlayerStopFilled-D4qdct2R.js} +1 -1
- package/assets/editor/assets/IconPlus-D4tAoi-A.js +1 -0
- package/assets/editor/assets/{IconPresentation-DCrY3PKL.js → IconPresentation-BMKzt7fv.js} +1 -1
- package/assets/editor/assets/IconReplace-CYUD1RLF.js +1 -0
- package/assets/editor/assets/{IconSearch-C1K0_Pq_.js → IconSearch-CCpMt02s.js} +1 -1
- package/assets/editor/assets/{IconSparkles-WDcg8BA9.js → IconSparkles-CnCp3BCQ.js} +1 -1
- package/assets/editor/assets/{IconTrash-DbN_RxB7.js → IconTrash-C8w6ThWx.js} +1 -1
- package/assets/editor/assets/{IconUsers-Bwnyj4mm.js → IconUsers-Dp85N225.js} +1 -1
- package/assets/editor/assets/IconX-KrRqxr2j.js +1 -0
- package/assets/editor/assets/MenuSubmenuTrigger-BFlIkXYg.js +1 -0
- package/assets/editor/assets/PopoverPopup-1zO38CRl.js +1 -0
- package/assets/editor/assets/asset-glyph-DjBHkQcP.js +1 -0
- package/assets/editor/assets/billing-BSXr-z2r.js +1 -0
- package/assets/editor/assets/build-pips-BRf3pMnt.js +1 -0
- package/assets/editor/assets/build-visibility-CAmmsnmF.js +1 -0
- package/assets/editor/assets/builders-DrWdKwLQ.js +1 -0
- package/assets/editor/assets/{chart-Z4HQx-0h.js → chart-CKIxcbcM.js} +4 -4
- package/assets/editor/assets/{chrome-layout-B8YmHznO.js → chrome-layout-D5dql-y4.js} +1 -1
- package/assets/editor/assets/code-panel-BFikzGNv.js +18 -0
- package/assets/editor/assets/color-swatches-CZKb4DxX.js +1 -0
- package/assets/editor/assets/command-palette-Uat68wmJ.js +1 -0
- package/assets/editor/assets/config-D8b1QyEk.js +1 -0
- package/assets/editor/assets/connector-labels-DqVssnYz.js +2 -0
- package/assets/editor/assets/copy-image-dialog-C0fXdR1a.js +1 -0
- package/assets/editor/assets/core-C1TxysMz.js +1 -0
- package/assets/editor/assets/createReactComponent-C51FAx3B.js +1 -0
- package/assets/editor/assets/diagram-fingerprint-B-HB8UbR.js +3 -0
- package/assets/editor/assets/dialog-DnXgEbpz.js +1 -0
- package/assets/editor/assets/{edit-BJ_kibk8.js → edit-B4DMFSZr.js} +1 -1
- package/assets/editor/assets/editor-DAJETlQW.js +1 -0
- package/assets/editor/assets/{elk-api-DnfklSaw.js → elk-api-C4wlHVIw.js} +1 -1
- package/assets/editor/assets/{elk-worker-loader-CC-I9MmI.js → elk-worker-loader-BCdkmVMX.js} +1 -1
- package/assets/editor/assets/embed-input-D77Udvni.js +1 -0
- package/assets/editor/assets/export-FQTXirjn.js +2 -0
- package/assets/editor/assets/export-dialog-KYLeNY3G.js +1 -0
- package/assets/editor/assets/export-u442sUQs.js +6 -0
- package/assets/editor/assets/flow-layer-B4Q8rktl.js +1 -0
- package/assets/editor/assets/flow-panel-DbnavW4w.js +1 -0
- package/assets/editor/assets/flow-stage-CSTrNMZF.js +1 -0
- package/assets/editor/assets/{flow-start-BKN48uke.js → flow-start-ByhFxEeV.js} +1 -1
- package/assets/editor/assets/{flows-GGbkNqs8.js → flows-CGl4r-xb.js} +2 -2
- package/assets/editor/assets/{frames-CRP8oPP8.js → frames-DRSLvE9E.js} +1 -1
- package/assets/editor/assets/generate-DHP90nDk.js +26 -0
- package/assets/editor/assets/icon-picker-DIkw2xYL.js +1 -0
- package/assets/editor/assets/image-library-BmoSPV9c.js +1 -0
- package/assets/editor/assets/{index-e23lIFZB.css → index-DBrN0u0i.css} +1 -1
- package/assets/editor/assets/index-DFwoT1_W.js +25 -0
- package/assets/editor/assets/jsx-runtime-DKdBMi_L.js +1 -0
- package/assets/editor/assets/layout-offthread-JPTCbsLL.js +18 -0
- package/assets/editor/assets/{layout.worker-BIE1_z0S.js → layout.worker-CekYkaxO.js} +2 -2
- package/assets/editor/assets/menu-4xb5HtA1.js +1 -0
- package/assets/editor/assets/mermaid-paste-2cCwweY0.js +1 -0
- package/assets/editor/assets/panel-controls-B0Ccd0XF.js +1 -0
- package/assets/editor/assets/{panel-shell-CG2aq4Ia.js → panel-shell-COqmheb-.js} +1 -1
- package/assets/editor/assets/plan-D4Jyzo5X.js +1 -0
- package/assets/editor/assets/presentation-DNmdm11D.js +1 -0
- package/assets/editor/assets/presenter-keys-DLNIsrm5.js +1 -0
- package/assets/editor/assets/{jsx-runtime-2Zwg-L3c.js → react-lCSYwAWP.js} +1 -1
- package/assets/editor/assets/reflow-C6bvnSVm.js +1 -0
- package/assets/editor/assets/registry-d5KleeyB.js +1 -0
- package/assets/editor/assets/renderer-environment-D3n3hbug.js +1 -0
- package/assets/editor/assets/rich-paste-route-Bx69sREx.js +1 -0
- package/assets/editor/assets/ride-overlay-C1TrM7Ki.js +1 -0
- package/assets/editor/assets/selection-overlay-primitives-CfOaP5_G.js +1 -0
- package/assets/editor/assets/shape-meta-YgfIm0bQ.js +1 -0
- package/assets/editor/assets/shape-render-DZscezZk.js +1 -0
- package/assets/editor/assets/shapes-D5w8NTQQ.js +11 -0
- package/assets/editor/assets/sign-in-dialog-tmQEB2bx.js +1 -0
- package/assets/editor/assets/slide-notes-dialog-43EMJFJV.js +1 -0
- package/assets/editor/assets/slides-DDNzjFz9.js +5 -0
- package/assets/editor/assets/slides-panel-DANnu_nw.js +26 -0
- package/assets/editor/assets/text-breaks-DhCXtQrJ.js +7 -0
- package/assets/editor/assets/{theme-palette-D1nbDFBC.js → theme-palette-DEq19D0h.js} +1 -1
- package/assets/editor/assets/tidy-browser-BdlwTfCT.js +1 -0
- package/assets/editor/assets/tidy-scope-REEad7oC.js +1 -0
- package/assets/editor/assets/toast-Czv_DJ-4.js +1 -0
- package/assets/editor/assets/{tool-catalog-CHq6TJ2q.js → tool-catalog-CIjdZm_C.js} +1 -1
- package/assets/editor/assets/tool-drawer-B-Ys7Rsn.js +1 -0
- package/assets/editor/assets/tooltip-CKCG8vcp.js +1 -0
- package/assets/editor/assets/tree-BWJsAqkV.js +1 -0
- package/assets/editor/assets/upgrade-dialog-DhSZnDpx.js +1 -0
- package/assets/editor/assets/use-drag-reorder-ye8-kpyR.js +1 -0
- package/assets/editor/assets/use-export-command-BR-A4kAa.js +2 -0
- package/assets/editor/assets/use-grid-keyboard-nav-B0jjlh8Q.js +0 -0
- package/assets/editor/assets/use-icon-node-uhKPP4Ki.js +1 -0
- package/assets/editor/assets/use-key-held-DaUTxGze.js +1 -0
- package/assets/editor/assets/use-recent-list-DuazDypH.js +1 -0
- package/assets/editor/assets/useAnchoredPopupScrollLock-i8D5Dm1d.js +1 -0
- package/assets/editor/assets/useBaseUiId-D2RfU0uY.js +1 -0
- package/assets/editor/assets/useButton-CLQYGhRJ.js +1 -0
- package/assets/editor/assets/useControlled-BE8zdmih.js +1 -0
- package/assets/editor/assets/usePositioner-AtbrPc7w.js +1 -0
- package/assets/editor/assets/useScrollLock-CQpr0n6U.js +1 -0
- package/assets/editor/assets/useTriggerFocusGuards-Mibi8yYw.js +1 -0
- package/assets/editor/assets/useValueChanged-SqLfIDi5.js +1 -0
- package/assets/editor/assets/web-card-BTru0lge.js +1 -0
- package/assets/editor/assets/web-card-font-BbZEq3En.js +1 -0
- package/assets/editor/assets/web-controls-BjBov-C2.js +1 -0
- package/assets/editor/assets/web-embed-dialog-sT-1yK5o.js +1 -0
- package/assets/editor/assets/web-embed-url-CHu4SU82.js +1 -0
- package/assets/editor/assets/web-embeds-I3saJ_yp.js +1 -0
- package/assets/editor/assets/web-html-dialog-B5Hb3RGw.js +1 -0
- package/assets/editor/assets/web-runtime-wPi8lWzO.js +1 -0
- package/assets/editor/assets/web-widget-limits-DeMquLIR.js +1 -0
- package/assets/editor/assets/web-widgets-DsFUBhiq.js +325 -0
- package/assets/editor/assets/widget-source-C3N9ZKTz.js +2 -0
- package/assets/editor/assets/widget-target-C9a207gT.js +1 -0
- package/assets/editor/index.html +79 -69
- package/dist/koboyo.js +600 -225
- package/package.json +5 -5
- package/skills/koboyo/SKILL.md +27 -2
- package/skills/koboyo/references/architecture.md +1 -1
- package/skills/koboyo/references/bpmn.md +1 -1
- package/skills/koboyo/references/chart.md +1 -1
- package/skills/koboyo/references/cycle.md +1 -1
- package/skills/koboyo/references/erd.md +1 -1
- package/skills/koboyo/references/flowchart.md +1 -1
- package/skills/koboyo/references/funnel.md +1 -1
- package/skills/koboyo/references/gantt.md +1 -1
- package/skills/koboyo/references/gitgraph.md +1 -1
- package/skills/koboyo/references/journey.md +1 -1
- package/skills/koboyo/references/matrix.md +1 -1
- package/skills/koboyo/references/mindmap.md +1 -1
- package/skills/koboyo/references/orgchart.md +1 -1
- package/skills/koboyo/references/pyramid.md +1 -1
- package/skills/koboyo/references/sankey.md +1 -1
- package/skills/koboyo/references/sequence.md +1 -1
- package/skills/koboyo/references/statemachine.md +1 -1
- package/skills/koboyo/references/timeline.md +1 -1
- package/skills/koboyo/references/venn.md +1 -1
- package/skills/koboyo/references/wireframe.md +1 -1
- package/assets/editor/assets/DialogDescription-ZtZCUsfy.js +0 -1
- package/assets/editor/assets/DialogRoot-mHGRFW9m.js +0 -1
- package/assets/editor/assets/DialogTitle-CFhr-gP9.js +0 -1
- package/assets/editor/assets/FloatingPortalLite-Bf0q6fmL.js +0 -1
- package/assets/editor/assets/IconChevronLeft-BR0iwdRI.js +0 -1
- package/assets/editor/assets/IconChevronRight-DBDnxPYT.js +0 -1
- package/assets/editor/assets/IconCornerDownRight-BerbioFY.js +0 -1
- package/assets/editor/assets/IconHelp-DKNacRqS.js +0 -2
- package/assets/editor/assets/IconLoader2-BQaF1LKo.js +0 -1
- package/assets/editor/assets/IconMinus-y4ejub-s.js +0 -1
- package/assets/editor/assets/IconPlus-BbmieIBT.js +0 -1
- package/assets/editor/assets/IconX-AlbPkO_g.js +0 -1
- package/assets/editor/assets/MenuSubmenuTrigger-CpN67g09.js +0 -1
- package/assets/editor/assets/PopoverPopup-BqGWd_uB.js +0 -1
- package/assets/editor/assets/asset-glyph-B3c--Mx2.js +0 -1
- package/assets/editor/assets/billing-C-BNGM3Z.js +0 -1
- package/assets/editor/assets/build-pips-q_Fq10ov.js +0 -1
- package/assets/editor/assets/build-visibility-E1mHeDCW.js +0 -1
- package/assets/editor/assets/builders-DbF28yId.js +0 -1
- package/assets/editor/assets/code-panel-BfsykjSz.js +0 -43
- package/assets/editor/assets/command-palette-BjFnQHnz.js +0 -1
- package/assets/editor/assets/config-a_lz-57R.js +0 -1
- package/assets/editor/assets/connector-labels-vVnYQJRz.js +0 -2
- package/assets/editor/assets/copy-image-dialog-CCY_6fM4.js +0 -1
- package/assets/editor/assets/core-CBnmD9hT.js +0 -1
- package/assets/editor/assets/createReactComponent-9UsI5fmM.js +0 -1
- package/assets/editor/assets/diagram-fingerprint-CsqZK4xZ.js +0 -3
- package/assets/editor/assets/dialog-B32krrce.js +0 -1
- package/assets/editor/assets/editor-B0tARd79.js +0 -1
- package/assets/editor/assets/export-ChP0k5F5.js +0 -2
- package/assets/editor/assets/export-DEFKKRRi.js +0 -6
- package/assets/editor/assets/export-dialog-DPg1uzX5.js +0 -1
- package/assets/editor/assets/flow-layer-B7mlx0G4.js +0 -1
- package/assets/editor/assets/flow-panel-DoK6VIJ4.js +0 -1
- package/assets/editor/assets/flow-stage-fiF5Nggn.js +0 -1
- package/assets/editor/assets/icon-picker-NboB5Fvv.js +0 -1
- package/assets/editor/assets/image-library-Bb6bV6eK.js +0 -1
- package/assets/editor/assets/index-mhi0Z6gG.js +0 -24
- package/assets/editor/assets/layout-offthread-BwetpTFH.js +0 -18
- package/assets/editor/assets/menu-BPrc8Ara.js +0 -1
- package/assets/editor/assets/panel-controls-DYZ7QFT5.js +0 -1
- package/assets/editor/assets/plan-jQm1jDpt.js +0 -1
- package/assets/editor/assets/presentation-BavfNtxp.js +0 -1
- package/assets/editor/assets/presenter-keys-DVQcBdy1.js +0 -1
- package/assets/editor/assets/reflow-Cv75wPSh.js +0 -1
- package/assets/editor/assets/registry-DCgwH8wI.js +0 -1
- package/assets/editor/assets/renderer-environment-DmWXvuT4.js +0 -1
- package/assets/editor/assets/ride-overlay-DhygYdx1.js +0 -1
- package/assets/editor/assets/selection-overlay-primitives-hWJ1xjF7.js +0 -1
- package/assets/editor/assets/shape-meta-BpwsiB82.js +0 -1
- package/assets/editor/assets/sign-in-dialog-DRooo5xw.js +0 -1
- package/assets/editor/assets/slide-notes-dialog-DLdTmd7_.js +0 -1
- package/assets/editor/assets/slides-D9bnXqtf.js +0 -15
- package/assets/editor/assets/slides-panel-hozTMSMk.js +0 -26
- package/assets/editor/assets/text-breaks-YU-ymaF9.js +0 -7
- package/assets/editor/assets/tidy-browser-BwodBnAH.js +0 -1
- package/assets/editor/assets/tidy-scope-BgBSUklT.js +0 -1
- package/assets/editor/assets/toast-Nu_fiCd9.js +0 -1
- package/assets/editor/assets/tool-drawer-DEEqsKSN.js +0 -1
- package/assets/editor/assets/tooltip-DgEojto1.js +0 -1
- package/assets/editor/assets/tree-BbSzMkPL.js +0 -1
- package/assets/editor/assets/upgrade-dialog-DpZeaLDB.js +0 -1
- package/assets/editor/assets/use-drag-reorder-CTTvTwza.js +0 -1
- package/assets/editor/assets/use-export-command-CPc7qug1.js +0 -2
- package/assets/editor/assets/use-grid-keyboard-nav-B88Qw-cQ.js +0 -0
- package/assets/editor/assets/use-icon-node-DJZFjABX.js +0 -1
- package/assets/editor/assets/use-key-held-38H1v73f.js +0 -1
- package/assets/editor/assets/use-recent-list-BEG0iBIm.js +0 -1
- package/assets/editor/assets/useAnchoredPopupScrollLock-BGKchwpi.js +0 -1
- package/assets/editor/assets/useBaseUiId-C0Zm5sUV.js +0 -1
- package/assets/editor/assets/useButton-D3eS7fh5.js +0 -1
- package/assets/editor/assets/useControlled-C5xhvPXX.js +0 -1
- package/assets/editor/assets/usePositioner-DA3aR0-T.js +0 -1
- package/assets/editor/assets/useScrollLock-B7mQdXyv.js +0 -1
- package/assets/editor/assets/useValueChanged-p8z-93L4.js +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "koboyo",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Render Koboyo diagram code to SVG and PNG on your own machine. No account needed.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"koboyo",
|
|
@@ -49,13 +49,13 @@
|
|
|
49
49
|
"typescript": "^7.0.2",
|
|
50
50
|
"vitest": "^4.1.10",
|
|
51
51
|
"zod": "^4.4.3",
|
|
52
|
+
"@koboyo/headless": "0.0.0",
|
|
52
53
|
"@koboyo/agent-tools": "0.0.0",
|
|
53
|
-
"@koboyo/
|
|
54
|
+
"@koboyo/local-editor": "0.0.0",
|
|
54
55
|
"@koboyo/language": "0.0.0",
|
|
56
|
+
"@koboyo/compiler": "0.0.0",
|
|
55
57
|
"@koboyo/model": "0.0.0",
|
|
56
|
-
"@koboyo/
|
|
57
|
-
"@koboyo/renderer": "0.0.0",
|
|
58
|
-
"@koboyo/local-editor": "0.0.0"
|
|
58
|
+
"@koboyo/renderer": "0.0.0"
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|
|
61
61
|
"build": "node --import tsx scripts/build.mjs",
|
package/skills/koboyo/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: koboyo
|
|
|
3
3
|
description: "Draw diagrams as code and render them to SVG, PNG or HTML on this machine with the koboyo CLI: architecture and dependency maps, flowcharts, sequence diagrams, ERDs and class diagrams, state machines, mind maps, gantt charts, timelines and more. Use when the user asks to draw, diagram, visualize, map or explain a system, a codebase, a request flow, a data model or a process, or wants a picture for docs or a README; and to let the user edit a diagram by hand in a local editor and read their edits back."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
<!-- Generated by koboyo 0.
|
|
6
|
+
<!-- Generated by koboyo 0.5.0. `koboyo setup` rewrites this file. -->
|
|
7
7
|
|
|
8
8
|
# Koboyo diagrams
|
|
9
9
|
|
|
@@ -127,13 +127,38 @@ once (the message is shown to the person); `wait_for_edits({ sessionId, timeoutS
|
|
|
127
127
|
returns the result above plus the PNG, or status "waiting" when the person isn't done yet, so
|
|
128
128
|
call it again with the same sessionId;
|
|
129
129
|
`read_drawing({ path })` reads the board as it is now, without waiting. Both list the open
|
|
130
|
-
comments; `reply_to_comment({ path, commentId, text, resolve })` answers one
|
|
130
|
+
comments; `reply_to_comment({ path, commentId, text, resolve })` answers one, and
|
|
131
|
+
`add_comment({ path, text, on | image | at })` pins a new one: on a shape (id or label), on
|
|
132
|
+
a measured pixel of an image (`image: { imageId, x, y }`), on a board point, or on an
|
|
133
|
+
element of an HTML widget (`on` its id with `at: { selector }` or `at: { text }`). A
|
|
134
|
+
comment on a widget names the element under it (tag, quoted text, selector); fix that
|
|
135
|
+
element with `edit_html`, then reply or resolve.
|
|
131
136
|
|
|
132
137
|
The server also draws on boards directly, with the hosted server's board tools taking a
|
|
133
138
|
`path` to a `.kby`: `create_diagram`, `read_canvas`, `draw_shapes`, `update_shapes`,
|
|
134
139
|
`connect_shapes`, `add_flow` and the rest. While the board is open in the editor, the
|
|
135
140
|
person watches each change land.
|
|
136
141
|
|
|
142
|
+
A diagram shows structure; some things are better shown working. With the MCP server
|
|
143
|
+
connected, put them on a board beside the diagrams:
|
|
144
|
+
|
|
145
|
+
- `add_html({ path, title, width, height, html })`: a live HTML widget for a UI mockup, a
|
|
146
|
+
small interactive prototype or a little dashboard the person can click through. Write one
|
|
147
|
+
self-contained document: inline CSS and JS, data inlined as literals, no network (fetch,
|
|
148
|
+
XHR and WebSocket are blocked). Tailwind's CDN (`https://cdn.tailwindcss.com`) works;
|
|
149
|
+
other scripts only from cdn.jsdelivr.net, unpkg.com, cdnjs.cloudflare.com or esm.sh. Size
|
|
150
|
+
a small widget to its content and a full page like a browser window (say 1280x800): a
|
|
151
|
+
longer page scrolls inside the box, and the board's preview shows its top. At most
|
|
152
|
+
128 KB. The answer lists anything that will not work.
|
|
153
|
+
- `edit_html({ path, id, edits: [{ find, replace }] })` revises it: each `find` is an exact
|
|
154
|
+
snippet that appears once. Do this rather than resending the whole page or adding a
|
|
155
|
+
second copy; `read_html({ path, id })` shows the current source.
|
|
156
|
+
- `add_embed({ path, url })`: a video (YouTube, Vimeo, Loom), a Figma file, a CodePen or
|
|
157
|
+
CodeSandbox, a map, or any https page the person wants to see in place.
|
|
158
|
+
|
|
159
|
+
Systems, flows, sequences and data models stay diagrams: HTML is for what a diagram cannot
|
|
160
|
+
show. Open the board in the editor so the person can use the widget and comment on it.
|
|
161
|
+
|
|
137
162
|
To get the person's feedback on something visual you built — a page, a screen, a chart:
|
|
138
163
|
|
|
139
164
|
1. Take a screenshot with your browser tool and save it in the project.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as e}from"./rolldown-runtime-aKtaBQYM.js";import{n as t}from"./jsx-runtime-2Zwg-L3c.js";import{ht as n}from"./useScrollLock-B7mQdXyv.js";import{t as r}from"./useBaseUiId-C0Zm5sUV.js";import{o as i}from"./DialogRoot-mHGRFW9m.js";var a=e(t(),1).forwardRef(function(e,t){let{render:a,className:o,style:s,id:c,...l}=e,{store:u}=i(),d=r(c);return u.useSyncedValueWithCleanup(`descriptionElementId`,d),n(`p`,e,{ref:t,props:[{id:d},l]})});export{a as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as e}from"./rolldown-runtime-aKtaBQYM.js";import{n as t,t as n}from"./jsx-runtime-2Zwg-L3c.js";import{A as r,An as i,C as a,Cn as o,Gt as s,R as c,S as l,Tn as u,U as d,Wt as f,Y as p,_ as m,b as h,d as g,dt as _,f as v,g as y,ht as b,i as x,j as S,jn as C,k as w,l as T,mt as E,n as D,o as O,p as k,pt as A,r as j,t as M,u as N,v as P,x as F}from"./useScrollLock-B7mQdXyv.js";var I=n(),L=e(t(),1);function R(e){let{store:t,actionsRef:n}=e,r=t.useState(`open`);l(t,r),P(t);let{forceUnmount:i}=h(r,t),a=L.useCallback(()=>{t.setOpen(!1,d(p))},[t]);L.useImperativeHandle(n,()=>({unmount:i,close:a}),[i,a])}function z({store:e,parentContext:t,isDrawer:n}){let i=e.useState(`open`),a=e.useState(`disablePointerDismissal`),o=e.useState(`modal`),c=e.useState(`popupElement`),l=e.useState(`floatingRootContext`),[d,p]=L.useState(0),[m,h]=L.useState(0),g=d===0,_=r(l,{outsidePressEvent(){return e.context.internalBackdropRef.current||e.context.backdropRef.current?`intentional`:{mouse:o===`trap-focus`?`sloppy`:`intentional`,touch:`sloppy`}},outsidePress(t){if(!e.context.outsidePressEnabledRef.current||`button`in t&&t.button!==0||`touches`in t&&t.touches.length!==1)return!1;let n=s(t);return g&&!a?o&&(e.context.internalBackdropRef.current||e.context.backdropRef.current)?e.context.internalBackdropRef.current===n||e.context.backdropRef.current===n||f(n,c)&&!n?.hasAttribute(`data-base-ui-portal`):!0:!1},escapeKey:g});return M(i&&o===!0,c),e.useContextCallback(`onNestedDialogOpen`,(e,t)=>{p(e),h(t)}),e.useContextCallback(`onNestedDialogClose`,()=>{p(0),h(0)}),L.useEffect(()=>(t?.onNestedDialogOpen&&i&&t.onNestedDialogOpen(d+1,m+ +!!n),t?.onNestedDialogClose&&!i&&t.onNestedDialogClose(),()=>{t?.onNestedDialogClose&&i&&t.onNestedDialogClose()}),[n,i,d,m,t]),F(e,{activeTriggerProps:_.reference??u,inactiveTriggerProps:_.trigger??u,popupProps:_.floating??u,nestedOpenDialogCount:d,nestedOpenDrawerCount:m}),null}var B=L.createContext(!1),V=L.createContext(void 0);function H(e){let t=L.useContext(V);if(e===!1&&t===void 0)throw Error(C(27));return t}var U={...g,modal:i(e=>e.modal),nested:i(e=>e.nested),nestedOpenDialogCount:i(e=>e.nestedOpenDialogCount),nestedOpenDrawerCount:i(e=>e.nestedOpenDrawerCount),disablePointerDismissal:i(e=>e.disablePointerDismissal),openMethod:i(e=>e.openMethod),descriptionElementId:i(e=>e.descriptionElementId),titleElementId:i(e=>e.titleElementId),viewportElement:i(e=>e.viewportElement),role:i(e=>e.role)},W=class e extends o{constructor(e,t,n=!1){let r=new v,i=G(e);i.floatingRootContext=N(r,t,n),super(i,{popupRef:L.createRef(),backdropRef:L.createRef(),internalBackdropRef:L.createRef(),outsidePressEnabledRef:{current:!0},triggerElements:r,onOpenChange:void 0,onOpenChangeComplete:void 0},U)}setOpen=(e,t)=>{if(t.preventUnmountOnClose=()=>{this.set(`preventUnmountingOnClose`,!0)},!e&&t.trigger==null&&this.state.activeTriggerId!=null&&(t.trigger=this.state.activeTriggerElement??void 0),this.context.onOpenChange?.(e,t),t.isCanceled)return;this.state.floatingRootContext.dispatchOpenChange(e,t);let n={open:e};m(n,e,t.trigger),this.update(n)};static useStore(t,n){return a(t,(t,r)=>new e(n,t,r),!0).store}};function G(e={}){return{...T(),modal:!0,disablePointerDismissal:!1,popupElement:null,viewportElement:null,descriptionElementId:void 0,titleElementId:void 0,openMethod:null,nested:!1,nestedOpenDialogCount:0,nestedOpenDrawerCount:0,role:`dialog`,...e}}function K(e,t=`dialog`){let{children:n,open:r,defaultOpen:i=!1,onOpenChange:a,onOpenChangeComplete:o,disablePointerDismissal:s=!1,modal:c=!0,actionsRef:l,handle:u,triggerId:d,defaultTriggerId:f=null}=e,p=t===`drawer`,m=t===`alert-dialog`,h=m?!0:c,g=m||s,_=m?`alertdialog`:`dialog`,v=H(!0),y={modal:h,disablePointerDismissal:g,nested:!!v,role:_},b=W.useStore(u?.store,{open:i,openProp:r,activeTriggerId:f,triggerIdProp:d,...y});w(()=>{let e=r===void 0&&b.state.open===!1&&i===!0?{open:!0,activeTriggerId:f}:null;m?b.update(e?{...y,...e}:y):e&&b.update(e)}),b.useControlledProp(`openProp`,r),b.useControlledProp(`triggerIdProp`,d),b.useSyncedValues(y),b.useContextCallback(`onOpenChange`,a),b.useContextCallback(`onOpenChangeComplete`,o);let x=b.useState(`open`),S=b.useState(`mounted`),C=b.useState(`payload`);R({store:b,actionsRef:l});let T=x||S,E=L.useMemo(()=>({store:b}),[b]);return(0,I.jsx)(B.Provider,{value:!1,children:(0,I.jsxs)(V.Provider,{value:E,children:[T&&(0,I.jsx)(z,{store:b,parentContext:v?.store.context,isDrawer:p}),typeof n==`function`?n({payload:C}):n]})})}var q={...O,...A},J=L.forwardRef(function(e,t){let{render:n,className:r,style:i,forceRender:a=!1,...o}=e,{store:s}=H(),c=s.useState(`open`),l=s.useState(`nested`),u=s.useState(`mounted`);return b(`div`,e,{state:{open:c,transitionStatus:s.useState(`transitionStatus`)},ref:[s.context.backdropRef,t],stateAttributesMapping:q,props:[{role:`presentation`,hidden:!u,style:{userSelect:`none`,WebkitUserSelect:`none`}},o],enabled:a||!l})}),Y=function(e){return e.nestedDialogs=`--nested-dialogs`,e}({}),X=function(e){return e[e.open=x.open]=`open`,e[e.closed=x.closed]=`closed`,e[e.startingStyle=x.startingStyle]=`startingStyle`,e[e.endingStyle=x.endingStyle]=`endingStyle`,e.nested=`data-nested`,e.nestedDialogOpen=`data-nested-dialog-open`,e}({}),Z=L.createContext(void 0);function Q(){let e=L.useContext(Z);if(e===void 0)throw Error(C(26));return e}var $={...O,...A,nestedDialogOpen(e){return e?{[X.nestedDialogOpen]:``}:null}},ee=L.forwardRef(function(e,t){let{render:n,className:r,style:i,finalFocus:a,initialFocus:o,...s}=e,{store:c}=H(),l=c.useState(`descriptionElementId`),u=c.useState(`disablePointerDismissal`),d=c.useState(`floatingRootContext`),f=c.useState(`popupProps`),p=c.useState(`modal`),m=c.useState(`mounted`),h=c.useState(`nested`),g=c.useState(`nestedOpenDialogCount`),v=c.useState(`open`),x=c.useState(`openMethod`),C=c.useState(`titleElementId`),w=c.useState(`transitionStatus`),T=c.useState(`role`),E=d.useState(`floatingId`),D=s.id??E;Q(),_({open:v,ref:c.context.popupRef,onComplete(){v&&c.context.onOpenChangeComplete?.(!0)}});let O=o===void 0?y(c.context.popupRef):o,A=g>0,M=c.useStateSetter(`popupElement`),N=b(`div`,e,{state:{open:v,nested:h,transitionStatus:w,nestedDialogOpen:A},props:[f,{id:D,"aria-labelledby":C??void 0,"aria-describedby":l??void 0,role:T,...k,hidden:!m,onKeyDown(e){j.has(e.key)&&e.stopPropagation()},style:{[Y.nestedDialogs]:g}},s],ref:[t,c.context.popupRef,M],stateAttributesMapping:$});return(0,I.jsx)(S,{context:d,openInteractionType:x,disabled:!m,closeOnFocusOut:!u,initialFocus:O,returnFocus:a,modal:p!==!1,restoreFocus:`popup`,children:N})}),te=L.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e,{store:i}=H(),a=i.useState(`mounted`),o=i.useState(`modal`),s=i.useState(`open`);return a||n?(0,I.jsx)(Z.Provider,{value:n,children:(0,I.jsxs)(c,{ref:t,...r,children:[a&&o===!0&&(0,I.jsx)(D,{ref:i.context.internalBackdropRef,inert:E(!s)}),e.children]})}):null});function ne(e){return K(e,L.useContext(B)?`drawer`:`dialog`)}export{K as a,J as i,te as n,H as o,ee as r,ne as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as e}from"./rolldown-runtime-aKtaBQYM.js";import{n as t}from"./jsx-runtime-2Zwg-L3c.js";import{G as n,U as r,ht as i}from"./useScrollLock-B7mQdXyv.js";import{t as a}from"./useButton-D3eS7fh5.js";import{t as o}from"./useBaseUiId-C0Zm5sUV.js";import{o as s}from"./DialogRoot-mHGRFW9m.js";var c=e(t(),1),l=c.forwardRef(function(e,t){let{render:o,className:c,style:l,disabled:u=!1,nativeButton:d=!0,...f}=e,{store:p}=s(),m=p.useState(`open`),{getButtonProps:h,buttonRef:g}=a({disabled:u,native:d}),_={disabled:u};function v(e){m&&p.setOpen(!1,r(n,e.nativeEvent))}return i(`button`,e,{state:_,ref:[t,g],props:[{onClick:v},f,h]})}),u=c.forwardRef(function(e,t){let{render:n,className:r,style:a,id:c,...l}=e,{store:u}=s(),d=o(c);return u.useSyncedValueWithCleanup(`titleElementId`,d),i(`h2`,e,{ref:t,props:[{id:d},l]})});export{l as n,u as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as e}from"./rolldown-runtime-aKtaBQYM.js";import{n as t,t as n}from"./jsx-runtime-2Zwg-L3c.js";import{Fn as r,z as i}from"./useScrollLock-B7mQdXyv.js";var a=e(t(),1),o=e(r(),1),s=n(),c=a.forwardRef(function(e,t){let{children:n,container:r,className:c,render:l,style:u,...d}=e,{portalNode:f,portalSubtree:p}=i({container:r,ref:t,componentProps:e,elementProps:d});return!p&&!f?null:(0,s.jsxs)(a.Fragment,{children:[p,f&&o.createPortal(n,f)]})});export{c as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./createReactComponent-9UsI5fmM.js";var t=e(`outline`,`chevron-left`,`ChevronLeft`,[[`path`,{d:`M15 6l-6 6l6 6`,key:`svg-0`}]]);export{t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./createReactComponent-9UsI5fmM.js";var t=e(`outline`,`chevron-right`,`ChevronRight`,[[`path`,{d:`M9 6l6 6l-6 6`,key:`svg-0`}]]);export{t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./createReactComponent-9UsI5fmM.js";var t=e(`outline`,`corner-down-right`,`CornerDownRight`,[[`path`,{d:`M6 6v6a3 3 0 0 0 3 3h10l-4 -4m0 8l4 -4`,key:`svg-0`}]]);export{t};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ride-overlay-DhygYdx1.js","assets/rolldown-runtime-aKtaBQYM.js","assets/jsx-runtime-2Zwg-L3c.js","assets/editor-B0tARd79.js","assets/reflow-Cv75wPSh.js","assets/style-BENGW2ZV.js","assets/slides-D9bnXqtf.js","assets/renderer-environment-DmWXvuT4.js","assets/editable-target-BTLnvKNi.js","assets/createReactComponent-9UsI5fmM.js","assets/IconTrash-DbN_RxB7.js","assets/IconArrowLeft-DFk3Krim.js","assets/IconPlayerStopFilled-BUbX6ZO5.js","assets/IconEraser-DlZQe3-r.js","assets/IconFocusCentered-C5PcDeR0.js","assets/IconPencil-C5Y-Y4dC.js","assets/IconX-AlbPkO_g.js","assets/IconPlayerPlayFilled-D4OODBX7.js","assets/storage-CvDRYh5V.js","assets/chrome-C2RCq3SI.js","assets/DialogRoot-mHGRFW9m.js","assets/useScrollLock-B7mQdXyv.js","assets/DialogTitle-CFhr-gP9.js","assets/useButton-D3eS7fh5.js","assets/useBaseUiId-C0Zm5sUV.js","assets/DialogDescription-ZtZCUsfy.js","assets/connector-labels-vVnYQJRz.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{i as e}from"./rolldown-runtime-aKtaBQYM.js";import{n as t,t as n}from"./jsx-runtime-2Zwg-L3c.js";import{o as r}from"./editor-B0tARd79.js";import{t as i}from"./preload-helper-Czpn1I53.js";import{i as a,n as o,r as s,t as c}from"./lazy-module-DkWvu4va.js";import{t as l}from"./createReactComponent-9UsI5fmM.js";var u=e(t(),1),d={status:`idle`};function f(e,t){switch(t.type){case`activate`:case`retry`:return e.status===`failed`?{status:`idle`}:e;case`load-start`:return e.status===`idle`?{status:`loading`}:e;case`load-resolve`:return e.status===`loading`?{status:`ready`}:e;case`load-reject`:return e.status===`loading`?{status:`failed`}:e;case`load-stale`:return e.status===`loading`||e.status===`failed`?{status:`stale`}:e}}function p(e,t){return t&&e.status===`idle`}function m(e,t,n){return e.status===`ready`?t||n:!1}function h(e,t){return t&&e.status===`loading`}function g(e,t){return t&&e.status===`failed`}function _(e,t){return t&&e.status===`stale`}var v=n(),y=`absolute left-1/2 top-[var(--chrome-top)] -translate-x-1/2 coarse:top-[calc(4.5rem+var(--koboyo-host-inset-top))]`;function b(e){let{children:t}=e;return(0,v.jsx)(`div`,{className:`pointer-events-none flex flex-col items-center gap-2 ${y}`,children:t})}function x(e){let{testId:t,tone:n,children:r,action:i}=e;return(0,v.jsxs)(`div`,{role:n===`error`?`alert`:`status`,"data-testid":t,"data-overlay":!0,className:`z-10 flex min-h-8 max-w-[min(24rem,calc(100vw-9rem))] items-center gap-2 rounded-xl bg-[var(--chrome-popup)] px-3 py-1.5 text-[12px] leading-snug text-[var(--chrome-fg-600)] shadow-md ring-1 ring-[var(--chrome-ring)] ${y}`,children:[(0,v.jsx)(`span`,{className:`min-w-0`,children:r}),i?(0,v.jsx)(`button`,{type:`button`,"data-testid":i.testId,onClick:i.onClick,className:`flex h-6 shrink-0 cursor-pointer items-center rounded-lg px-2 text-[var(--chrome-fg-500)] transition-colors hover:bg-[var(--chrome-hover)] hover:text-[var(--chrome-fg-900)]`,children:i.label}):null]})}function S(e){o(e.load)}function C(e){let{active:t,retain:n=!1,feature:r,fallback:i,children:o}=e,[l,y]=(0,u.useReducer)(f,d),b=(0,u.useRef)(!1);(0,u.useEffect)(()=>{t&&!b.current&&y({type:`activate`}),b.current=t},[t]);let S=(0,u.useRef)(!0);(0,u.useEffect)(()=>(S.current=!0,()=>{S.current=!1}),[]);let C=(0,u.useRef)(0),w=p(l,t);if((0,u.useEffect)(()=>{w&&(y({type:`load-start`}),s(r.load).then(()=>{S.current&&y({type:`load-resolve`})},e=>{C.current+=1,S.current&&y({type:`load-reject`}),c(e).then(e=>{e&&S.current&&y({type:`load-stale`})})}))},[w,r]),m(l,t,n)){let e=a(r.load);return e===void 0?null:(0,v.jsx)(v.Fragment,{children:o(r.pick(e))})}return h(l,t)?(0,v.jsx)(v.Fragment,{children:i??null}):_(l,t)?(0,v.jsx)(x,{testId:`lazy-feature-stale`,tone:`error`,action:{label:`Reload`,testId:`lazy-feature-reload`,onClick:()=>window.location.reload()},children:`New version available`}):g(l,t)?(0,v.jsx)(x,{testId:`lazy-feature-error`,tone:`error`,action:{label:`Retry`,testId:`lazy-feature-retry`,onClick:()=>{if(C.current>=2){window.location.reload();return}y({type:`retry`})}},children:`Couldn't load this panel`}):null}var w={load:()=>i(()=>import(`./ride-overlay-DhygYdx1.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26])),pick:e=>e.RideOverlay},T={at:null};function E(){let e=r(e=>e.rideMode),t=r(e=>e.presentingIndex!==null);return(0,u.useEffect)(()=>{let e=e=>{T.at={x:e.clientX,y:e.clientY}};return window.addEventListener(`pointermove`,e,{passive:!0}),()=>window.removeEventListener(`pointermove`,e)},[]),(0,v.jsx)(C,{active:e&&!t,feature:w,children:e=>(0,v.jsx)(e,{})})}var D=l(`outline`,`help`,`Help`,[[`path`,{d:`M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0`,key:`svg-0`}],[`path`,{d:`M12 17l0 .01`,key:`svg-1`}],[`path`,{d:`M12 13.5a1.5 1.5 0 0 1 1 -1.5a2.6 2.6 0 1 0 -3 -4`,key:`svg-2`}]]);export{S as a,b as c,C as i,E as n,x as o,T as r,y as s,D as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./createReactComponent-9UsI5fmM.js";var t=e(`outline`,`loader-2`,`Loader2`,[[`path`,{d:`M12 3a9 9 0 1 0 9 9`,key:`svg-0`}]]);export{t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./createReactComponent-9UsI5fmM.js";var t=e(`outline`,`minus`,`Minus`,[[`path`,{d:`M5 12l14 0`,key:`svg-0`}]]);export{t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./createReactComponent-9UsI5fmM.js";var t=e(`outline`,`plus`,`Plus`,[[`path`,{d:`M12 5l0 14`,key:`svg-0`}],[`path`,{d:`M5 12l14 0`,key:`svg-1`}]]);export{t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./createReactComponent-9UsI5fmM.js";var t=e(`outline`,`x`,`X`,[[`path`,{d:`M18 6l-12 12`,key:`svg-0`}],[`path`,{d:`M6 6l12 12`,key:`svg-1`}]]);export{t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as e}from"./rolldown-runtime-aKtaBQYM.js";import{n as t,t as n}from"./jsx-runtime-2Zwg-L3c.js";import{T as r,Tn as i,c as a,ht as o,jn as s}from"./useScrollLock-B7mQdXyv.js";import{i as c,r as l}from"./tooltip-DgEojto1.js";import{O as u,S as d,_ as f,d as p,l as m,u as h,x as g,y as _}from"./menu-BPrc8Ara.js";import{t as v}from"./createReactComponent-9UsI5fmM.js";import{t as y}from"./useBaseUiId-C0Zm5sUV.js";var b=v(`outline`,`route`,`Route`,[[`path`,{d:`M3 19a2 2 0 1 0 4 0a2 2 0 0 0 -4 0`,key:`svg-0`}],[`path`,{d:`M19 7a2 2 0 1 0 0 -4a2 2 0 0 0 0 4`,key:`svg-1`}],[`path`,{d:`M11 19h5.5a3.5 3.5 0 0 0 0 -7h-8a3.5 3.5 0 0 1 0 -7h4.5`,key:`svg-2`}]]),x=e(t(),1),S=n();function C(e){let t=g().store,n=x.useMemo(()=>({parentMenu:t}),[t]);return(0,S.jsx)(h.Provider,{value:n,children:(0,S.jsx)(m,{...e})})}var w=x.forwardRef(function(e,t){let{render:n,className:m,style:h,label:v,id:b,nativeButton:S=!1,openOnHover:C=!0,delay:w=100,closeDelay:T=0,disabled:E=!1,...D}=e,O=f({label:v}),k=d(),{store:A}=g(),j=y(b),M=A.useState(`open`),N=A.useState(`floatingRootContext`),P=A.useState(`floatingTreeRoot`),F=A.useState(`triggerPopupId`,j),I=r(j,A),L=x.useCallback(e=>{let t=I(e);return e!==null&&A.select(`open`)&&A.select(`activeTriggerId`)==null&&A.update({activeTriggerId:j,activeTriggerElement:e,closeDelay:T}),t},[I,T,A,j]),R=x.useRef(null),z=x.useCallback(e=>{R.current=e,A.set(`activeTriggerElement`,e)},[A]),B=p();if(!B?.parentMenu)throw Error(s(37));A.useSyncedValue(`closeDelay`,T);let V=B.parentMenu,H=A.useState(`disabled`),U=V.useState(`disabled`),W=E||H||U,G=V.useState(`itemProps`),K=V.useState(`isActive`,O.index),q=x.useMemo(()=>({type:`submenu-trigger`,setActive(){V.select(`highlightItemOnHover`)&&V.set(`activeIndex`,O.index)}}),[V,O.index]),{getItemProps:J,itemRef:Y}=_({closeOnClick:!1,disabled:W,highlighted:K,id:j,store:A,typingRef:V.context.typingRef,nativeButton:S,itemMetadata:q,nodeId:k?.context.nodeId}),X=c(N,{enabled:A.useState(`hoverEnabled`)&&C&&!W,handleClose:l({blockPointerEvents:!0}),mouseOnly:!0,move:!0,restMs:w,delay:{open:w,close:T},shouldOpen:w>0?()=>V.select(`allowMouseEnter`):void 0,triggerElementRef:R,externalTree:P,isClosing:()=>A.select(`transitionStatus`)===`ending`}),Z=u(N,{enabled:!W,event:`mousedown`,toggle:!C,ignoreMouse:C,stickIfOpen:!1}).reference??i,Q=A.useState(`triggerProps`,!0);return delete Q.id,o(`div`,e,{state:{disabled:W,highlighted:K,open:M},stateAttributesMapping:a,props:[Z,X,Q,G,{"aria-controls":F,tabIndex:M||K?0:-1,onBlur(){K&&V.set(`activeIndex`,null)}},D,J],ref:[t,O.ref,Y,L,z]})});export{C as n,b as r,w as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as e}from"./rolldown-runtime-aKtaBQYM.js";import{n as t,t as n}from"./jsx-runtime-2Zwg-L3c.js";import{A as r,An as i,C as a,Cn as o,Dn as s,F as c,Fn as l,M as u,Mn as d,N as f,P as p,R as m,S as h,Tn as g,U as _,Y as v,_ as y,_n as b,_t as x,b as S,d as C,dt as w,en as T,f as E,ft as D,g as O,h as k,ht as A,j,jn as M,l as N,mt as P,n as F,nt as I,o as L,p as R,pt as z,r as B,u as V,ut as ee,v as H,x as U,y as te}from"./useScrollLock-B7mQdXyv.js";import{i as ne,n as re,o as ie,r as ae,t as oe}from"./usePositioner-DA3aR0-T.js";import{Dr as se,ei as W}from"./slides-D9bnXqtf.js";import{n as ce,t as le}from"./useAnchoredPopupScrollLock-BGKchwpi.js";var G=n(),K=7;function ue(e){let{kind:t,size:n}=e;return(0,G.jsx)(`svg`,{width:n??22,height:n??22,viewBox:`0 0 24 24`,fill:t===`fork-join`?`currentColor`:`none`,stroke:`currentColor`,strokeWidth:`1.75`,strokeLinejoin:`round`,"aria-hidden":!0,children:(0,G.jsx)(`path`,{d:se(t)})})}function de(e){let{size:t,stroke:n}=e;return(0,G.jsxs)(`svg`,{width:t??24,height:t??24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:n??1.75,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,children:[(0,G.jsx)(`rect`,{x:`7`,y:`3`,width:`10`,height:`4.6`,rx:`1.4`}),(0,G.jsx)(`path`,{d:`M12 7.6V21`,strokeDasharray:`2 2.6`})]})}function fe(e){let{size:t,stroke:n}=e;return(0,G.jsxs)(`svg`,{width:t??24,height:t??24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:n??1.75,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,children:[(0,G.jsx)(`rect`,{x:`4`,y:`4`,width:`16`,height:`16`,rx:`2`}),(0,G.jsx)(`path`,{d:`M4 9H20`}),(0,G.jsx)(`path`,{d:`M7 12.6H15.5`}),(0,G.jsx)(`path`,{d:`M7 16H12.5`})]})}function pe(e){let{size:t,stroke:n}=e;return(0,G.jsxs)(`svg`,{width:t??24,height:t??24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:n??1.75,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,children:[(0,G.jsx)(`rect`,{x:`9.8`,y:`3`,width:`4.4`,height:`18`,rx:`2.2`}),(0,G.jsx)(`rect`,{x:`9.8`,y:`4.5`,width:`4.4`,height:`7.5`,rx:`2.2`,fill:`currentColor`,stroke:`none`})]})}function me(e){let{size:t,stroke:n}=e;return(0,G.jsxs)(`svg`,{width:t??24,height:t??24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:n??1.75,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,children:[(0,G.jsx)(`rect`,{x:`3`,y:`3.5`,width:`18`,height:`4`,rx:`1.2`}),(0,G.jsx)(`path`,{d:`M16.5 5l1 1l1 -1`}),(0,G.jsx)(`path`,{d:`M5.5 10.5H15`}),(0,G.jsx)(`path`,{d:`M5.5 13H12`}),(0,G.jsx)(`rect`,{x:`3`,y:`15.5`,width:`18`,height:`4`,rx:`1.2`}),(0,G.jsx)(`path`,{d:`M16.5 16.7l1 0.8l-1 0.8`})]})}function he(e){let{size:t,stroke:n}=e;return(0,G.jsxs)(`svg`,{width:t??24,height:t??24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:n??1.75,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,children:[(0,G.jsx)(`path`,{d:`M4 9l-2 3l2 3`}),(0,G.jsx)(`rect`,{x:`7.5`,y:`10.3`,width:`9`,height:`3.4`,rx:`1.7`,fill:`currentColor`,stroke:`none`}),(0,G.jsx)(`path`,{d:`M20 9l2 3l-2 3`})]})}function ge(e){let{size:t,stroke:n}=e;return(0,G.jsxs)(`svg`,{width:t??24,height:t??24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:n??1.75,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,children:[(0,G.jsx)(`rect`,{x:`2`,y:`10`,width:`20`,height:`4`,rx:`2`}),(0,G.jsx)(`rect`,{x:`2`,y:`10`,width:`12.5`,height:`4`,rx:`2`,fill:`currentColor`,stroke:`none`})]})}function _e(e){let{size:t,stroke:n}=e;return(0,G.jsxs)(`svg`,{width:t??24,height:t??24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:n??1.75,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,children:[(0,G.jsx)(`rect`,{x:`3`,y:`4`,width:`18`,height:`16`,rx:`2`}),(0,G.jsx)(`path`,{d:`M6 8.5H18`}),(0,G.jsx)(`path`,{d:`M6 11.5H18`}),(0,G.jsx)(`path`,{d:`M6 14.5H13`}),(0,G.jsx)(`path`,{d:`M18.5 15.5l-3 3`}),(0,G.jsx)(`path`,{d:`M18.5 18l-0.8 0.8`})]})}function ve(e){let{size:t,stroke:n}=e,r={x:17.5,y:6.5};return(0,G.jsxs)(`svg`,{width:t??24,height:t??24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:n??2,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,children:[(0,G.jsx)(`path`,{d:`M 6 18 L ${r.x} ${r.y}`}),(0,G.jsx)(`path`,{d:W(r,-Math.PI/4,K)})]})}function ye(e){let{bend:t,size:n}=e;return(0,G.jsx)(`svg`,{width:n??22,height:n??22,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,children:t===`elbow`?(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(`path`,{d:`M4,19L10,19C11.097,19 12,18.097 12,17L12,9C12,7.903 12.903,7 14,7L21,7`}),(0,G.jsx)(`path`,{d:W({x:21,y:7},0,K)})]}):(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(`path`,{d:`M6 20c0 -6.075 4.925 -11 11 -11h3`}),(0,G.jsx)(`path`,{d:W({x:20,y:9},0,K)})]})})}var be={left:`M4 4v16m3-8h11M7 12l3-3m-3 3l3 3`,center:`M12 4v16m4-8h5m-3-3l-3 3l3 3M8 12H3m3-3l3 3l-3 3`,right:`M20 4v16m-3-8H6m11 0l-3-3m3 3l-3 3`,top:`M20 4H4m8 3v11m0-11l3 3m-3-3l-3 3`,middle:`M4 12h16m-8-4V3M9 6l3 3l3-3m-3 10v5m-3-3l3-3l3 3`,bottom:`M20 20H4m8-3V6m0 11l3-3m-3 3l-3-3`};function xe(e){let{type:t,size:n,stroke:r}=e;return(0,G.jsx)(`svg`,{width:n??16,height:n??16,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:r??2,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,children:(0,G.jsx)(`path`,{d:be[t]})})}function Se(e){let{size:t,stroke:n}=e;return(0,G.jsxs)(`svg`,{width:t??24,height:t??24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:n??2,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,children:[(0,G.jsx)(`path`,{d:`M5 3a2 2 0 0 0 -2 2`}),(0,G.jsx)(`path`,{d:`M19 3a2 2 0 0 1 2 2`}),(0,G.jsx)(`path`,{d:`M21 19a2 2 0 0 1 -2 2`}),(0,G.jsx)(`path`,{d:`M5 21a2 2 0 0 1 -2 -2`}),(0,G.jsx)(`path`,{d:`M9 3h1`}),(0,G.jsx)(`path`,{d:`M9 21h1`}),(0,G.jsx)(`path`,{d:`M14 3h1`}),(0,G.jsx)(`path`,{d:`M14 21h1`}),(0,G.jsx)(`path`,{d:`M3 9v1`}),(0,G.jsx)(`path`,{d:`M21 9v1`}),(0,G.jsx)(`path`,{d:`M3 14v1`}),(0,G.jsx)(`path`,{d:`M21 14v1`})]})}function Ce(e){let{size:t,stroke:n}=e;return(0,G.jsxs)(`svg`,{width:t??24,height:t??24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:n??2,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,children:[(0,G.jsx)(`path`,{d:`m9 11-6 6v3h9l3-3`}),(0,G.jsx)(`path`,{d:`m22 12-4.6 4.6a2 2 0 0 1-2.8 0l-5.2-5.2a2 2 0 0 1 0-2.8L14 4`})]})}function we(e){let{size:t,stroke:n}=e;return(0,G.jsxs)(`svg`,{width:t??22,height:t??22,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:n??1.75,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,children:[(0,G.jsx)(`path`,{d:`M12 3 L20.6 9.2 L17.3 19.3 L6.7 19.3 L3.4 9.2 Z`,opacity:.35}),(0,G.jsx)(`path`,{d:`M12 12 L12 3 M12 12 L20.6 9.2 M12 12 L17.3 19.3 M12 12 L6.7 19.3 M12 12 L3.4 9.2`,opacity:.35}),(0,G.jsx)(`path`,{d:`M12 4 L16.8 10.5 L16.1 17.7 L9.7 15.2 L6.3 10.2 Z`})]})}function Te(){return(0,G.jsx)(`svg`,{width:`8`,height:`8`,viewBox:`0 0 8 8`,className:`text-gray-400`,"aria-hidden":!0,children:(0,G.jsx)(`path`,{d:`M1.5 2.75 L4 5.25 L6.5 2.75`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.2`,strokeLinecap:`round`,strokeLinejoin:`round`})})}function Ee(){return(0,G.jsx)(`svg`,{width:`6`,height:`6`,viewBox:`0 0 6 6`,"aria-hidden":!0,className:`absolute bottom-1 right-1 opacity-30`,children:(0,G.jsx)(`path`,{d:`M6 0 V6 H0 Z`,fill:`currentColor`})})}function De(){return(0,G.jsxs)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,children:[(0,G.jsx)(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`}),(0,G.jsx)(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`})]})}var q=e(t(),1),J=q.createContext(void 0);function Y(e){let t=q.useContext(J);if(t===void 0&&!e)throw Error(M(47));return t}var Oe=e(l(),1);function ke(){return{...N(),disabled:!1,modal:!1,focusManagerModal:!1,instantType:void 0,openMethod:null,openChangeReason:null,titleElementId:void 0,descriptionElementId:void 0,stickIfOpen:!0,nested:!1,openOnHover:!1,closeDelay:0,hasViewport:!1}}var Ae={...C,disabled:i(e=>e.disabled),instantType:i(e=>e.instantType),openMethod:i(e=>e.openMethod),openChangeReason:i(e=>e.openChangeReason),modal:i(e=>e.modal),focusManagerModal:i(e=>e.focusManagerModal),stickIfOpen:i(e=>e.stickIfOpen),titleElementId:i(e=>e.titleElementId),descriptionElementId:i(e=>e.descriptionElementId),openOnHover:i(e=>e.openOnHover),closeDelay:i(e=>e.closeDelay),hasViewport:i(e=>e.hasViewport)},je=class e extends o{constructor(e,t,n=!1){let r={...ke(),...e},i=new E;r.open&&e?.mounted===void 0&&(r.mounted=!0),r.floatingRootContext=V(i,t,n),super(r,{popupRef:q.createRef(),backdropRef:q.createRef(),internalBackdropRef:q.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerFocusTargetRef:q.createRef(),beforeContentFocusGuardRef:q.createRef(),stickIfOpenTimeout:new T,triggerElements:i},Ae)}setOpen=(e,t)=>{let n=t.reason===I,r=t.reason===`trigger-press`&&t.event.detail===0,i=!e&&(t.reason===`escape-key`||t.reason==null),a=k(t),o=this.select(`activeTriggerId`);if(!e&&t.reason===`close-press`&&t.trigger==null&&o!=null&&(t.trigger=this.context.triggerElements.getById(o)??this.select(`activeTriggerElement`)??void 0),this.context.onOpenChange?.(e,t),t.isCanceled)return;this.state.floatingRootContext.dispatchOpenChange(e,t);let s=()=>{let n={open:e,openChangeReason:t.reason};y(n,e,t.trigger,a()),this.update(n)};n?(this.set(`stickIfOpen`,!0),this.context.stickIfOpenTimeout.start(500,()=>{this.set(`stickIfOpen`,!1)}),Oe.flushSync(s)):s(),r||i?this.set(`instantType`,r?`click`:`dismiss`):t.reason===`focus-out`?this.set(`instantType`,`focus`):this.set(`instantType`,void 0)};static useStore(t,n){let{store:r,internalStore:i}=a(t,(t,r)=>new e(n,t,r));return q.useEffect(()=>i?.disposeEffect(),[i]),r}disposeEffect=()=>this.context.stickIfOpenTimeout.disposeEffect()};function X({props:e}){let{children:t,open:n,defaultOpen:r=!1,onOpenChange:i,onOpenChangeComplete:a,modal:o=!1,handle:s,triggerId:l,defaultTriggerId:u=null}=e,d=je.useStore(s?.store,{modal:o,open:r,openProp:n,activeTriggerId:u,triggerIdProp:l});te(d,n,r,u),d.useControlledProp(`openProp`,n),d.useControlledProp(`triggerIdProp`,l);let f=d.useState(`open`),p=d.useState(`mounted`),m=d.useState(`payload`),g=c()!=null;d.useContextCallback(`onOpenChange`,i),d.useContextCallback(`onOpenChangeComplete`,a),h(d,f),H(d);let{forceUnmount:y}=S(f,d,()=>{d.update({stickIfOpen:!0,openChangeReason:null})});d.useSyncedValues({modal:o,nested:g}),q.useEffect(()=>{f||d.context.stickIfOpenTimeout.clear()},[d,f]);let b=q.useCallback(()=>{d.setOpen(!1,_(v))},[d]);q.useImperativeHandle(e.actionsRef,()=>({unmount:y,close:b}),[y,b]);let x=f||p,C=q.useMemo(()=>({store:d}),[d]);return(0,G.jsxs)(J.Provider,{value:C,children:[x&&(0,G.jsx)(Ne,{store:d,modal:o}),typeof t==`function`?t({payload:m}):t]})}function Me(e){return Y(!0)?(0,G.jsx)(X,{props:e}):(0,G.jsx)(f,{children:(0,G.jsx)(X,{props:e})})}function Ne({store:e,modal:t}){let n=r(e.useState(`floatingRootContext`),{outsidePressEvent:{mouse:t===`trap-focus`?`sloppy`:`intentional`,touch:`sloppy`}});return U(e,{activeTriggerProps:n.reference??g,inactiveTriggerProps:n.trigger??g,popupProps:q.useMemo(()=>x(R,n.floating),[n.floating])}),null}var Z=q.createContext(void 0);function Pe(){let e=q.useContext(Z);if(e===void 0)throw Error(M(45));return e}var Fe=q.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e,{store:i}=Y();return i.useState(`mounted`)||n?(0,G.jsx)(Z.Provider,{value:n,children:(0,G.jsx)(m,{ref:t,...r})}):null}),Q=q.createContext(void 0);function Ie(){let e=q.useContext(Q);if(!e)throw Error(M(46));return e}var Le=q.forwardRef(function(e,t){let{render:n,className:r,style:i,anchor:a,positionMethod:o=`absolute`,side:s=`bottom`,align:c=`center`,sideOffset:l=0,alignOffset:f=0,collisionBoundary:m=`clipping-ancestors`,collisionPadding:h=5,arrowPadding:g=5,sticky:_=!1,disableAnchorTracking:v=!1,collisionAvoidance:y=ee,...b}=e,{store:x}=Y(),S=Pe(),C=p(),w=x.useState(`floatingRootContext`),T=x.useState(`mounted`),E=x.useState(`open`),O=x.useState(`openChangeReason`),k=x.useState(`activeTriggerElement`),A=x.useState(`modal`),j=x.useState(`openMethod`),M=x.useState(`positionerElement`),N=x.useState(`instantType`),I=x.useState(`transitionStatus`),L=x.useState(`hasViewport`),R=q.useRef(null),z=D(M,!1,!1),B=ae({anchor:a,floatingRootContext:w,positionMethod:o,mounted:T,side:s,sideOffset:l,align:c,alignOffset:f,arrowPadding:g,collisionBoundary:m,collisionPadding:h,sticky:_,disableAnchorTracking:v,keepMounted:S,nodeId:C,collisionAvoidance:y,adaptiveOrigin:L?ne:void 0}),V=w.useState(`domReferenceElement`);d(()=>{let e=V,t=R.current;if(e&&(R.current=e),t&&e&&e!==t){x.set(`instantType`,void 0);let e=new AbortController;return z(()=>{x.set(`instantType`,`trigger-change`)},e.signal),()=>{e.abort()}}},[V,z,x]),le(E&&A===!0&&O!==`trigger-hover`,j===`touch`,M,k);let H=q.useCallback(e=>{x.set(`positionerElement`,e)},[x]),U=oe(e,{open:E,side:B.side,align:B.align,anchorHidden:B.anchorHidden,instant:N},{styles:B.positionerStyles,transitionStatus:I,props:b,refs:[t,H],hidden:!T,inert:!E});return(0,G.jsxs)(Q.Provider,{value:B,children:[T&&A===!0&&O!==`trigger-hover`&&(0,G.jsx)(F,{ref:x.context.internalBackdropRef,inert:P(!E),cutout:k}),(0,G.jsx)(u,{id:C,children:U})]})}),$=q.createContext(void 0);function Re(){let[e,t]=q.useState(0),n=s(()=>(t(e=>e+1),()=>{t(e=>Math.max(0,e-1))}));return{context:q.useMemo(()=>({register:n}),[n]),hasClosePart:e>0}}function ze(e){let{value:t,children:n}=e;return(0,G.jsx)($.Provider,{value:t,children:n})}function Be(){let e=q.useContext($);d(()=>e?.register(),[e])}var Ve={...L,...z},He=q.forwardRef(function(e,t){let{render:n,className:r,style:i,initialFocus:a,finalFocus:o,...s}=e,{store:c}=Y(),l=Ie(),u=ce(!0)!=null,{context:d,hasClosePart:f}=Re(),p=c.useState(`open`),m=c.useState(`openMethod`),h=c.useState(`instantType`),g=c.useState(`transitionStatus`),_=c.useState(`popupProps`),v=c.useState(`titleElementId`),y=c.useState(`descriptionElementId`),x=c.useState(`modal`),S=c.useState(`mounted`),C=c.useState(`openChangeReason`),T=c.useState(`activeTriggerElement`),E=c.useState(`floatingRootContext`),D=E.useState(`floatingId`),k=c.useState(`disabled`),M=c.useState(`openOnHover`),N=c.useState(`closeDelay`),P=s.id??D;w({open:p,ref:c.context.popupRef,onComplete(){p&&c.context.onOpenChangeComplete?.(!0)}}),ie(E,{enabled:M&&!k,closeDelay:N});let F=a===void 0?O(c.context.popupRef):a,I=x!==!1&&f;c.useSyncedValue(`focusManagerModal`,I);let L=q.useCallback(e=>{c.set(`popupElement`,e)},[c]),z=A(`div`,e,{state:{open:p,side:l.side,align:l.align,instant:h,transitionStatus:g},ref:[t,c.context.popupRef,L],props:[_,{id:P,role:`dialog`,...R,"aria-labelledby":v,"aria-describedby":y,onKeyDown(e){u&&B.has(e.key)&&e.stopPropagation()}},re(g),s],stateAttributesMapping:Ve});return(0,G.jsx)(j,{context:E,openInteractionType:m,modal:I,disabled:!S||C===`trigger-hover`,initialFocus:F,returnFocus:o,restoreFocus:`popup`,previousFocusableElement:b(T)?T:void 0,nextFocusableElement:c.context.triggerFocusTargetRef,beforeContentFocusGuardRef:c.context.beforeContentFocusGuardRef,children:(0,G.jsx)(ze,{value:d,children:z})})});export{_e as C,xe as S,ye as _,Me as a,we as b,ve as c,Ee as d,fe as f,de as g,ue as h,Fe as i,Te as l,Ce as m,Be as n,Y as o,Se as p,Le as r,me as s,He as t,De as u,he as v,pe as x,ge as y};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Mt as e,Pt as t}from"./slides-D9bnXqtf.js";import{n,r}from"./icon-sources-CZI1h18s.js";import{t as i}from"./icons-DzW1j-r3.js";var a=new Map,o=new Map;function s(e,t){return`${e}/${t}`}function c(e,t){return a.get(s(e,t))}function l(e,t){let n=s(e,t);if(a.has(n))return Promise.resolve(a.get(n)??null);let r=o.get(n);if(r)return r;let c=fetch(i().assetIconUrl(e,t)).then(e=>e.text()).then(e=>{let t=new DOMParser().parseFromString(e,`image/svg+xml`).querySelector(`svg`),r=t?{viewBox:t.getAttribute(`viewBox`)??`0 0 24 24`,inner:t.innerHTML}:null;return a.set(n,r),r}).catch(()=>null).finally(()=>{o.delete(n)});return o.set(n,c),c}function u(e,t){l(e,t)}function d(e){let t=e.trim().split(/[\s,]+/).map(Number);if(t.length!==4||t.some(e=>!Number.isFinite(e)))return null;let[,,n,r]=t;return n>0&&r>0?{width:n,height:r}:null}function f(e,t){let n=a.get(`${e}/${t}`);if(!n)return 1;let r=d(n.viewBox);return r?r.width/r.height:1}function p(n,r){return t(e(n),f(n,r))}function m(e,t,i){if(!(r(e)&&n(e))||c(e,t)!==void 0){i({source:e,name:t});return}l(e,t).then(()=>i({source:e,name:t}))}export{l as a,p as i,f as n,d as o,c as r,u as s,m as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./createReactComponent-9UsI5fmM.js";var t=e(`outline`,`folder`,`Folder`,[[`path`,{d:`M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2`,key:`svg-0`}]]),n={free:{id:`free`,label:`Free`,messages:{limit:5,period:`lifetime`},images:{limit:0,period:`lifetime`},canvasLimit:1,folders:!1,embedWatermark:!0},pro:{id:`pro`,label:`Pro`,messages:{limit:50,period:`month`},images:{limit:10,period:`month`},canvasLimit:null,folders:!0,embedWatermark:!1}},r={price:10,messages:50,images:10,expiryDays:365};r.expiryDays*24*60*60*1e3;var i={monthly:{amountCents:999,interval:`month`},yearly:{amountCents:1e4,interval:`year`}};function a(){let e=i.monthly.amountCents*12,t=e-i.yearly.amountCents;return{cents:t,percent:Math.round(t/e*100)}}function o(){return Math.round(i.yearly.amountCents/12)}function s(e,t){return new Intl.NumberFormat(`en-US`,{style:`currency`,currency:t.toUpperCase()}).format(e/100)}var c=`2026-10-15`,l=Date.UTC(2026,9,16);export{n as a,a as c,r as i,t as l,c as n,i as o,s as r,o as s,l as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as e}from"./rolldown-runtime-aKtaBQYM.js";import{n as t,t as n}from"./jsx-runtime-2Zwg-L3c.js";import{a as r,o as i}from"./editor-B0tARd79.js";import{Zt as a,cn as o,i as s}from"./slides-D9bnXqtf.js";import{t as c}from"./IconCornerDownRight-BerbioFY.js";import{_ as l,f as u,h as d,m as f,n as p,o as m,r as h,v as g}from"./plan-jQm1jDpt.js";import{n as _,r as v}from"./edit-BJ_kibk8.js";var y=e(t(),1),b=n(),x=21,S=3;function C(e){let{zoom:t}=e,n=i(e=>e.animateSlideId),C=i(e=>e.shapes),w=i(e=>e.hoveredId),{store:T,history:E,measurement:D}=r(),O=(0,y.useMemo)(()=>{if(n)return s(C).find(e=>e.id===n)},[n,C]),k=(0,y.useMemo)(()=>{if(!O)return[];let e=l(C,O),t=u(C,O),n=h(t),r=t.flatMap((t,r)=>p([t],e).map(e=>({unit:{shapes:e.items.map(e=>e.shape),groupId:e.groupId},rowId:m(e),step:n[r],follows:e.withPrevious}))),i=f(C,O,e).map(e=>({unit:e,rowId:null,step:null,follows:!1})),a=[...r,...i],o=new Map;return a.map(e=>{let t=e.unit.groupId??e.unit.shapes[0].id,n=o.get(t)??0;return o.set(t,n+1),{...e,lane:n}})},[C,O]);if(!O||k.length===0)return null;function A(e,t){let r=T.getState().shapes,i=s(r).find(e=>e.id===n);if(!i)return;let a=l(r,i),o=u(r,i),c=t?v(p(o,a),t):_(o,[e],d(e.shapes[0]));c.length!==0&&(E.beginTransaction(),T.getState().replaceMany(c),E.endTransaction())}function j(e){return{onPointerEnter:()=>T.getState().setHoveredId(e),onPointerLeave:()=>T.getState().setHoveredId(null)}}return(0,b.jsx)(`div`,{"data-testid":`build-pips`,className:`pointer-events-none absolute left-0 top-0`,children:k.map(({unit:e,rowId:n,step:r,follows:i,lane:s})=>{let l=a(e.shapes,D)??o(e.shapes[0],D),u=r!==null,d=e.shapes.some(e=>e.id===w);return(0,b.jsx)(`div`,{className:`absolute`,style:{left:l.x-(S+s*x)/t,top:l.y-S/t},children:(0,b.jsx)(`button`,{type:`button`,"data-testid":u?`build-pip`:`build-pip-add`,"data-follows":u&&i?`true`:void 0,title:u?i?`Plays with click ${r}. Press to remove.`:`Click ${r}. Press to remove.`:`Click to animate this`,style:{transform:`scale(${1/t})`,transformOrigin:`100% 100%`},onPointerDown:e=>e.stopPropagation(),onClick:t=>{t.stopPropagation(),A(e,n)},...j(e.shapes[0].id),className:`pointer-events-auto absolute bottom-0 right-0 flex items-center justify-center rounded-md text-[11px] leading-none tabular-nums ring-1 transition-[opacity,background-color,color] ${u?`h-[18px] min-w-[18px] bg-[var(--chrome-accent)] px-1 text-white ring-[var(--chrome-accent)]`:`h-[15px] w-[15px] bg-[var(--chrome-popup)] text-[var(--chrome-fg-500)] ring-[var(--chrome-ring)] hover:text-[var(--chrome-fg-900)] ${d?`opacity-100`:`opacity-45 hover:opacity-100`}`}`,children:u?i?(0,b.jsx)(c,{size:11,stroke:2.25}):r:`+`})},n??g(e))})})}export{C as BuildPips};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as e}from"./rolldown-runtime-aKtaBQYM.js";import{n as t,t as n}from"./jsx-runtime-2Zwg-L3c.js";import{o as r}from"./editor-B0tARd79.js";import{G as i,W as a}from"./style-BENGW2ZV.js";import{an as o}from"./slides-D9bnXqtf.js";import{n as s,r as c}from"./dom-PAoZruqo.js";import{t as l}from"./createReactComponent-9UsI5fmM.js";import{n as ee}from"./shape-meta-BpwsiB82.js";var u=l(`outline`,`notes`,`Notes`,[[`path`,{d:`M5 5a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2l0 -14`,key:`svg-0`}],[`path`,{d:`M9 7l6 0`,key:`svg-1`}],[`path`,{d:`M9 11l6 0`,key:`svg-2`}],[`path`,{d:`M9 15l4 0`,key:`svg-3`}]]),d=e(t(),1),f=`cubic-bezier(0.22, 0.61, 0.36, 1)`;function p(e){return{duration:e.duration,delay:e.delay,easing:f,fill:`backwards`}}var te=.75;function ne(e,t){let n,r;try{n=e.getPointAtLength(0),r=e.getPointAtLength(e.getTotalLength())}catch{return!0}return t===`right`?r.x>=n.x:t===`left`?r.x<=n.x:t===`down`?r.y>=n.y:r.y<=n.y}function m(e,t,n){let r=e.matches(`path`)?[e]:Array.from(e.querySelectorAll(`path`)),i=[],a=[];for(let e of r){let t=h(e);if(t===null){a.push(e);continue}i.push({path:e,length:t})}if(i.length===0)return n(e,t);let o=t.direction===void 0||ne(i[0].path,t.direction),s=Math.round(t.duration*te),c=i.map(({path:e,length:n})=>({element:e,keyframes:[{strokeDasharray:`${n}`,strokeDashoffset:`${o?n:-n}`},{strokeDasharray:`${n}`,strokeDashoffset:`0`}],timing:{...p(t),duration:s,easing:`linear`}})),l=o?t.delay+s:t.delay;for(let e of a)c.push({element:e,keyframes:[{opacity:0},{opacity:1}],timing:{...p(t),delay:l,duration:Math.max(80,t.duration-s)}});return c}function h(e){let t=getComputedStyle(e);if(t.stroke===`none`||t.stroke===``||parseFloat(t.strokeWidth)===0)return null;let n=0;try{n=e.getTotalLength()}catch{return null}return n>0?n:null}function g(e,t){let n=y(e);if(n.length===0)return[];let r=n[0],i=[{offset:0,clipPath:b(r.left,r.top,r.bottom),easing:_}];return n.forEach((e,t)=>{let r=t===n.length-1;i.push({offset:(t+1)/n.length,clipPath:b(e.caret,e.top,r?100:e.bottom),easing:_})}),[{element:e,keyframes:i,timing:{...p(t),easing:`linear`}}]}var _=`steps(1, end)`,v=240;function y(e){let t=e.getBoundingClientRect();if(t.width<=0||t.height<=0)return[];let n=document.createTreeWalker(e,NodeFilter.SHOW_TEXT),r=document.createRange(),i=[],a=n.nextNode();for(;a;){let e=a.nodeValue??``;for(let n=0;n<e.length;n+=1){r.setStart(a,n),r.setEnd(a,n+1);let e=r.getBoundingClientRect();e.width<=0||e.height<=0||i.push({caret:(e.right-t.left)/t.width*100,left:(e.left-t.left)/t.width*100,top:(e.top-t.top)/t.height*100,bottom:(e.bottom-t.top)/t.height*100})}a=n.nextNode()}if(i.length<=v)return i;let o=Math.ceil(i.length/v),s=i.filter((e,t)=>t%o===0),c=i[i.length-1];return s[s.length-1]!==c&&s.push(c),s}function b(e,t,n){return`polygon(0% 0%, 100% 0%, 100% ${t}%, ${e}% ${t}%, ${e}% ${n}%, 0% ${n}%)`}function x(e,t,n){return[{element:e,keyframes:t,timing:p(n)}]}var re=.035,S=`up`,C=`right`;function w(e,t){return e===`down`?`0 ${-t}px`:e===`left`?`${t}px 0`:e===`right`?`${-t}px 0`:`0 ${t}px`}function T(e){return e===`left`?`inset(0 0 0 100%)`:e===`up`?`inset(100% 0 0 0)`:e===`down`?`inset(0 0 100% 0)`:`inset(0 100% 0 0)`}function E(e,t){let n=e===`left`||e===`right`,r=n?t.unit.width:t.unit.height,a=n?t.bounds.width:t.bounds.height;if(r<=0||a<=0)return{at:0,through:1};let o=n?t.unit.x:t.unit.y,s=n?t.bounds.x:t.bounds.y,c=i((e===`right`||e===`down`?s-o:o+r-(s+a))/r);return{at:c,through:Math.min(i(a/r),1-c)}}var D=.94,O=.02,k=.7;function A(e){let t=Math.max(e.unit.width,e.unit.height);return t<=0?D:a(1-e.slide.height*O/t,k,D)}var j=.8,M=1.06,N=.62,P=`cubic-bezier(0.16, 0.84, 0.44, 1)`,F=`cubic-bezier(0.36, 0, 0.66, 1)`,I=.012,L=1.08,R=.012,z=[0,-1,.85,-.6,.3,0],B=.02,V=`rgba(99, 102, 241, 0.65)`,H=`http://www.w3.org/2000/svg`;function U(e,t){return e.namespaceURI===H?{transformBox:`view-box`,transformOrigin:`${t.unit.x+t.unit.width/2}px ${t.unit.y+t.unit.height/2}px`}:{transformOrigin:`center`}}var W=40,G=400,K=4e3;function q(e){let t=0;try{t=ee(e).trim().length}catch{t=0}return a(t*W,G,K)}function J(e,t){let n=t.direction??C,r=E(n,t);return[{element:e,keyframes:[{clipPath:T(n)},{clipPath:`inset(0 0 0 0)`}],timing:{...p(t),delay:t.delay+r.at*t.duration,duration:Math.max(1,r.through*t.duration)}}]}var Y={fade:{label:`Fade`,defaultDuration:260,plan:(e,t)=>x(e,[{opacity:0},{opacity:1}],t)},rise:{label:`Rise`,defaultDuration:320,defaultDirection:S,plan:(e,t)=>{let n=Math.max(8,t.slide.height*re);return x(e,[{opacity:0,translate:w(t.direction??S,n)},{opacity:1,translate:`0 0`}],t)}},scale:{label:`Scale`,defaultDuration:280,plan:(e,t)=>{let n=U(e,t);return x(e,[{...n,opacity:0,scale:`${A(t)}`},{...n,opacity:1,scale:`1`}],t)}},pop:{label:`Pop`,defaultDuration:380,plan:(e,t)=>{let n=U(e,t);return[{element:e,keyframes:[{...n,offset:0,opacity:0,scale:`${j}`,easing:P},{...n,offset:N,opacity:1,scale:`${M}`,easing:F},{...n,offset:1,opacity:1,scale:`1`}],timing:{...p(t),easing:`linear`}}]}},blur:{label:`Blur`,defaultDuration:420,plan:(e,t)=>x(e,[{opacity:0,filter:`blur(${Math.max(2,t.slide.height*I)}px)`},{opacity:1,filter:`blur(0px)`}],t)},pulse:{label:`Pulse`,defaultDuration:480,plan:(e,t)=>{let n=U(e,t);return x(e,[{...n,offset:0,scale:`1`},{...n,offset:.5,scale:`${L}`},{...n,offset:1,scale:`1`}],t)}},shake:{label:`Shake`,defaultDuration:420,plan:(e,t)=>{let n=Math.max(3,t.slide.height*R);return x(e,z.map((e,t)=>({offset:t/(z.length-1),translate:`${e*n}px 0`})),t)}},glow:{label:`Glow`,defaultDuration:620,plan:(e,t)=>x(e,[{offset:0,filter:`none`},{offset:.5,filter:`drop-shadow(0 0 ${Math.max(4,t.slide.height*B)}px ${V})`},{offset:1,filter:`none`}],t)},wipe:{label:`Wipe`,defaultDuration:340,defaultDirection:C,plan:J},draw:{label:`Draw`,defaultDuration:520,directional:!0,plan:(e,t)=>m(e,t,J)},type:{label:`Type`,defaultDuration:G,durationFor:e=>q(e),plan:(e,t)=>g(e,t)}};function X(e,t,n,r){return r===`exit`?e.plan(t,{...n,direction:ae(n.direction)}).map(e=>({element:e.element,keyframes:e.keyframes,timing:{...e.timing,fill:`both`,direction:`reverse`,delay:n.delay+ie(e.timing,n)}})):e.plan(t,n)}function ie(e,t){let n=Math.max(0,Number(e.delay??0)-t.delay),r=Number(e.duration??t.duration);return Math.max(0,t.duration-(n+r))}function ae(e){if(e===`up`)return`down`;if(e===`down`)return`up`;if(e===`left`)return`right`;if(e===`right`)return`left`}function oe(e){return e.directional===!0||e.defaultDirection!==void 0}function Z(e){return Object.hasOwn(Y,e)?Y[e]:Y.fade}function Q(e,t,n){if(t!==void 0&&Number.isFinite(t)&&t>0)return t;let r=Z(e);return n&&r.durationFor?r.durationFor(n):r.defaultDuration}function $(e){return e.items.reduce((e,t)=>{let{animation:n,shape:r}=t,i=Math.max(0,t.start);return Math.max(e,Q(n.effect,n.duration,r)+i)},0)}function se(e,t){let n=Math.min(e.x,t.x),r=Math.min(e.y,t.y);return{x:n,y:r,width:Math.max(e.x+e.width,t.x+t.width)-n,height:Math.max(e.y+e.height,t.y+t.height)-r}}function ce(e){let t=[];function n(){for(let e of t)e.cancel();t=[]}return{cancel:n,finish(){for(let e of t)try{e.finish()}catch{}t=[]},play(r,i){if(n(),e.reducedMotion())return Promise.resolve();let a=new Map;for(let t of r.items){let n=e.boundsOf(t.shape),r=a.get(t.row);a.set(t.row,r?se(r,n):n)}let o=[];for(let t of r.items){let{shape:n,animation:r}=t,s=Z(r.effect),c=e.boundsOf(n),l={bounds:c,unit:a.get(t.row)??c,slide:i,duration:Q(r.effect,r.duration,n),delay:Math.max(0,t.start),direction:r.direction};for(let t of e.elementsFor(n.id))o.push(...X(s,t,l,r.kind))}if(o.length===0)return Promise.resolve();t=o.map(e=>e.element.animate(e.keyframes,e.timing));let s=t.map(e=>e.finished);return Promise.allSettled(s).then(()=>void 0)}}}var le=`(prefers-reduced-motion: reduce)`;function ue(){let[e,t]=(0,d.useState)(!1);return(0,d.useEffect)(()=>{let e=window.matchMedia(le),n=()=>t(e.matches);return n(),e.addEventListener(`change`,n),()=>e.removeEventListener(`change`,n)},[]),e}function de(){let e=r(e=>e.presentationAnimation),t=ue(),n=(0,d.useRef)(!1);n.current=!e||t;let i=(0,d.useMemo)(()=>ce({elementsFor:e=>s(e),boundsOf:e=>o(e),reducedMotion:()=>n.current}),[]);return(0,d.useEffect)(()=>()=>i.cancel(),[i]),i}var fe=n();function pe(e){let{pending:t}=e,n=(0,d.useMemo)(()=>t.size===0?``:`${[...t].map(c).join(`,`)}{opacity:0!important;pointer-events:none!important}`,[t]);return n?(0,fe.jsx)(`style`,{"data-testid":`build-visibility`,children:n}):null}export{Z as a,u as c,Q as i,de as n,$ as o,Y as r,oe as s,pe as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{M as e,s as t}from"./style-BENGW2ZV.js";import{At as n}from"./slides-D9bnXqtf.js";var r={width:960,height:540},i=`#1e1e1e`,a=`#ffffff`,o=`#495057`,s=`#868e96`,c=`#adb5bd`,l=`#f08c00`,u=`#fab005`,d={yellow:e.yellow.pastel,orange:e.orange.pastel,green:e.green.pastel,red:e.red.pastel,blue:e.blue.pastel,teal:e.teal.pastel,purple:e.purple.pastel,pink:e.pink.pastel,gray:e.gray.pastel},f={yellow:e.yellow.bold,orange:e.orange.bold,green:e.green.bold,red:e.red.bold,blue:e.blue.bold,teal:e.teal.bold,purple:e.purple.bold,pink:e.pink.bold,gray:e.gray.bold},p=`'JetBrains Mono', ui-monospace, monospace`,m=`Caveat, cursive`;function h(e){let t=n();return e.map(e=>({...e,groupId:t}))}function g(e){let t=e.width/r.width,n=e.height/r.height,i=Math.min(t,n);return{rect:(r,i,a,o)=>({x:e.x+r*t,y:e.y+i*n,width:a*t,height:o*n}),point:(r,i)=>({x:e.x+r*t,y:e.y+i*n}),font:e=>Math.max(8,Math.round(e*i)),unit:i}}function _(e,r,i,a={}){return{id:n(),type:`text`,x:e.x+6,y:e.y+6,width:e.width-12,height:e.height-12,text:r,fontSize:i,fontFamily:a.fontFamily??t,textAlign:a.align??`center`,textVAlign:a.valign??`middle`,lineHeight:a.lineHeight??1.25,letterSpacing:a.letterSpacing,rotation:0,color:a.color??`#1e1e1e`,opacity:a.opacity??1}}function v(e,r,i={}){return{id:n(),type:`rectangle`,kind:i.kind??`rectangle`,...e,rotation:i.rotation??0,label:i.label??``,fontSize:i.fontSize??24,fontFamily:t,labelColor:i.labelColor,letterSpacing:i.letterSpacing,textAlign:i.align,textVAlign:i.valign,textPadding:i.textPadding,titleIcon:i.titleIcon,link:i.link,color:i.color??`#1e1e1e`,fill:r,fillStyle:i.fillStyle??`pastel`,corner:i.corner,shadow:i.shadow,strokeWidth:i.strokeWidth??1.5,dash:i.dash??`solid`,opacity:i.opacity??1}}function y(e,t={}){return{id:n(),type:`line`,points:e,color:t.color??`#1e1e1e`,strokeWidth:t.strokeWidth??3,dash:t.dash??`solid`,startArrow:!1,endArrow:t.endArrow??!1,opacity:t.opacity??1}}function b(e,r,i,a,o={}){return{id:n(),type:`text`,x:e.x,y:e.y,text:r,fontSize:i,fontFamily:o.fontFamily??t,rotation:o.rotation??0,color:a,opacity:o.opacity??1}}function x(e,r,i,a,o,s=d.yellow){return{id:n(),type:`sticky`,x:e.x,y:e.y,width:r,height:r,rotation:o,text:i,fontSize:a,fontFamily:t,fill:s,opacity:1}}function S(e,r,i,a,o={}){return{id:n(),type:`arrow`,x:e.x,y:e.y,x2:r.x,y2:r.y,bend:o.bow??0,bendAlong:0,bow:o.bow??0,bendStyle:o.bendStyle??`curved`,startBinding:{shapeId:i.id,anchor:{x:.5,y:.5},precise:!1},endBinding:{shapeId:a.id,anchor:{x:.5,y:.5},precise:!1},label:o.label,fontSize:o.fontSize,fontFamily:o.label?t:void 0,color:o.color??`#1e1e1e`,strokeWidth:o.strokeWidth??3,dash:o.dash??`solid`,startArrow:!1,endArrow:!0,opacity:1}}function C(e,t,r,i={}){return{id:n(),type:`arrow`,x:e.x,y:e.y,x2:t.x,y2:t.y,bend:i.bow??0,bendAlong:0,bow:i.bow??0,bendStyle:`curved`,startBinding:null,endBinding:null,color:i.color??`#1e1e1e`,strokeWidth:r,dash:`solid`,startArrow:!1,endArrow:!0,opacity:1}}function w(e,r,a,o,s={}){return{id:n(),type:`chart`,chartType:r,...e,rotation:0,cells:a,fontSize:o,fontFamily:t,color:i,opacity:1,...s}}function T(e,r,a,o,s,c={}){return{id:n(),type:`table`,x:e.x,y:e.y,cells:r,colWidths:a,rowHeights:o,rotation:0,fontSize:s,fontFamily:t,color:i,opacity:1,cellStyles:c.cellStyles??r.map((e,t)=>e.map(()=>t===0&&c.headerFill?{background:c.headerFill}:{}))}}function E(e,r,a={}){return{id:n(),type:`control`,kind:r,...e,rotation:0,label:a.label??``,body:a.body,primaryLabel:a.primaryLabel,secondaryLabel:a.secondaryLabel,fontSize:a.fontSize??15,fontFamily:t,color:i,fill:a.fill,value:a.value,opacity:a.opacity??1}}function D(e,r,i,a={}){return{id:n(),type:`icon`,x:e.x,y:e.y,width:r,height:r,rotation:0,source:a.source??`lucide`,name:i,label:a.label??``,fontSize:a.fontSize??16,fontFamily:t,color:a.color??`#1e1e1e`,strokeWidth:a.strokeWidth??3,opacity:a.opacity??1}}function O(e,r,i={}){return{id:n(),type:`figure`,kind:r,...e,rotation:0,label:i.label??``,lanes:i.lanes,laneSizes:i.laneSizes,fill:i.fill,dash:i.dash,strokeWidth:i.strokeWidth,fontSize:i.fontSize??16,fontFamily:t,color:i.color??`#868e96`,opacity:1}}function k(e,t,n,r,i={}){return v(e,t,{kind:`oval`,fillStyle:i.fillStyle??`bold`,label:n,fontSize:r,labelColor:i.labelColor,dash:`none`})}function A(e,t){return[_(e.rect(72,48,700,56),t,e.font(36),{align:`left`}),y([e.point(74,118),e.point(250,118)],{color:u,strokeWidth:4})]}function j(e){return v(e.rect(0,0,r.width,r.height),i,{dash:`none`})}function M(e,t,n,r={}){return _(e,t,n,{...r,color:r.color??`#ffffff`})}export{_ as A,A as C,g as D,v as E,y as O,h as S,S as T,w as _,o as a,C as b,a as c,r as d,u as f,M as g,j as h,c as i,x as k,d as l,E as m,i as n,p as o,k as p,s as r,l as s,f as t,m as u,T as v,D as w,b as x,O as y};
|