@marimo-team/frontend 0.13.16-dev45 → 0.13.16-dev47

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 (90) hide show
  1. package/dist/assets/{ConnectedDataExplorerComponent-D9CMmoUX.js → ConnectedDataExplorerComponent-B15m0eZD.js} +1 -1
  2. package/dist/assets/{ImageComparisonComponent-1aRBUvGX.js → ImageComparisonComponent-CMa1oyKF.js} +1 -1
  3. package/dist/assets/{VegaLite-BfjrBGac.js → VegaLite-DA7laRSp.js} +1 -1
  4. package/dist/assets/{_baseEach-BgsFhYNH.js → _baseEach-BNYDFBTy.js} +1 -1
  5. package/dist/assets/_baseMap-Cy_GPVHH.js +1 -0
  6. package/dist/assets/{_baseUniq-BmdkTs2j.js → _baseUniq-B_z6xc2x.js} +1 -1
  7. package/dist/assets/{_createAggregator-coQPIe_h.js → _createAggregator-Dzi6-1s-.js} +1 -1
  8. package/dist/assets/{any-language-editor-DbfOU_sX.js → any-language-editor-BfM0HYE-.js} +1 -1
  9. package/dist/assets/{architectureDiagram-IEHRJDOE-C8pJSO22.js → architectureDiagram-IEHRJDOE-BGjMEXN6.js} +1 -1
  10. package/dist/assets/{blockDiagram-JOT3LUYC-B3wV6u1I.js → blockDiagram-JOT3LUYC-C-kX96Nx.js} +1 -1
  11. package/dist/assets/{c4Diagram-VJAJSXHY-CPyC1wUv.js → c4Diagram-VJAJSXHY-BJRDtsPu.js} +1 -1
  12. package/dist/assets/channel-YaihVtdS.js +1 -0
  13. package/dist/assets/{chunk-4BMEZGHF-B3r_a_Kt.js → chunk-4BMEZGHF-CJGp5OpF.js} +1 -1
  14. package/dist/assets/{chunk-A2AXSNBT-BynpnS1N.js → chunk-A2AXSNBT-DBEbqsly.js} +1 -1
  15. package/dist/assets/{chunk-AEK57VVT-ZqY3MPh9.js → chunk-AEK57VVT-CkILDZpA.js} +1 -1
  16. package/dist/assets/{chunk-D6G4REZN-t2bhW-XT.js → chunk-D6G4REZN-sM9lfnPP.js} +1 -1
  17. package/dist/assets/{chunk-RZ5BOZE2-B6hP0gEr.js → chunk-RZ5BOZE2-BJn4xrdM.js} +1 -1
  18. package/dist/assets/{chunk-XZIHB7SX-CVF_8dli.js → chunk-XZIHB7SX-vDoUjBp6.js} +1 -1
  19. package/dist/assets/{circle-play-yBKyttuA.js → circle-play-CpE5KzR6.js} +1 -1
  20. package/dist/assets/classDiagram-GIVACNV2-CNGp7FJp.js +1 -0
  21. package/dist/assets/classDiagram-v2-COTLJTTW-CNGp7FJp.js +1 -0
  22. package/dist/assets/clone-DYZ5oMP_.js +1 -0
  23. package/dist/assets/{compile-y0UmeWVh.js → compile-SIrAH8hi.js} +1 -1
  24. package/dist/assets/{dagre-OKDRZEBW-BJiNvR1i.js → dagre-OKDRZEBW-Ddn8-JYm.js} +1 -1
  25. package/dist/assets/{data-editor-CeGrNCtE.js → data-editor-DYeAv6k6.js} +1 -1
  26. package/dist/assets/{diagram-SSKATNLV-C-Ra8r57.js → diagram-SSKATNLV-BQaAxX2n.js} +1 -1
  27. package/dist/assets/{diagram-VNBRO52H-DBU7x-vX.js → diagram-VNBRO52H-kktaEZEw.js} +1 -1
  28. package/dist/assets/{edit-page-DayeaV0k.js → edit-page-DHFTqQ--.js} +27 -27
  29. package/dist/assets/{erDiagram-Q7BY3M3F-DEITrJ-6.js → erDiagram-Q7BY3M3F-Bb9ud_OX.js} +1 -1
  30. package/dist/assets/{flowDiagram-4HSFHLVR-Cv7a_pIm.js → flowDiagram-4HSFHLVR-DvHpxiIe.js} +1 -1
  31. package/dist/assets/{ganttDiagram-APWFNJXF-CkxVOCV3.js → ganttDiagram-APWFNJXF-DRi3Uk5I.js} +1 -1
  32. package/dist/assets/{gitGraphDiagram-7IBYFJ6S-DOGeLRqb.js → gitGraphDiagram-7IBYFJ6S-9ExScnk7.js} +1 -1
  33. package/dist/assets/{graph-DLHOsvXV.js → graph-G255_dAU.js} +1 -1
  34. package/dist/assets/{home-page-dxSJck0Q.js → home-page-DBT9am_q.js} +1 -1
  35. package/dist/assets/{index-LDui_DKW.js → index-1TMCGTdq.js} +1 -1
  36. package/dist/assets/{index-QSStW4ko.js → index-39jl-VdR.js} +1 -1
  37. package/dist/assets/{index-EuVlJMd6.js → index-7EbHfmXf.js} +1 -1
  38. package/dist/assets/{index-CeNdpeTI.js → index-BrOmtqGs.js} +1 -1
  39. package/dist/assets/{index-CQvmN7i-.js → index-C2P6BGWf.js} +1 -1
  40. package/dist/assets/{index-CQJQeUFV.js → index-CAL_6IMD.js} +1 -1
  41. package/dist/assets/{index-D96aLyjN.js → index-CNalUp-N.js} +1 -1
  42. package/dist/assets/{index-BKyGKQu1.js → index-Cq35sTJB.js} +1 -1
  43. package/dist/assets/{index-HhtNixEL.js → index-CrIZ0cCV.js} +1 -1
  44. package/dist/assets/{index-CAC4HXLq.js → index-CrQorFKP.js} +1 -1
  45. package/dist/assets/{index-lJLulgGp.js → index-DBgT8VB9.js} +1 -1
  46. package/dist/assets/{index-DpYhhLzu.js → index-DNi4Z3De.js} +14 -14
  47. package/dist/assets/{index-5V0a0Fsi.js → index-DRnKPEvk.js} +1 -1
  48. package/dist/assets/{index-CB57UYzx.js → index-DpgtHC_6.js} +1 -1
  49. package/dist/assets/{index-Beet-zBO.js → index-McKKoPVg.js} +1 -1
  50. package/dist/assets/{index-BEPTF51q.js → index-YP4d6Q4O.js} +1 -1
  51. package/dist/assets/{index-Bjg4P3PB.js → index-gf6TOBm-.js} +1 -1
  52. package/dist/assets/{index-DuYMx10e.js → index-kTSNPhQF.js} +1 -1
  53. package/dist/assets/{index-9eZdKfNt.js → index-rITHqn5V.js} +1 -1
  54. package/dist/assets/infoDiagram-PH2N3AL5-Cux0Rhps.js +2 -0
  55. package/dist/assets/{journeyDiagram-U35MCT3I-UpnLKpIB.js → journeyDiagram-U35MCT3I-PbJgAVT3.js} +1 -1
  56. package/dist/assets/{kanban-definition-NDS4AKOZ-DRyaUKGF.js → kanban-definition-NDS4AKOZ-BMgKrDcE.js} +1 -1
  57. package/dist/assets/{layout-N0X5roBT.js → layout-D2HWdqsw.js} +1 -1
  58. package/dist/assets/{linear-YQYldQWK.js → linear-B2-wqLf8.js} +1 -1
  59. package/dist/assets/{mermaid-HbPjrk5r.js → mermaid-B4oRaSKf.js} +4 -4
  60. package/dist/assets/{min-BLdiioV-.js → min-W0kE9gKG.js} +1 -1
  61. package/dist/assets/{mindmap-definition-ALO5MXBD-CQzz1h08.js → mindmap-definition-ALO5MXBD-BUfCmGJi.js} +1 -1
  62. package/dist/assets/{panels-Buz7lVEn.js → panels-CEuAr52o.js} +3 -3
  63. package/dist/assets/{pieDiagram-IB7DONF6-B6AuZey5.js → pieDiagram-IB7DONF6-C38ilzS3.js} +1 -1
  64. package/dist/assets/{quadrantDiagram-7GDLP6J5-Beulk2oD.js → quadrantDiagram-7GDLP6J5-D04cdv55.js} +1 -1
  65. package/dist/assets/{radar-MK3ICKWK-C_qDZNmu.js → radar-MK3ICKWK-7YACsl3Q.js} +1 -1
  66. package/dist/assets/{react-plotly-CDOpLkDI.js → react-plotly-B9W2z9r4.js} +1 -1
  67. package/dist/assets/{requirementDiagram-KVF5MWMF-sisHnQnS.js → requirementDiagram-KVF5MWMF-fSwTJTVo.js} +1 -1
  68. package/dist/assets/{run-page-wgQ0qMab.js → run-page-DPv-QGzn.js} +1 -1
  69. package/dist/assets/{sankeyDiagram-QLVOVGJD-b7mMsVyK.js → sankeyDiagram-QLVOVGJD-Bq5wNjae.js} +1 -1
  70. package/dist/assets/{sequenceDiagram-X6HHIX6F-3o6oesd5.js → sequenceDiagram-X6HHIX6F-BpaPyjjU.js} +1 -1
  71. package/dist/assets/{slides-component-D2vbdJRm.js → slides-component-CiLMPCcE.js} +1 -1
  72. package/dist/assets/{sortBy-DgFiyrEp.js → sortBy-BVhDQ8ms.js} +1 -1
  73. package/dist/assets/{stateDiagram-DGXRK772-T9TNrmTP.js → stateDiagram-DGXRK772-B1Fj0idP.js} +1 -1
  74. package/dist/assets/stateDiagram-v2-YXO3MK2T-BBt8gxWD.js +1 -0
  75. package/dist/assets/{terminal-Bur-W2Tq.js → terminal-DlICvkqE.js} +5 -5
  76. package/dist/assets/{time-D2CnPMNs.js → time-f2pIL5jR.js} +1 -1
  77. package/dist/assets/{timeline-definition-BDJGKUSR-DjJRa4lL.js → timeline-definition-BDJGKUSR-Cm8l4t_b.js} +1 -1
  78. package/dist/assets/{tracing-C_0uXsxm.js → tracing-B6u-652H.js} +2 -2
  79. package/dist/assets/{tree-oYVrYUyD.js → tree-aZhU-9uB.js} +1 -1
  80. package/dist/assets/{vega-component-eTS1TeMY.js → vega-component-D1Aof1Zf.js} +1 -1
  81. package/dist/assets/{xychartDiagram-VJFVF3MP-DtsRG9wu.js → xychartDiagram-VJFVF3MP-DKmfk66M.js} +1 -1
  82. package/dist/index.html +1 -1
  83. package/package.json +1 -1
  84. package/dist/assets/_baseMap-y2JytVMB.js +0 -1
  85. package/dist/assets/channel-DdKHJJp5.js +0 -1
  86. package/dist/assets/classDiagram-GIVACNV2-Crb77WTR.js +0 -1
  87. package/dist/assets/classDiagram-v2-COTLJTTW-Crb77WTR.js +0 -1
  88. package/dist/assets/clone-DbDMH9Ao.js +0 -1
  89. package/dist/assets/infoDiagram-PH2N3AL5-CC6e9qeZ.js +0 -2
  90. package/dist/assets/stateDiagram-v2-YXO3MK2T-iLZtPqHT.js +0 -1
@@ -1 +1 @@
1
- import{R,r as ln,d as S,e as q,C as z,n as d,h as fn}from"./timer-DFzT7np-.js";import{c as bn,a as pn}from"./linear-YQYldQWK.js";import{i as yn}from"./init-DLRA0X12.js";import{bw as wn,bx as m,by as M,bz as N,bA as D,bB as E,bC as vn,bD as G,bE as P,bF as H,bG as gn,bH as J,bI as K,bJ as O,bK as Q,bL as T,bM as Y,bN as mn,bO as dn,bP as Mn,bQ as Nn,bR as Dn,bS as In,bT as kn}from"./index-DpYhhLzu.js";function xn(n,r){let i;if(r===void 0)for(const e of n)e!=null&&(i<e||i===void 0&&e>=e)&&(i=e);else{let e=-1;for(let a of n)(a=r(a,++e,n))!=null&&(i<a||i===void 0&&a>=a)&&(i=a)}return i}function Pn(n,r){let i;if(r===void 0)for(const e of n)e!=null&&(i>e||i===void 0&&e>=e)&&(i=e);else{let e=-1;for(let a of n)(a=r(a,++e,n))!=null&&(i>a||i===void 0&&a>=a)&&(i=a)}return i}function j(n,r,i,e,a,s){const o=[[m,1,M],[m,5,5*M],[m,15,15*M],[m,30,30*M],[s,1,N],[s,5,5*N],[s,15,15*N],[s,30,30*N],[a,1,D],[a,3,3*D],[a,6,6*D],[a,12,12*D],[e,1,E],[e,2,2*E],[i,1,vn],[r,1,G],[r,3,3*G],[n,1,P]];function b(l,u,c){const w=Math.abs(u-l)/c,h=wn(([,,x])=>x).right(o,w);if(h===o.length)return n.every(H(l/P,u/P,c));if(h===0)return gn.every(Math.max(H(l,u,c),1));const[v,k]=o[w/o[h-1][2]<o[h][2]/w?h-1:h];return v.every(k)}return[function(l,u,c){const w=u<l;w&&([l,u]=[u,l]);const h=c&&typeof c.range=="function"?c:b(l,u,c),v=h?h.range(l,+u+1):[];return w?v.reverse():v},b]}const[An,Bn]=j(In,Dn,Nn,Mn,dn,mn),[Cn,Fn]=j(Y,T,Q,O,K,J),U=Math.PI/180,V=180/Math.PI,W=.96422,X=.82521,Z=4/29,g=6/29,_=3*g*g,Ln=g*g*g;function $(n){if(n instanceof p)return new p(n.l,n.a,n.b,n.opacity);if(n instanceof y)return an(n);n instanceof R||(n=ln(n));var r,i,e=F(n.r),a=F(n.g),s=F(n.b),o=A((.2225045*e+.7168786*a+.0606169*s)/1);return e===a&&a===s?r=i=o:(r=A((.4360747*e+.3850649*a+.1430804*s)/W),i=A((.0139322*e+.0971045*a+.7141733*s)/X)),new p(116*o-16,500*(r-o),200*(o-i),n.opacity)}function nn(n,r,i,e){return arguments.length===1?$(n):new p(n,r,i,e??1)}function p(n,r,i,e){this.l=+n,this.a=+r,this.b=+i,this.opacity=+e}function A(n){return n>Ln?Math.pow(n,1/3):n/_+Z}function B(n){return n>g?n*n*n:_*(n-Z)}function C(n){return 255*(n<=.0031308?12.92*n:1.055*Math.pow(n,1/2.4)-.055)}function F(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function I(n,r,i,e){return arguments.length===1?function(a){if(a instanceof y)return new y(a.h,a.c,a.l,a.opacity);if(a instanceof p||(a=$(a)),a.a===0&&a.b===0)return new y(NaN,0<a.l&&a.l<100?0:NaN,a.l,a.opacity);var s=Math.atan2(a.b,a.a)*V;return new y(s<0?s+360:s,Math.sqrt(a.a*a.a+a.b*a.b),a.l,a.opacity)}(n):new y(n,r,i,e??1)}function y(n,r,i,e){this.h=+n,this.c=+r,this.l=+i,this.opacity=+e}function an(n){if(isNaN(n.h))return new p(n.l,0,0,n.opacity);var r=n.h*U;return new p(n.l,Math.cos(r)*n.c,Math.sin(r)*n.c,n.opacity)}function rn(n){return function(r,i){var e=n((r=I(r)).h,(i=I(i)).h),a=d(r.c,i.c),s=d(r.l,i.l),o=d(r.opacity,i.opacity);return function(b){return r.h=e(b),r.c=a(b),r.l=s(b),r.opacity=o(b),r+""}}}S(p,nn,q(z,{brighter(n){return new p(this.l+18*(n??1),this.a,this.b,this.opacity)},darker(n){return new p(this.l-18*(n??1),this.a,this.b,this.opacity)},rgb(){var n=(this.l+16)/116,r=isNaN(this.a)?n:n+this.a/500,i=isNaN(this.b)?n:n-this.b/200;return r=W*B(r),n=1*B(n),i=X*B(i),new R(C(3.1338561*r-1.6168667*n-.4906146*i),C(-.9787684*r+1.9161415*n+.033454*i),C(.0719453*r-.2289914*n+1.4052427*i),this.opacity)}})),S(y,I,q(z,{brighter(n){return new y(this.h,this.c,this.l+18*(n??1),this.opacity)},darker(n){return new y(this.h,this.c,this.l-18*(n??1),this.opacity)},rgb(){return an(this).rgb()}}));const Rn=rn(fn);var Sn=rn(d);function en(n,r){var i,e=0,a=(n=n.slice()).length-1,s=n[e],o=n[a];return o<s&&(i=e,e=a,a=i,i=s,s=o,o=i),n[e]=r.floor(s),n[a]=r.ceil(o),n}function qn(n){return new Date(n)}function zn(n){return n instanceof Date?+n:+new Date(+n)}function L(n,r,i,e,a,s,o,b,l,u){var c=bn(),w=c.invert,h=c.domain,v=u(".%L"),k=u(":%S"),x=u("%I:%M"),tn=u("%I %p"),sn=u("%a %d"),on=u("%b %d"),un=u("%B"),cn=u("%Y");function hn(t){return(l(t)<t?v:b(t)<t?k:o(t)<t?x:s(t)<t?tn:e(t)<t?a(t)<t?sn:on:i(t)<t?un:cn)(t)}return c.invert=function(t){return new Date(w(t))},c.domain=function(t){return arguments.length?h(Array.from(t,zn)):h().map(qn)},c.ticks=function(t){var f=h();return n(f[0],f[f.length-1],t??10)},c.tickFormat=function(t,f){return f==null?hn:u(f)},c.nice=function(t){var f=h();return t&&typeof t.range=="function"||(t=r(f[0],f[f.length-1],t??10)),t?h(en(f,t)):c},c.copy=function(){return pn(c,L(n,r,i,e,a,s,o,b,l,u))},c}function En(){return yn.apply(L(Cn,Fn,Y,T,Q,O,K,J,m,kn).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}export{xn as a,An as b,L as c,V as d,I as e,Sn as h,Rn as i,nn as l,Pn as m,en as n,U as r,En as t,Bn as u};
1
+ import{R,r as ln,d as S,e as q,C as z,n as d,h as fn}from"./timer-DFzT7np-.js";import{c as bn,a as pn}from"./linear-B2-wqLf8.js";import{i as yn}from"./init-DLRA0X12.js";import{bw as wn,bx as m,by as M,bz as N,bA as D,bB as E,bC as vn,bD as G,bE as P,bF as H,bG as gn,bH as J,bI as K,bJ as O,bK as Q,bL as T,bM as Y,bN as mn,bO as dn,bP as Mn,bQ as Nn,bR as Dn,bS as In,bT as kn}from"./index-DNi4Z3De.js";function xn(n,r){let i;if(r===void 0)for(const e of n)e!=null&&(i<e||i===void 0&&e>=e)&&(i=e);else{let e=-1;for(let a of n)(a=r(a,++e,n))!=null&&(i<a||i===void 0&&a>=a)&&(i=a)}return i}function Pn(n,r){let i;if(r===void 0)for(const e of n)e!=null&&(i>e||i===void 0&&e>=e)&&(i=e);else{let e=-1;for(let a of n)(a=r(a,++e,n))!=null&&(i>a||i===void 0&&a>=a)&&(i=a)}return i}function j(n,r,i,e,a,s){const o=[[m,1,M],[m,5,5*M],[m,15,15*M],[m,30,30*M],[s,1,N],[s,5,5*N],[s,15,15*N],[s,30,30*N],[a,1,D],[a,3,3*D],[a,6,6*D],[a,12,12*D],[e,1,E],[e,2,2*E],[i,1,vn],[r,1,G],[r,3,3*G],[n,1,P]];function b(l,u,c){const w=Math.abs(u-l)/c,h=wn(([,,x])=>x).right(o,w);if(h===o.length)return n.every(H(l/P,u/P,c));if(h===0)return gn.every(Math.max(H(l,u,c),1));const[v,k]=o[w/o[h-1][2]<o[h][2]/w?h-1:h];return v.every(k)}return[function(l,u,c){const w=u<l;w&&([l,u]=[u,l]);const h=c&&typeof c.range=="function"?c:b(l,u,c),v=h?h.range(l,+u+1):[];return w?v.reverse():v},b]}const[An,Bn]=j(In,Dn,Nn,Mn,dn,mn),[Cn,Fn]=j(Y,T,Q,O,K,J),U=Math.PI/180,V=180/Math.PI,W=.96422,X=.82521,Z=4/29,g=6/29,_=3*g*g,Ln=g*g*g;function $(n){if(n instanceof p)return new p(n.l,n.a,n.b,n.opacity);if(n instanceof y)return an(n);n instanceof R||(n=ln(n));var r,i,e=F(n.r),a=F(n.g),s=F(n.b),o=A((.2225045*e+.7168786*a+.0606169*s)/1);return e===a&&a===s?r=i=o:(r=A((.4360747*e+.3850649*a+.1430804*s)/W),i=A((.0139322*e+.0971045*a+.7141733*s)/X)),new p(116*o-16,500*(r-o),200*(o-i),n.opacity)}function nn(n,r,i,e){return arguments.length===1?$(n):new p(n,r,i,e??1)}function p(n,r,i,e){this.l=+n,this.a=+r,this.b=+i,this.opacity=+e}function A(n){return n>Ln?Math.pow(n,1/3):n/_+Z}function B(n){return n>g?n*n*n:_*(n-Z)}function C(n){return 255*(n<=.0031308?12.92*n:1.055*Math.pow(n,1/2.4)-.055)}function F(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function I(n,r,i,e){return arguments.length===1?function(a){if(a instanceof y)return new y(a.h,a.c,a.l,a.opacity);if(a instanceof p||(a=$(a)),a.a===0&&a.b===0)return new y(NaN,0<a.l&&a.l<100?0:NaN,a.l,a.opacity);var s=Math.atan2(a.b,a.a)*V;return new y(s<0?s+360:s,Math.sqrt(a.a*a.a+a.b*a.b),a.l,a.opacity)}(n):new y(n,r,i,e??1)}function y(n,r,i,e){this.h=+n,this.c=+r,this.l=+i,this.opacity=+e}function an(n){if(isNaN(n.h))return new p(n.l,0,0,n.opacity);var r=n.h*U;return new p(n.l,Math.cos(r)*n.c,Math.sin(r)*n.c,n.opacity)}function rn(n){return function(r,i){var e=n((r=I(r)).h,(i=I(i)).h),a=d(r.c,i.c),s=d(r.l,i.l),o=d(r.opacity,i.opacity);return function(b){return r.h=e(b),r.c=a(b),r.l=s(b),r.opacity=o(b),r+""}}}S(p,nn,q(z,{brighter(n){return new p(this.l+18*(n??1),this.a,this.b,this.opacity)},darker(n){return new p(this.l-18*(n??1),this.a,this.b,this.opacity)},rgb(){var n=(this.l+16)/116,r=isNaN(this.a)?n:n+this.a/500,i=isNaN(this.b)?n:n-this.b/200;return r=W*B(r),n=1*B(n),i=X*B(i),new R(C(3.1338561*r-1.6168667*n-.4906146*i),C(-.9787684*r+1.9161415*n+.033454*i),C(.0719453*r-.2289914*n+1.4052427*i),this.opacity)}})),S(y,I,q(z,{brighter(n){return new y(this.h,this.c,this.l+18*(n??1),this.opacity)},darker(n){return new y(this.h,this.c,this.l-18*(n??1),this.opacity)},rgb(){return an(this).rgb()}}));const Rn=rn(fn);var Sn=rn(d);function en(n,r){var i,e=0,a=(n=n.slice()).length-1,s=n[e],o=n[a];return o<s&&(i=e,e=a,a=i,i=s,s=o,o=i),n[e]=r.floor(s),n[a]=r.ceil(o),n}function qn(n){return new Date(n)}function zn(n){return n instanceof Date?+n:+new Date(+n)}function L(n,r,i,e,a,s,o,b,l,u){var c=bn(),w=c.invert,h=c.domain,v=u(".%L"),k=u(":%S"),x=u("%I:%M"),tn=u("%I %p"),sn=u("%a %d"),on=u("%b %d"),un=u("%B"),cn=u("%Y");function hn(t){return(l(t)<t?v:b(t)<t?k:o(t)<t?x:s(t)<t?tn:e(t)<t?a(t)<t?sn:on:i(t)<t?un:cn)(t)}return c.invert=function(t){return new Date(w(t))},c.domain=function(t){return arguments.length?h(Array.from(t,zn)):h().map(qn)},c.ticks=function(t){var f=h();return n(f[0],f[f.length-1],t??10)},c.tickFormat=function(t,f){return f==null?hn:u(f)},c.nice=function(t){var f=h();return t&&typeof t.range=="function"||(t=r(f[0],f[f.length-1],t??10)),t?h(en(f,t)):c},c.copy=function(){return pn(c,L(n,r,i,e,a,s,o,b,l,u))},c}function En(){return yn.apply(L(Cn,Fn,Y,T,Q,O,K,J,m,kn).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}export{xn as a,An as b,L as c,V as d,I as e,Sn as h,Rn as i,nn as l,Pn as m,en as n,U as r,En as t,Bn as u};
@@ -1,4 +1,4 @@
1
- import{_ as r,c as yt,l as $,S as gt,T as ft,V as mt,W as xt,B as bt,X as _t,y as kt}from"./mermaid-HbPjrk5r.js";import{s as V}from"./transform-Cyp0GDF-.js";import{d as K}from"./arc-Cuwikxov.js";import"./index-DpYhhLzu.js";import"./step-BwsUM5iJ.js";import"./timer-DFzT7np-.js";var G=function(){var n=r(function(s,h,l,p){for(l=l||{},p=s.length;p--;l[s[p]]=h);return l},"o"),t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],o=[1,10],i=[1,11],a=[1,12],u=[1,13],f=[1,16],d=[1,17],g={trace:r(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:r(function(s,h,l,p,y,c,k){var x=c.length-1;switch(y){case 1:return c[x-1];case 2:case 6:case 7:this.$=[];break;case 3:c[x-1].push(c[x]),this.$=c[x-1];break;case 4:case 5:this.$=c[x];break;case 8:p.getCommonDb().setDiagramTitle(c[x].substr(6)),this.$=c[x].substr(6);break;case 9:this.$=c[x].trim(),p.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=c[x].trim(),p.getCommonDb().setAccDescription(this.$);break;case 12:p.addSection(c[x].substr(8)),this.$=c[x].substr(8);break;case 15:p.addTask(c[x],0,""),this.$=c[x];break;case 16:p.addEvent(c[x].substr(2)),this.$=c[x]}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},n(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:o,14:i,16:a,17:u,18:14,19:15,20:f,21:d},n(t,[2,7],{1:[2,1]}),n(t,[2,3]),{9:18,11:e,12:o,14:i,16:a,17:u,18:14,19:15,20:f,21:d},n(t,[2,5]),n(t,[2,6]),n(t,[2,8]),{13:[1,19]},{15:[1,20]},n(t,[2,11]),n(t,[2,12]),n(t,[2,13]),n(t,[2,14]),n(t,[2,15]),n(t,[2,16]),n(t,[2,4]),n(t,[2,9]),n(t,[2,10])],defaultActions:{},parseError:r(function(s,h){if(!h.recoverable){var l=new Error(s);throw l.hash=h,l}this.trace(s)},"parseError"),parse:r(function(s){var h=this,l=[0],p=[],y=[null],c=[],k=this.table,x="",N=0,P=0,D=c.slice.call(arguments,1),b=Object.create(this.lexer),I={yy:{}};for(var M in this.yy)Object.prototype.hasOwnProperty.call(this.yy,M)&&(I.yy[M]=this.yy[M]);b.setInput(s,I.yy),I.yy.lexer=b,I.yy.parser=this,b.yylloc===void 0&&(b.yylloc={});var v=b.yylloc;c.push(v);var A=b.options&&b.options.ranges;function L(){var T;return typeof(T=p.pop()||b.lex()||1)!="number"&&(T instanceof Array&&(T=(p=T).pop()),T=h.symbols_[T]||T),T}typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,r(function(T){l.length=l.length-2*T,y.length=y.length-T,c.length=c.length-T},"popStack"),r(L,"lex");for(var w,E,S,Y,z,C,Z,B,O={};;){if(E=l[l.length-1],this.defaultActions[E]?S=this.defaultActions[E]:(w==null&&(w=L()),S=k[E]&&k[E][w]),S===void 0||!S.length||!S[0]){var J="";for(z in B=[],k[E])this.terminals_[z]&&z>2&&B.push("'"+this.terminals_[z]+"'");J=b.showPosition?"Parse error on line "+(N+1)+`:
1
+ import{_ as r,c as yt,l as $,S as gt,T as ft,V as mt,W as xt,B as bt,X as _t,y as kt}from"./mermaid-B4oRaSKf.js";import{s as V}from"./transform-Cyp0GDF-.js";import{d as K}from"./arc-Cuwikxov.js";import"./index-DNi4Z3De.js";import"./step-BwsUM5iJ.js";import"./timer-DFzT7np-.js";var G=function(){var n=r(function(s,h,l,p){for(l=l||{},p=s.length;p--;l[s[p]]=h);return l},"o"),t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],o=[1,10],i=[1,11],a=[1,12],u=[1,13],f=[1,16],d=[1,17],g={trace:r(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:r(function(s,h,l,p,y,c,k){var x=c.length-1;switch(y){case 1:return c[x-1];case 2:case 6:case 7:this.$=[];break;case 3:c[x-1].push(c[x]),this.$=c[x-1];break;case 4:case 5:this.$=c[x];break;case 8:p.getCommonDb().setDiagramTitle(c[x].substr(6)),this.$=c[x].substr(6);break;case 9:this.$=c[x].trim(),p.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=c[x].trim(),p.getCommonDb().setAccDescription(this.$);break;case 12:p.addSection(c[x].substr(8)),this.$=c[x].substr(8);break;case 15:p.addTask(c[x],0,""),this.$=c[x];break;case 16:p.addEvent(c[x].substr(2)),this.$=c[x]}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},n(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:o,14:i,16:a,17:u,18:14,19:15,20:f,21:d},n(t,[2,7],{1:[2,1]}),n(t,[2,3]),{9:18,11:e,12:o,14:i,16:a,17:u,18:14,19:15,20:f,21:d},n(t,[2,5]),n(t,[2,6]),n(t,[2,8]),{13:[1,19]},{15:[1,20]},n(t,[2,11]),n(t,[2,12]),n(t,[2,13]),n(t,[2,14]),n(t,[2,15]),n(t,[2,16]),n(t,[2,4]),n(t,[2,9]),n(t,[2,10])],defaultActions:{},parseError:r(function(s,h){if(!h.recoverable){var l=new Error(s);throw l.hash=h,l}this.trace(s)},"parseError"),parse:r(function(s){var h=this,l=[0],p=[],y=[null],c=[],k=this.table,x="",N=0,P=0,D=c.slice.call(arguments,1),b=Object.create(this.lexer),I={yy:{}};for(var M in this.yy)Object.prototype.hasOwnProperty.call(this.yy,M)&&(I.yy[M]=this.yy[M]);b.setInput(s,I.yy),I.yy.lexer=b,I.yy.parser=this,b.yylloc===void 0&&(b.yylloc={});var v=b.yylloc;c.push(v);var A=b.options&&b.options.ranges;function L(){var T;return typeof(T=p.pop()||b.lex()||1)!="number"&&(T instanceof Array&&(T=(p=T).pop()),T=h.symbols_[T]||T),T}typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,r(function(T){l.length=l.length-2*T,y.length=y.length-T,c.length=c.length-T},"popStack"),r(L,"lex");for(var w,E,S,Y,z,C,Z,B,O={};;){if(E=l[l.length-1],this.defaultActions[E]?S=this.defaultActions[E]:(w==null&&(w=L()),S=k[E]&&k[E][w]),S===void 0||!S.length||!S[0]){var J="";for(z in B=[],k[E])this.terminals_[z]&&z>2&&B.push("'"+this.terminals_[z]+"'");J=b.showPosition?"Parse error on line "+(N+1)+`:
2
2
  `+b.showPosition()+`
3
3
  Expecting `+B.join(", ")+", got '"+(this.terminals_[w]||w)+"'":"Parse error on line "+(N+1)+": Unexpected "+(w==1?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(J,{text:b.match,token:this.terminals_[w]||w,line:b.yylineno,loc:v,expected:B})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+E+", token: "+w);switch(S[0]){case 1:l.push(w),y.push(b.yytext),c.push(b.yylloc),l.push(S[1]),w=null,P=b.yyleng,x=b.yytext,N=b.yylineno,v=b.yylloc;break;case 2:if(C=this.productions_[S[1]][1],O.$=y[y.length-C],O._$={first_line:c[c.length-(C||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(C||1)].first_column,last_column:c[c.length-1].last_column},A&&(O._$.range=[c[c.length-(C||1)].range[0],c[c.length-1].range[1]]),(Y=this.performAction.apply(O,[x,P,N,I.yy,S[1],y,c].concat(D)))!==void 0)return Y;C&&(l=l.slice(0,-1*C*2),y=y.slice(0,-1*C),c=c.slice(0,-1*C)),l.push(this.productions_[S[1]][0]),y.push(O.$),c.push(O._$),Z=k[l[l.length-2]][l[l.length-1]],l.push(Z);break;case 3:return!0}}return!0},"parse")},_=function(){return{EOF:1,parseError:r(function(s,h){if(!this.yy.parser)throw new Error(s);this.yy.parser.parseError(s,h)},"parseError"),setInput:r(function(s,h){return this.yy=h||this.yy||{},this._input=s,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:r(function(){var s=this._input[0];return this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s,s.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:r(function(s){var h=s.length,l=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-h),this.offset-=h;var p=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var y=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===p.length?this.yylloc.first_column:0)+p[p.length-l.length].length-l[0].length:this.yylloc.first_column-h},this.options.ranges&&(this.yylloc.range=[y[0],y[0]+this.yyleng-h]),this.yyleng=this.yytext.length,this},"unput"),more:r(function(){return this._more=!0,this},"more"),reject:r(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:r(function(s){this.unput(this.match.slice(s))},"less"),pastInput:r(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:r(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:r(function(){var s=this.pastInput(),h=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-LDui_DKW.js","./VegaLite-BfjrBGac.js","./index-DpYhhLzu.js","./index-N-a4M2pk.css","./compile-y0UmeWVh.js","./time-D2CnPMNs.js","./timer-DFzT7np-.js","./linear-YQYldQWK.js","./init-DLRA0X12.js","./range-CtcPcB_L.js","./zoom-COrs4lFh.js","./ordinal-DDUp3AbE.js","./colors-bszWmPJw.js","./arc-Cuwikxov.js","./step-BwsUM5iJ.js","./index-HhtNixEL.js"])))=>i.map(i=>d[i]);
2
- import{u as Y,d as N,Z as O,_ as Z,U as G,Q as M,j as s,R as J,$ as K,a0 as W,a1 as V,a2 as X,V as ee,a3 as te,a4 as q,a5 as re,a6 as se,a7 as ie,__tla as oe}from"./index-DpYhhLzu.js";import{P as ae,C as le,f as A,E as ne,a as me,u as pe,__tla as ce}from"./edit-page-DayeaV0k.js";import{c as de}from"./compile-y0UmeWVh.js";import{r as ue,u as he,__tla as xe}from"./panels-Buz7lVEn.js";import{A as ge}from"./tree-oYVrYUyD.js";import{C as fe}from"./circle-play-yBKyttuA.js";import"./_createAggregator-coQPIe_h.js";import"./_baseEach-BgsFhYNH.js";import"./transform-Cyp0GDF-.js";import"./timer-DFzT7np-.js";import"./zoom-COrs4lFh.js";import"./sortBy-DgFiyrEp.js";import"./_baseMap-y2JytVMB.js";import"./time-D2CnPMNs.js";import"./linear-YQYldQWK.js";import"./init-DLRA0X12.js";import"./range-CtcPcB_L.js";import"./ordinal-DDUp3AbE.js";import"./colors-bszWmPJw.js";import"./arc-Cuwikxov.js";import"./step-BwsUM5iJ.js";import"./index-5V0a0Fsi.js";import"./index-BKyGKQu1.js";import"./index-CB57UYzx.js";import"./index-EuVlJMd6.js";import"./index-DuYMx10e.js";import"./index-9eZdKfNt.js";import"./index-Beet-zBO.js";import"./index-BEPTF51q.js";import"./index-lJLulgGp.js";import"./index-CQJQeUFV.js";import"./index-QSStW4ko.js";import"./index-CAC4HXLq.js";import"./index-CeNdpeTI.js";import"./apl-CXdQSnD-.js";import"./asciiarmor-D5V0T9Cu.js";import"./asterisk-B46aRdXb.js";import"./brainfuck-CtZaYBKt.js";import"./clike-BgBwzOhw.js";import"./cmake-DXn5xaP-.js";import"./cobol-stawOqaz.js";import"./coffeescript-BTDxI-eT.js";import"./commonlisp-vq6DHwts.js";import"./crystal-CRzZ78HM.js";import"./cypher-gJDei3ni.js";import"./d-BShv7fp-.js";import"./diff-UJJ5BM9S.js";import"./dockerfile-knGOOxt4.js";import"./simple-mode-C3vEBAcb.js";import"./dtd-DI9Herc-.js";import"./dylan-CHJ5qNM_.js";import"./ebnf-B-Df8AvO.js";import"./ecl-DPFc0Uaf.js";import"./eiffel-DR5c0IrL.js";import"./elm-D7xaZ7Da.js";import"./erlang-BuqgqA5h.js";import"./factor-CFXhaUWb.js";import"./fcl-CVaBTCzQ.js";import"./forth-Dri_5nFc.js";import"./fortran-DL7KluxX.js";import"./gas-5kEe4nk0.js";import"./gherkin-B6X1vGSW.js";import"./groovy-DnIzCrpZ.js";import"./haskell-CmdsSjFB.js";import"./haxe-D25e-2l-.js";import"./http-BKJkqRj4.js";import"./idl-pcmmZuaN.js";import"./jinja2-DhgKlfW7.js";import"./julia-DjdwvFuI.js";import"./livescript-HO6ttBFx.js";import"./lua-8DXOpKDz.js";import"./mathematica-IIbmv7SK.js";import"./mbox-z_N2Mo3d.js";import"./mirc-DkvFAiy5.js";import"./modelica-DSrSSXCg.js";import"./mscgen-B2igx18G.js";import"./mumps-zvxmGV4l.js";import"./nginx-B4hAVlXN.js";import"./nsis-BvKfQ9lQ.js";import"./ntriples-FFvkTduk.js";import"./octave-C4hdQ5Hf.js";import"./oz-qQq7irPq.js";import"./pascal-CafrKXZF.js";import"./perl-tdMlh9QA.js";import"./pig-CwGJVRC4.js";import"./powershell-D1ly3AHC.js";import"./properties-_nPj978X.js";import"./protobuf-B4y9do6W.js";import"./puppet-Bc-yJKzi.js";import"./q-B0kTJ4cI.js";import"./r-BA4EbLKE.js";import"./ruby-CR-u2WLS.js";import"./sas-Bqaci40L.js";import"./scheme-qjP0V5Ag.js";import"./shell-BLav31RL.js";import"./sieve-r025o_jW.js";import"./smalltalk-C7J3IyEP.js";import"./solr-78MBEUkU.js";import"./sparql-BRLJFz69.js";import"./spreadsheet-CGlWr0eM.js";import"./stylus-OdhglgkO.js";import"./swift-B_XXVlXX.js";import"./tcl-B2fODqDH.js";import"./textile-BuVhTOzU.js";import"./tiddlywiki-BgR6AEZu.js";import"./tiki-CI-ztowC.js";import"./toml-BQXy8elZ.js";import"./troff-Ce85hlLp.js";import"./ttcn-BxnYHtq8.js";import"./turtle-BkSuIpt-.js";import"./vb-BHgjm0DN.js";import"./vbscript-Dawdd5GZ.js";import"./velocity-BdD_26Jv.js";import"./verilog-B4LBqg_1.js";import"./vhdl-CWWH2SUo.js";import"./webidl-CGwyPRYs.js";import"./xquery-CVDBqZPY.js";import"./yacas-I8QjZlxf.js";import"./z80-D8p3gKXp.js";import"./index-HhtNixEL.js";let U,k,ve=Promise.all([(()=>{try{return oe}catch{}})(),(()=>{try{return ce}catch{}})(),(()=>{try{return xe}catch{}})()]).then(async()=>{const Q=Y("circle-ellipsis",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M17 12h.01",key:"1m0b6t"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M7 12h.01",key:"eqddd0"}]]),$="hoveredCellId",C="cellHover",R="startTimestamp",P="endTimestamp";let w,L,E,z,B,H,D,F;w=Z(new Map),U=()=>{const t=N.c(28),{runIds:e,runMap:r}=O(ue),l=O(w),{clearRuns:o}=he(),{theme:a}=G(),[i,u]=M.useState("above");let m;t[0]!==i?(m=()=>{u(i==="above"?"sideBySide":"above")},t[0]=i,t[1]=m):m=t[1];const x=m;if(e.length===0){let h;return t[2]===Symbol.for("react.memo_cache_sentinel")?(h=s.jsx(ae,{title:"No traces",description:s.jsx("span",{children:"Cells that have ran will appear here."}),icon:s.jsx(ge,{})}),t[2]=h):h=t[2],h}let d;t[3]===Symbol.for("react.memo_cache_sentinel")?(d=s.jsx("label",{htmlFor:"chartPosition",className:"text-xs",children:"Inline chart"}),t[3]=d):d=t[3];const p=i==="sideBySide";let g,c,y,f,v,I;if(t[4]!==p||t[5]!==x?(g=s.jsxs("div",{className:"flex flex-row gap-1 items-center",children:[d,s.jsx("input",{type:"checkbox",name:"chartPosition",id:"chartPosition",onClick:x,defaultChecked:p,className:"h-3 cursor-pointer"})]}),t[4]=p,t[5]=x,t[6]=g):g=t[6],t[7]!==o?(c=s.jsx(le,{dataTestId:"clear-traces-button",onClick:o}),t[7]=o,t[8]=c):c=t[8],t[9]!==g||t[10]!==c?(y=s.jsxs("div",{className:"flex flex-row justify-end gap-3",children:[g,c]}),t[9]=g,t[10]=c,t[11]=y):y=t[11],t[12]!==i||t[13]!==l||t[14]!==e||t[15]!==r||t[16]!==a){let h;t[18]!==i||t[19]!==l||t[20]!==r||t[21]!==a?(h=(S,n)=>{const j=r.get(S);if(j)return s.jsx(z,{run:j,isExpanded:l.get(j.runId),isMostRecentRun:n===0,chartPosition:i,theme:a},j.runId)},t[18]=i,t[19]=l,t[20]=r,t[21]=a,t[22]=h):h=t[22],f=e.map(h),t[12]=i,t[13]=l,t[14]=e,t[15]=r,t[16]=a,t[17]=f}else f=t[17];return t[23]!==f?(v=s.jsx("div",{className:"flex flex-col gap-3",children:f}),t[23]=f,t[24]=v):v=t[24],t[25]!==y||t[26]!==v?(I=s.jsxs("div",{className:"py-1 px-2 overflow-y-scroll",children:[y,v]}),t[25]=y,t[26]=v,t[27]=I):I=t[27],I},L=J.lazy(()=>K(()=>import("./index-LDui_DKW.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]),import.meta.url).then(t=>({default:t.Vega}))),E=t=>{const e=N.c(10),{ref:r,width:l}=pe(),o=l===void 0?300:l,a=t.theme==="dark"?"dark":void 0,i=o-50;let u,m;return e[0]!==t.height||e[1]!==t.signalListeners||e[2]!==t.vegaSpec||e[3]!==a||e[4]!==i?(u=s.jsx(L,{spec:t.vegaSpec,theme:a,width:i,height:t.height,signalListeners:t.signalListeners,actions:!1}),e[0]=t.height,e[1]=t.signalListeners,e[2]=t.vegaSpec,e[3]=a,e[4]=i,e[5]=u):u=e[5],e[6]!==t.className||e[7]!==r||e[8]!==u?(m=s.jsx("div",{className:t.className,ref:r,children:u}),e[6]=t.className,e[7]=r,e[8]=u,e[9]=m):m=e[9],m},z=({run:t,isMostRecentRun:e,chartPosition:r,isExpanded:l,theme:o})=>{const a=W(w),i=(l=l??e)?re:se,u=s.jsx(i,{height:16,className:"inline"}),m=s.jsxs("span",{className:"text-sm cursor-pointer",onClick:()=>{a(x=>{const d=new Map(x);return d.set(t.runId,!l),d})},children:["Run - ",V(t.runStartTime),u]});return l?s.jsx(B,{run:t,chartPosition:r,theme:o,title:m},t.runId):s.jsx("div",{className:"flex flex-col",children:s.jsx("pre",{className:"font-mono font-semibold",children:m})},t.runId)},B=t=>{const e=N.c(32),{run:r,chartPosition:l,theme:o,title:a}=t,[i,u]=M.useState();let m;e[0]===Symbol.for("react.memo_cache_sentinel")?(m={[C]:(S,n)=>{var b;const j=n,_=(b=j.cell)==null?void 0:b[0];u(_??null)}},e[0]=m):m=e[0];const x=m,d=X();let p,g;if(e[1]!==d||e[2]!==l||e[3]!==r.cellRuns||e[4]!==r.runId||e[5]!==o){const S=[...r.cellRuns.values()].map(n=>{const j=n.elapsedTime??0;return{cell:n.cellId,cellNum:d.inOrderIds.indexOf(n.cellId),startTimestamp:k(n.startTime),endTimestamp:k(n.startTime+j),elapsedTime:A(1e3*j),status:n.status}});p=`hiddenInputElement-${r.runId}`,g=de(function(n,j,_,b){return{$schema:"https://vega.github.io/schema/vega-lite/v5.json",background:b==="dark"?"black":void 0,mark:{type:"bar",cornerRadius:2},params:[{name:$,bind:{element:`#${j}`}},{name:C,select:{type:"point",on:"mouseover",fields:["cell"],clear:"mouseout"}}],height:{step:_==="above"?21:26},encoding:{y:{field:"cellNum",scale:{paddingInner:.2},sort:{field:R},title:"cell",axis:_==="sideBySide"?null:void 0},x:{field:R,type:"temporal",axis:{orient:"top",title:null}},x2:{field:P,type:"temporal"},tooltip:[{field:R,type:"temporal",timeUnit:"hoursminutessecondsmilliseconds",title:"Start"},{field:P,type:"temporal",timeUnit:"hoursminutessecondsmilliseconds",title:"End"}],size:{value:{expr:`${$} == toString(datum.cell) ? 19.5 : 18`}},color:{field:"status",scale:{domain:["success","error"],range:["#37BE5F","red"]},legend:null}},data:{values:n},config:{view:{stroke:"transparent"}}}}(S,p,l,o)),e[1]=d,e[2]=l,e[3]=r.cellRuns,e[4]=r.runId,e[5]=o,e[6]=p,e[7]=g}else p=e[6],g=e[7];const c=g.spec;let y;e[8]!==p||e[9]!==i||e[10]!==r?(y=s.jsx(H,{run:r,hoveredCellId:i,hiddenInputElementId:p}),e[8]=p,e[9]=i,e[10]=r,e[11]=y):y=e[11];const f=y;if(l==="above"){let S,n,j;return e[12]!==o||e[13]!==c?(S=s.jsx(E,{vegaSpec:c,height:120,signalListeners:x,theme:o}),e[12]=o,e[13]=c,e[14]=S):S=e[14],e[15]!==S||e[16]!==a||e[17]!==f?(n=s.jsxs("pre",{className:"font-mono font-semibold",children:[a,S,f]}),e[15]=S,e[16]=a,e[17]=f,e[18]=n):n=e[18],e[19]!==r.runId||e[20]!==n?(j=s.jsx("div",{className:"flex flex-col",children:n},r.runId),e[19]=r.runId,e[20]=n,e[21]=j):j=e[21],j}let v,I,h;return e[22]!==a||e[23]!==f?(v=s.jsxs("pre",{className:"font-mono font-semibold",children:[a,f]}),e[22]=a,e[23]=f,e[24]=v):v=e[24],e[25]!==o||e[26]!==c?(I=s.jsx(E,{className:"-mt-0.5 flex-1",vegaSpec:c,height:100,signalListeners:x,theme:o}),e[25]=o,e[26]=c,e[27]=I):I=e[27],e[28]!==r.runId||e[29]!==v||e[30]!==I?(h=s.jsxs("div",{className:"flex flex-row",children:[v,I]},r.runId),e[28]=r.runId,e[29]=v,e[30]=I,e[31]=h):h=e[31],h},H=t=>{const e=N.c(12),{run:r,hoveredCellId:l,hiddenInputElementId:o}=t,a=M.useRef(null);let i;e[0]===Symbol.for("react.memo_cache_sentinel")?(i=c=>{a.current&&(a.current.value=String(c),a.current.dispatchEvent(new Event("input",{bubbles:!0})))},e[0]=i):i=e[0];const u=i,m=l||"";let x,d,p,g;return e[1]!==o||e[2]!==m?(x=s.jsx("input",{type:"text",id:o,defaultValue:m,hidden:!0,ref:a}),e[1]=o,e[2]=m,e[3]=x):x=e[3],e[4]!==r.cellRuns?(d=[...r.cellRuns.values()],e[4]=r.cellRuns,e[5]=d):d=e[5],e[6]!==l||e[7]!==d?(p=d.map(c=>s.jsx(F,{cellRun:c,hovered:c.cellId===l,dispatchHoverEvent:u},c.cellId)),e[6]=l,e[7]=d,e[8]=p):p=e[8],e[9]!==x||e[10]!==p?(g=s.jsxs("div",{className:"text-xs mt-0.5 ml-3 flex flex-col gap-0.5",children:[x,p]}),e[9]=x,e[10]=p,e[11]=g):g=e[11],g},D={success:s.jsx(me,{color:"green",size:14}),running:s.jsx(fe,{color:"var(--blue-10)",size:14}),error:s.jsx(ie,{color:"red",size:14}),queued:s.jsx(Q,{color:"grey",size:14})},F=t=>{const e=N.c(39),{cellRun:r,hovered:l,dispatchHoverEvent:o}=t;let a;e[0]!==r.elapsedTime?(a=r.elapsedTime?A(1e3*r.elapsedTime):"-",e[0]=r.elapsedTime,e[1]=a):a=e[1];const i=a;let u;e[2]!==r.elapsedTime||e[3]!==i?(u=r.elapsedTime?s.jsxs("span",{children:["This cell took ",s.jsx(ne,{elapsedTime:i})," to run"]}):s.jsx("span",{children:"This cell has not been run"}),e[2]=r.elapsedTime,e[3]=i,e[4]=u):u=e[4];const m=u;let x;e[5]!==r.cellId||e[6]!==o?(x=()=>{o(r.cellId)},e[5]=r.cellId,e[6]=o,e[7]=x):x=e[7];const d=x;let p;e[8]!==o?(p=()=>{o(null)},e[8]=o,e[9]=p):p=e[9];const g=p,c=l&&"bg-[var(--gray-3)] opacity-100";let y,f,v,I,h,S,n;e[10]!==c?(y=ee("flex flex-row gap-2 py-1 px-1 opacity-70 hover:bg-[var(--gray-3)] hover:opacity-100",c),e[10]=c,e[11]=y):y=e[11],e[12]!==r.startTime?(f=V(r.startTime),e[12]=r.startTime,e[13]=f):f=e[13],e[14]!==f?(v=s.jsxs("span",{className:"text-[var(--gray-10)] dark:text-[var(--gray-11)]",children:["[",f,"]"]}),e[14]=f,e[15]=v):v=e[15],e[16]!==r.cellId?(I=s.jsxs("span",{className:"text-[var(--gray-10)] w-16",children:["(",s.jsx(te,{cellId:r.cellId}),")"]}),e[16]=r.cellId,e[17]=I):I=e[17],e[18]!==r.code?(h=s.jsx("span",{className:"w-40 truncate -ml-1",children:r.code}),e[18]=r.code,e[19]=h):h=e[19],e[20]!==i?(S=s.jsx("span",{className:"text-[var(--gray-10)] dark:text-[var(--gray-11)]",children:i}),e[20]=i,e[21]=S):S=e[21],e[22]!==m||e[23]!==S?(n=s.jsx(q,{content:m,children:S}),e[22]=m,e[23]=S,e[24]=n):n=e[24];const j=D[r.status];let _,b,T;return e[25]!==r.status||e[26]!==j?(_=s.jsx(q,{content:r.status,children:j}),e[25]=r.status,e[26]=j,e[27]=_):_=e[27],e[28]!==n||e[29]!==_?(b=s.jsxs("div",{className:"flex flex-row gap-1 w-16 justify-end -ml-2",children:[n,_]}),e[28]=n,e[29]=_,e[30]=b):b=e[30],e[31]!==d||e[32]!==g||e[33]!==h||e[34]!==b||e[35]!==y||e[36]!==v||e[37]!==I?(T=s.jsxs("div",{className:y,onMouseEnter:d,onMouseLeave:g,children:[v,I,h,b]}),e[31]=d,e[32]=g,e[33]=h,e[34]=b,e[35]=y,e[36]=v,e[37]=I,e[38]=T):T=e[38],T},k=function(t){try{const e=new Date(1e3*t),r=e.getFullYear(),l=String(e.getMonth()+1).padStart(2,"0"),o=String(e.getDate()).padStart(2,"0"),a=String(e.getHours()).padStart(2,"0"),i=String(e.getMinutes()).padStart(2,"0"),u=String(e.getSeconds()).padStart(2,"0");return`${r}-${l}-${o} ${a}:${i}:${u}.${String(e.getMilliseconds()).padStart(3,"0")}`}catch{return""}}});export{U as Tracing,ve as __tla,k as formatChartTime};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-1TMCGTdq.js","./VegaLite-DA7laRSp.js","./index-DNi4Z3De.js","./index-N-a4M2pk.css","./compile-SIrAH8hi.js","./time-f2pIL5jR.js","./timer-DFzT7np-.js","./linear-B2-wqLf8.js","./init-DLRA0X12.js","./range-CtcPcB_L.js","./zoom-COrs4lFh.js","./ordinal-DDUp3AbE.js","./colors-bszWmPJw.js","./arc-Cuwikxov.js","./step-BwsUM5iJ.js","./index-CrIZ0cCV.js"])))=>i.map(i=>d[i]);
2
+ import{u as Y,d as N,Z as O,_ as Z,U as G,Q as M,j as s,R as J,$ as K,a0 as W,a1 as V,a2 as X,V as ee,a3 as te,a4 as q,a5 as re,a6 as se,a7 as ie,__tla as oe}from"./index-DNi4Z3De.js";import{P as ae,C as le,f as A,E as ne,a as me,u as pe,__tla as ce}from"./edit-page-DHFTqQ--.js";import{c as de}from"./compile-SIrAH8hi.js";import{r as ue,u as he,__tla as xe}from"./panels-CEuAr52o.js";import{A as ge}from"./tree-aZhU-9uB.js";import{C as fe}from"./circle-play-CpE5KzR6.js";import"./_createAggregator-Dzi6-1s-.js";import"./_baseEach-BNYDFBTy.js";import"./transform-Cyp0GDF-.js";import"./timer-DFzT7np-.js";import"./zoom-COrs4lFh.js";import"./sortBy-BVhDQ8ms.js";import"./_baseMap-Cy_GPVHH.js";import"./time-f2pIL5jR.js";import"./linear-B2-wqLf8.js";import"./init-DLRA0X12.js";import"./range-CtcPcB_L.js";import"./ordinal-DDUp3AbE.js";import"./colors-bszWmPJw.js";import"./arc-Cuwikxov.js";import"./step-BwsUM5iJ.js";import"./index-DRnKPEvk.js";import"./index-Cq35sTJB.js";import"./index-DpgtHC_6.js";import"./index-7EbHfmXf.js";import"./index-kTSNPhQF.js";import"./index-rITHqn5V.js";import"./index-McKKoPVg.js";import"./index-YP4d6Q4O.js";import"./index-DBgT8VB9.js";import"./index-CAL_6IMD.js";import"./index-39jl-VdR.js";import"./index-CrQorFKP.js";import"./index-BrOmtqGs.js";import"./apl-CXdQSnD-.js";import"./asciiarmor-D5V0T9Cu.js";import"./asterisk-B46aRdXb.js";import"./brainfuck-CtZaYBKt.js";import"./clike-BgBwzOhw.js";import"./cmake-DXn5xaP-.js";import"./cobol-stawOqaz.js";import"./coffeescript-BTDxI-eT.js";import"./commonlisp-vq6DHwts.js";import"./crystal-CRzZ78HM.js";import"./cypher-gJDei3ni.js";import"./d-BShv7fp-.js";import"./diff-UJJ5BM9S.js";import"./dockerfile-knGOOxt4.js";import"./simple-mode-C3vEBAcb.js";import"./dtd-DI9Herc-.js";import"./dylan-CHJ5qNM_.js";import"./ebnf-B-Df8AvO.js";import"./ecl-DPFc0Uaf.js";import"./eiffel-DR5c0IrL.js";import"./elm-D7xaZ7Da.js";import"./erlang-BuqgqA5h.js";import"./factor-CFXhaUWb.js";import"./fcl-CVaBTCzQ.js";import"./forth-Dri_5nFc.js";import"./fortran-DL7KluxX.js";import"./gas-5kEe4nk0.js";import"./gherkin-B6X1vGSW.js";import"./groovy-DnIzCrpZ.js";import"./haskell-CmdsSjFB.js";import"./haxe-D25e-2l-.js";import"./http-BKJkqRj4.js";import"./idl-pcmmZuaN.js";import"./jinja2-DhgKlfW7.js";import"./julia-DjdwvFuI.js";import"./livescript-HO6ttBFx.js";import"./lua-8DXOpKDz.js";import"./mathematica-IIbmv7SK.js";import"./mbox-z_N2Mo3d.js";import"./mirc-DkvFAiy5.js";import"./modelica-DSrSSXCg.js";import"./mscgen-B2igx18G.js";import"./mumps-zvxmGV4l.js";import"./nginx-B4hAVlXN.js";import"./nsis-BvKfQ9lQ.js";import"./ntriples-FFvkTduk.js";import"./octave-C4hdQ5Hf.js";import"./oz-qQq7irPq.js";import"./pascal-CafrKXZF.js";import"./perl-tdMlh9QA.js";import"./pig-CwGJVRC4.js";import"./powershell-D1ly3AHC.js";import"./properties-_nPj978X.js";import"./protobuf-B4y9do6W.js";import"./puppet-Bc-yJKzi.js";import"./q-B0kTJ4cI.js";import"./r-BA4EbLKE.js";import"./ruby-CR-u2WLS.js";import"./sas-Bqaci40L.js";import"./scheme-qjP0V5Ag.js";import"./shell-BLav31RL.js";import"./sieve-r025o_jW.js";import"./smalltalk-C7J3IyEP.js";import"./solr-78MBEUkU.js";import"./sparql-BRLJFz69.js";import"./spreadsheet-CGlWr0eM.js";import"./stylus-OdhglgkO.js";import"./swift-B_XXVlXX.js";import"./tcl-B2fODqDH.js";import"./textile-BuVhTOzU.js";import"./tiddlywiki-BgR6AEZu.js";import"./tiki-CI-ztowC.js";import"./toml-BQXy8elZ.js";import"./troff-Ce85hlLp.js";import"./ttcn-BxnYHtq8.js";import"./turtle-BkSuIpt-.js";import"./vb-BHgjm0DN.js";import"./vbscript-Dawdd5GZ.js";import"./velocity-BdD_26Jv.js";import"./verilog-B4LBqg_1.js";import"./vhdl-CWWH2SUo.js";import"./webidl-CGwyPRYs.js";import"./xquery-CVDBqZPY.js";import"./yacas-I8QjZlxf.js";import"./z80-D8p3gKXp.js";import"./index-CrIZ0cCV.js";let U,k,ve=Promise.all([(()=>{try{return oe}catch{}})(),(()=>{try{return ce}catch{}})(),(()=>{try{return xe}catch{}})()]).then(async()=>{const Q=Y("circle-ellipsis",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M17 12h.01",key:"1m0b6t"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M7 12h.01",key:"eqddd0"}]]),$="hoveredCellId",C="cellHover",R="startTimestamp",P="endTimestamp";let w,L,E,z,B,H,D,F;w=Z(new Map),U=()=>{const t=N.c(28),{runIds:e,runMap:r}=O(ue),l=O(w),{clearRuns:o}=he(),{theme:a}=G(),[i,u]=M.useState("above");let m;t[0]!==i?(m=()=>{u(i==="above"?"sideBySide":"above")},t[0]=i,t[1]=m):m=t[1];const x=m;if(e.length===0){let h;return t[2]===Symbol.for("react.memo_cache_sentinel")?(h=s.jsx(ae,{title:"No traces",description:s.jsx("span",{children:"Cells that have ran will appear here."}),icon:s.jsx(ge,{})}),t[2]=h):h=t[2],h}let d;t[3]===Symbol.for("react.memo_cache_sentinel")?(d=s.jsx("label",{htmlFor:"chartPosition",className:"text-xs",children:"Inline chart"}),t[3]=d):d=t[3];const p=i==="sideBySide";let g,c,y,f,v,I;if(t[4]!==p||t[5]!==x?(g=s.jsxs("div",{className:"flex flex-row gap-1 items-center",children:[d,s.jsx("input",{type:"checkbox",name:"chartPosition",id:"chartPosition",onClick:x,defaultChecked:p,className:"h-3 cursor-pointer"})]}),t[4]=p,t[5]=x,t[6]=g):g=t[6],t[7]!==o?(c=s.jsx(le,{dataTestId:"clear-traces-button",onClick:o}),t[7]=o,t[8]=c):c=t[8],t[9]!==g||t[10]!==c?(y=s.jsxs("div",{className:"flex flex-row justify-end gap-3",children:[g,c]}),t[9]=g,t[10]=c,t[11]=y):y=t[11],t[12]!==i||t[13]!==l||t[14]!==e||t[15]!==r||t[16]!==a){let h;t[18]!==i||t[19]!==l||t[20]!==r||t[21]!==a?(h=(S,n)=>{const j=r.get(S);if(j)return s.jsx(z,{run:j,isExpanded:l.get(j.runId),isMostRecentRun:n===0,chartPosition:i,theme:a},j.runId)},t[18]=i,t[19]=l,t[20]=r,t[21]=a,t[22]=h):h=t[22],f=e.map(h),t[12]=i,t[13]=l,t[14]=e,t[15]=r,t[16]=a,t[17]=f}else f=t[17];return t[23]!==f?(v=s.jsx("div",{className:"flex flex-col gap-3",children:f}),t[23]=f,t[24]=v):v=t[24],t[25]!==y||t[26]!==v?(I=s.jsxs("div",{className:"py-1 px-2 overflow-y-scroll",children:[y,v]}),t[25]=y,t[26]=v,t[27]=I):I=t[27],I},L=J.lazy(()=>K(()=>import("./index-1TMCGTdq.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]),import.meta.url).then(t=>({default:t.Vega}))),E=t=>{const e=N.c(10),{ref:r,width:l}=pe(),o=l===void 0?300:l,a=t.theme==="dark"?"dark":void 0,i=o-50;let u,m;return e[0]!==t.height||e[1]!==t.signalListeners||e[2]!==t.vegaSpec||e[3]!==a||e[4]!==i?(u=s.jsx(L,{spec:t.vegaSpec,theme:a,width:i,height:t.height,signalListeners:t.signalListeners,actions:!1}),e[0]=t.height,e[1]=t.signalListeners,e[2]=t.vegaSpec,e[3]=a,e[4]=i,e[5]=u):u=e[5],e[6]!==t.className||e[7]!==r||e[8]!==u?(m=s.jsx("div",{className:t.className,ref:r,children:u}),e[6]=t.className,e[7]=r,e[8]=u,e[9]=m):m=e[9],m},z=({run:t,isMostRecentRun:e,chartPosition:r,isExpanded:l,theme:o})=>{const a=W(w),i=(l=l??e)?re:se,u=s.jsx(i,{height:16,className:"inline"}),m=s.jsxs("span",{className:"text-sm cursor-pointer",onClick:()=>{a(x=>{const d=new Map(x);return d.set(t.runId,!l),d})},children:["Run - ",V(t.runStartTime),u]});return l?s.jsx(B,{run:t,chartPosition:r,theme:o,title:m},t.runId):s.jsx("div",{className:"flex flex-col",children:s.jsx("pre",{className:"font-mono font-semibold",children:m})},t.runId)},B=t=>{const e=N.c(32),{run:r,chartPosition:l,theme:o,title:a}=t,[i,u]=M.useState();let m;e[0]===Symbol.for("react.memo_cache_sentinel")?(m={[C]:(S,n)=>{var b;const j=n,_=(b=j.cell)==null?void 0:b[0];u(_??null)}},e[0]=m):m=e[0];const x=m,d=X();let p,g;if(e[1]!==d||e[2]!==l||e[3]!==r.cellRuns||e[4]!==r.runId||e[5]!==o){const S=[...r.cellRuns.values()].map(n=>{const j=n.elapsedTime??0;return{cell:n.cellId,cellNum:d.inOrderIds.indexOf(n.cellId),startTimestamp:k(n.startTime),endTimestamp:k(n.startTime+j),elapsedTime:A(1e3*j),status:n.status}});p=`hiddenInputElement-${r.runId}`,g=de(function(n,j,_,b){return{$schema:"https://vega.github.io/schema/vega-lite/v5.json",background:b==="dark"?"black":void 0,mark:{type:"bar",cornerRadius:2},params:[{name:$,bind:{element:`#${j}`}},{name:C,select:{type:"point",on:"mouseover",fields:["cell"],clear:"mouseout"}}],height:{step:_==="above"?21:26},encoding:{y:{field:"cellNum",scale:{paddingInner:.2},sort:{field:R},title:"cell",axis:_==="sideBySide"?null:void 0},x:{field:R,type:"temporal",axis:{orient:"top",title:null}},x2:{field:P,type:"temporal"},tooltip:[{field:R,type:"temporal",timeUnit:"hoursminutessecondsmilliseconds",title:"Start"},{field:P,type:"temporal",timeUnit:"hoursminutessecondsmilliseconds",title:"End"}],size:{value:{expr:`${$} == toString(datum.cell) ? 19.5 : 18`}},color:{field:"status",scale:{domain:["success","error"],range:["#37BE5F","red"]},legend:null}},data:{values:n},config:{view:{stroke:"transparent"}}}}(S,p,l,o)),e[1]=d,e[2]=l,e[3]=r.cellRuns,e[4]=r.runId,e[5]=o,e[6]=p,e[7]=g}else p=e[6],g=e[7];const c=g.spec;let y;e[8]!==p||e[9]!==i||e[10]!==r?(y=s.jsx(H,{run:r,hoveredCellId:i,hiddenInputElementId:p}),e[8]=p,e[9]=i,e[10]=r,e[11]=y):y=e[11];const f=y;if(l==="above"){let S,n,j;return e[12]!==o||e[13]!==c?(S=s.jsx(E,{vegaSpec:c,height:120,signalListeners:x,theme:o}),e[12]=o,e[13]=c,e[14]=S):S=e[14],e[15]!==S||e[16]!==a||e[17]!==f?(n=s.jsxs("pre",{className:"font-mono font-semibold",children:[a,S,f]}),e[15]=S,e[16]=a,e[17]=f,e[18]=n):n=e[18],e[19]!==r.runId||e[20]!==n?(j=s.jsx("div",{className:"flex flex-col",children:n},r.runId),e[19]=r.runId,e[20]=n,e[21]=j):j=e[21],j}let v,I,h;return e[22]!==a||e[23]!==f?(v=s.jsxs("pre",{className:"font-mono font-semibold",children:[a,f]}),e[22]=a,e[23]=f,e[24]=v):v=e[24],e[25]!==o||e[26]!==c?(I=s.jsx(E,{className:"-mt-0.5 flex-1",vegaSpec:c,height:100,signalListeners:x,theme:o}),e[25]=o,e[26]=c,e[27]=I):I=e[27],e[28]!==r.runId||e[29]!==v||e[30]!==I?(h=s.jsxs("div",{className:"flex flex-row",children:[v,I]},r.runId),e[28]=r.runId,e[29]=v,e[30]=I,e[31]=h):h=e[31],h},H=t=>{const e=N.c(12),{run:r,hoveredCellId:l,hiddenInputElementId:o}=t,a=M.useRef(null);let i;e[0]===Symbol.for("react.memo_cache_sentinel")?(i=c=>{a.current&&(a.current.value=String(c),a.current.dispatchEvent(new Event("input",{bubbles:!0})))},e[0]=i):i=e[0];const u=i,m=l||"";let x,d,p,g;return e[1]!==o||e[2]!==m?(x=s.jsx("input",{type:"text",id:o,defaultValue:m,hidden:!0,ref:a}),e[1]=o,e[2]=m,e[3]=x):x=e[3],e[4]!==r.cellRuns?(d=[...r.cellRuns.values()],e[4]=r.cellRuns,e[5]=d):d=e[5],e[6]!==l||e[7]!==d?(p=d.map(c=>s.jsx(F,{cellRun:c,hovered:c.cellId===l,dispatchHoverEvent:u},c.cellId)),e[6]=l,e[7]=d,e[8]=p):p=e[8],e[9]!==x||e[10]!==p?(g=s.jsxs("div",{className:"text-xs mt-0.5 ml-3 flex flex-col gap-0.5",children:[x,p]}),e[9]=x,e[10]=p,e[11]=g):g=e[11],g},D={success:s.jsx(me,{color:"green",size:14}),running:s.jsx(fe,{color:"var(--blue-10)",size:14}),error:s.jsx(ie,{color:"red",size:14}),queued:s.jsx(Q,{color:"grey",size:14})},F=t=>{const e=N.c(39),{cellRun:r,hovered:l,dispatchHoverEvent:o}=t;let a;e[0]!==r.elapsedTime?(a=r.elapsedTime?A(1e3*r.elapsedTime):"-",e[0]=r.elapsedTime,e[1]=a):a=e[1];const i=a;let u;e[2]!==r.elapsedTime||e[3]!==i?(u=r.elapsedTime?s.jsxs("span",{children:["This cell took ",s.jsx(ne,{elapsedTime:i})," to run"]}):s.jsx("span",{children:"This cell has not been run"}),e[2]=r.elapsedTime,e[3]=i,e[4]=u):u=e[4];const m=u;let x;e[5]!==r.cellId||e[6]!==o?(x=()=>{o(r.cellId)},e[5]=r.cellId,e[6]=o,e[7]=x):x=e[7];const d=x;let p;e[8]!==o?(p=()=>{o(null)},e[8]=o,e[9]=p):p=e[9];const g=p,c=l&&"bg-[var(--gray-3)] opacity-100";let y,f,v,I,h,S,n;e[10]!==c?(y=ee("flex flex-row gap-2 py-1 px-1 opacity-70 hover:bg-[var(--gray-3)] hover:opacity-100",c),e[10]=c,e[11]=y):y=e[11],e[12]!==r.startTime?(f=V(r.startTime),e[12]=r.startTime,e[13]=f):f=e[13],e[14]!==f?(v=s.jsxs("span",{className:"text-[var(--gray-10)] dark:text-[var(--gray-11)]",children:["[",f,"]"]}),e[14]=f,e[15]=v):v=e[15],e[16]!==r.cellId?(I=s.jsxs("span",{className:"text-[var(--gray-10)] w-16",children:["(",s.jsx(te,{cellId:r.cellId}),")"]}),e[16]=r.cellId,e[17]=I):I=e[17],e[18]!==r.code?(h=s.jsx("span",{className:"w-40 truncate -ml-1",children:r.code}),e[18]=r.code,e[19]=h):h=e[19],e[20]!==i?(S=s.jsx("span",{className:"text-[var(--gray-10)] dark:text-[var(--gray-11)]",children:i}),e[20]=i,e[21]=S):S=e[21],e[22]!==m||e[23]!==S?(n=s.jsx(q,{content:m,children:S}),e[22]=m,e[23]=S,e[24]=n):n=e[24];const j=D[r.status];let _,b,T;return e[25]!==r.status||e[26]!==j?(_=s.jsx(q,{content:r.status,children:j}),e[25]=r.status,e[26]=j,e[27]=_):_=e[27],e[28]!==n||e[29]!==_?(b=s.jsxs("div",{className:"flex flex-row gap-1 w-16 justify-end -ml-2",children:[n,_]}),e[28]=n,e[29]=_,e[30]=b):b=e[30],e[31]!==d||e[32]!==g||e[33]!==h||e[34]!==b||e[35]!==y||e[36]!==v||e[37]!==I?(T=s.jsxs("div",{className:y,onMouseEnter:d,onMouseLeave:g,children:[v,I,h,b]}),e[31]=d,e[32]=g,e[33]=h,e[34]=b,e[35]=y,e[36]=v,e[37]=I,e[38]=T):T=e[38],T},k=function(t){try{const e=new Date(1e3*t),r=e.getFullYear(),l=String(e.getMonth()+1).padStart(2,"0"),o=String(e.getDate()).padStart(2,"0"),a=String(e.getHours()).padStart(2,"0"),i=String(e.getMinutes()).padStart(2,"0"),u=String(e.getSeconds()).padStart(2,"0");return`${r}-${l}-${o} ${a}:${i}:${u}.${String(e.getMilliseconds()).padStart(3,"0")}`}catch{return""}}});export{U as Tracing,ve as __tla,k as formatChartTime};
@@ -1,4 +1,4 @@
1
- import{cg as Qi,bq as Zi,u as Z,es as yn,R as Ue,d as J,ff as xn,j as s,a_ as Ji,as as qe,b7 as es,dS as et,a4 as It,fg as ts,Q as S,cD as ns,V as St,fh as rs,eh as tt,_ as Be,fi as is,fj as bn,aF as ss,fk as os,L as U,fl as as,fm as ls,fn as cs,fo as us,fp as Ae,fq as ds,fr as hs,ao as Me,fs,b2 as Ve,bg as nt,ft as ce,W as fe,dO as ps,eI as jn,ap as gs,an as ms,fu as vs,fv as we,fw as ys,fx as xs,fy as wn,fz as rt,fA as In,fB as bs,fC as it,fD as Y,fE as js,fF as ws,dp as Ot,f6 as Is,fG as kt,fH as Ss,fI as Os,fJ as Sn,fK as On,fL as ks,e6 as kn,Z as st,fM as Cs,fN as Ns,fO as Cn,fP as Ds,be as oe,fQ as Ts,fR as Nn,fS as Es,ah as Ct,fT as _s,fU as Ps,aj as Dn,ak as As,al as Ms,aT as Rs,fV as Tn,fW as Nt,a7 as Ls,fX as Fs,a$ as En,fY as Hs,fZ as be,E as zs,f_ as Us,f$ as ot,g0 as qs,g1 as Bs,g2 as Vs,a0 as Dt,f4 as Ws,g3 as Ks,g4 as _n,g5 as Gs,g6 as Pn,g7 as An,g8 as $s,g9 as T,ga as E,gb as N,gc as _,gd as P,ge as ue,gf as F,gg as Ys,bf as pe,gh as Xs,gi as Qs,dM as at,dF as Mn,bc as Zs,gj as Js,gk as eo,cj as Rn,gl as to,gm as no,eX as ro,gn as Ln,go as Fn,gp as io,gq as Hn,ai as so,gr as oo,gs as ao,gt as lo,gu as co,gv as uo}from"./index-DpYhhLzu.js";import{e as ho}from"./index-HhtNixEL.js";/**
1
+ import{cg as Qi,bq as Zi,u as Z,es as yn,R as Ue,d as J,ff as xn,j as s,a_ as Ji,as as qe,b7 as es,dS as et,a4 as It,fg as ts,Q as S,cD as ns,V as St,fh as rs,eh as tt,_ as Be,fi as is,fj as bn,aF as ss,fk as os,L as U,fl as as,fm as ls,fn as cs,fo as us,fp as Ae,fq as ds,fr as hs,ao as Me,fs,b2 as Ve,bg as nt,ft as ce,W as fe,dO as ps,eI as jn,ap as gs,an as ms,fu as vs,fv as we,fw as ys,fx as xs,fy as wn,fz as rt,fA as In,fB as bs,fC as it,fD as Y,fE as js,fF as ws,dp as Ot,f6 as Is,fG as kt,fH as Ss,fI as Os,fJ as Sn,fK as On,fL as ks,e6 as kn,Z as st,fM as Cs,fN as Ns,fO as Cn,fP as Ds,be as oe,fQ as Ts,fR as Nn,fS as Es,ah as Ct,fT as _s,fU as Ps,aj as Dn,ak as As,al as Ms,aT as Rs,fV as Tn,fW as Nt,a7 as Ls,fX as Fs,a$ as En,fY as Hs,fZ as be,E as zs,f_ as Us,f$ as ot,g0 as qs,g1 as Bs,g2 as Vs,a0 as Dt,f4 as Ws,g3 as Ks,g4 as _n,g5 as Gs,g6 as Pn,g7 as An,g8 as $s,g9 as T,ga as E,gb as N,gc as _,gd as P,ge as ue,gf as F,gg as Ys,bf as pe,gh as Xs,gi as Qs,dM as at,dF as Mn,bc as Zs,gj as Js,gk as eo,cj as Rn,gl as to,gm as no,eX as ro,gn as Ln,go as Fn,gp as io,gq as Hn,ai as so,gr as oo,gs as ao,gt as lo,gu as co,gv as uo}from"./index-DNi4Z3De.js";import{e as ho}from"./index-CrIZ0cCV.js";/**
2
2
  * @license lucide-react v0.503.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1 +1 @@
1
- import{bk as N,bl as F,bm as D,d as G,aT as W,bn as $,j as g,E as q,U as C,Q as j,bo as T,bp as A,bq as B,L as _,aI as V,br as Q,bs as R,bt as U,bu as J,a4 as X,bv as Y}from"./index-DpYhhLzu.js";import{M as y}from"./compile-y0UmeWVh.js";import{a as tt}from"./VegaLite-BfjrBGac.js";import"./time-D2CnPMNs.js";import"./timer-DFzT7np-.js";import"./linear-YQYldQWK.js";import"./init-DLRA0X12.js";import"./range-CtcPcB_L.js";import"./zoom-COrs4lFh.js";import"./ordinal-DDUp3AbE.js";import"./colors-bszWmPJw.js";import"./arc-Cuwikxov.js";import"./step-BwsUM5iJ.js";import"./index-HhtNixEL.js";const z=new Set(["boxplot","errorband","errorbar"]),S={getMarkType(t){const e=typeof t=="string"?t:t.type;if(z.has(e))throw new Error("Not supported");return e},isInteractive(t){const e=typeof t=="string"?t:t.type;return!z.has(e)},makeClickable(t){const e=typeof t=="string"?t:t.type;return e in y?typeof t=="string"?{type:t,cursor:"pointer",tooltip:!0}:{...t,type:e,cursor:"pointer",tooltip:!0}:t},getOpacity:t=>typeof t=="string"?null:"opacity"in t&&typeof t.opacity=="number"?t.opacity:null},et=new Set(["color","fill","fillOpacity","opacity","shape","size"]);function at(t,e,r,i){const u={and:r.map(d=>({param:d}))};if(t==="opacity"){const d=S.getOpacity(i)||1;return{...e,opacity:{condition:{test:u,value:d},value:d/5}}}return e}const w={point:t=>t==null?"select_point":`select_point_${t}`,interval:t=>t==null?"select_interval":`select_interval_${t}`,legendSelection:t=>`legend_selection_${t}`,HIGHLIGHT:"highlight",PAN_ZOOM:"pan_zoom",hasPoint:t=>t.some(e=>e.startsWith("select_point")),hasInterval:t=>t.some(e=>e.startsWith("select_interval")),hasLegend:t=>t.some(e=>e.startsWith("legend_selection")),hasPanZoom:t=>t.some(e=>e.startsWith("pan_zoom"))},P={highlight:()=>({name:w.HIGHLIGHT,select:{type:"point",on:"mouseover"}}),interval:(t,e)=>({name:w.interval(e),select:{type:"interval",encodings:K(t),mark:{fill:"#669EFF",fillOpacity:.07,stroke:"#669EFF",strokeOpacity:.4},on:"[mousedown[!event.metaKey], mouseup] > mousemove[!event.metaKey]",translate:"[mousedown[!event.metaKey], mouseup] > mousemove[!event.metaKey]"}}),point:(t,e)=>({name:w.point(e),select:{type:"point",encodings:K(t),on:"click[!event.metaKey]"}}),legend:t=>({name:w.legendSelection(t),select:{type:"point",fields:[t]},bind:"legend"}),panZoom:()=>({name:w.PAN_ZOOM,bind:"scales",select:{type:"interval",on:"[mousedown[event.metaKey], window:mouseup] > window:mousemove!",translate:"[mousedown[event.metaKey], window:mouseup] > window:mousemove!",zoom:"wheel![event.metaKey]"}})};function K(t){switch(S.getMarkType(t.mark)){case y.image:case y.trail:return;case y.area:case y.arc:return["color"];case y.bar:{const e=function(r){var d,l;if(!r||!("mark"in r))return;const i=(d=r.encoding)==null?void 0:d.x,u=(l=r.encoding)==null?void 0:l.y;if(i&&"type"in i&&i.type==="nominal")return"vertical";if(u&&"type"in u&&u.type==="nominal"||i&&"aggregate"in i)return"horizontal";if(u&&"aggregate"in u)return"vertical"}(t);return e==="horizontal"?["y"]:e==="vertical"?["x"]:void 0}case y.circle:case y.geoshape:case y.line:case y.point:case y.rect:case y.rule:case y.square:case y.text:case y.tick:return["x","y"]}}function Z(t){return"params"in t&&t.params&&t.params.length>0?t.params.filter(e=>e!=null&&"select"in e&&e.select!==void 0).map(e=>e.name):"layer"in t?[...new Set(t.layer.flatMap(Z))]:[]}function nt(t,e){var f,v;let{chartSelection:r=!0,fieldSelection:i=!0}=e;if(!r&&!i)return t;if(((f=t.params)==null?void 0:f.some(c=>c.bind==="legend"))&&(i=!1),((v=t.params)==null?void 0:v.some(c=>!c.bind))&&(r=!1),"vconcat"in t){const c=t.vconcat.map(o=>"mark"in o?O(o):o);return{...t,vconcat:c}}if("hconcat"in t){const c=t.hconcat.map(o=>"mark"in o?O(o):o);return{...t,hconcat:c}}if("layer"in t){const c=t.layer.map((o,p)=>{if(!("mark"in o))return o;let s=o;return s=L(s,r,p),s=O(s),p===0&&(s=H(s)),s});return{...t,layer:c}}if(!("mark"in t)||!S.isInteractive(t.mark))return t;let l=t;return l=function(c,o){if(o===!1)return c;let p=function(h){if(!h||!("encoding"in h))return[];const{encoding:x}=h;return x?Object.entries(x).flatMap(a=>{const[n,m]=a;return m&&et.has(n)?"field"in m&&typeof m.field=="string"?[m.field]:"condition"in m&&m.condition&&typeof m.condition=="object"&&"field"in m.condition&&m.condition.field&&typeof m.condition.field=="string"?[m.condition.field]:[]:[]}):[]}(c);Array.isArray(o)&&(p=p.filter(h=>o.includes(h)));const s=p.map(h=>P.legend(h)),b=[...c.params||[],...s];return{...c,params:b}}(l,i),l=L(l,r,void 0),l=O(l),l=H(l),l}function L(t,e,r){if(e===!1)return t;let i;try{i=S.getMarkType(t.mark)}catch{return t}if(i==="geoshape")return t;const u=e===!0?function(f){switch(f){case"arc":case"area":return["point"];case"text":case"bar":default:return["point","interval"];case"line":return}}(i):[e];if(!u)return t;const d=u.map(f=>f==="interval"?P.interval(t,r):P.point(t,r)),l=[...t.params||[],...d];return{...t,params:l}}function H(t){let e;try{e=S.getMarkType(t.mark)}catch{}if(e==="geoshape")return t;const r=t.params||[];return r.some(i=>i.bind==="scales")?t:{...t,params:[...r,P.panZoom()]}}function O(t){const e="encoding"in t?t.encoding:void 0,r=t.params||[],i=r.map(u=>u.name);return r.length===0?t:S.isInteractive(t.mark)?{...t,mark:S.makeClickable(t.mark),encoding:at("opacity",e||{},i,t.mark)}:t}function E(t){return(e=t,e!=null&&e.schema&&Array.isArray(e.schema.fields)&&typeof e.toArray=="function"?t:function(r){return D(r,{useProxy:!0})}(t)).toArray();var e}E.responseType="arrayBuffer",$("arrow",E);const rt=t=>{const e=G.c(11),{value:r,setValue:i,chartSelection:u,fieldSelection:d,spec:l}=t;let f,v;e[0]!==l?(f=async()=>async function(s){if(!s)return s;const b="datasets"in s?{...s.datasets}:{},h=async a=>{if(!a)return a;if("layer"in a){const k=await Promise.all(a.layer.map(h));a={...a,layer:k}}if("hconcat"in a){const k=await Promise.all(a.hconcat.map(h));a={...a,hconcat:k}}if("vconcat"in a){const k=await Promise.all(a.vconcat.map(h));a={...a,vconcat:k}}if("spec"in a&&(a={...a,spec:await h(a.spec)}),!a.data||!("url"in a.data))return a;let n;try{n=N(a.data.url)}catch{return a}const m=await F(n.href,a.data.format);return b[n.pathname]=m,{...a,data:{name:n.pathname}}},x=await h(s);return Object.keys(b).length===0?x:{...x,datasets:b}}(l),v=[l],e[0]=l,e[1]=f,e[2]=v):(f=e[1],v=e[2]);const{data:c,error:o}=W(f,v);if(o){let s;return e[3]!==o?(s=g.jsx(q,{error:o}),e[3]=o,e[4]=s):s=e[4],s}if(!c)return null;let p;return e[5]!==u||e[6]!==d||e[7]!==c||e[8]!==i||e[9]!==r?(p=g.jsx(it,{value:r,setValue:i,chartSelection:u,fieldSelection:d,spec:c}),e[5]=u,e[6]=d,e[7]=c,e[8]=i,e[9]=r,e[10]=p):p=e[10],p},it=({value:t,setValue:e,chartSelection:r,fieldSelection:i,spec:u})=>{const{theme:d}=C(),l=j.useRef(),[f,v]=j.useState(),c=T(u),o=j.useMemo(()=>nt(function(n){return n.data&&"url"in n.data&&(n.data.url=N(n.data.url).href),n}(c),{chartSelection:r,fieldSelection:i}),[c,r,i]),p=j.useMemo(()=>Z(o),[o]),s=A(n=>{e({...t,...n})}),b=T(p),h=j.useMemo(()=>b.reduce((n,m)=>(w.PAN_ZOOM===m||(n[m]=B((k,I)=>{_.debug("[Vega signal]",k,I);let M=V.mapValues(I,ct);M=V.mapValues(M,st),s({[k]:M})},100)),n),{}),[b,s]),x=A(n=>{_.error(n),_.debug(o),v(n)}),a=A(n=>{_.debug("[Vega view] created",n),l.current=n,v(void 0)});return g.jsxs(g.Fragment,{children:[f&&g.jsxs(Q,{variant:"destructive",children:[g.jsx(R,{children:f.message}),g.jsx("div",{className:"text-md",children:f.stack})]}),g.jsxs("div",{className:"relative",onPointerDown:U.stopPropagation(),children:[g.jsx(tt,{spec:o,theme:d==="dark"?"dark":void 0,actions:ot,signalListeners:h,onError:x,onNewView:a}),(()=>{const n=[];return w.hasPoint(p)&&n.push(["Point selection","click to select a point; hold shift for multi-select"]),w.hasInterval(p)&&n.push(["Interval selection","click and drag to select an interval"]),w.hasLegend(p)&&n.push(["Legend selection","click to select a legend item; hold shift for multi-select"]),w.hasPanZoom(p)&&n.push(["Pan","hold the meta key and drag"],["Zoom","hold the meta key and scroll"]),n.length===0?null:g.jsx(X,{delayDuration:300,side:"left",content:g.jsx("div",{className:"text-xs flex flex-col",children:n.map((m,k)=>g.jsxs("div",{children:[g.jsxs("span",{className:"font-bold tracking-wide",children:[m[0],":"]})," ",m[1]]},k))}),children:g.jsx(Y,{className:"absolute bottom-1 right-0 m-2 h-4 w-4 cursor-help text-muted-foreground hover:text-foreground"})})})()]})]})},ot={source:!1,compiled:!1};function st(t){return t instanceof Set?[...t]:t}function ct(t){return Array.isArray(t)?t.map(e=>e instanceof Date&&J(e)?new Date(e).getTime():e):t}export{rt as default};
1
+ import{bk as N,bl as F,bm as D,d as G,aT as W,bn as $,j as g,E as q,U as C,Q as j,bo as T,bp as A,bq as B,L as _,aI as V,br as Q,bs as R,bt as U,bu as J,a4 as X,bv as Y}from"./index-DNi4Z3De.js";import{M as y}from"./compile-SIrAH8hi.js";import{a as tt}from"./VegaLite-DA7laRSp.js";import"./time-f2pIL5jR.js";import"./timer-DFzT7np-.js";import"./linear-B2-wqLf8.js";import"./init-DLRA0X12.js";import"./range-CtcPcB_L.js";import"./zoom-COrs4lFh.js";import"./ordinal-DDUp3AbE.js";import"./colors-bszWmPJw.js";import"./arc-Cuwikxov.js";import"./step-BwsUM5iJ.js";import"./index-CrIZ0cCV.js";const z=new Set(["boxplot","errorband","errorbar"]),S={getMarkType(t){const e=typeof t=="string"?t:t.type;if(z.has(e))throw new Error("Not supported");return e},isInteractive(t){const e=typeof t=="string"?t:t.type;return!z.has(e)},makeClickable(t){const e=typeof t=="string"?t:t.type;return e in y?typeof t=="string"?{type:t,cursor:"pointer",tooltip:!0}:{...t,type:e,cursor:"pointer",tooltip:!0}:t},getOpacity:t=>typeof t=="string"?null:"opacity"in t&&typeof t.opacity=="number"?t.opacity:null},et=new Set(["color","fill","fillOpacity","opacity","shape","size"]);function at(t,e,r,i){const u={and:r.map(d=>({param:d}))};if(t==="opacity"){const d=S.getOpacity(i)||1;return{...e,opacity:{condition:{test:u,value:d},value:d/5}}}return e}const w={point:t=>t==null?"select_point":`select_point_${t}`,interval:t=>t==null?"select_interval":`select_interval_${t}`,legendSelection:t=>`legend_selection_${t}`,HIGHLIGHT:"highlight",PAN_ZOOM:"pan_zoom",hasPoint:t=>t.some(e=>e.startsWith("select_point")),hasInterval:t=>t.some(e=>e.startsWith("select_interval")),hasLegend:t=>t.some(e=>e.startsWith("legend_selection")),hasPanZoom:t=>t.some(e=>e.startsWith("pan_zoom"))},P={highlight:()=>({name:w.HIGHLIGHT,select:{type:"point",on:"mouseover"}}),interval:(t,e)=>({name:w.interval(e),select:{type:"interval",encodings:K(t),mark:{fill:"#669EFF",fillOpacity:.07,stroke:"#669EFF",strokeOpacity:.4},on:"[mousedown[!event.metaKey], mouseup] > mousemove[!event.metaKey]",translate:"[mousedown[!event.metaKey], mouseup] > mousemove[!event.metaKey]"}}),point:(t,e)=>({name:w.point(e),select:{type:"point",encodings:K(t),on:"click[!event.metaKey]"}}),legend:t=>({name:w.legendSelection(t),select:{type:"point",fields:[t]},bind:"legend"}),panZoom:()=>({name:w.PAN_ZOOM,bind:"scales",select:{type:"interval",on:"[mousedown[event.metaKey], window:mouseup] > window:mousemove!",translate:"[mousedown[event.metaKey], window:mouseup] > window:mousemove!",zoom:"wheel![event.metaKey]"}})};function K(t){switch(S.getMarkType(t.mark)){case y.image:case y.trail:return;case y.area:case y.arc:return["color"];case y.bar:{const e=function(r){var d,l;if(!r||!("mark"in r))return;const i=(d=r.encoding)==null?void 0:d.x,u=(l=r.encoding)==null?void 0:l.y;if(i&&"type"in i&&i.type==="nominal")return"vertical";if(u&&"type"in u&&u.type==="nominal"||i&&"aggregate"in i)return"horizontal";if(u&&"aggregate"in u)return"vertical"}(t);return e==="horizontal"?["y"]:e==="vertical"?["x"]:void 0}case y.circle:case y.geoshape:case y.line:case y.point:case y.rect:case y.rule:case y.square:case y.text:case y.tick:return["x","y"]}}function Z(t){return"params"in t&&t.params&&t.params.length>0?t.params.filter(e=>e!=null&&"select"in e&&e.select!==void 0).map(e=>e.name):"layer"in t?[...new Set(t.layer.flatMap(Z))]:[]}function nt(t,e){var f,v;let{chartSelection:r=!0,fieldSelection:i=!0}=e;if(!r&&!i)return t;if(((f=t.params)==null?void 0:f.some(c=>c.bind==="legend"))&&(i=!1),((v=t.params)==null?void 0:v.some(c=>!c.bind))&&(r=!1),"vconcat"in t){const c=t.vconcat.map(o=>"mark"in o?O(o):o);return{...t,vconcat:c}}if("hconcat"in t){const c=t.hconcat.map(o=>"mark"in o?O(o):o);return{...t,hconcat:c}}if("layer"in t){const c=t.layer.map((o,p)=>{if(!("mark"in o))return o;let s=o;return s=L(s,r,p),s=O(s),p===0&&(s=H(s)),s});return{...t,layer:c}}if(!("mark"in t)||!S.isInteractive(t.mark))return t;let l=t;return l=function(c,o){if(o===!1)return c;let p=function(h){if(!h||!("encoding"in h))return[];const{encoding:x}=h;return x?Object.entries(x).flatMap(a=>{const[n,m]=a;return m&&et.has(n)?"field"in m&&typeof m.field=="string"?[m.field]:"condition"in m&&m.condition&&typeof m.condition=="object"&&"field"in m.condition&&m.condition.field&&typeof m.condition.field=="string"?[m.condition.field]:[]:[]}):[]}(c);Array.isArray(o)&&(p=p.filter(h=>o.includes(h)));const s=p.map(h=>P.legend(h)),b=[...c.params||[],...s];return{...c,params:b}}(l,i),l=L(l,r,void 0),l=O(l),l=H(l),l}function L(t,e,r){if(e===!1)return t;let i;try{i=S.getMarkType(t.mark)}catch{return t}if(i==="geoshape")return t;const u=e===!0?function(f){switch(f){case"arc":case"area":return["point"];case"text":case"bar":default:return["point","interval"];case"line":return}}(i):[e];if(!u)return t;const d=u.map(f=>f==="interval"?P.interval(t,r):P.point(t,r)),l=[...t.params||[],...d];return{...t,params:l}}function H(t){let e;try{e=S.getMarkType(t.mark)}catch{}if(e==="geoshape")return t;const r=t.params||[];return r.some(i=>i.bind==="scales")?t:{...t,params:[...r,P.panZoom()]}}function O(t){const e="encoding"in t?t.encoding:void 0,r=t.params||[],i=r.map(u=>u.name);return r.length===0?t:S.isInteractive(t.mark)?{...t,mark:S.makeClickable(t.mark),encoding:at("opacity",e||{},i,t.mark)}:t}function E(t){return(e=t,e!=null&&e.schema&&Array.isArray(e.schema.fields)&&typeof e.toArray=="function"?t:function(r){return D(r,{useProxy:!0})}(t)).toArray();var e}E.responseType="arrayBuffer",$("arrow",E);const rt=t=>{const e=G.c(11),{value:r,setValue:i,chartSelection:u,fieldSelection:d,spec:l}=t;let f,v;e[0]!==l?(f=async()=>async function(s){if(!s)return s;const b="datasets"in s?{...s.datasets}:{},h=async a=>{if(!a)return a;if("layer"in a){const k=await Promise.all(a.layer.map(h));a={...a,layer:k}}if("hconcat"in a){const k=await Promise.all(a.hconcat.map(h));a={...a,hconcat:k}}if("vconcat"in a){const k=await Promise.all(a.vconcat.map(h));a={...a,vconcat:k}}if("spec"in a&&(a={...a,spec:await h(a.spec)}),!a.data||!("url"in a.data))return a;let n;try{n=N(a.data.url)}catch{return a}const m=await F(n.href,a.data.format);return b[n.pathname]=m,{...a,data:{name:n.pathname}}},x=await h(s);return Object.keys(b).length===0?x:{...x,datasets:b}}(l),v=[l],e[0]=l,e[1]=f,e[2]=v):(f=e[1],v=e[2]);const{data:c,error:o}=W(f,v);if(o){let s;return e[3]!==o?(s=g.jsx(q,{error:o}),e[3]=o,e[4]=s):s=e[4],s}if(!c)return null;let p;return e[5]!==u||e[6]!==d||e[7]!==c||e[8]!==i||e[9]!==r?(p=g.jsx(it,{value:r,setValue:i,chartSelection:u,fieldSelection:d,spec:c}),e[5]=u,e[6]=d,e[7]=c,e[8]=i,e[9]=r,e[10]=p):p=e[10],p},it=({value:t,setValue:e,chartSelection:r,fieldSelection:i,spec:u})=>{const{theme:d}=C(),l=j.useRef(),[f,v]=j.useState(),c=T(u),o=j.useMemo(()=>nt(function(n){return n.data&&"url"in n.data&&(n.data.url=N(n.data.url).href),n}(c),{chartSelection:r,fieldSelection:i}),[c,r,i]),p=j.useMemo(()=>Z(o),[o]),s=A(n=>{e({...t,...n})}),b=T(p),h=j.useMemo(()=>b.reduce((n,m)=>(w.PAN_ZOOM===m||(n[m]=B((k,I)=>{_.debug("[Vega signal]",k,I);let M=V.mapValues(I,ct);M=V.mapValues(M,st),s({[k]:M})},100)),n),{}),[b,s]),x=A(n=>{_.error(n),_.debug(o),v(n)}),a=A(n=>{_.debug("[Vega view] created",n),l.current=n,v(void 0)});return g.jsxs(g.Fragment,{children:[f&&g.jsxs(Q,{variant:"destructive",children:[g.jsx(R,{children:f.message}),g.jsx("div",{className:"text-md",children:f.stack})]}),g.jsxs("div",{className:"relative",onPointerDown:U.stopPropagation(),children:[g.jsx(tt,{spec:o,theme:d==="dark"?"dark":void 0,actions:ot,signalListeners:h,onError:x,onNewView:a}),(()=>{const n=[];return w.hasPoint(p)&&n.push(["Point selection","click to select a point; hold shift for multi-select"]),w.hasInterval(p)&&n.push(["Interval selection","click and drag to select an interval"]),w.hasLegend(p)&&n.push(["Legend selection","click to select a legend item; hold shift for multi-select"]),w.hasPanZoom(p)&&n.push(["Pan","hold the meta key and drag"],["Zoom","hold the meta key and scroll"]),n.length===0?null:g.jsx(X,{delayDuration:300,side:"left",content:g.jsx("div",{className:"text-xs flex flex-col",children:n.map((m,k)=>g.jsxs("div",{children:[g.jsxs("span",{className:"font-bold tracking-wide",children:[m[0],":"]})," ",m[1]]},k))}),children:g.jsx(Y,{className:"absolute bottom-1 right-0 m-2 h-4 w-4 cursor-help text-muted-foreground hover:text-foreground"})})})()]})]})},ot={source:!1,compiled:!1};function st(t){return t instanceof Set?[...t]:t}function ct(t){return Array.isArray(t)?t.map(e=>e instanceof Date&&J(e)?new Date(e).getTime():e):t}export{rt as default};
@@ -1,4 +1,4 @@
1
- var F,N,V,X,Y,U,H,G,j,Q;import{_ as a,s as ai,g as hi,q as Mt,p as oi,a as ri,b as li,l as It,I as ci,d as gi,y as ui,F as ut,E as $t,G as xi,L as di,h as pi,a8 as fi}from"./mermaid-HbPjrk5r.js";import"./transform-Cyp0GDF-.js";import{i as mi}from"./init-DLRA0X12.js";import{o as yi}from"./ordinal-DDUp3AbE.js";import{r as bi}from"./range-CtcPcB_L.js";import{l as Bt}from"./linear-YQYldQWK.js";import{l as zt}from"./step-BwsUM5iJ.js";import"./index-DpYhhLzu.js";import"./timer-DFzT7np-.js";function xt(){var e,t,i=yi().unknown(void 0),s=i.domain,n=i.range,r=0,l=1,d=!1,x=0,_=0,T=.5;function S(){var m=s().length,D=l<r,C=D?l:r,L=D?r:l;e=(L-C)/Math.max(1,m-x+2*_),d&&(e=Math.floor(e)),C+=(L-C-e*(m-x))*T,t=e*(1-x),d&&(C=Math.round(C),t=Math.round(t));var f=bi(m).map(function(k){return C+e*k});return n(D?f.reverse():f)}return delete i.unknown,i.domain=function(m){return arguments.length?(s(m),S()):s()},i.range=function(m){return arguments.length?([r,l]=m,r=+r,l=+l,S()):[r,l]},i.rangeRound=function(m){return[r,l]=m,r=+r,l=+l,d=!0,S()},i.bandwidth=function(){return t},i.step=function(){return e},i.round=function(m){return arguments.length?(d=!!m,S()):d},i.padding=function(m){return arguments.length?(x=Math.min(1,_=+m),S()):x},i.paddingInner=function(m){return arguments.length?(x=Math.min(1,m),S()):x},i.paddingOuter=function(m){return arguments.length?(_=+m,S()):_},i.align=function(m){return arguments.length?(T=Math.max(0,Math.min(1,m)),S()):T},i.copy=function(){return xt(s(),[r,l]).round(d).paddingInner(x).paddingOuter(_).align(T)},mi.apply(S(),arguments)}var dt=function(){var e=a(function(o,b,g,u){for(g=g||{},u=o.length;u--;g[o[u]]=b);return g},"o"),t=[1,10,12,14,16,18,19,21,23],i=[2,6],s=[1,3],n=[1,5],r=[1,6],l=[1,7],d=[1,5,10,12,14,16,18,19,21,23,34,35,36],x=[1,25],_=[1,26],T=[1,28],S=[1,29],m=[1,30],D=[1,31],C=[1,32],L=[1,33],f=[1,34],k=[1,35],c=[1,36],v=[1,37],K=[1,43],_t=[1,42],Tt=[1,47],tt=[1,50],w=[1,10,12,14,16,18,19,21,23,34,35,36],rt=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],E=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],Rt=[1,64],lt={trace:a(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:a(function(o,b,g,u,A,h,q){var p=h.length-1;switch(A){case 5:u.setOrientation(h[p]);break;case 9:u.setDiagramTitle(h[p].text.trim());break;case 12:u.setLineData({text:"",type:"text"},h[p]);break;case 13:u.setLineData(h[p-1],h[p]);break;case 14:u.setBarData({text:"",type:"text"},h[p]);break;case 15:u.setBarData(h[p-1],h[p]);break;case 16:this.$=h[p].trim(),u.setAccTitle(this.$);break;case 17:case 18:this.$=h[p].trim(),u.setAccDescription(this.$);break;case 19:case 27:this.$=h[p-1];break;case 20:this.$=[Number(h[p-2]),...h[p]];break;case 21:this.$=[Number(h[p])];break;case 22:u.setXAxisTitle(h[p]);break;case 23:u.setXAxisTitle(h[p-1]);break;case 24:u.setXAxisTitle({type:"text",text:""});break;case 25:u.setXAxisBand(h[p]);break;case 26:u.setXAxisRangeData(Number(h[p-2]),Number(h[p]));break;case 28:this.$=[h[p-2],...h[p]];break;case 29:this.$=[h[p]];break;case 30:u.setYAxisTitle(h[p]);break;case 31:u.setYAxisTitle(h[p-1]);break;case 32:u.setYAxisTitle({type:"text",text:""});break;case 33:u.setYAxisRangeData(Number(h[p-2]),Number(h[p]));break;case 37:case 38:this.$={text:h[p],type:"text"};break;case 39:this.$={text:h[p],type:"markdown"};break;case 40:this.$=h[p];break;case 41:this.$=h[p-1]+""+h[p]}},"anonymous"),table:[e(t,i,{3:1,4:2,7:4,5:s,34:n,35:r,36:l}),{1:[3]},e(t,i,{4:2,7:4,3:8,5:s,34:n,35:r,36:l}),e(t,i,{4:2,7:4,6:9,3:10,5:s,8:[1,11],34:n,35:r,36:l}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},e(d,[2,34]),e(d,[2,35]),e(d,[2,36]),{1:[2,1]},e(t,i,{4:2,7:4,3:21,5:s,34:n,35:r,36:l}),{1:[2,3]},e(d,[2,5]),e(t,[2,7],{4:22,34:n,35:r,36:l}),{11:23,37:24,38:x,39:_,40:27,41:T,42:S,43:m,44:D,45:C,46:L,47:f,48:k,49:c,50:v},{11:39,13:38,24:K,27:_t,29:40,30:41,37:24,38:x,39:_,40:27,41:T,42:S,43:m,44:D,45:C,46:L,47:f,48:k,49:c,50:v},{11:45,15:44,27:Tt,33:46,37:24,38:x,39:_,40:27,41:T,42:S,43:m,44:D,45:C,46:L,47:f,48:k,49:c,50:v},{11:49,17:48,24:tt,37:24,38:x,39:_,40:27,41:T,42:S,43:m,44:D,45:C,46:L,47:f,48:k,49:c,50:v},{11:52,17:51,24:tt,37:24,38:x,39:_,40:27,41:T,42:S,43:m,44:D,45:C,46:L,47:f,48:k,49:c,50:v},{20:[1,53]},{22:[1,54]},e(w,[2,18]),{1:[2,2]},e(w,[2,8]),e(w,[2,9]),e(rt,[2,37],{40:55,41:T,42:S,43:m,44:D,45:C,46:L,47:f,48:k,49:c,50:v}),e(rt,[2,38]),e(rt,[2,39]),e(E,[2,40]),e(E,[2,42]),e(E,[2,43]),e(E,[2,44]),e(E,[2,45]),e(E,[2,46]),e(E,[2,47]),e(E,[2,48]),e(E,[2,49]),e(E,[2,50]),e(E,[2,51]),e(w,[2,10]),e(w,[2,22],{30:41,29:56,24:K,27:_t}),e(w,[2,24]),e(w,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:x,39:_,40:27,41:T,42:S,43:m,44:D,45:C,46:L,47:f,48:k,49:c,50:v},e(w,[2,11]),e(w,[2,30],{33:60,27:Tt}),e(w,[2,32]),{31:[1,61]},e(w,[2,12]),{17:62,24:tt},{25:63,27:Rt},e(w,[2,14]),{17:65,24:tt},e(w,[2,16]),e(w,[2,17]),e(E,[2,41]),e(w,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},e(w,[2,31]),{27:[1,69]},e(w,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},e(w,[2,15]),e(w,[2,26]),e(w,[2,27]),{11:59,32:72,37:24,38:x,39:_,40:27,41:T,42:S,43:m,44:D,45:C,46:L,47:f,48:k,49:c,50:v},e(w,[2,33]),e(w,[2,19]),{25:73,27:Rt},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:a(function(o,b){if(!b.recoverable){var g=new Error(o);throw g.hash=b,g}this.trace(o)},"parseError"),parse:a(function(o){var b=this,g=[0],u=[],A=[null],h=[],q=this.table,p="",et=0,Dt=0,si=h.slice.call(arguments,1),R=Object.create(this.lexer),B={yy:{}};for(var ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ct)&&(B.yy[ct]=this.yy[ct]);R.setInput(o,B.yy),B.yy.lexer=R,B.yy.parser=this,R.yylloc===void 0&&(R.yylloc={});var gt=R.yylloc;h.push(gt);var ni=R.options&&R.options.ranges;function Lt(){var I;return typeof(I=u.pop()||R.lex()||1)!="number"&&(I instanceof Array&&(I=(u=I).pop()),I=b.symbols_[I]||I),I}typeof B.yy.parseError=="function"?this.parseError=B.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,a(function(I){g.length=g.length-2*I,A.length=A.length-I,h.length=h.length-I},"popStack"),a(Lt,"lex");for(var P,z,M,Pt,st,$,vt,nt,O={};;){if(z=g[g.length-1],this.defaultActions[z]?M=this.defaultActions[z]:(P==null&&(P=Lt()),M=q[z]&&q[z][P]),M===void 0||!M.length||!M[0]){var Et="";for(st in nt=[],q[z])this.terminals_[st]&&st>2&&nt.push("'"+this.terminals_[st]+"'");Et=R.showPosition?"Parse error on line "+(et+1)+`:
1
+ var F,N,V,X,Y,U,H,G,j,Q;import{_ as a,s as ai,g as hi,q as Mt,p as oi,a as ri,b as li,l as It,I as ci,d as gi,y as ui,F as ut,E as $t,G as xi,L as di,h as pi,a8 as fi}from"./mermaid-B4oRaSKf.js";import"./transform-Cyp0GDF-.js";import{i as mi}from"./init-DLRA0X12.js";import{o as yi}from"./ordinal-DDUp3AbE.js";import{r as bi}from"./range-CtcPcB_L.js";import{l as Bt}from"./linear-B2-wqLf8.js";import{l as zt}from"./step-BwsUM5iJ.js";import"./index-DNi4Z3De.js";import"./timer-DFzT7np-.js";function xt(){var e,t,i=yi().unknown(void 0),s=i.domain,n=i.range,r=0,l=1,d=!1,x=0,_=0,T=.5;function S(){var m=s().length,D=l<r,C=D?l:r,L=D?r:l;e=(L-C)/Math.max(1,m-x+2*_),d&&(e=Math.floor(e)),C+=(L-C-e*(m-x))*T,t=e*(1-x),d&&(C=Math.round(C),t=Math.round(t));var f=bi(m).map(function(k){return C+e*k});return n(D?f.reverse():f)}return delete i.unknown,i.domain=function(m){return arguments.length?(s(m),S()):s()},i.range=function(m){return arguments.length?([r,l]=m,r=+r,l=+l,S()):[r,l]},i.rangeRound=function(m){return[r,l]=m,r=+r,l=+l,d=!0,S()},i.bandwidth=function(){return t},i.step=function(){return e},i.round=function(m){return arguments.length?(d=!!m,S()):d},i.padding=function(m){return arguments.length?(x=Math.min(1,_=+m),S()):x},i.paddingInner=function(m){return arguments.length?(x=Math.min(1,m),S()):x},i.paddingOuter=function(m){return arguments.length?(_=+m,S()):_},i.align=function(m){return arguments.length?(T=Math.max(0,Math.min(1,m)),S()):T},i.copy=function(){return xt(s(),[r,l]).round(d).paddingInner(x).paddingOuter(_).align(T)},mi.apply(S(),arguments)}var dt=function(){var e=a(function(o,b,g,u){for(g=g||{},u=o.length;u--;g[o[u]]=b);return g},"o"),t=[1,10,12,14,16,18,19,21,23],i=[2,6],s=[1,3],n=[1,5],r=[1,6],l=[1,7],d=[1,5,10,12,14,16,18,19,21,23,34,35,36],x=[1,25],_=[1,26],T=[1,28],S=[1,29],m=[1,30],D=[1,31],C=[1,32],L=[1,33],f=[1,34],k=[1,35],c=[1,36],v=[1,37],K=[1,43],_t=[1,42],Tt=[1,47],tt=[1,50],w=[1,10,12,14,16,18,19,21,23,34,35,36],rt=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],E=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],Rt=[1,64],lt={trace:a(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:a(function(o,b,g,u,A,h,q){var p=h.length-1;switch(A){case 5:u.setOrientation(h[p]);break;case 9:u.setDiagramTitle(h[p].text.trim());break;case 12:u.setLineData({text:"",type:"text"},h[p]);break;case 13:u.setLineData(h[p-1],h[p]);break;case 14:u.setBarData({text:"",type:"text"},h[p]);break;case 15:u.setBarData(h[p-1],h[p]);break;case 16:this.$=h[p].trim(),u.setAccTitle(this.$);break;case 17:case 18:this.$=h[p].trim(),u.setAccDescription(this.$);break;case 19:case 27:this.$=h[p-1];break;case 20:this.$=[Number(h[p-2]),...h[p]];break;case 21:this.$=[Number(h[p])];break;case 22:u.setXAxisTitle(h[p]);break;case 23:u.setXAxisTitle(h[p-1]);break;case 24:u.setXAxisTitle({type:"text",text:""});break;case 25:u.setXAxisBand(h[p]);break;case 26:u.setXAxisRangeData(Number(h[p-2]),Number(h[p]));break;case 28:this.$=[h[p-2],...h[p]];break;case 29:this.$=[h[p]];break;case 30:u.setYAxisTitle(h[p]);break;case 31:u.setYAxisTitle(h[p-1]);break;case 32:u.setYAxisTitle({type:"text",text:""});break;case 33:u.setYAxisRangeData(Number(h[p-2]),Number(h[p]));break;case 37:case 38:this.$={text:h[p],type:"text"};break;case 39:this.$={text:h[p],type:"markdown"};break;case 40:this.$=h[p];break;case 41:this.$=h[p-1]+""+h[p]}},"anonymous"),table:[e(t,i,{3:1,4:2,7:4,5:s,34:n,35:r,36:l}),{1:[3]},e(t,i,{4:2,7:4,3:8,5:s,34:n,35:r,36:l}),e(t,i,{4:2,7:4,6:9,3:10,5:s,8:[1,11],34:n,35:r,36:l}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},e(d,[2,34]),e(d,[2,35]),e(d,[2,36]),{1:[2,1]},e(t,i,{4:2,7:4,3:21,5:s,34:n,35:r,36:l}),{1:[2,3]},e(d,[2,5]),e(t,[2,7],{4:22,34:n,35:r,36:l}),{11:23,37:24,38:x,39:_,40:27,41:T,42:S,43:m,44:D,45:C,46:L,47:f,48:k,49:c,50:v},{11:39,13:38,24:K,27:_t,29:40,30:41,37:24,38:x,39:_,40:27,41:T,42:S,43:m,44:D,45:C,46:L,47:f,48:k,49:c,50:v},{11:45,15:44,27:Tt,33:46,37:24,38:x,39:_,40:27,41:T,42:S,43:m,44:D,45:C,46:L,47:f,48:k,49:c,50:v},{11:49,17:48,24:tt,37:24,38:x,39:_,40:27,41:T,42:S,43:m,44:D,45:C,46:L,47:f,48:k,49:c,50:v},{11:52,17:51,24:tt,37:24,38:x,39:_,40:27,41:T,42:S,43:m,44:D,45:C,46:L,47:f,48:k,49:c,50:v},{20:[1,53]},{22:[1,54]},e(w,[2,18]),{1:[2,2]},e(w,[2,8]),e(w,[2,9]),e(rt,[2,37],{40:55,41:T,42:S,43:m,44:D,45:C,46:L,47:f,48:k,49:c,50:v}),e(rt,[2,38]),e(rt,[2,39]),e(E,[2,40]),e(E,[2,42]),e(E,[2,43]),e(E,[2,44]),e(E,[2,45]),e(E,[2,46]),e(E,[2,47]),e(E,[2,48]),e(E,[2,49]),e(E,[2,50]),e(E,[2,51]),e(w,[2,10]),e(w,[2,22],{30:41,29:56,24:K,27:_t}),e(w,[2,24]),e(w,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:x,39:_,40:27,41:T,42:S,43:m,44:D,45:C,46:L,47:f,48:k,49:c,50:v},e(w,[2,11]),e(w,[2,30],{33:60,27:Tt}),e(w,[2,32]),{31:[1,61]},e(w,[2,12]),{17:62,24:tt},{25:63,27:Rt},e(w,[2,14]),{17:65,24:tt},e(w,[2,16]),e(w,[2,17]),e(E,[2,41]),e(w,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},e(w,[2,31]),{27:[1,69]},e(w,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},e(w,[2,15]),e(w,[2,26]),e(w,[2,27]),{11:59,32:72,37:24,38:x,39:_,40:27,41:T,42:S,43:m,44:D,45:C,46:L,47:f,48:k,49:c,50:v},e(w,[2,33]),e(w,[2,19]),{25:73,27:Rt},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:a(function(o,b){if(!b.recoverable){var g=new Error(o);throw g.hash=b,g}this.trace(o)},"parseError"),parse:a(function(o){var b=this,g=[0],u=[],A=[null],h=[],q=this.table,p="",et=0,Dt=0,si=h.slice.call(arguments,1),R=Object.create(this.lexer),B={yy:{}};for(var ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ct)&&(B.yy[ct]=this.yy[ct]);R.setInput(o,B.yy),B.yy.lexer=R,B.yy.parser=this,R.yylloc===void 0&&(R.yylloc={});var gt=R.yylloc;h.push(gt);var ni=R.options&&R.options.ranges;function Lt(){var I;return typeof(I=u.pop()||R.lex()||1)!="number"&&(I instanceof Array&&(I=(u=I).pop()),I=b.symbols_[I]||I),I}typeof B.yy.parseError=="function"?this.parseError=B.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,a(function(I){g.length=g.length-2*I,A.length=A.length-I,h.length=h.length-I},"popStack"),a(Lt,"lex");for(var P,z,M,Pt,st,$,vt,nt,O={};;){if(z=g[g.length-1],this.defaultActions[z]?M=this.defaultActions[z]:(P==null&&(P=Lt()),M=q[z]&&q[z][P]),M===void 0||!M.length||!M[0]){var Et="";for(st in nt=[],q[z])this.terminals_[st]&&st>2&&nt.push("'"+this.terminals_[st]+"'");Et=R.showPosition?"Parse error on line "+(et+1)+`:
2
2
  `+R.showPosition()+`
3
3
  Expecting `+nt.join(", ")+", got '"+(this.terminals_[P]||P)+"'":"Parse error on line "+(et+1)+": Unexpected "+(P==1?"end of input":"'"+(this.terminals_[P]||P)+"'"),this.parseError(Et,{text:R.match,token:this.terminals_[P]||P,line:R.yylineno,loc:gt,expected:nt})}if(M[0]instanceof Array&&M.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+P);switch(M[0]){case 1:g.push(P),A.push(R.yytext),h.push(R.yylloc),g.push(M[1]),P=null,Dt=R.yyleng,p=R.yytext,et=R.yylineno,gt=R.yylloc;break;case 2:if($=this.productions_[M[1]][1],O.$=A[A.length-$],O._$={first_line:h[h.length-($||1)].first_line,last_line:h[h.length-1].last_line,first_column:h[h.length-($||1)].first_column,last_column:h[h.length-1].last_column},ni&&(O._$.range=[h[h.length-($||1)].range[0],h[h.length-1].range[1]]),(Pt=this.performAction.apply(O,[p,Dt,et,B.yy,M[1],A,h].concat(si)))!==void 0)return Pt;$&&(g=g.slice(0,-1*$*2),A=A.slice(0,-1*$),h=h.slice(0,-1*$)),g.push(this.productions_[M[1]][0]),A.push(O.$),h.push(O._$),vt=q[g[g.length-2]][g[g.length-1]],g.push(vt);break;case 3:return!0}}return!0},"parse")},ei=function(){return{EOF:1,parseError:a(function(o,b){if(!this.yy.parser)throw new Error(o);this.yy.parser.parseError(o,b)},"parseError"),setInput:a(function(o,b){return this.yy=b||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:a(function(){var o=this._input[0];return this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o,o.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},"input"),unput:a(function(o){var b=o.length,g=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-b),this.offset-=b;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),g.length-1&&(this.yylineno-=g.length-1);var A=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:g?(g.length===u.length?this.yylloc.first_column:0)+u[u.length-g.length].length-g[0].length:this.yylloc.first_column-b},this.options.ranges&&(this.yylloc.range=[A[0],A[0]+this.yyleng-b]),this.yyleng=this.yytext.length,this},"unput"),more:a(function(){return this._more=!0,this},"more"),reject:a(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:a(function(o){this.unput(this.match.slice(o))},"less"),pastInput:a(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:a(function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:a(function(){var o=this.pastInput(),b=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
package/dist/index.html CHANGED
@@ -54,7 +54,7 @@
54
54
  </script>
55
55
  <marimo-filename hidden>{{ filename }}</marimo-filename>
56
56
  <title>{{ title }}</title>
57
- <script type="module" crossorigin src="./assets/index-DpYhhLzu.js"></script>
57
+ <script type="module" crossorigin src="./assets/index-DNi4Z3De.js"></script>
58
58
  <link rel="stylesheet" crossorigin href="./assets/index-N-a4M2pk.css">
59
59
  </head>
60
60
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marimo-team/frontend",
3
- "version": "0.13.16-dev45",
3
+ "version": "0.13.16-dev47",
4
4
  "main": "dist/main.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
@@ -1 +0,0 @@
1
- import{b as m}from"./_baseEach-BgsFhYNH.js";import{x as s}from"./index-DpYhhLzu.js";function e(r,o){var a=-1,t=s(r)?Array(r.length):[];return m(r,function(n,f,i){t[++a]=o(n,f,i)}),t}export{e as b};
@@ -1 +0,0 @@
1
- import{U as s,C as o}from"./mermaid-HbPjrk5r.js";const n=(a,r)=>s.lang.round(o.parse(a)[r]);export{n as c};
@@ -1 +0,0 @@
1
- import{s as a,c as s,a as t,C as o}from"./chunk-A2AXSNBT-BynpnS1N.js";import{_ as e}from"./mermaid-HbPjrk5r.js";import"./transform-Cyp0GDF-.js";import"./chunk-RZ5BOZE2-B6hP0gEr.js";import"./index-DpYhhLzu.js";import"./step-BwsUM5iJ.js";import"./timer-DFzT7np-.js";var i={parser:t,get db(){return new o},renderer:s,styles:a,init:e(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{i as diagram};
@@ -1 +0,0 @@
1
- import{s as a,c as s,a as t,C as o}from"./chunk-A2AXSNBT-BynpnS1N.js";import{_ as e}from"./mermaid-HbPjrk5r.js";import"./transform-Cyp0GDF-.js";import"./chunk-RZ5BOZE2-B6hP0gEr.js";import"./index-DpYhhLzu.js";import"./step-BwsUM5iJ.js";import"./timer-DFzT7np-.js";var i={parser:t,get db(){return new o},renderer:s,styles:a,init:e(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{i as diagram};
@@ -1 +0,0 @@
1
- import{b as n}from"./_baseUniq-BmdkTs2j.js";function o(r){return n(r,4)}export{o as c};
@@ -1,2 +0,0 @@
1
- import{_ as a,l as e,I as s,d as p,K as n}from"./mermaid-HbPjrk5r.js";import{p as m}from"./radar-MK3ICKWK-C_qDZNmu.js";import"./index-DpYhhLzu.js";import"./transform-Cyp0GDF-.js";import"./timer-DFzT7np-.js";import"./step-BwsUM5iJ.js";import"./_baseEach-BgsFhYNH.js";import"./_baseUniq-BmdkTs2j.js";import"./min-BLdiioV-.js";import"./_baseMap-y2JytVMB.js";import"./clone-DbDMH9Ao.js";import"./_createAggregator-coQPIe_h.js";var d={parse:a(async r=>{const t=await m("info",r);e.debug(t)},"parse")},g={version:n.version},v={parser:d,db:{getVersion:a(()=>g.version,"getVersion")},renderer:{draw:a((r,t,i)=>{e.debug(`rendering info diagram
2
- `+r);const o=s(t);p(o,100,400,!0),o.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${i}`)},"draw")}};export{v as diagram};
@@ -1 +0,0 @@
1
- import{s as t,b as a,a as e,S as s}from"./chunk-AEK57VVT-ZqY3MPh9.js";import{_ as o}from"./mermaid-HbPjrk5r.js";import"./transform-Cyp0GDF-.js";import"./chunk-RZ5BOZE2-B6hP0gEr.js";import"./index-DpYhhLzu.js";import"./step-BwsUM5iJ.js";import"./timer-DFzT7np-.js";var i={parser:e,get db(){return new s(2)},renderer:a,styles:t,init:o(r=>{r.state||(r.state={}),r.state.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{i as diagram};