import{S as _,i as h,s as b,e as p,b as a,c as m,w as u,l as d,m as c,n as v,o as w,bq as f}from"./index-C49506g6.js";function o(s){let r,e;return{c(){r=p("iframe"),f(r.src,e="/api/branches/"+s[0].id+"/files/"+s[1].fullpath)||a(r,"src",e),a(r,"title","Test"),a(r,"class","w-full h-full")},m(l,n){m(l,r,n)},p(l,n){n&3&&!f(r.src,e="/api/branches/"+l[0].id+"/files/"+l[1].fullpath)&&a(r,"src",e)},d(l){l&&d(r)}}}function q(s){let r,e=s[0]!==null&&s[1]&&o(s);return{c(){r=p("div"),e&&e.c(),a(r,"class","overflow-auto w-full")},m(l,n){m(l,r,n),e&&e.m(r,null)},p(l,[n]){l[0]!==null&&l[1]?e?e.p(l,n):(e=o(l),e.c(),e.m(r,null)):e&&(e.d(1),e=null)},i:u,o:u,d(l){l&&d(r),e&&e.d()}}}function B(s,r,e){let l,n;c(s,v,t=>e(1,n=t));const i=w();return c(s,i,t=>e(0,l=t)),[l,n,i]}class C extends _{constructor(r){super(),h(this,r,B,q,b,{})}}export{C as default};
