@marimo-team/frontend 0.12.1-dev10 → 0.12.1-dev12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ConnectedDataExplorerComponent-CJruiifD.js → ConnectedDataExplorerComponent-D6VN1rB5.js} +3 -3
- package/dist/assets/{VegaLite-BE8iaI6d.js → VegaLite-Br8GnIhH.js} +1 -1
- package/dist/assets/{_baseEach-CHGr95h3.js → _baseEach-DUe4qkf_.js} +1 -1
- package/dist/assets/_baseMap-CNffvYYr.js +1 -0
- package/dist/assets/{_baseUniq-DBsNFMLI.js → _baseUniq-Cf3x3qQM.js} +1 -1
- package/dist/assets/{any-language-editor-C44KD8Jd.js → any-language-editor-xgDUcqnn.js} +1 -1
- package/dist/assets/architectureDiagram-IEHRJDOE-NgBIyJFc.js +1 -0
- package/dist/assets/{blockDiagram-ZHA2E4KO-9FMsNisX.js → blockDiagram-JOT3LUYC-1fjtgAXw.js} +1 -1
- package/dist/assets/{c4Diagram-6F5ED5ID-Bbqvpa8H.js → c4Diagram-VJAJSXHY-Dgr2MzdZ.js} +1 -1
- package/dist/assets/channel-DFcskha_.js +1 -0
- package/dist/assets/{chunk-TMUBEWPD-D_YLueZ5.js → chunk-4BMEZGHF-BtH65nsN.js} +1 -1
- package/dist/assets/chunk-A2AXSNBT-DtZt8jUo.js +1 -0
- package/dist/assets/chunk-AEK57VVT-zbOe-QWI.js +1 -0
- package/dist/assets/{chunk-ASOPGD6M-DewGTxkr.js → chunk-D6G4REZN-BAou75V7.js} +1 -1
- package/dist/assets/{chunk-5HRBRIJM-X4M2qmib.js → chunk-RZ5BOZE2-CvJ3Zsed.js} +1 -1
- package/dist/assets/{chunk-KFBOBJHC-DOfnAPal.js → chunk-XZIHB7SX-CM4E-Rqg.js} +1 -1
- package/dist/assets/classDiagram-GIVACNV2-CdAdDNJy.js +1 -0
- package/dist/assets/classDiagram-v2-COTLJTTW-CdAdDNJy.js +1 -0
- package/dist/assets/clone-DFRxidCI.js +1 -0
- package/dist/assets/compile-BcP6k8CN.js +1 -0
- package/dist/assets/{dagre-4EVJKHTY-DiF_5n5x.js → dagre-OKDRZEBW-BcqnCtr9.js} +1 -1
- package/dist/assets/{data-editor-CGJ9_7_q.js → data-editor-Bp6UkAHk.js} +1 -1
- package/dist/assets/diagram-SSKATNLV-CpKTq4z_.js +1 -0
- package/dist/assets/diagram-VNBRO52H-DozQmTtF.js +1 -0
- package/dist/assets/edit-page-BQVm-bZZ.js +8 -0
- package/dist/assets/erDiagram-Q7BY3M3F-BNpG_DK6.js +1 -0
- package/dist/assets/flowDiagram-4HSFHLVR-Bt58NPg9.js +1 -0
- package/dist/assets/ganttDiagram-APWFNJXF-DB6QQCBi.js +1 -0
- package/dist/assets/gitGraphDiagram-7IBYFJ6S-23oq73su.js +1 -0
- package/dist/assets/{graph-4-Vg1Aiz.js → graph-CUSKfdOg.js} +1 -1
- package/dist/assets/home-page-Cbo_xK1q.js +7 -0
- package/dist/assets/{index-CYjr_k0H.js → index-6yKeYODa.js} +1 -1
- package/dist/assets/index-BPgaidtO.js +80 -0
- package/dist/assets/{index-BH9A8KuI.js → index-BsUTdRcp.js} +1 -1
- package/dist/assets/{index-CHAfPpeC.js → index-BwaxCk2p.js} +1 -1
- package/dist/assets/{index-DuktNpRm.js → index-BzqSKRPR.js} +1 -1
- package/dist/assets/{index-DRtvMp6Z.js → index-C-DALRS2.js} +1 -1
- package/dist/assets/{index-CkAdNdK9.js → index-C-rx6K_1.js} +1 -1
- package/dist/assets/{index-CWohOS_e.js → index-CS7gdXcc.js} +1 -1
- package/dist/assets/{index-DwShl_Rl.js → index-ChmfbV9g.js} +1 -1
- package/dist/assets/{index-DoaFBt3g.js → index-DAxC1inM.js} +1 -1
- package/dist/assets/{index-CO1xz3xH.js → index-DNY9EKov.js} +1 -1
- package/dist/assets/{index-DKriXlXA.js → index-DT5oqH6y.js} +1 -1
- package/dist/assets/{index-Ddv63gQw.js → index-DmHFmtCH.js} +1 -1
- package/dist/assets/{index-CZQNf_us.js → index-GXNkgebt.js} +1 -1
- package/dist/assets/{index-BEGeiwsG.js → index-PmLtNvLA.js} +1 -1
- package/dist/assets/{index-DxHC9_BU.js → index-YI9IKBm5.js} +1 -1
- package/dist/assets/{index-BiPdUed2.js → index-YoG6Q2Io.js} +1 -1
- package/dist/assets/infoDiagram-PH2N3AL5-DyWeQa-u.js +1 -0
- package/dist/assets/journeyDiagram-U35MCT3I-jU_bP6ei.js +1 -0
- package/dist/assets/{kanban-definition-QRCXZQQD-ELngktM2.js → kanban-definition-NDS4AKOZ-CcU-x9dx.js} +1 -1
- package/dist/assets/{layout-CGBTZO_E.js → layout-eQ6bjmE5.js} +1 -1
- package/dist/assets/{linear-BbegsqX1.js → linear-BqAWw135.js} +1 -1
- package/dist/assets/mermaid-C_yJbkM5.js +7 -0
- package/dist/assets/{min-CABlFD1H.js → min-s4lj77Rd.js} +1 -1
- package/dist/assets/{mindmap-definition-GWI6TPTV-DLlhxG7q.js → mindmap-definition-ALO5MXBD-CpAMfMiw.js} +1 -1
- package/dist/assets/pieDiagram-IB7DONF6-D5Lc-QDc.js +1 -0
- package/dist/assets/{quadrantDiagram-OS5C2QUG-DNcT7n4n.js → quadrantDiagram-7GDLP6J5-8DGbt3Sr.js} +1 -1
- package/dist/assets/radar-MK3ICKWK-CN1eBpMj.js +1 -0
- package/dist/assets/{react-plotly-D49PuaDp.js → react-plotly-CViG1i3C.js} +1 -1
- package/dist/assets/requirementDiagram-KVF5MWMF-CRQKdCfw.js +1 -0
- package/dist/assets/{run-page-_t2pqoib.js → run-page-CwA1e70B.js} +1 -1
- package/dist/assets/sankeyDiagram-QLVOVGJD-DySshT3S.js +1 -0
- package/dist/assets/{save-worker-0eT1yQHS.js → save-worker-B6ZkLmYM.js} +1 -1
- package/dist/assets/sequenceDiagram-X6HHIX6F-DsbCJPYn.js +1 -0
- package/dist/assets/slides-component-BTnw-BLL.js +1 -0
- package/dist/assets/{sortBy-DeAoOjrt.js → sortBy-DSWKDNn5.js} +1 -1
- package/dist/assets/stateDiagram-DGXRK772-B7WaIyIx.js +1 -0
- package/dist/assets/stateDiagram-v2-YXO3MK2T-DGfx8GSa.js +1 -0
- package/dist/assets/{terminal-B5M_jESV.js → terminal-B1YrV-fb.js} +1 -1
- package/dist/assets/{time-Cg9ECQUX.js → time-QFGOkA6W.js} +1 -1
- package/dist/assets/{timeline-definition-U7ZMHBDA-bNrrM9Xd.js → timeline-definition-BDJGKUSR-KfFJFJgX.js} +1 -1
- package/dist/assets/tree-C9lNIFyJ.js +8 -0
- package/dist/assets/useMarimoWebSocket-f77EFm7W.js +15 -0
- package/dist/assets/{vega-component-DBMPlOJo.js → vega-component-CqNrf71y.js} +1 -1
- package/dist/assets/{worker-BRIXAPM-.js → worker-7jWLhkbK.js} +1 -1
- package/dist/assets/{worker-DDT5omi0.js → worker-BIkRtffW.js} +1 -1
- package/dist/assets/{xychartDiagram-6QU3TZC5-vQAUXteB.js → xychartDiagram-VJFVF3MP-9dlKoXzZ.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +23 -23
- package/dist/assets/_baseMap-CJD4EB23.js +0 -1
- package/dist/assets/architectureDiagram-UYN6MBPD-BgbOosfX.js +0 -1
- package/dist/assets/channel-Cr4w4fr-.js +0 -1
- package/dist/assets/chunk-7U56Z5CX-C5qQ_O2_.js +0 -1
- package/dist/assets/chunk-T2TOU4HS-DrSTkPX7.js +0 -1
- package/dist/assets/classDiagram-LNE6IOMH-D--jW1ZB.js +0 -1
- package/dist/assets/classDiagram-v2-MQ7JQ4JX-D--jW1ZB.js +0 -1
- package/dist/assets/clone-D6AulMZy.js +0 -1
- package/dist/assets/compile-Cb-2V0aD.js +0 -1
- package/dist/assets/diagram-QW4FP2JN-fVKWzjDQ.js +0 -1
- package/dist/assets/edit-page-DX4QoMwC.js +0 -8
- package/dist/assets/erDiagram-6RL3IURR-tkYxbOwJ.js +0 -1
- package/dist/assets/flowDiagram-7ASYPVHJ-wCWrRB02.js +0 -1
- package/dist/assets/ganttDiagram-NTVNEXSI-CipIDMvM.js +0 -1
- package/dist/assets/gitGraph-YCYPL57B-B2gBFbEc.js +0 -1
- package/dist/assets/gitGraphDiagram-NRZ2UAAF-CzfIrjrb.js +0 -1
- package/dist/assets/home-page-DHrqvZ5M.js +0 -7
- package/dist/assets/index-M-fa6gqH.js +0 -80
- package/dist/assets/infoDiagram-A4XQUW5V-Cq17uMjs.js +0 -1
- package/dist/assets/journeyDiagram-G5WM74LC-CTXVfGIj.js +0 -1
- package/dist/assets/mermaid-NCa4Btby.js +0 -13
- package/dist/assets/pieDiagram-YF2LJOPJ-BPY4ab3U.js +0 -1
- package/dist/assets/requirementDiagram-MIRIMTAZ-BiwgQpI6.js +0 -1
- package/dist/assets/sankeyDiagram-Y46BX6SQ-Yek58mqV.js +0 -1
- package/dist/assets/sequenceDiagram-G6AWOVSC-CS1ohKZS.js +0 -1
- package/dist/assets/slides-component-BhUqdm2K.js +0 -1
- package/dist/assets/stateDiagram-MAYHULR4-C25IIyJY.js +0 -1
- package/dist/assets/stateDiagram-v2-4JROLMXI-Du1ne-Iw.js +0 -1
- package/dist/assets/tree-DXPs25GO.js +0 -8
- package/dist/assets/useMarimoWebSocket-UUW24I6P.js +0 -15
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{p as t}from"./chunk-TMUBEWPD-D_YLueZ5.js";import{I as r}from"./chunk-KFBOBJHC-DOfnAPal.js";import{_ as e,n as o,o as n,s as a,g as s,a as i,b as c,l as d,c as h,u as m,B as $,v as l,j as y,D as g,E as p,F as u,G as x}from"./mermaid-NCa4Btby.js";import{p as f}from"./gitGraph-YCYPL57B-B2gBFbEc.js";import{s as b}from"./transform-CdY8z5kT.js";import"./index-M-fa6gqH.js";import"./step-xJWGRC3d.js";import"./_baseEach-CHGr95h3.js";import"./_baseUniq-DBsNFMLI.js";import"./min-CABlFD1H.js";import"./_baseMap-CJD4EB23.js";import"./clone-D6AulMZy.js";var w={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},B=u.gitGraph,E=e((()=>g({...B,...p().gitGraph})),"getConfig"),v=new r((()=>{const t=E(),r=t.mainBranchName,e=t.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:e}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}}));function k(){return x({length:7})}function C(t,r){const e=Object.create(null);return t.reduce(((t,o)=>{const n=r(o);return e[n]||(e[n]=!0,t.push(o)),t}),[])}e(k,"getID"),e(C,"uniqBy");var L=e((function(t){v.records.direction=t}),"setDirection"),T=e((function(t){d.debug("options str",t),t=(t=null==t?void 0:t.trim())||"{}";try{v.records.options=JSON.parse(t)}catch(r){d.error("error while parsing gitGraph options",r.message)}}),"setOptions"),M=e((function(){return v.records.options}),"getOptions"),P=e((function(t){let r=t.msg,e=t.id;const o=t.type;let n=t.tags;d.info("commit",r,e,o,n),d.debug("Entering commit:",r,e,o,n);const a=E();e=y.sanitizeText(e,a),r=y.sanitizeText(r,a),n=null==n?void 0:n.map((t=>y.sanitizeText(t,a)));const s={id:e||v.records.seq+"-"+k(),message:r,seq:v.records.seq++,type:o??w.NORMAL,tags:n??[],parents:null==v.records.head?[]:[v.records.head.id],branch:v.records.currBranch};v.records.head=s,d.info("main branch",a.mainBranchName),v.records.commits.set(s.id,s),v.records.branches.set(v.records.currBranch,s.id),d.debug("in pushCommit "+s.id)}),"commit"),R=e((function(t){let r=t.name;const e=t.order;if(r=y.sanitizeText(r,E()),v.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);v.records.branches.set(r,null!=v.records.head?v.records.head.id:null),v.records.branchConfig.set(r,{name:r,order:e}),A(r),d.debug("in createBranch")}),"branch"),I=e((t=>{let r=t.branch,e=t.id;const o=t.type,n=t.tags,a=E();r=y.sanitizeText(r,a),e&&(e=y.sanitizeText(e,a));const s=v.records.branches.get(v.records.currBranch),i=v.records.branches.get(r),c=s?v.records.commits.get(s):void 0,h=i?v.records.commits.get(i):void 0;if(c&&h&&c.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(v.records.currBranch===r){const t=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw t.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},t}if(void 0===c||!c){const t=new Error(`Incorrect usage of "merge". Current branch (${v.records.currBranch})has no commits`);throw t.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},t}if(!v.records.branches.has(r)){const t=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw t.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},t}if(void 0===h||!h){const t=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw t.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},t}if(c===h){const t=new Error('Incorrect usage of "merge". Both branches have same head');throw t.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},t}if(e&&v.records.commits.has(e)){const t=new Error('Incorrect usage of "merge". Commit with id:'+e+" already exists, use different custom Id");throw t.hash={text:`merge ${r} ${e} ${o} ${null==n?void 0:n.join(" ")}`,token:`merge ${r} ${e} ${o} ${null==n?void 0:n.join(" ")}`,expected:[`merge ${r} ${e}_UNIQUE ${o} ${null==n?void 0:n.join(" ")}`]},t}const m=i||"",$={id:e||`${v.records.seq}-${k()}`,message:`merged branch ${r} into ${v.records.currBranch}`,seq:v.records.seq++,parents:null==v.records.head?[]:[v.records.head.id,m],branch:v.records.currBranch,type:w.MERGE,customType:o,customId:!!e,tags:n??[]};v.records.head=$,v.records.commits.set($.id,$),v.records.branches.set(v.records.currBranch,$.id),d.debug(v.records.branches),d.debug("in mergeBranch")}),"merge"),G=e((function(t){let r=t.id,e=t.targetId,o=t.tags,n=t.parent;d.debug("Entering cherryPick:",r,e,o);const a=E();if(r=y.sanitizeText(r,a),e=y.sanitizeText(e,a),o=null==o?void 0:o.map((t=>y.sanitizeText(t,a))),n=y.sanitizeText(n,a),!r||!v.records.commits.has(r)){const t=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw t.hash={text:`cherryPick ${r} ${e}`,token:`cherryPick ${r} ${e}`,expected:["cherry-pick abc"]},t}const s=v.records.commits.get(r);if(void 0===s||!s)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(n&&(!Array.isArray(s.parents)||!s.parents.includes(n))){throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.")}const i=s.branch;if(s.type===w.MERGE&&!n){throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.")}if(!e||!v.records.commits.has(e)){if(i===v.records.currBranch){const t=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw t.hash={text:`cherryPick ${r} ${e}`,token:`cherryPick ${r} ${e}`,expected:["cherry-pick abc"]},t}const t=v.records.branches.get(v.records.currBranch);if(void 0===t||!t){const t=new Error(`Incorrect usage of "cherry-pick". Current branch (${v.records.currBranch})has no commits`);throw t.hash={text:`cherryPick ${r} ${e}`,token:`cherryPick ${r} ${e}`,expected:["cherry-pick abc"]},t}const a=v.records.commits.get(t);if(void 0===a||!a){const t=new Error(`Incorrect usage of "cherry-pick". Current branch (${v.records.currBranch})has no commits`);throw t.hash={text:`cherryPick ${r} ${e}`,token:`cherryPick ${r} ${e}`,expected:["cherry-pick abc"]},t}const c={id:v.records.seq+"-"+k(),message:`cherry-picked ${null==s?void 0:s.message} into ${v.records.currBranch}`,seq:v.records.seq++,parents:null==v.records.head?[]:[v.records.head.id,s.id],branch:v.records.currBranch,type:w.CHERRY_PICK,tags:o?o.filter(Boolean):[`cherry-pick:${s.id}${s.type===w.MERGE?`|parent:${n}`:""}`]};v.records.head=c,v.records.commits.set(c.id,c),v.records.branches.set(v.records.currBranch,c.id),d.debug(v.records.branches),d.debug("in cherryPick")}}),"cherryPick"),A=e((function(t){if(t=y.sanitizeText(t,E()),!v.records.branches.has(t)){const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${t}")`);throw r.hash={text:`checkout ${t}`,token:`checkout ${t}`,expected:[`branch ${t}`]},r}{v.records.currBranch=t;const r=v.records.branches.get(v.records.currBranch);v.records.head=void 0!==r&&r?v.records.commits.get(r)??null:null}}),"checkout");function O(t,r,e){const o=t.indexOf(r);-1===o?t.push(e):t.splice(o,1,e)}function q(t){const r=t.reduce(((t,r)=>t.seq>r.seq?t:r),t[0]);let e="";t.forEach((function(t){e+=t===r?"\t*":"\t|"}));const o=[e,r.id,r.seq];for(const n in v.records.branches)v.records.branches.get(n)===r.id&&o.push(n);if(d.debug(o.join(" ")),r.parents&&2==r.parents.length&&r.parents[0]&&r.parents[1]){const e=v.records.commits.get(r.parents[0]);O(t,r,e),r.parents[1]&&t.push(v.records.commits.get(r.parents[1]))}else{if(0==r.parents.length)return;if(r.parents[0]){const e=v.records.commits.get(r.parents[0]);O(t,r,e)}}q(t=C(t,(t=>t.id)))}e(O,"upsert"),e(q,"prettyPrintCommitHistory");var j=e((function(){d.debug(v.records.commits);q([W()[0]])}),"prettyPrint"),H=e((function(){v.reset(),l()}),"clear"),z=e((function(){return[...v.records.branchConfig.values()].map(((t,r)=>null!==t.order&&void 0!==t.order?t:{...t,order:parseFloat(`0.${r}`)})).sort(((t,r)=>(t.order??0)-(r.order??0))).map((({name:t})=>({name:t})))}),"getBranchesAsObjArray"),S=e((function(){return v.records.branches}),"getBranches"),D=e((function(){return v.records.commits}),"getCommits"),W=e((function(){const t=[...v.records.commits.values()];return t.forEach((function(t){d.debug(t.id)})),t.sort(((t,r)=>t.seq-r.seq)),t}),"getCommitsArray"),N={commitType:w,getConfig:E,setDirection:L,setOptions:T,getOptions:M,commit:P,branch:R,merge:I,cherryPick:G,checkout:A,prettyPrint:j,clear:H,getBranchesAsObjArray:z,getBranches:S,getCommits:D,getCommitsArray:W,getCurrentBranch:e((function(){return v.records.currBranch}),"getCurrentBranch"),getDirection:e((function(){return v.records.direction}),"getDirection"),getHead:e((function(){return v.records.head}),"getHead"),setAccTitle:c,getAccTitle:i,getAccDescription:s,setAccDescription:a,setDiagramTitle:n,getDiagramTitle:o},_=e(((r,e)=>{t(r,e),r.dir&&e.setDirection(r.dir);for(const t of r.statements)F(t,e)}),"populate"),F=e(((t,r)=>{const o={Commit:e((t=>r.commit(K(t))),"Commit"),Branch:e((t=>r.branch(Y(t))),"Branch"),Merge:e((t=>r.merge(U(t))),"Merge"),Checkout:e((t=>r.checkout(V(t))),"Checkout"),CherryPicking:e((t=>r.cherryPick(J(t))),"CherryPicking")}[t.$type];o?o(t):d.error(`Unknown statement type: ${t.$type}`)}),"parseStatement"),K=e((t=>({id:t.id,msg:t.message??"",type:void 0!==t.type?w[t.type]:w.NORMAL,tags:t.tags??void 0})),"parseCommit"),Y=e((t=>({name:t.name,order:t.order??0})),"parseBranch"),U=e((t=>({branch:t.branch,id:t.id??"",type:void 0!==t.type?w[t.type]:void 0,tags:t.tags??void 0})),"parseMerge"),V=e((t=>t.branch),"parseCheckout"),J=e((t=>{var r;return{id:t.id,targetId:"",tags:0===(null==(r=t.tags)?void 0:r.length)?void 0:t.tags,parent:t.parent}}),"parseCherryPicking"),X={parse:e((async t=>{const r=await f("gitGraph",t);d.debug(r),_(r,N)}),"parse")},Q=h(),Z=null==Q?void 0:Q.gitGraph,tt=10,rt=40,et=new Map,ot=new Map,nt=new Map,at=[],st=0,it="LR",ct=e((()=>{et.clear(),ot.clear(),nt.clear(),st=0,at=[],it="LR"}),"clear"),dt=e((t=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return("string"==typeof t?t.split(/\\n|\n|<br\s*\/?>/gi):t).forEach((t=>{const e=document.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),e.setAttribute("dy","1em"),e.setAttribute("x","0"),e.setAttribute("class","row"),e.textContent=t.trim(),r.appendChild(e)})),r}),"drawText"),ht=e((t=>{let r,o,n;return"BT"===it?(o=e(((t,r)=>t<=r),"comparisonFunc"),n=1/0):(o=e(((t,r)=>t>=r),"comparisonFunc"),n=0),t.forEach((t=>{var e,a;const s="TB"===it||"BT"==it?null==(e=ot.get(t))?void 0:e.y:null==(a=ot.get(t))?void 0:a.x;void 0!==s&&o(s,n)&&(r=t,n=s)})),r}),"findClosestParent"),mt=e((t=>{let r="",e=1/0;return t.forEach((t=>{const o=ot.get(t).y;o<=e&&(r=t,e=o)})),r||void 0}),"findClosestParentBT"),$t=e(((t,r,e)=>{let o=e,n=e;const a=[];t.forEach((t=>{const e=r.get(t);if(!e)throw new Error(`Commit not found for key ${t}`);e.parents.length?(o=yt(e),n=Math.max(o,n)):a.push(e),gt(e,o)})),o=n,a.forEach((t=>{pt(t,o,e)})),t.forEach((t=>{const e=r.get(t);if(null==e?void 0:e.parents.length){const t=mt(e.parents);o=ot.get(t).y-rt,o<=n&&(n=o);const r=et.get(e.branch).pos,a=o-tt;ot.set(e.id,{x:r,y:a})}}))}),"setParallelBTPos"),lt=e((t=>{var r;const e=ht(t.parents.filter((t=>null!==t)));if(!e)throw new Error(`Closest parent not found for commit ${t.id}`);const o=null==(r=ot.get(e))?void 0:r.y;if(void 0===o)throw new Error(`Closest parent position not found for commit ${t.id}`);return o}),"findClosestParentPos"),yt=e((t=>lt(t)+rt),"calculateCommitPosition"),gt=e(((t,r)=>{const e=et.get(t.branch);if(!e)throw new Error(`Branch not found for commit ${t.id}`);const o=e.pos,n=r+tt;return ot.set(t.id,{x:o,y:n}),{x:o,y:n}}),"setCommitPosition"),pt=e(((t,r,e)=>{const o=et.get(t.branch);if(!o)throw new Error(`Branch not found for commit ${t.id}`);const n=r+e,a=o.pos;ot.set(t.id,{x:a,y:n})}),"setRootPosition"),ut=e(((t,r,e,o,n,a)=>{if(a===w.HIGHLIGHT)t.append("rect").attr("x",e.x-10).attr("y",e.y-10).attr("width",20).attr("height",20).attr("class",`commit ${r.id} commit-highlight${n%8} ${o}-outer`),t.append("rect").attr("x",e.x-6).attr("y",e.y-6).attr("width",12).attr("height",12).attr("class",`commit ${r.id} commit${n%8} ${o}-inner`);else if(a===w.CHERRY_PICK)t.append("circle").attr("cx",e.x).attr("cy",e.y).attr("r",10).attr("class",`commit ${r.id} ${o}`),t.append("circle").attr("cx",e.x-3).attr("cy",e.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${r.id} ${o}`),t.append("circle").attr("cx",e.x+3).attr("cy",e.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${r.id} ${o}`),t.append("line").attr("x1",e.x+3).attr("y1",e.y+1).attr("x2",e.x).attr("y2",e.y-5).attr("stroke","#fff").attr("class",`commit ${r.id} ${o}`),t.append("line").attr("x1",e.x-3).attr("y1",e.y+1).attr("x2",e.x).attr("y2",e.y-5).attr("stroke","#fff").attr("class",`commit ${r.id} ${o}`);else{const s=t.append("circle");if(s.attr("cx",e.x),s.attr("cy",e.y),s.attr("r",r.type===w.MERGE?9:10),s.attr("class",`commit ${r.id} commit${n%8}`),a===w.MERGE){const a=t.append("circle");a.attr("cx",e.x),a.attr("cy",e.y),a.attr("r",6),a.attr("class",`commit ${o} ${r.id} commit${n%8}`)}if(a===w.REVERSE){t.append("path").attr("d",`M ${e.x-5},${e.y-5}L${e.x+5},${e.y+5}M${e.x-5},${e.y+5}L${e.x+5},${e.y-5}`).attr("class",`commit ${o} ${r.id} commit${n%8}`)}}}),"drawCommitBullet"),xt=e(((t,r,e,o)=>{var n;if(r.type!==w.CHERRY_PICK&&(r.customId&&r.type===w.MERGE||r.type!==w.MERGE)&&(null==Z?void 0:Z.showCommitLabel)){const a=t.append("g"),s=a.insert("rect").attr("class","commit-label-bkg"),i=a.append("text").attr("x",o).attr("y",e.y+25).attr("class","commit-label").text(r.id),c=null==(n=i.node())?void 0:n.getBBox();if(c&&(s.attr("x",e.posWithOffset-c.width/2-2).attr("y",e.y+13.5).attr("width",c.width+4).attr("height",c.height+4),"TB"===it||"BT"===it?(s.attr("x",e.x-(c.width+16+5)).attr("y",e.y-12),i.attr("x",e.x-(c.width+16)).attr("y",e.y+c.height-12)):i.attr("x",e.posWithOffset-c.width/2),Z.rotateCommitLabel))if("TB"===it||"BT"===it)i.attr("transform","rotate(-45, "+e.x+", "+e.y+")"),s.attr("transform","rotate(-45, "+e.x+", "+e.y+")");else{const t=-7.5-(c.width+10)/25*9.5,r=10+c.width/25*8.5;a.attr("transform","translate("+t+", "+r+") rotate(-45, "+o+", "+e.y+")")}}}),"drawCommitLabel"),ft=e(((t,r,e,o)=>{var n;if(r.tags.length>0){let a=0,s=0,i=0;const c=[];for(const o of r.tags.reverse()){const r=t.insert("polygon"),d=t.append("circle"),h=t.append("text").attr("y",e.y-16-a).attr("class","tag-label").text(o),m=null==(n=h.node())?void 0:n.getBBox();if(!m)throw new Error("Tag bbox not found");s=Math.max(s,m.width),i=Math.max(i,m.height),h.attr("x",e.posWithOffset-m.width/2),c.push({tag:h,hole:d,rect:r,yOffset:a}),a+=20}for(const{tag:t,hole:r,rect:n,yOffset:d}of c){const a=i/2,c=e.y-19.2-d;if(n.attr("class","tag-label-bkg").attr("points",`\n ${o-s/2-2},${c+2} \n ${o-s/2-2},${c-2}\n ${e.posWithOffset-s/2-4},${c-a-2}\n ${e.posWithOffset+s/2+4},${c-a-2}\n ${e.posWithOffset+s/2+4},${c+a+2}\n ${e.posWithOffset-s/2-4},${c+a+2}`),r.attr("cy",c).attr("cx",o-s/2+2).attr("r",1.5).attr("class","tag-hole"),"TB"===it||"BT"===it){const i=o+d;n.attr("class","tag-label-bkg").attr("points",`\n ${e.x},${i+2}\n ${e.x},${i-2}\n ${e.x+tt},${i-a-2}\n ${e.x+tt+s+4},${i-a-2}\n ${e.x+tt+s+4},${i+a+2}\n ${e.x+tt},${i+a+2}`).attr("transform","translate(12,12) rotate(45, "+e.x+","+o+")"),r.attr("cx",e.x+2).attr("cy",i).attr("transform","translate(12,12) rotate(45, "+e.x+","+o+")"),t.attr("x",e.x+5).attr("y",i+3).attr("transform","translate(14,14) rotate(45, "+e.x+","+o+")")}}}}),"drawCommitTags"),bt=e((t=>{switch(t.customType??t.type){case w.NORMAL:return"commit-normal";case w.REVERSE:return"commit-reverse";case w.HIGHLIGHT:return"commit-highlight";case w.MERGE:return"commit-merge";case w.CHERRY_PICK:return"commit-cherry-pick";default:return"commit-normal"}}),"getCommitClassType"),wt=e(((t,r,e,o)=>{const n={x:0,y:0};if(!(t.parents.length>0)){if("TB"===r)return 30;if("BT"===r){return(o.get(t.id)??n).y-rt}return 0}{const e=ht(t.parents);if(e){const a=o.get(e)??n;if("TB"===r)return a.y+rt;if("BT"===r){return(o.get(t.id)??n).y-rt}return a.x+rt}}return 0}),"calculatePosition"),Bt=e(((t,r,e)=>{var o,n;const a="BT"===it&&e?r:r+tt,s="TB"===it||"BT"===it?a:null==(o=et.get(t.branch))?void 0:o.pos,i="TB"===it||"BT"===it?null==(n=et.get(t.branch))?void 0:n.pos:a;if(void 0===i||void 0===s)throw new Error(`Position were undefined for commit ${t.id}`);return{x:i,y:s,posWithOffset:a}}),"getCommitPosition"),Et=e(((t,r,o)=>{if(!Z)throw new Error("GitGraph config not found");const n=t.append("g").attr("class","commit-bullets"),a=t.append("g").attr("class","commit-labels");let s="TB"===it||"BT"===it?30:0;const i=[...r.keys()],c=(null==Z?void 0:Z.parallelCommits)??!1,d=e(((t,e)=>{var o,n;const a=null==(o=r.get(t))?void 0:o.seq,s=null==(n=r.get(e))?void 0:n.seq;return void 0!==a&&void 0!==s?a-s:0}),"sortKeys");let h=i.sort(d);"BT"===it&&(c&&$t(h,r,s),h=h.reverse()),h.forEach((t=>{var e;const i=r.get(t);if(!i)throw new Error(`Commit not found for key ${t}`);c&&(s=wt(i,it,s,ot));const d=Bt(i,s,c);if(o){const t=bt(i),r=i.customType??i.type,o=(null==(e=et.get(i.branch))?void 0:e.index)??0;ut(n,i,d,t,o,r),xt(a,i,d,s),ft(a,i,d,s)}"TB"===it||"BT"===it?ot.set(i.id,{x:d.x,y:d.posWithOffset}):ot.set(i.id,{x:d.posWithOffset,y:d.y}),s="BT"===it&&c?s+rt:s+rt+tt,s>st&&(st=s)}))}),"drawCommits"),vt=e(((t,r,o,n,a)=>{const s=("TB"===it||"BT"===it?o.x<n.x:o.y<n.y)?r.branch:t.branch,i=e((t=>t.branch===s),"isOnBranchToGetCurve"),c=e((e=>e.seq>t.seq&&e.seq<r.seq),"isBetweenCommits");return[...a.values()].some((t=>c(t)&&i(t)))}),"shouldRerouteArrow"),kt=e(((t,r,e=0)=>{const o=t+Math.abs(t-r)/2;if(e>5)return o;if(at.every((t=>Math.abs(t-o)>=10)))return at.push(o),o;const n=Math.abs(t-r);return kt(t,r-n/5,e+1)}),"findLane"),Ct=e(((t,r,e,o)=>{var n,a,s,i,c;const d=ot.get(r.id),h=ot.get(e.id);if(void 0===d||void 0===h)throw new Error(`Commit positions not found for commits ${r.id} and ${e.id}`);const m=vt(r,e,d,h,o);let $,l="",y="",g=0,p=0,u=null==(n=et.get(e.branch))?void 0:n.index;if(e.type===w.MERGE&&r.id!==e.parents[0]&&(u=null==(a=et.get(r.branch))?void 0:a.index),m){l="A 10 10, 0, 0, 0,",y="A 10 10, 0, 0, 1,",g=10,p=10;const t=d.y<h.y?kt(d.y,h.y):kt(h.y,d.y),e=d.x<h.x?kt(d.x,h.x):kt(h.x,d.x);"TB"===it?d.x<h.x?$=`M ${d.x} ${d.y} L ${e-g} ${d.y} ${y} ${e} ${d.y+p} L ${e} ${h.y-g} ${l} ${e+p} ${h.y} L ${h.x} ${h.y}`:(u=null==(s=et.get(r.branch))?void 0:s.index,$=`M ${d.x} ${d.y} L ${e+g} ${d.y} ${l} ${e} ${d.y+p} L ${e} ${h.y-g} ${y} ${e-p} ${h.y} L ${h.x} ${h.y}`):"BT"===it?d.x<h.x?$=`M ${d.x} ${d.y} L ${e-g} ${d.y} ${l} ${e} ${d.y-p} L ${e} ${h.y+g} ${y} ${e+p} ${h.y} L ${h.x} ${h.y}`:(u=null==(i=et.get(r.branch))?void 0:i.index,$=`M ${d.x} ${d.y} L ${e+g} ${d.y} ${y} ${e} ${d.y-p} L ${e} ${h.y+g} ${l} ${e-p} ${h.y} L ${h.x} ${h.y}`):d.y<h.y?$=`M ${d.x} ${d.y} L ${d.x} ${t-g} ${l} ${d.x+p} ${t} L ${h.x-g} ${t} ${y} ${h.x} ${t+p} L ${h.x} ${h.y}`:(u=null==(c=et.get(r.branch))?void 0:c.index,$=`M ${d.x} ${d.y} L ${d.x} ${t+g} ${y} ${d.x+p} ${t} L ${h.x-g} ${t} ${l} ${h.x} ${t-p} L ${h.x} ${h.y}`)}else l="A 20 20, 0, 0, 0,",y="A 20 20, 0, 0, 1,",g=20,p=20,"TB"===it?(d.x<h.x&&($=e.type===w.MERGE&&r.id!==e.parents[0]?`M ${d.x} ${d.y} L ${d.x} ${h.y-g} ${l} ${d.x+p} ${h.y} L ${h.x} ${h.y}`:`M ${d.x} ${d.y} L ${h.x-g} ${d.y} ${y} ${h.x} ${d.y+p} L ${h.x} ${h.y}`),d.x>h.x&&(l="A 20 20, 0, 0, 0,",y="A 20 20, 0, 0, 1,",g=20,p=20,$=e.type===w.MERGE&&r.id!==e.parents[0]?`M ${d.x} ${d.y} L ${d.x} ${h.y-g} ${y} ${d.x-p} ${h.y} L ${h.x} ${h.y}`:`M ${d.x} ${d.y} L ${h.x+g} ${d.y} ${l} ${h.x} ${d.y+p} L ${h.x} ${h.y}`),d.x===h.x&&($=`M ${d.x} ${d.y} L ${h.x} ${h.y}`)):"BT"===it?(d.x<h.x&&($=e.type===w.MERGE&&r.id!==e.parents[0]?`M ${d.x} ${d.y} L ${d.x} ${h.y+g} ${y} ${d.x+p} ${h.y} L ${h.x} ${h.y}`:`M ${d.x} ${d.y} L ${h.x-g} ${d.y} ${l} ${h.x} ${d.y-p} L ${h.x} ${h.y}`),d.x>h.x&&(l="A 20 20, 0, 0, 0,",y="A 20 20, 0, 0, 1,",g=20,p=20,$=e.type===w.MERGE&&r.id!==e.parents[0]?`M ${d.x} ${d.y} L ${d.x} ${h.y+g} ${l} ${d.x-p} ${h.y} L ${h.x} ${h.y}`:`M ${d.x} ${d.y} L ${h.x-g} ${d.y} ${l} ${h.x} ${d.y-p} L ${h.x} ${h.y}`),d.x===h.x&&($=`M ${d.x} ${d.y} L ${h.x} ${h.y}`)):(d.y<h.y&&($=e.type===w.MERGE&&r.id!==e.parents[0]?`M ${d.x} ${d.y} L ${h.x-g} ${d.y} ${y} ${h.x} ${d.y+p} L ${h.x} ${h.y}`:`M ${d.x} ${d.y} L ${d.x} ${h.y-g} ${l} ${d.x+p} ${h.y} L ${h.x} ${h.y}`),d.y>h.y&&($=e.type===w.MERGE&&r.id!==e.parents[0]?`M ${d.x} ${d.y} L ${h.x-g} ${d.y} ${l} ${h.x} ${d.y-p} L ${h.x} ${h.y}`:`M ${d.x} ${d.y} L ${d.x} ${h.y+g} ${y} ${d.x+p} ${h.y} L ${h.x} ${h.y}`),d.y===h.y&&($=`M ${d.x} ${d.y} L ${h.x} ${h.y}`));if(void 0===$)throw new Error("Line definition not found");t.append("path").attr("d",$).attr("class","arrow arrow"+u%8)}),"drawArrow"),Lt=e(((t,r)=>{const e=t.append("g").attr("class","commit-arrows");[...r.keys()].forEach((t=>{const o=r.get(t);o.parents&&o.parents.length>0&&o.parents.forEach((t=>{Ct(e,r.get(t),o,r)}))}))}),"drawArrows"),Tt=e(((t,r)=>{const e=t.append("g");r.forEach(((t,r)=>{var o;const n=r%8,a=null==(o=et.get(t.name))?void 0:o.pos;if(void 0===a)throw new Error(`Position not found for branch ${t.name}`);const s=e.append("line");s.attr("x1",0),s.attr("y1",a),s.attr("x2",st),s.attr("y2",a),s.attr("class","branch branch"+n),"TB"===it?(s.attr("y1",30),s.attr("x1",a),s.attr("y2",st),s.attr("x2",a)):"BT"===it&&(s.attr("y1",st),s.attr("x1",a),s.attr("y2",30),s.attr("x2",a)),at.push(a);const i=t.name,c=dt(i),d=e.insert("rect"),h=e.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+n);h.node().appendChild(c);const m=c.getBBox();d.attr("class","branchLabelBkg label"+n).attr("rx",4).attr("ry",4).attr("x",-m.width-4-(!0===(null==Z?void 0:Z.rotateCommitLabel)?30:0)).attr("y",-m.height/2+8).attr("width",m.width+18).attr("height",m.height+4),h.attr("transform","translate("+(-m.width-14-(!0===(null==Z?void 0:Z.rotateCommitLabel)?30:0))+", "+(a-m.height/2-1)+")"),"TB"===it?(d.attr("x",a-m.width/2-10).attr("y",0),h.attr("transform","translate("+(a-m.width/2-5)+", 0)")):"BT"===it?(d.attr("x",a-m.width/2-10).attr("y",st),h.attr("transform","translate("+(a-m.width/2-5)+", "+st+")")):d.attr("transform","translate(-19, "+(a-m.height/2)+")")}))}),"drawBranches"),Mt=e((function(t,r,e,o,n){return et.set(t,{pos:r,index:e}),r+=50+(n?40:0)+("TB"===it||"BT"===it?o.width/2:0)}),"setBranchPosition"),Pt={parser:X,db:N,renderer:{draw:e((function(t,r,e,o){if(ct(),d.debug("in gitgraph renderer",t+"\n","id:",r,e),!Z)throw new Error("GitGraph config not found");const n=Z.rotateCommitLabel??!1,a=o.db;nt=a.getCommits();const s=a.getBranchesAsObjArray();it=a.getDirection();const i=b(`[id="${r}"]`);let c=0;s.forEach(((t,r)=>{var e;const o=dt(t.name),a=i.append("g"),s=a.insert("g").attr("class","branchLabel"),d=s.insert("g").attr("class","label branch-label");null==(e=d.node())||e.appendChild(o);const h=o.getBBox();c=Mt(t.name,c,r,h,n),d.remove(),s.remove(),a.remove()})),Et(i,nt,!1),Z.showBranches&&Tt(i,s),Lt(i,nt),Et(i,nt,!0),m.insertTitle(i,"gitTitleText",Z.titleTopMargin??0,a.getDiagramTitle()),$(void 0,i,Z.diagramPadding,Z.useMaxWidth)}),"draw")},styles:e((t=>`\n .commit-id,\n .commit-msg,\n .branch-label {\n fill: lightgrey;\n color: lightgrey;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n ${[0,1,2,3,4,5,6,7].map((r=>`\n .branch-label${r} { fill: ${t["gitBranchLabel"+r]}; }\n .commit${r} { stroke: ${t["git"+r]}; fill: ${t["git"+r]}; }\n .commit-highlight${r} { stroke: ${t["gitInv"+r]}; fill: ${t["gitInv"+r]}; }\n .label${r} { fill: ${t["git"+r]}; }\n .arrow${r} { stroke: ${t["git"+r]}; }\n `)).join("\n")}\n\n .branch {\n stroke-width: 1;\n stroke: ${t.lineColor};\n stroke-dasharray: 2;\n }\n .commit-label { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelColor};}\n .commit-label-bkg { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelBackground}; opacity: 0.5; }\n .tag-label { font-size: ${t.tagLabelFontSize}; fill: ${t.tagLabelColor};}\n .tag-label-bkg { fill: ${t.tagLabelBackground}; stroke: ${t.tagLabelBorder}; }\n .tag-hole { fill: ${t.textColor}; }\n\n .commit-merge {\n stroke: ${t.primaryColor};\n fill: ${t.primaryColor};\n }\n .commit-reverse {\n stroke: ${t.primaryColor};\n fill: ${t.primaryColor};\n stroke-width: 3;\n }\n .commit-highlight-outer {\n }\n .commit-highlight-inner {\n stroke: ${t.primaryColor};\n fill: ${t.primaryColor};\n }\n\n .arrow { stroke-width: 8; stroke-linecap: round; fill: none}\n .gitTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n }\n`),"getStyles")};export{Pt as diagram};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import{a$ as e,R as t,b0 as a,b1 as s,G as r,O as o,b2 as n,b3 as i,aw as l,b4 as c,b5 as d,b6 as m,U as h,b7 as u,b8 as x,am as f,b9 as p,Z as b,ba as y,J as g,ap as j,bb as v,bc as k,bd as w,be as N,bf as _,bg as S,bh as C,bi as z,bj as M,bk as I,bl as P,bm as D,bn as O,bo as T,bp as A,ab as B,bq as R,br as $,bs as L,bt as W,bu as U,bv as F,a3 as G,aB as H,bw as V,bx as E,by as J,bz as Y,bA as q,bB as Q,bC as K,bD as Z,bE as X,bF as ee,Q as te}from"./index-M-fa6gqH.js";import{M as ae,G as se,A as re,B as oe,a as ne,b as ie,Y as le,L as ce,u as de,C as me,S as he,c as ue,T as xe,P as fe}from"./tree-DXPs25GO.js";import"./index-BH9A8KuI.js";
|
|
2
|
-
/**
|
|
3
|
-
* @license lucide-react v0.476.0 - ISC
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the ISC license.
|
|
6
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/const pe=e("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]),be=e("BookText",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"M8 11h8",key:"vwpz6n"}],["path",{d:"M8 7h6",key:"1f0q6e"}]]),ye=e("ChartNoAxesColumn",[["line",{x1:"18",x2:"18",y1:"20",y2:"10",key:"1xfpm4"}],["line",{x1:"12",x2:"12",y1:"20",y2:"4",key:"be30l9"}],["line",{x1:"6",x2:"6",y1:"20",y2:"14",key:"1r4le6"}]]),ge=e("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]),je=e("Orbit",[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["circle",{cx:"19",cy:"5",r:"2",key:"mhkx31"}],["circle",{cx:"5",cy:"19",r:"2",key:"v8kfzx"}],["path",{d:"M10.4 21.9a10 10 0 0 0 9.941-15.416",key:"eohfx2"}],["path",{d:"M13.5 2.1a10 10 0 0 0-9.841 15.416",key:"19pvbm"}]]),ve=e("PanelsTopLeft",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]]),ke=t.createContext({runningNotebooks:new Map,setRunningNotebooks:a.NOOP}),we=t.createContext(""),Ne=s("marimo:home:include-markdown",!1,void 0,{getOnInit:!0}),_e=s("marimo:home:expanded-folders",{},void 0,{getOnInit:!0}),Se={intro:["Introduction",pe,"Get started with marimo basics"],dataflow:["Dataflow",re,"Learn how cells interact with each other"],ui:["UI Elements",ve,"Create interactive UI components"],markdown:["Markdown",m,"Format text with parameterized markdown"],plots:["Plots",ye,"Create interactive visualizations"],sql:["SQL",d,"Query databases directly in marimo"],layout:["Layout",se,"Customize the layout of your cells' output"],fileformat:["File format",c,"Understand marimo's pure-Python file format"],"for-jupyter-users":["For Jupyter users",je,"Transiting from Jupyter to marimo"],"markdown-format":["Markdown format",ae,"Using marimo to edit markdown files"]},Ce=()=>{const e=r.c(3);let t,a,s;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=o.jsx(ge,{className:"w-4 h-4 mr-2"}),e[0]=t):t=e[0],e[1]===Symbol.for("react.memo_cache_sentinel")?(a=o.jsx(p,{asChild:!0,children:o.jsxs(b,{"data-testid":"open-tutorial-button",size:"xs",variant:"outline",children:[t,"Tutorials",o.jsx(y,{className:"w-3 h-3 ml-1"})]})}),e[1]=a):a=e[1],e[2]===Symbol.for("react.memo_cache_sentinel")?(s=o.jsxs(n,{children:[a,o.jsx(i,{side:"bottom",align:"end",className:"no-print",children:l.entries(Se).map(Pe)})]}),e[2]=s):s=e[2],s},ze=[{title:"Documentation",description:"Official marimo documentation and API reference",icon:oe,url:h.docsPage},{title:"GitHub",description:"View source code, report issues, or contribute",icon:ne,url:h.githubPage},{title:"Community",description:"Join the marimo Discord community",icon:ie,url:h.discordLink},{title:"YouTube",description:"Watch tutorials and demos",icon:le,url:h.youtube},{title:"Changelog",description:"See what's new in marimo",icon:m,url:h.releasesPage}],Me=()=>{const e=r.c(2);let t,a;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=o.jsx(Ie,{Icon:ce,children:"Resources"}),e[0]=t):t=e[0],e[1]===Symbol.for("react.memo_cache_sentinel")?(a=o.jsxs("div",{className:"flex flex-col gap-2",children:[t,o.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3",children:ze.map(De)})]}),e[1]=a):a=e[1],a},Ie=e=>{const t=r.c(8),{Icon:a,control:s,children:n}=e;let i,l,c;return t[0]!==a?(i=o.jsx(a,{className:"h-5 w-5"}),t[0]=a,t[1]=i):i=t[1],t[2]!==n||t[3]!==i?(l=o.jsxs("h2",{className:"flex items-center gap-2 text-xl font-semibold text-muted-foreground select-none",children:[i,n]}),t[2]=n,t[3]=i,t[4]=l):l=t[4],t[5]!==s||t[6]!==l?(c=o.jsxs("div",{className:"flex items-center justify-between gap-2",children:[l,s]}),t[5]=s,t[6]=l,t[7]=c):c=t[7],c};function Pe(e){const[t,a]=e,[s,r,n]=a;return o.jsxs(u,{onSelect:async()=>{const e=await x({tutorialId:t});e&&window.open(f(`?file=${e.path}`).toString(),"_blank")},children:[o.jsx(r,{strokeWidth:1.5,className:"w-4 h-4 mr-3 self-start mt-1.5 text-muted-foreground"}),o.jsx("div",{className:"flex items-center",children:o.jsxs("div",{className:"flex flex-col",children:[o.jsx("span",{children:s}),o.jsx("span",{className:"text-xs text-muted-foreground pr-1",children:n})]})})]},t)}function De(e){return o.jsxs("a",{href:e.url,target:"_blank",rel:"noreferrer",className:"flex items-start gap-3 py-3 px-3 rounded-lg border hover:bg-accent/20 transition-colors shadow-xs",children:[o.jsx(e.icon,{className:"w-5 h-5 mt-1.5 text-primary"}),o.jsxs("div",{children:[o.jsx("h3",{className:"font-medium",children:e.title}),o.jsx("p",{className:"text-sm text-muted-foreground",children:e.description})]})]},e.title)}function Oe(e){return`${te()}-${encodeURIComponent(e)}`}const Te=()=>{const e=r.c(54),[t,a]=g.useState(0);let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=[],e[0]=s):s=e[0];const n=j(He,s);let i,l,c;e[1]===Symbol.for("react.memo_cache_sentinel")?(i=()=>{a(Ve)},l={delayMs:1e4,whenVisible:!0},e[1]=i,e[2]=l):(i=e[1],l=e[2]),de(i,l),e[3]!==t?(c=[t],e[3]=t,e[4]=c):c=e[4];const d=j(Je,c);let m,h,u,x,f,p,b,y,k,w,N,_,S,C,P,D,O,T,A,B,R;if(e[5]!==n||e[6]!==d){b=Symbol.for("react.early_return_sentinel");e:{const t=v(n,d);if(t.error)throw t.error;const a=t.data;if(!a){let t;e[20]===Symbol.for("react.memo_cache_sentinel")?(t=o.jsx(z,{centered:!0,size:"xlarge"}),e[20]=t):t=e[20],b=t;break e}const[s,r]=a;let i,l;x=s,u=g.Suspense,h=ke.Provider,f={runningNotebooks:r,setRunningNotebooks:d.setData},e[21]===Symbol.for("react.memo_cache_sentinel")?(i=o.jsx(Ce,{}),l=o.jsx(me,{showAppConfig:!1}),e[21]=i,e[22]=l):(i=e[21],l=e[22]);const c=`This will shutdown the notebook server and terminate all running notebooks (${r.size}). You'll lose all data that's in memory.`;e[23]!==c?(p=o.jsxs("div",{className:"absolute top-3 right-5 flex gap-3 z-50",children:[i,l,o.jsx(he,{description:c})]}),e[23]=c,e[24]=p):p=e[24],w="flex flex-col gap-6 max-w-6xl container pt-5 pb-20 z-10",e[25]===Symbol.for("react.memo_cache_sentinel")?(N=o.jsx("img",{src:"logo.png",alt:"marimo logo",className:"w-48 mb-2"}),_=o.jsx(Ge,{}),S=o.jsx(Me,{}),e[25]=N,e[26]=_,e[27]=S):(N=e[25],_=e[26],S=e[27]),m=We,e[28]===Symbol.for("react.memo_cache_sentinel")?(k=o.jsx(Ie,{Icon:ue,children:"Running notebooks"}),e[28]=k):k=e[28],y=r.values()}e[5]=n,e[6]=d,e[7]=m,e[8]=h,e[9]=u,e[10]=x,e[11]=f,e[12]=p,e[13]=b,e[14]=y,e[15]=k,e[16]=w,e[17]=N,e[18]=_,e[19]=S}else m=e[7],h=e[8],u=e[9],x=e[10],f=e[11],p=e[12],b=e[13],y=e[14],k=e[15],w=e[16],N=e[17],_=e[18],S=e[19];return b!==Symbol.for("react.early_return_sentinel")?b:(e[29]!==y?(C=[...y],e[29]=y,e[30]=C):C=e[30],e[31]!==m||e[32]!==C||e[33]!==k?(P=o.jsx(m,{header:k,files:C}),e[31]=m,e[32]=C,e[33]=k,e[34]=P):P=e[34],e[35]===Symbol.for("react.memo_cache_sentinel")?(D=o.jsx(Ie,{Icon:M,children:"Recent notebooks"}),e[35]=D):D=e[35],e[36]!==x.files?(O=o.jsx(We,{header:D,files:x.files}),e[36]=x.files,e[37]=O):O=e[37],e[38]===Symbol.for("react.memo_cache_sentinel")?(T=o.jsx(I,{children:o.jsx(Ae,{})}),e[38]=T):T=e[38],e[39]!==P||e[40]!==O||e[41]!==w||e[42]!==N||e[43]!==_||e[44]!==S?(A=o.jsxs("div",{className:w,children:[N,_,S,P,O,T]}),e[39]=P,e[40]=O,e[41]=w,e[42]=N,e[43]=_,e[44]=S,e[45]=A):A=e[45],e[46]!==h||e[47]!==f||e[48]!==p||e[49]!==A?(B=o.jsxs(h,{value:f,children:[p,A]}),e[46]=h,e[47]=f,e[48]=p,e[49]=A,e[50]=B):B=e[50],e[51]!==u||e[52]!==B?(R=o.jsx(u,{children:B}),e[51]=u,e[52]=B,e[53]=R):R=e[53],R)},Ae=()=>{const e=r.c(39),[t,a]=P(Ne),[s,n]=g.useState("");let i,l;e[0]!==t?(i=()=>E({includeMarkdown:t}),l=[t],e[0]=t,e[1]=i,e[2]=l):(i=e[1],l=e[2]);const c=j(i,l);if(c.error){let t,a;return e[3]!==c.error?(t=D(c.error),e[3]=c.error,e[4]=t):t=e[4],e[5]!==t?(a=o.jsx(J,{kind:"danger",className:"rounded p-4",children:t}),e[5]=t,e[6]=a):a=e[6],a}if(c.loading||!c.data){let t;return e[7]===Symbol.for("react.memo_cache_sentinel")?(t=o.jsx(z,{centered:!0,size:"xlarge",className:"mt-6"}),e[7]=t):t=e[7],t}const d=c.data;let m,h,u,x,f,p,b,y,v,k,w,N,_,S;return e[8]===Symbol.for("react.memo_cache_sentinel")?(m=o.jsx(Y,{size:13}),h=e=>n(e.target.value),e[8]=m,e[9]=h):(m=e[8],h=e[9]),e[10]!==s?(u=o.jsx(q,{id:"search",value:s,icon:m,onChange:h,placeholder:"Search",className:"mb-0 border-border"}),e[10]=s,e[11]=u):u=e[11],e[12]===Symbol.for("react.memo_cache_sentinel")?(x=o.jsx(Be,{}),e[12]=x):x=e[12],e[13]!==a?(f=e=>a(Boolean(e)),e[13]=a,e[14]=f):f=e[14],e[15]!==t||e[16]!==f?(p=o.jsx(Q,{"data-testid":"include-markdown-checkbox",id:"include-markdown",checked:t,onCheckedChange:f}),e[15]=t,e[16]=f,e[17]=p):p=e[17],e[18]===Symbol.for("react.memo_cache_sentinel")?(b=o.jsx(K,{htmlFor:"include-markdown",children:"Include markdown"}),e[18]=b):b=e[18],e[19]!==u||e[20]!==p?(y=o.jsxs("div",{className:"flex items-center gap-2",children:[u,x,p,b]}),e[19]=u,e[20]=p,e[21]=y):y=e[21],e[22]!==c?(v=o.jsx(Z,{className:"w-4 h-4 ml-1 cursor-pointer opacity-70 hover:opacity-100",onClick:()=>c.reload()}),e[22]=c,e[23]=v):v=e[23],e[24]!==c.loading?(k=c.loading&&o.jsx(z,{size:"small"}),e[24]=c.loading,e[25]=k):k=e[25],e[26]!==v||e[27]!==k||e[28]!==y?(w=o.jsxs(Ie,{Icon:be,control:y,children:["Workspace",v,k]}),e[26]=v,e[27]=k,e[28]=y,e[29]=w):w=e[29],e[30]!==s||e[31]!==d.files?(N=o.jsx("div",{className:"flex flex-col divide-y divide-[var(--slate-3)] border rounded overflow-hidden max-h-[48rem] overflow-y-auto shadow-sm bg-background",children:o.jsx(Re,{searchText:s,files:d.files})}),e[30]=s,e[31]=d.files,e[32]=N):N=e[32],e[33]!==w||e[34]!==N?(_=o.jsxs("div",{className:"flex flex-col gap-2",children:[w,N]}),e[33]=w,e[34]=N,e[35]=_):_=e[35],e[36]!==_||e[37]!==d.root?(S=o.jsx(we.Provider,{value:d.root,children:_}),e[36]=_,e[37]=d.root,e[38]=S):S=e[38],S},Be=()=>{const e=r.c(5),t=O(_e);let a,s,n;return e[0]!==t?(a=()=>{t({})},e[0]=t,e[1]=a):a=e[1],e[2]===Symbol.for("react.memo_cache_sentinel")?(s=o.jsx(X,{className:"w-4 h-4 mr-1"}),e[2]=s):s=e[2],e[3]!==a?(n=o.jsxs(b,{variant:"text",size:"sm",className:"h-fit hidden sm:flex",onClick:a,children:[s,"Collapse all"]}),e[3]=a,e[4]=n):n=e[4],n},Re=e=>{const t=r.c(12),{files:a,searchText:s}=e,[n,i]=P(_e),l=0===Object.keys(n).length,c=g.useRef();let d,m,h,u;if(t[0]!==l?(d=()=>{var e;l&&(null==(e=c.current)||e.closeAll())},m=[l],t[0]=l,t[1]=d,t[2]=m):(d=t[1],m=t[2]),g.useEffect(d,m),0===a.length){let e;return t[3]===Symbol.for("react.memo_cache_sentinel")?(e=o.jsx("div",{className:"flex flex-col px-5 py-10 items-center justify-center",children:o.jsx("p",{className:"text-center text-muted-foreground",children:"No files in this workspace"})}),t[3]=e):e=t[3],e}return t[4]!==n||t[5]!==i?(h=async e=>{const t=n[e]??!1;i({...n,[e]:!t})},t[4]=n,t[5]=i,t[6]=h):h=t[6],t[7]!==a||t[8]!==n||t[9]!==s||t[10]!==h?(u=o.jsx(xe,{ref:c,width:"100%",height:500,searchTerm:s,className:"h-full",idAccessor:Ye,data:a,openByDefault:!1,initialOpenState:n,onToggle:h,padding:5,rowHeight:35,indent:15,overscanCount:1e3,renderCursor:qe,disableDrop:!0,disableDrag:!0,disableEdit:!0,disableMultiSelection:!0,children:$e}),t[7]=a,t[8]=n,t[9]=s,t[10]=h,t[11]=u):u=t[11],u},$e=e=>{const t=r.c(19),{node:a,style:s}=e,n=a.data.isDirectory?"directory":T(a.data.name),i=A[n];let l;t[0]!==i?(l=o.jsx(i,{className:"w-5 h-5 flex-shrink-0",strokeWidth:1.5}),t[0]=i,t[1]=l):l=t[1];const c=l,d=g.useContext(we);let m;t[2]!==c||t[3]!==a.data.isDirectory||t[4]!==a.data.name||t[5]!==a.data.path||t[6]!==d?(m=()=>{if(a.data.isDirectory)return o.jsxs("span",{className:"flex items-center pl-1 cursor-pointer hover:bg-accent/50 hover:text-accent-foreground rounded-l flex-1 overflow-hidden h-full pr-3 gap-2",children:[c,a.data.name]});const e=a.data.path.startsWith(d)&&ee.isAbsolute(a.data.path)?ee.rest(a.data.path,d):a.data.path,t=e.endsWith(".md");return o.jsxs("a",{className:"flex items-center pl-1 cursor-pointer hover:bg-accent/50 hover:text-accent-foreground rounded-l flex-1 overflow-hidden h-full pr-3 gap-2",href:f(`?file=${e}`).toString(),target:Oe(e),children:[c,o.jsxs("span",{className:"flex-1 overflow-hidden text-ellipsis",children:[a.data.name,t&&o.jsx(ae,{className:"ml-2 inline opacity-80"})]}),o.jsx(Fe,{filePath:e}),o.jsx(L,{size:20,className:"group-hover:opacity-100 opacity-0 text-primary"})]})},t[2]=c,t[3]=a.data.isDirectory,t[4]=a.data.name,t[5]=a.data.path,t[6]=d,t[7]=m):m=t[7];const h=m;let u,x,p,b,y;return t[8]===Symbol.for("react.memo_cache_sentinel")?(u=B("flex items-center cursor-pointer ml-1 text-muted-foreground whitespace-nowrap group h-full"),t[8]=u):u=t[8],t[9]!==a?(x=e=>{e.stopPropagation(),a.data.isDirectory&&a.toggle()},p=o.jsx(Le,{node:a}),t[9]=a,t[10]=x,t[11]=p):(x=t[10],p=t[11]),t[12]!==h?(b=h(),t[12]=h,t[13]=b):b=t[13],t[14]!==s||t[15]!==x||t[16]!==p||t[17]!==b?(y=o.jsxs("div",{style:s,className:u,onClick:x,children:[p,b]}),t[14]=s,t[15]=x,t[16]=p,t[17]=b,t[18]=y):y=t[18],y},Le=e=>{const t=r.c(3),{node:a}=e;if(!a.data.isDirectory){let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=o.jsx("span",{className:"w-5 h-5 flex-shrink-0"}),t[0]=e):e=t[0],e}let s;return t[1]!==a.isOpen?(s=a.isOpen?o.jsx(R,{className:"w-5 h-5 flex-shrink-0"}):o.jsx($,{className:"w-5 h-5 flex-shrink-0"}),t[1]=a.isOpen,t[2]=s):s=t[2],s},We=e=>{const t=r.c(7),{header:a,files:s}=e;if(0===s.length)return null;let n,i,l;return t[0]!==s?(n=s.map(Qe),t[0]=s,t[1]=n):n=t[1],t[2]!==n?(i=o.jsx("div",{className:"flex flex-col divide-y divide-[var(--slate-3)] border rounded overflow-hidden max-h-[48rem] overflow-y-auto shadow-sm bg-background",children:n}),t[2]=n,t[3]=i):i=t[3],t[4]!==a||t[5]!==i?(l=o.jsxs("div",{className:"flex flex-col gap-2",children:[a,i]}),t[4]=a,t[5]=i,t[6]=l):l=t[6],l},Ue=e=>{const t=r.c(40),{file:a}=e;let s;t[0]!==a.path?(s=_(a.path),t[0]=a.path,t[1]=s):s=t[1];const n=s;let i,l,c,d;if(t[2]!==a.initializationId||t[3]!==a.path||t[4]!==n){const e=f(n?`?file=${a.initializationId}&session_id=${a.path}`:`?file=${a.path}`);let s;t[9]!==a.path?(s=a.path.endsWith(".md"),t[9]=a.path,t[10]=s):s=t[10],i=s,l="py-1.5 px-4 hover:bg-[var(--blue-2)] hover:text-primary transition-all duration-300 cursor-pointer group relative flex gap-4 items-center",c=a.path,d=e.toString(),t[2]=a.initializationId,t[3]=a.path,t[4]=n,t[5]=i,t[6]=l,t[7]=c,t[8]=d}else i=t[5],l=t[6],c=t[7],d=t[8];const m=a.initializationId||a.path;let h,u,x,p,b,y,g,j,v,k,w;return t[11]!==m?(h=Oe(m),t[11]=m,t[12]=h):h=t[12],t[13]!==i?(u=i&&o.jsx("span",{className:"opacity-80",children:o.jsx(ae,{})}),t[13]=i,t[14]=u):u=t[14],t[15]!==a.name||t[16]!==u?(x=o.jsxs("span",{className:"flex items-center gap-2",children:[a.name,u]}),t[15]=a.name,t[16]=u,t[17]=x):x=t[17],t[18]!==a.path?(p=o.jsx("p",{title:a.path,className:"text-sm text-muted-foreground overflow-hidden whitespace-nowrap overflow-ellipsis",children:a.path}),t[18]=a.path,t[19]=p):p=t[19],t[20]!==x||t[21]!==p?(b=o.jsxs("div",{className:"flex flex-col justify-between flex-1",children:[x,p]}),t[20]=x,t[21]=p,t[22]=b):b=t[22],t[23]!==a.path?(y=o.jsx("div",{children:o.jsx(Fe,{filePath:a.path})}),t[23]=a.path,t[24]=y):y=t[24],t[25]===Symbol.for("react.memo_cache_sentinel")?(g=o.jsx(L,{size:20,className:"group-hover:opacity-100 opacity-0 transition-all duration-300 text-primary"}),t[25]=g):g=t[25],t[26]!==y?(j=o.jsxs("div",{className:"flex gap-3 items-center",children:[y,g]}),t[26]=y,t[27]=j):j=t[27],t[28]!==a.lastModified?(v=!!a.lastModified&&o.jsx("div",{className:"text-xs text-muted-foreground opacity-80",children:S(1e3*a.lastModified)}),t[28]=a.lastModified,t[29]=v):v=t[29],t[30]!==j||t[31]!==v?(k=o.jsxs("div",{className:"flex flex-col gap-1 items-end",children:[j,v]}),t[30]=j,t[31]=v,t[32]=k):k=t[32],t[33]!==b||t[34]!==k||t[35]!==l||t[36]!==c||t[37]!==d||t[38]!==h?(w=o.jsxs("a",{className:l,href:d,target:h,children:[b,k]},c),t[33]=b,t[34]=k,t[35]=l,t[36]=c,t[37]=d,t[38]=h,t[39]=w):w=t[39],w},Fe=e=>{const t=r.c(9),{filePath:a}=e,{openConfirm:s,closeModal:n}=C(),{runningNotebooks:i,setRunningNotebooks:l}=g.useContext(ke);if(!i.has(a))return null;let c,d,m;return t[0]!==n||t[1]!==a||t[2]!==s||t[3]!==i||t[4]!==l?(c=e=>{e.stopPropagation(),e.preventDefault(),s({title:"Shutdown",description:"This will terminate the Python kernel. You'll lose all data that's in memory.",variant:"destructive",confirmAction:o.jsx(W,{onClick:e=>{const t=i.get(a);U(t),F({sessionId:t.sessionId}).then((e=>{l(N.keyBy(e.files,Ke))})),n(),G({description:"Notebook has been shutdown."})},"aria-label":"Confirm Shutdown",children:"Shutdown"})})},t[0]=n,t[1]=a,t[2]=s,t[3]=i,t[4]=l,t[5]=c):c=t[5],t[6]===Symbol.for("react.memo_cache_sentinel")?(d=o.jsx(fe,{size:14}),t[6]=d):d=t[6],t[7]!==c?(m=o.jsx(H,{content:"Shutdown",children:o.jsx(b,{size:"icon",variant:"outline",className:"opacity-80 hover:opacity-100 hover:bg-accent text-destructive border-destructive hover:border-destructive hover:text-destructive bg-background hover:bg-[var(--red-1)]",onClick:c,children:d})}),t[7]=c,t[8]=m):m=t[8],m},Ge=()=>{const e=r.c(3);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t=V(),e[0]=t):t=e[0];const a=t;let s,n;return e[1]===Symbol.for("react.memo_cache_sentinel")?(s=o.jsx("h2",{className:"text-lg font-semibold",children:"Create a new notebook"}),e[1]=s):s=e[1],e[2]===Symbol.for("react.memo_cache_sentinel")?(n=o.jsxs("a",{className:"relative rounded-lg p-6 group\n text-primary hover:bg-[var(--blue-2)] shadow-mdSolid shadow-accent border bg-[var(--blue-1)]\n transition-all duration-300 cursor-pointer\n ",href:a,target:"_blank",rel:"noreferrer",children:[s,o.jsx("div",{className:"group-hover:opacity-100 opacity-0 absolute right-5 top-0 bottom-0 rounded-lg flex items-center justify-center transition-all duration-300",children:o.jsx(L,{size:24})})]}),e[2]=n):n=e[2],n};function He(){return k()}function Ve(e){return e+1}function Ee(e){return e.path}async function Je(){const e=await w();return N.keyBy(e.files,Ee)}function Ye(e){return e.path}function qe(){return null}function Qe(e){return o.jsx(Ue,{file:e},e.path)}function Ke(e){return e.path}export{Te as default};
|