import{r as qt,b as Ot,e as Rt,f as at,k as G,j as V,l as _t,u as Y,h as zt,m as jt,t as Nt,F as Et,q as Ft}from"./app-afc25dff.js";import{u as Qt}from"./Util-bf03b1c6.js";import St from"./Tooltip-d23db7fa.js";import{r as Ut,S as Ht,a as At,Q as $t,D as Gt}from"./index-fea4678f.js";import{g as Vt}from"./_commonjsHelpers-d4b30cbb.js";import{L as Yt}from"./LoadingIcon-4dd4ee09.js";import{q as Xt,h as Lt,U as Wt,Y as Zt,S as Jt}from"./transition-1214961b.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./open-closed-56ee71d9.js";var Tt={exports:{}};(function(ct,Ct){(function(gt,ut){ct.exports=ut(Ut)})(self,function(gt){return(()=>{var ut={192:(z,E)=>{var F,pt,U=function(){var Q=function(v,g){var p=v,f=rt[g],o=null,t=0,r=null,n=[],e={},s=function(a,d){o=function(i){for(var u=new Array(i),l=0;l=7&&x(a),r==null&&(r=_(p,f,n)),S(r,d)},c=function(a,d){for(var i=-1;i<=7;i+=1)if(!(a+i<=-1||t<=a+i))for(var u=-1;u<=7;u+=1)d+u<=-1||t<=d+u||(o[a+i][d+u]=0<=i&&i<=6&&(u==0||u==6)||0<=u&&u<=6&&(i==0||i==6)||2<=i&&i<=4&&2<=u&&u<=4)},w=function(){for(var a=8;a>i&1)==1;o[Math.floor(i/3)][i%3+t-8-3]=u}for(i=0;i<18;i+=1)u=!a&&(d>>i&1)==1,o[i%3+t-8-3][Math.floor(i/3)]=u},h=function(a,d){for(var i=f<<3|d,u=ot.getBCHTypeInfo(i),l=0;l<15;l+=1){var m=!a&&(u>>l&1)==1;l<6?o[l][8]=m:l<8?o[l+1][8]=m:o[t-15+l][8]=m}for(l=0;l<15;l+=1)m=!a&&(u>>l&1)==1,l<8?o[8][t-l-1]=m:l<9?o[8][15-l-1+1]=m:o[8][15-l-1]=m;o[t-8][8]=!a},S=function(a,d){for(var i=-1,u=t-1,l=7,m=0,b=ot.getMaskFunction(d),k=t-1;k>0;k-=2)for(k==6&&(k-=1);;){for(var O=0;O<2;O+=1)if(o[u][k-O]==null){var M=!1;m>>l&1)==1),b(u,k-O)&&(M=!M),o[u][k-O]=M,(l-=1)==-1&&(m+=1,l=7)}if((u+=i)<0||t<=u){u-=i,i=-i;break}}},_=function(a,d,i){for(var u=kt.getRSBlocks(a,d),l=mt(),m=0;m8*k)throw"code length overflow. ("+l.getLengthInBits()+">"+8*k+")";for(l.getLengthInBits()+4<=8*k&&l.put(0,4);l.getLengthInBits()%8!=0;)l.putBit(!1);for(;!(l.getLengthInBits()>=8*k||(l.put(236,8),l.getLengthInBits()>=8*k));)l.put(17,8);return function(O,M){for(var D=0,T=0,P=0,A=new Array(M.length),R=new Array(M.length),B=0;B=0?K.getAt(it):0}}var ht=0;for(I=0;IM)&&(b=M,k=O)}return k}())},e.createTableTag=function(a,d){a=a||2;var i="";i+='";for(var l=0;l';i+=""}return(i+="")+"
"},e.createSvgTag=function(a,d,i,u){var l={};typeof arguments[0]=="object"&&(a=(l=arguments[0]).cellSize,d=l.margin,i=l.alt,u=l.title),a=a||2,d=d===void 0?4*a:d,(i=typeof i=="string"?{text:i}:i||{}).text=i.text||null,i.id=i.text?i.id||"qrcode-description":null,(u=typeof u=="string"?{text:u}:u||{}).text=u.text||null,u.id=u.text?u.id||"qrcode-title":null;var m,b,k,O,M=e.getModuleCount()*a+2*d,D="";for(O="l"+a+",0 0,"+a+" -"+a+",0 0,-"+a+"z ",D+=''+C(u.text)+"":"",D+=i.text?''+C(i.text)+"":"",D+='',D+='"},e.createDataURL=function(a,d){a=a||2,d=d===void 0?4*a:d;var i=e.getModuleCount()*a+2*d,u=d,l=i-d;return Dt(i,i,function(m,b){if(u<=m&&m"};var C=function(a){for(var d="",i=0;i":d+=">";break;case"&":d+="&";break;case'"':d+=""";break;default:d+=u}}return d};return e.createASCII=function(a,d){if((a=a||1)<2)return function(A){A=A===void 0?2:A;var R,B,st,Z,I,J=1*e.getModuleCount()+2*A,K=A,it=J-A,ht={"██":"█","█ ":"▀"," █":"▄"," ":" "},j={"██":"▀","█ ":"▀"," █":" "," ":" "},N="";for(R=0;R=it?j[I]:ht[I];N+=` `}return J%2&&A>0?N.substring(0,N.length-J-1)+Array(J+1).join("▀"):N.substring(0,N.length-1)}(d);a-=1,d=d===void 0?2*a:d;var i,u,l,m,b=e.getModuleCount()*a+2*d,k=d,O=b-d,M=Array(a+1).join("██"),D=Array(a+1).join(" "),T="",P="";for(i=0;i>>8),t.push(255&e)):t.push(f)}}return t}};var lt,L,$,q,et,rt={L:1,M:0,Q:3,H:2},ot=(lt=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],L=1335,$=7973,et=function(v){for(var g=0;v!=0;)g+=1,v>>>=1;return g},(q={}).getBCHTypeInfo=function(v){for(var g=v<<10;et(g)-et(L)>=0;)g^=L<=0;)g^=$<5&&(p+=3+t-5)}for(f=0;f=256;)f-=255;return v[f]}}}();function X(v,g){if(v.length===void 0)throw v.length+"/"+g;var p=function(){for(var o=0;o>>7-f%8&1)==1},put:function(f,o){for(var t=0;t>>o-t-1&1)==1)},getLengthInBits:function(){return g},putBit:function(f){var o=Math.floor(g/8);v.length<=o&&v.push(0),f&&(v[o]|=128>>>g%8),g+=1}};return p},vt=function(v){var g=v,p={getMode:function(){return 1},getLength:function(t){return g.length},write:function(t){for(var r=g,n=0;n+2>>8&255)+(255&r),f.put(r,13),t+=2}if(t>>8)},writeBytes:function(p,f,o){f=f||0,o=o||p.length;for(var t=0;t0&&(p+=","),p+=v[f];return p+"]"}};return g},Pt=function(v){var g=v,p=0,f=0,o=0,t={read:function(){for(;o<8;){if(p>=g.length){if(o==0)return-1;throw"unexpected end of file./"+o}var n=g.charAt(p);if(p+=1,n=="=")return o=0,-1;n.match(/^\s$/)||(f=f<<6|r(n.charCodeAt(0)),o+=6)}var e=f>>>o-8&255;return o-=8,e}},r=function(n){if(65<=n&&n<=90)return n-65;if(97<=n&&n<=122)return n-97+26;if(48<=n&&n<=57)return n-48+52;if(n==43)return 62;if(n==47)return 63;throw"c:"+n};return t},Dt=function(v,g,p){for(var f=function(c,w){var y=c,x=w,h=new Array(c*w),S={setPixel:function(a,d,i){h[d*y+a]=i},write:function(a){a.writeString("GIF87a"),a.writeShort(y),a.writeShort(x),a.writeByte(128),a.writeByte(0),a.writeByte(0),a.writeByte(0),a.writeByte(0),a.writeByte(0),a.writeByte(255),a.writeByte(255),a.writeByte(255),a.writeString(","),a.writeShort(0),a.writeShort(0),a.writeShort(y),a.writeShort(x),a.writeByte(0);var d=_(2);a.writeByte(2);for(var i=0;d.length-i>255;)a.writeByte(255),a.writeBytes(d,i,255),i+=255;a.writeByte(d.length-i),a.writeBytes(d,i,d.length-i),a.writeByte(0),a.writeString(";")}},_=function(a){for(var d=1<>>B)throw"length over";for(;k+B>=8;)b.writeByte(255&(R<>>=8-k,O=0,k=0;O|=R<0&&b.writeByte(O)}});D.write(d,u);var T=0,P=String.fromCharCode(h[T]);for(T+=1;T=6;)S(c>>>w-6),w-=6},h.flush=function(){if(w>0&&(S(c<<6-w),c=0,w=0),y%3!=0)for(var C=3-y%3,a=0;a>6,128|63&q):q<55296||q>=57344?L.push(224|q>>12,128|q>>6&63,128|63&q):($++,q=65536+((1023&q)<<10|1023<.charCodeAt($)),L.push(240|q>>18,128|q>>12&63,128|q>>6&63,128|63&q))}return L}(Q)},(pt=typeof(F=function(){return U})=="function"?F.apply(E,[]):F)===void 0||(z.exports=pt)},103:z=>{z.exports=gt}},wt={};function tt(z){var E=wt[z];if(E!==void 0)return E.exports;var F=wt[z]={exports:{}};return ut[z](F,F.exports,tt),F.exports}tt.n=z=>{var E=z&&z.__esModule?()=>z.default:()=>z;return tt.d(E,{a:E}),E},tt.d=(z,E)=>{for(var F in E)tt.o(E,F)&&!tt.o(z,F)&&Object.defineProperty(z,F,{enumerable:!0,get:E[F]})},tt.o=(z,E)=>Object.prototype.hasOwnProperty.call(z,E);var xt={};return(()=>{tt.d(xt,{default:()=>f});var z=tt(103);const E={key:1};var F=function(){return(F=Object.assign||function(o){for(var t,r=1,n=arguments.length;r2||w&&y||x&&h)this._basicSquare({x:r,y:n,size:e,context:s,rotation:0});else{if(S===2){var _=0;return w&&x?_=Math.PI/2:x&&y?_=Math.PI:y&&h&&(_=-Math.PI/2),void this._basicCornerRounded({x:r,y:n,size:e,context:s,rotation:_})}S===1&&(_=0,x?_=Math.PI/2:y?_=Math.PI:h&&(_=-Math.PI/2),this._basicSideRounded({x:r,y:n,size:e,context:s,rotation:_}))}else this._basicDot({x:r,y:n,size:e,context:s,rotation:0})},o.prototype._drawExtraRounded=function(t){var r=t.x,n=t.y,e=t.size,s=t.context,c=t.getNeighbor,w=+c(-1,0),y=+c(1,0),x=+c(0,-1),h=+c(0,1),S=w+y+x+h;if(S!==0)if(S>2||w&&y||x&&h)this._basicSquare({x:r,y:n,size:e,context:s,rotation:0});else{if(S===2){var _=0;return w&&x?_=Math.PI/2:x&&y?_=Math.PI:y&&h&&(_=-Math.PI/2),void this._basicCornerExtraRounded({x:r,y:n,size:e,context:s,rotation:_})}S===1&&(_=0,x?_=Math.PI/2:y?_=Math.PI:h&&(_=-Math.PI/2),this._basicSideRounded({x:r,y:n,size:e,context:s,rotation:_}))}else this._basicDot({x:r,y:n,size:e,context:s,rotation:0})},o.prototype._drawClassy=function(t){var r=t.x,n=t.y,e=t.size,s=t.context,c=t.getNeighbor,w=+c(-1,0),y=+c(1,0),x=+c(0,-1),h=+c(0,1);w+y+x+h!==0?w||x?y||h?this._basicSquare({x:r,y:n,size:e,context:s,rotation:0}):this._basicCornerRounded({x:r,y:n,size:e,context:s,rotation:Math.PI/2}):this._basicCornerRounded({x:r,y:n,size:e,context:s,rotation:-Math.PI/2}):this._basicCornersRounded({x:r,y:n,size:e,context:s,rotation:Math.PI/2})},o.prototype._drawClassyRounded=function(t){var r=t.x,n=t.y,e=t.size,s=t.context,c=t.getNeighbor,w=+c(-1,0),y=+c(1,0),x=+c(0,-1),h=+c(0,1);w+y+x+h!==0?w||x?y||h?this._basicSquare({x:r,y:n,size:e,context:s,rotation:0}):this._basicCornerExtraRounded({x:r,y:n,size:e,context:s,rotation:Math.PI/2}):this._basicCornerExtraRounded({x:r,y:n,size:e,context:s,rotation:-Math.PI/2}):this._basicCornersRounded({x:r,y:n,size:e,context:s,rotation:Math.PI/2})},o}();var q=function(){return(q=Object.assign||function(o){for(var t,r=1,n=arguments.length;r0&&b[b.length-1])||P[0]!==6&&P[0]!==2)){O=0;continue}if(P[0]===3&&(!b||P[1]>b[0]&&P[1]b||k&&k=(c-x.hideXDots)/2&&u<(c+x.hideXDots)/2&&l>=(c-x.hideYDots)/2&&l<(c+x.hideYDots)/2||!((m=H[u])===null||m===void 0)&&m[l]||!((b=H[u-c+7])===null||b===void 0)&&b[l]||!((k=H[u])===null||k===void 0)&&k[l-c+7]||!((O=X[u])===null||O===void 0)&&O[l]||!((M=X[u-c+7])===null||M===void 0)&&M[l]||!((D=X[u])===null||D===void 0)&&D[l-c+7])}),this.drawCorners(),this._options.image&&this.drawImage({width:x.width,height:x.height,count:c,dotSize:y}),[2]}})},new((e=void 0)||(e=Promise))(function(c,w){function y(S){try{h(s.next(S))}catch(_){w(_)}}function x(S){try{h(s.throw(S))}catch(_){w(_)}}function h(S){var _;S.done?c(S.value):(_=S.value,_ instanceof e?_:new e(function(C){C(_)})).then(y,x)}h((s=s.apply(r,n||[])).next())});var r,n,e,s},o.prototype.drawBackground=function(){var t=this.context,r=this._options;if(t){if(r.backgroundOptions.gradient){var n=r.backgroundOptions.gradient,e=this._createGradient({context:t,options:n,additionalRotation:0,x:0,y:0,size:this._canvas.width>this._canvas.height?this._canvas.width:this._canvas.height});n.colorStops.forEach(function(s){var c=s.offset,w=s.color;e.addColorStop(c,w)}),t.fillStyle=e}else r.backgroundOptions.color&&(t.fillStyle=r.backgroundOptions.color);t.fillRect(0,0,this._canvas.width,this._canvas.height)}},o.prototype.drawDots=function(t){var r=this;if(!this._qr)throw"QR code is not defined";var n=this.context;if(!n)throw"QR code is not defined";var e=this._options,s=this._qr.getModuleCount();if(s>e.width||s>e.height)throw"The canvas is too small.";var c=Math.min(e.width,e.height)-2*e.margin,w=Math.floor(c/s),y=Math.floor((e.width-s*w)/2),x=Math.floor((e.height-s*w)/2),h=new $({context:n,type:e.dotsOptions.type});n.beginPath();for(var S=function(i){for(var u=function(m){return t&&!t(i,m)?"continue":_._qr.isDark(i,m)?void h.draw(y+i*w,x+m*w,w,function(b,k){return!(i+b<0||m+k<0||i+b>=s||m+k>=s)&&!(t&&!t(i+b,m+k))&&!!r._qr&&r._qr.isDark(i+b,m+k)}):"continue"},l=0;l=0&&h<=.25*Math.PI||h>1.75*Math.PI&&h<=2*Math.PI?(S-=y/2,_-=y/2*Math.tan(x),C+=y/2,a+=y/2*Math.tan(x)):h>.25*Math.PI&&h<=.75*Math.PI?(_-=y/2,S-=y/2/Math.tan(x),a+=y/2,C+=y/2/Math.tan(x)):h>.75*Math.PI&&h<=1.25*Math.PI?(S+=y/2,_+=y/2*Math.tan(x),C-=y/2,a-=y/2*Math.tan(x)):h>1.25*Math.PI&&h<=1.75*Math.PI&&(_+=y/2,S+=y/2/Math.tan(x),a-=y/2,C-=y/2/Math.tan(x)),r=n.createLinearGradient(Math.round(S),Math.round(_),Math.round(C),Math.round(a))}return r},o}();for(var mt={},vt=0;vt<=40;vt++)mt[vt]=vt;const Mt={width:300,height:300,data:"",margin:0,qrOptions:{typeNumber:mt[0],mode:void 0,errorCorrectionLevel:"Q"},imageOptions:{hideBackgroundDots:!0,imageSize:.4,crossOrigin:void 0,margin:0},dotsOptions:{type:"square",color:"#000"},backgroundOptions:{color:"#fff"}};var W=function(){return(W=Object.assign||function(o){for(var t,r=1,n=arguments.length;rMath.min(t.width,t.height)&&(t.margin=Math.min(t.width,t.height)),t.dotsOptions=W({},t.dotsOptions),t.dotsOptions.gradient&&(t.dotsOptions.gradient=yt(t.dotsOptions.gradient)),t.cornersSquareOptions&&(t.cornersSquareOptions=W({},t.cornersSquareOptions),t.cornersSquareOptions.gradient&&(t.cornersSquareOptions.gradient=yt(t.cornersSquareOptions.gradient))),t.cornersDotOptions&&(t.cornersDotOptions=W({},t.cornersDotOptions),t.cornersDotOptions.gradient&&(t.cornersDotOptions.gradient=yt(t.cornersDotOptions.gradient))),t.backgroundOptions&&(t.backgroundOptions=W({},t.backgroundOptions),t.backgroundOptions.gradient&&(t.backgroundOptions.gradient=yt(t.backgroundOptions.gradient))),t}var Pt=tt(192),Dt=tt.n(Pt);const v=function(){function o(t){this._options=t?bt(Q(Mt,t)):Mt,this.update()}return o._clearContainer=function(t){t&&(t.innerHTML="")},o.prototype.update=function(t){o._clearContainer(this._container),this._options=t?bt(Q(this._options,t)):this._options,this._options.data&&(this._qr=Dt()(this._options.qrOptions.typeNumber,this._options.qrOptions.errorCorrectionLevel),this._qr.addData(this._options.data,this._options.qrOptions.mode||function(r){switch(!0){case/^[0-9]*$/.test(r):return"Numeric";case/^[0-9A-Z $%*+\-./:]*$/.test(r):return"Alphanumeric";default:return"Byte"}}(this._options.data)),this._qr.make(),this._canvas=new kt(this._options),this._drawingPromise=this._canvas.drawQR(this._qr),this.append(this._container))},o.prototype.append=function(t){if(t){if(typeof t.appendChild!="function")throw"Container should be a single DOM node";this._canvas&&t.appendChild(this._canvas.getCanvas()),this._container=t}},o.prototype.getImageUrl=function(t){return r=this,n=void 0,s=function(){return function(c,w){var y,x,h,S,_={label:0,sent:function(){if(1&h[0])throw h[1];return h[1]},trys:[],ops:[]};return S={next:C(0),throw:C(1),return:C(2)},typeof Symbol=="function"&&(S[Symbol.iterator]=function(){return this}),S;function C(a){return function(d){return function(i){if(y)throw new TypeError("Generator is already executing.");for(;_;)try{if(y=1,x&&(h=2&i[0]?x.return:i[0]?x.throw||((h=x.return)&&h.call(x),0):x.next)&&!(h=h.call(x,i[1])).done)return h;switch(x=0,h&&(i=[2&i[0],h.value]),i[0]){case 0:case 1:h=i;break;case 4:return _.label++,{value:i[1],done:!1};case 5:_.label++,x=i[1],i=[0];continue;case 7:i=_.ops.pop(),_.trys.pop();continue;default:if(!((h=(h=_.trys).length>0&&h[h.length-1])||i[0]!==6&&i[0]!==2)){_=0;continue}if(i[0]===3&&(!h||i[1]>h[0]&&i[1]0&&e[e.length-1])||h[0]!==6&&h[0]!==2)){c=0;continue}if(h[0]===3&&(!e||h[1]>e[0]&&h[1]o.onDownloadClick&&o.onDownloadClick(...c)),class:r.downloadButton},(0,z.toDisplayString)(r.ButtonName),3)])):(0,z.createCommentVNode)("v-if",!0)])}}})(),xt.default})()})})(Tt);var Kt=Tt.exports;const te=Vt(Kt),ee={class:"flex text-gray-900 items-center shrink-0 gap-4"},re=at("div",{class:"fixed inset-0 bg-black bg-opacity-25"},null,-1),ne={class:"fixed inset-0 overflow-y-auto"},oe={class:"flex min-h-full items-center justify-center p-4 text-center"},ie={class:"mt-2"},ae={class:"flex pl-2 bg-blue-50 items-center gap-4 p-1 rounded-md justify-between"},se={class:"m-0 text-xs w-full font-medium text-gray-900"},ce=at("small",{class:"block font-bold text-[11px] mb-0.5"},"Download url",-1),ue={class:"block truncate max-w-[270px]"},xe={__name:"FileActions",props:{link:{type:String,default:""},code:{type:String,default:""},addToAccount:{type:Boolean},token:{type:String}},setup(ct){const Ct=ct,gt=qt(!1),ut=qt(!1),wt=qt(!1),[tt,xt]=Qt();function z(){gt.value=!1}function E(){gt.value=!0}const F=()=>{ut.value||(ut.value=!0,Ft.get(`/files?add_my_acc=${Ct.code}&token=${Ct.token}`).then(()=>{ut.value=!1,wt.value=!0}).catch(pt=>{}))};return(pt,U)=>(Ot(),Rt(Et,null,[at("div",ee,[G(St,{as:"button",class:"p-2 rounded transition-all hover:text-blue-500",onClick:E},{tooltip:V(()=>[_t(" Share ")]),default:V(()=>[G(Y(Ht),{class:"w-5 h-5 stroke-2"})]),_:1}),G(St,{as:"button",onClick:U[0]||(U[0]=Q=>Y(xt)(ct.link)),class:"p-2 rounded transition-all hover:text-blue-500"},{tooltip:V(()=>[_t(" Copy link ")]),default:V(()=>[G(Y(At),{class:"w-5 h-5 stroke-2"})]),_:1}),G(St,{as:"button",class:"p-2 rounded transition-all hover:text-blue-500",placement:"bottom"},{tooltip:V(()=>[G(Y(te),{width:100,height:100,value:ct.link,dotsOptions:{type:"square",color:"#000"},cornersSquareOptions:{type:"square",color:"#000000"},cornersDotOptions:{type:"square",color:"#000000"}},null,8,["value"])]),default:V(()=>[G(Y($t),{class:"w-5 h-5 stroke-2"})]),_:1}),ct.addToAccount&&!wt.value?(Ot(),zt(St,{key:0,as:"button",class:"p-2.5 rounded bg-white/20 transition-all hover:text-blue-500",onClick:U[1]||(U[1]=Q=>F())},{tooltip:V(()=>[_t(" Add to my account ")]),default:V(()=>[ut.value?(Ot(),zt(Yt,{key:0,class:"w-5 h-5 stroke-2"})):(Ot(),zt(Y(Gt),{key:1,class:"w-5 h-5 stroke-2"}))]),_:1})):jt("",!0)]),G(Y(Jt),{appear:"",show:gt.value,as:"template"},{default:V(()=>[G(Y(Xt),{as:"div",onClose:U[3]||(U[3]=Q=>z()),class:"relative z-50"},{default:V(()=>[G(Y(Lt),{as:"template",enter:"duration-300 ease-out","enter-from":"opacity-0","enter-to":"opacity-100",leave:"duration-200 ease-in","leave-from":"opacity-100","leave-to":"opacity-0"},{default:V(()=>[re]),_:1}),at("div",ne,[at("div",oe,[G(Y(Lt),{as:"template",enter:"duration-300 ease-out","enter-from":"opacity-0 scale-95","enter-to":"opacity-100 scale-100",leave:"duration-200 ease-in","leave-from":"opacity-100 scale-100","leave-to":"opacity-0 scale-95"},{default:V(()=>[G(Y(Wt),{class:"w-full max-w-md transform overflow-hidden rounded-2xl bg-white p-6 text-left align-middle shadow-xl transition-all"},{default:V(()=>[G(Y(Zt),{as:"h3",class:"text-lg font-medium leading-6 text-gray-900"},{default:V(()=>[_t(" Share file ")]),_:1}),at("div",ie,[at("div",ae,[at("p",se,[ce,at("span",ue,Nt(ct.link),1)]),at("button",{type:"button",class:"inline-flex shrink-0 justify-center text-xs gap-4 rounded-md border border-transparent bg-blue-200 px-4 py-2 font-medium text-blue-900 hover:bg-blue-300 focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2",onClick:U[2]||(U[2]=Q=>Y(xt)(ct.link))},[_t(" Copy "),G(Y(At),{class:"w-4 h-4 stroke-2"})])])])]),_:1})]),_:1})])])]),_:1})]),_:1},8,["show"])],64))}};export{xe as default};