local-operator-ui 0.50.0 → 0.50.1

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 (99) hide show
  1. package/out/main/index.js +32 -8
  2. package/out/renderer/assets/{_basePickBy-lGrnJBuR.js → _basePickBy-Bsv7r9Jb.js} +1 -1
  3. package/out/renderer/assets/{_baseUniq-pte-KX1w.js → _baseUniq-jyJ-i_Ny.js} +1 -1
  4. package/out/renderer/assets/{agent-details-page-Z9dxDwRo.js → agent-details-page-DQXYu_PL.js} +1 -1
  5. package/out/renderer/assets/{agent-hub-page-Cz8gFsZM.js → agent-hub-page-1bRH8Gbz.js} +1 -1
  6. package/out/renderer/assets/{agents-page-COqm0S08.js → agents-page-3iHF3oFj.js} +3 -3
  7. package/out/renderer/assets/{appearance-BP7od2ad.js → appearance-1qSymuJE.js} +34 -34
  8. package/out/renderer/assets/{approvalsOverlay-CicMWNcZ.js → approvalsOverlay-fAKBFaaS.js} +1 -1
  9. package/out/renderer/assets/{arc-hAc2en7O.js → arc-D4FKhFvF.js} +1 -1
  10. package/out/renderer/assets/{architectureDiagram-IEHRJDOE-D_y6xNyM.js → architectureDiagram-IEHRJDOE-D2Wm66Ss.js} +1 -1
  11. package/out/renderer/assets/{avatar-cropper-C7py7Qx_.js → avatar-cropper-BxTkXnUv.js} +1 -1
  12. package/out/renderer/assets/{blockDiagram-JOT3LUYC-Nxeg066s.js → blockDiagram-JOT3LUYC-Dhx8qL4I.js} +1 -1
  13. package/out/renderer/assets/{book-open-CcuWpl8w.js → book-open-DjYEoRKl.js} +1 -1
  14. package/out/renderer/assets/browser-page-CbE2J46g.js +1 -0
  15. package/out/renderer/assets/{browser-webauthn-prompt-BB_bJj8e.js → browser-webauthn-prompt-DhewWTHJ.js} +1 -1
  16. package/out/renderer/assets/{building-2-DUTiKSZR.js → building-2-D7Uxv0cT.js} +1 -1
  17. package/out/renderer/assets/{c4Diagram-VJAJSXHY-7blpEUA4.js → c4Diagram-VJAJSXHY-D78faDhy.js} +1 -1
  18. package/out/renderer/assets/channel-CbmsDNIR.js +1 -0
  19. package/out/renderer/assets/{chunk-4BMEZGHF-BnppHVjz.js → chunk-4BMEZGHF-DRKhJ_j1.js} +1 -1
  20. package/out/renderer/assets/{chunk-A2AXSNBT-lcrRt06T.js → chunk-A2AXSNBT-DGSwfWb0.js} +1 -1
  21. package/out/renderer/assets/{chunk-AEK57VVT-CWuCvRUX.js → chunk-AEK57VVT-B42qalpB.js} +1 -1
  22. package/out/renderer/assets/{chunk-D6G4REZN-NylPQJHQ.js → chunk-D6G4REZN-wUxOb9HP.js} +1 -1
  23. package/out/renderer/assets/{chunk-RZ5BOZE2-BAbSYrOw.js → chunk-RZ5BOZE2-Dne7UctW.js} +1 -1
  24. package/out/renderer/assets/{chunk-XZIHB7SX-Czwc89Qp.js → chunk-XZIHB7SX-DXwYr08U.js} +1 -1
  25. package/out/renderer/assets/classDiagram-GIVACNV2-Br3BiPxU.js +1 -0
  26. package/out/renderer/assets/classDiagram-v2-COTLJTTW-Br3BiPxU.js +1 -0
  27. package/out/renderer/assets/clone-BUSzjx2V.js +1 -0
  28. package/out/renderer/assets/{console-mirror-D3KgKkJ4.js → console-mirror-BQHgtoeJ.js} +1 -1
  29. package/out/renderer/assets/{consoleCapture-hEDcGqMm.js → consoleCapture-BZ1Iqw5E.js} +1 -1
  30. package/out/renderer/assets/{conversation-input-sync-Dxp2po1V.js → conversation-input-sync-D820Mg9t.js} +258 -258
  31. package/out/renderer/assets/{dagre-OKDRZEBW-cJiulspo.js → dagre-OKDRZEBW-DH78Ufhs.js} +1 -1
  32. package/out/renderer/assets/{diagram-SSKATNLV-DuU2Ob4k.js → diagram-SSKATNLV-CaO0hoO4.js} +1 -1
  33. package/out/renderer/assets/{diagram-VNBRO52H-ByaPlu8m.js → diagram-VNBRO52H-PrdUVU14.js} +1 -1
  34. package/out/renderer/assets/{erDiagram-Q7BY3M3F-xg39R-Hw.js → erDiagram-Q7BY3M3F-Bz3wOSZb.js} +1 -1
  35. package/out/renderer/assets/{error-boundary-CGxvzGme.js → error-boundary-DEGyIgpt.js} +1 -1
  36. package/out/renderer/assets/{flowDiagram-4HSFHLVR-DhHpCd7_.js → flowDiagram-4HSFHLVR-DSLF5rPX.js} +1 -1
  37. package/out/renderer/assets/{ganttDiagram-APWFNJXF-DsA_iVfT.js → ganttDiagram-APWFNJXF-BYPDtZuf.js} +1 -1
  38. package/out/renderer/assets/{gitGraphDiagram-7IBYFJ6S-BeD4wz46.js → gitGraphDiagram-7IBYFJ6S-CG1HY2FR.js} +1 -1
  39. package/out/renderer/assets/{graph-BAW_Wl-7.js → graph-B8PSktuT.js} +1 -1
  40. package/out/renderer/assets/{heart-B-Sb1Tu4.js → heart-CYS0Evlh.js} +1 -1
  41. package/out/renderer/assets/{index-iOn7FNrw.js → index-C6QnCGp0.js} +1 -1
  42. package/out/renderer/assets/{index-kQ72C_pJ.css → index-CaftKcJ-.css} +1 -1
  43. package/out/renderer/assets/{index-M2Q3Vvud.js → index-CxIdeYfQ.js} +1 -1
  44. package/out/renderer/assets/{index-LyMDqjwu.js → index-DAPMXH_k.js} +1 -1
  45. package/out/renderer/assets/{index-DdP_V3o3.js → index-DH5u3QDS.js} +208 -203
  46. package/out/renderer/assets/infoDiagram-PH2N3AL5-CDml2IbJ.js +2 -0
  47. package/out/renderer/assets/{installer-DHJd0qet.js → installer-CiMEp27D.js} +1 -1
  48. package/out/renderer/assets/{journeyDiagram-U35MCT3I-D2CcuKmx.js → journeyDiagram-U35MCT3I-CwL5RIgy.js} +1 -1
  49. package/out/renderer/assets/{kanban-definition-NDS4AKOZ-Dmn-Ixie.js → kanban-definition-NDS4AKOZ-YjvJCrvZ.js} +1 -1
  50. package/out/renderer/assets/{layout-CMyXRMah.js → layout-MLQtp9YQ.js} +1 -1
  51. package/out/renderer/assets/{legacy-agents-page-9XFymm4j.js → legacy-agents-page-noAFJiLG.js} +1 -1
  52. package/out/renderer/assets/{library-page-Ca8qV_y6.js → library-page-B9cQw_XV.js} +29 -29
  53. package/out/renderer/assets/{log-in-D82RadKB.js → log-in-E6HfPJn1.js} +1 -1
  54. package/out/renderer/assets/{mermaid.core-9drGuzsu.js → mermaid.core-CyqGNrTg.js} +5 -5
  55. package/out/renderer/assets/{mesh-page-ZoAeUlTN.js → mesh-page-5KrCdgRG.js} +1 -1
  56. package/out/renderer/assets/{messages-BFeJYEKx.js → messages-DRkjMKBJ.js} +8 -8
  57. package/out/renderer/assets/{mindmap-definition-ALO5MXBD-CFPSzITF.js → mindmap-definition-ALO5MXBD-DxOaGeQS.js} +1 -1
  58. package/out/renderer/assets/{mini-Db9iHOlL.js → mini-x7Qw7umA.js} +1 -1
  59. package/out/renderer/assets/{notebook-pen-Dk1ZVNZY.js → notebook-pen-D4l7rOnf.js} +1 -1
  60. package/out/renderer/assets/{notifications-page-DozJ9vPE.js → notifications-page-C23kRJcC.js} +1 -1
  61. package/out/renderer/assets/{org-access-ZqOP2qWb.js → org-access-CyJbTo13.js} +1 -1
  62. package/out/renderer/assets/{org-surface-gate-2rpCIwjt.js → org-surface-gate-gYrpsVF3.js} +1 -1
  63. package/out/renderer/assets/{page-header-cvl2kE3M.js → page-header-DhaFiERt.js} +1 -1
  64. package/out/renderer/assets/{pieDiagram-IB7DONF6-DsP1Eugm.js → pieDiagram-IB7DONF6-CL81fv2F.js} +1 -1
  65. package/out/renderer/assets/{project-markdown-BR8Zqhbr.js → project-markdown-B0jRuZju.js} +1 -1
  66. package/out/renderer/assets/{projects-page-Bv0lsufR.js → projects-page-BWH8MFcf.js} +1 -1
  67. package/out/renderer/assets/{publication-validation-rrxabkBj.js → publication-validation-DI7vbv0d.js} +1 -1
  68. package/out/renderer/assets/{quadrantDiagram-7GDLP6J5-BqcOGQfG.js → quadrantDiagram-7GDLP6J5-D_sJILsv.js} +1 -1
  69. package/out/renderer/assets/{radar-MK3ICKWK-GCl99S35.js → radar-MK3ICKWK-CuxaL0km.js} +1 -1
  70. package/out/renderer/assets/{radient-auth-buttons-en5FAXg4.js → radient-auth-buttons-WMi92Nbu.js} +1 -1
  71. package/out/renderer/assets/{requirementDiagram-KVF5MWMF-DprWueCE.js → requirementDiagram-KVF5MWMF-ChHTRRQC.js} +1 -1
  72. package/out/renderer/assets/{sankeyDiagram-QLVOVGJD-Dopn4P2k.js → sankeyDiagram-QLVOVGJD-Br2FU_Mu.js} +1 -1
  73. package/out/renderer/assets/{schedules-page-DhI6ek4D.js → schedules-page-Dtrb4iqB.js} +1 -1
  74. package/out/renderer/assets/{sequenceDiagram-X6HHIX6F-B4bTz0nC.js → sequenceDiagram-X6HHIX6F-BYeAipI4.js} +1 -1
  75. package/out/renderer/assets/{settings-page-KL9Tf3Db.js → settings-page-D68agRqU.js} +63 -63
  76. package/out/renderer/assets/smartart-DK4xklXS.js +1 -0
  77. package/out/renderer/assets/{stateDiagram-DGXRK772-ChaHDZEF.js → stateDiagram-DGXRK772-HfPPSL57.js} +1 -1
  78. package/out/renderer/assets/stateDiagram-v2-YXO3MK2T-BP4m3n3G.js +1 -0
  79. package/out/renderer/assets/{team-bridge-page-CXPAGqCx.js → team-bridge-page-D--3lHyk.js} +20 -20
  80. package/out/renderer/assets/{team-bridge-scope-preference-DiTLGS2H.js → team-bridge-scope-preference-jREmpkHn.js} +1 -1
  81. package/out/renderer/assets/{timeline-definition-BDJGKUSR-Cs2qa5IM.js → timeline-definition-BDJGKUSR-4WbDfFTG.js} +1 -1
  82. package/out/renderer/assets/{use-download-agent-mutation-Dgouj0xJ.js → use-download-agent-mutation-CYiV_Si3.js} +1 -1
  83. package/out/renderer/assets/{use-session-snapshot-BlA6ikDu.js → use-session-snapshot-CEZUdpvo.js} +1 -1
  84. package/out/renderer/assets/{xychartDiagram-VJFVF3MP-BchqXXt4.js → xychartDiagram-VJFVF3MP-ClLC2IYI.js} +1 -1
  85. package/out/renderer/browser-approvals-overlay.html +2 -2
  86. package/out/renderer/console-capture.html +6 -6
  87. package/out/renderer/index.html +8 -8
  88. package/out/renderer/installer.html +5 -5
  89. package/out/renderer/mini.html +8 -8
  90. package/package.json +1 -1
  91. package/out/renderer/assets/browser-page-Dzqm0H3q.js +0 -1
  92. package/out/renderer/assets/channel-Be5WncX5.js +0 -1
  93. package/out/renderer/assets/classDiagram-GIVACNV2-CsBMVjCt.js +0 -1
  94. package/out/renderer/assets/classDiagram-v2-COTLJTTW-CsBMVjCt.js +0 -1
  95. package/out/renderer/assets/clone-Cjm_Ye8h.js +0 -1
  96. package/out/renderer/assets/hash-CYvFNwsC.js +0 -6
  97. package/out/renderer/assets/infoDiagram-PH2N3AL5-D0IVoTiR.js +0 -2
  98. package/out/renderer/assets/smartart-DRxFRqM8.js +0 -1
  99. package/out/renderer/assets/stateDiagram-v2-YXO3MK2T-DsNbsRL4.js +0 -1
@@ -1 +1 @@
1
- import{r as o,j as t,c as h}from"./index-iOn7FNrw.js";import{N as w,u as N,d as I}from"./index-DdP_V3o3.js";import{u as S,A as E,q as A,B as y,X as k}from"./error-boundary-CGxvzGme.js";import{t as i}from"./messages-BFeJYEKx.js";import{s as B}from"./appearance-BP7od2ad.js";import{aT as m,aU as j,aV as D}from"./conversation-input-sync-Dxp2po1V.js";let _;function J(e){_=e}function K(e){const n=_===e;return _=void 0,n}const V=({consentText:e,pending:n,failure:s,onTurnOff:a,onDismiss:r,defaultExpanded:d=!1})=>{S();const[c,b]=o.useState(d),u=o.useId(),g=o.useId(),f=n!==null,l=n==="turn_off";return t.jsx("section",{"data-agent-messages-banner":"default-on","aria-label":i("ui.agentMessages.banner.title"),children:t.jsx(E,{variant:"info",className:h(w,"items-start border-transparent"),children:t.jsxs("div",{className:"flex w-full min-w-0 flex-col gap-2",children:[t.jsxs("div",{className:"flex w-full min-w-0 items-start gap-3",children:[t.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-0.5",children:[t.jsx(A,{children:i("ui.agentMessages.banner.title")}),t.jsx("p",{className:"text-body-sm text-ink-muted",children:i("ui.agentMessages.banner.body")})]}),t.jsx(y,{variant:"ghost",size:"icon-sm",className:"shrink-0 text-ink-muted","aria-label":i("ui.agentMessages.banner.dismiss"),disabled:f,onClick:r,"data-agent-messages-banner-action":"dismiss",children:t.jsx(k,{"aria-hidden":"true"})})]}),t.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[t.jsx(y,{variant:"secondary",size:"sm",disabled:f,onClick:a,"aria-describedby":g,"data-agent-messages-banner-action":"turn_off",children:t.jsxs("span",{className:"grid",children:[t.jsx("span",{className:h("col-start-1 row-start-1",l&&"invisible"),"aria-hidden":l,children:i("ui.agentMessages.banner.turn_off")}),t.jsx("span",{className:h("col-start-1 row-start-1",!l&&"invisible"),"aria-hidden":!l,children:i("ui.agentMessages.banner.turning_off")})]})}),t.jsx(y,{variant:"ghost",size:"sm",className:"text-ink","aria-expanded":c,"aria-controls":c?u:void 0,onClick:()=>b(x=>!x),"data-agent-messages-banner-action":"read",children:c?i("ui.agentMessages.banner.hide"):i("ui.agentMessages.banner.read")}),t.jsx("span",{id:g,className:"text-pretty text-meta text-ink-muted",children:i("ui.agentMessages.banner.turn_off_hint")})]}),c&&t.jsx("section",{id:u,className:"rounded-md bg-sunken p-3 @max-[1024px]/bridge:max-h-[35dvh] @max-[1024px]/bridge:overflow-y-auto focus-visible:outline-2 focus-visible:outline-accent focus-visible:outline-offset-2","aria-label":i("ui.agentMessages.banner.read"),"data-agent-messages-banner-consent":"",children:e?t.jsx("p",{className:"max-w-prose whitespace-pre-wrap text-body-sm text-ink-muted",children:e}):t.jsx("p",{className:"text-body-sm text-ink-muted",children:i("ui.agentMessages.banner.consent_unavailable")})}),s&&t.jsx("p",{role:"alert",className:"text-body-sm text-ink",children:s==="turn_off"?i("ui.agentMessages.banner.turn_off_failed"):i("ui.agentMessages.banner.dismiss_failed")})]})})})};function X(e,n,s){const a=e?.tenant_id??null;return!N(d=>s&&a?d.defaultOnDismissed[I(s,a)]===!0:!1)&&B(e,n)}function q(e){const{api:n,accountId:s,tenantId:a,markerTenantId:r,onSettings:d,onChanged:c}=e,[b,u]=o.useState(null),[g,f]=o.useState(null),l=o.useRef(!1);async function x(p,O){if(!(l.current||!s)){l.current=!0,u(p),f(null);try{await O()}catch{f(p);return}finally{l.current=!1,u(null)}try{await c?.()}catch{}}}return{pending:b,failure:g,turnOff:()=>x("turn_off",async()=>{const p=await n.updateSettings({expected_account_id:s,...a?{tenant_id:a}:{},state:"disabled"});d?.(p)}),dismiss:()=>x("dismiss",async()=>{await n.dismissOnboarding(),s&&r&&N.getState().markDefaultOnDismissed(s,r)})}}const v="lo.teamBridge.scope.v1",P=128;function C(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function M(e){try{const n=JSON.parse(e.getItem(v)??"{}");return C(n)?n:{}}catch{return{}}}function U(e,n){const s=M(e)[n];if(typeof s!="string")return;if(s===m)return m;const a=s.trim();if(!(!a||a.length>P))return j(a)}function Y(e,n,s){try{const a=M(e);e.setItem(v,JSON.stringify({...a,[n]:s}))}catch{}}function Q(e,n){return n===m?[...e]:e.filter(s=>s.tenant_id===n)}function W({organizations:e,stored:n,requestedTenant:s,chosen:a,current:r,snapshotRows:d}){return s?j(s):a?r:e.length===1?e[0].tenantId:n!==void 0&&(n===m||e.some(c=>c.tenantId===n))?n:e.length>1?m:D(e,r,a,d)}export{V as D,v as S,q as a,U as b,W as c,K as d,J as r,Q as s,X as u,Y as w};
1
+ import{r as o,j as t,c as h}from"./index-C6QnCGp0.js";import{N as w,u as N,d as I}from"./index-DH5u3QDS.js";import{u as S,A as E,q as A,B as y,X as k}from"./error-boundary-DEGyIgpt.js";import{t as i}from"./messages-DRkjMKBJ.js";import{s as B}from"./appearance-1qSymuJE.js";import{aT as m,aU as j,aV as D}from"./conversation-input-sync-D820Mg9t.js";let _;function J(e){_=e}function K(e){const n=_===e;return _=void 0,n}const V=({consentText:e,pending:n,failure:s,onTurnOff:a,onDismiss:r,defaultExpanded:d=!1})=>{S();const[c,b]=o.useState(d),u=o.useId(),g=o.useId(),f=n!==null,l=n==="turn_off";return t.jsx("section",{"data-agent-messages-banner":"default-on","aria-label":i("ui.agentMessages.banner.title"),children:t.jsx(E,{variant:"info",className:h(w,"items-start border-transparent"),children:t.jsxs("div",{className:"flex w-full min-w-0 flex-col gap-2",children:[t.jsxs("div",{className:"flex w-full min-w-0 items-start gap-3",children:[t.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-0.5",children:[t.jsx(A,{children:i("ui.agentMessages.banner.title")}),t.jsx("p",{className:"text-body-sm text-ink-muted",children:i("ui.agentMessages.banner.body")})]}),t.jsx(y,{variant:"ghost",size:"icon-sm",className:"shrink-0 text-ink-muted","aria-label":i("ui.agentMessages.banner.dismiss"),disabled:f,onClick:r,"data-agent-messages-banner-action":"dismiss",children:t.jsx(k,{"aria-hidden":"true"})})]}),t.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[t.jsx(y,{variant:"secondary",size:"sm",disabled:f,onClick:a,"aria-describedby":g,"data-agent-messages-banner-action":"turn_off",children:t.jsxs("span",{className:"grid",children:[t.jsx("span",{className:h("col-start-1 row-start-1",l&&"invisible"),"aria-hidden":l,children:i("ui.agentMessages.banner.turn_off")}),t.jsx("span",{className:h("col-start-1 row-start-1",!l&&"invisible"),"aria-hidden":!l,children:i("ui.agentMessages.banner.turning_off")})]})}),t.jsx(y,{variant:"ghost",size:"sm",className:"text-ink","aria-expanded":c,"aria-controls":c?u:void 0,onClick:()=>b(x=>!x),"data-agent-messages-banner-action":"read",children:c?i("ui.agentMessages.banner.hide"):i("ui.agentMessages.banner.read")}),t.jsx("span",{id:g,className:"text-pretty text-meta text-ink-muted",children:i("ui.agentMessages.banner.turn_off_hint")})]}),c&&t.jsx("section",{id:u,className:"rounded-md bg-sunken p-3 @max-[1024px]/bridge:max-h-[35dvh] @max-[1024px]/bridge:overflow-y-auto focus-visible:outline-2 focus-visible:outline-accent focus-visible:outline-offset-2","aria-label":i("ui.agentMessages.banner.read"),"data-agent-messages-banner-consent":"",children:e?t.jsx("p",{className:"max-w-prose whitespace-pre-wrap text-body-sm text-ink-muted",children:e}):t.jsx("p",{className:"text-body-sm text-ink-muted",children:i("ui.agentMessages.banner.consent_unavailable")})}),s&&t.jsx("p",{role:"alert",className:"text-body-sm text-ink",children:s==="turn_off"?i("ui.agentMessages.banner.turn_off_failed"):i("ui.agentMessages.banner.dismiss_failed")})]})})})};function X(e,n,s){const a=e?.tenant_id??null;return!N(d=>s&&a?d.defaultOnDismissed[I(s,a)]===!0:!1)&&B(e,n)}function q(e){const{api:n,accountId:s,tenantId:a,markerTenantId:r,onSettings:d,onChanged:c}=e,[b,u]=o.useState(null),[g,f]=o.useState(null),l=o.useRef(!1);async function x(p,O){if(!(l.current||!s)){l.current=!0,u(p),f(null);try{await O()}catch{f(p);return}finally{l.current=!1,u(null)}try{await c?.()}catch{}}}return{pending:b,failure:g,turnOff:()=>x("turn_off",async()=>{const p=await n.updateSettings({expected_account_id:s,...a?{tenant_id:a}:{},state:"disabled"});d?.(p)}),dismiss:()=>x("dismiss",async()=>{await n.dismissOnboarding(),s&&r&&N.getState().markDefaultOnDismissed(s,r)})}}const v="lo.teamBridge.scope.v1",P=128;function C(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function M(e){try{const n=JSON.parse(e.getItem(v)??"{}");return C(n)?n:{}}catch{return{}}}function U(e,n){const s=M(e)[n];if(typeof s!="string")return;if(s===m)return m;const a=s.trim();if(!(!a||a.length>P))return j(a)}function Y(e,n,s){try{const a=M(e);e.setItem(v,JSON.stringify({...a,[n]:s}))}catch{}}function Q(e,n){return n===m?[...e]:e.filter(s=>s.tenant_id===n)}function W({organizations:e,stored:n,requestedTenant:s,chosen:a,current:r,snapshotRows:d}){return s?j(s):a?r:e.length===1?e[0].tenantId:n!==void 0&&(n===m||e.some(c=>c.tenantId===n))?n:e.length>1?m:D(e,r,a,d)}export{V as D,v as S,q as a,U as b,W as c,K as d,J as r,Q as s,X as u,Y as w};
@@ -1,4 +1,4 @@
1
- import{_ as s,c as xt,l as E,d as j,V as kt,W as vt,X as _t,Y as bt,D as wt,$ as St,z as Et}from"./mermaid.core-9drGuzsu.js";import{d as nt}from"./arc-hAc2en7O.js";import"./conversation-input-sync-Dxp2po1V.js";import"./index-iOn7FNrw.js";import"./messages-BFeJYEKx.js";import"./appearance-BP7od2ad.js";import"./roles-KXyR--wS.js";import"./error-boundary-CGxvzGme.js";var Q=function(){var n=s(function(x,i,a,c){for(a=a||{},c=x.length;c--;a[x[c]]=i);return a},"o"),t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],l=[1,10],r=[1,11],d=[1,12],h=[1,13],f=[1,16],m=[1,17],u={trace:s(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:s(function(i,a,c,p,y,o,w){var v=o.length-1;switch(y){case 1:return o[v-1];case 2:this.$=[];break;case 3:o[v-1].push(o[v]),this.$=o[v-1];break;case 4:case 5:this.$=o[v];break;case 6:case 7:this.$=[];break;case 8:p.getCommonDb().setDiagramTitle(o[v].substr(6)),this.$=o[v].substr(6);break;case 9:this.$=o[v].trim(),p.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[v].trim(),p.getCommonDb().setAccDescription(this.$);break;case 12:p.addSection(o[v].substr(8)),this.$=o[v].substr(8);break;case 15:p.addTask(o[v],0,""),this.$=o[v];break;case 16:p.addEvent(o[v].substr(2)),this.$=o[v];break}},"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:l,14:r,16:d,17:h,18:14,19:15,20:f,21:m},n(t,[2,7],{1:[2,1]}),n(t,[2,3]),{9:18,11:e,12:l,14:r,16:d,17:h,18:14,19:15,20:f,21:m},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:s(function(i,a){if(a.recoverable)this.trace(i);else{var c=new Error(i);throw c.hash=a,c}},"parseError"),parse:s(function(i){var a=this,c=[0],p=[],y=[null],o=[],w=this.table,v="",N=0,A=0,V=2,U=1,M=o.slice.call(arguments,1),g=Object.create(this.lexer),b={yy:{}};for(var L in this.yy)Object.prototype.hasOwnProperty.call(this.yy,L)&&(b.yy[L]=this.yy[L]);g.setInput(i,b.yy),b.yy.lexer=g,b.yy.parser=this,typeof g.yylloc>"u"&&(g.yylloc={});var P=g.yylloc;o.push(P);var W=g.options&&g.options.ranges;typeof b.yy.parseError=="function"?this.parseError=b.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Z(T){c.length=c.length-2*T,y.length=y.length-T,o.length=o.length-T}s(Z,"popStack");function tt(){var T;return T=p.pop()||g.lex()||U,typeof T!="number"&&(T instanceof Array&&(p=T,T=p.pop()),T=a.symbols_[T]||T),T}s(tt,"lex");for(var S,C,I,J,R={},B,$,et,O;;){if(C=c[c.length-1],this.defaultActions[C]?I=this.defaultActions[C]:((S===null||typeof S>"u")&&(S=tt()),I=w[C]&&w[C][S]),typeof I>"u"||!I.length||!I[0]){var K="";O=[];for(B in w[C])this.terminals_[B]&&B>V&&O.push("'"+this.terminals_[B]+"'");g.showPosition?K="Parse error on line "+(N+1)+`:
1
+ import{_ as s,c as xt,l as E,d as j,V as kt,W as vt,X as _t,Y as bt,D as wt,$ as St,z as Et}from"./mermaid.core-CyqGNrTg.js";import{d as nt}from"./arc-D4FKhFvF.js";import"./conversation-input-sync-D820Mg9t.js";import"./index-C6QnCGp0.js";import"./messages-DRkjMKBJ.js";import"./appearance-1qSymuJE.js";import"./roles-KXyR--wS.js";import"./error-boundary-DEGyIgpt.js";var Q=function(){var n=s(function(x,i,a,c){for(a=a||{},c=x.length;c--;a[x[c]]=i);return a},"o"),t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],l=[1,10],r=[1,11],d=[1,12],h=[1,13],f=[1,16],m=[1,17],u={trace:s(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:s(function(i,a,c,p,y,o,w){var v=o.length-1;switch(y){case 1:return o[v-1];case 2:this.$=[];break;case 3:o[v-1].push(o[v]),this.$=o[v-1];break;case 4:case 5:this.$=o[v];break;case 6:case 7:this.$=[];break;case 8:p.getCommonDb().setDiagramTitle(o[v].substr(6)),this.$=o[v].substr(6);break;case 9:this.$=o[v].trim(),p.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[v].trim(),p.getCommonDb().setAccDescription(this.$);break;case 12:p.addSection(o[v].substr(8)),this.$=o[v].substr(8);break;case 15:p.addTask(o[v],0,""),this.$=o[v];break;case 16:p.addEvent(o[v].substr(2)),this.$=o[v];break}},"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:l,14:r,16:d,17:h,18:14,19:15,20:f,21:m},n(t,[2,7],{1:[2,1]}),n(t,[2,3]),{9:18,11:e,12:l,14:r,16:d,17:h,18:14,19:15,20:f,21:m},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:s(function(i,a){if(a.recoverable)this.trace(i);else{var c=new Error(i);throw c.hash=a,c}},"parseError"),parse:s(function(i){var a=this,c=[0],p=[],y=[null],o=[],w=this.table,v="",N=0,A=0,V=2,U=1,M=o.slice.call(arguments,1),g=Object.create(this.lexer),b={yy:{}};for(var L in this.yy)Object.prototype.hasOwnProperty.call(this.yy,L)&&(b.yy[L]=this.yy[L]);g.setInput(i,b.yy),b.yy.lexer=g,b.yy.parser=this,typeof g.yylloc>"u"&&(g.yylloc={});var P=g.yylloc;o.push(P);var W=g.options&&g.options.ranges;typeof b.yy.parseError=="function"?this.parseError=b.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Z(T){c.length=c.length-2*T,y.length=y.length-T,o.length=o.length-T}s(Z,"popStack");function tt(){var T;return T=p.pop()||g.lex()||U,typeof T!="number"&&(T instanceof Array&&(p=T,T=p.pop()),T=a.symbols_[T]||T),T}s(tt,"lex");for(var S,C,I,J,R={},B,$,et,O;;){if(C=c[c.length-1],this.defaultActions[C]?I=this.defaultActions[C]:((S===null||typeof S>"u")&&(S=tt()),I=w[C]&&w[C][S]),typeof I>"u"||!I.length||!I[0]){var K="";O=[];for(B in w[C])this.terminals_[B]&&B>V&&O.push("'"+this.terminals_[B]+"'");g.showPosition?K="Parse error on line "+(N+1)+`:
2
2
  `+g.showPosition()+`
3
3
  Expecting `+O.join(", ")+", got '"+(this.terminals_[S]||S)+"'":K="Parse error on line "+(N+1)+": Unexpected "+(S==U?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError(K,{text:g.match,token:this.terminals_[S]||S,line:g.yylineno,loc:P,expected:O})}if(I[0]instanceof Array&&I.length>1)throw new Error("Parse Error: multiple actions possible at state: "+C+", token: "+S);switch(I[0]){case 1:c.push(S),y.push(g.yytext),o.push(g.yylloc),c.push(I[1]),S=null,A=g.yyleng,v=g.yytext,N=g.yylineno,P=g.yylloc;break;case 2:if($=this.productions_[I[1]][1],R.$=y[y.length-$],R._$={first_line:o[o.length-($||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-($||1)].first_column,last_column:o[o.length-1].last_column},W&&(R._$.range=[o[o.length-($||1)].range[0],o[o.length-1].range[1]]),J=this.performAction.apply(R,[v,A,N,b.yy,I[1],y,o].concat(M)),typeof J<"u")return J;$&&(c=c.slice(0,-1*$*2),y=y.slice(0,-1*$),o=o.slice(0,-1*$)),c.push(this.productions_[I[1]][0]),y.push(R.$),o.push(R._$),et=w[c[c.length-2]][c[c.length-1]],c.push(et);break;case 3:return!0}}return!0},"parse")},k=function(){var x={EOF:1,parseError:s(function(a,c){if(this.yy.parser)this.yy.parser.parseError(a,c);else throw new Error(a)},"parseError"),setInput:s(function(i,a){return this.yy=a||this.yy||{},this._input=i,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:s(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var a=i.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:s(function(i){var a=i.length,c=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;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),c.length-1&&(this.yylineno-=c.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:c?(c.length===p.length?this.yylloc.first_column:0)+p[p.length-c.length].length-c[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[y[0],y[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:s(function(){return this._more=!0,this},"more"),reject:s(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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});return this},"reject"),less:s(function(i){this.unput(this.match.slice(i))},"less"),pastInput:s(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:s(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:s(function(){var i=this.pastInput(),a=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
@@ -1,4 +1,4 @@
1
- import{j as c,c as p,r as $}from"./index-iOn7FNrw.js";import{c as d,u as T,i as Q}from"./error-boundary-CGxvzGme.js";import{t as i}from"./messages-BFeJYEKx.js";import{cA as E,cx as H,cB as B,bw as M,bx as A,aA as S,c6 as V,b7 as N,c7 as P}from"./conversation-input-sync-Dxp2po1V.js";import{bj as Y,bk as Z,bl as G,bm as W,bn as X,bo as J,bp as ee,bq as K}from"./index-DdP_V3o3.js";import{B as te}from"./book-open-CcuWpl8w.js";import{t as C,n as ae,a as D,g as ne,e as w,h as v,i as q,j as I,f as L}from"./en-US-CW_dDnkH.js";import{h as se,u as _,o as oe,w as ie}from"./appearance-BP7od2ad.js";import{b as re,l as ce}from"./publication-validation-rrxabkBj.js";/**
1
+ import{j as c,c as p,r as $}from"./index-C6QnCGp0.js";import{c as d,u as T,i as Q}from"./error-boundary-DEGyIgpt.js";import{t as i}from"./messages-DRkjMKBJ.js";import{cA as E,cx as H,cB as B,bw as M,bx as A,aA as S,c6 as V,b7 as N,c7 as P}from"./conversation-input-sync-D820Mg9t.js";import{bj as Y,bk as Z,bl as G,bm as W,bn as X,bo as J,bp as ee,bq as K}from"./index-DH5u3QDS.js";import{B as te}from"./book-open-DjYEoRKl.js";import{t as C,n as ae,a as D,g as ne,e as w,h as v,i as q,j as I,f as L}from"./en-US-CW_dDnkH.js";import{h as se,u as _,o as oe,w as ie}from"./appearance-1qSymuJE.js";import{b as re,l as ce}from"./publication-validation-DI7vbv0d.js";/**
2
2
  * @license lucide-react v0.507.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1 +1 @@
1
- import{d as c}from"./appearance-BP7od2ad.js";import{r as n}from"./index-iOn7FNrw.js";function s(){const[f,a]=n.useState(null),[l,o]=n.useState(null),r=n.useRef(null),u=n.useCallback(async e=>{r.current=e,a(t=>t&&t.id!==e?null:t),o(t=>t&&t.id!==e?null:t);try{const t=await c({op:"sessions.get",sessionId:e});if(r.current!==e)return;a({id:e,frontend:t.payload.frontend.snapshot})}catch{}try{const t=await c({op:"commands.entities",sessionId:e,command:"effort"});if(r.current!==e)return;o({id:e,entities:t.entities})}catch{}},[]);return{frontend:f?.frontend??null,effortEntities:l?.entities,refresh:u}}export{s as u};
1
+ import{d as c}from"./appearance-1qSymuJE.js";import{r as n}from"./index-C6QnCGp0.js";function s(){const[f,a]=n.useState(null),[l,o]=n.useState(null),r=n.useRef(null),u=n.useCallback(async e=>{r.current=e,a(t=>t&&t.id!==e?null:t),o(t=>t&&t.id!==e?null:t);try{const t=await c({op:"sessions.get",sessionId:e});if(r.current!==e)return;a({id:e,frontend:t.payload.frontend.snapshot})}catch{}try{const t=await c({op:"commands.entities",sessionId:e,command:"effort"});if(r.current!==e)return;o({id:e,entities:t.entities})}catch{}},[]);return{frontend:f?.frontend??null,effortEntities:l?.entities,refresh:u}}export{s as u};
@@ -1,4 +1,4 @@
1
- import{_ as n,s as ii,g as ei,t as vt,q as si,a as ni,b as ai,l as Lt,K as oi,e as ri,z as hi,G as lt,F as Et,H as li,M as ci,i as ui,N as gi}from"./mermaid.core-9drGuzsu.js";import{o as kt,n as Tt,q as Rt}from"./conversation-input-sync-Dxp2po1V.js";import"./index-iOn7FNrw.js";import"./messages-BFeJYEKx.js";import"./appearance-BP7od2ad.js";import"./roles-KXyR--wS.js";import"./error-boundary-CGxvzGme.js";var at=function(){var t=n(function(B,r,l,c){for(l=l||{},c=B.length;c--;l[B[c]]=r);return l},"o"),i=[1,10,12,14,16,18,19,21,23],e=[2,6],s=[1,3],o=[1,5],p=[1,6],g=[1,7],m=[1,5,10,12,14,16,18,19,21,23,34,35,36],T=[1,25],E=[1,26],S=[1,28],R=[1,29],I=[1,30],V=[1,31],_=[1,32],L=[1,33],f=[1,34],C=[1,35],h=[1,36],D=[1,37],N=[1,43],yt=[1,42],bt=[1,47],$=[1,50],b=[1,10,12,14,16,18,19,21,23,34,35,36],J=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],P=[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],At=[1,64],tt={trace:n(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:n(function(r,l,c,u,y,a,X){var x=a.length-1;switch(y){case 5:u.setOrientation(a[x]);break;case 9:u.setDiagramTitle(a[x].text.trim());break;case 12:u.setLineData({text:"",type:"text"},a[x]);break;case 13:u.setLineData(a[x-1],a[x]);break;case 14:u.setBarData({text:"",type:"text"},a[x]);break;case 15:u.setBarData(a[x-1],a[x]);break;case 16:this.$=a[x].trim(),u.setAccTitle(this.$);break;case 17:case 18:this.$=a[x].trim(),u.setAccDescription(this.$);break;case 19:this.$=a[x-1];break;case 20:this.$=[Number(a[x-2]),...a[x]];break;case 21:this.$=[Number(a[x])];break;case 22:u.setXAxisTitle(a[x]);break;case 23:u.setXAxisTitle(a[x-1]);break;case 24:u.setXAxisTitle({type:"text",text:""});break;case 25:u.setXAxisBand(a[x]);break;case 26:u.setXAxisRangeData(Number(a[x-2]),Number(a[x]));break;case 27:this.$=a[x-1];break;case 28:this.$=[a[x-2],...a[x]];break;case 29:this.$=[a[x]];break;case 30:u.setYAxisTitle(a[x]);break;case 31:u.setYAxisTitle(a[x-1]);break;case 32:u.setYAxisTitle({type:"text",text:""});break;case 33:u.setYAxisRangeData(Number(a[x-2]),Number(a[x]));break;case 37:this.$={text:a[x],type:"text"};break;case 38:this.$={text:a[x],type:"text"};break;case 39:this.$={text:a[x],type:"markdown"};break;case 40:this.$=a[x];break;case 41:this.$=a[x-1]+""+a[x];break}},"anonymous"),table:[t(i,e,{3:1,4:2,7:4,5:s,34:o,35:p,36:g}),{1:[3]},t(i,e,{4:2,7:4,3:8,5:s,34:o,35:p,36:g}),t(i,e,{4:2,7:4,6:9,3:10,5:s,8:[1,11],34:o,35:p,36:g}),{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]},t(m,[2,34]),t(m,[2,35]),t(m,[2,36]),{1:[2,1]},t(i,e,{4:2,7:4,3:21,5:s,34:o,35:p,36:g}),{1:[2,3]},t(m,[2,5]),t(i,[2,7],{4:22,34:o,35:p,36:g}),{11:23,37:24,38:T,39:E,40:27,41:S,42:R,43:I,44:V,45:_,46:L,47:f,48:C,49:h,50:D},{11:39,13:38,24:N,27:yt,29:40,30:41,37:24,38:T,39:E,40:27,41:S,42:R,43:I,44:V,45:_,46:L,47:f,48:C,49:h,50:D},{11:45,15:44,27:bt,33:46,37:24,38:T,39:E,40:27,41:S,42:R,43:I,44:V,45:_,46:L,47:f,48:C,49:h,50:D},{11:49,17:48,24:$,37:24,38:T,39:E,40:27,41:S,42:R,43:I,44:V,45:_,46:L,47:f,48:C,49:h,50:D},{11:52,17:51,24:$,37:24,38:T,39:E,40:27,41:S,42:R,43:I,44:V,45:_,46:L,47:f,48:C,49:h,50:D},{20:[1,53]},{22:[1,54]},t(b,[2,18]),{1:[2,2]},t(b,[2,8]),t(b,[2,9]),t(J,[2,37],{40:55,41:S,42:R,43:I,44:V,45:_,46:L,47:f,48:C,49:h,50:D}),t(J,[2,38]),t(J,[2,39]),t(P,[2,40]),t(P,[2,42]),t(P,[2,43]),t(P,[2,44]),t(P,[2,45]),t(P,[2,46]),t(P,[2,47]),t(P,[2,48]),t(P,[2,49]),t(P,[2,50]),t(P,[2,51]),t(b,[2,10]),t(b,[2,22],{30:41,29:56,24:N,27:yt}),t(b,[2,24]),t(b,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:T,39:E,40:27,41:S,42:R,43:I,44:V,45:_,46:L,47:f,48:C,49:h,50:D},t(b,[2,11]),t(b,[2,30],{33:60,27:bt}),t(b,[2,32]),{31:[1,61]},t(b,[2,12]),{17:62,24:$},{25:63,27:At},t(b,[2,14]),{17:65,24:$},t(b,[2,16]),t(b,[2,17]),t(P,[2,41]),t(b,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},t(b,[2,31]),{27:[1,69]},t(b,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},t(b,[2,15]),t(b,[2,26]),t(b,[2,27]),{11:59,32:72,37:24,38:T,39:E,40:27,41:S,42:R,43:I,44:V,45:_,46:L,47:f,48:C,49:h,50:D},t(b,[2,33]),t(b,[2,19]),{25:73,27:At},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:n(function(r,l){if(l.recoverable)this.trace(r);else{var c=new Error(r);throw c.hash=l,c}},"parseError"),parse:n(function(r){var l=this,c=[0],u=[],y=[null],a=[],X=this.table,x="",G=0,Ct=0,Kt=2,wt=1,Zt=a.slice.call(arguments,1),A=Object.create(this.lexer),W={yy:{}};for(var it in this.yy)Object.prototype.hasOwnProperty.call(this.yy,it)&&(W.yy[it]=this.yy[it]);A.setInput(r,W.yy),W.yy.lexer=A,W.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var et=A.yylloc;a.push(et);var Jt=A.options&&A.options.ranges;typeof W.yy.parseError=="function"?this.parseError=W.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ti(k){c.length=c.length-2*k,y.length=y.length-k,a.length=a.length-k}n(ti,"popStack");function St(){var k;return k=u.pop()||A.lex()||wt,typeof k!="number"&&(k instanceof Array&&(u=k,k=u.pop()),k=l.symbols_[k]||k),k}n(St,"lex");for(var w,O,v,st,z={},j,M,_t,Q;;){if(O=c[c.length-1],this.defaultActions[O]?v=this.defaultActions[O]:((w===null||typeof w>"u")&&(w=St()),v=X[O]&&X[O][w]),typeof v>"u"||!v.length||!v[0]){var nt="";Q=[];for(j in X[O])this.terminals_[j]&&j>Kt&&Q.push("'"+this.terminals_[j]+"'");A.showPosition?nt="Parse error on line "+(G+1)+`:
1
+ import{_ as n,s as ii,g as ei,t as vt,q as si,a as ni,b as ai,l as Lt,K as oi,e as ri,z as hi,G as lt,F as Et,H as li,M as ci,i as ui,N as gi}from"./mermaid.core-CyqGNrTg.js";import{o as kt,n as Tt,q as Rt}from"./conversation-input-sync-D820Mg9t.js";import"./index-C6QnCGp0.js";import"./messages-DRkjMKBJ.js";import"./appearance-1qSymuJE.js";import"./roles-KXyR--wS.js";import"./error-boundary-DEGyIgpt.js";var at=function(){var t=n(function(B,r,l,c){for(l=l||{},c=B.length;c--;l[B[c]]=r);return l},"o"),i=[1,10,12,14,16,18,19,21,23],e=[2,6],s=[1,3],o=[1,5],p=[1,6],g=[1,7],m=[1,5,10,12,14,16,18,19,21,23,34,35,36],T=[1,25],E=[1,26],S=[1,28],R=[1,29],I=[1,30],V=[1,31],_=[1,32],L=[1,33],f=[1,34],C=[1,35],h=[1,36],D=[1,37],N=[1,43],yt=[1,42],bt=[1,47],$=[1,50],b=[1,10,12,14,16,18,19,21,23,34,35,36],J=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],P=[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],At=[1,64],tt={trace:n(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:n(function(r,l,c,u,y,a,X){var x=a.length-1;switch(y){case 5:u.setOrientation(a[x]);break;case 9:u.setDiagramTitle(a[x].text.trim());break;case 12:u.setLineData({text:"",type:"text"},a[x]);break;case 13:u.setLineData(a[x-1],a[x]);break;case 14:u.setBarData({text:"",type:"text"},a[x]);break;case 15:u.setBarData(a[x-1],a[x]);break;case 16:this.$=a[x].trim(),u.setAccTitle(this.$);break;case 17:case 18:this.$=a[x].trim(),u.setAccDescription(this.$);break;case 19:this.$=a[x-1];break;case 20:this.$=[Number(a[x-2]),...a[x]];break;case 21:this.$=[Number(a[x])];break;case 22:u.setXAxisTitle(a[x]);break;case 23:u.setXAxisTitle(a[x-1]);break;case 24:u.setXAxisTitle({type:"text",text:""});break;case 25:u.setXAxisBand(a[x]);break;case 26:u.setXAxisRangeData(Number(a[x-2]),Number(a[x]));break;case 27:this.$=a[x-1];break;case 28:this.$=[a[x-2],...a[x]];break;case 29:this.$=[a[x]];break;case 30:u.setYAxisTitle(a[x]);break;case 31:u.setYAxisTitle(a[x-1]);break;case 32:u.setYAxisTitle({type:"text",text:""});break;case 33:u.setYAxisRangeData(Number(a[x-2]),Number(a[x]));break;case 37:this.$={text:a[x],type:"text"};break;case 38:this.$={text:a[x],type:"text"};break;case 39:this.$={text:a[x],type:"markdown"};break;case 40:this.$=a[x];break;case 41:this.$=a[x-1]+""+a[x];break}},"anonymous"),table:[t(i,e,{3:1,4:2,7:4,5:s,34:o,35:p,36:g}),{1:[3]},t(i,e,{4:2,7:4,3:8,5:s,34:o,35:p,36:g}),t(i,e,{4:2,7:4,6:9,3:10,5:s,8:[1,11],34:o,35:p,36:g}),{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]},t(m,[2,34]),t(m,[2,35]),t(m,[2,36]),{1:[2,1]},t(i,e,{4:2,7:4,3:21,5:s,34:o,35:p,36:g}),{1:[2,3]},t(m,[2,5]),t(i,[2,7],{4:22,34:o,35:p,36:g}),{11:23,37:24,38:T,39:E,40:27,41:S,42:R,43:I,44:V,45:_,46:L,47:f,48:C,49:h,50:D},{11:39,13:38,24:N,27:yt,29:40,30:41,37:24,38:T,39:E,40:27,41:S,42:R,43:I,44:V,45:_,46:L,47:f,48:C,49:h,50:D},{11:45,15:44,27:bt,33:46,37:24,38:T,39:E,40:27,41:S,42:R,43:I,44:V,45:_,46:L,47:f,48:C,49:h,50:D},{11:49,17:48,24:$,37:24,38:T,39:E,40:27,41:S,42:R,43:I,44:V,45:_,46:L,47:f,48:C,49:h,50:D},{11:52,17:51,24:$,37:24,38:T,39:E,40:27,41:S,42:R,43:I,44:V,45:_,46:L,47:f,48:C,49:h,50:D},{20:[1,53]},{22:[1,54]},t(b,[2,18]),{1:[2,2]},t(b,[2,8]),t(b,[2,9]),t(J,[2,37],{40:55,41:S,42:R,43:I,44:V,45:_,46:L,47:f,48:C,49:h,50:D}),t(J,[2,38]),t(J,[2,39]),t(P,[2,40]),t(P,[2,42]),t(P,[2,43]),t(P,[2,44]),t(P,[2,45]),t(P,[2,46]),t(P,[2,47]),t(P,[2,48]),t(P,[2,49]),t(P,[2,50]),t(P,[2,51]),t(b,[2,10]),t(b,[2,22],{30:41,29:56,24:N,27:yt}),t(b,[2,24]),t(b,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:T,39:E,40:27,41:S,42:R,43:I,44:V,45:_,46:L,47:f,48:C,49:h,50:D},t(b,[2,11]),t(b,[2,30],{33:60,27:bt}),t(b,[2,32]),{31:[1,61]},t(b,[2,12]),{17:62,24:$},{25:63,27:At},t(b,[2,14]),{17:65,24:$},t(b,[2,16]),t(b,[2,17]),t(P,[2,41]),t(b,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},t(b,[2,31]),{27:[1,69]},t(b,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},t(b,[2,15]),t(b,[2,26]),t(b,[2,27]),{11:59,32:72,37:24,38:T,39:E,40:27,41:S,42:R,43:I,44:V,45:_,46:L,47:f,48:C,49:h,50:D},t(b,[2,33]),t(b,[2,19]),{25:73,27:At},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:n(function(r,l){if(l.recoverable)this.trace(r);else{var c=new Error(r);throw c.hash=l,c}},"parseError"),parse:n(function(r){var l=this,c=[0],u=[],y=[null],a=[],X=this.table,x="",G=0,Ct=0,Kt=2,wt=1,Zt=a.slice.call(arguments,1),A=Object.create(this.lexer),W={yy:{}};for(var it in this.yy)Object.prototype.hasOwnProperty.call(this.yy,it)&&(W.yy[it]=this.yy[it]);A.setInput(r,W.yy),W.yy.lexer=A,W.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var et=A.yylloc;a.push(et);var Jt=A.options&&A.options.ranges;typeof W.yy.parseError=="function"?this.parseError=W.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ti(k){c.length=c.length-2*k,y.length=y.length-k,a.length=a.length-k}n(ti,"popStack");function St(){var k;return k=u.pop()||A.lex()||wt,typeof k!="number"&&(k instanceof Array&&(u=k,k=u.pop()),k=l.symbols_[k]||k),k}n(St,"lex");for(var w,O,v,st,z={},j,M,_t,Q;;){if(O=c[c.length-1],this.defaultActions[O]?v=this.defaultActions[O]:((w===null||typeof w>"u")&&(w=St()),v=X[O]&&X[O][w]),typeof v>"u"||!v.length||!v[0]){var nt="";Q=[];for(j in X[O])this.terminals_[j]&&j>Kt&&Q.push("'"+this.terminals_[j]+"'");A.showPosition?nt="Parse error on line "+(G+1)+`:
2
2
  `+A.showPosition()+`
3
3
  Expecting `+Q.join(", ")+", got '"+(this.terminals_[w]||w)+"'":nt="Parse error on line "+(G+1)+": Unexpected "+(w==wt?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(nt,{text:A.match,token:this.terminals_[w]||w,line:A.yylineno,loc:et,expected:Q})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+O+", token: "+w);switch(v[0]){case 1:c.push(w),y.push(A.yytext),a.push(A.yylloc),c.push(v[1]),w=null,Ct=A.yyleng,x=A.yytext,G=A.yylineno,et=A.yylloc;break;case 2:if(M=this.productions_[v[1]][1],z.$=y[y.length-M],z._$={first_line:a[a.length-(M||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(M||1)].first_column,last_column:a[a.length-1].last_column},Jt&&(z._$.range=[a[a.length-(M||1)].range[0],a[a.length-1].range[1]]),st=this.performAction.apply(z,[x,Ct,G,W.yy,v[1],y,a].concat(Zt)),typeof st<"u")return st;M&&(c=c.slice(0,-1*M*2),y=y.slice(0,-1*M),a=a.slice(0,-1*M)),c.push(this.productions_[v[1]][0]),y.push(z.$),a.push(z._$),_t=X[c[c.length-2]][c[c.length-1]],c.push(_t);break;case 3:return!0}}return!0},"parse")},Qt=function(){var B={EOF:1,parseError:n(function(l,c){if(this.yy.parser)this.yy.parser.parseError(l,c);else throw new Error(l)},"parseError"),setInput:n(function(r,l){return this.yy=l||this.yy||{},this._input=r,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:n(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var l=r.match(/(?:\r\n?|\n).*/g);return l?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:n(function(r){var l=r.length,c=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;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),c.length-1&&(this.yylineno-=c.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:c?(c.length===u.length?this.yylloc.first_column:0)+u[u.length-c.length].length-c[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[y[0],y[0]+this.yyleng-l]),this.yyleng=this.yytext.length,this},"unput"),more:n(function(){return this._more=!0,this},"more"),reject:n(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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});return this},"reject"),less:n(function(r){this.unput(this.match.slice(r))},"less"),pastInput:n(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n(function(){var r=this.pastInput(),l=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
@@ -21,8 +21,8 @@
21
21
  http-equiv="Content-Security-Policy"
22
22
  content="default-src 'none'; script-src 'self'; style-src 'self'; img-src 'none'; font-src 'none'; connect-src 'none'; object-src 'none'; base-uri 'none'; form-action 'none'"
23
23
  />
24
- <script type="module" crossorigin src="./assets/approvalsOverlay-CicMWNcZ.js"></script>
25
- <link rel="modulepreload" crossorigin href="./assets/messages-BFeJYEKx.js">
24
+ <script type="module" crossorigin src="./assets/approvalsOverlay-fAKBFaaS.js"></script>
25
+ <link rel="modulepreload" crossorigin href="./assets/messages-DRkjMKBJ.js">
26
26
  <link rel="modulepreload" crossorigin href="./assets/roles-KXyR--wS.js">
27
27
  <link rel="stylesheet" crossorigin href="./assets/approvalsOverlay-BHW3Rvqd.css">
28
28
  </head>
@@ -6,13 +6,13 @@
6
6
  <title>Local Operator Console Capture</title>
7
7
  <meta http-equiv="Content-Security-Policy"
8
8
  content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self' data:" />
9
- <script type="module" crossorigin src="./assets/consoleCapture-hEDcGqMm.js"></script>
10
- <link rel="modulepreload" crossorigin href="./assets/messages-BFeJYEKx.js">
11
- <link rel="modulepreload" crossorigin href="./assets/index-iOn7FNrw.js">
9
+ <script type="module" crossorigin src="./assets/consoleCapture-BZ1Iqw5E.js"></script>
10
+ <link rel="modulepreload" crossorigin href="./assets/messages-DRkjMKBJ.js">
11
+ <link rel="modulepreload" crossorigin href="./assets/index-C6QnCGp0.js">
12
12
  <link rel="modulepreload" crossorigin href="./assets/roles-KXyR--wS.js">
13
- <link rel="modulepreload" crossorigin href="./assets/appearance-BP7od2ad.js">
14
- <link rel="modulepreload" crossorigin href="./assets/console-mirror-D3KgKkJ4.js">
15
- <link rel="stylesheet" crossorigin href="./assets/index-kQ72C_pJ.css">
13
+ <link rel="modulepreload" crossorigin href="./assets/appearance-1qSymuJE.js">
14
+ <link rel="modulepreload" crossorigin href="./assets/console-mirror-BQHgtoeJ.js">
15
+ <link rel="stylesheet" crossorigin href="./assets/index-CaftKcJ-.css">
16
16
  <link rel="stylesheet" crossorigin href="./assets/console-mirror-DOrYoP_4.css">
17
17
  </head>
18
18
 
@@ -41,15 +41,15 @@
41
41
  <meta http-equiv="Content-Security-Policy"
42
42
  content="default-src 'self'; connect-src 'self' http://localhost:1111 http://127.0.0.1:1111 http://localhost:8080 http://127.0.0.1:8080 https://api.radienthq.com https://us.i.posthog.com https://login.microsoftonline.com https://accounts.google.com; script-src 'self' https://us-assets.i.posthog.com https://accounts.google.com https://login.microsoftonline.com; style-src 'self' 'unsafe-inline' data:; img-src 'self' data: blob: http://localhost:1111 http://127.0.0.1:1111; media-src 'self' blob: http://localhost:1111 http://127.0.0.1:1111; font-src 'self' data:; frame-src 'self' data: blob: lo-supplement: http://localhost:1111 http://127.0.0.1:1111 https://accounts.google.com https://login.microsoftonline.com" />
43
43
  <meta http-equiv="Cross-Origin-Opener-Policy" content="same-origin-allow-popups" />
44
- <script type="module" crossorigin src="./assets/index-DdP_V3o3.js"></script>
45
- <link rel="modulepreload" crossorigin href="./assets/messages-BFeJYEKx.js">
46
- <link rel="modulepreload" crossorigin href="./assets/index-iOn7FNrw.js">
44
+ <script type="module" crossorigin src="./assets/index-DH5u3QDS.js"></script>
45
+ <link rel="modulepreload" crossorigin href="./assets/messages-DRkjMKBJ.js">
46
+ <link rel="modulepreload" crossorigin href="./assets/index-C6QnCGp0.js">
47
47
  <link rel="modulepreload" crossorigin href="./assets/roles-KXyR--wS.js">
48
- <link rel="modulepreload" crossorigin href="./assets/appearance-BP7od2ad.js">
49
- <link rel="modulepreload" crossorigin href="./assets/error-boundary-CGxvzGme.js">
50
- <link rel="modulepreload" crossorigin href="./assets/conversation-input-sync-Dxp2po1V.js">
51
- <link rel="modulepreload" crossorigin href="./assets/console-mirror-D3KgKkJ4.js">
52
- <link rel="stylesheet" crossorigin href="./assets/index-kQ72C_pJ.css">
48
+ <link rel="modulepreload" crossorigin href="./assets/appearance-1qSymuJE.js">
49
+ <link rel="modulepreload" crossorigin href="./assets/error-boundary-DEGyIgpt.js">
50
+ <link rel="modulepreload" crossorigin href="./assets/conversation-input-sync-D820Mg9t.js">
51
+ <link rel="modulepreload" crossorigin href="./assets/console-mirror-BQHgtoeJ.js">
52
+ <link rel="stylesheet" crossorigin href="./assets/index-CaftKcJ-.css">
53
53
  <link rel="stylesheet" crossorigin href="./assets/conversation-input-sync-BmGWvjex.css">
54
54
  <link rel="stylesheet" crossorigin href="./assets/console-mirror-DOrYoP_4.css">
55
55
  <link rel="stylesheet" crossorigin href="./assets/index-CruN78l1.css">
@@ -8,11 +8,11 @@
8
8
  <!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
9
9
  <meta http-equiv="Content-Security-Policy"
10
10
  content="default-src 'self'; connect-src 'self' http://localhost:1111 http://127.0.0.1:1111; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data: http://localhost:1111 http://127.0.0.1:1111; media-src 'self' http://localhost:1111 http://127.0.0.1:1111; font-src 'self' data:" />
11
- <script type="module" crossorigin src="./assets/installer-DHJd0qet.js"></script>
12
- <link rel="modulepreload" crossorigin href="./assets/messages-BFeJYEKx.js">
13
- <link rel="modulepreload" crossorigin href="./assets/index-iOn7FNrw.js">
14
- <link rel="modulepreload" crossorigin href="./assets/error-boundary-CGxvzGme.js">
15
- <link rel="stylesheet" crossorigin href="./assets/index-kQ72C_pJ.css">
11
+ <script type="module" crossorigin src="./assets/installer-CiMEp27D.js"></script>
12
+ <link rel="modulepreload" crossorigin href="./assets/messages-DRkjMKBJ.js">
13
+ <link rel="modulepreload" crossorigin href="./assets/index-C6QnCGp0.js">
14
+ <link rel="modulepreload" crossorigin href="./assets/error-boundary-DEGyIgpt.js">
15
+ <link rel="stylesheet" crossorigin href="./assets/index-CaftKcJ-.css">
16
16
  </head>
17
17
 
18
18
  <body>
@@ -6,15 +6,15 @@
6
6
  <title>Local Operator Quick Send</title>
7
7
  <meta http-equiv="Content-Security-Policy"
8
8
  content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self' data:" />
9
- <script type="module" crossorigin src="./assets/mini-Db9iHOlL.js"></script>
10
- <link rel="modulepreload" crossorigin href="./assets/messages-BFeJYEKx.js">
11
- <link rel="modulepreload" crossorigin href="./assets/index-iOn7FNrw.js">
9
+ <script type="module" crossorigin src="./assets/mini-x7Qw7umA.js"></script>
10
+ <link rel="modulepreload" crossorigin href="./assets/messages-DRkjMKBJ.js">
11
+ <link rel="modulepreload" crossorigin href="./assets/index-C6QnCGp0.js">
12
12
  <link rel="modulepreload" crossorigin href="./assets/roles-KXyR--wS.js">
13
- <link rel="modulepreload" crossorigin href="./assets/appearance-BP7od2ad.js">
14
- <link rel="modulepreload" crossorigin href="./assets/error-boundary-CGxvzGme.js">
15
- <link rel="modulepreload" crossorigin href="./assets/conversation-input-sync-Dxp2po1V.js">
16
- <link rel="modulepreload" crossorigin href="./assets/use-session-snapshot-BlA6ikDu.js">
17
- <link rel="stylesheet" crossorigin href="./assets/index-kQ72C_pJ.css">
13
+ <link rel="modulepreload" crossorigin href="./assets/appearance-1qSymuJE.js">
14
+ <link rel="modulepreload" crossorigin href="./assets/error-boundary-DEGyIgpt.js">
15
+ <link rel="modulepreload" crossorigin href="./assets/conversation-input-sync-D820Mg9t.js">
16
+ <link rel="modulepreload" crossorigin href="./assets/use-session-snapshot-CEZUdpvo.js">
17
+ <link rel="stylesheet" crossorigin href="./assets/index-CaftKcJ-.css">
18
18
  <link rel="stylesheet" crossorigin href="./assets/conversation-input-sync-BmGWvjex.css">
19
19
  </head>
20
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "local-operator-ui",
3
- "version": "0.50.0",
3
+ "version": "0.50.1",
4
4
  "productName": "Local Operator",
5
5
  "description": "User interface for AI agent assistants that run Python code safely on your device through an intuitive chat interface. Supports local and cloud LLM models with built-in security features.",
6
6
  "main": "./out/main/index.js",
@@ -1 +0,0 @@
1
- import{j as r}from"./index-iOn7FNrw.js";import{B as o}from"./index-DdP_V3o3.js";import"./messages-BFeJYEKx.js";import"./appearance-BP7od2ad.js";import"./roles-KXyR--wS.js";import"./error-boundary-CGxvzGme.js";import"./conversation-input-sync-Dxp2po1V.js";import"./console-mirror-D3KgKkJ4.js";const c=()=>r.jsx(o,{tabScope:"all",requestScope:"all",hostSessionId:null,isRoutePage:!0,surfaceTag:"browser-route",dockSurfaceTag:"browser-approvals-dock"});export{c as BrowserPage};
@@ -1 +0,0 @@
1
- import{U as a,C as n}from"./mermaid.core-9drGuzsu.js";const t=(r,o)=>a.lang.round(n.parse(r)[o]);export{t as c};
@@ -1 +0,0 @@
1
- import{s as a,c as s,a as e,C as t}from"./chunk-A2AXSNBT-lcrRt06T.js";import{_ as i}from"./mermaid.core-9drGuzsu.js";import"./chunk-RZ5BOZE2-BAbSYrOw.js";import"./conversation-input-sync-Dxp2po1V.js";import"./index-iOn7FNrw.js";import"./messages-BFeJYEKx.js";import"./appearance-BP7od2ad.js";import"./roles-KXyR--wS.js";import"./error-boundary-CGxvzGme.js";var b={parser:e,get db(){return new t},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{b as diagram};
@@ -1 +0,0 @@
1
- import{s as a,c as s,a as e,C as t}from"./chunk-A2AXSNBT-lcrRt06T.js";import{_ as i}from"./mermaid.core-9drGuzsu.js";import"./chunk-RZ5BOZE2-BAbSYrOw.js";import"./conversation-input-sync-Dxp2po1V.js";import"./index-iOn7FNrw.js";import"./messages-BFeJYEKx.js";import"./appearance-BP7od2ad.js";import"./roles-KXyR--wS.js";import"./error-boundary-CGxvzGme.js";var b={parser:e,get db(){return new t},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{b as diagram};
@@ -1 +0,0 @@
1
- import{b as r}from"./_baseUniq-pte-KX1w.js";var e=4;function a(o){return r(o,e)}export{a as c};
@@ -1,6 +0,0 @@
1
- import{c as e}from"./error-boundary-CGxvzGme.js";/**
2
- * @license lucide-react v0.507.0 - ISC
3
- *
4
- * This source code is licensed under the ISC license.
5
- * See the LICENSE file in the root directory of this source tree.
6
- */const y=[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]],o=e("hash",y);export{o as H};
@@ -1,2 +0,0 @@
1
- import{_ as e,l as o,K as s,e as p,L as n}from"./mermaid.core-9drGuzsu.js";import{p as m}from"./radar-MK3ICKWK-GCl99S35.js";import"./conversation-input-sync-Dxp2po1V.js";import"./index-iOn7FNrw.js";import"./messages-BFeJYEKx.js";import"./appearance-BP7od2ad.js";import"./roles-KXyR--wS.js";import"./error-boundary-CGxvzGme.js";import"./_baseUniq-pte-KX1w.js";import"./_basePickBy-lGrnJBuR.js";import"./clone-Cjm_Ye8h.js";var g={parse:e(async r=>{const a=await m("info",r);o.debug(a)},"parse")},v={version:n.version},d=e(()=>v.version,"getVersion"),c={getVersion:d},l=e((r,a,i)=>{o.debug(`rendering info diagram
2
- `+r);const t=s(a);p(t,100,400,!0),t.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"),f={draw:l},V={parser:g,db:c,renderer:f};export{V as diagram};
@@ -1 +0,0 @@
1
- import{g as Y,a as E,b as F}from"./library-page-Ca8qV_y6.js";import"./index-iOn7FNrw.js";import"./messages-BFeJYEKx.js";import"./console-mirror-D3KgKkJ4.js";import"./appearance-BP7od2ad.js";import"./roles-KXyR--wS.js";import"./page-header-cvl2kE3M.js";import"./conversation-input-sync-Dxp2po1V.js";import"./error-boundary-CGxvzGme.js";import"./index-DdP_V3o3.js";import"./heart-B-Sb1Tu4.js";import"./hash-CYvFNwsC.js";import"./use-session-snapshot-BlA6ikDu.js";const B=["#4472C4","#ED7D31","#A9D18E","#FF0000","#FFC000","#5B9BD5","#70AD47","#C00000","#7030A0","#00B0F0"];function W(n,t){const c=`accent${n%6+1}`;return t[c]?"#"+t[c]:B[n%B.length]}function j(n,t=.45){const c=parseInt(n.slice(1,3),16),s=parseInt(n.slice(3,5),16),a=parseInt(n.slice(5,7),16),g=Math.round(c+(255-c)*t),M=Math.round(s+(255-s)*t),o=Math.round(a+(255-a)*t);return`rgb(${g},${M},${o})`}function G(n){const t=[];for(const c of E(n,"t")){const s=c.textContent.trim();s&&t.push(s)}return t.join(" ")}function V(n){if(!n)return[];const t=Y(n,"ptLst");if(!t)return[];const c=[];for(const s of E(t,"pt")){const a=F(s,"type","node");if(a==="parTrans"||a==="sibTrans")continue;const g=G(s);(g||a==="node")&&c.push({id:F(s,"modelId",""),type:a,text:g})}return c.filter(s=>s.text)}function z(n){if(!n)return"list";const t=Y(n,"layoutDef")||n,s=(F(t,"uniqueId","")||F(t,"defStyle","")||"").toLowerCase();return s.includes("chevron")||s.includes("arrowprocess")||s.includes("process")?"process":s.includes("cycle")||s.includes("continuouscycle")?"cycle":s.includes("hierarchy")||s.includes("orgchart")||s.includes("org")?"hierarchy":s.includes("radial")||s.includes("diverging")?"radial":s.includes("pyramid")||s.includes("invertedpyramid")?"pyramid":s.includes("funnel")?"funnel":s.includes("venn")?"venn":s.includes("matrix")?"matrix":s.includes("list")||s.includes("bullet")?"list":s.includes("relationship")||s.includes("balance")?"relationship":"list"}function $(n,t,c,s,a,g,M,o="#fff",f="center"){if(!t)return;n.save(),n.fillStyle=o,n.textAlign=f,n.textBaseline="middle";const l=t.split(" "),p=M*1.3;let h=[],r="";for(const u of l){const y=r?r+" "+u:u;n.measureText(y).width>a-4&&r?(h.push(r),r=u):r=y}r&&h.push(r);const i=Math.max(1,Math.floor(g/p));h.length>i&&(h=h.slice(0,i));const e=s-(h.length-1)*p/2;for(let u=0;u<h.length;u++)n.fillText(h[u],c,e+u*p);n.restore()}function I(n,t,c,s=14){const a=Math.floor(t/(s*.55)),g=n.split(" "),M=Math.ceil(g.join(" ").length/Math.max(a,1)),o=c/(M*1.4);return Math.max(8,Math.min(s,o))}function L(n,t,c,s,a,g,M,o){n.save(),n.beginPath(),g=Math.min(g,s/2,a/2),n.moveTo(t+g,c),n.arcTo(t+s,c,t+s,c+a,g),n.arcTo(t+s,c+a,t,c+a,g),n.arcTo(t,c+a,t,c,g),n.arcTo(t,c,t+s,c,g),n.closePath(),M&&(n.fillStyle=M,n.fill()),n.restore()}function X(n,t,c,s,a,g,M=1.5){const o=Math.atan2(a-c,s-t),f=8;n.save(),n.strokeStyle=g,n.fillStyle=g,n.lineWidth=M,n.beginPath(),n.moveTo(t,c),n.lineTo(s,a),n.stroke(),n.beginPath(),n.moveTo(s,a),n.lineTo(s-f*Math.cos(o-.4),a-f*Math.sin(o-.4)),n.lineTo(s-f*Math.cos(o+.4),a-f*Math.sin(o+.4)),n.closePath(),n.fill(),n.restore()}function J(n,t,c,s,a,g,M,o){if(!t.length)return;const f=t.length,l=a/f,p=Math.min(l*.08,10*o),h=Math.min(l*.12,18*o),r=l-h-p,i=g*.7,e=s+(g-i)/2;for(let u=0;u<f;u++){const y=W(u,M),d=c+l*u+p/2,b=u===f-1;n.save(),n.beginPath();const P=d+r+(b?0:h);n.moveTo(d,e),n.lineTo(d+r,e),b||n.lineTo(P,e+i/2),n.lineTo(d+r,e+i),n.lineTo(d,e+i),u>0&&n.lineTo(d+h,e+i/2),n.closePath(),n.fillStyle=y,n.fill(),n.restore();const m=I(t[u].text,r-h,i)*o;n.font=`${m}px sans-serif`;const T=d+(r+(u>0?h:0))/2;$(n,t[u].text,T,e+i/2,r,i,m)}}function K(n,t,c,s,a,g,M,o){if(!t.length)return;const f=t.length,l=c+a/2,p=s+g/2,h=Math.min(a,g)*.33,r=Math.min(h*.32,40*o);n.save(),n.strokeStyle="#ccc",n.lineWidth=2*o,n.setLineDash([4*o,4*o]),n.beginPath(),n.arc(l,p,h,0,Math.PI*2),n.stroke(),n.setLineDash([]),n.restore();for(let i=0;i<f;i++){const e=i/f*Math.PI*2-Math.PI/2,u=l+h*Math.cos(e),y=p+h*Math.sin(e),d=W(i,M);if(n.save(),n.beginPath(),n.arc(u,y,r,0,Math.PI*2),n.fillStyle=d,n.fill(),n.restore(),f>1){const P=(i+1)/f*Math.PI*2-Math.PI/2,m=(e+P)/2,T=l+h*Math.cos(e+.15),v=p+h*Math.sin(e+.15),k=l+h*Math.cos(P-.15),S=p+h*Math.sin(P-.15);n.save(),n.strokeStyle=d+"99",n.lineWidth=1.5*o,n.beginPath(),n.moveTo(T,v),n.quadraticCurveTo(l+h*1.1*Math.cos(m),p+h*1.1*Math.sin(m),k,S),n.stroke(),n.restore()}const b=I(t[i].text,r*1.7,r*1.2)*o;n.font=`${b}px sans-serif`,$(n,t[i].text,u,y,r*2,r*1.8,b)}}function O(n,t,c,s,a,g,M,o){if(!t.length)return;const f=t[0],l=t.slice(1),p=Math.max(l.length,1),h=g/(l.length>0?2.8:1.2),r=h*.75,i=Math.min(a*.3,160*o),e=r,u=c+(a-i)/2,y=s+(h-e)/2,d=W(0,M);L(n,u,y,i,e,6*o,d);const b=I(f.text,i-10*o,e)*o;if(n.font=`bold ${b}px sans-serif`,$(n,f.text,u+i/2,y+e/2,i-10,e,b),!l.length)return;const P=(a-20*o)/p,m=s+h*1.5,T=y+e,v=m-4*o;n.save(),n.strokeStyle="#999",n.lineWidth=1.5*o,n.beginPath(),n.moveTo(u+i/2,T),n.lineTo(u+i/2,(T+v)/2),n.lineTo(c+10*o,(T+v)/2),n.lineTo(c+a-10*o,(T+v)/2),n.stroke(),n.restore();for(let k=0;k<l.length;k++){const S=c+P*k+8*o,R=m,A=P-16*o,H=r,N=W(k+1,M);n.save(),n.strokeStyle="#999",n.lineWidth=1.5*o,n.beginPath(),n.moveTo(S+A/2,(T+v)/2),n.lineTo(S+A/2,R),n.stroke(),n.restore(),L(n,S,R,A,H,5*o,N);const D=I(l[k].text,A-8*o,H)*o;n.font=`${D}px sans-serif`,$(n,l[k].text,S+A/2,R+H/2,A-8,H,D)}}function Q(n,t,c,s,a,g,M,o){if(!t.length)return;const f=t[0],l=t.slice(1),p=c+a/2,h=s+g/2,r=Math.min(a,g)*.18,i=Math.min(a,g)*.36,e=Math.min(i*.28,38*o),u=l.length||1,y=W(0,M);n.save(),n.beginPath(),n.arc(p,h,r,0,Math.PI*2),n.fillStyle=y,n.fill(),n.restore();const d=I(f.text,r*1.6,r*1.2)*o;n.font=`bold ${d}px sans-serif`,$(n,f.text,p,h,r*2,r*2,d);for(let b=0;b<u;b++){const P=b/u*Math.PI*2-Math.PI/2,m=p+i*Math.cos(P),T=h+i*Math.sin(P),v=W(b+1,M),k=p+r*Math.cos(P),S=h+r*Math.sin(P),R=m-e*Math.cos(P),A=T-e*Math.sin(P);X(n,k,S,R,A,v+"99",1.5*o),n.save(),n.beginPath(),n.arc(m,T,e,0,Math.PI*2),n.fillStyle=v,n.fill(),n.restore();const H=I(l[b].text,e*1.7,e*1.2)*o;n.font=`${H}px sans-serif`,$(n,l[b].text,m,T,e*2,e*1.8,H)}}function U(n,t,c,s,a,g,M,o){if(!t.length)return;const f=t.length,l=g/f;for(let p=0;p<f;p++){const h=(f-p)/f,r=a*h,i=c+(a-r)/2,e=s+p*l,u=W(p,M);n.save(),n.beginPath(),n.moveTo(i,e+l),n.lineTo(i+r,e+l);const y=a*((f-p-1)/f);n.lineTo(c+(a+y)/2,e),n.lineTo(c+(a-y)/2,e),n.closePath(),n.fillStyle=u,n.strokeStyle="#fff",n.lineWidth=2*o,n.fill(),n.stroke(),n.restore();const d=I(t[p].text,r*.6,l*.7)*o;n.font=`${d}px sans-serif`,$(n,t[p].text,c+a/2,e+l/2,r*.6,l*.7,d)}}function Z(n,t,c,s,a,g,M,o){if(!t.length)return;const f=t.length,l=g/f;for(let p=0;p<f;p++){const h=1-p/f*.55,r=1-(p+1)/f*.55,i=a*h,e=a*r,u=c+(a-i)/2,y=c+(a-e)/2,d=s+p*l,b=W(p,M);n.save(),n.beginPath(),n.moveTo(u,d),n.lineTo(u+i,d),n.lineTo(y+e,d+l),n.lineTo(y,d+l),n.closePath(),n.fillStyle=b,n.strokeStyle="#fff",n.lineWidth=2*o,n.fill(),n.stroke(),n.restore();const P=(i+e)/2,m=I(t[p].text,P*.8,l*.7)*o;n.font=`${m}px sans-serif`,$(n,t[p].text,c+a/2,d+l/2,P*.8,l*.7,m)}}function _(n,t,c,s,a,g,M,o){if(!t.length)return;const f=Math.min(t.length,4),l=c+a/2,p=s+g/2,h=Math.min(a,g)*(f<=2?.32:.28),r=h*.65,i=[];for(let e=0;e<f;e++)i.push(e/f*Math.PI*2-Math.PI/2);for(let e=0;e<f;e++){const u=f>1?l+r*Math.cos(i[e]):l,y=f>1?p+r*Math.sin(i[e]):p,d=W(e,M);n.save(),n.globalAlpha=.55,n.beginPath(),n.arc(u,y,h,0,Math.PI*2),n.fillStyle=d,n.fill(),n.globalAlpha=1,n.strokeStyle="#fff",n.lineWidth=1.5*o,n.stroke(),n.restore();const b=f>1?l+(r+h*.45)*Math.cos(i[e]):l,P=f>1?p+(r+h*.45)*Math.sin(i[e]):p,m=I(t[e].text,h*1.2,h*.7)*o;n.font=`${m}px sans-serif`,$(n,t[e].text,b,P,h*1.2,h*.7,m,"#333")}}function w(n,t,c,s,a,g,M,o){const f=[t[0]||{text:""},t[1]||{text:""},t[2]||{text:""},t[3]||{text:""}],l=a/2,p=g/2,h=8*o;for(let r=0;r<2;r++)for(let i=0;i<2;i++){const e=r*2+i,u=c+i*l+h,y=s+r*p+h,d=l-h*2,b=p-h*2,P=W(e,M);L(n,u,y,d,b,8*o,P);const m=I(f[e].text,d-10,b)*o;n.font=`${m}px sans-serif`,$(n,f[e].text,u+d/2,y+b/2,d-10,b,m)}}function q(n,t,c,s,a,g,M,o){if(!t.length)return;const f=t.length,l=g/f,p=Math.min(l*.2,14*o),h=p*3;for(let r=0;r<f;r++){const i=s+r*l,e=i+l/2,u=W(r,M);n.save(),n.beginPath(),n.arc(c+p,e,p,0,Math.PI*2),n.fillStyle=u,n.fill(),n.restore(),L(n,c+h,i+l*.1,a-h-4*o,l*.8,4*o,u+"22");const y=I(t[r].text,a-h-20*o,l*.7)*o;n.font=`${y}px sans-serif`,n.fillStyle="#333",n.textAlign="left",n.textBaseline="middle",n.fillText(t[r].text,c+h+8*o,e)}}function C(n,t,c,s,a,g,M,o){if(t.length<2){q(n,t,c,s,a,g,M,o);return}const f=t[Math.floor(t.length/2)],l=t.slice(0,Math.floor(t.length/2)),p=t.slice(Math.floor(t.length/2)+1),h=c+a/2,r=s+g/2,i=Math.min(a*.14,g*.25),e=W(Math.floor(t.length/2),M);n.save(),n.beginPath(),n.arc(h,r,i,0,Math.PI*2),n.fillStyle=e,n.fill(),n.restore();const u=I(f.text,i*1.6,i*1.2)*o;n.font=`bold ${u}px sans-serif`,$(n,f.text,h,r,i*2,i*1.8,u);const y=g/Math.max(l.length,p.length,1),d=a*.3,b=y*.7,P=(m,T)=>{const v=T==="left"?c:c+a-d,k=T==="left"?h-i:h+i;for(let S=0;S<m.length;S++){const R=s+y*S+(y-b)/2,A=W(S+(T==="right"?l.length+1:0),M);L(n,v,R,d,b,5*o,A);const H=I(m[S].text,d-8,b)*o;n.font=`${H}px sans-serif`,$(n,m[S].text,v+d/2,R+b/2,d-8,b,H);const N=T==="left"?v+d:v;X(n,N,R+b/2,k,r,A+"88",1.5*o)}};P(l,"left"),P(p,"right")}function x(n,t,c,s,a,g,M,o){const f=t.length;if(!f)return;const l=Math.ceil(Math.sqrt(f)),p=Math.ceil(f/l),h=a/l,r=g/p,i=Math.min(h,r)*.1;for(let e=0;e<f;e++){const u=e%l,y=Math.floor(e/l),d=c+u*h+i,b=s+y*r+i,P=h-i*2,m=r-i*2,T=W(e,M);L(n,d,b,P,m,8*o,T),j(T),n.save();const v=n.createLinearGradient(d,b,d,b+m*.5);v.addColorStop(0,"rgba(255,255,255,0.18)"),v.addColorStop(1,"rgba(255,255,255,0)"),n.fillStyle=v,n.beginPath(),n.roundRect?.(d,b,P,m,8*o),n.fill(),n.restore();const k=I(t[e].text,P-12*o,m)*o;n.font=`${k}px sans-serif`,$(n,t[e].text,d+P/2,b+m/2,P-12*o,m,k)}}function gn(n,t,c,s,a,g,M,o,f){const l=V(t),p=z(c),h=16*f;n.save(),n.fillStyle="#f7f9fc",n.strokeStyle="#e0e4ec",n.lineWidth=1,n.beginPath(),n.roundRect?.(s,a,g,M,6*f)||n.rect(s,a,g,M),n.fill(),n.stroke();const r=s+h,i=a+h,e=g-h*2,u=M-h*2;if(!l.length){n.fillStyle="#aaa",n.font=`${12*f}px sans-serif`,n.textAlign="center",n.textBaseline="middle",n.fillText("SmartArt Diagram",s+g/2,a+M/2),n.restore();return}switch(p){case"process":J(n,l,r,i,e,u,o,f);break;case"cycle":K(n,l,r,i,e,u,o,f);break;case"hierarchy":O(n,l,r,i,e,u,o,f);break;case"radial":Q(n,l,r,i,e,u,o,f);break;case"pyramid":U(n,l,r,i,e,u,o,f);break;case"funnel":Z(n,l,r,i,e,u,o,f);break;case"venn":_(n,l,r,i,e,u,o,f);break;case"matrix":w(n,l,r,i,e,u,o,f);break;case"list":q(n,l,r,i,e,u,o,f);break;case"relationship":C(n,l,r,i,e,u,o,f);break;default:x(n,l,r,i,e,u,o,f)}n.restore()}export{gn as renderSmartArt};
@@ -1 +0,0 @@
1
- import{s as r,b as e,a,S as i}from"./chunk-AEK57VVT-CWuCvRUX.js";import{_ as s}from"./mermaid.core-9drGuzsu.js";import"./chunk-RZ5BOZE2-BAbSYrOw.js";import"./conversation-input-sync-Dxp2po1V.js";import"./index-iOn7FNrw.js";import"./messages-BFeJYEKx.js";import"./appearance-BP7od2ad.js";import"./roles-KXyR--wS.js";import"./error-boundary-CGxvzGme.js";var f={parser:a,get db(){return new i(2)},renderer:e,styles:r,init:s(t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute},"init")};export{f as diagram};