1import{k as m,a4 as C,G as P,b as l,e,f as x,R as v,a0 as H,P as N,a7 as n,ab as p,V as i,ac as L,J as g,K as w,Q as V,o as a}from"./vue.m-ba645040.js";import j from"./Loader-5affd92e.js";import{F as U}from"./Form-e25b831d.js";import{s as B}from"./app-3ab45421.js";import{u as I}from"./useSubscribeStore-ab7a8ae3.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./axios-4a70c6fc.js";/* empty css */import"./index-5e0d5743.js";const z={class:"fixed left-0 top-0 w-full h-full z-[1000]"},E={class:"w-full h-full flex items-center justify-center text-black"},F={class:"flex flex-wrap w-full"},A={class:"bg-white max-w-[550px] w-[90%] mx-auto rounded-xl relative overflow-hidden"},D=e("img",{src:"/images/ornamen-grid.svg",width:"100",height:"50",class:"absolute w-20 top-1"},null,-1),G=e("img",{src:"/images/logo.svg",width:"100",height:"30",class:"absolute w-20 top-5 right-5"},null,-1),K={key:0,class:"pt-16 pb-5 px-7 relative"},R={class:"text-center mt-4"},Y={key:1,class:"pt-16 pb-5 px-7 relative"},$=e("p",{class:"text-center mt-4"}," Explore our latest updates and stay tuned for more insights and exclusive content coming your way. ",-1),J={class:"px-7 py-5"},O={key:0,class:""},Q=["onSubmit"],W={key:1},q={class:"mb-4"},X=["placeholder"],Z=["innerHTML"],ee={class:"mb-4"},te=["placeholder"],se=["innerHTML"],ae={class:"mb-4"},oe=["placeholder"],le=["innerHTML"],re={class:"mb-4"},ne=["placeholder"],ie=["innerHTML"],ce={class:"mb-4"},de={class:"flex items-start"},ue=e("span",{class:"text-xs"},[V(" Yes, I consent to receive occasional marketing communications including emails and messages with updates on services, market trends, event and other information from Telin. I can always unsubscribe. I have read and agreed with Telin "),e("a",{target:"_blank",class:"underline",href:"https://www.telin.net/en/privacy-policy"},"Privacy Policy.")],-1),me=["innerHTML"],pe={class:"pt-5 pb-16 flex items-center gap-x-4 relative z-10"},ve=e("span",{class:"text-sm"},"Submit",-1),_e=e("span",{class:"bg-white rounded-full transform rotate-90"},[e("img",{src:"/images/arrow.svg",alt:"Icon Arrow",width:"26",height:"26"})],-1),he={class:"text-sm"},fe=e("span",{class:"bg-white rounded-full transform rotate-90"},[e("img",{src:"/images/arrow.svg",alt:"Icon Arrow",width:"26",height:"26"})],-1),ye=e("img",{src:"/images/ornamen-circle.svg",width:"241",height:"397",class:"absolute w-[300px] -bottom-[3.5rem] -right-[12rem] opacity-30 rounded-full"},null,-1),He={__name:"PopupSubscribe",props:{data:Object,type:{type:String,defaul:"Newsletter"}},emits:["close","choosed"],setup(k,{expose:T,emit:M}){const _=k,h=I();B(h);const r=m(C().props.value.locale_data),f=()=>{M("close",!0)},S=new U({first_name:"",sur_name:"",company:"",email:"",post_id:_.data.id,type:_.type,agree:""}),t=m(S),c=m(!1),d=m(!1),y=()=>{d.value=!0,t.value.post(route("subscribe")).then(u=>{c.value=!0,d.value=!1,h.setSubscribe(),localStorage.setItem("whitepaper_submitted","1"),setTimeout(function(){location.reload()},5e3)}).catch(u=>{d.value=!1})};return T({firePopup:u=>{t.value.post_id=u.id}}),(u,s)=>{const b=P("PrimaryButton");return a(),l("div",z,[e("div",{onClick:f,class:"fixed left-0 top-0 w-full h-full bg-[rgba(0,0,0,0.7)]"}),e("div",E,[e("div",F,[e("div",A,[D,G,c.value?(a(),l("div",Y,[e("h2",{class:x(["font-bold text-xl text-center",`${r.value.joinNewsletterTitle?"normal-case":"uppercase"}`])}," Weâre Happy to Have You Connected with Us ",2),$])):(a(),l("div",K,[e("h2",{class:x(["font-bold text-xl text-center",`${r.value.joinNewsletterTitle?"normal-case":"uppercase"}`])},v(r.value.joinNewsletterTitle??"Stay Connected to Get More Updates"),3),e("p",R,v(r.value.joinNewsletterSummary),1)])),e("div",J,[c.value?(a(),l("div",O)):(a(),l("form",{key:1,class:"relative w-full",onSubmit:H(y,["prevent"]),onKeydown:s[5]||(s[5]=o=>t.value.errors.clear(o.target.name))},[d.value?(a(),N(j,{key:0,class:"mx-auto"})):(a(),l("div",W,[e("div",q,[n(e("input",{class:"rounded-md border-gray-300 w-full py-2 px-3 text-secondary","onUpdate:modelValue":s[0]||(s[0]=o=>t.value.first_name=o),placeholder:r.value.firstNamePlaceholder??"First Name",type:"text"},null,8,X),[[p,t.value.first_name]]),t.value.errors.has("first_name")?(a(),l("span",{key:0,class:"my-2 block text-rose-600 text-sm",innerHTML:t.value.errors.get("first_name")},null,8,Z)):i("",!0)]),e("div",ee,[n(e("input",{class:"rounded-md border-gray-300 w-full py-2 px-3 text-secondary","onUpdate:modelValue":s[1]||(s[1]=o=>t.value.sur_name=o),placeholder:r.value.sureNamePlaceholder??"Surname",type:"text"},null,8,te),[[p,t.value.sur_name]]),t.value.errors.has("sur_name")?(a(),l("span",{key:0,class:"my-2 block text-rose-600 text-sm",innerHTML:t.value.errors.get("sur_name")},null,8,se)):i("",!0)]),e("div",ae,[n(e("input",{class:"rounded-md border-gray-300 w-full py-2 px-3 text-secondary","onUpdate:modelValue":s[2]||(s[2]=o=>t.value.company=o),placeholder:r.value.companyPlaceholder??"Company",type:"text"},null,8,oe),[[p,t.value.company]]),t.value.errors.has("company")?(a(),l("span",{key:0,class:"my-2 block text-rose-600 text-sm",innerHTML:t.value.errors.get("company")},null,8,le)):i("",!0)]),e("div",re,[n(e("input",{class:"rounded-md border-gray-300 w-full py-2 px-3 text-secondary","onUpdate:modelValue":s[3]||(s[3]=o=>t.value.email=o),placeholder:r.value.emailPlaceholder??"Email",type:"text"},null,8,ne),[[p,t.value.email]]),t.value.errors.has("email")?(a(),l("span",{key:0,class:"my-2 block text-rose-600 text-sm",innerHTML:t.value.errors.get("email")}
1,null,8,ie)):i("",!0)]),e("div",ce,[e("div",de,[n(e("input",{class:"w-[15px] mr-5","onUpdate:modelValue":s[4]||(s[4]=o=>t.value.agree=o),type:"checkbox"},null,512),[[L,t.value.agree]]),ue]),t.value.errors.has("agree")?(a(),l("span",{key:0,class:"my-2 block text-rose-600 text-sm",innerHTML:t.value.errors.get("agree")},null,8,me)):i("",!0)]),e("div",pe,[g(b,{onClick:y,"preserve-state":"","preserve-scroll":"",disabled:!t.value.agree,type:"submit",as:"button",class:"w-full justify-between rounded-full disabled:bg-gray-200 disabled:text-gray-800 disabled:cursor-not-allowed"},{default:w(()=>[ve,_e]),_:1},8,["disabled"]),g(b,{onClick:f,type:"button","preserve-state":"","preserve-scroll":"",class:"w-full justify-between rounded-full font-medium text-center bg-black"},{default:w(()=>[e("span",he,v(c.value?"Close":"Cancel"),1),fe]),_:1})]),ye]))],40,Q))])])])])])}}};export{He 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.