archy/demo/aiui/assets/chunk-QN33PNHL-aWjw7low.js
Dorian 7aa59d8072 fix: AIUI mobile — auto-switch to content tab when clicking chat bubbles
Removed !isEmbedded guard from mobile tab auto-switch watchers in
ChatPage.vue. When running embedded in Archy iframe on mobile,
clicking a chat bubble now correctly switches to the content panel.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 21:20:57 +00:00

2 lines
506 B
JavaScript

import{_ as a,e as w,l as x}from"./mermaid.core-Bp72wBaC.js";var d=a((e,t,i,r)=>{e.attr("class",i);const{width:o,height:h,x:n,y:c}=u(e,t);w(e,h,o,r);const s=l(n,c,o,h,t);e.attr("viewBox",s),x.debug(`viewBox configured: ${s} with padding: ${t}`)},"setupViewPortForSVG"),u=a((e,t)=>{const i=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:i.width+t*2,height:i.height+t*2,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),l=a((e,t,i,r,o)=>`${e-o} ${t-o} ${i} ${r}`,"createViewBox");export{d as s};