1import{_ as L,a as O}from"./DGMr-FDM.js";import{d as V,C as j,M as A,r as l,X as R,$ as U,c as _,b as r,a5 as Y,h as d,o as c,j as s,i as f,e as q,f as u,m as t,a8 as F,s as y,a0 as G,T as J,ap as v,E as K}from"./5NYYtoaI.js";import{u as Q}from"./D1OAd-Ju.js";const Z={key:2,style:{position:"fixed",right:"20%",bottom:"4.5%",zIndex:50,backgroundColor:"rgba(255,255,255,0.8)",borderColor:"grey",borderStyle:"solid",borderWidth:"1px"},class:"rounded-lg"},ae=V({__name:"material-layout",setup(ee){const a=j(),{isDesktop:i,isMobileOrTablet:h}=A(),b=l();Q({htmlAttrs:{class:"hideOverflow"}}),R("setSheetPosition"),U("setSheetPosition",o=>e.value=o);const e=l(1),p=l("up"),n=l(28),m=l(!1),w=[a.name.startsWith("seitenscans")?"110px":"55px",a.name.startsWith("seitenscans")?"calc(40% + 55px)":"40%",a.name.startsWith("seitenscans")?"calc(80% + 55px)":"80%"],x=_(()=>w[e.value]),k=["55px","40%","80%"],D=_(function(){return i?{position:"fixed",width:n.value+"%",height:"(100% - 70px)",transition:"none",bottom:0,left:0,top:"70px",zIndex:100,display:"flex!important",flexDirection:"column"}:{bottom:a.name.startsWith("seitenscans")?"55px":0,left:0,position:"fixed",width:"100%",height:k[e.value],transition:"all 0.2s",zIndex:100,display:"flex!important",flexDirection:"column"}}),z=_(function(){return i?{position:"fixed",width:100-n.value+"%",height:"(100% - 70px)",transition:"none",bottom:0,left:n.value+"%",top:"70px",zIndex:1,display:"flex!important",flexDirection:"column",padding:"5px"}:{backgroundColor:"rgba(0, 0, 0, 0.4)",top:0,padding:0,left:0,zIndex:0,position:"fixed",width:"100%",overflowX:"auto"}});function C(){e.value=e.value+1,e.value=Math.min(2,e.value),e.value==2&&(p.value="down")}function S(){e.value=e.value-1,e.value=Math.max(0,e.value),e.value==0&&(p.value="up")}function M(){m.value=!0}function W(){m.value=!1,K("resize",n.value)}function B(o){m.value&&(n.value=o.clientX/window.innerWidth*100)}return(o,te)=>{const I=L,P=O,$=F,T=r("v-card-title"),E=r("v-card-item"),N=r("v-card-text"),g=r("v-card"),X=r("v-main"),H=Y("touch");return c(),d(X,{onMouseup:W,onMousemove:B},{default:s(()=>[t(i)?(c(),d(I,{key:0,onMousedown:M,width:t(n),position:t(x),direction:t(p)},null,8,["width","position","direction"])):f("",!0),t(h)?(c(),d(P,{key:1,position:t(x)},null,8,["position"])):f("",!0),t(i)&&t(a).name.startsWith("seitenscans")?(c(),q("div",Z,[u($,{btnSize:"small"})])):f("",!0),u(g,{rounded:t(h),class:G(t(i)?"rounded-0":"rounded-b-0 rounded-t-xl"),style:y(t(D))},{default:s(()=>[J((c(),d(E,{style:{backgroundColor:"whitesmoke"},class:"text-center"},{default:s(()=>[u(T,null,{default:s(()=>[v(o.$slots,"info-panel-title")]),_:3})]),_:3})),[[H,{up:C,down:S}]]),u(N,{ref_key:"cardText",ref:b,style:{overflowY:"auto"}},{default:s(()=>[v(o.$slots,"info-panel")]),_:3},512)]),_:3},8,["rounded","class","style"]),u(g,{style:y(t(z))},{default:s(()=>[v(o.$slots,"content-panel")]),_:3},8,["style"])]),_:3})}}});export{ae as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.