PageSourceSearch

https://app.emailit.com/_nuxt/B2YP79ni.js

js emailit.com collected 2026-09-25 15:25:15 UTC 8,007 bytes, 1 lines download raw bytes

1import{_ as V}from"./zcJbO_h6.js";import{_ as $}from"./DfszR4k5.js";import{_ as B}from"./Cm0iT8rm.js";import{_ as j}from"./B-xJWSsf.js";import{e as C,C as D,f as L,g as N,s as A,u as z,o as l,c as d,a as e,E,k as s,b as r,w as g,d as v,t as x,j as S,l as f,z as m,$ as y}from"./CZLX6ZSS.js";import"./Bwb1pIE1.js";import"./DJRAkb50.js";import"./5TKy1JRt.js";import"./CHIgUVhi.js";import"./Ds0A_Kqs.js";import"./CcGH4_An.js";const T={class:"relative min-h-screen overflow-hidden bg-gray-100 lg:bg-gray-300 flex"},R={class:"relative min-h-screen mx-auto lg:flex lg:items-center lg:justify-center lg:w-1/2 py-12 px-4 sm:px-6 lg:flex-none lg:px-20 xl:px-24 bg-no-repeat bg-gray-100",style:{"background-image":"url('https://dragit.io/img/angled-background.svg')","background-size":"100% auto","background-position":"-5px -5px"}},U={class:"mx-auto w-full max-w-sm lg:w-96"},P={key:0,class:"mt-8 text-center"},Y={key:1,class:"mt-8"},F={class:"mt-6"},G={key:2,class:"mt-8"},H={key:3,class:"mt-8"},M={class:"mt-6 bg-white p-4 rounded-lg border"},O={class:"space-y-3"},W={class:"ml-2 text-sm text-gray-900"},q={class:"ml-2 text-sm text-gray-900 capitalize"},J={class:"ml-2 text-sm text-gray-900"},K={class:"mt-6 space-y-3"},mt=C({__name:"[token]",setup(Q){const{t:X}=D(),b=L(),_=N(),p=b.params.token,o=m(!1),i=m(null),n=m(null),c=m(!1),w=async()=>{try{o.value=!0;const a=await y(`/v1/invitations/${p}`);i.value=a.data}catch(a){n.value=a.response?._data?.error||"Invalid or expired invitation"}finally{o.value=!1}},k=async()=>{try{o.value=!0,await y(`/v1/invitations/${p}/decline`,{method:"POST"}),c.value=!0,setTimeout(()=>{_.push("/login")},3e3)}catch(a){n.value=a.response?._data?.error||"Failed to decline invitation",o.value=!1}};return A(()=>{w()}),z({title:"Decline Invitation - Emailit",htmlAttrs:{class:"h-full"},bodyAttrs:{class:"h-full dark:bg-gray-900"}}),(a,t)=>{const Z=V,u=$,h=B,I=j;return l(),d("div",T,[e("div",R,[e("div",U,[t[10]||(t[10]=E('<div><svg class="h-12" id="Layer_2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 297.04 90.19"><g id="Layer_1-2"><path d="m70.06,45.47c0-11.31,7.91-19.53,19.15-19.54,11.84,0,19.23,10.25,17.5,23.14h-25.41c.76,4.46,4.6,6.49,8.22,6.49,3.32,0,6.18-1.81,7.69-4.6l9.13,4.97c-3.32,5.66-9.65,8.98-16.81,8.98-11.31,0-19.46-8.14-19.46-19.45Zm26.32-5.36c-.75-3.09-3.47-4.98-6.94-4.97-3.54,0-6.71,1.81-7.46,4.98h14.4Z" stroke-width="0"></path><path d="m112.67,64.16V26.68s9.87,0,9.87,0l.08,2.04c1.96-1.36,4.6-2.79,8.22-2.79,4.37,0,8.14,1.66,10.86,4.52,2.64-2.56,6.03-4.53,10.63-4.53,9.43,0,15.84,7.16,15.84,17.49v20.74s-10.02,0-10.02,0v-20.13c0-5.28-2.42-8.45-6.72-8.44-2.26,0-4,1.13-4.98,3.09.15,1.81.23,3.7.23,5.58v19.91s-10.1,0-10.1,0v-20.13c0-5.28-2.42-8.45-6.65-8.44-4.37,0-7.16,3.4-7.16,8.07v20.51s-10.1,0-10.1,0Z" stroke-width="0"></path><path d="m173.89,52.22c0-7.92,6.48-12.9,16.36-13.35,1.73-.08,3.54.07,5.13.38l-.08-.6c-.3-1.66-1.89-3.09-4.53-3.32-3.17-.3-7.54,1.06-12.14,3.7l-3.47-9.05c5.5-3.09,10.33-4.08,15.31-4.08,9.58,0,16.14,6.03,16.14,16.13v22.09s-9.87,0-9.87,0v-1.81c-2.26,1.43-5.05,2.57-8.52,2.57-8.29,0-14.33-4.97-14.33-12.66Zm22.17-1.67l.15-2.19c-1.66-.38-3.39-.53-5.35-.45-4.37.3-6.79,2.19-6.79,4.3,0,1.96,1.74,3.69,4.68,3.69,3.32-.08,6.71-2.11,7.31-5.36Z" stroke-width="0"></path><path d="m211.58,17.14c0-3.24,2.41-5.81,5.73-5.81,3.24,0,5.81,2.56,5.81,5.8,0,3.32-2.56,5.81-5.8,5.81-3.32,0-5.73-2.49-5.73-5.8Zm.32,46.98V26.64s10.17,0,10.17,0v37.48s-10.17,0-10.17,0Z" stroke-width="0"></path><path d="m249.45,62c-9.65,6.41-20.51,1.06-20.52-10.7l-.09-39.97h10.03s.09,39.21.09,39.21c0,4.37,2.87,5.13,6.79,2.94l3.7,8.52Z" stroke-width="0"></path><path d="m253.58,17.13c0-3.24,2.41-5.81,5.73-5.81,3.24,0,5.81,2.56,5.81,5.8,0,3.32-2.56,5.81-5.8,5.81-3.32,0-5.73-2.49-5.73-5.8Zm.32,46.98V26.63s10.17,0,10.17,0v37.48s-10.17,0-10.17,0Z" stroke-width="0"></path><path d="m294.16,60.85c-11.08,7.62-23.98,3.63-23.98-9.12l-.09-40.42h10.1s0,15.3,0,15.3h8.37s0,9.65,0,9.65h-8.37s.08,14.1.08,14.1c0,4.9,4.53,5.5,9.05,2.33l4.83,8.14Z" stroke-width="0"></path><g id="mail-send-envelope--envelope-email-message-unopened-sealed-close"><g id="Subtract"><path d="m7.83,63.82c3.85.27,9.96.55,18.68.54,8.72,0,14.84-.29,18.68-.56,3.85-.27,6.9-3.18,7.25-7.06.29-3.34.58-8.38.57-15.36,0-.44,0-.88,0-1.3-3.14,1.45-6.31,2.83-9.51,4.13-2.95,1.19-6.15,2.39-9.11,3.29-2.91.89-5.74,1.55-7.88,1.55s-4.98-.66-7.88-1.55c-2.96-.9-6.16-2.1-9.11-3.29-3.2-1.29-6.38-2.67-9.51-4.12,0,.43,0,.86,0,1.31,0,6.98.29,12.02.58,15.36.34,3.89,3.4,6.79,7.25,7.06Z" fill="#15c182" stroke-width="0"></path><path d="m.05,36.22c.1-4.37.31-7.74.52-10.19.34-3.89,3.4-6.79,7.25-7.06,3.85-.27,9.96-.55,18.68-.56,8.72,0,14.84.28,18.68.54,3.85.27,6.91,3.17,7.25,7.06.22,2.45.43,5.81.53,10.
119-.04.02-.08.03-.12.05l-.05.02-.16.08c-.98.46-1.95.91-2.94,1.35-2.48,1.12-4.98,2.19-7.51,3.22-2.9,1.17-6,2.33-8.82,3.19-2.87.88-5.27,1.4-6.85,1.4s-3.98-.52-6.85-1.39c-2.82-.86-5.92-2.02-8.82-3.19-3.52-1.42-7.01-2.95-10.45-4.56l-.16-.08-.05-.02s-.08-.04-.12-.05h0Z" fill="#007b5e" stroke-width="0"></path></g></g></g></svg></div>',1)),s(o)&&!s(i)&&!s(c)?(l(),d("div",P,[r(Z,{animation:"carousel",color:"primary"}),t[0]||(t[0]=e("p",{class:"mt-4 text-slate-700"},"Loading invitation...",-1))])):s(n)&&!s(i)&&!s(c)?(l(),d("div",Y,[r(u,{color:"red",variant:"subtle",title:"Invalid Invitation",description:s(n),icon:"i-heroicons-exclamation-triangle"},null,8,["description"]),e("div",F,[r(h,{to:"/login",class:"w-full flex justify-center py-2 px-4 border border-transparent text-sm font-medium rounded text-white bg-primary-500 hover:bg-primary-600 focus:outline-none focus:border-primary-700 transition duration-150 ease-in-out"},{default:g(()=>[...t[1]||(t[1]=[v(" Go to Login ",-1)])]),_:1})])])):s(c)?(l(),d("div",G,[t[2]||(t[2]=e("h2",{class:"text-3xl leading-9 font-extrabold text-slate-900"}," Invitation Declined ",-1)),r(u,{class:"mt-4",color:"green",variant:"subtle",title:"Invitation Declined",description:"The invitation has been declined successfully. You will be redirected to the login page.",icon:"i-heroicons-check-circle"})])):s(i)?(l(),d("div",H,[t[8]||(t[8]=e("h2",{class:"text-3xl leading-9 font-extrabold text-slate-900"}," Decline Invitation ",-1)),t[9]||(t[9]=e("p",{class:"mt-2 text-sm leading-5 text-cool-gray-300"}," Are you sure you want to decline this invitation? ",-1)),e("div",M,[e("div",O,[e("div",null,[t[3]||(t[3]=e("span",{class:"text-sm font-medium text-gray-500"},"Email:",-1)),e("span",W,x(s(i).email),1)]),e("div",null,[t[4]||(t[4]=e("span",{class:"text-sm font-medium text-gray-500"},"Role:",-1)),e("span",q,x(s(i).role),1)]),e("div",null,[t[5]||(t[5]=e("span",{class:"text-sm font-medium text-gray-500"},"Workspace:",-1)),e("span",J,x(s(i).workspace.name),1)])])]),s(n)?(l(),S(u,{key:0,class:"mt-4",color:"red",variant:"subtle",description:s(n),icon:"i-heroicons-exclamation-triangle"},null,8,["description"])):f("",!0),e("div",K,[r(I,{onClick:k,loading:s(o),disabled:s(o),color:"red",class:"w-full flex justify-center py-2 px-4 border border-transparent text-sm font-medium rounded text-white focus:outline-none transition duration-150 ease-in-out"},{default:g(()=>[...t[6]||(t[6]=[v(" Yes, Decline Invitation ",-1)])]),_:1},8,["loading","disabled"]),r(h,{to:`/invitations/accept/${s(p)}`,class:"w-full flex justify-center py-2 px-4 border border-gray-300 text-sm font-medium rounded text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:border-blue-300 transition duration-150 ease-in-out"},{default:g(()=>[...t[7]||(t[7]=[v(" Cancel, Accept Instead ",-1)])]),_:1},8,["to"])])])):f("",!0)])]),t[11]||(t[11]=e("div",{class:"hidden relative min-h-screen lg:flex lg:items-center lg:justify-center lg:w-1/2 py-12 px-4 sm:px-6 lg:flex-none lg:px-20 xl:px-24 bg-no-repeat bg-gray-200",style:{"background-image":"url('https://dragit.io/img/angled-background.svg')","background-size":"100% auto","background-position":"-5px -5px"}},[e("svg",{id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1571.86 1115.85",class:"w-[500px]"})],-1))])}}});export{mt 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.