import{s as Q,u as W,d as p,p as X,v as Y,w as Z,x as $,a as g,i as ee,k as l,l as te,R as se,b as e,c,h as m,q as le,f as V,g as oe,e as u,t as ae,j,o as ie}from"./Cl1o3nVP.js";import{S as re,i as ne,t as de,a as fe}from"./nb9JOxVX.js";import{p as P,g as ce}from"./De2JwdUD.js";function ue(a){let o,t,i,_,b=a[1].name+"",E,O,x,v,s,R,S,D,z,T,M,r,k,A,n,y,N="Exit",q,w,B,U;const F=a[4].default,d=W(F,a,a[3],null);return{c(){o=u("div"),t=u("div"),i=u("div"),_=u("header"),E=ae(b),O=j(),x=u("hr"),v=j(),s=u("div"),R=u("div"),S=j(),D=u("div"),d&&d.c(),z=j(),T=u("div"),M=j(),r=u("footer"),k=u("hr"),A=j(),n=u("div"),y=u("button"),y.textContent=N,this.h()},l(h){o=c(h,"DIV",{style:!0});var f=m(o);t=c(f,"DIV",{class:!0,style:!0});var G=m(t);i=c(G,"DIV",{style:!0});var C=m(i);_=c(C,"HEADER",{style:!0});var J=m(_);E=le(J,b),J.forEach(p),O=V(C),x=c(C,"HR",{class:!0}),C.forEach(p),G.forEach(p),v=V(f),s=c(f,"DIV",{style:!0});var I=m(s);R=c(I,"DIV",{style:!0}),m(R).forEach(p),S=V(I),D=c(I,"DIV",{style:!0});var K=m(D);d&&d.l(K),K.forEach(p),z=V(I),T=c(I,"DIV",{style:!0}),m(T).forEach(p),I.forEach(p),M=V(f),r=c(f,"FOOTER",{class:!0,style:!0});var H=m(r);k=c(H,"HR",{class:!0}),A=V(H),n=c(H,"DIV",{class:!0,style:!0});var L=m(n);y=c(L,"BUTTON",{monitor:!0,class:!0,"data-svelte-h":!0}),oe(y)!=="svelte-1dqqwne"&&(y.textContent=N),L.forEach(p),H.forEach(p),f.forEach(p),this.h()},h(){e(_,"padding","0.2cm 0"),e(_,"text-align","center"),e(_,"font-size","1.2em"),g(x,"class","!border-t-2"),e(i,"display","flex"),e(i,"justify-content","center"),e(i,"flex-direction","column"),e(i,"height","50px"),g(t,"class","bg-surface-50-900-token border border-primary-500/30"),e(t,"display","flex"),e(t,"position","absolute"),e(t,"top","0"),e(t,"left","0"),e(t,"height","100%"),e(t,"width","100%"),e(t,"border-radius","8px"),e(t,"overflow","hidden"),e(t,"flex-direction","column"),e(R,"height","50px"),e(D,"height","100%"),e(D,"overflow-y","scroll"),e(T,"height","70px"),e(s,"position","absolute"),e(s,"top","0"),e(s,"left","0"),e(s,"right","0"),e(s,"bottom","0"),e(s,"width","100%"),e(s,"box-sizing","border-box"),e(s,"padding","0 10px 0"),e(s,"display","flex"),e(s,"flex-direction","column"),e(s,"justify-content","space-between"),g(k,"class","!border-t-2"),g(y,"monitor","polytope_2 exit"),g(y,"class","btn variant-filled"),g(n,"class","modal-footer"),e(n,"display","flex"),e(n,"align-items","center"),e(n,"justify-content","space-between"),e(n,"position","absolute"),e(n,"bottom","0"),e(n,"left","0"),e(n,"width","100%"),e(n,"padding","10px"),g(r,"class","bg-surface-50-900-token border border-primary-500/30"),e(r,"position","absolute"),e(r,"bottom","0"),e(r,"left","0"),e(r,"width","100%"),e(r,"height","70px"),e(r,"border-radius","8px"),g(o,"style",q=P(Object.assign({},{position:"relative",top:"0",left:"0",padding:"0",width:"80vw",height:"80vh"},a[0])))},m(h,f){ee(h,o,f),l(o,t),l(t,i),l(i,_),l(_,E),l(i,O),l(i,x),l(o,v),l(o,s),l(s,R),l(s,S),l(s,D),d&&d.m(D,null),l(s,z),l(s,T),l(o,M),l(o,r),l(r,k),l(r,A),l(r,n),l(n,y),w=!0,B||(U=te(y,"click",function(){se(a[1].close)&&a[1].close.apply(this,arguments)}),B=!0)},p(h,[f]){a=h,(!w||f&2)&&b!==(b=a[1].name+"")&&X(E,b),d&&d.p&&(!w||f&8)&&Y(d,F,a,a[3],w?$(F,a[3],f,null):Z(a[3]),null),(!w||f&1&&q!==(q=P(Object.assign({},{position:"relative",top:"0",left:"0",padding:"0",width:"80vw",height:"80vh"},a[0]))))&&g(o,"style",q)},i(h){w||(fe(d,h),w=!0)},o(h){de(d,h),w=!1},d(h){h&&p(o),d&&d.d(h),B=!1,U()}}}function he(a,o,t){let i,{$$slots:_={},$$scope:b}=o,{style:E={}}=o;const O=ce();let{on_prepare:x=()=>{}}=o;return ie(()=>{x()}),a.$$set=v=>{"style"in v&&t(0,E=v.style),"on_prepare"in v&&t(2,x=v.on_prepare),"$$scope"in v&&t(3,b=v.$$scope)},t(1,i={name:"",close:()=>{O.close()}}),[E,i,x,b,_]}class me extends re{constructor(o){super(),ne(this,o,he,ue,Q,{style:0,on_prepare:2})}}export{me as T};
//# sourceMappingURL=qceoPQyi.js.map
