@marimo-team/islands 0.25.3-dev3 → 0.25.3-dev31

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.
Files changed (172) hide show
  1. package/dist/{ConnectedDataExplorerComponent-CNSxdKyJ.js → ConnectedDataExplorerComponent-7EaP9VWb.js} +12 -12
  2. package/dist/{ErrorBoundary-iHE9DnZC.js → ErrorBoundary-DrVykO0s.js} +8 -8
  3. package/dist/{abnfDiagram-VCTEODGH-DQDjNXt3.js → abnfDiagram-VCTEODGH-z_OSynK8.js} +2 -2
  4. package/dist/{any-language-editor-B9REGlD9.js → any-language-editor-D4q-IFcM.js} +2 -2
  5. package/dist/{architectureDiagram-5GKGNRK7-Nmls7Wxn.js → architectureDiagram-5GKGNRK7-Cs8J8BZr.js} +1 -1
  6. package/dist/{chat-ui-BDpymeoe.js → chat-ui-BeKQyQQI.js} +1151 -1152
  7. package/dist/{check-EDwSwP89.js → check-BMKBBrdc.js} +1 -1
  8. package/dist/{chunk-IMKFNOWR-CoIFEo-1.js → chunk-IMKFNOWR-aoSFasqF.js} +1 -1
  9. package/dist/{chunk-SHT3W25Y-lHiGx3ZC.js → chunk-SHT3W25Y-CMaybO3O.js} +1 -1
  10. package/dist/{chunk-SVP7TREG-BvsHIrY_.js → chunk-SVP7TREG-BNBrTAw1.js} +1 -1
  11. package/dist/{chunk-TICWLB2K-BC8YIm_n.js → chunk-TICWLB2K-DXNxvUJn.js} +1 -1
  12. package/dist/{chunk-YOKDWASO-DPZk8vhS.js → chunk-YOKDWASO-DKplTrBY.js} +20 -20
  13. package/dist/{classDiagram-ZZMXUADV-Bt98lkkv.js → classDiagram-ZZMXUADV-DXdCCDOg.js} +2 -2
  14. package/dist/{classDiagram-v2-VYDZK3BY-D9bfbcC3.js → classDiagram-v2-VYDZK3BY-DyZqrtLP.js} +2 -2
  15. package/dist/{code-visibility-BCpXa0Xh.js → code-visibility-UR3IN3fl.js} +16 -16
  16. package/dist/{common-BrBUdtPy.js → common-C6uebScP.js} +5737 -5439
  17. package/dist/{copy-icon-Ft7t9bqz.js → copy-icon-BgUO8jsi.js} +2 -2
  18. package/dist/{cynefinDiagram-5FMLGOSQ-CgWra7wt.js → cynefinDiagram-5FMLGOSQ-DWHuKJs8.js} +1 -1
  19. package/dist/{dagre-GXQ25YYZ-CFZ8-35c.js → dagre-GXQ25YYZ-DYLu-OCU.js} +1 -1
  20. package/dist/{data-grid-overlay-editor-Ch2SgmvG.js → data-grid-overlay-editor-DhdeVwuk.js} +5 -5
  21. package/dist/{data-grid-types-BH_r7g7l.js → data-grid-types-0PJ-9N5n.js} +1 -1
  22. package/dist/{diagram-S7CK7UJ4-lCNQrW7d.js → diagram-S7CK7UJ4-PwwcUOHP.js} +1 -1
  23. package/dist/{diagram-UQ7AKVKN-CQPQ6pP_.js → diagram-UQ7AKVKN-CvJbL_IM.js} +1 -1
  24. package/dist/{diagram-VX7I27RA-Cf3b0llz.js → diagram-VX7I27RA-B5RkqnzN.js} +1 -1
  25. package/dist/{diagram-Z3DM3KII-Bt4QLrpn.js → diagram-Z3DM3KII-CyijwTR2.js} +1 -1
  26. package/dist/{dialog-CEBFZNyc.js → dialog-Cc479ZEH.js} +24 -24
  27. package/dist/{dist-DpBpA_n1.js → dist-Lm-D-Vr6.js} +3 -3
  28. package/dist/{dropdown-menu-CP_qCYHC.js → dropdown-menu-BuE2b8Yb.js} +790 -790
  29. package/dist/{ebnfDiagram-PWID7BFC-D3NAyPFY.js → ebnfDiagram-PWID7BFC-DG90ELFp.js} +2 -2
  30. package/dist/{erDiagram-RLTQ6QDP-Tlu09_Nm.js → erDiagram-RLTQ6QDP-FMo_SpyX.js} +1 -1
  31. package/dist/{error-banner-Da600cwz.js → error-banner-CFPHFw4h.js} +26 -21
  32. package/dist/{cells-C8iCYvLU.js → error-entries-CnqKxhU9.js} +1370 -1314
  33. package/dist/{feedback-button-DxXNcC6q.js → feedback-button-DGkGODB3.js} +121 -122
  34. package/dist/{flowDiagram-HODETNUW-CAYbpJmV.js → flowDiagram-HODETNUW-DQ4JuadE.js} +2 -2
  35. package/dist/{formats-BGh2thRc.js → formats-DRHUWwSK.js} +2 -2
  36. package/dist/{ganttDiagram-EL5Y4UJY-BQT16JSc.js → ganttDiagram-EL5Y4UJY-Dh_4cBJZ.js} +2 -2
  37. package/dist/{glide-data-editor-BQ7uKbeo.js → glide-data-editor-E8Z7sC5t.js} +55 -55
  38. package/dist/{glide-utils-DJyqh0EM.js → glide-utils-pisbYVjH.js} +3 -3
  39. package/dist/{globals-DSavh2ZB.js → globals-D7sKfXY8.js} +3 -3
  40. package/dist/{highlighted-body-KPVGNVTW-zwjq21tf.js → highlighted-body-KPVGNVTW-3Ziwfz-V.js} +2 -2
  41. package/dist/{html-to-image-CZY1pIZH.js → html-to-image-BsG_zyNW.js} +68 -68
  42. package/dist/{infoDiagram-27XIBGKW-XrDxhr0x.js → infoDiagram-27XIBGKW-CRSDtRrd.js} +1 -1
  43. package/dist/{ishikawaDiagram-5VMMS53U-CD1muzov.js → ishikawaDiagram-5VMMS53U-DxLEUldB.js} +1 -1
  44. package/dist/{kanban-definition-UXKFOSKX-Dg9W142_.js → kanban-definition-UXKFOSKX-BLhvu8o4.js} +1 -1
  45. package/dist/{label-BDKF3Afc.js → label-DoysmLMW.js} +1 -1
  46. package/dist/{linear-Cnaq3Tfb.js → linear-DWERh7eI.js} +121 -73
  47. package/dist/{loader-BQOfjTIJ.js → loader-BPdQhmlq.js} +10 -10
  48. package/dist/main.js +759 -759
  49. package/dist/{mermaid-CiAXjLpA.js → mermaid-Bjm6C1qN.js} +37 -37
  50. package/dist/mermaid-HWGCJPDP-Du3-HPQA.js +2 -0
  51. package/dist/{mindmap-definition-YA3MSWOX-DgCidgYJ.js → mindmap-definition-YA3MSWOX-g2LwxnYQ.js} +1 -1
  52. package/dist/{number-overlay-editor-D6kYaqh5.js → number-overlay-editor-BV4UMoL2.js} +3 -3
  53. package/dist/{pegDiagram-XKGWAZYB-coOYYKB6.js → pegDiagram-XKGWAZYB-CpMAt3Qs.js} +2 -2
  54. package/dist/{pieDiagram-E7YTZNPT-BnXTc3bj.js → pieDiagram-E7YTZNPT-CVTthoZo.js} +1 -1
  55. package/dist/precisionRound-DhAzeRcm.js +49 -0
  56. package/dist/{process-output-e4jj9Ijt.js → process-output-DgQrilBD.js} +5 -5
  57. package/dist/{quadrantDiagram-AXDQQJYC-Ccw0xMjN.js → quadrantDiagram-AXDQQJYC-Blrm7V7_.js} +1 -1
  58. package/dist/{railroadDiagram-O6MQD6OU-B28-u83n.js → railroadDiagram-O6MQD6OU-ao8cqqFB.js} +2 -2
  59. package/dist/{react-vega-BED0DjiB.js → react-vega-BDpbvBCb.js} +12284 -12270
  60. package/dist/{requirementDiagram-BXWQKSXE-CdYCTMu0.js → requirementDiagram-BXWQKSXE--J8vyfm-.js} +1 -1
  61. package/dist/{reveal-component-BTBfJ3ju.js → reveal-component-CpEtzUCU.js} +9 -9
  62. package/dist/{select-BButFi-d.js → select-DemoKT4G.js} +199 -199
  63. package/dist/{sequenceDiagram-WJ2MYXX4-CM3aRAe_.js → sequenceDiagram-WJ2MYXX4-CiQbn62x.js} +1 -1
  64. package/dist/{spec-BwarBpUJ.js → spec-D_u2ipzF.js} +4 -4
  65. package/dist/{stateDiagram-D77RDMKH-DOZUMVj8.js → stateDiagram-D77RDMKH-DVEeGs5b.js} +2 -2
  66. package/dist/{stateDiagram-v2-MP3YSRHH-CISYxma6.js → stateDiagram-v2-MP3YSRHH-1OQRe6iA.js} +2 -2
  67. package/dist/style.css +1 -1
  68. package/dist/{swimlanes-42K2YHIH-BkSppxp8.js → swimlanes-42K2YHIH-CqkGoGqn.js} +1 -1
  69. package/dist/{swimlanesDiagram-VR7AAH4N-c8G5pGxC.js → swimlanesDiagram-VR7AAH4N-CszjkrKo.js} +2 -2
  70. package/dist/{time-BieKwdYS.js → time-BaMbJs4z.js} +18 -18
  71. package/dist/{timeline-definition-24CTP7MA-CaMQayqK.js → timeline-definition-24CTP7MA-DLRUNVAx.js} +1 -1
  72. package/dist/toDate-gyi35XS2.js +1185 -0
  73. package/dist/{toast-B9UMEi8u.js → toast-PkdZraM8.js} +221 -221
  74. package/dist/{tooltip-BO1REbqs.js → tooltip-CtBZ5q8p.js} +51 -51
  75. package/dist/{use-restore-focus-BEM7sFWl.js → use-restore-focus-CKjfFjLM.js} +1 -1
  76. package/dist/{useAsyncData-Deh5kszT.js → useAsyncData-BneN349z.js} +1 -1
  77. package/dist/{useDateFormatter-D8XruNGG.js → useDateFormatter-DkajGwwd.js} +2 -2
  78. package/dist/{useDeepCompareMemoize-DXwzRINI.js → useDeepCompareMemoize-Z_7R8wTt.js} +1 -1
  79. package/dist/{useLifecycle-j7D9uD1o.js → useLifecycle-Dfq8UD-b.js} +2 -2
  80. package/dist/{useTheme-CRnjkku0.js → useTheme-Bu5bBgrh.js} +86 -86
  81. package/dist/{vega-component-DG29TAB7.js → vega-component-1lFfDE_8.js} +10 -10
  82. package/dist/{vega-embed-container-BNHE18G9.js → vega-embed-container-BgKnsDbB.js} +2 -2
  83. package/dist/{vega-loader.browser-DNST6uVf.js → vega-loader.browser-CpbZAXub.js} +297 -506
  84. package/dist/{vennDiagram-4TSXK5OY-CF8pfaK3.js → vennDiagram-4TSXK5OY-CypgoBVZ.js} +1 -1
  85. package/dist/{wardleyDiagram-VM6X3IG4-dGPu39d-.js → wardleyDiagram-VM6X3IG4-B6xjiQ_g.js} +1 -1
  86. package/dist/{xychartDiagram-S5SC5T6Z-CP6-9q56.js → xychartDiagram-S5SC5T6Z-e0PefDVs.js} +2 -2
  87. package/package.json +4 -2
  88. package/src/__tests__/fixtures/{pair-preview.ts → pair-config.ts} +3 -2
  89. package/src/__tests__/mount.test.ts +28 -8
  90. package/src/components/data-table/__tests__/context-menu.test.ts +176 -0
  91. package/src/components/data-table/__tests__/date-filter-inputs.test.tsx +24 -1
  92. package/src/components/data-table/__tests__/export-actions.test.tsx +329 -6
  93. package/src/components/data-table/context-menu.tsx +125 -26
  94. package/src/components/data-table/date-filter-inputs.tsx +15 -42
  95. package/src/components/data-table/export-actions.tsx +192 -116
  96. package/src/components/data-table/schemas.ts +14 -36
  97. package/src/components/data-table/utils.ts +18 -0
  98. package/src/components/editor/Output.tsx +9 -2
  99. package/src/components/editor/__tests__/dynamic-favicon.test.tsx +111 -18
  100. package/src/components/editor/actions/__tests__/pair-with-agent-commands.test.ts +80 -252
  101. package/src/components/editor/actions/__tests__/pair-with-agent-modal.test.tsx +186 -34
  102. package/src/components/editor/actions/pair-with-agent-commands.ts +42 -51
  103. package/src/components/editor/actions/pair-with-agent-modal.tsx +96 -36
  104. package/src/components/editor/chrome/panels/error-panel.tsx +1 -0
  105. package/src/components/editor/chrome/wrapper/__tests__/attachment-status.test.tsx +366 -0
  106. package/src/components/editor/chrome/wrapper/footer-item.tsx +32 -24
  107. package/src/components/editor/chrome/wrapper/footer-items/attachment-status.tsx +237 -0
  108. package/src/components/editor/chrome/wrapper/footer.tsx +2 -0
  109. package/src/components/editor/controls/__tests__/command-palette.test.tsx +53 -0
  110. package/src/components/editor/controls/command-palette.tsx +22 -10
  111. package/src/components/editor/dynamic-favicon.tsx +21 -40
  112. package/src/components/editor/errors/__tests__/send-error-report-button.test.tsx +537 -0
  113. package/src/components/editor/errors/send-error-report-button.tsx +69 -0
  114. package/src/components/editor/output/MarimoErrorOutput.tsx +21 -5
  115. package/src/components/editor/output/MarimoTracebackOutput.tsx +35 -20
  116. package/src/components/editor/output/__tests__/ansi-reduce.test.ts +18 -0
  117. package/src/components/editor/output/ansi-reduce.ts +6 -0
  118. package/src/core/attachments/__tests__/toast.test.tsx +58 -0
  119. package/src/core/attachments/state.ts +18 -0
  120. package/src/core/attachments/toast.ts +15 -0
  121. package/src/core/cells/__tests__/cells.test.ts +52 -0
  122. package/src/core/cells/__tests__/error-report.test.ts +139 -0
  123. package/src/core/cells/__tests__/notebook-outline.test.ts +113 -0
  124. package/src/core/cells/__tests__/session.test.ts +50 -1
  125. package/src/core/cells/cells.ts +2 -1
  126. package/src/core/cells/error-report.ts +63 -0
  127. package/src/core/cells/session.ts +28 -1
  128. package/src/core/config/pair.ts +5 -3
  129. package/src/core/edit-app.tsx +2 -2
  130. package/src/core/host/AGENTS.md +5 -0
  131. package/src/core/host/__tests__/attachments.test.ts +57 -0
  132. package/src/core/host/__tests__/document.test.ts +124 -0
  133. package/src/core/host/__tests__/events.test.ts +46 -0
  134. package/src/core/host/__tests__/fixtures.ts +39 -0
  135. package/src/core/host/__tests__/notebook-client.test.ts +433 -0
  136. package/src/core/host/__tests__/protocol.test.ts +15 -0
  137. package/src/core/host/__tests__/stream.test.ts +209 -0
  138. package/src/core/host/connection.ts +81 -0
  139. package/src/core/host/events.ts +61 -0
  140. package/src/core/host/notebook-client.ts +290 -0
  141. package/src/core/host/protocol.ts +11 -6
  142. package/src/core/host/resources/attachments.ts +19 -0
  143. package/src/core/host/resources/document.ts +101 -0
  144. package/src/core/host/resources/resource.ts +47 -0
  145. package/src/core/host/stream.ts +211 -0
  146. package/src/core/network/connection.ts +4 -2
  147. package/src/core/run-app.tsx +2 -2
  148. package/src/core/runtime/__tests__/runtime.test.ts +55 -11
  149. package/src/core/runtime/runtime.ts +15 -1
  150. package/src/core/runtime/types.ts +2 -0
  151. package/src/core/websocket/__tests__/{useMarimoKernelConnection.test.ts → connection-state.test.ts} +15 -17
  152. package/src/core/websocket/__tests__/{useWebSocket.test.ts → createConnectionTransport.test.ts} +1 -1
  153. package/src/core/websocket/__tests__/useNotebookClient.hook.test.tsx +170 -0
  154. package/src/core/websocket/__tests__/{useMarimoKernelConnection.hook.test.tsx → useNotebookSession.hook.test.tsx} +181 -65
  155. package/src/core/websocket/connection-state.ts +70 -0
  156. package/src/core/websocket/state.ts +7 -0
  157. package/src/core/websocket/transports/__tests__/sse.test.ts +1 -4
  158. package/src/core/websocket/transports/create.ts +31 -0
  159. package/src/core/websocket/transports/transport.ts +12 -23
  160. package/src/core/websocket/types.ts +9 -39
  161. package/src/core/websocket/useNotebookClient.ts +88 -0
  162. package/src/core/websocket/{useMarimoKernelConnection.tsx → useNotebookSession.tsx} +59 -225
  163. package/src/mount.tsx +7 -3
  164. package/src/plugins/impl/__tests__/DataTablePlugin.test.tsx +84 -0
  165. package/src/utils/__tests__/dates.test.ts +116 -0
  166. package/src/utils/dates.ts +94 -0
  167. package/src/utils/once.ts +19 -19
  168. package/dist/error-entries-CzoYkIQZ.js +0 -56
  169. package/dist/mermaid-HWGCJPDP-ByCsZnYF.js +0 -2
  170. package/dist/precisionRound-DMIVQrt2.js +0 -97
  171. package/dist/toDate-BNJf01u1.js +0 -703
  172. package/src/core/websocket/useWebSocket.tsx +0 -88
package/dist/main.js CHANGED
@@ -2,30 +2,30 @@ import { a as e, i as t, n, r, t as i } from "./rolldown-runtime-Cb76FRpK.js";
2
2
  import { _ as a, c as o, g as s, h as c, i as l, l as u, m as d, n as f, o as p, p as m, r as h, t as g, v as _ } from "./button-CvjkwdSk.js";
3
3
  import { t as v } from "./react-sHtZdjeP.js";
4
4
  import { t as y } from "./compiler-runtime-CldRdSsv.js";
5
- import { i as b, n as x, r as S, t as C } from "./copy-icon-Ft7t9bqz.js";
6
- import { C as w, F as T, G as E, I as D, J as O, K as k, L as A, P as j, R as M, X as N, Z as P, _ as F, a as I, b as L, g as R, i as z, j as B, k as ee, n as te, o as ne, q as re, v as ie, y as ae } from "./html-to-image-CZY1pIZH.js";
7
- import { a as oe, d as se, f as ce, h as V, i as le, n as ue, o as de, r as fe, t as pe } from "./tooltip-BO1REbqs.js";
8
- import { $ as me, $t as he, B as ge, Bt as _e, C as ve, Ct as ye, D as be, Dt as xe, Et as Se, F as Ce, G as we, Gt as Te, Ht as Ee, I as De, J as Oe, Jt as ke, Kt as Ae, L as je, O as Me, Ot as Ne, P as Pe, Pt as Fe, Q as Ie, Qt as Le, Rt as Re, S as ze, St as Be, T as Ve, Tt as He, U as Ue, W as We, Wt as Ge, bt as Ke, c as qe, cn as Je, ct as Ye, d as Xe, dn as Ze, dt as Qe, en as $e, f as et, fn as tt, ft as nt, g as rt, gt as it, h as at, hn as ot, k as st, l as ct, ln as lt, m as ut, mn as dt, n as ft, o as pt, on as mt, ot as ht, p as gt, q as _t, qt as vt, r as yt, rn as bt, rt as xt, sn as St, st as Ct, tn as wt, u as Tt, v as Et, w as Dt, wt as Ot, zt as kt } from "./cells-C8iCYvLU.js";
9
- import { D as At, E as jt, O as Mt, S as Nt, T as Pt, _ as Ft, a as It, c as Lt, d as Rt, f as zt, g as Bt, h as Vt, i as Ht, l as Ut, m as Wt, n as Gt, o as Kt, p as qt, r as Jt, s as Yt, t as Xt, u as Zt, v as Qt, w as $t, x as en, y as tn } from "./spec-BwarBpUJ.js";
10
- import { $t as nn, A as rn, At as an, B as on, Bt as sn, C as cn, Ct as ln, D as un, Dt as dn, E as fn, Et as pn, F as mn, Ft as hn, G as gn, Gt as _n, H as vn, Ht as yn, I as bn, It as xn, J as Sn, Jt as Cn, K as wn, Kt as Tn, L as En, Lt as Dn, M as On, Mt as kn, N as An, Nt as jn, O as Mn, Ot as Nn, P as Pn, Pt as Fn, Qt as In, R as Ln, Rt as Rn, S as zn, St as Bn, T as Vn, Tt as Hn, U as Un, Ut as Wn, V as Gn, Vt as Kn, W as qn, Wt as Jn, X as Yn, Xt as Xn, Y as Zn, Yt as Qn, Zt as $n, _ as er, _t as tr, an as nr, at as rr, b as ir, c as ar, cn as or, ct as sr, d as cr, dn as lr, dt as ur, en as dr, et as fr, f as pr, fn as mr, ft as hr, g as gr, gt as _r, h as vr, hn as yr, ht as br, in as xr, it as Sr, j as Cr, jt as wr, k as Tr, kt as Er, ln as Dr, lt as Or, m as kr, mn as Ar, mt as jr, nn as Mr, nt as Nr, ot as Pr, p as Fr, pn as Ir, pt as Lr, q as Rr, qt as zr, r as Br, rn as Vr, rt as Hr, sn as Ur, st as Wr, t as Gr, tn as Kr, tt as qr, u as Jr, un as Yr, ut as Xr, v as Zr, vt as Qr, w as $r, wt as ei, x as ti, y as ni, yt as ri, z as ii, zt as ai } from "./common-BrBUdtPy.js";
11
- import { c as oi, i as si, n as ci, o as li, t as ui } from "./useLifecycle-j7D9uD1o.js";
12
- import { t as di } from "./check-EDwSwP89.js";
13
- import { A as fi, C as pi, D as mi, E as hi, M as gi, O as _i, S as vi, T as yi, a as bi, b as xi, c as Si, i as Ci, k as wi, l as Ti, n as Ei, o as Di, r as Oi, s as ki, t as Ai, w as ji, x as Mi } from "./select-BButFi-d.js";
14
- import { $ as Ni, C as Pi, Et as Fi, J as Ii, K as Li, R as Ri, S as zi, U as Bi, Y as Vi, _ as Hi, _n as Ui, a as Wi, c as Gi, f as Ki, g as qi, h as Ji, i as Yi, kt as Xi, m as Zi, mt as Qi, n as $i, p as ea, q as ta, r as na, s as ra, t as ia, ut as aa, v as oa, vn as sa, x as ca, z as la } from "./dropdown-menu-CP_qCYHC.js";
15
- import { S as ua, a as da, b as fa, c as pa, d as ma, f as ha, g as ga, l as _a, m as va, p as ya, s as ba, v as xa, y as Sa } from "./toDate-BNJf01u1.js";
16
- import { a as Ca, c as wa, d as Ta, f as Ea, i as Da, l as Oa, n as ka, o as Aa, r as ja, s as Ma, t as Na } from "./process-output-e4jj9Ijt.js";
17
- import { a as Pa, c as Fa, d as Ia, i as La, l as Ra, r as za, u as Ba } from "./glide-utils-DJyqh0EM.js";
18
- import { n as Va, t as Ha } from "./ErrorBoundary-iHE9DnZC.js";
19
- import { n as Ua, t as Wa } from "./globals-DSavh2ZB.js";
5
+ import { i as b, n as x, r as S, t as C } from "./copy-icon-BgUO8jsi.js";
6
+ import { C as w, F as T, G as E, I as D, J as O, K as k, L as A, P as j, R as M, X as N, Z as P, _ as F, a as I, b as L, g as R, i as z, j as B, k as ee, n as te, o as ne, q as re, v as ie, y as ae } from "./html-to-image-BsG_zyNW.js";
7
+ import { a as oe, d as se, f as ce, h as V, i as le, n as ue, o as de, r as fe, t as pe } from "./tooltip-CtBZ5q8p.js";
8
+ import { $t as me, At as he, B as ge, Bt as _e, D as ve, Dt as ye, E as be, Et as xe, Ft as Se, Gt as Ce, J as we, Jt as Te, Kt as Ee, M as De, Mt as Oe, N as ke, O as Ae, Ot as je, Q as Me, R as Ne, S as Pe, Ut as Fe, V as Ie, Vt as Le, W as Re, Y as ze, Yt as Be, Z as Ve, _ as He, b as Ue, bt as We, cn as Ge, dt as Ke, en as qe, f as Je, fn as Ye, ft as Xe, g as Ze, gn as Qe, gt as $e, h as et, hn as tt, ht as nt, in as rt, j as it, jt as at, k as ot, kt as st, ln as ct, m as lt, nn as ut, nt as dt, o as ft, p as pt, pn as mt, q as ht, qt as gt, rt as _t, s as vt, sn as yt, st as bt, tn as xt, u as St, un as Ct, ut as wt, v as Tt, wt as Et, y as Dt, z as Ot, zt as kt } from "./error-entries-CnqKxhU9.js";
9
+ import { D as At, E as jt, O as Mt, S as Nt, T as Pt, _ as Ft, a as It, c as Lt, d as Rt, f as zt, g as Bt, h as Vt, i as Ht, l as Ut, m as Wt, n as Gt, o as Kt, p as qt, r as Jt, s as Yt, t as Xt, u as Zt, v as Qt, w as $t, x as en, y as tn } from "./spec-D_u2ipzF.js";
10
+ import { $t as nn, A as rn, At as an, B as on, Bt as sn, C as cn, Ct as ln, D as un, Dt as dn, E as fn, Et as pn, F as mn, Ft as hn, G as gn, Gt as _n, H as vn, Ht as yn, I as bn, It as xn, J as Sn, Jt as Cn, K as wn, Kt as Tn, L as En, Lt as Dn, M as On, Mt as kn, N as An, Nt as jn, O as Mn, Ot as Nn, P as Pn, Pt as Fn, Qt as In, R as Ln, Rt as Rn, S as zn, St as Bn, T as Vn, Tt as Hn, U as Un, Ut as Wn, V as Gn, Vt as Kn, W as qn, Wt as Jn, X as Yn, Xt as Xn, Y as Zn, Yt as Qn, Zt as $n, _ as er, _t as tr, an as nr, at as rr, b as ir, c as ar, cn as or, ct as sr, d as cr, dn as lr, dt as ur, en as dr, et as fr, f as pr, fn as mr, ft as hr, g as gr, gt as _r, h as vr, hn as yr, ht as br, in as xr, it as Sr, j as Cr, jt as wr, k as Tr, kt as Er, ln as Dr, lt as Or, m as kr, mn as Ar, mt as jr, nn as Mr, nt as Nr, ot as Pr, p as Fr, pn as Ir, pt as Lr, q as Rr, qt as zr, r as Br, rn as Vr, rt as Hr, sn as Ur, st as Wr, t as Gr, tn as Kr, tt as qr, u as Jr, un as Yr, ut as Xr, v as Zr, vt as Qr, w as $r, wt as ei, x as ti, y as ni, yt as ri, z as ii, zt as ai } from "./common-C6uebScP.js";
11
+ import { c as oi, i as si, n as ci, o as li, t as ui } from "./useLifecycle-Dfq8UD-b.js";
12
+ import { t as di } from "./check-BMKBBrdc.js";
13
+ import { A as fi, C as pi, D as mi, E as hi, M as gi, O as _i, S as vi, T as yi, a as bi, b as xi, c as Si, i as Ci, k as wi, l as Ti, n as Ei, o as Di, r as Oi, s as ki, t as Ai, w as ji, x as Mi } from "./select-DemoKT4G.js";
14
+ import { $ as Ni, C as Pi, Et as Fi, J as Ii, K as Li, R as Ri, S as zi, U as Bi, Y as Vi, _ as Hi, _n as Ui, a as Wi, c as Gi, f as Ki, g as qi, h as Ji, i as Yi, kt as Xi, m as Zi, mt as Qi, n as $i, p as ea, q as ta, r as na, s as ra, t as ia, ut as aa, v as oa, vn as sa, x as ca, z as la } from "./dropdown-menu-BuE2b8Yb.js";
15
+ import { C as ua, _ as da, a as fa, b as pa, c as ma, f as ha, h as ga, m as _a, p as va, s as ya, u as ba, x as xa, y as Sa } from "./toDate-gyi35XS2.js";
16
+ import { a as Ca, c as wa, d as Ta, f as Ea, i as Da, l as Oa, n as ka, o as Aa, r as ja, s as Ma, t as Na } from "./process-output-DgQrilBD.js";
17
+ import { a as Pa, c as Fa, d as Ia, i as La, l as Ra, r as za, u as Ba } from "./glide-utils-pisbYVjH.js";
18
+ import { n as Va, t as Ha } from "./ErrorBoundary-DrVykO0s.js";
19
+ import { n as Ua, t as Wa } from "./globals-D7sKfXY8.js";
20
20
  import { t as Ga } from "./react-dom-DUmH0GXv.js";
21
21
  import { t as Ka } from "./jsx-runtime-3BD1kT0s.js";
22
- import { B as qa, C as H, Ct as Ja, D as Ya, E as Xa, F as U, G as Za, H as Qa, I as $a, L as eo, M as W, N as to, O as no, P as ro, Q as io, R as ao, S as G, St as oo, Tt as so, U as co, W as lo, Y as uo, Z as fo, _ as po, _t as mo, a as ho, b as go, bt as _o, c as vo, d as yo, f as bo, g as xo, h as So, ht as Co, i as wo, j as K, k as To, l as Eo, m as Do, n as Oo, o as ko, p as Ao, r as jo, s as Mo, u as No, ut as Po, v as Fo, vt as Io, w as Lo, wt as Ro, x as zo, xt as Bo, y as Vo, yt as Ho } from "./use-restore-focus-BEM7sFWl.js";
23
- import { i as Uo, n as Wo, r as Go, t as Ko } from "./error-banner-Da600cwz.js";
24
- import { a as qo, i as Jo, n as Yo, t as Xo } from "./label-BDKF3Afc.js";
22
+ import { A as qa, B as Ja, C as H, Ct as Ya, Dt as Xa, Et as Za, F as Qa, G as $a, H as eo, I as to, J as no, K as ro, L as U, N as W, O as io, Ot as ao, P as G, Q as oo, R as so, S as co, St as lo, T as uo, Tt as fo, W as po, _ as mo, a as ho, b as go, bt as _o, c as vo, d as yo, et as bo, f as xo, g as So, h as Co, i as wo, j as To, k as Eo, m as Do, n as Oo, o as ko, p as Ao, pt as jo, r as Mo, s as No, tt as Po, u as Fo, v as Io, vt as Lo, w as K, wt as Ro, x as zo, xt as Bo, y as Vo, z as Ho } from "./use-restore-focus-CKjfFjLM.js";
23
+ import { i as Uo, n as Wo, r as Go, t as Ko } from "./error-banner-CFPHFw4h.js";
24
+ import { a as qo, i as Jo, n as Yo, t as Xo } from "./label-DoysmLMW.js";
25
25
  import { a as Zo } from "./hasIn-o2Us0uVx.js";
26
26
  import { n as Qo, t as $o } from "./pick-CJeoxYOS.js";
27
27
  import { t as es } from "./debounce-C3jyATpc.js";
28
- import { A as ts, C as ns, E as rs, S as is, _ as as, a as os, b as ss, c as cs, h as ls, k as us, n as ds, p as fs, r as ps, u as ms, x as hs } from "./useTheme-CRnjkku0.js";
28
+ import { A as ts, C as ns, E as rs, S as is, _ as as, a as os, b as ss, c as cs, h as ls, k as us, n as ds, p as fs, r as ps, u as ms, x as hs } from "./useTheme-Bu5bBgrh.js";
29
29
  import { $ as gs, F as _s, H as q, a as vs, g as ys } from "./dist-DoE4XJBC.js";
30
30
  import { t as bs } from "./invariant-DLmrl-hA.js";
31
31
  import { l as xs, o as Ss, t as Cs, u as ws } from "./arrays-CN1djC4k.js";
@@ -35,12 +35,12 @@ import { p as Ds } from "./dist-diIx5qJW.js";
35
35
  import { n as Os } from "./dist-CrSP_H1M.js";
36
36
  import { i as ks } from "./dist-BorMD-uX.js";
37
37
  import { n as As, t as js } from "./esm-AMFssoNp.js";
38
- import { t as Ms } from "./useAsyncData-Deh5kszT.js";
39
- import { i as Ns, n as Ps, r as Fs } from "./formats-BGh2thRc.js";
40
- import { M as Is, N as Ls } from "./vega-loader.browser-DNST6uVf.js";
41
- import { a as Rs, n as zs } from "./loader-BQOfjTIJ.js";
42
- import { c as Bs, d as Vs, i as Hs, l as Us, o as Ws, s as Gs, t as Ks, u as qs } from "./code-visibility-BCpXa0Xh.js";
43
- import { t as Js } from "./useDeepCompareMemoize-DXwzRINI.js";
38
+ import { t as Ms } from "./useAsyncData-BneN349z.js";
39
+ import { i as Ns, n as Ps, r as Fs } from "./formats-DRHUWwSK.js";
40
+ import { D as Is, O as Ls } from "./vega-loader.browser-CpbZAXub.js";
41
+ import { a as Rs, n as zs } from "./loader-BPdQhmlq.js";
42
+ import { c as Bs, d as Vs, i as Hs, l as Us, o as Ws, s as Gs, t as Ks, u as qs } from "./code-visibility-UR3IN3fl.js";
43
+ import { t as Js } from "./useDeepCompareMemoize-Z_7R8wTt.js";
44
44
  import { t as Ys } from "./esm-D2gTsXEV.js";
45
45
  //#region ../node_modules/.pnpm/iconify-icon@2.3.0/node_modules/iconify-icon/dist/iconify-icon.mjs
46
46
  var Xs = Object.freeze({
@@ -1861,8 +1861,8 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
1861
1861
  ]), J = /* @__PURE__ */ e(v(), 1), od = /* @__PURE__ */ e(Ga(), 1), Y = Ka(), sd = Object.defineProperty, cd = (e, t) => sd(e, "name", {
1862
1862
  value: t,
1863
1863
  configurable: !0
1864
- }), ld = "NavigationMenu", [ud, dd, fd] = wi(ld), [pd, md, hd] = wi(ld), [gd, _d] = Ja(ld, [fd, hd]), [vd, yd] = gd(ld), [bd, xd] = gd(ld), Sd = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */ cd(function(e, t) {
1865
- let { __scopeNavigationMenu: n, value: r, onValueChange: i, defaultValue: a, delayDuration: o = 200, skipDelayDuration: s = 300, orientation: c = "horizontal", dir: l, ...u } = e, [d, f] = J.useState(null), p = m(t, f), h = _i(l), g = J.useRef(0), _ = J.useRef(0), v = J.useRef(0), [y, b] = J.useState(!0), [x, S] = _o({
1864
+ }), ld = "NavigationMenu", [ud, dd, fd] = wi(ld), [pd, md, hd] = wi(ld), [gd, _d] = Za(ld, [fd, hd]), [vd, yd] = gd(ld), [bd, xd] = gd(ld), Sd = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */ cd(function(e, t) {
1865
+ let { __scopeNavigationMenu: n, value: r, onValueChange: i, defaultValue: a, delayDuration: o = 200, skipDelayDuration: s = 300, orientation: c = "horizontal", dir: l, ...u } = e, [d, f] = J.useState(null), p = m(t, f), h = _i(l), g = J.useRef(0), _ = J.useRef(0), v = J.useRef(0), [y, b] = J.useState(!0), [x, S] = Ya({
1866
1866
  prop: r,
1867
1867
  onChange: /* @__PURE__ */ cd((e) => {
1868
1868
  let t = e !== "", n = s > 0;
@@ -1904,7 +1904,7 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
1904
1904
  S((t) => t === e ? "" : e);
1905
1905
  },
1906
1906
  onItemDismiss: () => S(""),
1907
- children: /* @__PURE__ */ (0, Y.jsx)(Ro.nav, {
1907
+ children: /* @__PURE__ */ (0, Y.jsx)(Xa.nav, {
1908
1908
  "aria-label": "Main",
1909
1909
  "data-orientation": c,
1910
1910
  dir: h,
@@ -1920,19 +1920,19 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
1920
1920
  rootNavigationMenu: r,
1921
1921
  value: s,
1922
1922
  previousValue: mi(s),
1923
- baseId: Io(),
1923
+ baseId: Bo(),
1924
1924
  dir: i,
1925
1925
  orientation: a,
1926
1926
  viewport: m,
1927
1927
  onViewportChange: h,
1928
1928
  indicatorTrack: v,
1929
1929
  onIndicatorTrackChange: y,
1930
- onTriggerEnter: mo(u),
1931
- onTriggerLeave: mo(d),
1932
- onContentEnter: mo(f),
1933
- onContentLeave: mo(p),
1934
- onItemSelect: mo(c),
1935
- onItemDismiss: mo(l),
1930
+ onTriggerEnter: _o(u),
1931
+ onTriggerLeave: _o(d),
1932
+ onContentEnter: _o(f),
1933
+ onContentLeave: _o(p),
1934
+ onItemSelect: _o(c),
1935
+ onItemDismiss: _o(l),
1936
1936
  onViewportContentChange: J.useCallback((e, t) => {
1937
1937
  _((n) => (n.set(e, t), new Map(n)));
1938
1938
  }, []),
@@ -1949,12 +1949,12 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
1949
1949
  })
1950
1950
  });
1951
1951
  }, "NavigationMenuProvider"), wd = "NavigationMenuList", Td = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */ cd(function(e, t) {
1952
- let { __scopeNavigationMenu: n, ...r } = e, i = yd(wd, n), a = /* @__PURE__ */ (0, Y.jsx)(Ro.ul, {
1952
+ let { __scopeNavigationMenu: n, ...r } = e, i = yd(wd, n), a = /* @__PURE__ */ (0, Y.jsx)(Xa.ul, {
1953
1953
  "data-orientation": i.orientation,
1954
1954
  ...r,
1955
1955
  ref: t
1956
1956
  });
1957
- return /* @__PURE__ */ (0, Y.jsx)(Ro.div, {
1957
+ return /* @__PURE__ */ (0, Y.jsx)(Xa.div, {
1958
1958
  style: { position: "relative" },
1959
1959
  ref: i.onIndicatorTrackChange,
1960
1960
  children: /* @__PURE__ */ (0, Y.jsx)(ud.Slot, {
@@ -1966,7 +1966,7 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
1966
1966
  })
1967
1967
  });
1968
1968
  }, "NavigationMenuList")), [Ed, Dd] = gd("NavigationMenuItem"), Od = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */ cd(function(e, t) {
1969
- let { __scopeNavigationMenu: n, value: r, ...i } = e, a = Io(), o = r || a || "LEGACY_REACT_AUTO_VALUE", s = J.useRef(null), c = J.useRef(null), l = J.useRef(null), u = J.useRef(() => {}), d = J.useRef(!1), f = J.useCallback((e = "start") => {
1969
+ let { __scopeNavigationMenu: n, value: r, ...i } = e, a = Bo(), o = r || a || "LEGACY_REACT_AUTO_VALUE", s = J.useRef(null), c = J.useRef(null), l = J.useRef(null), u = J.useRef(() => {}), d = J.useRef(!1), f = J.useCallback((e = "start") => {
1970
1970
  if (s.current) {
1971
1971
  u.current();
1972
1972
  let t = Xd(s.current);
@@ -1989,7 +1989,7 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
1989
1989
  onFocusProxyEnter: f,
1990
1990
  onRootContentClose: p,
1991
1991
  onContentFocusOutside: p,
1992
- children: /* @__PURE__ */ (0, Y.jsx)(Ro.li, {
1992
+ children: /* @__PURE__ */ (0, Y.jsx)(Xa.li, {
1993
1993
  ...i,
1994
1994
  ref: t
1995
1995
  })
@@ -2001,7 +2001,7 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
2001
2001
  value: o.value,
2002
2002
  children: /* @__PURE__ */ (0, Y.jsx)(Yd, {
2003
2003
  asChild: !0,
2004
- children: /* @__PURE__ */ (0, Y.jsx)(Ro.button, {
2004
+ children: /* @__PURE__ */ (0, Y.jsx)(Xa.button, {
2005
2005
  id: l,
2006
2006
  disabled: r,
2007
2007
  "data-disabled": r ? "" : void 0,
@@ -2010,19 +2010,19 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
2010
2010
  "aria-controls": p ? u : void 0,
2011
2011
  ...i,
2012
2012
  ref: c,
2013
- onPointerEnter: oo(e.onPointerEnter, () => {
2013
+ onPointerEnter: fo(e.onPointerEnter, () => {
2014
2014
  f.current = !1, o.wasEscapeCloseRef.current = !1;
2015
2015
  }),
2016
- onPointerMove: oo(e.onPointerMove, rf(() => {
2016
+ onPointerMove: fo(e.onPointerMove, rf(() => {
2017
2017
  r || f.current || o.wasEscapeCloseRef.current || d.current || (a.onTriggerEnter(o.value), d.current = !0);
2018
2018
  })),
2019
- onPointerLeave: oo(e.onPointerLeave, rf(() => {
2019
+ onPointerLeave: fo(e.onPointerLeave, rf(() => {
2020
2020
  r || (a.onTriggerLeave(), d.current = !1);
2021
2021
  })),
2022
- onClick: oo(e.onClick, () => {
2022
+ onClick: fo(e.onClick, () => {
2023
2023
  a.onItemSelect(o.value), f.current = p;
2024
2024
  }),
2025
- onKeyDown: oo(e.onKeyDown, (e) => {
2025
+ onKeyDown: fo(e.onKeyDown, (e) => {
2026
2026
  let t = {
2027
2027
  horizontal: "ArrowDown",
2028
2028
  vertical: a.dir === "rtl" ? "ArrowLeft" : "ArrowRight"
@@ -2044,29 +2044,29 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
2044
2044
  let { __scopeNavigationMenu: n, active: r, onSelect: i, ...a } = e;
2045
2045
  return /* @__PURE__ */ (0, Y.jsx)(Yd, {
2046
2046
  asChild: !0,
2047
- children: /* @__PURE__ */ (0, Y.jsx)(Ro.a, {
2047
+ children: /* @__PURE__ */ (0, Y.jsx)(Xa.a, {
2048
2048
  "data-active": r ? "" : void 0,
2049
2049
  "aria-current": r ? "page" : void 0,
2050
2050
  ...a,
2051
2051
  ref: t,
2052
- onClick: oo(e.onClick, (e) => {
2052
+ onClick: fo(e.onClick, (e) => {
2053
2053
  let t = e.target, n = new CustomEvent(jd, {
2054
2054
  bubbles: !0,
2055
2055
  cancelable: !0
2056
2056
  });
2057
- if (t.addEventListener(jd, (e) => i?.(e), { once: !0 }), so(t, n), !n.defaultPrevented && !e.metaKey) {
2057
+ if (t.addEventListener(jd, (e) => i?.(e), { once: !0 }), ao(t, n), !n.defaultPrevented && !e.metaKey) {
2058
2058
  let e = new CustomEvent(zd, {
2059
2059
  bubbles: !0,
2060
2060
  cancelable: !0
2061
2061
  });
2062
- so(t, e);
2062
+ ao(t, e);
2063
2063
  }
2064
2064
  }, { checkForDefaultPrevented: !1 })
2065
2065
  })
2066
2066
  });
2067
2067
  }, "NavigationMenuLink")), Nd = "NavigationMenuIndicator", Pd = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */ cd(function(e, t) {
2068
2068
  let { forceMount: n, ...r } = e, i = yd(Nd, e.__scopeNavigationMenu), a = !!i.value;
2069
- return i.indicatorTrack ? od.createPortal(/* @__PURE__ */ (0, Y.jsx)(Ho, {
2069
+ return i.indicatorTrack ? od.createPortal(/* @__PURE__ */ (0, Y.jsx)(lo, {
2070
2070
  present: n || a,
2071
2071
  children: /* @__PURE__ */ (0, Y.jsx)(Fd, {
2072
2072
  ...r,
@@ -2085,7 +2085,7 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
2085
2085
  offset: u ? o.offsetLeft : o.offsetTop
2086
2086
  });
2087
2087
  }, "handlePositionChange");
2088
- return $d(o, f), $d(i.indicatorTrack, f), c ? /* @__PURE__ */ (0, Y.jsx)(Ro.div, {
2088
+ return $d(o, f), $d(i.indicatorTrack, f), c ? /* @__PURE__ */ (0, Y.jsx)(Xa.div, {
2089
2089
  "aria-hidden": !0,
2090
2090
  "data-state": d ? "visible" : "hidden",
2091
2091
  "data-orientation": i.orientation,
@@ -2121,14 +2121,14 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
2121
2121
  forceMount: n,
2122
2122
  ...c,
2123
2123
  ref: o
2124
- }) : /* @__PURE__ */ (0, Y.jsx)(Ho, {
2124
+ }) : /* @__PURE__ */ (0, Y.jsx)(lo, {
2125
2125
  present: n || s,
2126
2126
  children: /* @__PURE__ */ (0, Y.jsx)(Bd, {
2127
2127
  "data-state": ef(s),
2128
2128
  ...c,
2129
2129
  ref: o,
2130
- onPointerEnter: oo(e.onPointerEnter, i.onContentEnter),
2131
- onPointerLeave: oo(e.onPointerLeave, rf(i.onContentLeave)),
2130
+ onPointerEnter: fo(e.onPointerEnter, i.onContentEnter),
2131
+ onPointerLeave: fo(e.onPointerLeave, rf(i.onContentLeave)),
2132
2132
  style: {
2133
2133
  pointerEvents: !s && i.isRootMenu ? "none" : void 0,
2134
2134
  ...c.style
@@ -2137,7 +2137,7 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
2137
2137
  });
2138
2138
  }, "NavigationMenuContent")), Rd = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */ cd(function(e, t) {
2139
2139
  let { onViewportContentChange: n, onViewportContentRemove: r } = yd(Id, e.__scopeNavigationMenu);
2140
- return Bo(() => {
2140
+ return Ro(() => {
2141
2141
  n(e.value, {
2142
2142
  ref: t,
2143
2143
  ...e
@@ -2146,7 +2146,7 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
2146
2146
  e,
2147
2147
  t,
2148
2148
  n
2149
- ]), Bo(() => () => r(e.value), [e.value, r]), null;
2149
+ ]), Ro(() => () => r(e.value), [e.value, r]), null;
2150
2150
  }, "ViewportContentMounter")), zd = "navigationMenu.rootContentDismiss", Bd = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */ cd(function(e, t) {
2151
2151
  let { __scopeNavigationMenu: n, value: r, triggerRef: i, focusProxyRef: a, wasEscapeCloseRef: o, onRootContentClose: s, onContentFocusOutside: c, ...l } = e, u = yd(Id, n), d = J.useRef(null), f = m(d, t), p = tf(u.baseId, r), h = nf(u.baseId, r), g = dd(n), _ = J.useRef(null), { onItemDismiss: v } = u;
2152
2152
  J.useEffect(() => {
@@ -2186,7 +2186,7 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
2186
2186
  ]);
2187
2187
  return /* @__PURE__ */ (0, Y.jsx)(Kd, {
2188
2188
  asChild: !0,
2189
- children: /* @__PURE__ */ (0, Y.jsx)(Co, {
2189
+ children: /* @__PURE__ */ (0, Y.jsx)(Lo, {
2190
2190
  id: h,
2191
2191
  "aria-labelledby": p,
2192
2192
  "data-motion": y,
@@ -2201,30 +2201,30 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
2201
2201
  });
2202
2202
  d.current?.dispatchEvent(e);
2203
2203
  },
2204
- onFocusOutside: oo(e.onFocusOutside, (e) => {
2204
+ onFocusOutside: fo(e.onFocusOutside, (e) => {
2205
2205
  c();
2206
2206
  let t = e.target;
2207
2207
  u.rootNavigationMenu?.contains(t) && e.preventDefault();
2208
2208
  }),
2209
- onPointerDownOutside: oo(e.onPointerDownOutside, (e) => {
2209
+ onPointerDownOutside: fo(e.onPointerDownOutside, (e) => {
2210
2210
  let t = e.target, n = g().some((e) => e.ref.current?.contains(t)), r = u.isRootMenu && u.viewport?.contains(t);
2211
2211
  (n || r || !u.isRootMenu) && e.preventDefault();
2212
2212
  }),
2213
- onKeyDown: oo(e.onKeyDown, (e) => {
2213
+ onKeyDown: fo(e.onKeyDown, (e) => {
2214
2214
  let t = e.altKey || e.ctrlKey || e.metaKey;
2215
2215
  if (e.key === "Tab" && !t) {
2216
2216
  let t = Xd(e.currentTarget), n = document.activeElement, r = t.findIndex((e) => e === n);
2217
2217
  Zd(e.shiftKey ? t.slice(0, r).reverse() : t.slice(r + 1, t.length)) ? e.preventDefault() : a.current?.focus();
2218
2218
  }
2219
2219
  }),
2220
- onEscapeKeyDown: oo(e.onEscapeKeyDown, (e) => {
2220
+ onEscapeKeyDown: fo(e.onEscapeKeyDown, (e) => {
2221
2221
  o.current = !0;
2222
2222
  })
2223
2223
  })
2224
2224
  });
2225
2225
  }, "NavigationMenuContentImpl")), Vd = "NavigationMenuViewport", Hd = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */ cd(function(e, t) {
2226
2226
  let { forceMount: n, ...r } = e, i = !!yd(Vd, e.__scopeNavigationMenu).value;
2227
- return /* @__PURE__ */ (0, Y.jsx)(Ho, {
2227
+ return /* @__PURE__ */ (0, Y.jsx)(lo, {
2228
2228
  present: n || i,
2229
2229
  children: /* @__PURE__ */ (0, Y.jsx)(Ud, {
2230
2230
  ...r,
@@ -2238,7 +2238,7 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
2238
2238
  width: u.offsetWidth,
2239
2239
  height: u.offsetHeight
2240
2240
  });
2241
- }, "handleSizeChange")), /* @__PURE__ */ (0, Y.jsx)(Ro.div, {
2241
+ }, "handleSizeChange")), /* @__PURE__ */ (0, Y.jsx)(Xa.div, {
2242
2242
  "data-state": ef(h),
2243
2243
  "data-orientation": a.orientation,
2244
2244
  ...i,
@@ -2249,11 +2249,11 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
2249
2249
  "--radix-navigation-menu-viewport-height": p,
2250
2250
  ...i.style
2251
2251
  },
2252
- onPointerEnter: oo(e.onPointerEnter, a.onContentEnter),
2253
- onPointerLeave: oo(e.onPointerLeave, rf(a.onContentLeave)),
2252
+ onPointerEnter: fo(e.onPointerEnter, a.onContentEnter),
2253
+ onPointerLeave: fo(e.onPointerLeave, rf(a.onContentLeave)),
2254
2254
  children: Array.from(s.items).map(([e, { ref: t, forceMount: n, ...r }]) => {
2255
2255
  let i = g === e;
2256
- return /* @__PURE__ */ (0, Y.jsx)(Ho, {
2256
+ return /* @__PURE__ */ (0, Y.jsx)(lo, {
2257
2257
  present: n || i,
2258
2258
  children: /* @__PURE__ */ (0, Y.jsx)(Wd, {
2259
2259
  ...r,
@@ -2278,7 +2278,7 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
2278
2278
  scope: n,
2279
2279
  children: /* @__PURE__ */ (0, Y.jsx)(pd.Slot, {
2280
2280
  scope: n,
2281
- children: /* @__PURE__ */ (0, Y.jsx)(Ro.div, {
2281
+ children: /* @__PURE__ */ (0, Y.jsx)(Xa.div, {
2282
2282
  dir: i.dir,
2283
2283
  ...r,
2284
2284
  ref: t
@@ -2294,10 +2294,10 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
2294
2294
  let { __scopeNavigationMenu: n, ...r } = e, i = md(n), a = yd(Jd, n);
2295
2295
  return /* @__PURE__ */ (0, Y.jsx)(pd.ItemSlot, {
2296
2296
  scope: n,
2297
- children: /* @__PURE__ */ (0, Y.jsx)(Ro.button, {
2297
+ children: /* @__PURE__ */ (0, Y.jsx)(Xa.button, {
2298
2298
  ...r,
2299
2299
  ref: t,
2300
- onKeyDown: oo(e.onKeyDown, (e) => {
2300
+ onKeyDown: fo(e.onKeyDown, (e) => {
2301
2301
  if ([
2302
2302
  "Home",
2303
2303
  "End",
@@ -2344,8 +2344,8 @@ function Qd(e) {
2344
2344
  }
2345
2345
  cd(Qd, "removeFromTabOrder");
2346
2346
  function $d(e, t) {
2347
- let n = mo(t);
2348
- Bo(() => {
2347
+ let n = _o(t);
2348
+ Ro(() => {
2349
2349
  let t = 0;
2350
2350
  if (e) {
2351
2351
  let r = new ResizeObserver(() => {
@@ -2407,8 +2407,8 @@ var af = Sd, of = Td, sf = Od, cf = Ad, lf = Md, uf = Pd, df = Ld, ff = Hd, pf =
2407
2407
  "ArrowUp",
2408
2408
  "ArrowLeft"
2409
2409
  ]
2410
- }, vf = "Slider", [yf, bf, xf] = wi(vf), [Sf, Cf] = Ja(vf, [xf]), [wf, Tf] = Sf(vf), Ef = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */ mf(function(e, t) {
2411
- let { name: n, min: r = 0, max: i = 100, step: a = 1, orientation: o = "horizontal", disabled: s = !1, minStepsBetweenThumbs: c = 0, defaultValue: l = [r], value: u, onValueChange: d = /* @__PURE__ */ mf(() => {}, "onValueChange"), onValueCommit: f = /* @__PURE__ */ mf(() => {}, "onValueCommit"), inverted: p = !1, form: h, ...g } = e, _ = J.useRef(/* @__PURE__ */ new Set()), v = J.useRef(0), y = J.useRef(!1), b = o === "horizontal" ? kf : Af, [x, S] = J.useState(null), C = m(t, S), [w = [], T] = _o({
2410
+ }, vf = "Slider", [yf, bf, xf] = wi(vf), [Sf, Cf] = Za(vf, [xf]), [wf, Tf] = Sf(vf), Ef = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */ mf(function(e, t) {
2411
+ let { name: n, min: r = 0, max: i = 100, step: a = 1, orientation: o = "horizontal", disabled: s = !1, minStepsBetweenThumbs: c = 0, defaultValue: l = [r], value: u, onValueChange: d = /* @__PURE__ */ mf(() => {}, "onValueChange"), onValueCommit: f = /* @__PURE__ */ mf(() => {}, "onValueCommit"), inverted: p = !1, form: h, ...g } = e, _ = J.useRef(/* @__PURE__ */ new Set()), v = J.useRef(0), y = J.useRef(!1), b = o === "horizontal" ? kf : Af, [x, S] = J.useState(null), C = m(t, S), [w = [], T] = Ya({
2412
2412
  prop: u,
2413
2413
  defaultProp: l,
2414
2414
  onChange: /* @__PURE__ */ mf((e) => {
@@ -2473,7 +2473,7 @@ var af = Sd, of = Td, sf = Od, cf = Ad, lf = Md, uf = Pd, df = Ld, ff = Hd, pf =
2473
2473
  "data-disabled": s ? "" : void 0,
2474
2474
  ...g,
2475
2475
  ref: C,
2476
- onPointerDown: oo(g.onPointerDown, () => {
2476
+ onPointerDown: fo(g.onPointerDown, () => {
2477
2477
  s || (E.current = w, y.current = !1);
2478
2478
  }),
2479
2479
  min: r,
@@ -2592,30 +2592,30 @@ var af = Sd, of = Td, sf = Od, cf = Ad, lf = Md, uf = Pd, df = Ld, ff = Hd, pf =
2592
2592
  });
2593
2593
  }, "SliderVertical")), jf = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */ mf(function(e, t) {
2594
2594
  let { __scopeSlider: n, onSlideStart: r, onSlideMove: i, onSlideEnd: a, onHomeKeyDown: o, onEndKeyDown: s, onStepKeyDown: c, ...l } = e, u = Tf(vf, n);
2595
- return /* @__PURE__ */ (0, Y.jsx)(Ro.span, {
2595
+ return /* @__PURE__ */ (0, Y.jsx)(Xa.span, {
2596
2596
  ...l,
2597
2597
  ref: t,
2598
- onKeyDown: oo(e.onKeyDown, (e) => {
2598
+ onKeyDown: fo(e.onKeyDown, (e) => {
2599
2599
  e.key === "Home" ? (o(e), e.preventDefault()) : e.key === "End" ? (s(e), e.preventDefault()) : hf.concat(gf).includes(e.key) && (c(e), e.preventDefault());
2600
2600
  }),
2601
- onPointerDown: oo(e.onPointerDown, (e) => {
2601
+ onPointerDown: fo(e.onPointerDown, (e) => {
2602
2602
  let t = e.target;
2603
2603
  t.setPointerCapture(e.pointerId), e.preventDefault(), u.thumbs.has(t) ? t.focus({
2604
2604
  preventScroll: !0,
2605
2605
  focusVisible: !1
2606
2606
  }) : r(e);
2607
2607
  }),
2608
- onPointerMove: oo(e.onPointerMove, (e) => {
2608
+ onPointerMove: fo(e.onPointerMove, (e) => {
2609
2609
  e.target.hasPointerCapture(e.pointerId) && i(e);
2610
2610
  }),
2611
- onPointerUp: oo(e.onPointerUp, (e) => {
2611
+ onPointerUp: fo(e.onPointerUp, (e) => {
2612
2612
  let t = e.target;
2613
2613
  t.hasPointerCapture(e.pointerId) && (t.releasePointerCapture(e.pointerId), a(e));
2614
2614
  })
2615
2615
  });
2616
2616
  }, "SliderImpl")), Mf = "SliderTrack", Nf = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */ mf(function(e, t) {
2617
2617
  let { __scopeSlider: n, ...r } = e, i = Tf(Mf, n);
2618
- return /* @__PURE__ */ (0, Y.jsx)(Ro.span, {
2618
+ return /* @__PURE__ */ (0, Y.jsx)(Xa.span, {
2619
2619
  "data-disabled": i.disabled ? "" : void 0,
2620
2620
  "data-orientation": i.orientation,
2621
2621
  ...r,
@@ -2623,7 +2623,7 @@ var af = Sd, of = Td, sf = Od, cf = Ad, lf = Md, uf = Pd, df = Ld, ff = Hd, pf =
2623
2623
  });
2624
2624
  }, "SliderTrack")), Pf = "SliderRange", Ff = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */ mf(function(e, t) {
2625
2625
  let { __scopeSlider: n, ...r } = e, i = Tf(Pf, n), a = Of(Pf, n), o = J.useRef(null), s = m(t, o), c = i.values.length, l = i.values.map((e) => Kf(e, i.min, i.max)), u = c > 1 ? Math.min(...l) : 0, d = 100 - Math.max(...l);
2626
- return /* @__PURE__ */ (0, Y.jsx)(Ro.span, {
2626
+ return /* @__PURE__ */ (0, Y.jsx)(Xa.span, {
2627
2627
  "data-orientation": i.orientation,
2628
2628
  "data-disabled": i.disabled ? "" : void 0,
2629
2629
  ...r,
@@ -2670,7 +2670,7 @@ var Bf = "SliderThumbTrigger", Vf = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */
2670
2670
  },
2671
2671
  children: /* @__PURE__ */ (0, Y.jsx)(yf.ItemSlot, {
2672
2672
  scope: n,
2673
- children: /* @__PURE__ */ (0, Y.jsx)(Ro.span, {
2673
+ children: /* @__PURE__ */ (0, Y.jsx)(Xa.span, {
2674
2674
  role: "slider",
2675
2675
  "aria-label": e["aria-label"] || f,
2676
2676
  "aria-valuemin": i.min,
@@ -2683,7 +2683,7 @@ var Bf = "SliderThumbTrigger", Vf = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */
2683
2683
  ...r,
2684
2684
  ref: d,
2685
2685
  style: s === void 0 ? { display: "none" } : e.style,
2686
- onFocus: oo(e.onFocus, () => {
2686
+ onFocus: fo(e.onFocus, () => {
2687
2687
  i.valueIndexToChangeRef.current = o;
2688
2688
  })
2689
2689
  })
@@ -2710,7 +2710,7 @@ var Bf = "SliderThumbTrigger", Vf = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */
2710
2710
  let t = new Event("input", { bubbles: !0 });
2711
2711
  n.call(e, r), e.dispatchEvent(t);
2712
2712
  }
2713
- }, [c, r]), /* @__PURE__ */ (0, Y.jsx)(Ro.input, {
2713
+ }, [c, r]), /* @__PURE__ */ (0, Y.jsx)(Xa.input, {
2714
2714
  style: { display: "none" },
2715
2715
  name: i,
2716
2716
  form: a,
@@ -2796,20 +2796,20 @@ var rp = Object.defineProperty, ip = (e, t) => rp(e, "name", {
2796
2796
  value: t,
2797
2797
  configurable: !0
2798
2798
  }), ap = "Toggle", op = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */ ip(function(e, t) {
2799
- let { pressed: n, defaultPressed: r, onPressedChange: i, ...a } = e, [o, s] = _o({
2799
+ let { pressed: n, defaultPressed: r, onPressedChange: i, ...a } = e, [o, s] = Ya({
2800
2800
  prop: n,
2801
2801
  onChange: i,
2802
2802
  defaultProp: r ?? !1,
2803
2803
  caller: ap
2804
2804
  });
2805
- return /* @__PURE__ */ (0, Y.jsx)(Ro.button, {
2805
+ return /* @__PURE__ */ (0, Y.jsx)(Xa.button, {
2806
2806
  type: "button",
2807
2807
  "aria-pressed": o,
2808
2808
  "data-state": o ? "on" : "off",
2809
2809
  "data-disabled": e.disabled ? "" : void 0,
2810
2810
  ...a,
2811
2811
  ref: t,
2812
- onClick: oo(e.onClick, () => {
2812
+ onClick: fo(e.onClick, () => {
2813
2813
  e.disabled || s(!o);
2814
2814
  })
2815
2815
  });
@@ -2893,17 +2893,17 @@ fp ||= {};
2893
2893
  //#endregion
2894
2894
  //#region ../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/coerce.js
2895
2895
  function pp(e) {
2896
- return lo(Do, e);
2896
+ return ro(Co, e);
2897
2897
  }
2898
2898
  function mp(e) {
2899
- return co(No, e);
2899
+ return $a(yo, e);
2900
2900
  }
2901
2901
  function hp(e) {
2902
- return Qa(ho, e);
2902
+ return po(ho, e);
2903
2903
  }
2904
2904
  //#endregion
2905
2905
  //#region ../node_modules/.pnpm/react-hook-form@7.54.2_react@19.3.0/node_modules/react-hook-form/dist/index.esm.mjs
2906
- var X = y(), gp = /* @__PURE__ */ e(it(), 1), _p = ha(), vp = (e) => e.type === "checkbox", yp = (e) => e instanceof Date, bp = (e) => e == null, xp = (e) => typeof e == "object", Sp = (e) => !bp(e) && !Array.isArray(e) && xp(e) && !yp(e), Cp = (e) => Sp(e) && e.target ? vp(e.target) ? e.target.checked : e.target.value : e, wp = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, Tp = (e, t) => e.has(wp(t)), Ep = (e) => {
2906
+ var X = y(), gp = /* @__PURE__ */ e(We(), 1), _p = va(), vp = (e) => e.type === "checkbox", yp = (e) => e instanceof Date, bp = (e) => e == null, xp = (e) => typeof e == "object", Sp = (e) => !bp(e) && !Array.isArray(e) && xp(e) && !yp(e), Cp = (e) => Sp(e) && e.target ? vp(e.target) ? e.target.checked : e.target.value : e, wp = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, Tp = (e, t) => e.has(wp(t)), Ep = (e) => {
2907
2907
  let t = e.constructor && e.constructor.prototype;
2908
2908
  return Sp(t) && t.hasOwnProperty("isPrototypeOf");
2909
2909
  }, Dp = typeof window < "u" && window.HTMLElement !== void 0 && typeof document < "u";
@@ -4197,10 +4197,10 @@ function ph() {
4197
4197
  //#endregion
4198
4198
  //#region src/utils/zod-utils.ts
4199
4199
  function mh(e) {
4200
- return e instanceof jo;
4200
+ return e instanceof Mo;
4201
4201
  }
4202
4202
  function hh(e) {
4203
- return e instanceof Ao;
4203
+ return e instanceof Do;
4204
4204
  }
4205
4205
  function gh(e) {
4206
4206
  return e instanceof So;
@@ -4321,7 +4321,7 @@ var Dh = (e) => {
4321
4321
  let a;
4322
4322
  t[0] === n ? a = t[1] : (a = c("stroke-[1.8px]", n), t[0] = n, t[1] = a);
4323
4323
  let o;
4324
- t[2] === a ? o = t[3] : (o = /* @__PURE__ */ (0, Y.jsx)(dt, { className: a }), t[2] = a, t[3] = o);
4324
+ t[2] === a ? o = t[3] : (o = /* @__PURE__ */ (0, Y.jsx)(tt, { className: a }), t[2] = a, t[3] = o);
4325
4325
  let s;
4326
4326
  return t[4] !== i || t[5] !== o ? (s = /* @__PURE__ */ (0, Y.jsx)(pe, {
4327
4327
  content: i,
@@ -4428,7 +4428,7 @@ var Ph = J.forwardRef((e, t) => {
4428
4428
  defaultProp: o,
4429
4429
  onChange: i
4430
4430
  }, n[4] = o, n[5] = i, n[6] = a.value, n[7] = c) : c = n[7];
4431
- let [l, u] = _o(c), d, f;
4431
+ let [l, u] = Ya(c), d, f;
4432
4432
  n[8] === l ? (d = n[9], f = n[10]) : (d = () => {
4433
4433
  s(l || "");
4434
4434
  }, f = [l], n[8] = l, n[9] = d, n[10] = f), J.useEffect(d, f);
@@ -4457,7 +4457,7 @@ function Fh(e) {
4457
4457
  }
4458
4458
  function Ih(e) {
4459
4459
  let t = (e) => {
4460
- if (e instanceof Eo) {
4460
+ if (e instanceof Fo) {
4461
4461
  let t = [...e.values];
4462
4462
  return e.values.size === 1 ? t[0] : t;
4463
4463
  }
@@ -4469,16 +4469,16 @@ function Ih(e) {
4469
4469
  if (gh(e)) return e.def.items.map((e) => t(e));
4470
4470
  if ("unwrap" in e) return t(Fh(e));
4471
4471
  };
4472
- return e instanceof po || e instanceof Mo ? t(e.options[0]) : mh(e) ? Rh(e) ? [Ih(e.element)] : [] : e instanceof Do ? "" : e instanceof vo ? e.options[0] : e instanceof yo ? Object.fromEntries(Object.entries(e.shape).map(([e, n]) => [e, t(n)])) : t(e);
4472
+ return e instanceof Io || e instanceof No ? t(e.options[0]) : mh(e) ? Rh(e) ? [Ih(e.element)] : [] : e instanceof Co ? "" : e instanceof vo ? e.options[0] : e instanceof xo ? Object.fromEntries(Object.entries(e.shape).map(([e, n]) => [e, t(n)])) : t(e);
4473
4473
  }
4474
4474
  function Lh(e) {
4475
- if (e instanceof Eo) return e;
4476
- if (e instanceof yo) {
4475
+ if (e instanceof Fo) return e;
4476
+ if (e instanceof xo) {
4477
4477
  let t = e.shape.type;
4478
- if (t instanceof Eo) return t;
4478
+ if (t instanceof Fo) return t;
4479
4479
  throw Error("Invalid schema");
4480
4480
  }
4481
- if (e instanceof po || e instanceof Mo) return Lh(e.options[0]);
4481
+ if (e instanceof Io || e instanceof No) return Lh(e.options[0]);
4482
4482
  throw s.warn(e), Error("Invalid schema");
4483
4483
  }
4484
4484
  function Rh(e) {
@@ -4636,7 +4636,7 @@ function Yh({ schema: e, form: t, path: n, renderers: r }) {
4636
4636
  renderers: r
4637
4637
  });
4638
4638
  }
4639
- if (e instanceof bo) {
4639
+ if (e instanceof Ao) {
4640
4640
  let i = e.unwrap();
4641
4641
  return i = !i.description && e.description ? i.describe(e.description) : i, Yh({
4642
4642
  schema: i,
@@ -4645,10 +4645,10 @@ function Yh({ schema: e, form: t, path: n, renderers: r }) {
4645
4645
  renderers: r
4646
4646
  });
4647
4647
  }
4648
- if (e instanceof yo) return /* @__PURE__ */ (0, Y.jsxs)("div", {
4648
+ if (e instanceof xo) return /* @__PURE__ */ (0, Y.jsxs)("div", {
4649
4649
  className: c("flex", s === "row" ? "flex-row gap-6 items-start" : s === "two-columns" ? "grid grid-cols-2 gap-y-6" : "flex-col gap-6"),
4650
4650
  children: [/* @__PURE__ */ (0, Y.jsx)(Ch, { children: i }), Ts.entries(e.shape).map(([e, i]) => {
4651
- let a = i instanceof Eo, o = Yh({
4651
+ let a = i instanceof Fo, o = Yh({
4652
4652
  schema: i,
4653
4653
  form: t,
4654
4654
  path: tg(n, e),
@@ -4660,7 +4660,7 @@ function Yh({ schema: e, form: t, path: n, renderers: r }) {
4660
4660
  }, e);
4661
4661
  })]
4662
4662
  });
4663
- if (e instanceof Do) return o === "time" ? /* @__PURE__ */ (0, Y.jsx)(yh, {
4663
+ if (e instanceof Co) return o === "time" ? /* @__PURE__ */ (0, Y.jsx)(yh, {
4664
4664
  control: t.control,
4665
4665
  name: n,
4666
4666
  render: ({ field: e }) => /* @__PURE__ */ (0, Y.jsxs)(Sh, { children: [
@@ -4684,7 +4684,7 @@ function Yh({ schema: e, form: t, path: n, renderers: r }) {
4684
4684
  name: n,
4685
4685
  render: ({ field: e }) => /* @__PURE__ */ (0, Y.jsxs)(Sh, { children: [/* @__PURE__ */ (0, Y.jsxs)("div", {
4686
4686
  className: c("flex flex-row gap-2", a ? "items-start" : "items-center"),
4687
- children: [/* @__PURE__ */ (0, Y.jsx)(wh, { children: /* @__PURE__ */ (0, Y.jsx)(je, {
4687
+ children: [/* @__PURE__ */ (0, Y.jsx)(wh, { children: /* @__PURE__ */ (0, Y.jsx)(Ie, {
4688
4688
  "data-testid": "marimo-plugin-data-frames-boolean-checkbox",
4689
4689
  checked: e.value,
4690
4690
  onCheckedChange: e.onChange,
@@ -4695,7 +4695,7 @@ function Yh({ schema: e, form: t, path: n, renderers: r }) {
4695
4695
  })]
4696
4696
  }), /* @__PURE__ */ (0, Y.jsx)(Eh, {})] })
4697
4697
  });
4698
- if (e instanceof No) return o === "random_number_button" ? /* @__PURE__ */ (0, Y.jsx)(yh, {
4698
+ if (e instanceof yo) return o === "random_number_button" ? /* @__PURE__ */ (0, Y.jsx)(yh, {
4699
4699
  control: t.control,
4700
4700
  name: n,
4701
4701
  render: ({ field: e }) => /* @__PURE__ */ (0, Y.jsxs)(g, {
@@ -4753,7 +4753,7 @@ function Yh({ schema: e, form: t, path: n, renderers: r }) {
4753
4753
  options: r
4754
4754
  });
4755
4755
  }
4756
- if (e instanceof jo) {
4756
+ if (e instanceof Mo) {
4757
4757
  if (o === "text_area_multiline") return /* @__PURE__ */ (0, Y.jsx)(Qh, {
4758
4758
  schema: e,
4759
4759
  form: t,
@@ -4781,7 +4781,7 @@ function Yh({ schema: e, form: t, path: n, renderers: r }) {
4781
4781
  }, n)]
4782
4782
  });
4783
4783
  }
4784
- if (e instanceof Mo) {
4784
+ if (e instanceof No) {
4785
4785
  let a = e.def, o = a.options, s = a.discriminator, c = (e) => o.find((t) => Lh(t).value === e);
4786
4786
  return /* @__PURE__ */ (0, Y.jsx)(yh, {
4787
4787
  control: t.control,
@@ -4821,7 +4821,7 @@ function Yh({ schema: e, form: t, path: n, renderers: r }) {
4821
4821
  }
4822
4822
  });
4823
4823
  }
4824
- return e instanceof po ? /* @__PURE__ */ (0, Y.jsx)(yh, {
4824
+ return e instanceof Io ? /* @__PURE__ */ (0, Y.jsx)(yh, {
4825
4825
  control: t.control,
4826
4826
  name: n,
4827
4827
  render: ({ field: a }) => {
@@ -4849,7 +4849,7 @@ function Yh({ schema: e, form: t, path: n, renderers: r }) {
4849
4849
  ]
4850
4850
  });
4851
4851
  }
4852
- }) : e instanceof Eo ? /* @__PURE__ */ (0, Y.jsx)(yh, {
4852
+ }) : e instanceof Fo ? /* @__PURE__ */ (0, Y.jsx)(yh, {
4853
4853
  control: t.control,
4854
4854
  name: n,
4855
4855
  render: ({ field: t }) => /* @__PURE__ */ (0, Y.jsx)("input", {
@@ -5304,18 +5304,18 @@ function pg(e) {
5304
5304
  return typeof e == "function";
5305
5305
  }
5306
5306
  function mg(e) {
5307
- return We(e) && (fg(e.render) || pg(e.initialize));
5307
+ return we(e) && (fg(e.render) || pg(e.initialize));
5308
5308
  }
5309
5309
  function hg(e) {
5310
5310
  return typeof e == "function" || mg(e);
5311
5311
  }
5312
5312
  function gg(e) {
5313
- return We(e) && hg(e.default);
5313
+ return we(e) && hg(e.default);
5314
5314
  }
5315
5315
  var _g = /* @__PURE__ */ new Set(), vg = /* @__PURE__ */ new WeakMap();
5316
5316
  function yg(e, t) {
5317
5317
  if (gg(e)) return e.default;
5318
- if (!We(e) || e.default !== void 0) return null;
5318
+ if (!we(e) || e.default !== void 0) return null;
5319
5319
  let n = fg(e.render) ? e.render : void 0, r = pg(e.initialize) ? e.initialize : void 0;
5320
5320
  if (n === void 0 && r === void 0) return null;
5321
5321
  let i = vg.get(e);
@@ -5328,8 +5328,8 @@ function yg(e, t) {
5328
5328
  return vg.set(e, a), a;
5329
5329
  }
5330
5330
  function bg(e, t) {
5331
- let n = "https://anywidget.dev/en/afm/", r = We(e) && Ue(e, "render"), i = We(e) && Ue(e, "initialize");
5332
- if (We(e) && e.default !== void 0) return /* @__PURE__ */ Error(`Anywidget module at ${t} has an invalid default export. Expected a factory function or an object with \`render\` or \`initialize\`. See ${n}`);
5331
+ let n = "https://anywidget.dev/en/afm/", r = we(e) && ht(e, "render"), i = we(e) && ht(e, "initialize");
5332
+ if (we(e) && e.default !== void 0) return /* @__PURE__ */ Error(`Anywidget module at ${t} has an invalid default export. Expected a factory function or an object with \`render\` or \`initialize\`. See ${n}`);
5333
5333
  if (r || i) {
5334
5334
  let e = [r ? "`render`" : null, i ? "`initialize`" : null].filter(Boolean).join(" and "), a = [r ? "render" : null, i ? "initialize" : null].filter((e) => e !== null), o = `export default { ${a.join(", ")} }`, s = a.length === 1 ? `export function ${a[0]}` : "named export function ...";
5335
5335
  return /* @__PURE__ */ Error(`Anywidget module at ${t} uses named exports (${e}). Per the AFM spec, use a default export instead: \`${o}\` (not \`${s}\`). See ${n}`);
@@ -5341,7 +5341,7 @@ function bg(e, t) {
5341
5341
  function xg(e) {
5342
5342
  return e.startsWith(".") ? e.slice(1) : e;
5343
5343
  }
5344
- function Sg(e, t = ba()) {
5344
+ function Sg(e, t = ya()) {
5345
5345
  let n = Cg(e, t);
5346
5346
  if (!n) return e;
5347
5347
  let r = Oa(n);
@@ -5398,8 +5398,8 @@ var Ag = class {
5398
5398
  }
5399
5399
  async #t(e, t = {}) {
5400
5400
  if (!(Tg(e) || t.kernelAuthored === !0 && /^(https?:|data:)/.test(e))) throw Error(`Refusing to load anywidget module from untrusted URL: ${String(e)}`);
5401
- let n = da(e).toString();
5402
- return pa() && (n = Sg(n)), import(
5401
+ let n = fa(e).toString();
5402
+ return ma() && (n = Sg(n)), import(
5403
5403
  /* @vite-ignore */
5404
5404
  n
5405
5405
  );
@@ -5506,7 +5506,7 @@ var Ng = class e {
5506
5506
  #r;
5507
5507
  #i;
5508
5508
  #a = new AbortController();
5509
- #o = new Sa();
5509
+ #o = new pa();
5510
5510
  #s = /* @__PURE__ */ new Set();
5511
5511
  #c = /* @__PURE__ */ new Map();
5512
5512
  #l;
@@ -5746,7 +5746,7 @@ function Vg(e) {
5746
5746
  //#endregion
5747
5747
  //#region src/plugins/impl/anywidget/registry.ts
5748
5748
  function Hg() {
5749
- let e = as.get(xa).mode;
5749
+ let e = as.get(Sa).mode;
5750
5750
  return e === "edit" || e === "present";
5751
5751
  }
5752
5752
  var Ug = new class {
@@ -5816,7 +5816,7 @@ async function Wg(e, t) {
5816
5816
  return;
5817
5817
  }
5818
5818
  e.createModel(n, (e) => {
5819
- let t = pa() ? {
5819
+ let t = ma() ? {
5820
5820
  sendUpdate: async () => void 0,
5821
5821
  sendCustomMessage: async () => void 0
5822
5822
  } : {
@@ -5826,7 +5826,7 @@ async function Wg(e, t) {
5826
5826
  return;
5827
5827
  }
5828
5828
  let { state: r, buffers: i, bufferPaths: a } = Bg(t);
5829
- await Be().sendModelValue({
5829
+ await xe().sendModelValue({
5830
5830
  modelId: n,
5831
5831
  message: {
5832
5832
  method: "update",
@@ -5841,7 +5841,7 @@ async function Wg(e, t) {
5841
5841
  s.debug(`[Model] sendCustomMessage suppressed for model=${n} (signal aborted)`);
5842
5842
  return;
5843
5843
  }
5844
- await Be().sendModelValue({
5844
+ await xe().sendModelValue({
5845
5845
  modelId: n,
5846
5846
  message: {
5847
5847
  method: "custom",
@@ -5878,7 +5878,7 @@ async function Wg(e, t) {
5878
5878
  default: vi(r);
5879
5879
  }
5880
5880
  }
5881
- ht(Ug, "WIDGET_REGISTRY");
5881
+ wt(Ug, "WIDGET_REGISTRY");
5882
5882
  //#endregion
5883
5883
  //#region src/components/ui/navigation.tsx
5884
5884
  var Gg = J.forwardRef((e, t) => {
@@ -6072,7 +6072,7 @@ var i_ = (e) => {
6072
6072
  onValueChange: c,
6073
6073
  children: [p, h]
6074
6074
  }), t[20] = p, t[21] = h, t[22] = g) : g = t[22], g;
6075
- }, a_ = uo(({ container: e, children: t }) => (0, od.createPortal)(t, e ?? document.body)), o_ = 8, s_ = (e) => {
6075
+ }, a_ = oo(({ container: e, children: t }) => (0, od.createPortal)(t, e ?? document.body)), o_ = 8, s_ = (e) => {
6076
6076
  let t = (0, X.c)(18), { anchorRef: n, open: r, children: i } = e, [a, o] = J.useState(null), s = J.useRef(null), c;
6077
6077
  t[0] === n ? c = t[1] : (c = () => {
6078
6078
  if (!n.current) return;
@@ -6114,18 +6114,18 @@ var i_ = (e) => {
6114
6114
  }) }), t[15] = i, t[16] = h, t[17] = g) : g = t[17], g;
6115
6115
  }, c_ = class {
6116
6116
  tagName = "marimo-nav-menu";
6117
- menuItemValidator = W({
6117
+ menuItemValidator = G({
6118
6118
  label: U(),
6119
6119
  href: U(),
6120
6120
  description: U().nullish()
6121
6121
  });
6122
- menuItemGroupValidator = W({
6122
+ menuItemGroupValidator = G({
6123
6123
  label: U(),
6124
- items: G(this.menuItemValidator)
6124
+ items: H(this.menuItemValidator)
6125
6125
  });
6126
- validator = W({
6127
- items: G(eo([this.menuItemValidator, this.menuItemGroupValidator])),
6128
- orientation: Fo(["horizontal", "vertical"])
6126
+ validator = G({
6127
+ items: H(Ho([this.menuItemValidator, this.menuItemGroupValidator])),
6128
+ orientation: Vo(["horizontal", "vertical"])
6129
6129
  });
6130
6130
  render(e) {
6131
6131
  return /* @__PURE__ */ (0, Y.jsx)(l_, { ...e.data });
@@ -6211,7 +6211,7 @@ function f_(e) {
6211
6211
  }
6212
6212
  function p_(e) {
6213
6213
  let t = new URL(globalThis.location.href);
6214
- return _a({
6214
+ return ba({
6215
6215
  href: e,
6216
6216
  queryParams: t.search,
6217
6217
  keys: [os.filePath]
@@ -6245,7 +6245,7 @@ var h_ = class e {
6245
6245
  let n = this.entries.get(e);
6246
6246
  n === void 0 ? this.entries.set(e, {
6247
6247
  objectId: e,
6248
- value: _e(t, this),
6248
+ value: Le(t, this),
6249
6249
  elements: /* @__PURE__ */ new Set([t])
6250
6250
  }) : n.elements.add(t);
6251
6251
  }
@@ -6310,8 +6310,8 @@ var h_ = class e {
6310
6310
  detail: { objectId: t }
6311
6311
  })));
6312
6312
  }
6313
- }, g_ = h_.INSTANCE, __ = new Ie("function-call-result", async (e, t) => {
6314
- await Be().sendFunctionRequest({
6313
+ }, g_ = h_.INSTANCE, __ = new dt("function-call-result", async (e, t) => {
6314
+ await xe().sendFunctionRequest({
6315
6315
  functionCallId: e,
6316
6316
  ...t
6317
6317
  });
@@ -9233,7 +9233,7 @@ function $x(e) {
9233
9233
  //#region src/plugins/core/BadPlugin.tsx
9234
9234
  var eS = re, tS = E, nS = k, rS = O, iS = (e) => {
9235
9235
  let t = (0, X.c)(13), { error: n, badData: r } = e;
9236
- if (n instanceof qa) {
9236
+ if (n instanceof eo) {
9237
9237
  let e;
9238
9238
  t[0] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ (0, Y.jsx)(Ns, { children: "Bad Data" }), t[0] = e) : e = t[0];
9239
9239
  let i;
@@ -9295,10 +9295,10 @@ function oS(e) {
9295
9295
  //#region src/plugins/core/registerReactComponent.tsx
9296
9296
  var sS = 3, cS = 150;
9297
9297
  function lS({ hostElement: e, plugin: t, children: n, getInitialValue: r }, i) {
9298
- let [c, l] = (0, J.useState)(n), [u, d] = (0, J.useState)(r()), { theme: f } = ds(), [p, m] = (0, J.useState)(() => t.validator.safeParse(kt(e))), [h, g] = (0, J.useState)(0);
9298
+ let [c, l] = (0, J.useState)(n), [u, d] = (0, J.useState)(r()), { theme: f } = ds(), [p, m] = (0, J.useState)(() => t.validator.safeParse(_e(e))), [h, g] = (0, J.useState)(0);
9299
9299
  (0, J.useImperativeHandle)(i, () => ({
9300
9300
  reset: () => {
9301
- d(r()), m(t.validator.safeParse(kt(e))), g((e) => e + 1);
9301
+ d(r()), m(t.validator.safeParse(_e(e))), g((e) => e + 1);
9302
9302
  },
9303
9303
  setChildren: (e) => {
9304
9304
  l(e);
@@ -9307,7 +9307,7 @@ function lS({ hostElement: e, plugin: t, children: n, getInitialValue: r }, i) {
9307
9307
  t.detail.element === e && d(t.detail.value);
9308
9308
  }), (0, J.useEffect)(() => {
9309
9309
  let n = new MutationObserver((n) => {
9310
- n.some((e) => e.type === "attributes" && e.attributeName?.startsWith("data-")) && m(t.validator.safeParse(kt(e)));
9310
+ n.some((e) => e.type === "attributes" && e.attributeName?.startsWith("data-")) && m(t.validator.safeParse(_e(e)));
9311
9311
  });
9312
9312
  return n.observe(e, { attributes: !0 }), () => {
9313
9313
  n.disconnect();
@@ -9325,10 +9325,10 @@ function lS({ hostElement: e, plugin: t, children: n, getInitialValue: r }, i) {
9325
9325
  let { input: t, output: a } = i;
9326
9326
  n[r] = async (...n) => {
9327
9327
  bs(n.length <= 1, `Plugin functions only supports a single argument. Called ${r}`);
9328
- let i = pa(), o = Ee.findElementThroughShadowDOMs(e)?.id, c = o ? Ee.parse(o) : null;
9328
+ let i = ma(), o = Fe.findElementThroughShadowDOMs(e)?.id, c = o ? Fe.parse(o) : null;
9329
9329
  if (c && !i) {
9330
- let e = as.get(Xe), t = e.cellRuntime[c], n = e.cellData[c];
9331
- if (He({
9330
+ let e = as.get(et), t = e.cellRuntime[c], n = e.cellData[c];
9331
+ if (st({
9332
9332
  executionTime: t.runElapsedTimeMs ?? n.lastExecutionTime,
9333
9333
  status: t.status,
9334
9334
  errored: t.errored,
@@ -9362,7 +9362,7 @@ function lS({ hostElement: e, plugin: t, children: n, getInitialValue: r }, i) {
9362
9362
  e,
9363
9363
  h
9364
9364
  ]);
9365
- return p.success ? /* @__PURE__ */ (0, Y.jsx)(io, { children: /* @__PURE__ */ (0, Y.jsx)("div", {
9365
+ return p.success ? /* @__PURE__ */ (0, Y.jsx)(Po, { children: /* @__PURE__ */ (0, Y.jsx)("div", {
9366
9366
  className: `contents ${f}`,
9367
9367
  children: /* @__PURE__ */ (0, Y.jsx)(J.Suspense, {
9368
9368
  fallback: /* @__PURE__ */ (0, Y.jsx)("div", {}),
@@ -9375,7 +9375,7 @@ function lS({ hostElement: e, plugin: t, children: n, getInitialValue: r }, i) {
9375
9375
  functions: v
9376
9376
  }) })
9377
9377
  })
9378
- }) }) : aS(p.error, Ts.mapValues(e.dataset, (e) => typeof e == "string" ? Re(e) : e));
9378
+ }) }) : aS(p.error, Ts.mapValues(e.dataset, (e) => typeof e == "string" ? kt(e) : e));
9379
9379
  }
9380
9380
  var uS = J.forwardRef(lS), dS = /* @__PURE__ */ new Map(), fS = "__custom_marimo_element__";
9381
9381
  function pS(e) {
@@ -9410,7 +9410,7 @@ function pS(e) {
9410
9410
  return !1;
9411
9411
  }
9412
9412
  reset() {
9413
- this.dispatchEvent(wa(Re(this.dataset.initialValue), this)), this.rerender();
9413
+ this.dispatchEvent(wa(kt(this.dataset.initialValue), this)), this.rerender();
9414
9414
  }
9415
9415
  rerender() {
9416
9416
  this.pluginRef.current?.reset();
@@ -9431,7 +9431,7 @@ function pS(e) {
9431
9431
  hostElement: this,
9432
9432
  plugin: e,
9433
9433
  ref: this.pluginRef,
9434
- getInitialValue: () => _e(this, h_.INSTANCE),
9434
+ getInitialValue: () => Le(this, h_.INSTANCE),
9435
9435
  children: this.getChildren()
9436
9436
  }) })
9437
9437
  }));
@@ -9490,7 +9490,7 @@ function hS(e) {
9490
9490
  }
9491
9491
  function gS(e, t) {
9492
9492
  let n = e.safeParse(t);
9493
- if (!n.success) throw s.log("Failed to parse data", t, n.error), Error(Za(n.error));
9493
+ if (!n.success) throw s.log("Failed to parse data", t, n.error), Error(no(n.error));
9494
9494
  return n.data;
9495
9495
  }
9496
9496
  //#endregion
@@ -9502,7 +9502,7 @@ function vS() {
9502
9502
  inputListener = a.NOOP;
9503
9503
  init() {
9504
9504
  if (this.initialized) return;
9505
- let e = Ge.parseOrThrow(this);
9505
+ let e = Ce.parseOrThrow(this);
9506
9506
  this.inputListener = (n) => {
9507
9507
  e !== null && n.detail.element === this.firstElementChild && (g_.has(e) || g_.registerInstance(e, t), g_.broadcastValueUpdate(t, e, n.detail.value));
9508
9508
  };
@@ -9523,14 +9523,14 @@ function vS() {
9523
9523
  }
9524
9524
  connectedCallback() {
9525
9525
  if (this.init(), this.initialized) {
9526
- let e = Ge.parseOrThrow(this), t = this.firstElementChild;
9526
+ let e = Ce.parseOrThrow(this), t = this.firstElementChild;
9527
9527
  g_.registerInstance(e, t), document.addEventListener(Ca.TYPE, this.inputListener);
9528
9528
  }
9529
9529
  }
9530
9530
  disconnectedCallback() {
9531
9531
  if (this.initialized) {
9532
9532
  document.removeEventListener(Ca.TYPE, this.inputListener);
9533
- let e = Ge.parseOrThrow(this);
9533
+ let e = Ce.parseOrThrow(this);
9534
9534
  g_.removeInstance(e, this.firstElementChild);
9535
9535
  }
9536
9536
  }
@@ -9539,7 +9539,7 @@ function vS() {
9539
9539
  hS(e) ? e.reset() : s.error("[marimo-ui-element] first child must have a reset method");
9540
9540
  }
9541
9541
  static get observedAttributes() {
9542
- return [vt];
9542
+ return [Te];
9543
9543
  }
9544
9544
  attributeChangedCallback(e, t, n) {
9545
9545
  if (this.initialized && e === "random-id" && t !== n) {
@@ -9553,16 +9553,16 @@ function vS() {
9553
9553
  }
9554
9554
  function yS(e) {
9555
9555
  if (!e) return null;
9556
- if (e.nodeName === _S) return Ge.parseOrThrow(e);
9556
+ if (e.nodeName === _S) return Ce.parseOrThrow(e);
9557
9557
  let t = e.parentElement;
9558
- return t?.nodeName === _S ? Ge.parseOrThrow(t) : null;
9558
+ return t?.nodeName === _S ? Ce.parseOrThrow(t) : null;
9559
9559
  }
9560
9560
  function bS(e) {
9561
9561
  return e.tagName === _S;
9562
9562
  }
9563
9563
  //#endregion
9564
9564
  //#region src/components/editor/renderers/vertical-layout/sidebar/state.ts
9565
- var xS = Le({ isOpen: !0 }, (e, t) => {
9565
+ var xS = me({ isOpen: !0 }, (e, t) => {
9566
9566
  if (!t) return e;
9567
9567
  switch (t.type) {
9568
9568
  case "toggle": return {
@@ -9661,7 +9661,7 @@ function wS(e, t = {}) {
9661
9661
  }
9662
9662
  //#endregion
9663
9663
  //#region src/plugins/impl/anywidget/AnyWidgetPlugin.tsx
9664
- var TS = wS("marimo-anywidget").withData(W({ modelId: Lo(og, { message: "Expected a non-empty widget model id" }) })).withFunctions({}).renderer((e) => /* @__PURE__ */ (0, Y.jsx)(ES, { ...e })), ES = (e) => {
9664
+ var TS = wS("marimo-anywidget").withData(G({ modelId: uo(og, { message: "Expected a non-empty widget model id" }) })).withFunctions({}).renderer((e) => /* @__PURE__ */ (0, Y.jsx)(ES, { ...e })), ES = (e) => {
9665
9665
  let t = (0, X.c)(9), { modelId: n } = e.data, r = (0, J.useRef)(null), [i, a] = (0, J.useState)(), o = ns(Gs), s, c;
9666
9666
  t[0] !== o || t[1] !== n ? (s = () => {
9667
9667
  if (!o) return;
@@ -9863,7 +9863,7 @@ function NS(e) {
9863
9863
  }
9864
9864
  //#endregion
9865
9865
  //#region src/plugins/impl/common/intent.ts
9866
- var PS = Fo([
9866
+ var PS = Vo([
9867
9867
  "neutral",
9868
9868
  "success",
9869
9869
  "warn",
@@ -9872,11 +9872,11 @@ var PS = Fo([
9872
9872
  "alert"
9873
9873
  ]).default("neutral"), FS = class {
9874
9874
  tagName = "marimo-button";
9875
- validator = W({
9875
+ validator = G({
9876
9876
  label: U(),
9877
9877
  kind: PS,
9878
- disabled: H().default(!1),
9879
- fullWidth: H().default(!1),
9878
+ disabled: K().default(!1),
9879
+ fullWidth: K().default(!1),
9880
9880
  tooltip: U().optional(),
9881
9881
  keyboardShortcut: U().optional()
9882
9882
  });
@@ -9956,10 +9956,10 @@ var LS = (e) => {
9956
9956
  }), t[24] = r, t[25] = h, t[26] = x, t[27] = S) : S = t[27], S;
9957
9957
  }, RS = class {
9958
9958
  tagName = "marimo-checkbox";
9959
- validator = W({
9960
- initialValue: H(),
9959
+ validator = G({
9960
+ initialValue: K(),
9961
9961
  label: U().nullable(),
9962
- disabled: H().optional()
9962
+ disabled: K().optional()
9963
9963
  });
9964
9964
  render(e) {
9965
9965
  return /* @__PURE__ */ (0, Y.jsx)(zS, { ...e });
@@ -9970,7 +9970,7 @@ var LS = (e) => {
9970
9970
  e !== "indeterminate" && r(e);
9971
9971
  }, t[0] = r, t[1] = a);
9972
9972
  let o = a, s = (0, J.useId)(), c;
9973
- t[2] !== i.disabled || t[3] !== s || t[4] !== o || t[5] !== n ? (c = /* @__PURE__ */ (0, Y.jsx)(je, {
9973
+ t[2] !== i.disabled || t[3] !== s || t[4] !== o || t[5] !== n ? (c = /* @__PURE__ */ (0, Y.jsx)(Ie, {
9974
9974
  "data-testid": "marimo-plugin-checkbox",
9975
9975
  checked: n,
9976
9976
  onCheckedChange: o,
@@ -9986,17 +9986,17 @@ var LS = (e) => {
9986
9986
  }), t[7] = i.label, t[8] = s, t[9] = c, t[10] = l) : l = t[10], l;
9987
9987
  }, BS = class {
9988
9988
  tagName = "marimo-code-editor";
9989
- validator = W({
9989
+ validator = G({
9990
9990
  initialValue: U(),
9991
9991
  language: U().default("python"),
9992
9992
  placeholder: U(),
9993
- theme: Fo(["light", "dark"]).optional(),
9993
+ theme: Vo(["light", "dark"]).optional(),
9994
9994
  label: U().nullable(),
9995
- disabled: H().optional(),
9996
- minHeight: K().optional(),
9997
- maxHeight: K().optional(),
9998
- showCopyButton: H().optional(),
9999
- debounce: eo([H(), K()]).default(!1)
9995
+ disabled: K().optional(),
9996
+ minHeight: W().optional(),
9997
+ maxHeight: W().optional(),
9998
+ showCopyButton: K().optional(),
9999
+ debounce: Ho([K(), W()]).default(!1)
10000
10000
  });
10001
10001
  render(e) {
10002
10002
  return /* @__PURE__ */ (0, Y.jsx)(VS, {
@@ -10067,40 +10067,40 @@ var LS = (e) => {
10067
10067
  output: t
10068
10068
  };
10069
10069
  } };
10070
- } }, US = J.lazy(() => import("./chat-ui-BDpymeoe.js").then((e) => ({ default: e.Chatbot }))), WS = G(W({
10070
+ } }, US = J.lazy(() => import("./chat-ui-BeKQyQQI.js").then((e) => ({ default: e.Chatbot }))), WS = H(G({
10071
10071
  id: U(),
10072
- role: Fo([
10072
+ role: Vo([
10073
10073
  "system",
10074
10074
  "user",
10075
10075
  "assistant"
10076
10076
  ]),
10077
10077
  content: U().nullable(),
10078
- parts: G(zo()),
10079
- metadata: zo().optional()
10080
- })), GS = W({
10081
- max_tokens: K().nullable(),
10082
- temperature: K().nullable(),
10083
- top_p: K().nullable(),
10084
- top_k: K().nullable(),
10085
- frequency_penalty: K().nullable(),
10086
- presence_penalty: K().nullable()
10087
- }), KS = wS("marimo-chatbot").withData(W({
10088
- prompts: G(U()).default(Cs.EMPTY),
10089
- showConfigurationControls: H(),
10090
- maxHeight: K().optional(),
10078
+ parts: H(co()),
10079
+ metadata: co().optional()
10080
+ })), GS = G({
10081
+ max_tokens: W().nullable(),
10082
+ temperature: W().nullable(),
10083
+ top_p: W().nullable(),
10084
+ top_k: W().nullable(),
10085
+ frequency_penalty: W().nullable(),
10086
+ presence_penalty: W().nullable()
10087
+ }), KS = wS("marimo-chatbot").withData(G({
10088
+ prompts: H(U()).default(Cs.EMPTY),
10089
+ showConfigurationControls: K(),
10090
+ maxHeight: W().optional(),
10091
10091
  config: GS,
10092
- allowAttachments: eo([H(), U().array()]),
10093
- disabled: H().default(!1)
10092
+ allowAttachments: Ho([K(), U().array()]),
10093
+ disabled: K().default(!1)
10094
10094
  })).withFunctions({
10095
- get_chat_history: HS.input(W({})).output(W({ messages: WS })),
10096
- delete_chat_history: HS.input(W({})).output(go()),
10097
- delete_chat_message: HS.input(W({ index: K() })).output(go()),
10098
- send_prompt: HS.input(W({
10095
+ get_chat_history: HS.input(G({})).output(G({ messages: WS })),
10096
+ delete_chat_history: HS.input(G({})).output(zo()),
10097
+ delete_chat_message: HS.input(G({ index: W() })).output(zo()),
10098
+ send_prompt: HS.input(G({
10099
10099
  request_id: U(),
10100
10100
  messages: WS,
10101
10101
  config: GS
10102
- })).output(ao()),
10103
- cancel_prompt: HS.input(W({ request_id: U() })).output(go())
10102
+ })).output(Ja()),
10103
+ cancel_prompt: HS.input(G({ request_id: U() })).output(zo())
10104
10104
  }).renderer((e) => /* @__PURE__ */ (0, Y.jsx)(J.Suspense, { children: /* @__PURE__ */ (0, Y.jsx)(US, {
10105
10105
  prompts: e.data.prompts,
10106
10106
  showConfigurationControls: e.data.showConfigurationControls,
@@ -10197,7 +10197,7 @@ var $S = [
10197
10197
  label: "Value",
10198
10198
  special: "column_values"
10199
10199
  })),
10200
- stringMultiColumnValues: G(U()).min(1).describe(fh.of({
10200
+ stringMultiColumnValues: H(U()).min(1).describe(fh.of({
10201
10201
  label: "Value",
10202
10202
  special: "column_values"
10203
10203
  })),
@@ -10223,7 +10223,7 @@ var $S = [
10223
10223
  ">=": [e],
10224
10224
  "<": [e],
10225
10225
  "<=": [e],
10226
- between: [W({
10226
+ between: [G({
10227
10227
  min: e,
10228
10228
  max: e
10229
10229
  })],
@@ -10289,53 +10289,53 @@ function mC(e, t) {
10289
10289
  ].flat();
10290
10290
  return n.length === 0 || n.some((e) => e.safeParse(t).success);
10291
10291
  }
10292
- var hC = (e, t) => e[t] ? e[t] : [], gC = G($a([pp(), $a([Fo($S).catch("unknown"), U()])])), _C = U().min(1, "Required").or(K()).transform((e) => e).describe(fh.of({
10292
+ var hC = (e, t) => e[t] ? e[t] : [], gC = H(so([pp(), so([Vo($S).catch("unknown"), U()])])), _C = U().min(1, "Required").or(W()).transform((e) => e).describe(fh.of({
10293
10293
  label: "Column",
10294
10294
  special: "column_id"
10295
- })), vC = G(_C.describe(fh.of({ special: "column_id" }))).min(1, "At least one column is required").default([]).describe(fh.of({
10295
+ })), vC = H(_C.describe(fh.of({ special: "column_id" }))).min(1, "At least one column is required").default([]).describe(fh.of({
10296
10296
  label: "Columns",
10297
10297
  minLength: 1
10298
- })), yC = W({
10299
- type: Ya("column_conversion"),
10298
+ })), yC = G({
10299
+ type: Eo("column_conversion"),
10300
10300
  column_id: _C,
10301
- data_type: Fo(eC).describe(fh.of({ label: "Data type (numpy)" })).default("bool"),
10302
- errors: Fo(["ignore", "raise"]).default("ignore").describe(fh.of({
10301
+ data_type: Vo(eC).describe(fh.of({ label: "Data type (numpy)" })).default("bool"),
10302
+ errors: Vo(["ignore", "raise"]).default("ignore").describe(fh.of({
10303
10303
  label: "Handle errors",
10304
10304
  special: "radio_group"
10305
10305
  }))
10306
- }).describe(fh.of({})), bC = W({
10307
- type: Ya("rename_column"),
10306
+ }).describe(fh.of({})), bC = G({
10307
+ type: Eo("rename_column"),
10308
10308
  column_id: _C,
10309
10309
  new_column_id: U().min(1, "Required").transform((e) => e).describe(fh.of({
10310
10310
  label: "New column name",
10311
10311
  minLength: 1
10312
10312
  }))
10313
- }), xC = W({
10314
- type: Ya("sort_column"),
10313
+ }), xC = G({
10314
+ type: Eo("sort_column"),
10315
10315
  column_id: _C,
10316
- ascending: H().describe(fh.of({ label: "Ascending" })).default(!0),
10317
- na_position: Fo(["first", "last"]).describe(fh.of({
10316
+ ascending: K().describe(fh.of({ label: "Ascending" })).default(!0),
10317
+ na_position: Vo(["first", "last"]).describe(fh.of({
10318
10318
  label: "N/A position",
10319
10319
  special: "radio_group"
10320
10320
  })).default("last")
10321
- }), SC = W({
10321
+ }), SC = G({
10322
10322
  column_id: _C,
10323
- operator: Fo(Object.keys(uC)).describe(fh.of({ label: " " })),
10324
- type: Ya("condition").default("condition"),
10325
- value: zo().optional().describe(fh.of({ label: "Value" })),
10326
- negate: H().default(!1)
10323
+ operator: Vo(Object.keys(uC)).describe(fh.of({ label: " " })),
10324
+ type: Eo("condition").default("condition"),
10325
+ value: co().optional().describe(fh.of({ label: "Value" })),
10326
+ negate: K().default(!1)
10327
10327
  }).describe(fh.of({
10328
10328
  direction: "row",
10329
10329
  special: "column_filter"
10330
- })), CC = Xa(() => W({
10331
- type: Ya("group").default("group"),
10332
- operator: Fo(["and", "or"]).default("and"),
10333
- children: G(eo([SC, CC])).default([]),
10334
- negate: H().default(!1)
10335
- })), wC = W({
10336
- type: Ya("filter_rows"),
10337
- operation: Fo(["keep_rows", "remove_rows"]).default("keep_rows").describe(fh.of({ special: "radio_group" })),
10338
- where: G(SC).min(1).describe(fh.of({
10330
+ })), CC = io(() => G({
10331
+ type: Eo("group").default("group"),
10332
+ operator: Vo(["and", "or"]).default("and"),
10333
+ children: H(Ho([SC, CC])).default([]),
10334
+ negate: K().default(!1)
10335
+ })), wC = G({
10336
+ type: Eo("filter_rows"),
10337
+ operation: Vo(["keep_rows", "remove_rows"]).default("keep_rows").describe(fh.of({ special: "radio_group" })),
10338
+ where: H(SC).min(1).describe(fh.of({
10339
10339
  label: "Value",
10340
10340
  minLength: 1
10341
10341
  })).default(() => [{
@@ -10345,64 +10345,64 @@ var hC = (e, t) => e[t] ? e[t] : [], gC = G($a([pp(), $a([Fo($S).catch("unknown"
10345
10345
  type: "condition",
10346
10346
  negate: !1
10347
10347
  }]).transform((e) => e.filter((e) => mC(e.operator, e.value)))
10348
- }), TC = W({
10349
- type: Ya("group_by"),
10350
- column_ids: G(_C.describe(fh.of({ special: "column_id" }))).default([]).describe(fh.of({
10348
+ }), TC = G({
10349
+ type: Eo("group_by"),
10350
+ column_ids: H(_C.describe(fh.of({ special: "column_id" }))).default([]).describe(fh.of({
10351
10351
  label: "Group by columns",
10352
10352
  minLength: 1
10353
10353
  })),
10354
- aggregation_column_ids: G(_C.describe(fh.of({ special: "column_id" }))).default([]).describe(fh.of({ label: "Aggregate on columns" })),
10355
- aggregation: Fo(tC).default("count").describe(fh.of({ label: "Aggregation" })),
10356
- drop_na: H().default(!1).describe(fh.of({ label: "Drop N/A" }))
10357
- }).describe(fh.of({})), EC = W({
10358
- type: Ya("aggregate"),
10354
+ aggregation_column_ids: H(_C.describe(fh.of({ special: "column_id" }))).default([]).describe(fh.of({ label: "Aggregate on columns" })),
10355
+ aggregation: Vo(tC).default("count").describe(fh.of({ label: "Aggregation" })),
10356
+ drop_na: K().default(!1).describe(fh.of({ label: "Drop N/A" }))
10357
+ }).describe(fh.of({})), EC = G({
10358
+ type: Eo("aggregate"),
10359
10359
  column_ids: vC,
10360
- aggregations: G(Fo(tC)).min(1, "At least one aggregation is required").default(["count"]).describe(fh.of({
10360
+ aggregations: H(Vo(tC)).min(1, "At least one aggregation is required").default(["count"]).describe(fh.of({
10361
10361
  label: "Aggregations",
10362
10362
  minLength: 1
10363
10363
  }))
10364
- }).describe(fh.of({ direction: "row" })), DC = W({
10365
- type: Ya("select_columns"),
10364
+ }).describe(fh.of({ direction: "row" })), DC = G({
10365
+ type: Eo("select_columns"),
10366
10366
  column_ids: vC
10367
- }), OC = W({
10368
- type: Ya("sample_rows"),
10369
- n: K().positive().describe(fh.of({ label: "Number of rows" })),
10370
- seed: K().default(() => ph()).describe(fh.of({
10367
+ }), OC = G({
10368
+ type: Eo("sample_rows"),
10369
+ n: W().positive().describe(fh.of({ label: "Number of rows" })),
10370
+ seed: W().default(() => ph()).describe(fh.of({
10371
10371
  label: "Re-sample",
10372
10372
  special: "random_number_button"
10373
10373
  })),
10374
- replace: H().default(!1).describe(fh.of({ label: "Sample with replacement" }))
10375
- }), kC = W({
10376
- type: Ya("shuffle_rows"),
10377
- seed: K().default(() => ph()).describe(fh.of({
10374
+ replace: K().default(!1).describe(fh.of({ label: "Sample with replacement" }))
10375
+ }), kC = G({
10376
+ type: Eo("shuffle_rows"),
10377
+ seed: W().default(() => ph()).describe(fh.of({
10378
10378
  label: "Re-shuffle",
10379
10379
  special: "random_number_button"
10380
10380
  }))
10381
- }), AC = W({
10382
- type: Ya("explode_columns"),
10381
+ }), AC = G({
10382
+ type: Eo("explode_columns"),
10383
10383
  column_ids: vC
10384
- }), jC = W({
10385
- type: Ya("expand_dict"),
10384
+ }), jC = G({
10385
+ type: Eo("expand_dict"),
10386
10386
  column_id: _C
10387
- }), MC = W({
10388
- type: Ya("unique"),
10387
+ }), MC = G({
10388
+ type: Eo("unique"),
10389
10389
  column_ids: vC,
10390
- keep: Fo([
10390
+ keep: Vo([
10391
10391
  "first",
10392
10392
  "last",
10393
10393
  "none",
10394
10394
  "any"
10395
10395
  ]).default("first").describe(fh.of({ label: "Keep" }))
10396
- }).describe(fh.of({ direction: "row" })), NC = W({
10397
- type: Ya("pivot"),
10396
+ }).describe(fh.of({ direction: "row" })), NC = G({
10397
+ type: Eo("pivot"),
10398
10398
  column_ids: vC,
10399
- index_column_ids: G(_C.describe(fh.of({ special: "column_id" }))).default([]).describe(fh.of({ label: "Rows" })),
10400
- value_column_ids: G(_C.describe(fh.of({ special: "column_id" }))).default([]).describe(fh.of({
10399
+ index_column_ids: H(_C.describe(fh.of({ special: "column_id" }))).default([]).describe(fh.of({ label: "Rows" })),
10400
+ value_column_ids: H(_C.describe(fh.of({ special: "column_id" }))).default([]).describe(fh.of({
10401
10401
  label: "Values",
10402
10402
  minLength: 1
10403
10403
  })),
10404
- aggregation: Fo(tC).default("sum").describe(fh.of({ label: "Aggregation" }))
10405
- }).describe(fh.of({})), PC = eo([
10404
+ aggregation: Vo(tC).default("sum").describe(fh.of({ label: "Aggregation" }))
10405
+ }).describe(fh.of({})), PC = Ho([
10406
10406
  wC,
10407
10407
  DC,
10408
10408
  bC,
@@ -10416,7 +10416,7 @@ var hC = (e, t) => e[t] ? e[t] : [], gC = G($a([pp(), $a([Fo($S).catch("unknown"
10416
10416
  jC,
10417
10417
  MC,
10418
10418
  NC
10419
- ]), FC = W({ transforms: G(PC) });
10419
+ ]), FC = G({ transforms: H(PC) });
10420
10420
  //#endregion
10421
10421
  //#region src/plugins/impl/data-editor/data-utils.ts
10422
10422
  function IC(e, t) {
@@ -10533,18 +10533,18 @@ function VC(e, t) {
10533
10533
  }
10534
10534
  //#endregion
10535
10535
  //#region src/plugins/impl/DataEditorPlugin.tsx
10536
- var HC = J.lazy(() => import("./glide-data-editor-BQ7uKbeo.js").then((e) => e.t)), UC = wS("marimo-data-editor", { cssStyles: [qS] }).withData(W({
10537
- initialValue: W({ edits: G(W({
10538
- rowIdx: K(),
10536
+ var HC = J.lazy(() => import("./glide-data-editor-E8Z7sC5t.js").then((e) => e.t)), UC = wS("marimo-data-editor", { cssStyles: [qS] }).withData(G({
10537
+ initialValue: G({ edits: H(G({
10538
+ rowIdx: W(),
10539
10539
  columnId: U(),
10540
- value: ao()
10540
+ value: Ja()
10541
10541
  })) }),
10542
10542
  label: U().nullable(),
10543
- data: eo([U(), G(W({}).passthrough())]),
10543
+ data: Ho([U(), H(G({}).passthrough())]),
10544
10544
  fieldTypes: gC.nullish(),
10545
- columnNames: G(U()).default([]),
10546
- editableColumns: eo([G(U()), Ya("all")]),
10547
- columnSizingMode: Fo(["auto", "fit"]).default("auto")
10545
+ columnNames: H(U()).default([]),
10546
+ editableColumns: Ho([H(U()), Eo("all")]),
10547
+ columnSizingMode: Vo(["auto", "fit"]).default("auto")
10548
10548
  })).withFunctions({}).renderer((e) => /* @__PURE__ */ (0, Y.jsx)(WC, {
10549
10549
  data: e.data.data,
10550
10550
  fieldTypes: e.data.fieldTypes,
@@ -10908,13 +10908,13 @@ fw.displayName = Ef.displayName;
10908
10908
  //#region src/plugins/impl/MultiselectPlugin.tsx
10909
10909
  var pw = class {
10910
10910
  tagName = "marimo-multiselect";
10911
- validator = W({
10912
- initialValue: G(U()),
10911
+ validator = G({
10912
+ initialValue: H(U()),
10913
10913
  label: U().nullable(),
10914
- options: G(U()),
10915
- fullWidth: H().default(!1),
10916
- maxSelections: K().optional(),
10917
- disabled: H().default(!1)
10914
+ options: H(U()),
10915
+ fullWidth: K().default(!1),
10916
+ maxSelections: W().optional(),
10917
+ disabled: K().default(!1)
10918
10918
  });
10919
10919
  render(e) {
10920
10920
  return /* @__PURE__ */ (0, Y.jsx)(mw, {
@@ -10958,9 +10958,9 @@ function hw(e) {
10958
10958
  //#endregion
10959
10959
  //#region src/components/editor/cell/useAddCell.ts
10960
10960
  function gw() {
10961
- let e = (0, X.c)(4), t = ns(cs), n = Me(), { createNewCell: r } = at(), i;
10961
+ let e = (0, X.c)(4), t = ns(cs), n = De(), { createNewCell: r } = Dt(), i;
10962
10962
  return e[0] !== t || e[1] !== r || e[2] !== n ? (i = (e) => {
10963
- e.includes("alt") && st({
10963
+ e.includes("alt") && ke({
10964
10964
  autoInstantiate: t,
10965
10965
  createNewCell: r,
10966
10966
  fromCellId: n
@@ -12231,7 +12231,7 @@ var vw = [_w({
12231
12231
  borderBottom: "2px solid var(--cm-reactive-reference-border-color)"
12232
12232
  },
12233
12233
  ".mo-cm-reactive-reference-hover": { cursor: "pointer" }
12234
- })], bw = [ge(), gs.lineWrapping], xw = [Ds(), gs.lineWrapping], Sw = [Os(), gs.lineWrapping];
12234
+ })], bw = [Re(), gs.lineWrapping], xw = [Ds(), gs.lineWrapping], Sw = [Os(), gs.lineWrapping];
12235
12235
  function Cw(e) {
12236
12236
  switch (e) {
12237
12237
  case "sql": return xw;
@@ -12315,7 +12315,7 @@ var Tw = (e) => {
12315
12315
  }), t[3] = r, t[4] = a), a;
12316
12316
  }, Ew = (e) => {
12317
12317
  let t = (0, X.c)(9), n = e.hidden ? "Show code" : "Hide code", r = e.hidden ? "Show code" : "Hide code", i;
12318
- t[0] === e.hidden ? i = t[1] : (i = e.hidden ? /* @__PURE__ */ (0, Y.jsx)(lt, {
12318
+ t[0] === e.hidden ? i = t[1] : (i = e.hidden ? /* @__PURE__ */ (0, Y.jsx)(Ct, {
12319
12319
  size: 14,
12320
12320
  strokeWidth: 1.5
12321
12321
  }) : /* @__PURE__ */ (0, Y.jsx)(nr, {
@@ -12370,7 +12370,7 @@ var kw = (e) => {
12370
12370
  let t = (0, X.c)(5), { text: n, tooltip: r } = e, i;
12371
12371
  t[0] === r ? i = t[1] : (i = r && /* @__PURE__ */ (0, Y.jsx)(pe, {
12372
12372
  content: r,
12373
- children: /* @__PURE__ */ (0, Y.jsx)(St, { className: "w-3 h-3 mt-0.5" })
12373
+ children: /* @__PURE__ */ (0, Y.jsx)(Ge, { className: "w-3 h-3 mt-0.5" })
12374
12374
  }), t[0] = r, t[1] = i);
12375
12375
  let a;
12376
12376
  return t[2] !== i || t[3] !== n ? (a = /* @__PURE__ */ (0, Y.jsxs)("h2", {
@@ -12576,7 +12576,7 @@ var kw = (e) => {
12576
12576
  let { field: t } = e;
12577
12577
  return /* @__PURE__ */ (0, Y.jsxs)(Sh, {
12578
12578
  className: c("flex flex-row items-center gap-2", i),
12579
- children: [/* @__PURE__ */ (0, Y.jsx)(Ch, { children: r }), /* @__PURE__ */ (0, Y.jsx)(wh, { children: /* @__PURE__ */ (0, Y.jsx)(je, {
12579
+ children: [/* @__PURE__ */ (0, Y.jsx)(Ch, { children: r }), /* @__PURE__ */ (0, Y.jsx)(wh, { children: /* @__PURE__ */ (0, Y.jsx)(Ie, {
12580
12580
  checked: t.value ?? a ?? !1,
12581
12581
  onCheckedChange: t.onChange,
12582
12582
  className: "w-4 h-4"
@@ -12745,7 +12745,7 @@ var kw = (e) => {
12745
12745
  open: o,
12746
12746
  onOpenChange: s,
12747
12747
  children: [/* @__PURE__ */ (0, Y.jsx)(ki, { children: /* @__PURE__ */ (0, Y.jsx)(Si, { placeholder: "Select an option" }) }), /* @__PURE__ */ (0, Y.jsx)(Ei, { children: /* @__PURE__ */ (0, Y.jsx)(Oi, { children: Rt.map((e) => {
12748
- let t = nt[e], n = e === "string" ? "categorical" : e;
12748
+ let t = $e[e], n = e === "string" ? "categorical" : e;
12749
12749
  return /* @__PURE__ */ (0, Y.jsx)(Ci, {
12750
12750
  value: e,
12751
12751
  className: "flex flex-col items-start justify-center",
@@ -12868,7 +12868,7 @@ var kw = (e) => {
12868
12868
  };
12869
12869
  function Qw(e) {
12870
12870
  if (e.name.trim() === "") return null;
12871
- let t = nt[e.type];
12871
+ let t = $e[e.type];
12872
12872
  return /* @__PURE__ */ (0, Y.jsx)(Ci, {
12873
12873
  value: e.name,
12874
12874
  children: /* @__PURE__ */ (0, Y.jsxs)("div", {
@@ -13315,7 +13315,7 @@ var CT = () => {
13315
13315
  p,
13316
13316
  /* @__PURE__ */ (0, Y.jsxs)("p", {
13317
13317
  className: "text-xs",
13318
- children: [/* @__PURE__ */ (0, Y.jsx)(St, { className: "w-2.5 h-2.5 inline mb-1 mr-1" }), "If you are using color range, color scheme will be ignored."]
13318
+ children: [/* @__PURE__ */ (0, Y.jsx)(Ge, { className: "w-2.5 h-2.5 inline mb-1 mr-1" }), "If you are using color range, color scheme will be ignored."]
13319
13319
  })
13320
13320
  ] })]
13321
13321
  }), e[12] = m) : m = e[12];
@@ -13515,63 +13515,63 @@ var OT = () => {
13515
13515
  className: "mt-14",
13516
13516
  children: "Loading chart..."
13517
13517
  }), e[0] = t) : t = e[0], t;
13518
- }, MT = W({
13519
- binned: H().optional(),
13520
- step: K().optional(),
13521
- maxbins: K().optional()
13522
- }), NT = W({
13518
+ }, MT = G({
13519
+ binned: K().optional(),
13520
+ step: W().optional(),
13521
+ maxbins: W().optional()
13522
+ }), NT = G({
13523
13523
  field: U().optional(),
13524
- type: Fo([...$S, ""]).catch("unknown").optional(),
13525
- selectedDataType: Fo([...Rt, ""]).optional(),
13526
- sort: Fo(qt).default("ascending").optional(),
13527
- timeUnit: Fo(Vt).optional()
13528
- }), PT = NT.extend({ aggregate: Fo(It).default(Zt).optional() }), FT = NT.extend({
13529
- linkYAxis: H().default(!0),
13530
- binned: H().default(!0),
13531
- maxbins: K().default(6)
13524
+ type: Vo([...$S, ""]).catch("unknown").optional(),
13525
+ selectedDataType: Vo([...Rt, ""]).optional(),
13526
+ sort: Vo(qt).default("ascending").optional(),
13527
+ timeUnit: Vo(Vt).optional()
13528
+ }), PT = NT.extend({ aggregate: Vo(It).default(Zt).optional() }), FT = NT.extend({
13529
+ linkYAxis: K().default(!0),
13530
+ binned: K().default(!0),
13531
+ maxbins: W().default(6)
13532
13532
  }), IT = NT.extend({
13533
- linkXAxis: H().default(!0),
13534
- binned: H().default(!0),
13535
- maxbins: K().default(6)
13536
- }), LT = W({
13537
- general: W({
13533
+ linkXAxis: K().default(!0),
13534
+ binned: K().default(!0),
13535
+ maxbins: W().default(6)
13536
+ }), LT = G({
13537
+ general: G({
13538
13538
  title: U().optional(),
13539
13539
  xColumn: PT.optional(),
13540
13540
  yColumn: PT.optional(),
13541
13541
  colorByColumn: PT.optional(),
13542
- facet: W({
13542
+ facet: G({
13543
13543
  row: FT,
13544
13544
  column: IT
13545
13545
  }).optional(),
13546
- horizontal: H().optional(),
13547
- stacking: H().optional()
13546
+ horizontal: K().optional(),
13547
+ stacking: K().optional()
13548
13548
  }).optional(),
13549
- xAxis: W({
13549
+ xAxis: G({
13550
13550
  label: U().optional(),
13551
- width: K().optional(),
13551
+ width: W().optional(),
13552
13552
  bin: MT.optional()
13553
13553
  }).optional(),
13554
- yAxis: W({
13554
+ yAxis: G({
13555
13555
  label: U().optional(),
13556
- height: K().optional(),
13556
+ height: W().optional(),
13557
13557
  bin: MT.optional()
13558
13558
  }).optional(),
13559
- color: W({
13560
- field: Fo([...Yt, Zt]).default(Zt),
13559
+ color: G({
13560
+ field: Vo([...Yt, Zt]).default(Zt),
13561
13561
  scheme: U().default(Nt).optional(),
13562
- range: G(U()).optional(),
13563
- domain: G(U()).optional(),
13562
+ range: H(U()).optional(),
13563
+ domain: H(U()).optional(),
13564
13564
  bin: MT.optional()
13565
13565
  }).optional(),
13566
- style: W({
13567
- innerRadius: K().optional(),
13568
- gridLines: H().optional()
13566
+ style: G({
13567
+ innerRadius: W().optional(),
13568
+ gridLines: K().optional()
13569
13569
  }).optional(),
13570
- tooltips: W({
13571
- auto: H(),
13572
- fields: G(W({
13570
+ tooltips: G({
13571
+ auto: K(),
13572
+ fields: H(G({
13573
13573
  field: U(),
13574
- type: Fo($S).catch("unknown")
13574
+ type: Vo($S).catch("unknown")
13575
13575
  }))
13576
13576
  }).default({
13577
13577
  auto: !0,
@@ -13604,11 +13604,11 @@ function RT() {
13604
13604
  }
13605
13605
  //#endregion
13606
13606
  //#region src/components/data-table/charts/storage.ts
13607
- var zT = "marimo:charts:v2", BT = W({
13607
+ var zT = "marimo:charts:v2", BT = G({
13608
13608
  tabName: U().transform((e) => e),
13609
13609
  chartType: U().transform((e) => e),
13610
13610
  config: LT
13611
- }), VT = G($a([U().transform((e) => e), G(BT)])), HT = new Fe(zT, VT, () => []), UT = {
13611
+ }), VT = H(so([U().transform((e) => e), H(BT)])), HT = new Se(zT, VT, () => []), UT = {
13612
13612
  getItem: (e) => {
13613
13613
  try {
13614
13614
  let t = HT.get(e);
@@ -13623,7 +13623,7 @@ var zT = "marimo:charts:v2", BT = W({
13623
13623
  removeItem: (e) => {
13624
13624
  HT.remove(e);
13625
13625
  }
13626
- }, WT = he(zT, /* @__PURE__ */ new Map(), UT);
13626
+ }, WT = qe(zT, /* @__PURE__ */ new Map(), UT);
13627
13627
  function GT(e, t) {
13628
13628
  let n = Mi(t);
13629
13629
  return e === 0 ? `${n} Chart` : `${n} Chart ${e + 1}`;
@@ -13875,7 +13875,7 @@ var eE = ({ cellId: e, data: t, dataTable: n, totalRows: r, columns: i, getDataU
13875
13875
  t[10] === Symbol.for("react.memo_cache_sentinel") ? (f = /* @__PURE__ */ (0, Y.jsxs)(jn, {
13876
13876
  value: "data",
13877
13877
  className: "w-1/2 h-6",
13878
- children: [/* @__PURE__ */ (0, Y.jsx)(Ze, { className: "w-4 h-4 mr-2" }), "Data"]
13878
+ children: [/* @__PURE__ */ (0, Y.jsx)(Ye, { className: "w-4 h-4 mr-2" }), "Data"]
13879
13879
  }), t[10] = f) : f = t[10];
13880
13880
  let p;
13881
13881
  t[11] === Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ (0, Y.jsxs)(kn, {
@@ -13883,7 +13883,7 @@ var eE = ({ cellId: e, data: t, dataTable: n, totalRows: r, columns: i, getDataU
13883
13883
  children: [f, /* @__PURE__ */ (0, Y.jsxs)(jn, {
13884
13884
  value: "style",
13885
13885
  className: "w-1/2 h-6",
13886
- children: [/* @__PURE__ */ (0, Y.jsx)(bt, { className: "w-4 h-4 mr-2" }), "Style"]
13886
+ children: [/* @__PURE__ */ (0, Y.jsx)(rt, { className: "w-4 h-4 mr-2" }), "Style"]
13887
13887
  })]
13888
13888
  }), t[11] = p) : p = t[11];
13889
13889
  let m;
@@ -13938,7 +13938,7 @@ function aE(e) {
13938
13938
  //#endregion
13939
13939
  //#region src/components/data-table/hooks/use-panel-ownership.ts
13940
13940
  function oE(e, t) {
13941
- let n = (0, X.c)(16), r = ns(D_), { focusCell: i } = be(), a = Me(), [o, c] = is(T_), [l, u] = is(w_), [d, f] = is(E_), p = sE(e, t);
13941
+ let n = (0, X.c)(16), r = ns(D_), { focusCell: i } = it(), a = De(), [o, c] = is(T_), [l, u] = is(w_), [d, f] = is(E_), p = sE(e, t);
13942
13942
  !t && r && (s.error("CellId is not found, defaulting to fixed mode"), r = !1);
13943
13943
  let m = (e) => l === p && d && e === o, h = a === t, g = l && cE(l, t);
13944
13944
  r && h && l !== p && !g && u(p);
@@ -13963,19 +13963,19 @@ function cE(e, t) {
13963
13963
  }
13964
13964
  //#endregion
13965
13965
  //#region src/components/data-table/schemas.ts
13966
- var lE = W({
13966
+ var lE = G({
13967
13967
  geometry_column: U().nullish(),
13968
- options: W({
13968
+ options: G({
13969
13969
  separator: U().optional(),
13970
13970
  encoding: U().optional(),
13971
- ensure_ascii: H().optional()
13971
+ ensure_ascii: K().optional()
13972
13972
  }).optional()
13973
- }), uE = W({
13973
+ }), uE = G({
13974
13974
  url: U(),
13975
13975
  filename: U(),
13976
13976
  error: U().nullish(),
13977
- missing_packages: G(U()).nullish(),
13978
- code: Fo([
13977
+ missing_packages: H(U()).nullish(),
13978
+ code: Vo([
13979
13979
  "geometry_required",
13980
13980
  "invalid_geometry",
13981
13981
  "invalid_metadata",
@@ -13985,30 +13985,30 @@ var lE = W({
13985
13985
  "conversion_failed"
13986
13986
  ]).nullish(),
13987
13987
  column: U().nullish()
13988
- }), dE = HS.input(lE.extend({ format: Fo([
13988
+ }), dE = HS.input(lE.extend({ format: Vo([
13989
13989
  "csv",
13990
13990
  "json",
13991
13991
  "parquet",
13992
13992
  "tsv"
13993
- ]) })).output(uE), fE = HS.input(lE.extend({ format: Ya("geojson") })).output(uE.extend({ code: eo([uE.shape.code, Ya("missing_crs")]) })), pE = W({
13994
- geometry_columns: G(W({
13993
+ ]) })).output(uE), fE = HS.input(lE.extend({ format: Eo("geojson") })).output(uE.extend({ code: Ho([uE.shape.code, Eo("missing_crs")]) })), pE = G({
13994
+ geometry_columns: H(G({
13995
13995
  name: U(),
13996
- encoding: Fo([
13996
+ encoding: Vo([
13997
13997
  "objects",
13998
13998
  "wkb",
13999
13999
  "wkt",
14000
14000
  "other"
14001
14001
  ]),
14002
- crs: eo([U(), ro(U(), ao())]).nullable()
14002
+ crs: Ho([U(), to(U(), Ja())]).nullable()
14003
14003
  })),
14004
14004
  primary_geometry_column: U().nullable(),
14005
14005
  default_geometry_column: U().nullable(),
14006
- formats: ro(U(), W({
14007
- available: H(),
14006
+ formats: to(U(), G({
14007
+ available: K(),
14008
14008
  reason: U().nullable(),
14009
- missing_packages: G(U())
14009
+ missing_packages: H(U())
14010
14010
  }))
14011
- }), mE = HS.input(W({})).output(pE);
14011
+ }), mE = HS.input(G({})).output(pE);
14012
14012
  //#endregion
14013
14013
  //#region src/components/datasources/column-preview.tsx
14014
14014
  function hE({ error: e, missingPackages: t, refetchPreview: n }) {
@@ -14030,7 +14030,7 @@ function gE({ stats: e, dataType: t, locale: n }) {
14030
14030
  children: [
14031
14031
  /* @__PURE__ */ (0, Y.jsx)("span", {
14032
14032
  className: "text-xs min-w-[60px] capitalize",
14033
- children: Ke(e, t)
14033
+ children: Et(e, t)
14034
14034
  }),
14035
14035
  /* @__PURE__ */ (0, Y.jsx)("span", {
14036
14036
  className: "text-xs font-bold text-muted-foreground tracking-wide",
@@ -14072,9 +14072,9 @@ function vE(e, t) {
14072
14072
  });
14073
14073
  }
14074
14074
  var yE = (e) => {
14075
- let t = (0, X.c)(10), { chartCode: n } = e, r = ns(cs), i = Me(), { createNewCell: a } = at(), o;
14075
+ let t = (0, X.c)(10), { chartCode: n } = e, r = ns(cs), i = De(), { createNewCell: a } = Dt(), o;
14076
14076
  t[0] !== r || t[1] !== a || t[2] !== i ? (o = (e) => {
14077
- e.includes("alt") && st({
14077
+ e.includes("alt") && ke({
14078
14078
  autoInstantiate: r,
14079
14079
  createNewCell: a,
14080
14080
  fromCellId: i
@@ -14134,7 +14134,7 @@ function bE({ previewColumn: e, fieldTypes: t, totalRows: n, totalColumns: r, ta
14134
14134
  className: "gap-1",
14135
14135
  disabled: f === 0,
14136
14136
  onClick: () => a.toggleAllColumnsVisible(!0),
14137
- children: [/* @__PURE__ */ (0, Y.jsx)(lt, { className: "w-3 h-3" }), "Show all"]
14137
+ children: [/* @__PURE__ */ (0, Y.jsx)(Ct, { className: "w-3 h-3" }), "Show all"]
14138
14138
  })
14139
14139
  }), /* @__PURE__ */ (0, Y.jsx)(pe, {
14140
14140
  content: "Hide all columns",
@@ -14217,7 +14217,7 @@ function xE({ columnName: e, column: t, dataType: n, externalType: r, previewCol
14217
14217
  onClick: (e) => {
14218
14218
  e.preventDefault(), e.stopPropagation(), t.toggleVisibility(!t.getIsVisible());
14219
14219
  },
14220
- children: t.getIsVisible() ? /* @__PURE__ */ (0, Y.jsx)(lt, {
14220
+ children: t.getIsVisible() ? /* @__PURE__ */ (0, Y.jsx)(Ct, {
14221
14221
  className: "h-3 w-3",
14222
14222
  strokeWidth: 2.5
14223
14223
  }) : /* @__PURE__ */ (0, Y.jsx)(nr, {
@@ -14310,7 +14310,7 @@ var SE = ({ previewColumn: e, columnName: t, dataType: n }) => {
14310
14310
  title: "Select/unselect the current row",
14311
14311
  children: [/* @__PURE__ */ (0, Y.jsxs)("div", {
14312
14312
  className: "flex items-center gap-1.5",
14313
- children: [/* @__PURE__ */ (0, Y.jsx)(je, {
14313
+ children: [/* @__PURE__ */ (0, Y.jsx)(Ie, {
14314
14314
  id: d,
14315
14315
  checked: o,
14316
14316
  onCheckedChange: v,
@@ -14386,7 +14386,7 @@ var SE = ({ previewColumn: e, columnName: t, dataType: n }) => {
14386
14386
  });
14387
14387
  if (n === 0) return /* @__PURE__ */ (0, Y.jsx)(TE, {
14388
14388
  kind: "info",
14389
- Icon: St,
14389
+ Icon: Ge,
14390
14390
  message: "No rows selected"
14391
14391
  });
14392
14392
  if (!m) return /* @__PURE__ */ (0, Y.jsx)(jr, {
@@ -14555,16 +14555,16 @@ function AE(e, t) {
14555
14555
  }
14556
14556
  //#endregion
14557
14557
  //#region src/plugins/impl/DataTablePlugin.tsx
14558
- var jE = eo([
14559
- K(),
14558
+ var jE = Ho([
14559
+ W(),
14560
14560
  To(),
14561
14561
  U()
14562
- ]).nullable(), ME = W({
14563
- total: K().nullable(),
14564
- nulls: K().nullable(),
14565
- unique: K().nullable(),
14566
- true: K().nullable(),
14567
- false: K().nullable(),
14562
+ ]).nullable(), ME = G({
14563
+ total: W().nullable(),
14564
+ nulls: W().nullable(),
14565
+ unique: W().nullable(),
14566
+ true: W().nullable(),
14567
+ false: W().nullable(),
14568
14568
  min: jE,
14569
14569
  max: jE,
14570
14570
  std: jE,
@@ -14574,123 +14574,123 @@ var jE = eo([
14574
14574
  p25: jE,
14575
14575
  p75: jE,
14576
14576
  p95: jE
14577
- }), NE = G(W({
14578
- bin_start: eo([
14579
- K(),
14577
+ }), NE = H(G({
14578
+ bin_start: Ho([
14579
+ W(),
14580
14580
  U(),
14581
- Vo(Date)
14581
+ go(Date)
14582
14582
  ]),
14583
- bin_end: eo([
14584
- K(),
14583
+ bin_end: Ho([
14584
+ W(),
14585
14585
  U(),
14586
- Vo(Date)
14586
+ go(Date)
14587
14587
  ]),
14588
- count: K()
14589
- })), PE = G(W({
14588
+ count: W()
14589
+ })), PE = H(G({
14590
14590
  value: U(),
14591
- count: K()
14592
- })), FE = ro(U(), ro(U(), U().nullable())).optional(), IE = wS("marimo-table").withData(W({
14593
- initialValue: eo([G(K()), G(W({
14591
+ count: W()
14592
+ })), FE = to(U(), to(U(), U().nullable())).optional(), IE = wS("marimo-table").withData(G({
14593
+ initialValue: Ho([H(W()), H(G({
14594
14594
  rowId: U(),
14595
14595
  columnName: U()
14596
14596
  }))]),
14597
14597
  label: U().nullable(),
14598
- data: eo([U(), G(W({}).passthrough())]),
14599
- rawData: eo([U(), G(no({}))]).nullish(),
14600
- totalRows: eo([K(), Ya(Bn)]),
14601
- pagination: H().default(!1),
14602
- pageSize: K().default(10),
14603
- selection: Fo([
14598
+ data: Ho([U(), H(G({}).passthrough())]),
14599
+ rawData: Ho([U(), H(qa({}))]).nullish(),
14600
+ totalRows: Ho([W(), Eo(Bn)]),
14601
+ pagination: K().default(!1),
14602
+ pageSize: W().default(10),
14603
+ selection: Vo([
14604
14604
  "single",
14605
14605
  "multi",
14606
14606
  "single-cell",
14607
14607
  "multi-cell"
14608
14608
  ]).nullable().default(null),
14609
- showDownload: H().default(!1),
14610
- showFilters: H().default(!1),
14611
- showColumnSummaries: eo([H(), Fo(["stats", "chart"])]).default(!0),
14612
- showDataTypes: H().default(!0),
14613
- showPageSizeSelector: H().default(!0),
14614
- showColumnExplorer: H().default(!0),
14615
- showRowExplorer: H().default(!0),
14616
- showChartBuilder: H().default(!0),
14617
- showSearch: H().default(!0),
14609
+ showDownload: K().default(!1),
14610
+ showFilters: K().default(!1),
14611
+ showColumnSummaries: Ho([K(), Vo(["stats", "chart"])]).default(!0),
14612
+ showDataTypes: K().default(!0),
14613
+ showPageSizeSelector: K().default(!0),
14614
+ showColumnExplorer: K().default(!0),
14615
+ showRowExplorer: K().default(!0),
14616
+ showChartBuilder: K().default(!0),
14617
+ showSearch: K().default(!0),
14618
14618
  rowHeaders: gC,
14619
- freezeColumnsLeft: G(U()).optional(),
14620
- freezeColumnsRight: G(U()).optional(),
14621
- hiddenColumns: G(U()).optional(),
14622
- textJustifyColumns: ro(U(), Fo([
14619
+ freezeColumnsLeft: H(U()).optional(),
14620
+ freezeColumnsRight: H(U()).optional(),
14621
+ hiddenColumns: H(U()).optional(),
14622
+ textJustifyColumns: to(U(), Vo([
14623
14623
  "left",
14624
14624
  "center",
14625
14625
  "right"
14626
14626
  ])).optional(),
14627
- wrappedColumns: G(U()).optional(),
14628
- columnWidths: ro(U(), K().int().positive()).optional(),
14629
- headerTooltip: ro(U(), U()).optional(),
14627
+ wrappedColumns: H(U()).optional(),
14628
+ columnWidths: to(U(), W().int().positive()).optional(),
14629
+ headerTooltip: to(U(), U()).optional(),
14630
14630
  fieldTypes: gC.nullish(),
14631
- totalColumns: K(),
14632
- maxColumns: eo([K(), Ya("all")]).default("all"),
14633
- hasStableRowId: H().default(!1),
14634
- maxHeight: K().optional(),
14635
- cellStyles: ro(U(), ro(U(), W({}).passthrough())).optional(),
14631
+ totalColumns: W(),
14632
+ maxColumns: Ho([W(), Eo("all")]).default("all"),
14633
+ hasStableRowId: K().default(!1),
14634
+ maxHeight: W().optional(),
14635
+ cellStyles: to(U(), to(U(), G({}).passthrough())).optional(),
14636
14636
  hoverTemplate: U().optional(),
14637
14637
  cellHoverTexts: FE,
14638
- lazy: H().default(!1),
14639
- preload: H().default(!1)
14638
+ lazy: K().default(!1),
14639
+ preload: K().default(!1)
14640
14640
  })).withFunctions({
14641
14641
  download_as: dE,
14642
14642
  download_geojson: fE,
14643
14643
  get_export_metadata: mE,
14644
- get_column_summaries: HS.input(no({})).output(W({
14645
- data: eo([U(), G(no({}))]).nullable(),
14646
- stats: ro(U(), ME),
14647
- bin_values: ro(U(), NE),
14648
- value_counts: ro(U(), PE),
14649
- show_charts: H(),
14650
- is_disabled: H().optional()
14644
+ get_column_summaries: HS.input(qa({})).output(G({
14645
+ data: Ho([U(), H(qa({}))]).nullable(),
14646
+ stats: to(U(), ME),
14647
+ bin_values: to(U(), NE),
14648
+ value_counts: to(U(), PE),
14649
+ show_charts: K(),
14650
+ is_disabled: K().optional()
14651
14651
  })),
14652
- search: HS.input(W({
14653
- sort: G(W({
14652
+ search: HS.input(G({
14653
+ sort: H(G({
14654
14654
  by: U(),
14655
- descending: H()
14655
+ descending: K()
14656
14656
  })).optional(),
14657
14657
  query: U().optional(),
14658
14658
  filters: CC.optional(),
14659
- page_number: K(),
14660
- page_size: K(),
14661
- max_columns: K().nullable().optional()
14662
- })).output(W({
14663
- data: eo([U(), G(W({}).passthrough())]),
14664
- total_rows: eo([K(), Ya(Bn)]),
14665
- cell_styles: ro(U(), ro(U(), W({}).passthrough())).nullable(),
14659
+ page_number: W(),
14660
+ page_size: W(),
14661
+ max_columns: W().nullable().optional()
14662
+ })).output(G({
14663
+ data: Ho([U(), H(G({}).passthrough())]),
14664
+ total_rows: Ho([W(), Eo(Bn)]),
14665
+ cell_styles: to(U(), to(U(), G({}).passthrough())).nullable(),
14666
14666
  cell_hover_texts: FE.nullable(),
14667
- raw_data: eo([U(), G(no({}))]).nullish()
14667
+ raw_data: Ho([U(), H(qa({}))]).nullish()
14668
14668
  })),
14669
- get_row_ids: HS.input(W({}).passthrough()).output(W({
14670
- row_ids: G(K()),
14671
- all_rows: H(),
14669
+ get_row_ids: HS.input(G({}).passthrough()).output(G({
14670
+ row_ids: H(W()),
14671
+ all_rows: K(),
14672
14672
  error: U().nullable()
14673
14673
  })),
14674
- get_data_url: HS.input(W({}).passthrough()).output(W({
14675
- data_url: eo([U(), G(W({}).passthrough())]),
14676
- format: Fo([
14674
+ get_data_url: HS.input(G({}).passthrough()).output(G({
14675
+ data_url: Ho([U(), H(G({}).passthrough())]),
14676
+ format: Vo([
14677
14677
  "csv",
14678
14678
  "json",
14679
14679
  "arrow"
14680
14680
  ])
14681
14681
  })),
14682
- calculate_top_k_rows: HS.input(W({
14682
+ calculate_top_k_rows: HS.input(G({
14683
14683
  column: U(),
14684
- k: K()
14685
- })).output(W({ data: G($a([zo(), K()])) })),
14686
- preview_column: HS.input(W({ column: U() })).output(W({
14684
+ k: W()
14685
+ })).output(G({ data: H(so([co(), W()])) })),
14686
+ preview_column: HS.input(G({ column: U() })).output(G({
14687
14687
  chart_spec: U().nullable(),
14688
14688
  chart_code: U().nullable(),
14689
14689
  error: U().nullable(),
14690
- missing_packages: G(U()).nullable(),
14690
+ missing_packages: H(U()).nullable(),
14691
14691
  stats: ME.nullable()
14692
14692
  })),
14693
- get_size_bytes: HS.input(W({})).output(W({ size_bytes: K().nullish() }))
14693
+ get_size_bytes: HS.input(G({})).output(G({ size_bytes: W().nullish() }))
14694
14694
  }).renderer((e) => /* @__PURE__ */ (0, Y.jsx)(UE, { children: /* @__PURE__ */ (0, Y.jsx)(BE, {
14695
14695
  isLazy: e.data.lazy,
14696
14696
  preload: e.data.preload,
@@ -14714,8 +14714,8 @@ function zE(e, t) {
14714
14714
  var BE = (e) => {
14715
14715
  let t = (0, X.c)(13), { isLazy: n, children: r, preload: i, host: a } = e, o, s, c, l;
14716
14716
  if (t[0] !== a || t[1] !== n || t[2] !== i) {
14717
- let e = a.closest(`[${Ae}]`);
14718
- l = e ? Ge.parse(e) : null, o = a.closest(`[${vt}]`)?.getAttribute(vt), s = J.useState, c = n && !i && !RE(l, o), t[0] = a, t[1] = n, t[2] = i, t[3] = o, t[4] = s, t[5] = c, t[6] = l;
14717
+ let e = a.closest(`[${gt}]`);
14718
+ l = e ? Ce.parse(e) : null, o = a.closest(`[${Te}]`)?.getAttribute(Te), s = J.useState, c = n && !i && !RE(l, o), t[0] = a, t[1] = n, t[2] = i, t[3] = o, t[4] = s, t[5] = c, t[6] = l;
14719
14719
  } else o = t[3], s = t[4], c = t[5], l = t[6];
14720
14720
  let [u, d] = s(c);
14721
14721
  if (u) {
@@ -14724,7 +14724,7 @@ var BE = (e) => {
14724
14724
  zE(l, o), d(!1);
14725
14725
  }, t[7] = o, t[8] = l, t[9] = e) : e = t[9];
14726
14726
  let n;
14727
- t[10] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ (0, Y.jsx)(wt, { className: "mr-2 h-4 w-4" }), t[10] = n) : n = t[10];
14727
+ t[10] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ (0, Y.jsx)(ut, { className: "mr-2 h-4 w-4" }), t[10] = n) : n = t[10];
14728
14728
  let r;
14729
14729
  return t[11] === e ? r = t[12] : (r = /* @__PURE__ */ (0, Y.jsx)("div", {
14730
14730
  className: "flex h-20 items-center justify-center",
@@ -14739,7 +14739,7 @@ var BE = (e) => {
14739
14739
  return r;
14740
14740
  }, VE = (0, J.memo)((e) => {
14741
14741
  let t = (0, X.c)(119), n;
14742
- t[0] === e.host ? n = t[1] : (n = Te(e.host), t[0] = e.host, t[1] = n);
14742
+ t[0] === e.host ? n = t[1] : (n = Ee(e.host), t[0] = e.host, t[1] = n);
14743
14743
  let r = n, i = e.search, a = e.setValue, o;
14744
14744
  t[2] === Symbol.for("react.memo_cache_sentinel") ? (o = [], t[2] = o) : o = t[2];
14745
14745
  let [c, l] = (0, J.useState)(o), u;
@@ -14846,7 +14846,7 @@ var BE = (e) => {
14846
14846
  t[66] === se ? ce = t[67] : (ce = [se], t[66] = se, t[67] = ce), (0, J.useEffect)(oe, ce);
14847
14847
  let V;
14848
14848
  t[68] === e ? V = t[69] : (V = async () => {
14849
- let t = pa();
14849
+ let t = ma();
14850
14850
  return e.totalRows === 0 || !e.showColumnSummaries || t ? {
14851
14851
  data: null,
14852
14852
  stats: {},
@@ -14878,7 +14878,7 @@ var BE = (e) => {
14878
14878
  if (k) {
14879
14879
  s.error(k);
14880
14880
  let e;
14881
- t[82] === k ? e = t[83] : (e = !pa() && /* @__PURE__ */ (0, Y.jsxs)(Ps, {
14881
+ t[82] === k ? e = t[83] : (e = !ma() && /* @__PURE__ */ (0, Y.jsxs)(Ps, {
14882
14882
  variant: "destructive",
14883
14883
  className: "mb-2",
14884
14884
  children: [/* @__PURE__ */ (0, Y.jsx)(Ns, { children: "Error" }), /* @__PURE__ */ (0, Y.jsx)("div", {
@@ -14917,8 +14917,8 @@ var BE = (e) => {
14917
14917
  cellId: r,
14918
14918
  maxHeight: e.maxHeight
14919
14919
  }), t[86] = r, t[87] = ue, t[88] = y, t[89] = g, t[90] = ae, t[91] = d, t[92] = e, t[93] = p, t[94] = ne, t[95] = re, t[96] = c, t[97] = _e, t[98] = ve, t[99] = ye, t[100] = be, t[101] = xe, t[102] = Se, t[103] = ge, t[104] = Ce) : Ce = t[104];
14920
- let we = Ce, Ee;
14921
- t[105] !== r || t[106] !== we || t[107] !== O?.rows || t[108] !== y || t[109] !== e.fieldTypes || t[110] !== e.get_data_url || t[111] !== e.rowHeaders || t[112] !== e.showChartBuilder || t[113] !== e.totalColumns || t[114] !== e.totalRows ? (Ee = e.showChartBuilder ? /* @__PURE__ */ (0, Y.jsx)(eE, {
14920
+ let we = Ce, Te;
14921
+ t[105] !== r || t[106] !== we || t[107] !== O?.rows || t[108] !== y || t[109] !== e.fieldTypes || t[110] !== e.get_data_url || t[111] !== e.rowHeaders || t[112] !== e.showChartBuilder || t[113] !== e.totalColumns || t[114] !== e.totalRows ? (Te = e.showChartBuilder ? /* @__PURE__ */ (0, Y.jsx)(eE, {
14922
14922
  displayHeader: y,
14923
14923
  onCloseChartBuilder: () => b(!1),
14924
14924
  data: O?.rows || [],
@@ -14929,9 +14929,9 @@ var BE = (e) => {
14929
14929
  fieldTypes: e.fieldTypes,
14930
14930
  rowHeaders: e.rowHeaders,
14931
14931
  cellId: r
14932
- }) : we, t[105] = r, t[106] = we, t[107] = O?.rows, t[108] = y, t[109] = e.fieldTypes, t[110] = e.get_data_url, t[111] = e.rowHeaders, t[112] = e.showChartBuilder, t[113] = e.totalColumns, t[114] = e.totalRows, t[115] = Ee) : Ee = t[115];
14932
+ }) : we, t[105] = r, t[106] = we, t[107] = O?.rows, t[108] = y, t[109] = e.fieldTypes, t[110] = e.get_data_url, t[111] = e.rowHeaders, t[112] = e.showChartBuilder, t[113] = e.totalColumns, t[114] = e.totalRows, t[115] = Te) : Te = t[115];
14933
14933
  let De;
14934
- return t[116] !== me || t[117] !== Ee ? (De = /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [me, Ee] }), t[116] = me, t[117] = Ee, t[118] = De) : De = t[118], De;
14934
+ return t[116] !== me || t[117] !== Te ? (De = /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [me, Te] }), t[116] = me, t[117] = Te, t[118] = De) : De = t[118], De;
14935
14935
  });
14936
14936
  VE.displayName = "LoadingDataTableComponent";
14937
14937
  var HE = (e) => {
@@ -14947,7 +14947,7 @@ var HE = (e) => {
14947
14947
  });
14948
14948
  }, t[0] = w, t[1] = T, t[2] = ve) : ve = t[2];
14949
14949
  let ye = ve, { locale: be } = Jo(), [xe, Se] = (0, J.useState)(0), { isPanelOpen: Ce, isAnyPanelOpen: we, togglePanel: Te, panelType: Ee, setPanelType: De } = oE(_e, pe), Oe;
14950
- t[3] === Symbol.for("react.memo_cache_sentinel") ? (Oe = pa(), t[3] = Oe) : Oe = t[3];
14950
+ t[3] === Symbol.for("react.memo_cache_sentinel") ? (Oe = ma(), t[3] = Oe) : Oe = t[3];
14951
14951
  let ke = Oe, Ae;
14952
14952
  bb0: {
14953
14953
  if (!D) {
@@ -15050,7 +15050,7 @@ var HE = (e) => {
15050
15050
  }
15051
15051
  }, t[48] = nt, t[49] = he, t[50] = k, t[51] = rt) : rt = t[51];
15052
15052
  let it = ts(rt), at = he === "multi" || he === "single", ot = g && !!de, st;
15053
- t[52] === Symbol.for("react.memo_cache_sentinel") ? (st = fo(), t[52] = st) : st = t[52];
15053
+ t[52] === Symbol.for("react.memo_cache_sentinel") ? (st = bo(), t[52] = st) : st = t[52];
15054
15054
  let ct = st, lt;
15055
15055
  t[53] === Symbol.for("react.memo_cache_sentinel") ? (lt = ss(), t[53] = lt) : lt = t[53];
15056
15056
  let ut = lt, dt;
@@ -15237,14 +15237,14 @@ function XE(e) {
15237
15237
  //#region src/plugins/impl/DatePickerPlugin.tsx
15238
15238
  var ZE = class {
15239
15239
  tagName = "marimo-date";
15240
- validator = W({
15240
+ validator = G({
15241
15241
  initialValue: U(),
15242
15242
  label: U().nullable(),
15243
15243
  start: U(),
15244
15244
  stop: U(),
15245
15245
  step: U().optional(),
15246
- fullWidth: H().default(!1),
15247
- disabled: H().optional()
15246
+ fullWidth: K().default(!1),
15247
+ disabled: K().optional()
15248
15248
  });
15249
15249
  render(e) {
15250
15250
  return /* @__PURE__ */ (0, Y.jsx)(QE, {
@@ -15287,14 +15287,14 @@ var ZE = class {
15287
15287
  }), t[16] = n, t[17] = e.fullWidth, t[18] = e.label, t[19] = f, t[20] = p) : p = t[20], p;
15288
15288
  }, $E = class {
15289
15289
  tagName = "marimo-date-range";
15290
- validator = W({
15291
- initialValue: $a([U(), U()]),
15290
+ validator = G({
15291
+ initialValue: so([U(), U()]),
15292
15292
  label: U().nullable(),
15293
15293
  start: U(),
15294
15294
  stop: U(),
15295
15295
  step: U().optional(),
15296
- fullWidth: H().default(!1),
15297
- disabled: H().optional()
15296
+ fullWidth: K().default(!1),
15297
+ disabled: K().optional()
15298
15298
  });
15299
15299
  render(e) {
15300
15300
  return /* @__PURE__ */ (0, Y.jsx)(eD, {
@@ -15343,19 +15343,19 @@ var ZE = class {
15343
15343
  }), t[21] = n, t[22] = e.fullWidth, t[23] = e.label, t[24] = m, t[25] = h) : h = t[25], h;
15344
15344
  }, tD = class {
15345
15345
  tagName = "marimo-datetime";
15346
- validator = W({
15346
+ validator = G({
15347
15347
  initialValue: U(),
15348
15348
  label: U().nullable(),
15349
15349
  start: U(),
15350
15350
  stop: U(),
15351
15351
  step: U().optional(),
15352
- precision: Fo([
15352
+ precision: Vo([
15353
15353
  "hour",
15354
15354
  "minute",
15355
15355
  "second"
15356
15356
  ]).default("minute"),
15357
- fullWidth: H().default(!1),
15358
- disabled: H().optional()
15357
+ fullWidth: K().default(!1),
15358
+ disabled: K().optional()
15359
15359
  });
15360
15360
  render(e) {
15361
15361
  return /* @__PURE__ */ (0, Y.jsx)(nD, {
@@ -15397,9 +15397,9 @@ var ZE = class {
15397
15397
  }), t[17] = n, t[18] = e.fullWidth, t[19] = e.label, t[20] = m, t[21] = h) : h = t[21], h;
15398
15398
  }, rD = class {
15399
15399
  tagName = "marimo-dict";
15400
- validator = W({
15400
+ validator = G({
15401
15401
  label: U().nullable(),
15402
- elementIds: ro(U(), U())
15402
+ elementIds: to(U(), U())
15403
15403
  });
15404
15404
  render(e) {
15405
15405
  return /* @__PURE__ */ (0, Y.jsx)(iD, {
@@ -15465,14 +15465,14 @@ function oD(e) {
15465
15465
  //#region src/plugins/impl/DropdownPlugin.tsx
15466
15466
  var sD = class {
15467
15467
  tagName = "marimo-dropdown";
15468
- validator = W({
15469
- initialValue: G(U()),
15468
+ validator = G({
15469
+ initialValue: H(U()),
15470
15470
  label: U().nullable(),
15471
- options: G(U()),
15472
- allowSelectNone: H(),
15473
- fullWidth: H().default(!1),
15474
- searchable: H().default(!1),
15475
- disabled: H().default(!1)
15471
+ options: H(U()),
15472
+ allowSelectNone: K(),
15473
+ fullWidth: K().default(!1),
15474
+ searchable: K().default(!1),
15475
+ disabled: K().default(!1)
15476
15476
  });
15477
15477
  render(e) {
15478
15478
  if (e.data.searchable) {
@@ -15529,7 +15529,7 @@ var sD = class {
15529
15529
  fullWidth: s,
15530
15530
  children: _
15531
15531
  }), t[20] = s, t[21] = u, t[22] = n, t[23] = _, t[24] = v) : v = t[24], v;
15532
- }, uD = J.lazy(() => import("./ConnectedDataExplorerComponent-CNSxdKyJ.js")), dD = wS("marimo-data-explorer").withData(W({
15532
+ }, uD = J.lazy(() => import("./ConnectedDataExplorerComponent-7EaP9VWb.js")), dD = wS("marimo-data-explorer").withData(G({
15533
15533
  label: U().nullish(),
15534
15534
  data: U()
15535
15535
  })).renderer((e) => /* @__PURE__ */ (0, Y.jsx)(uD, {
@@ -15541,7 +15541,7 @@ var sD = class {
15541
15541
  too_many_values: !1
15542
15542
  })), hD = (e) => {
15543
15543
  let t = (0, X.c)(4), { type: n } = e, r;
15544
- t[0] === n ? r = t[1] : (r = () => n.startsWith("int") || n.startsWith("float") || n.startsWith("uint") || n.startsWith("number") || n.startsWith("complex") ? /* @__PURE__ */ (0, Y.jsx)(ku, { size: 14 }) : n.startsWith("object") || n.startsWith("string") ? /* @__PURE__ */ (0, Y.jsx)(ju, { size: 14 }) : n.startsWith("date") || n.startsWith("time") ? /* @__PURE__ */ (0, Y.jsx)(oi, { size: 14 }) : n.startsWith("bool") ? /* @__PURE__ */ (0, Y.jsx)(li, { size: 14 }) : /* @__PURE__ */ (0, Y.jsx)(ot, { size: 14 }), t[0] = n, t[1] = r);
15544
+ t[0] === n ? r = t[1] : (r = () => n.startsWith("int") || n.startsWith("float") || n.startsWith("uint") || n.startsWith("number") || n.startsWith("complex") ? /* @__PURE__ */ (0, Y.jsx)(ku, { size: 14 }) : n.startsWith("object") || n.startsWith("string") ? /* @__PURE__ */ (0, Y.jsx)(ju, { size: 14 }) : n.startsWith("date") || n.startsWith("time") ? /* @__PURE__ */ (0, Y.jsx)(oi, { size: 14 }) : n.startsWith("bool") ? /* @__PURE__ */ (0, Y.jsx)(li, { size: 14 }) : /* @__PURE__ */ (0, Y.jsx)(Qe, { size: 14 }), t[0] = n, t[1] = r);
15545
15545
  let i = r, a;
15546
15546
  return t[2] === i ? a = t[3] : (a = /* @__PURE__ */ (0, Y.jsx)("div", {
15547
15547
  className: "border p-px border-border bg-(--slate-2) flex items-center justify-center rounded",
@@ -15604,8 +15604,8 @@ var sD = class {
15604
15604
  }
15605
15605
  }), _D = () => ({
15606
15606
  isMatch: (e) => {
15607
- if (e instanceof jo) {
15608
- let t = e.element, n = t instanceof xo ? t.description : "", { special: r } = fh.parse(n || "");
15607
+ if (e instanceof Mo) {
15608
+ let t = e.element, n = t instanceof mo ? t.description : "", { special: r } = fh.parse(n || "");
15609
15609
  return r === "column_id";
15610
15610
  }
15611
15611
  return !1;
@@ -15654,7 +15654,7 @@ var sD = class {
15654
15654
  }), t[9] = r.control, t[10] = i, t[11] = d, t[12] = f) : f = t[12], f;
15655
15655
  }, yD = () => ({
15656
15656
  isMatch: (e) => {
15657
- if (e instanceof jo) {
15657
+ if (e instanceof Mo) {
15658
15658
  let { special: t } = fh.parse(e.description || "");
15659
15659
  return t === "column_values";
15660
15660
  }
@@ -15707,7 +15707,7 @@ var sD = class {
15707
15707
  }), bD = () => ({
15708
15708
  isMatch: (e) => {
15709
15709
  let { special: t } = fh.parse(e.description || "");
15710
- return t === "column_values" && e instanceof jo;
15710
+ return t === "column_values" && e instanceof Mo;
15711
15711
  },
15712
15712
  Component: ({ schema: e, form: t, path: n }) => {
15713
15713
  let r = J.use(pD), i = J.use(mD), { data: a, isPending: o } = Ms(() => i({ column: r }), [r]), s = a?.values || [];
@@ -15745,7 +15745,7 @@ var sD = class {
15745
15745
  return t[2] === r ? i = t[3] : (i = /* @__PURE__ */ (0, Y.jsx)(Dh, { className: r }), t[2] = r, t[3] = i), i;
15746
15746
  }, SD = () => ({
15747
15747
  isMatch: (e) => {
15748
- if (e instanceof yo) {
15748
+ if (e instanceof xo) {
15749
15749
  let { special: t } = fh.parse(e.description || "");
15750
15750
  return t === "column_filter";
15751
15751
  }
@@ -16019,7 +16019,7 @@ var kD = ({ initialValue: e, columns: t, onChange: n, onInvalidChange: r, getCol
16019
16019
  "to automatically apply transformations."
16020
16020
  ] })]
16021
16021
  }),
16022
- children: /* @__PURE__ */ (0, Y.jsx)(St, { className: "w-3 h-3 text-muted-foreground hover:text-foreground cursor-help" })
16022
+ children: /* @__PURE__ */ (0, Y.jsx)(Ge, { className: "w-3 h-3 text-muted-foreground hover:text-foreground cursor-help" })
16023
16023
  })]
16024
16024
  })
16025
16025
  ]
@@ -16114,7 +16114,7 @@ var kD = ({ initialValue: e, columns: t, onChange: n, onInvalidChange: r, getCol
16114
16114
  }), t[9] = i, t[10] = l, t[11] = u) : u = t[11], u;
16115
16115
  }, MD = {
16116
16116
  aggregate: At,
16117
- column_conversion: tt,
16117
+ column_conversion: mt,
16118
16118
  filter_rows: xr,
16119
16119
  group_by: Gu,
16120
16120
  rename_column: Ia,
@@ -16125,20 +16125,20 @@ var kD = ({ initialValue: e, columns: t, onChange: n, onInvalidChange: r, getCol
16125
16125
  explode_columns: Au,
16126
16126
  expand_dict: Iu,
16127
16127
  unique: Pu,
16128
- pivot: wt
16128
+ pivot: ut
16129
16129
  };
16130
16130
  function ND(e) {
16131
16131
  e.stopPropagation(), window.open("https://github.com/marimo-team/marimo/issues/new?title=New%20dataframe%20transform:&labels=enhancement&template=feature_request.yaml", "_blank");
16132
16132
  }
16133
16133
  //#endregion
16134
16134
  //#region src/plugins/impl/data-frames/DataFramePlugin.tsx
16135
- var PD = wS("marimo-dataframe").withData(W({
16135
+ var PD = wS("marimo-dataframe").withData(G({
16136
16136
  label: U().nullish(),
16137
- pageSize: K().default(5),
16138
- showDownload: H().default(!0),
16137
+ pageSize: W().default(5),
16138
+ showDownload: K().default(!0),
16139
16139
  dataframeName: U().optional(),
16140
- columns: G($a([
16141
- U().or(K()),
16140
+ columns: H(so([
16141
+ U().or(W()),
16142
16142
  U(),
16143
16143
  U()
16144
16144
  ])).transform((e) => {
@@ -16147,38 +16147,38 @@ var PD = wS("marimo-dataframe").withData(W({
16147
16147
  t.set(e, n);
16148
16148
  }), t;
16149
16149
  }),
16150
- lazy: H().default(!1)
16150
+ lazy: K().default(!1)
16151
16151
  })).withFunctions({
16152
- get_dataframe: HS.input(W({})).output(W({
16152
+ get_dataframe: HS.input(G({})).output(G({
16153
16153
  url: U(),
16154
- total_rows: K(),
16154
+ total_rows: W(),
16155
16155
  row_headers: gC,
16156
16156
  field_types: gC,
16157
- column_types_per_step: G(gC),
16157
+ column_types_per_step: H(gC),
16158
16158
  python_code: U().nullish(),
16159
16159
  sql_code: U().nullish()
16160
16160
  })),
16161
- get_column_values: HS.input(W({ column: U() })).output(W({
16162
- values: G(zo()),
16163
- too_many_values: H()
16161
+ get_column_values: HS.input(G({ column: U() })).output(G({
16162
+ values: H(co()),
16163
+ too_many_values: K()
16164
16164
  })),
16165
- search: HS.input(W({
16166
- sort: G(W({
16165
+ search: HS.input(G({
16166
+ sort: H(G({
16167
16167
  by: U(),
16168
- descending: H()
16168
+ descending: K()
16169
16169
  })).optional(),
16170
16170
  query: U().optional(),
16171
16171
  filters: CC.optional(),
16172
- page_number: K(),
16173
- page_size: K()
16174
- })).output(W({
16175
- data: eo([U(), G(W({}).passthrough())]),
16176
- total_rows: K()
16172
+ page_number: W(),
16173
+ page_size: W()
16174
+ })).output(G({
16175
+ data: Ho([U(), H(G({}).passthrough())]),
16176
+ total_rows: W()
16177
16177
  })),
16178
16178
  download_as: dE,
16179
16179
  download_geojson: fE,
16180
16180
  get_export_metadata: mE,
16181
- get_size_bytes: HS.input(W({})).output(W({ size_bytes: K().nullish() }))
16181
+ get_size_bytes: HS.input(G({})).output(G({ size_bytes: W().nullish() }))
16182
16182
  }).renderer((e) => /* @__PURE__ */ (0, Y.jsx)(UE, { children: /* @__PURE__ */ (0, Y.jsx)(ID, {
16183
16183
  ...e.data,
16184
16184
  ...e.functions,
@@ -16228,7 +16228,7 @@ var PD = wS("marimo-dataframe").withData(W({
16228
16228
  t[20] === A ? ie = t[21] : (ie = A && /* @__PURE__ */ (0, Y.jsxs)(jn, {
16229
16229
  value: "sql-code",
16230
16230
  className: "text-xs py-1",
16231
- children: [/* @__PURE__ */ (0, Y.jsx)(Ze, { className: "w-3 h-3 mr-2" }), "SQL Code"]
16231
+ children: [/* @__PURE__ */ (0, Y.jsx)(Ye, { className: "w-3 h-3 mr-2" }), "SQL Code"]
16232
16232
  }), t[20] = A, t[21] = ie);
16233
16233
  let ae;
16234
16234
  t[22] === Symbol.for("react.memo_cache_sentinel") ? (ae = /* @__PURE__ */ (0, Y.jsx)("div", { className: "grow" }), t[22] = ae) : ae = t[22];
@@ -16405,12 +16405,12 @@ var BD = {
16405
16405
  python: Lu,
16406
16406
  code: Lu,
16407
16407
  json: Iu,
16408
- text: Je,
16408
+ text: ct,
16409
16409
  image: Ku,
16410
16410
  audio: Ru,
16411
16411
  video: zu,
16412
16412
  data: Bu,
16413
- pdf: Je,
16413
+ pdf: ct,
16414
16414
  zip: Vu,
16415
16415
  unknown: Ea
16416
16416
  };
@@ -16437,22 +16437,22 @@ function VD({ path: e, delimiter: t, initialPath: n, restrictNavigation: r }) {
16437
16437
  }
16438
16438
  //#endregion
16439
16439
  //#region src/plugins/impl/FileBrowserPlugin.tsx
16440
- var HD = wS("marimo-file-browser").withData(W({
16440
+ var HD = wS("marimo-file-browser").withData(G({
16441
16441
  initialPath: U(),
16442
- filetypes: G(U()),
16442
+ filetypes: H(U()),
16443
16443
  selectionMode: U(),
16444
- multiple: H(),
16444
+ multiple: K(),
16445
16445
  label: U().nullable(),
16446
- restrictNavigation: H()
16447
- })).withFunctions({ list_directory: HS.input(W({ path: U() })).output(W({
16448
- files: G(W({
16446
+ restrictNavigation: K()
16447
+ })).withFunctions({ list_directory: HS.input(G({ path: U() })).output(G({
16448
+ files: H(G({
16449
16449
  id: U(),
16450
16450
  path: U(),
16451
16451
  name: U(),
16452
- is_directory: H()
16452
+ is_directory: K()
16453
16453
  })),
16454
- total_count: K(),
16455
- is_truncated: H()
16454
+ total_count: W(),
16455
+ is_truncated: K()
16456
16456
  })) }).renderer((e) => /* @__PURE__ */ (0, Y.jsx)(GD, {
16457
16457
  ...e.data,
16458
16458
  ...e.functions,
@@ -16470,7 +16470,7 @@ function WD(e) {
16470
16470
  let s = !r, l;
16471
16471
  t[2] === s ? l = t[3] : (l = c({ "hidden group-hover:flex group-focus:flex": s }), t[2] = s, t[3] = l);
16472
16472
  let u;
16473
- t[4] !== r || t[5] !== e || t[6] !== i || t[7] !== l ? (u = /* @__PURE__ */ (0, Y.jsx)(je, {
16473
+ t[4] !== r || t[5] !== e || t[6] !== i || t[7] !== l ? (u = /* @__PURE__ */ (0, Y.jsx)(Ie, {
16474
16474
  checked: r,
16475
16475
  "aria-label": e,
16476
16476
  tabIndex: -1,
@@ -16497,7 +16497,7 @@ function WD(e) {
16497
16497
  }), t[18] = a, t[19] = s), s;
16498
16498
  }
16499
16499
  var GD = ({ value: e, setValue: t, initialPath: n, selectionMode: r, multiple: i, label: a, restrictNavigation: o, list_directory: s, host: l }) => {
16500
- let [u, d] = vn(n), [f, p] = (0, J.useState)(!1), [m, h] = (0, J.useState)(!1), [_, v] = (0, J.useState)(0), y = (0, J.useRef)([]), x = (0, J.useRef)(null), S = (0, J.useRef)(!1), C = l.closest(`[${vt}]`)?.getAttribute(vt), { data: w, error: E, isPending: D } = Ms(() => s({ path: u }), [
16500
+ let [u, d] = vn(n), [f, p] = (0, J.useState)(!1), [m, h] = (0, J.useState)(!1), [_, v] = (0, J.useState)(0), y = (0, J.useRef)([]), x = (0, J.useRef)(null), S = (0, J.useRef)(!1), C = l.closest(`[${Te}]`)?.getAttribute(Te), { data: w, error: E, isPending: D } = Ms(() => s({ path: u }), [
16501
16501
  u,
16502
16502
  C,
16503
16503
  s
@@ -16529,7 +16529,7 @@ var GD = ({ value: e, setValue: t, initialPath: n, selectionMode: r, multiple: i
16529
16529
  kind: "danger",
16530
16530
  children: E.message
16531
16531
  });
16532
- let L = _t.guessDeliminator(n).deliminator, R = e.map((e) => /* @__PURE__ */ (0, Y.jsx)("li", { children: e.path }, e.id));
16532
+ let L = Ve.guessDeliminator(n).deliminator, R = e.map((e) => /* @__PURE__ */ (0, Y.jsx)("li", { children: e.path }, e.id));
16533
16533
  function z(e) {
16534
16534
  if (f) return;
16535
16535
  if (p(!0), e === UD) {
@@ -16537,7 +16537,7 @@ var GD = ({ value: e, setValue: t, initialPath: n, selectionMode: r, multiple: i
16537
16537
  p(!1);
16538
16538
  return;
16539
16539
  }
16540
- e = Oe.dirname(u), e === "" && (e = L);
16540
+ e = Me.dirname(u), e === "" && (e = L);
16541
16541
  }
16542
16542
  let t = e.length < n.length;
16543
16543
  if (o && t) {
@@ -16567,7 +16567,7 @@ var GD = ({ value: e, setValue: t, initialPath: n, selectionMode: r, multiple: i
16567
16567
  M.has(n) ? t(e.filter((e) => e.path !== n)) : t(i ? [...e, o] : [o]);
16568
16568
  }
16569
16569
  function ne() {
16570
- t(e.filter((e) => Oe.dirname(e.path) !== u));
16570
+ t(e.filter((e) => Me.dirname(e.path) !== u));
16571
16571
  }
16572
16572
  function re() {
16573
16573
  let n = [];
@@ -16640,7 +16640,7 @@ var GD = ({ value: e, setValue: t, initialPath: n, selectionMode: r, multiple: i
16640
16640
  }), V = ce.toReversed().map((e) => ({
16641
16641
  path: e,
16642
16642
  name: e === se ? se : e.split(L).findLast(Boolean) ?? e
16643
- })), le = r === "all" ? Qe.of("file", "folder") : r === "directory" ? Qe.of("folder") : Qe.of("file");
16643
+ })), le = r === "all" ? nt.of("file", "folder") : r === "directory" ? nt.of("folder") : nt.of("file");
16644
16644
  return /* @__PURE__ */ (0, Y.jsxs)("div", { children: [
16645
16645
  E && /* @__PURE__ */ (0, Y.jsx)(Ko, {
16646
16646
  kind: "danger",
@@ -17999,7 +17999,7 @@ function YD(e, t, n) {
17999
17999
  //#region ../node_modules/.pnpm/file-selector@2.1.2/node_modules/file-selector/dist/es2015/file-selector.js
18000
18000
  var XD = [".DS_Store", "Thumbs.db"];
18001
18001
  function ZD(e) {
18002
- return Po(this, void 0, void 0, function* () {
18002
+ return jo(this, void 0, void 0, function* () {
18003
18003
  return eO(e) && QD(e.dataTransfer) ? rO(e.dataTransfer, e.type) : $D(e) ? tO(e) : Array.isArray(e) && e.every((e) => "getFile" in e && typeof e.getFile == "function") ? nO(e) : [];
18004
18004
  });
18005
18005
  }
@@ -18016,12 +18016,12 @@ function tO(e) {
18016
18016
  return aO(e.target.files).map((e) => qD(e));
18017
18017
  }
18018
18018
  function nO(e) {
18019
- return Po(this, void 0, void 0, function* () {
18019
+ return jo(this, void 0, void 0, function* () {
18020
18020
  return (yield Promise.all(e.map((e) => e.getFile()))).map((e) => qD(e));
18021
18021
  });
18022
18022
  }
18023
18023
  function rO(e, t) {
18024
- return Po(this, void 0, void 0, function* () {
18024
+ return jo(this, void 0, void 0, function* () {
18025
18025
  if (e.items) {
18026
18026
  let n = aO(e.items).filter((e) => e.kind === "file");
18027
18027
  return t === "drop" ? iO(sO(yield Promise.all(n.map(oO)))) : n;
@@ -18050,7 +18050,7 @@ function sO(e) {
18050
18050
  return e.reduce((e, t) => [...e, ...Array.isArray(t) ? sO(t) : [t]], []);
18051
18051
  }
18052
18052
  function cO(e, t) {
18053
- return Po(this, void 0, void 0, function* () {
18053
+ return jo(this, void 0, void 0, function* () {
18054
18054
  if (globalThis.isSecureContext && typeof e.getAsFileSystemHandle == "function") {
18055
18055
  let t = yield e.getAsFileSystemHandle();
18056
18056
  if (t === null) throw Error(`${e} is not a File`);
@@ -18065,7 +18065,7 @@ function cO(e, t) {
18065
18065
  });
18066
18066
  }
18067
18067
  function lO(e) {
18068
- return Po(this, void 0, void 0, function* () {
18068
+ return jo(this, void 0, void 0, function* () {
18069
18069
  return e.isDirectory ? uO(e) : dO(e);
18070
18070
  });
18071
18071
  }
@@ -18074,7 +18074,7 @@ function uO(e) {
18074
18074
  return new Promise((e, n) => {
18075
18075
  let r = [];
18076
18076
  function i() {
18077
- t.readEntries((t) => Po(this, void 0, void 0, function* () {
18077
+ t.readEntries((t) => jo(this, void 0, void 0, function* () {
18078
18078
  if (t.length) {
18079
18079
  let e = Promise.all(t.map(lO));
18080
18080
  r.push(e), i();
@@ -18091,7 +18091,7 @@ function uO(e) {
18091
18091
  });
18092
18092
  }
18093
18093
  function dO(e) {
18094
- return Po(this, void 0, void 0, function* () {
18094
+ return jo(this, void 0, void 0, function* () {
18095
18095
  return new Promise((t, n) => {
18096
18096
  e.file((n) => {
18097
18097
  t(qD(n, e.fullPath));
@@ -18792,12 +18792,12 @@ function Ek() {}
18792
18792
  //#region src/plugins/impl/FileUploadPlugin.tsx
18793
18793
  var Dk = class {
18794
18794
  tagName = "marimo-file";
18795
- validator = W({
18796
- filetypes: G(U()),
18797
- multiple: H(),
18798
- kind: Fo(["button", "area"]),
18795
+ validator = G({
18796
+ filetypes: H(U()),
18797
+ multiple: K(),
18798
+ kind: Vo(["button", "area"]),
18799
18799
  label: U().nullable(),
18800
- max_size: K()
18800
+ max_size: W()
18801
18801
  });
18802
18802
  render(e) {
18803
18803
  return /* @__PURE__ */ (0, Y.jsx)(kk, {
@@ -19058,20 +19058,20 @@ function Fk(e) {
19058
19058
  }
19059
19059
  //#endregion
19060
19060
  //#region src/plugins/impl/FormPlugin.tsx
19061
- var Ik = wS("marimo-form").withData(W({
19061
+ var Ik = wS("marimo-form").withData(G({
19062
19062
  label: U().nullable(),
19063
19063
  elementId: U().transform((e) => e),
19064
- bordered: H().default(!0),
19065
- loading: H().default(!1),
19064
+ bordered: K().default(!0),
19065
+ loading: K().default(!1),
19066
19066
  submitButtonLabel: U().default("Submit"),
19067
19067
  submitButtonTooltip: U().optional(),
19068
- submitButtonDisabled: H().default(!1),
19069
- clearOnSubmit: H().default(!1),
19070
- showClearButton: H().default(!1),
19068
+ submitButtonDisabled: K().default(!1),
19069
+ clearOnSubmit: K().default(!1),
19070
+ showClearButton: K().default(!1),
19071
19071
  clearButtonLabel: U().default("Clear"),
19072
19072
  clearButtonTooltip: U().optional(),
19073
- shouldValidate: H().optional()
19074
- })).withFunctions({ validate: HS.input(W({ value: ao() })).output(U().nullish()) }).renderer(({ data: e, functions: t, ...n }) => /* @__PURE__ */ (0, Y.jsx)(Rk, {
19073
+ shouldValidate: K().optional()
19074
+ })).withFunctions({ validate: HS.input(G({ value: Ja() })).output(U().nullish()) }).renderer(({ data: e, functions: t, ...n }) => /* @__PURE__ */ (0, Y.jsx)(Rk, {
19075
19075
  ...e,
19076
19076
  ...n,
19077
19077
  ...t
@@ -19206,19 +19206,19 @@ function Bk(e) {
19206
19206
  var Vk = ".marimo td.bracket-l:before{border-left:2px solid var(--foreground);content:\"\";pointer-events:none;width:0;position:absolute;top:0;bottom:0;left:-4px}.marimo td.bracket-l.bracket-t:before{border-top:2px solid var(--foreground);width:8px;top:-1px}.marimo td.bracket-l.bracket-b:before{border-bottom:2px solid var(--foreground);width:8px;bottom:-1px}.marimo td.bracket-r:after{border-right:2px solid var(--foreground);content:\"\";pointer-events:none;width:0;position:absolute;top:0;bottom:0;right:-4px}.marimo td.bracket-r.bracket-t:after{border-top:2px solid var(--foreground);width:8px;top:-1px}.marimo td.bracket-r.bracket-b:after{border-bottom:2px solid var(--foreground);width:8px;bottom:-1px}", Hk = class {
19207
19207
  tagName = "marimo-matrix";
19208
19208
  cssStyles = [Vk];
19209
- validator = W({
19210
- initialValue: G(G(K())),
19209
+ validator = G({
19210
+ initialValue: H(H(W())),
19211
19211
  label: U().nullable(),
19212
- minValue: G(G(K())).nullish(),
19213
- maxValue: G(G(K())).nullish(),
19214
- step: G(G(K())),
19215
- precision: K(),
19216
- rowLabels: G(U()).nullish(),
19217
- columnLabels: G(U()).nullish(),
19218
- symmetric: H(),
19219
- debounce: H().default(!1),
19220
- scientific: H(),
19221
- disabled: G(G(H()))
19212
+ minValue: H(H(W())).nullish(),
19213
+ maxValue: H(H(W())).nullish(),
19214
+ step: H(H(W())),
19215
+ precision: W(),
19216
+ rowLabels: H(U()).nullish(),
19217
+ columnLabels: H(U()).nullish(),
19218
+ symmetric: K(),
19219
+ debounce: K().default(!1),
19220
+ scientific: K(),
19221
+ disabled: H(H(K()))
19222
19222
  });
19223
19223
  render(e) {
19224
19224
  return /* @__PURE__ */ (0, Y.jsx)(Jk, {
@@ -19560,7 +19560,7 @@ function rA(e) {
19560
19560
  //#region src/plugins/impl/MicrophonePlugin.tsx
19561
19561
  var iA = class {
19562
19562
  tagName = "marimo-microphone";
19563
- validator = W({ label: U().nullish() });
19563
+ validator = G({ label: U().nullish() });
19564
19564
  render(e) {
19565
19565
  return /* @__PURE__ */ (0, Y.jsx)(aA, { ...e });
19566
19566
  }
@@ -20035,24 +20035,24 @@ var _A = class {
20035
20035
  };
20036
20036
  }, vA = class {
20037
20037
  tagName = "marimo-matplotlib";
20038
- validator = W({
20038
+ validator = G({
20039
20039
  chartBase64: U(),
20040
- xBounds: $a([K(), K()]),
20041
- yBounds: $a([K(), K()]),
20042
- axesPixelBounds: $a([
20043
- K(),
20044
- K(),
20045
- K(),
20046
- K()
20040
+ xBounds: so([W(), W()]),
20041
+ yBounds: so([W(), W()]),
20042
+ axesPixelBounds: so([
20043
+ W(),
20044
+ W(),
20045
+ W(),
20046
+ W()
20047
20047
  ]),
20048
- width: K(),
20049
- height: K(),
20048
+ width: W(),
20049
+ height: W(),
20050
20050
  selectionColor: U().default("#3b82f6"),
20051
- selectionOpacity: K().default(.15),
20052
- strokeWidth: K().default(2),
20053
- debounce: H(),
20054
- xScale: Fo(["linear", "log"]).default("linear"),
20055
- yScale: Fo(["linear", "log"]).default("linear")
20051
+ selectionOpacity: W().default(.15),
20052
+ strokeWidth: W().default(2),
20053
+ debounce: K(),
20054
+ xScale: Vo(["linear", "log"]).default("linear"),
20055
+ yScale: Vo(["linear", "log"]).default("linear")
20056
20056
  });
20057
20057
  render(e) {
20058
20058
  return /* @__PURE__ */ (0, Y.jsx)(yA, {
@@ -20101,12 +20101,12 @@ var _A = class {
20101
20101
  close() {
20102
20102
  this.readyState = WebSocket.CLOSED, this.onclose?.();
20103
20103
  }
20104
- }, xA = "mpl-interactive-figure", SA = wS("marimo-mpl-interactive").withData(W({
20104
+ }, xA = "mpl-interactive-figure", SA = wS("marimo-mpl-interactive").withData(G({
20105
20105
  mplJsUrl: U(),
20106
20106
  cssUrl: U(),
20107
- toolbarImages: ro(U(), U()),
20108
- width: K(),
20109
- height: K()
20107
+ toolbarImages: to(U(), U()),
20108
+ width: W(),
20109
+ height: W()
20110
20110
  })).withFunctions({}).renderer((e) => /* @__PURE__ */ (0, Y.jsx)(DA, { ...e })), CA = null;
20111
20111
  async function wA(e) {
20112
20112
  if (!window.mpl) {
@@ -20233,15 +20233,15 @@ var DA = (e) => {
20233
20233
  });
20234
20234
  }, OA = class {
20235
20235
  tagName = "marimo-number";
20236
- validator = W({
20237
- initialValue: K().nullish(),
20236
+ validator = G({
20237
+ initialValue: W().nullish(),
20238
20238
  label: U().nullable(),
20239
- start: K().nullish(),
20240
- stop: K().nullish(),
20241
- step: K().optional(),
20242
- debounce: H().default(!1),
20243
- fullWidth: H().default(!1),
20244
- disabled: H().optional()
20239
+ start: W().nullish(),
20240
+ stop: W().nullish(),
20241
+ step: W().optional(),
20242
+ debounce: K().default(!1),
20243
+ fullWidth: K().default(!1),
20244
+ disabled: K().optional()
20245
20245
  });
20246
20246
  render(e) {
20247
20247
  return /* @__PURE__ */ (0, Y.jsx)(kA, {
@@ -20300,7 +20300,7 @@ function AA(e) {
20300
20300
  }
20301
20301
  //#endregion
20302
20302
  //#region src/plugins/impl/panel/utils.ts
20303
- var jA = W({ content: eo([W({ type: Ya("ACK") }), U()]).nullable() });
20303
+ var jA = G({ content: Ho([G({ type: Eo("ACK") }), U()]).nullable() });
20304
20304
  function MA(e, t) {
20305
20305
  if (Array.isArray(e)) return e.map((e) => MA(e, t));
20306
20306
  if (e instanceof Map) {
@@ -20349,14 +20349,14 @@ var NA = class {
20349
20349
  let e = this.buffer;
20350
20350
  return this.buffer = [], e;
20351
20351
  }
20352
- }, PA = wS("marimo-panel").withData(W({
20352
+ }, PA = wS("marimo-panel").withData(G({
20353
20353
  extensionUrl: U().nullable(),
20354
- docs_json: ro(U(), ao()),
20355
- render_json: W({ roots: ro(U(), U()) }).catchall(ao())
20356
- })).withFunctions({ send_to_widget: HS.input(W({
20357
- message: ao(),
20358
- buffers: G(U())
20359
- })).output(go().optional()) }).renderer((e) => /* @__PURE__ */ (0, Y.jsx)(LA, { ...e }));
20354
+ docs_json: to(U(), Ja()),
20355
+ render_json: G({ roots: to(U(), U()) }).catchall(Ja())
20356
+ })).withFunctions({ send_to_widget: HS.input(G({
20357
+ message: Ja(),
20358
+ buffers: H(U())
20359
+ })).output(zo().optional()) }).renderer((e) => /* @__PURE__ */ (0, Y.jsx)(LA, { ...e }));
20360
20360
  function FA() {
20361
20361
  return window.Bokeh != null;
20362
20362
  }
@@ -20767,9 +20767,9 @@ function bj(e) {
20767
20767
  //#region src/plugins/impl/plotly/PlotlyPlugin.tsx
20768
20768
  var xj = class {
20769
20769
  tagName = "marimo-plotly";
20770
- validator = W({
20771
- figure: W({}).passthrough().transform((e) => e),
20772
- config: W({}).passthrough()
20770
+ validator = G({
20771
+ figure: G({}).passthrough().transform((e) => e),
20772
+ config: G({}).passthrough()
20773
20773
  });
20774
20774
  render(e) {
20775
20775
  return /* @__PURE__ */ (0, Y.jsx)(Cj, {
@@ -20914,12 +20914,12 @@ function Ej(e) {
20914
20914
  //#region src/plugins/impl/RadioPlugin.tsx
20915
20915
  var Dj = class {
20916
20916
  tagName = "marimo-radio";
20917
- validator = W({
20917
+ validator = G({
20918
20918
  initialValue: U().nullable(),
20919
- inline: H().default(!1),
20919
+ inline: K().default(!1),
20920
20920
  label: U().nullable(),
20921
- options: G(U()),
20922
- disabled: H().optional()
20921
+ options: H(U()),
20922
+ disabled: K().optional()
20923
20923
  });
20924
20924
  render(e) {
20925
20925
  return /* @__PURE__ */ (0, Y.jsx)(Oj, {
@@ -21080,18 +21080,18 @@ kj.displayName = Ef.displayName;
21080
21080
  //#region src/plugins/impl/RangeSliderPlugin.tsx
21081
21081
  var Aj = class {
21082
21082
  tagName = "marimo-range-slider";
21083
- validator = W({
21084
- initialValue: G(K()),
21083
+ validator = G({
21084
+ initialValue: H(W()),
21085
21085
  label: U().nullable(),
21086
- start: K(),
21087
- stop: K(),
21088
- step: K().optional(),
21089
- steps: G(K()).nullable(),
21090
- debounce: H().default(!1),
21091
- orientation: Fo(["horizontal", "vertical"]).default("horizontal"),
21092
- showValue: H().default(!1),
21093
- fullWidth: H().default(!1),
21094
- disabled: H().optional()
21086
+ start: W(),
21087
+ stop: W(),
21088
+ step: W().optional(),
21089
+ steps: H(W()).nullable(),
21090
+ debounce: K().default(!1),
21091
+ orientation: Vo(["horizontal", "vertical"]).default("horizontal"),
21092
+ showValue: K().default(!1),
21093
+ fullWidth: K().default(!1),
21094
+ disabled: K().optional()
21095
21095
  });
21096
21096
  render(e) {
21097
21097
  let t = (t) => e.data.steps && e.data.steps.length > 0 ? e.data.steps[t] : t;
@@ -21265,9 +21265,9 @@ var Aj = class {
21265
21265
  }
21266
21266
  }), Fj = class {
21267
21267
  tagName = "marimo-refresh";
21268
- validator = W({
21269
- options: G(eo([Pj, K().min(Nj)])).default([]),
21270
- defaultInterval: eo([Pj, K().min(Nj)]).optional(),
21268
+ validator = G({
21269
+ options: H(Ho([Pj, W().min(Nj)])).default([]),
21270
+ defaultInterval: Ho([Pj, W().min(Nj)]).optional(),
21271
21271
  label: U().nullable()
21272
21272
  });
21273
21273
  render(e) {
@@ -21319,19 +21319,19 @@ var Aj = class {
21319
21319
  });
21320
21320
  }, zj = class {
21321
21321
  tagName = "marimo-slider";
21322
- validator = W({
21323
- initialValue: K(),
21322
+ validator = G({
21323
+ initialValue: W(),
21324
21324
  label: U().nullable(),
21325
- start: K(),
21326
- stop: K(),
21327
- step: K().optional(),
21328
- steps: G(K()).nullable(),
21329
- debounce: H().default(!1),
21330
- orientation: Fo(["horizontal", "vertical"]).default("horizontal"),
21331
- showValue: H().default(!1),
21332
- fullWidth: H().default(!1),
21333
- includeInput: H().default(!1),
21334
- disabled: H().optional()
21325
+ start: W(),
21326
+ stop: W(),
21327
+ step: W().optional(),
21328
+ steps: H(W()).nullable(),
21329
+ debounce: K().default(!1),
21330
+ orientation: Vo(["horizontal", "vertical"]).default("horizontal"),
21331
+ showValue: K().default(!1),
21332
+ fullWidth: K().default(!1),
21333
+ includeInput: K().default(!1),
21334
+ disabled: K().optional()
21335
21335
  });
21336
21336
  render(e) {
21337
21337
  let t = (t) => {
@@ -21476,10 +21476,10 @@ var Hj = (e) => {
21476
21476
  }), t[59] = p, t[60] = _, t[61] = n, t[62] = v, t[63] = ie, t[64] = A, t[65] = M, t[66] = ae) : ae = t[66], ae;
21477
21477
  }, Uj = class {
21478
21478
  tagName = "marimo-switch";
21479
- validator = W({
21480
- initialValue: H(),
21479
+ validator = G({
21480
+ initialValue: K(),
21481
21481
  label: U().nullable(),
21482
- disabled: H().optional()
21482
+ disabled: K().optional()
21483
21483
  });
21484
21484
  render(e) {
21485
21485
  return /* @__PURE__ */ (0, Y.jsx)(Wj, { ...e });
@@ -21504,10 +21504,10 @@ var Hj = (e) => {
21504
21504
  }), t[5] = i.label, t[6] = a, t[7] = o, t[8] = s) : s = t[8], s;
21505
21505
  }, Gj = class {
21506
21506
  tagName = "marimo-tabs";
21507
- validator = W({
21508
- tabs: G(U()),
21507
+ validator = G({
21508
+ tabs: H(U()),
21509
21509
  label: U().nullable(),
21510
- orientation: Fo(["horizontal", "vertical"]).default("horizontal")
21510
+ orientation: Vo(["horizontal", "vertical"]).default("horizontal")
21511
21511
  });
21512
21512
  render(e) {
21513
21513
  return /* @__PURE__ */ (0, Y.jsx)(Kj, {
@@ -21579,16 +21579,16 @@ function qj(e, t) {
21579
21579
  //#region src/plugins/impl/TextAreaPlugin.tsx
21580
21580
  var Jj = class {
21581
21581
  tagName = "marimo-text-area";
21582
- validator = W({
21582
+ validator = G({
21583
21583
  initialValue: U(),
21584
21584
  placeholder: U(),
21585
21585
  label: U().nullable(),
21586
- maxLength: K().optional(),
21587
- minLength: K().optional(),
21588
- disabled: H().optional(),
21589
- debounce: to(eo([H(), K()])),
21590
- rows: K().default(4),
21591
- fullWidth: H().default(!1)
21586
+ maxLength: W().optional(),
21587
+ minLength: W().optional(),
21588
+ disabled: K().optional(),
21589
+ debounce: Qa(Ho([K(), W()])),
21590
+ rows: W().default(4),
21591
+ fullWidth: K().default(!1)
21592
21592
  });
21593
21593
  render(e) {
21594
21594
  return /* @__PURE__ */ (0, Y.jsx)(Yj, {
@@ -21692,25 +21692,25 @@ var Jj = class {
21692
21692
  }), t[58] = e.fullWidth, t[59] = e.label, t[60] = d, t[61] = n, t[62] = f) : f = t[62], f;
21693
21693
  }, Xj = "••••••••", Zj = class {
21694
21694
  tagName = "marimo-text";
21695
- validator = W({
21695
+ validator = G({
21696
21696
  initialValue: U(),
21697
21697
  placeholder: U(),
21698
21698
  label: U().nullable(),
21699
- kind: Fo([
21699
+ kind: Vo([
21700
21700
  "text",
21701
21701
  "password",
21702
21702
  "email",
21703
21703
  "url"
21704
21704
  ]).default("text"),
21705
- maxLength: K().optional(),
21706
- minLength: K().optional(),
21707
- fullWidth: H().default(!1),
21708
- disabled: H().optional(),
21709
- debounce: to(eo([H(), K()])),
21710
- passwordHasValue: H().optional()
21705
+ maxLength: W().optional(),
21706
+ minLength: W().optional(),
21707
+ fullWidth: K().default(!1),
21708
+ disabled: K().optional(),
21709
+ debounce: Qa(Ho([K(), W()])),
21710
+ passwordHasValue: K().optional()
21711
21711
  });
21712
21712
  render(e) {
21713
- let t = e.data.kind === "password" ? e.host.closest(`[${vt}]`)?.getAttribute(vt) : void 0;
21713
+ let t = e.data.kind === "password" ? e.host.closest(`[${Te}]`)?.getAttribute(Te) : void 0;
21714
21714
  return /* @__PURE__ */ (0, Y.jsx)(Qj, {
21715
21715
  ...e.data,
21716
21716
  value: e.value,
@@ -21832,17 +21832,17 @@ function $j(e, t) {
21832
21832
  }
21833
21833
  //#endregion
21834
21834
  //#region src/plugins/impl/vega/VegaPlugin.tsx
21835
- var eM = J.lazy(() => import("./vega-component-DG29TAB7.js")), tM = class {
21835
+ var eM = J.lazy(() => import("./vega-component-1lFfDE_8.js")), tM = class {
21836
21836
  tagName = "marimo-vega";
21837
- validator = W({
21838
- spec: W({}).passthrough().transform((e) => e),
21839
- chartSelection: eo([
21840
- H(),
21841
- Ya("point"),
21842
- Ya("interval")
21837
+ validator = G({
21838
+ spec: G({}).passthrough().transform((e) => e),
21839
+ chartSelection: Ho([
21840
+ K(),
21841
+ Eo("point"),
21842
+ Eo("interval")
21843
21843
  ]).default(!0),
21844
- fieldSelection: eo([H(), G(U())]).default(!0),
21845
- embedOptions: W({}).passthrough().default({})
21844
+ fieldSelection: Ho([K(), H(U())]).default(!0),
21845
+ embedOptions: G({}).passthrough().default({})
21846
21846
  });
21847
21847
  render(e) {
21848
21848
  return /* @__PURE__ */ (0, Y.jsx)(eM, {
@@ -21853,10 +21853,10 @@ var eM = J.lazy(() => import("./vega-component-DG29TAB7.js")), tM = class {
21853
21853
  }
21854
21854
  }, nM = class {
21855
21855
  tagName = "marimo-accordion";
21856
- validator = W({
21857
- labels: G(U()),
21858
- multiple: H(),
21859
- expanded: G(U()).default([])
21856
+ validator = G({
21857
+ labels: H(U()),
21858
+ multiple: K(),
21859
+ expanded: H(U()).default([])
21860
21860
  });
21861
21861
  render(e) {
21862
21862
  return /* @__PURE__ */ (0, Y.jsx)(rM, {
@@ -21925,7 +21925,7 @@ aM.displayName = "CalloutOutput";
21925
21925
  //#region src/plugins/layout/CalloutPlugin.tsx
21926
21926
  var oM = class {
21927
21927
  tagName = "marimo-callout-output";
21928
- validator = W({
21928
+ validator = G({
21929
21929
  html: U(),
21930
21930
  kind: PS,
21931
21931
  title: U().optional()
@@ -21939,9 +21939,9 @@ var oM = class {
21939
21939
  }
21940
21940
  }, sM = ".marimo{--swiper-navigation-size:44px}.marimo .swiper-button-next,.marimo .swiper-button-prev{color:var(--swiper-navigation-color,var(--swiper-theme-color));cursor:pointer;height:var(--swiper-navigation-size);width:var(--swiper-navigation-size);z-index:10;justify-content:center;align-items:center;display:flex;position:absolute}.marimo :is(.marimo .swiper-button-next,.marimo .swiper-button-prev).swiper-button-disabled{cursor:auto;opacity:.35;pointer-events:none}.marimo :is(.marimo .swiper-button-next,.marimo .swiper-button-prev).swiper-button-hidden{cursor:auto;opacity:0;pointer-events:none}.marimo .swiper-navigation-disabled :is(.marimo .swiper-button-next,.marimo .swiper-button-prev){display:none!important}:is(.marimo .swiper-button-next,.marimo .swiper-button-prev) .marimo ::slotted(svg),:is(.marimo .swiper-button-next,.marimo .swiper-button-prev) .marimo svg{object-fit:contain;transform-origin:50%;fill:currentColor;pointer-events:none;width:100%;height:100%}.marimo .swiper-button-lock{display:none}.marimo .swiper-button-next,.marimo .swiper-button-prev{margin-top:calc(0px - var(--swiper-navigation-size)/2);top:var(--swiper-navigation-top-offset,50%)}.marimo .swiper-button-prev{left:var(--swiper-navigation-sides-offset,4px);right:auto}.marimo .swiper-button-prev .marimo .swiper-navigation-icon,.marimo .swiper-button-prev .marimo ::slotted(.swiper-navigation-icon){transform:rotate(180deg)}.marimo .swiper-button-next{left:auto;right:var(--swiper-navigation-sides-offset,4px)}.marimo .swiper-horizontal .marimo .swiper-button-next,.marimo .swiper-horizontal .marimo .swiper-button-prev,.marimo .swiper-horizontal .marimo~.swiper-button-next,.marimo .swiper-horizontal .marimo~.swiper-button-prev{margin-left:0;margin-top:calc(0px - var(--swiper-navigation-size)/2);top:var(--swiper-navigation-top-offset,50%)}.marimo :is(.marimo .swiper-horizontal).swiper-rtl .swiper-button-next,.marimo :is(.marimo .swiper-horizontal).swiper-rtl~.swiper-button-next,.marimo :is(.marimo .swiper-horizontal)~.swiper-button-prev,.marimo .swiper-horizontal .marimo .swiper-button-prev{left:var(--swiper-navigation-sides-offset,4px);right:auto}.marimo :is(.marimo .swiper-horizontal).swiper-rtl .swiper-button-prev,.marimo :is(.marimo .swiper-horizontal).swiper-rtl~.swiper-button-prev,.marimo :is(.marimo .swiper-horizontal)~.swiper-button-next,.marimo .swiper-horizontal .marimo .swiper-button-next{left:auto;right:var(--swiper-navigation-sides-offset,4px)}:is(.marimo :is(.marimo .swiper-horizontal).swiper-rtl .swiper-button-next,.marimo :is(.marimo .swiper-horizontal).swiper-rtl~.swiper-button-next,.marimo :is(.marimo .swiper-horizontal)~.swiper-button-prev,.marimo .swiper-horizontal .marimo .swiper-button-prev) .marimo .swiper-navigation-icon,:is(.marimo :is(.marimo .swiper-horizontal).swiper-rtl .swiper-button-next,.marimo :is(.marimo .swiper-horizontal).swiper-rtl~.swiper-button-next,.marimo :is(.marimo .swiper-horizontal)~.swiper-button-prev,.marimo .swiper-horizontal .marimo .swiper-button-prev) .marimo ::slotted(.swiper-navigation-icon){transform:rotate(180deg)}:is(.marimo :is(.marimo .swiper-horizontal).swiper-rtl .swiper-button-prev,.marimo :is(.marimo .swiper-horizontal).swiper-rtl~.swiper-button-prev) .marimo .swiper-navigation-icon,:is(.marimo :is(.marimo .swiper-horizontal).swiper-rtl .swiper-button-prev,.marimo :is(.marimo .swiper-horizontal).swiper-rtl~.swiper-button-prev) .marimo ::slotted(.swiper-navigation-icon){transform:rotate(0)}.marimo .swiper-vertical .marimo .swiper-button-next,.marimo .swiper-vertical .marimo .swiper-button-prev,.marimo .swiper-vertical .marimo~.swiper-button-next,.marimo .swiper-vertical .marimo~.swiper-button-prev{left:var(--swiper-navigation-top-offset,50%);margin-left:calc(0px - var(--swiper-navigation-size)/2);margin-top:0;right:auto}.marimo .swiper-vertical .marimo .swiper-button-prev,.marimo .swiper-vertical .marimo~.swiper-button-prev{bottom:auto;top:var(--swiper-navigation-sides-offset,4px)}:is(.marimo .swiper-vertical .marimo .swiper-button-prev,.marimo .swiper-vertical .marimo~.swiper-button-prev) .marimo .swiper-navigation-icon,:is(.marimo .swiper-vertical .marimo .swiper-button-prev,.marimo .swiper-vertical .marimo~.swiper-button-prev) .marimo ::slotted(.swiper-navigation-icon){transform:rotate(-90deg)}.marimo .swiper-vertical .marimo .swiper-button-next,.marimo .swiper-vertical .marimo~.swiper-button-next{bottom:var(--swiper-navigation-sides-offset,4px);top:auto}:is(.marimo .swiper-vertical .marimo .swiper-button-next,.marimo .swiper-vertical .marimo~.swiper-button-next) .marimo .swiper-navigation-icon,:is(.marimo .swiper-vertical .marimo .swiper-button-next,.marimo .swiper-vertical .marimo~.swiper-button-next) .marimo ::slotted(.swiper-navigation-icon){transform:rotate(90deg)}", cM = ".marimo .swiper-pagination{text-align:center;z-index:10;transition:opacity .3s;position:absolute;transform:translateZ(0)}.marimo :is(.marimo .swiper-pagination).swiper-pagination-hidden{opacity:0}.marimo :is(.marimo .swiper-pagination).swiper-pagination-disabled,.marimo .swiper-pagination-disabled>:is(.marimo .swiper-pagination){display:none!important}.marimo .swiper-horizontal>.swiper-pagination-bullets,.marimo .swiper-pagination-bullets.swiper-pagination-horizontal,.marimo .swiper-pagination-custom,.marimo .swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);left:0;top:var(--swiper-pagination-top,auto);width:100%}.marimo .swiper-pagination-bullets-dynamic{font-size:0;overflow:hidden}.marimo .swiper-pagination-bullets-dynamic .marimo .swiper-pagination-bullet{position:relative;transform:scale(.33)}.marimo .swiper-pagination-bullets-dynamic .marimo .swiper-pagination-bullet-active,.marimo .swiper-pagination-bullets-dynamic .marimo .swiper-pagination-bullet-active-main{transform:scale(1)}.marimo .swiper-pagination-bullets-dynamic .marimo .swiper-pagination-bullet-active-prev{transform:scale(.66)}.marimo .swiper-pagination-bullets-dynamic .marimo .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.marimo .swiper-pagination-bullets-dynamic .marimo .swiper-pagination-bullet-active-next{transform:scale(.66)}.marimo .swiper-pagination-bullets-dynamic .marimo .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.marimo .swiper-pagination-bullet{background:var(--swiper-pagination-bullet-inactive-color,#000);border-radius:var(--swiper-pagination-bullet-border-radius,50%);height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));opacity:var(--swiper-pagination-bullet-inactive-opacity,.2);width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));display:inline-block}.marimo button:is(.marimo .swiper-pagination-bullet){appearance:none;box-shadow:none;border:none;margin:0;padding:0}.marimo .swiper-pagination-clickable :is(.marimo .swiper-pagination-bullet){cursor:pointer}.marimo :is(.marimo .swiper-pagination-bullet):only-child{display:none!important}.marimo .swiper-pagination-bullet-active{background:var(--swiper-pagination-color,var(--swiper-theme-color));opacity:var(--swiper-pagination-bullet-opacity,1)}.marimo .swiper-pagination-vertical.swiper-pagination-bullets,.marimo .swiper-vertical>.swiper-pagination-bullets{left:var(--swiper-pagination-left,auto);right:var(--swiper-pagination-right,8px);top:50%;transform:translateY(-50%)}:is(.marimo .swiper-pagination-vertical.swiper-pagination-bullets,.marimo .swiper-vertical>.swiper-pagination-bullets) .marimo .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.marimo :is(.marimo .swiper-pagination-vertical.swiper-pagination-bullets,.marimo .swiper-vertical>.swiper-pagination-bullets).swiper-pagination-bullets-dynamic{width:8px;top:50%;transform:translateY(-50%)}.marimo :is(.marimo .swiper-pagination-vertical.swiper-pagination-bullets,.marimo .swiper-vertical>.swiper-pagination-bullets).swiper-pagination-bullets-dynamic .marimo .swiper-pagination-bullet{transition:transform .2s,top .2s;display:inline-block}:is(.marimo .swiper-horizontal>.swiper-pagination-bullets,.marimo .swiper-pagination-horizontal.swiper-pagination-bullets) .marimo .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.marimo :is(.marimo .swiper-horizontal>.swiper-pagination-bullets,.marimo .swiper-pagination-horizontal.swiper-pagination-bullets).swiper-pagination-bullets-dynamic{white-space:nowrap;left:50%;transform:translate(-50%)}.marimo :is(.marimo .swiper-horizontal>.swiper-pagination-bullets,.marimo .swiper-pagination-horizontal.swiper-pagination-bullets).swiper-pagination-bullets-dynamic .marimo .swiper-pagination-bullet{transition:transform .2s,left .2s}.marimo .swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,right .2s}.marimo .swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.marimo .swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,#00000040);position:absolute}.marimo .swiper-pagination-progressbar .marimo .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));transform-origin:0 0;width:100%;height:100%;position:absolute;top:0;left:0;transform:scale(0)}.marimo .swiper-rtl :is(.marimo .swiper-pagination-progressbar) .swiper-pagination-progressbar-fill{transform-origin:100% 0}.marimo :is(.marimo .swiper-pagination-progressbar).swiper-pagination-horizontal,.marimo :is(.marimo .swiper-pagination-progressbar).swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.marimo .swiper-horizontal>:is(.marimo .swiper-pagination-progressbar),.marimo .swiper-vertical>:is(.marimo .swiper-pagination-progressbar).swiper-pagination-progressbar-opposite{height:var(--swiper-pagination-progressbar-size,4px);width:100%;top:0;left:0}.marimo :is(.marimo .swiper-pagination-progressbar).swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.marimo :is(.marimo .swiper-pagination-progressbar).swiper-pagination-vertical,.marimo .swiper-horizontal>:is(.marimo .swiper-pagination-progressbar).swiper-pagination-progressbar-opposite,.marimo .swiper-vertical>:is(.marimo .swiper-pagination-progressbar){height:100%;width:var(--swiper-pagination-progressbar-size,4px);top:0;left:0}.marimo .swiper-pagination-lock{display:none}", lM = ".marimo .swiper-scrollbar{background:var(--swiper-scrollbar-bg-color,#0000001a);border-radius:var(--swiper-scrollbar-border-radius,10px);touch-action:none;position:relative}.marimo :is(.marimo .swiper-scrollbar).swiper-scrollbar-disabled,.marimo .swiper-scrollbar-disabled>:is(.marimo .swiper-scrollbar){display:none!important}.marimo :is(.marimo .swiper-scrollbar).swiper-scrollbar-horizontal,.marimo .swiper-horizontal>:is(.marimo .swiper-scrollbar){bottom:var(--swiper-scrollbar-bottom,4px);height:var(--swiper-scrollbar-size,4px);left:var(--swiper-scrollbar-sides-offset,1%);top:var(--swiper-scrollbar-top,auto);width:calc(100% - var(--swiper-scrollbar-sides-offset,1%)*2);z-index:50;position:absolute}.marimo :is(.marimo .swiper-scrollbar).swiper-scrollbar-vertical,.marimo .swiper-vertical>:is(.marimo .swiper-scrollbar){height:calc(100% - var(--swiper-scrollbar-sides-offset,1%)*2);left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);width:var(--swiper-scrollbar-size,4px);z-index:50;position:absolute}.marimo .swiper-scrollbar-drag{background:var(--swiper-scrollbar-drag-bg-color,#00000080);border-radius:var(--swiper-scrollbar-border-radius,10px);width:100%;height:100%;position:relative;top:0;left:0}.marimo .swiper-scrollbar-cursor-drag{cursor:move}.marimo .swiper-scrollbar-lock{display:none}", uM = ".marimo .swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.marimo .swiper-virtual.swiper-css-mode .marimo .swiper-wrapper:after{content:\"\";pointer-events:none;position:absolute;top:0;left:0}.marimo .swiper-virtual.swiper-css-mode.swiper-horizontal .marimo .swiper-wrapper:after{height:1px;width:var(--swiper-virtual-size)}.marimo .swiper-virtual.swiper-css-mode.swiper-vertical .marimo .swiper-wrapper:after{height:var(--swiper-virtual-size);width:1px}", dM = ".marimo{--swiper-theme-color:#007aff}.marimo,.marimo .swiper{z-index:1;margin-left:auto;margin-right:auto;display:block;position:relative}.marimo .swiper{padding:0;list-style:none;overflow:hidden}.marimo .swiper-vertical>.swiper-wrapper{flex-direction:column}.marimo .swiper-wrapper{box-sizing:content-box;height:100%;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);z-index:1;width:100%;display:flex;position:relative}.marimo .swiper-android .swiper-slide,.marimo .swiper-ios .swiper-slide,.marimo .swiper-wrapper{transform:translateZ(0)}.marimo .swiper-horizontal{touch-action:pan-y}.marimo .swiper-vertical{touch-action:pan-x}.marimo .swiper-slide{flex-shrink:0;width:100%;height:100%;transition-property:transform;display:block;position:relative}.marimo .swiper-slide-invisible-blank{visibility:hidden}.marimo .swiper-autoheight,.marimo .swiper-autoheight .swiper-slide{height:auto}.marimo .swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.marimo .swiper-backface-hidden .swiper-slide{backface-visibility:hidden;transform:translateZ(0)}.marimo .swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.marimo .swiper-3d .swiper-wrapper{transform-style:preserve-3d}.marimo .swiper-3d{perspective:1200px}.marimo .swiper-3d .marimo .swiper-cube-shadow,.marimo .swiper-3d .marimo .swiper-slide{transform-style:preserve-3d}.marimo .swiper-css-mode .marimo>.swiper-wrapper{scrollbar-width:none;-ms-overflow-style:none;overflow:auto}.marimo :is(.marimo .swiper-css-mode .marimo>.swiper-wrapper)::-webkit-scrollbar{display:none}.marimo .swiper-css-mode .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.marimo :is(.marimo .swiper-css-mode).swiper-horizontal .marimo>.swiper-wrapper{scroll-snap-type:x mandatory}.marimo :is(.marimo .swiper-css-mode).swiper-horizontal .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-slides-offset-before);scroll-margin-inline-start:var(--swiper-slides-offset-before)}.marimo :is(.marimo .swiper-css-mode).swiper-horizontal .marimo>.swiper-wrapper>.swiper-slide:last-child{margin-inline-end:var(--swiper-slides-offset-after)}.marimo :is(.marimo .swiper-css-mode).swiper-vertical .marimo>.swiper-wrapper{scroll-snap-type:y mandatory}.marimo :is(.marimo .swiper-css-mode).swiper-vertical .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-slides-offset-before);scroll-margin-block-start:var(--swiper-slides-offset-before)}.marimo :is(.marimo .swiper-css-mode).swiper-vertical .marimo>.swiper-wrapper>.swiper-slide:last-child{margin-block-end:var(--swiper-slides-offset-after)}.marimo :is(.marimo .swiper-css-mode).swiper-free-mode .marimo>.swiper-wrapper{scroll-snap-type:none}.marimo :is(.marimo .swiper-css-mode).swiper-free-mode .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.marimo :is(.marimo .swiper-css-mode).swiper-centered .marimo>.swiper-wrapper:before{content:\"\";flex-shrink:0;order:9999}.marimo :is(.marimo .swiper-css-mode).swiper-centered .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.marimo :is(.marimo .swiper-css-mode).swiper-centered.swiper-horizontal .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.marimo :is(.marimo .swiper-css-mode).swiper-centered.swiper-horizontal .marimo>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.marimo :is(.marimo .swiper-css-mode).swiper-centered.swiper-vertical .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.marimo :is(.marimo .swiper-css-mode).swiper-centered.swiper-vertical .marimo>.swiper-wrapper:before{height:var(--swiper-centered-offset-after);width:100%;min-width:1px}.marimo .swiper-3d .marimo .swiper-slide-shadow,.marimo .swiper-3d .marimo .swiper-slide-shadow-bottom,.marimo .swiper-3d .marimo .swiper-slide-shadow-left,.marimo .swiper-3d .marimo .swiper-slide-shadow-right,.marimo .swiper-3d .marimo .swiper-slide-shadow-top{pointer-events:none;z-index:10;width:100%;height:100%;position:absolute;top:0;left:0}.marimo .swiper-3d .marimo .swiper-slide-shadow{background:#00000026}.marimo .swiper-3d .marimo .swiper-slide-shadow-left{background-image:linear-gradient(270deg,#00000080,#0000)}.marimo .swiper-3d .marimo .swiper-slide-shadow-right{background-image:linear-gradient(90deg,#00000080,#0000)}.marimo .swiper-3d .marimo .swiper-slide-shadow-top{background-image:linear-gradient(#0000,#00000080)}.marimo .swiper-3d .marimo .swiper-slide-shadow-bottom{background-image:linear-gradient(#00000080,#0000)}.marimo .swiper-lazy-preloader{border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));box-sizing:border-box;transform-origin:50%;z-index:10;border-top:4px solid #0000;border-radius:50%;width:42px;height:42px;margin-top:-21px;margin-left:-21px;position:absolute;top:50%;left:50%}:is(.marimo .swiper-watch-progress .swiper-slide-visible,.marimo .swiper:not(.swiper-watch-progress)) .marimo .swiper-lazy-preloader{animation:1s linear infinite swiper-preloader-spin}.marimo .swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.marimo .swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}", fM = ".marimo .mo-slide-content{justify-content:center;width:100%;min-height:fit-content;display:flex}.marimo .mo-slide-content .marimo .output{max-width:100%;width:unset;margin:auto 0}.marimo .mo-slide-content .marimo>:only-child:has(>.output:only-child,>*>.output:only-child){flex:1}.marimo .mo-slide-content .marimo div:has(>marimo-ui-element>marimo-vega){flex:1;display:block!important}@media (width>=500px){.marimo .mo-slide-content .marimo div:has(>marimo-ui-element>marimo-vega){min-width:350px}}.marimo .mo-slides-notes-resize{background-color:#0000;outline:none;height:4px;transition:background-color .2s linear}.marimo .mo-slides-notes-resize:hover,.marimo .mo-slides-notes-resize[data-resize-handle-active]{background-color:var(--slate-11)}", pM = ".marimo{--swiper-theme-color:#007aff}.marimo,.marimo .swiper{z-index:1;margin-left:auto;margin-right:auto;display:block;position:relative}.marimo .swiper{padding:0;list-style:none;overflow:hidden}.marimo .swiper-vertical>.swiper-wrapper{flex-direction:column}.marimo .swiper-wrapper{box-sizing:content-box;height:100%;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);z-index:1;width:100%;display:flex;position:relative}.marimo .swiper-android .swiper-slide,.marimo .swiper-ios .swiper-slide,.marimo .swiper-wrapper{transform:translateZ(0)}.marimo .swiper-horizontal{touch-action:pan-y}.marimo .swiper-vertical{touch-action:pan-x}.marimo .swiper-slide{flex-shrink:0;width:100%;height:100%;transition-property:transform;display:block;position:relative}.marimo .swiper-slide-invisible-blank{visibility:hidden}.marimo .swiper-autoheight,.marimo .swiper-autoheight .swiper-slide{height:auto}.marimo .swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.marimo .swiper-backface-hidden .swiper-slide{backface-visibility:hidden;transform:translateZ(0)}.marimo .swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.marimo .swiper-3d .swiper-wrapper{transform-style:preserve-3d}.marimo .swiper-3d{perspective:1200px}.marimo .swiper-3d .marimo .swiper-cube-shadow,.marimo .swiper-3d .marimo .swiper-slide{transform-style:preserve-3d}.marimo .swiper-css-mode .marimo>.swiper-wrapper{scrollbar-width:none;-ms-overflow-style:none;overflow:auto}.marimo :is(.marimo .swiper-css-mode .marimo>.swiper-wrapper)::-webkit-scrollbar{display:none}.marimo .swiper-css-mode .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.marimo :is(.marimo .swiper-css-mode).swiper-horizontal .marimo>.swiper-wrapper{scroll-snap-type:x mandatory}.marimo :is(.marimo .swiper-css-mode).swiper-horizontal .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-slides-offset-before);scroll-margin-inline-start:var(--swiper-slides-offset-before)}.marimo :is(.marimo .swiper-css-mode).swiper-horizontal .marimo>.swiper-wrapper>.swiper-slide:last-child{margin-inline-end:var(--swiper-slides-offset-after)}.marimo :is(.marimo .swiper-css-mode).swiper-vertical .marimo>.swiper-wrapper{scroll-snap-type:y mandatory}.marimo :is(.marimo .swiper-css-mode).swiper-vertical .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-slides-offset-before);scroll-margin-block-start:var(--swiper-slides-offset-before)}.marimo :is(.marimo .swiper-css-mode).swiper-vertical .marimo>.swiper-wrapper>.swiper-slide:last-child{margin-block-end:var(--swiper-slides-offset-after)}.marimo :is(.marimo .swiper-css-mode).swiper-free-mode .marimo>.swiper-wrapper{scroll-snap-type:none}.marimo :is(.marimo .swiper-css-mode).swiper-free-mode .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.marimo :is(.marimo .swiper-css-mode).swiper-centered .marimo>.swiper-wrapper:before{content:\"\";flex-shrink:0;order:9999}.marimo :is(.marimo .swiper-css-mode).swiper-centered .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.marimo :is(.marimo .swiper-css-mode).swiper-centered.swiper-horizontal .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.marimo :is(.marimo .swiper-css-mode).swiper-centered.swiper-horizontal .marimo>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.marimo :is(.marimo .swiper-css-mode).swiper-centered.swiper-vertical .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.marimo :is(.marimo .swiper-css-mode).swiper-centered.swiper-vertical .marimo>.swiper-wrapper:before{height:var(--swiper-centered-offset-after);width:100%;min-width:1px}.marimo .swiper-3d .marimo .swiper-slide-shadow,.marimo .swiper-3d .marimo .swiper-slide-shadow-bottom,.marimo .swiper-3d .marimo .swiper-slide-shadow-left,.marimo .swiper-3d .marimo .swiper-slide-shadow-right,.marimo .swiper-3d .marimo .swiper-slide-shadow-top{pointer-events:none;z-index:10;width:100%;height:100%;position:absolute;top:0;left:0}.marimo .swiper-3d .marimo .swiper-slide-shadow{background:#00000026}.marimo .swiper-3d .marimo .swiper-slide-shadow-left{background-image:linear-gradient(270deg,#00000080,#0000)}.marimo .swiper-3d .marimo .swiper-slide-shadow-right{background-image:linear-gradient(90deg,#00000080,#0000)}.marimo .swiper-3d .marimo .swiper-slide-shadow-top{background-image:linear-gradient(#0000,#00000080)}.marimo .swiper-3d .marimo .swiper-slide-shadow-bottom{background-image:linear-gradient(#00000080,#0000)}.marimo .swiper-lazy-preloader{border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));box-sizing:border-box;transform-origin:50%;z-index:10;border-top:4px solid #0000;border-radius:50%;width:42px;height:42px;margin-top:-21px;margin-left:-21px;position:absolute;top:50%;left:50%}:is(.marimo .swiper-watch-progress .swiper-slide-visible,.marimo .swiper:not(.swiper-watch-progress)) .marimo .swiper-lazy-preloader{animation:1s linear infinite swiper-preloader-spin}.marimo .swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.marimo .swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.marimo .swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.marimo .swiper-virtual.swiper-css-mode .marimo .swiper-wrapper:after{content:\"\";pointer-events:none;position:absolute;top:0;left:0}.marimo .swiper-virtual.swiper-css-mode.swiper-horizontal .marimo .swiper-wrapper:after{height:1px;width:var(--swiper-virtual-size)}.marimo .swiper-virtual.swiper-css-mode.swiper-vertical .marimo .swiper-wrapper:after{height:var(--swiper-virtual-size);width:1px}.marimo{--swiper-navigation-size:44px}.marimo .swiper-button-next,.marimo .swiper-button-prev{color:var(--swiper-navigation-color,var(--swiper-theme-color));cursor:pointer;height:var(--swiper-navigation-size);width:var(--swiper-navigation-size);z-index:10;justify-content:center;align-items:center;display:flex;position:absolute}.marimo :is(.marimo .swiper-button-next,.marimo .swiper-button-prev).swiper-button-disabled{cursor:auto;opacity:.35;pointer-events:none}.marimo :is(.marimo .swiper-button-next,.marimo .swiper-button-prev).swiper-button-hidden{cursor:auto;opacity:0;pointer-events:none}.marimo .swiper-navigation-disabled :is(.marimo .swiper-button-next,.marimo .swiper-button-prev){display:none!important}:is(.marimo .swiper-button-next,.marimo .swiper-button-prev) .marimo ::slotted(svg),:is(.marimo .swiper-button-next,.marimo .swiper-button-prev) .marimo svg{object-fit:contain;transform-origin:50%;fill:currentColor;pointer-events:none;width:100%;height:100%}.marimo .swiper-button-lock{display:none}.marimo .swiper-button-next,.marimo .swiper-button-prev{margin-top:calc(0px - var(--swiper-navigation-size)/2);top:var(--swiper-navigation-top-offset,50%)}.marimo .swiper-button-prev{left:var(--swiper-navigation-sides-offset,4px);right:auto}.marimo .swiper-button-prev .marimo .swiper-navigation-icon,.marimo .swiper-button-prev .marimo ::slotted(.swiper-navigation-icon){transform:rotate(180deg)}.marimo .swiper-button-next{left:auto;right:var(--swiper-navigation-sides-offset,4px)}.marimo .swiper-horizontal .marimo .swiper-button-next,.marimo .swiper-horizontal .marimo .swiper-button-prev,.marimo .swiper-horizontal .marimo~.swiper-button-next,.marimo .swiper-horizontal .marimo~.swiper-button-prev{margin-left:0;margin-top:calc(0px - var(--swiper-navigation-size)/2);top:var(--swiper-navigation-top-offset,50%)}.marimo :is(.marimo .swiper-horizontal).swiper-rtl .swiper-button-next,.marimo :is(.marimo .swiper-horizontal).swiper-rtl~.swiper-button-next,.marimo :is(.marimo .swiper-horizontal)~.swiper-button-prev,.marimo .swiper-horizontal .marimo .swiper-button-prev{left:var(--swiper-navigation-sides-offset,4px);right:auto}.marimo :is(.marimo .swiper-horizontal).swiper-rtl .swiper-button-prev,.marimo :is(.marimo .swiper-horizontal).swiper-rtl~.swiper-button-prev,.marimo :is(.marimo .swiper-horizontal)~.swiper-button-next,.marimo .swiper-horizontal .marimo .swiper-button-next{left:auto;right:var(--swiper-navigation-sides-offset,4px)}:is(.marimo :is(.marimo .swiper-horizontal).swiper-rtl .swiper-button-next,.marimo :is(.marimo .swiper-horizontal).swiper-rtl~.swiper-button-next,.marimo :is(.marimo .swiper-horizontal)~.swiper-button-prev,.marimo .swiper-horizontal .marimo .swiper-button-prev) .marimo .swiper-navigation-icon,:is(.marimo :is(.marimo .swiper-horizontal).swiper-rtl .swiper-button-next,.marimo :is(.marimo .swiper-horizontal).swiper-rtl~.swiper-button-next,.marimo :is(.marimo .swiper-horizontal)~.swiper-button-prev,.marimo .swiper-horizontal .marimo .swiper-button-prev) .marimo ::slotted(.swiper-navigation-icon){transform:rotate(180deg)}:is(.marimo :is(.marimo .swiper-horizontal).swiper-rtl .swiper-button-prev,.marimo :is(.marimo .swiper-horizontal).swiper-rtl~.swiper-button-prev) .marimo .swiper-navigation-icon,:is(.marimo :is(.marimo .swiper-horizontal).swiper-rtl .swiper-button-prev,.marimo :is(.marimo .swiper-horizontal).swiper-rtl~.swiper-button-prev) .marimo ::slotted(.swiper-navigation-icon){transform:rotate(0)}.marimo .swiper-vertical .marimo .swiper-button-next,.marimo .swiper-vertical .marimo .swiper-button-prev,.marimo .swiper-vertical .marimo~.swiper-button-next,.marimo .swiper-vertical .marimo~.swiper-button-prev{left:var(--swiper-navigation-top-offset,50%);margin-left:calc(0px - var(--swiper-navigation-size)/2);margin-top:0;right:auto}.marimo .swiper-vertical .marimo .swiper-button-prev,.marimo .swiper-vertical .marimo~.swiper-button-prev{bottom:auto;top:var(--swiper-navigation-sides-offset,4px)}:is(.marimo .swiper-vertical .marimo .swiper-button-prev,.marimo .swiper-vertical .marimo~.swiper-button-prev) .marimo .swiper-navigation-icon,:is(.marimo .swiper-vertical .marimo .swiper-button-prev,.marimo .swiper-vertical .marimo~.swiper-button-prev) .marimo ::slotted(.swiper-navigation-icon){transform:rotate(-90deg)}.marimo .swiper-vertical .marimo .swiper-button-next,.marimo .swiper-vertical .marimo~.swiper-button-next{bottom:var(--swiper-navigation-sides-offset,4px);top:auto}:is(.marimo .swiper-vertical .marimo .swiper-button-next,.marimo .swiper-vertical .marimo~.swiper-button-next) .marimo .swiper-navigation-icon,:is(.marimo .swiper-vertical .marimo .swiper-button-next,.marimo .swiper-vertical .marimo~.swiper-button-next) .marimo ::slotted(.swiper-navigation-icon){transform:rotate(90deg)}.marimo .swiper-pagination{text-align:center;z-index:10;transition:opacity .3s;position:absolute;transform:translateZ(0)}.marimo :is(.marimo .swiper-pagination).swiper-pagination-hidden{opacity:0}.marimo :is(.marimo .swiper-pagination).swiper-pagination-disabled,.marimo .swiper-pagination-disabled>:is(.marimo .swiper-pagination){display:none!important}.marimo .swiper-horizontal>.swiper-pagination-bullets,.marimo .swiper-pagination-bullets.swiper-pagination-horizontal,.marimo .swiper-pagination-custom,.marimo .swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);left:0;top:var(--swiper-pagination-top,auto);width:100%}.marimo .swiper-pagination-bullets-dynamic{font-size:0;overflow:hidden}.marimo .swiper-pagination-bullets-dynamic .marimo .swiper-pagination-bullet{position:relative;transform:scale(.33)}.marimo .swiper-pagination-bullets-dynamic .marimo .swiper-pagination-bullet-active,.marimo .swiper-pagination-bullets-dynamic .marimo .swiper-pagination-bullet-active-main{transform:scale(1)}.marimo .swiper-pagination-bullets-dynamic .marimo .swiper-pagination-bullet-active-prev{transform:scale(.66)}.marimo .swiper-pagination-bullets-dynamic .marimo .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.marimo .swiper-pagination-bullets-dynamic .marimo .swiper-pagination-bullet-active-next{transform:scale(.66)}.marimo .swiper-pagination-bullets-dynamic .marimo .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.marimo .swiper-pagination-bullet{background:var(--swiper-pagination-bullet-inactive-color,#000);border-radius:var(--swiper-pagination-bullet-border-radius,50%);height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));opacity:var(--swiper-pagination-bullet-inactive-opacity,.2);width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));display:inline-block}.marimo button:is(.marimo .swiper-pagination-bullet){appearance:none;box-shadow:none;border:none;margin:0;padding:0}.marimo .swiper-pagination-clickable :is(.marimo .swiper-pagination-bullet){cursor:pointer}.marimo :is(.marimo .swiper-pagination-bullet):only-child{display:none!important}.marimo .swiper-pagination-bullet-active{background:var(--swiper-pagination-color,var(--swiper-theme-color));opacity:var(--swiper-pagination-bullet-opacity,1)}.marimo .swiper-pagination-vertical.swiper-pagination-bullets,.marimo .swiper-vertical>.swiper-pagination-bullets{left:var(--swiper-pagination-left,auto);right:var(--swiper-pagination-right,8px);top:50%;transform:translateY(-50%)}:is(.marimo .swiper-pagination-vertical.swiper-pagination-bullets,.marimo .swiper-vertical>.swiper-pagination-bullets) .marimo .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.marimo :is(.marimo .swiper-pagination-vertical.swiper-pagination-bullets,.marimo .swiper-vertical>.swiper-pagination-bullets).swiper-pagination-bullets-dynamic{width:8px;top:50%;transform:translateY(-50%)}.marimo :is(.marimo .swiper-pagination-vertical.swiper-pagination-bullets,.marimo .swiper-vertical>.swiper-pagination-bullets).swiper-pagination-bullets-dynamic .marimo .swiper-pagination-bullet{transition:transform .2s,top .2s;display:inline-block}:is(.marimo .swiper-horizontal>.swiper-pagination-bullets,.marimo .swiper-pagination-horizontal.swiper-pagination-bullets) .marimo .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.marimo :is(.marimo .swiper-horizontal>.swiper-pagination-bullets,.marimo .swiper-pagination-horizontal.swiper-pagination-bullets).swiper-pagination-bullets-dynamic{white-space:nowrap;left:50%;transform:translate(-50%)}.marimo :is(.marimo .swiper-horizontal>.swiper-pagination-bullets,.marimo .swiper-pagination-horizontal.swiper-pagination-bullets).swiper-pagination-bullets-dynamic .marimo .swiper-pagination-bullet{transition:transform .2s,left .2s}.marimo .swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,right .2s}.marimo .swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.marimo .swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,#00000040);position:absolute}.marimo .swiper-pagination-progressbar .marimo .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));transform-origin:0 0;width:100%;height:100%;position:absolute;top:0;left:0;transform:scale(0)}.marimo .swiper-rtl :is(.marimo .swiper-pagination-progressbar) .swiper-pagination-progressbar-fill{transform-origin:100% 0}.marimo :is(.marimo .swiper-pagination-progressbar).swiper-pagination-horizontal,.marimo :is(.marimo .swiper-pagination-progressbar).swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.marimo .swiper-horizontal>:is(.marimo .swiper-pagination-progressbar),.marimo .swiper-vertical>:is(.marimo .swiper-pagination-progressbar).swiper-pagination-progressbar-opposite{height:var(--swiper-pagination-progressbar-size,4px);width:100%;top:0;left:0}.marimo :is(.marimo .swiper-pagination-progressbar).swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.marimo :is(.marimo .swiper-pagination-progressbar).swiper-pagination-vertical,.marimo .swiper-horizontal>:is(.marimo .swiper-pagination-progressbar).swiper-pagination-progressbar-opposite,.marimo .swiper-vertical>:is(.marimo .swiper-pagination-progressbar){height:100%;width:var(--swiper-pagination-progressbar-size,4px);top:0;left:0}.marimo .swiper-pagination-lock{display:none}.marimo .swiper-scrollbar{background:var(--swiper-scrollbar-bg-color,#0000001a);border-radius:var(--swiper-scrollbar-border-radius,10px);touch-action:none;position:relative}.marimo :is(.marimo .swiper-scrollbar).swiper-scrollbar-disabled,.marimo .swiper-scrollbar-disabled>:is(.marimo .swiper-scrollbar){display:none!important}.marimo :is(.marimo .swiper-scrollbar).swiper-scrollbar-horizontal,.marimo .swiper-horizontal>:is(.marimo .swiper-scrollbar){bottom:var(--swiper-scrollbar-bottom,4px);height:var(--swiper-scrollbar-size,4px);left:var(--swiper-scrollbar-sides-offset,1%);top:var(--swiper-scrollbar-top,auto);width:calc(100% - var(--swiper-scrollbar-sides-offset,1%)*2);z-index:50;position:absolute}.marimo :is(.marimo .swiper-scrollbar).swiper-scrollbar-vertical,.marimo .swiper-vertical>:is(.marimo .swiper-scrollbar){height:calc(100% - var(--swiper-scrollbar-sides-offset,1%)*2);left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);width:var(--swiper-scrollbar-size,4px);z-index:50;position:absolute}.marimo .swiper-scrollbar-drag{background:var(--swiper-scrollbar-drag-bg-color,#00000080);border-radius:var(--swiper-scrollbar-border-radius,10px);width:100%;height:100%;position:relative;top:0;left:0}.marimo .swiper-scrollbar-cursor-drag{cursor:move}.marimo .swiper-scrollbar-lock{display:none}.marimo .mo-slides-theme{--swiper-theme-color:var(--primary);--swiper-pagination-color:var(--swiper-theme-color);--swiper-pagination-left:auto;--swiper-pagination-right:8px;--swiper-pagination-bottom:8px;--swiper-pagination-top:auto;--swiper-pagination-fraction-color:inherit;--swiper-pagination-progressbar-bg-color:#00000040;--swiper-pagination-progressbar-size:4px;--swiper-pagination-bullet-size:8px;--swiper-pagination-bullet-width:8px;--swiper-pagination-bullet-height:8px;--swiper-pagination-bullet-border-radius:50%;--swiper-pagination-bullet-inactive-color:#000;--swiper-pagination-bullet-inactive-opacity:.2;--swiper-pagination-bullet-opacity:1;--swiper-pagination-bullet-horizontal-gap:4px;--swiper-pagination-bullet-vertical-gap:6px}.marimo .mo-slides-theme .marimo .swiper-button-next,.marimo .mo-slides-theme .marimo .swiper-button-prev{opacity:0;--swiper-navigation-sides-offset:0;--swiper-navigation-size:20px;background-color:#0000001a;height:100%;margin-top:0;padding:0 15px;font-weight:900;transition:opacity .3s;top:0;bottom:0}.marimo :is(.marimo .mo-slides-theme .marimo .swiper-button-next,.marimo .mo-slides-theme .marimo .swiper-button-prev).swiper-button-disabled{opacity:0}.marimo :is(.marimo .mo-slides-theme .marimo .swiper-button-next,.marimo .mo-slides-theme .marimo .swiper-button-prev):hover:not(.swiper-button-disabled){opacity:1}@font-face{font-family:swiper-icons;font-style:normal;font-weight:400;src:url(\"data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA\")}.marimo :host:host{display:initial}", mM = class {
21941
21941
  tagName = "marimo-carousel";
21942
- validator = W({
21942
+ validator = G({
21943
21943
  index: U().nullish(),
21944
- height: eo([U(), K()]).nullish()
21944
+ height: Ho([U(), W()]).nullish()
21945
21945
  });
21946
21946
  cssStyles = [
21947
21947
  dM,
@@ -21959,13 +21959,13 @@ var oM = class {
21959
21959
  children: e.children
21960
21960
  });
21961
21961
  }
21962
- }, hM = J.lazy(() => import("./swiper-component-DKntyn8p.js")), gM = wS("marimo-download").withData(W({
21962
+ }, hM = J.lazy(() => import("./swiper-component-DKntyn8p.js")), gM = wS("marimo-download").withData(G({
21963
21963
  data: U(),
21964
- disabled: H().default(!1),
21964
+ disabled: K().default(!1),
21965
21965
  filename: U().nullish(),
21966
21966
  label: U().nullish(),
21967
- lazy: H().default(!1)
21968
- })).withFunctions({ load: HS.input(W({})).output(W({
21967
+ lazy: K().default(!1)
21968
+ })).withFunctions({ load: HS.input(G({})).output(G({
21969
21969
  data: U(),
21970
21970
  filename: U().nullish()
21971
21971
  })) }).renderer((e) => /* @__PURE__ */ (0, Y.jsx)(_M, {
@@ -22006,11 +22006,11 @@ var oM = class {
22006
22006
  });
22007
22007
  }, vM = J.lazy(() => import("./ImageComparisonComponent-uU8FSKZE.js")), yM = class {
22008
22008
  tagName = "marimo-image-comparison";
22009
- validator = W({
22009
+ validator = G({
22010
22010
  beforeSrc: U(),
22011
22011
  afterSrc: U(),
22012
- value: K().min(0).max(100).default(50),
22013
- direction: Fo(["horizontal", "vertical"]).default("horizontal"),
22012
+ value: W().min(0).max(100).default(50),
22013
+ direction: Vo(["horizontal", "vertical"]).default("horizontal"),
22014
22014
  width: U().optional(),
22015
22015
  height: U().optional()
22016
22016
  });
@@ -22022,10 +22022,10 @@ var oM = class {
22022
22022
  }
22023
22023
  }, bM = class {
22024
22024
  tagName = "marimo-json-output";
22025
- validator = W({
22025
+ validator = G({
22026
22026
  name: U().nullish(),
22027
- jsonData: ao(),
22028
- valueTypes: Fo(["json", "python"]).default("python")
22027
+ jsonData: Ja(),
22028
+ valueTypes: Vo(["json", "python"]).default("python")
22029
22029
  });
22030
22030
  render({ data: e }) {
22031
22031
  let t = e.name === void 0 ? !1 : e.name || "";
@@ -22036,7 +22036,7 @@ var oM = class {
22036
22036
  name: t
22037
22037
  });
22038
22038
  }
22039
- }, xM = wS("marimo-lazy").withData(W({ showLoadingIndicator: H().default(!1) })).withFunctions({ load: HS.input(W({})).output(W({ html: U() })) }).renderer((e) => /* @__PURE__ */ (0, Y.jsx)(SM, {
22039
+ }, xM = wS("marimo-lazy").withData(G({ showLoadingIndicator: K().default(!1) })).withFunctions({ load: HS.input(G({})).output(G({ html: U() })) }).renderer((e) => /* @__PURE__ */ (0, Y.jsx)(SM, {
22040
22040
  value: e.value,
22041
22041
  setValue: e.setValue,
22042
22042
  ...e.data,
@@ -22069,13 +22069,13 @@ var oM = class {
22069
22069
  }), t[12] = s, t[13] = m, t[14] = h) : h = t[14], h;
22070
22070
  }, CM = class {
22071
22071
  tagName = "marimo-mime-renderer";
22072
- validator = W({
22072
+ validator = G({
22073
22073
  mime: U().transform((e) => e),
22074
- data: eo([
22074
+ data: Ho([
22075
22075
  U(),
22076
- go(),
22077
- ro(U(), ao()),
22078
- G(zo())
22076
+ zo(),
22077
+ to(U(), Ja()),
22078
+ H(co())
22079
22079
  ]).transform((e) => e)
22080
22080
  });
22081
22081
  render({ data: e }) {
@@ -22087,10 +22087,10 @@ var oM = class {
22087
22087
  }
22088
22088
  }, wM = class {
22089
22089
  tagName = "marimo-mermaid";
22090
- validator = W({
22090
+ validator = G({
22091
22091
  diagram: U(),
22092
22092
  theme: U().optional(),
22093
- theme_variables: ro(U(), U()).optional()
22093
+ theme_variables: to(U(), U()).optional()
22094
22094
  });
22095
22095
  render(e) {
22096
22096
  return /* @__PURE__ */ (0, Y.jsx)(TM, {
@@ -22099,11 +22099,11 @@ var oM = class {
22099
22099
  themeVariables: e.data.theme_variables
22100
22100
  });
22101
22101
  }
22102
- }, TM = (0, J.lazy)(() => import("./mermaid-CiAXjLpA.js").then((e) => e.t));
22102
+ }, TM = (0, J.lazy)(() => import("./mermaid-Bjm6C1qN.js").then((e) => e.t));
22103
22103
  //#endregion
22104
22104
  //#region src/components/editor/chrome/panels/outline/useActiveOutline.tsx
22105
22105
  function EM() {
22106
- return ya() === "edit" ? document.getElementById("App") : void 0;
22106
+ return _a() === "edit" ? document.getElementById("App") : void 0;
22107
22107
  }
22108
22108
  function DM(e) {
22109
22109
  let t = (0, X.c)(7), [n, r] = (0, J.useState)(void 0), [i, a] = (0, J.useState)(void 0), o = (0, J.useRef)(null), s = (0, J.useRef)(null), c;
@@ -22115,7 +22115,7 @@ function DM(e) {
22115
22115
  let n = e.target;
22116
22116
  e.isIntersecting ? (!s.current || n.getBoundingClientRect().top < s.current.getBoundingClientRect().top) && (s.current = n, t = !0) : n === s.current && (s.current = null, t = !0);
22117
22117
  }), t && s.current) {
22118
- let e = Ve(s.current), t = "id" in e ? e.id : e.path;
22118
+ let e = ot(s.current), t = "id" in e ? e.id : e.path;
22119
22119
  r(t), a(l.current.get(s.current));
22120
22120
  }
22121
22121
  }, {
@@ -22124,7 +22124,7 @@ function DM(e) {
22124
22124
  threshold: 0
22125
22125
  }), e.forEach((t) => {
22126
22126
  if (t) {
22127
- let n = Ve(t[0]), r = e.map(OM).filter((e) => "id" in n ? e.id === n.id : e.textContent === t[0].textContent).indexOf(t[0]);
22127
+ let n = ot(t[0]), r = e.map(OM).filter((e) => "id" in n ? e.id === n.id : e.textContent === t[0].textContent).indexOf(t[0]);
22128
22128
  l.current.set(t[0], r), o.current?.observe(t[0]);
22129
22129
  }
22130
22130
  }), () => {
@@ -22169,7 +22169,7 @@ function jM(e, t) {
22169
22169
  //#endregion
22170
22170
  //#region src/components/editor/chrome/panels/outline/floating-outline.tsx
22171
22171
  var MM = () => {
22172
- let e = (0, X.c)(19), { items: t } = ns(et), n;
22172
+ let e = (0, X.c)(19), { items: t } = ns(Ze), n;
22173
22173
  e[0] === t ? n = e[1] : (n = kM(t), e[0] = t, e[1] = n);
22174
22174
  let { activeHeaderId: r, activeOccurrences: i } = DM(n), [a, o] = J.useState(!1);
22175
22175
  if (t.length < 2) return null;
@@ -22240,7 +22240,7 @@ var MM = () => {
22240
22240
  children: s
22241
22241
  }), t[8] = o, t[9] = s, t[10] = l) : l = t[10], l;
22242
22242
  }, FM = (e) => {
22243
- let t = (0, X.c)(12), { label: n } = e, { items: r } = ns(et), i;
22243
+ let t = (0, X.c)(12), { label: n } = e, { items: r } = ns(Ze), i;
22244
22244
  t[0] === r ? i = t[1] : (i = kM(r), t[0] = r, t[1] = i);
22245
22245
  let { activeHeaderId: a, activeOccurrences: o } = DM(i);
22246
22246
  if (r.length === 0) {
@@ -22269,7 +22269,7 @@ var MM = () => {
22269
22269
  }), t[9] = s, t[10] = c, t[11] = l) : l = t[11], l;
22270
22270
  }, IM = class {
22271
22271
  tagName = "marimo-outline";
22272
- validator = W({ label: U().optional() });
22272
+ validator = G({ label: U().optional() });
22273
22273
  render(e) {
22274
22274
  let { label: t } = e.data;
22275
22275
  return /* @__PURE__ */ (0, Y.jsx)(hs, {
@@ -23036,13 +23036,13 @@ var MM = () => {
23036
23036
  })(e);
23037
23037
  })))(), 1), RM = class {
23038
23038
  tagName = "marimo-progress";
23039
- validator = W({
23039
+ validator = G({
23040
23040
  title: U().optional(),
23041
23041
  subtitle: U().optional(),
23042
- progress: eo([K(), H()]),
23043
- total: K().optional(),
23044
- eta: K().optional(),
23045
- rate: K().optional()
23042
+ progress: Ho([W(), K()]),
23043
+ total: W().optional(),
23044
+ eta: W().optional(),
23045
+ rate: W().optional()
23046
23046
  });
23047
23047
  render(e) {
23048
23048
  return /* @__PURE__ */ (0, Y.jsx)(zM, { ...e.data });
@@ -23305,7 +23305,7 @@ var UM = (/* @__PURE__ */ i(((e) => {
23305
23305
  }
23306
23306
  }, GM = class {
23307
23307
  tagName = "marimo-routes";
23308
- validator = W({ routes: G(U()) });
23308
+ validator = G({ routes: H(U()) });
23309
23309
  render(e) {
23310
23310
  return /* @__PURE__ */ (0, Y.jsx)(KM, {
23311
23311
  ...e.data,
@@ -23340,18 +23340,18 @@ var UM = (/* @__PURE__ */ i(((e) => {
23340
23340
  return t[9] === r ? h = t[10] : (h = J.Children.toArray(r), t[9] = r, t[10] = h), h[m];
23341
23341
  }, qM = class {
23342
23342
  tagName = "marimo-stat";
23343
- validator = W({
23344
- value: eo([
23343
+ validator = G({
23344
+ value: Ho([
23345
23345
  U(),
23346
- K(),
23347
- H()
23346
+ W(),
23347
+ K()
23348
23348
  ]).optional(),
23349
23349
  label: U().optional(),
23350
23350
  caption: U().optional(),
23351
- bordered: H().default(!1),
23352
- direction: Fo(["increase", "decrease"]).optional(),
23353
- target_direction: Fo(["increase", "decrease"]).default("increase"),
23354
- slot: zo().optional()
23351
+ bordered: K().default(!1),
23352
+ direction: Vo(["increase", "decrease"]).optional(),
23353
+ target_direction: Vo(["increase", "decrease"]).default("increase"),
23354
+ slot: co().optional()
23355
23355
  });
23356
23356
  render({ data: e }) {
23357
23357
  return /* @__PURE__ */ (0, Y.jsx)(JM, { ...e });
@@ -23423,7 +23423,7 @@ var UM = (/* @__PURE__ */ i(((e) => {
23423
23423
  }), t[27] = O, t[28] = b, t[29] = x, t[30] = k) : k = t[30], k;
23424
23424
  }, YM = class {
23425
23425
  tagName = "marimo-tex";
23426
- validator = W({});
23426
+ validator = G({});
23427
23427
  render(e) {
23428
23428
  return /* @__PURE__ */ (0, Y.jsx)(eN, {
23429
23429
  host: e.host,
@@ -26649,7 +26649,7 @@ var uP = (0, aP.WidthProvider)(aP.Responsive), dP = [0, 0], fP = "grid-drag-hand
26649
26649
  cellId: t.id,
26650
26650
  output: t.output,
26651
26651
  status: t.status,
26652
- stale: Dt(t, !1),
26652
+ stale: Ae(t, !1),
26653
26653
  isScrollable: o,
26654
26654
  side: s,
26655
26655
  hidden: t.errored || t.interrupted || t.stopped
@@ -26725,7 +26725,7 @@ var uP = (0, aP.WidthProvider)(aP.Responsive), dP = [0, 0], fP = "grid-drag-hand
26725
26725
  cellId: e.id,
26726
26726
  output: e.output,
26727
26727
  status: e.status,
26728
- stale: Dt(e, !1),
26728
+ stale: Ae(e, !1),
26729
26729
  isScrollable: !1,
26730
26730
  hidden: !1
26731
26731
  }, e.id), t[130] = a, t[131] = r), me = /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [ce, /* @__PURE__ */ (0, Y.jsx)("div", {
@@ -26783,7 +26783,7 @@ var uP = (0, aP.WidthProvider)(aP.Responsive), dP = [0, 0], fP = "grid-drag-hand
26783
26783
  output: e.output,
26784
26784
  isScrollable: !1,
26785
26785
  status: e.status,
26786
- stale: Dt(e, !1),
26786
+ stale: Ae(e, !1),
26787
26787
  hidden: !1
26788
26788
  })
26789
26789
  }, e.id), t[146] = n.columns, t[147] = n.rowHeight, t[148] = a, t[149] = m) : m = t[149], ue = s.map(m);
@@ -27097,20 +27097,20 @@ function CP(e) {
27097
27097
  var wP = {
27098
27098
  type: "grid",
27099
27099
  name: "Grid",
27100
- validator: no({
27101
- columns: K().min(1),
27102
- rowHeight: K().min(1),
27103
- maxWidth: K().nullish().transform((e) => e ?? void 0).catch(void 0),
27104
- bordered: H().optional().catch(void 0),
27105
- cells: G(no({
27106
- position: $a([
27107
- K(),
27108
- K(),
27109
- K(),
27110
- K()
27100
+ validator: qa({
27101
+ columns: W().min(1),
27102
+ rowHeight: W().min(1),
27103
+ maxWidth: W().nullish().transform((e) => e ?? void 0).catch(void 0),
27104
+ bordered: K().optional().catch(void 0),
27105
+ cells: H(qa({
27106
+ position: so([
27107
+ W(),
27108
+ W(),
27109
+ W(),
27110
+ W()
27111
27111
  ]).nullable().catch(null),
27112
- scrollable: H().optional().catch(void 0),
27113
- side: Fo([
27112
+ scrollable: K().optional().catch(void 0),
27113
+ side: Vo([
27114
27114
  "top",
27115
27115
  "bottom",
27116
27116
  "left",
@@ -27229,10 +27229,10 @@ var DP = (e) => {
27229
27229
  //#endregion
27230
27230
  //#region src/components/editor/cell/useDeleteCell.tsx
27231
27231
  function OP() {
27232
- let e = (0, X.c)(4), { deleteCell: t, undoDeleteCell: n } = at(), { sendDeleteCell: r } = Ot(), i;
27232
+ let e = (0, X.c)(4), { deleteCell: t, undoDeleteCell: n } = Dt(), { sendDeleteCell: r } = je(), i;
27233
27233
  return e[0] !== t || e[1] !== r || e[2] !== n ? (i = (e) => {
27234
- if (as.get(ct)) return;
27235
- let { cellId: i } = e, a = (as.get(Xe).cellData[i]?.code ?? "").trim() === "";
27234
+ if (as.get(pt)) return;
27235
+ let { cellId: i } = e, a = (as.get(et).cellData[i]?.code ?? "").trim() === "";
27236
27236
  if (t({ cellId: i }), r({ cellId: i }).catch(() => {
27237
27237
  n();
27238
27238
  }), !a) {
@@ -29762,7 +29762,7 @@ function gR() {
29762
29762
  return /* @__PURE__ */ new Set();
29763
29763
  }
29764
29764
  var _R = ({ cells: e, thumbnailWidth: t, canReorder: n, activeCellId: r, skippedIds: i, noOutputIds: a, slideTypes: o, onSlideClick: c }) => {
29765
- let l = rt(), { moveCellToIndex: u, createNewCell: d } = at(), f = OP(), p = (0, J.useRef)(null), m = hR(p), [h, g] = (0, J.useState)(null), [_, v] = (0, J.useState)(null), y = uR(t), b = (e, t) => {
29765
+ let l = Ue(), { moveCellToIndex: u, createNewCell: d } = Dt(), f = OP(), p = (0, J.useRef)(null), m = hR(p), [h, g] = (0, J.useState)(null), [_, v] = (0, J.useState)(null), y = uR(t), b = (e, t) => {
29766
29766
  d({
29767
29767
  cellId: e,
29768
29768
  before: t,
@@ -29846,7 +29846,7 @@ var _R = ({ cells: e, thumbnailWidth: t, canReorder: n, activeCellId: r, skipped
29846
29846
  ref: p,
29847
29847
  children: [/* @__PURE__ */ (0, Y.jsxs)("div", {
29848
29848
  className: "text-xs text-gray-500 flex items-center gap-0.5",
29849
- children: [/* @__PURE__ */ (0, Y.jsx)(St, { className: "h-3 w-3" }), "Reordering is not supported in multi-column mode"]
29849
+ children: [/* @__PURE__ */ (0, Y.jsx)(Ge, { className: "h-3 w-3" }), "Reordering is not supported in multi-column mode"]
29850
29850
  }), e.map((e, t) => /* @__PURE__ */ (0, Y.jsx)(bR, {
29851
29851
  cell: e,
29852
29852
  dimensions: y,
@@ -30034,7 +30034,7 @@ var _R = ({ cells: e, thumbnailWidth: t, canReorder: n, activeCellId: r, skipped
30034
30034
  cellId: n.id,
30035
30035
  status: n.status,
30036
30036
  output: n.output,
30037
- stale: Dt(n, !1)
30037
+ stale: Ae(n, !1)
30038
30038
  })
30039
30039
  }), t[30] = n, t[31] = x, t[32] = y, t[33] = S, t[34] = k, t[35] = b, t[36] = P) : P = t[36];
30040
30040
  let F;
@@ -30107,8 +30107,8 @@ function OR(e) {
30107
30107
  }
30108
30108
  //#endregion
30109
30109
  //#region src/components/editor/renderers/slides-layout/slides-layout.tsx
30110
- var kR = J.lazy(() => import("./reveal-component-BTBfJ3ju.js")), AR = (e) => {
30111
- let t = (0, X.c)(33), { layout: n, setLayout: r, cells: i, mode: a } = e, o = ns(ga), s = a === "read" || o, c = ns(gt) > 1, [l, u] = (0, J.useState)(null), d;
30110
+ var kR = J.lazy(() => import("./reveal-component-CpEtzUCU.js")), AR = (e) => {
30111
+ let t = (0, X.c)(33), { layout: n, setLayout: r, cells: i, mode: a } = e, o = ns(da), s = a === "read" || o, c = ns(He) > 1, [l, u] = (0, J.useState)(null), d;
30112
30112
  t[0] !== i || t[1] !== n ? (d = EP(i, n), t[0] = i, t[1] = n, t[2] = d) : d = t[2];
30113
30113
  let { slideCells: f, skippedIds: p, noOutputIds: m, slideTypes: h, startCellIndex: g } = d, _;
30114
30114
  t[3] !== l || t[4] !== f || t[5] !== g ? (_ = l ? f.findIndex((e) => e.id === l) : g, t[3] = l, t[4] = f, t[5] = g, t[6] = _) : _ = t[6];
@@ -30163,34 +30163,34 @@ var kR = J.lazy(() => import("./reveal-component-BTBfJ3ju.js")), AR = (e) => {
30163
30163
  className: "flex-1 pr-18 pb-2 flex flex-row gap-2 min-h-0",
30164
30164
  children: [M, k]
30165
30165
  }), t[30] = k, t[31] = M, t[32] = N) : N = t[32], N;
30166
- }, jR = Fo([
30166
+ }, jR = Vo([
30167
30167
  "slide",
30168
30168
  "sub-slide",
30169
30169
  "fragment",
30170
30170
  "skip"
30171
- ]), MR = no({
30171
+ ]), MR = qa({
30172
30172
  type: jR.optional().catch(void 0),
30173
30173
  speakerNotes: U().optional().catch(void 0),
30174
- showCode: H().optional().catch(void 0)
30175
- }).catch({}), NR = Fo([
30174
+ showCode: K().optional().catch(void 0)
30175
+ }).catch({}), NR = Vo([
30176
30176
  "none",
30177
30177
  "fade",
30178
30178
  "slide",
30179
30179
  "convex",
30180
30180
  "concave",
30181
30181
  "zoom"
30182
- ]), PR = Fo([
30182
+ ]), PR = Vo([
30183
30183
  "top",
30184
30184
  "center",
30185
30185
  "bottom"
30186
- ]), FR = no({
30186
+ ]), FR = qa({
30187
30187
  transition: NR.optional().catch(void 0),
30188
30188
  verticalAlign: PR.optional().catch(void 0)
30189
30189
  }).catch({}), IR = {
30190
30190
  type: "slides",
30191
30191
  name: "Slides",
30192
- validator: no({
30193
- cells: G(MR).optional().catch(void 0),
30192
+ validator: qa({
30193
+ cells: H(MR).optional().catch(void 0),
30194
30194
  deck: FR.optional().catch(void 0)
30195
30195
  }),
30196
30196
  deserializeLayout: (e, t) => {
@@ -30314,7 +30314,7 @@ var zR = (e) => {
30314
30314
  let m;
30315
30315
  t[12] === n ? m = t[13] : (m = () => n("bt"), t[12] = n, t[13] = m);
30316
30316
  let h;
30317
- t[14] === Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ (0, Y.jsx)(mt, {
30317
+ t[14] === Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ (0, Y.jsx)(yt, {
30318
30318
  fontSize: 36,
30319
30319
  className: "w-5 h-5"
30320
30320
  }), t[14] = h) : h = t[14];
@@ -30395,13 +30395,13 @@ function BR(e = !0) {
30395
30395
  //#endregion
30396
30396
  //#region src/components/editor/actions/name-cell-input.tsx
30397
30397
  var VR = (e) => {
30398
- let t = (0, X.c)(12), { value: n, cellId: r, className: i } = e, { updateCellName: a } = at(), o;
30398
+ let t = (0, X.c)(12), { value: n, cellId: r, className: i } = e, { updateCellName: a } = Dt(), o;
30399
30399
  t[0] !== r || t[1] !== a ? (o = (e) => a({
30400
30400
  cellId: r,
30401
30401
  name: e
30402
30402
  }), t[0] = r, t[1] = a, t[2] = o) : o = t[2];
30403
30403
  let s = HR(n, o);
30404
- if (Ce(n)) return null;
30404
+ if (Ot(n)) return null;
30405
30405
  let l = s.focusing ? "" : "text-ellipsis", u;
30406
30406
  t[3] !== i || t[4] !== l ? (u = c("outline-hidden border hover:border-cyan-500/40 focus:border-cyan-500/40", l, i), t[3] = i, t[4] = l, t[5] = u) : u = t[5];
30407
30407
  let d;
@@ -30423,28 +30423,28 @@ function HR(e, t) {
30423
30423
  let n = (0, X.c)(13), [r, i] = (0, J.useState)(e), [a, o] = (0, J.useState)(!1), s;
30424
30424
  n[0] !== t || n[1] !== e ? (s = (n) => {
30425
30425
  if (n !== e) {
30426
- if (!n || Ce(n)) {
30426
+ if (!n || Ot(n)) {
30427
30427
  t(n);
30428
30428
  return;
30429
30429
  }
30430
- t(Pe(n, pt()));
30430
+ t(Ne(n, St()));
30431
30431
  }
30432
30432
  }, n[0] = t, n[1] = e, n[2] = s) : s = n[2];
30433
30433
  let c = s, l;
30434
- n[3] === r ? l = n[4] : (l = Ce(r) ? "" : r, n[3] = r, n[4] = l);
30434
+ n[3] === r ? l = n[4] : (l = Ot(r) ? "" : r, n[3] = r, n[4] = l);
30435
30435
  let u;
30436
30436
  n[5] === Symbol.for("react.memo_cache_sentinel") ? (u = (e) => {
30437
- let t = e.target.value, n = De(t);
30437
+ let t = e.target.value, n = ge(t);
30438
30438
  i(n);
30439
30439
  }, n[5] = u) : u = n[5];
30440
30440
  let d;
30441
30441
  n[6] === c ? d = n[7] : (d = (e) => {
30442
30442
  if (e.target instanceof HTMLInputElement) {
30443
30443
  let t = e.target.value;
30444
- c(De(t));
30444
+ c(ge(t));
30445
30445
  } else if (e.target instanceof HTMLSpanElement) {
30446
30446
  let t = e.target.innerText.trim();
30447
- c(De(t)), e.target.scrollLeft = 0, o(!1);
30447
+ c(ge(t)), e.target.scrollLeft = 0, o(!1);
30448
30448
  }
30449
30449
  }, n[6] = c, n[7] = d);
30450
30450
  let f;
@@ -30465,7 +30465,7 @@ function UR(e) {
30465
30465
  }
30466
30466
  //#endregion
30467
30467
  //#region src/components/editor/output/useWrapText.ts
30468
- var WR = he("marimo:console:wrapText", !1, xt);
30468
+ var WR = qe("marimo:console:wrapText", !1, bt);
30469
30469
  function GR() {
30470
30470
  let e = (0, X.c)(3), [t, n] = is(WR), r;
30471
30471
  return e[0] !== n || e[1] !== t ? (r = {
@@ -30496,7 +30496,7 @@ var qR = (e) => {
30496
30496
  if (!e) return;
30497
30497
  let t = e.scrollHeight - e.clientHeight;
30498
30498
  t - e.scrollTop < 120 && (e.scrollTop = t);
30499
- }, t[2] = D) : D = t[2], (0, J.useLayoutEffect)(D), !w && Ce(h)) return null;
30499
+ }, t[2] = D) : D = t[2], (0, J.useLayoutEffect)(D), !w && Ot(h)) return null;
30500
30500
  let O, k, A, j, M, N, P, F, I, L;
30501
30501
  if (t[3] !== _ || t[4] !== x || t[5] !== S || t[6] !== w || t[7] !== d || t[8] !== m || t[9] !== a || t[10] !== E || t[11] !== y || t[12] !== b || t[13] !== v || t[14] !== T || t[15] !== o || t[16] !== i || t[17] !== p || t[18] !== s || t[19] !== r) {
30502
30502
  let e = S.toReversed(), u = e.some(QR), f = e.findIndex($R), h;
@@ -30671,7 +30671,7 @@ function tz(e) {
30671
30671
  }
30672
30672
  //#endregion
30673
30673
  //#region src/core/cells/readonly-code-display.ts
30674
- var nz = new Ye(), rz = new Ct();
30674
+ var nz = new Xe(), rz = new Ke();
30675
30675
  function iz(e) {
30676
30676
  let t = e.trim();
30677
30677
  return t ? nz.isSupported(t) ? {
@@ -30691,7 +30691,7 @@ function iz(e) {
30691
30691
  //#endregion
30692
30692
  //#region src/core/export/layout.ts
30693
30693
  async function az() {
30694
- return await ze(), Fz();
30694
+ return await be(), Fz();
30695
30695
  }
30696
30696
  //#endregion
30697
30697
  //#region src/core/static/virtual-file-tracker.ts
@@ -30732,7 +30732,7 @@ function cz(e) {
30732
30732
  //#endregion
30733
30733
  //#region src/core/static/download-html.ts
30734
30734
  async function lz(e) {
30735
- let t = Be(), { includeCode: n } = e, r = await t.exportAsHTML({
30735
+ let t = xe(), { includeCode: n } = e, r = await t.exportAsHTML({
30736
30736
  download: !0,
30737
30737
  includeCode: n,
30738
30738
  files: sz.INSTANCE.filenames(),
@@ -30763,10 +30763,10 @@ function dz(e, t) {
30763
30763
  function fz({ showCodeInRunModePreference: e, kioskMode: t }) {
30764
30764
  if (!e) return !1;
30765
30765
  let n = new URLSearchParams(window.location.search).get(os.showCode);
30766
- return n === null ? pa() || fa() || t : n === "true";
30766
+ return n === null ? ma() || xa() || t : n === "true";
30767
30767
  }
30768
30768
  function pz(e) {
30769
- pa() && ma((t) => {
30769
+ ma() && ha((t) => {
30770
30770
  t.set(os.showCode, String(e));
30771
30771
  });
30772
30772
  }
@@ -30778,7 +30778,7 @@ function mz(e) {
30778
30778
  }), [...t.entries()].toSorted(([e], [t]) => e - t);
30779
30779
  }
30780
30780
  function hz(e, t) {
30781
- let n = new we().isSupported(e), r = t !== null && !I(t);
30781
+ let n = new ze().isSupported(e), r = t !== null && !I(t);
30782
30782
  return n && r || e.trim() === "";
30783
30783
  }
30784
30784
  //#endregion
@@ -30799,7 +30799,7 @@ var gz = (e) => {
30799
30799
  children: h
30800
30800
  }), t[12] = s, t[13] = h, t[14] = g) : g = t[14], g;
30801
30801
  }, _z = (e) => {
30802
- let t = (0, X.c)(33), { cells: n, appConfig: r, mode: i } = e, { invisible: a } = dz(n.length, i), o = ns(ga), s = ns(Ws), [l] = fs(), u = ns(Hs), d;
30802
+ let t = (0, X.c)(33), { cells: n, appConfig: r, mode: i } = e, { invisible: a } = dz(n.length, i), o = ns(da), s = ns(Ws), [l] = fs(), u = ns(Hs), d;
30803
30803
  t[0] !== o || t[1] !== u ? (d = () => fz({
30804
30804
  showCodeInRunModePreference: u,
30805
30805
  kioskMode: o
@@ -30882,13 +30882,13 @@ var gz = (e) => {
30882
30882
  ]
30883
30883
  }), t[28] = r, t[29] = a, t[30] = w, t[31] = T, t[32] = D) : D = t[32], D;
30884
30884
  }, vz = (e) => {
30885
- let t = (0, X.c)(26), { canShowCode: n, showCode: r, onToggleShowCode: i } = e, { readCode: a } = Ot(), o = Sz, s = Cz, l;
30885
+ let t = (0, X.c)(26), { canShowCode: n, showCode: r, onToggleShowCode: i } = e, { readCode: a } = je(), o = Sz, s = Cz, l;
30886
30886
  t[0] === a ? l = t[1] : (l = async () => {
30887
30887
  let e = await a();
30888
30888
  Zr(new Blob([e.contents], { type: "text/plain" }), cn.toPY(document.title));
30889
30889
  }, t[0] = a, t[1] = l);
30890
30890
  let u = l, d;
30891
- t[2] === Symbol.for("react.memo_cache_sentinel") ? (d = pa(), t[2] = d) : d = t[2];
30891
+ t[2] === Symbol.for("react.memo_cache_sentinel") ? (d = ma(), t[2] = d) : d = t[2];
30892
30892
  let f = d, p;
30893
30893
  if (t[3] !== n || t[4] !== u || t[5] !== i || t[6] !== r) {
30894
30894
  if (p = [], n) {
@@ -30957,7 +30957,7 @@ var gz = (e) => {
30957
30957
  } else p = t[7];
30958
30958
  if (p.length === 0) return null;
30959
30959
  let m;
30960
- t[22] === Symbol.for("react.memo_cache_sentinel") ? (m = c("right-0 top-0 z-50 m-4 print:hidden flex gap-2", pa() ? "absolute" : "fixed"), t[22] = m) : m = t[22];
30960
+ t[22] === Symbol.for("react.memo_cache_sentinel") ? (m = c("right-0 top-0 z-50 m-4 print:hidden flex gap-2", ma() ? "absolute" : "fixed"), t[22] = m) : m = t[22];
30961
30961
  let h;
30962
30962
  t[23] === Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ (0, Y.jsx)(Ki, {
30963
30963
  asChild: !0,
@@ -30982,7 +30982,7 @@ var gz = (e) => {
30982
30982
  }), t[24] = p, t[25] = _), _;
30983
30983
  }, yz = (0, J.memo)((e) => {
30984
30984
  let t = (0, X.c)(57), { output: n, consoleOutputs: r, cellOutputArea: i, cellId: a, status: o, stopped: s, errored: l, config: u, interrupted: d, staleInputs: f, runStartTimestamp: p, code: m, showCode: h, mode: g, name: _, kiosk: v, showErrorTracebacks: y } = e, b = (0, J.useRef)(null), x;
30985
- t[0] !== d || t[1] !== n || t[2] !== p || t[3] !== f || t[4] !== o ? (x = Dt({
30985
+ t[0] !== d || t[1] !== n || t[2] !== p || t[3] !== f || t[4] !== o ? (x = Ae({
30986
30986
  status: o,
30987
30987
  output: n,
30988
30988
  interrupted: d,
@@ -30993,8 +30993,8 @@ var gz = (e) => {
30993
30993
  t[6] === o ? C = t[7] : (C = ve(o), t[6] = o, t[7] = C);
30994
30994
  let w = C, T = v && g !== "present", E;
30995
30995
  if (t[8] !== m || t[9] !== l || t[10] !== T || t[11] !== h || t[12] !== s) {
30996
- let e = new we().isSupported(m);
30997
- E = c("marimo-cell", "hover-actions-parent empty:invisible", !h && !T ? xe({
30996
+ let e = new ze().isSupported(m);
30997
+ E = c("marimo-cell", "hover-actions-parent empty:invisible", !h && !T ? at({
30998
30998
  errored: l,
30999
30999
  stopped: s
31000
31000
  }) : {
@@ -31053,7 +31053,7 @@ var gz = (e) => {
31053
31053
  ]
31054
31054
  }), t[37] = D, t[38] = v, t[39] = y, t[40] = p, t[41] = h, t[42] = g, t[43] = x) : x = t[43], x;
31055
31055
  }
31056
- if (Ne({
31056
+ if (Oe({
31057
31057
  errored: l,
31058
31058
  interrupted: d,
31059
31059
  stopped: s,
@@ -31084,7 +31084,7 @@ yz.displayName = "VerticalCell";
31084
31084
  var bz = {
31085
31085
  type: "vertical",
31086
31086
  name: "Vertical",
31087
- validator: zo(),
31087
+ validator: co(),
31088
31088
  Component: _z,
31089
31089
  deserializeLayout: (e) => e,
31090
31090
  serializeLayout: (e) => e,
@@ -31191,11 +31191,11 @@ function Pz({ state: e, plugin: t, cells: n }) {
31191
31191
  }) : t.getInitialLayout(n));
31192
31192
  }
31193
31193
  function Fz() {
31194
- let e = qe(), t = as.get(jz), { selectedLayout: n } = t;
31194
+ let e = Je(), t = as.get(jz), { selectedLayout: n } = t;
31195
31195
  if (n === "vertical") return null;
31196
31196
  let r = Tz.find((e) => e.type === n);
31197
31197
  if (r === void 0) return s.error(`Unknown layout type: ${n}`), null;
31198
- let i = Se(e), a = Pz({
31198
+ let i = he(e), a = Pz({
31199
31199
  state: t,
31200
31200
  plugin: r,
31201
31201
  cells: i
@@ -31211,7 +31211,7 @@ function Iz(e) {
31211
31211
  let { codes: t, names: n, configs: r, cell_ids: i, last_executed_code: a, last_execution_time: o } = e, s = a || {}, c = o || {};
31212
31212
  return t.map((e, t) => {
31213
31213
  let a = i[t], o = s[a];
31214
- return Et({
31214
+ return Pe({
31215
31215
  id: a,
31216
31216
  code: e,
31217
31217
  edited: o ? o !== e : !1,
@@ -31251,7 +31251,7 @@ function zz(e, t) {
31251
31251
  return;
31252
31252
  }
31253
31253
  let { objectIds: y, values: b } = Rz(), x = g ? Object.fromEntries(n.map((e) => [e.id, e.code])) : void 0;
31254
- Be().sendInstantiate({
31254
+ xe().sendInstantiate({
31255
31255
  objectIds: y,
31256
31256
  values: b,
31257
31257
  autoRun: r,
@@ -31502,10 +31502,10 @@ function oB(e) {
31502
31502
  return null;
31503
31503
  }
31504
31504
  function sB(e) {
31505
- return We(e) ? e.schemaVersion === 1 && typeof e.appId == "string" && (e.dependencies === void 0 || Array.isArray(e.dependencies) && e.dependencies.every((e) => typeof e == "string")) && Array.isArray(e.cells) && e.cells.every(cB) : !1;
31505
+ return we(e) ? e.schemaVersion === 1 && typeof e.appId == "string" && (e.dependencies === void 0 || Array.isArray(e.dependencies) && e.dependencies.every((e) => typeof e == "string")) && Array.isArray(e.cells) && e.cells.every(cB) : !1;
31506
31506
  }
31507
31507
  function cB(e) {
31508
- return We(e) ? typeof e.cellId == "string" && typeof e.code == "string" && typeof e.outputHtml == "string" && typeof e.outputMimetype == "string" && typeof e.reactive == "boolean" && typeof e.displayCode == "boolean" && typeof e.displayOutput == "boolean" : !1;
31508
+ return we(e) ? typeof e.cellId == "string" && typeof e.code == "string" && typeof e.outputHtml == "string" && typeof e.outputMimetype == "string" && typeof e.reactive == "boolean" && typeof e.displayCode == "boolean" && typeof e.displayOutput == "boolean" : !1;
31509
31509
  }
31510
31510
  //#endregion
31511
31511
  //#region src/core/islands/components/IslandControls.tsx
@@ -31525,7 +31525,7 @@ var lB = (e) => {
31525
31525
  children: a
31526
31526
  }), t[3] = a, t[4] = n, t[5] = o) : o = t[5], o;
31527
31527
  }, uB = (e) => {
31528
- let t = (0, X.c)(18), { cellId: n, codeCallback: r, visible: i } = e, { sendRun: a } = Ot(), o;
31528
+ let t = (0, X.c)(18), { cellId: n, codeCallback: r, visible: i } = e, { sendRun: a } = je(), o;
31529
31529
  t[0] === r ? o = t[1] : (o = () => {
31530
31530
  x(r());
31531
31531
  }, t[0] = r, t[1] = o);
@@ -31599,7 +31599,7 @@ var pB = (e) => {
31599
31599
  let t = (0, X.c)(19), { cellId: n, codeCallback: r, alwaysShowRun: i, children: a } = e, o = dB(i), s = (0, J.useRef)(null), c;
31600
31600
  t[0] === n ? c = t[1] : (c = (e) => e.cellRuntime[n], t[0] = n, t[1] = c);
31601
31601
  let l = c, u;
31602
- t[2] === l ? u = t[3] : (u = $e(Xe, l), t[2] = l, t[3] = u);
31602
+ t[2] === l ? u = t[3] : (u = xt(et, l), t[2] = l, t[3] = u);
31603
31603
  let d = ns(u), f = ns(Gs);
31604
31604
  if (mB(s, d?.status ?? "idle"), !f || !d?.output) {
31605
31605
  let e;
@@ -31689,7 +31689,7 @@ var hB = (e) => {
31689
31689
  return rB(this);
31690
31690
  }
31691
31691
  getCellIdFromIndex(e) {
31692
- let { cellIds: t } = as.get(Xe);
31692
+ let { cellIds: t } = as.get(et);
31693
31693
  return t.inOrderIds.at(e);
31694
31694
  }
31695
31695
  connectedCallback() {
@@ -31716,7 +31716,7 @@ var hB = (e) => {
31716
31716
  code: r,
31717
31717
  output: t
31718
31718
  });
31719
- let i = (this.querySelector(e.editorTagName)?.parentElement)?.getAttribute(Ae);
31719
+ let i = (this.querySelector(e.editorTagName)?.parentElement)?.getAttribute(gt);
31720
31720
  return {
31721
31721
  html: t,
31722
31722
  codeCallback: n && i ? () => {
@@ -31775,7 +31775,7 @@ function xB() {
31775
31775
  //#region src/core/islands/bootstrap.ts
31776
31776
  async function SB(e) {
31777
31777
  let t = e.store || as, n = e.root || document, r = e.bridge;
31778
- t.set(ye, r), t.set(va, "read"), t.set(Us, null), e.autoInitializePlugins !== !1 && rN();
31778
+ t.set(ye, r), t.set(ga, "read"), t.set(Us, null), e.autoInitializePlugins !== !1 && rN();
31779
31779
  let i = Array.from(n.querySelectorAll(vu.ISLAND));
31780
31780
  if (i.length === 0) {
31781
31781
  s.log("No islands found, skipping initialization");
@@ -31783,8 +31783,8 @@ async function SB(e) {
31783
31783
  }
31784
31784
  s.log(`Initializing ${i.length} island(s)`);
31785
31785
  for (let e of i) e.classList.add(Su.NAMESPACE);
31786
- let a = yt((e) => {
31787
- t.set(Xe, (t) => ut(t, e));
31786
+ let a = vt((e) => {
31787
+ t.set(et, (t) => Tt(t, e));
31788
31788
  });
31789
31789
  t.sub(qs, () => {
31790
31790
  let e = t.get(qs), r = n.querySelectorAll(vu.ISLAND);
@@ -31803,7 +31803,7 @@ async function SB(e) {
31803
31803
  }
31804
31804
  function CB(e, t, n, r) {
31805
31805
  try {
31806
- let i = ke(e);
31806
+ let i = Be(e);
31807
31807
  switch (s.debug("Islands received message:", i.op), i.op) {
31808
31808
  case "banner":
31809
31809
  case "missing-package-alert":
@@ -32149,12 +32149,12 @@ var BB = class {
32149
32149
  store;
32150
32150
  root;
32151
32151
  session;
32152
- sessionReady = new Sa();
32152
+ sessionReady = new pa();
32153
32153
  nextSessionGeneration = 0;
32154
32154
  activeSessionGenerations = /* @__PURE__ */ new Set();
32155
32155
  appTransition = Promise.resolve();
32156
- workerReady = new Sa();
32157
- initialized = new Sa();
32156
+ workerReady = new pa();
32157
+ initialized = new pa();
32158
32158
  constructor(e = {}) {
32159
32159
  this.store = e.store || as, this.root = e.root || document;
32160
32160
  try {
@@ -32197,7 +32197,7 @@ var BB = class {
32197
32197
  appId: n.id,
32198
32198
  sessionGeneration: ++this.nextSessionGeneration
32199
32199
  }, a = this.session, o = t && a !== void 0;
32200
- this.activeSessionGenerations.add(r.sessionGeneration), o && this.store.set(Xe, Tt()), (t || !a) && (t && this.sessionReady.status !== "pending" && (this.sessionReady = new Sa()), this.session = {
32200
+ this.activeSessionGenerations.add(r.sessionGeneration), o && this.store.set(et, lt()), (t || !a) && (t && this.sessionReady.status !== "pending" && (this.sessionReady = new pa()), this.session = {
32201
32201
  ...r,
32202
32202
  code: t ? e : void 0
32203
32203
  });
@@ -32215,7 +32215,7 @@ var BB = class {
32215
32215
  t?.code === void 0 || e && t.appId !== e || (this.activeSessionGenerations.delete(t.sessionGeneration), await this.rpc.proxy.request.stopSession({
32216
32216
  appId: t.appId,
32217
32217
  sessionGeneration: t.sessionGeneration
32218
- }), this.store.set(Us, null), this.session = void 0, this.sessionReady = new Sa(), this.store.set(Xe, Tt()));
32218
+ }), this.store.set(Us, null), this.session = void 0, this.sessionReady = new pa(), this.store.set(et, lt()));
32219
32219
  });
32220
32220
  }
32221
32221
  enqueueAppTransition(e) {
@@ -32231,7 +32231,7 @@ var BB = class {
32231
32231
  sendComponentValues = async (e) => (await this.putControlRequest({
32232
32232
  type: "update-ui-element",
32233
32233
  ...e,
32234
- token: me()
32234
+ token: _t()
32235
32235
  }), null);
32236
32236
  sendInstantiate = async () => null;
32237
32237
  sendFunctionRequest = async (e) => (await this.putControlRequest({