PageSourceSearch

https://holbornpasscom.netlify.app/component---src-pages-pgv-referral-jr-js-957cd33fe58d06dca8ad.js

js holbornpasscom.netlify.app collected 2026-10-03 10:54:11 UTC 14,197 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkholborn_pass=self.webpackChunkholborn_pass||[]).push([[9733],{196:function(e,t,l){t.A=l.p+"static/portugal-hero-bg-4a0993b5b7a34d8889395c57f16d2872.jpeg"},2906:function(e,t,l){var a=l(6540),n=l(9785),r=l(1211),o=l(7885);l(5399);const m=e=>{let{variant:t,type:l,onClick:n,children:r,className:o}=e;let m="";switch(t){case"blueTransparent":m="bg-transparent border border-holborn-blue text-holborn-blue hover:bg-holborn-blue hover:text-holborn-white";break;case"yellowBlue":m="bg-holborn-yellow text-holborn-blue hover:bg-holborn-blue hover:text-holborn-white";break;default:m="bg-gray-200 text-gray-800 hover:bg-gray-300"}return a.createElement("button",{type:l,onClick:n,className:`py-2 px-4 rounded-md font-semibold transition duration-300 ease-in-out ${m} ${o}`},r)},i="undefined"!=typeof window?(0,a.lazy)(()=>l.e(1046).then(l.bind(l,1046)).then(e=>({default:e.FacebookShareButton}))):()=>null,s="undefined"!=typeof window?(0,a.lazy)(()=>l.e(1046).then(l.bind(l,1046)).then(e=>({default:e.WhatsappShareButton}))):()=>null,c="undefined"!=typeof window?(0,a.lazy)(()=>l.e(1046).then(l.bind(l,1046)).then(e=>({default:e.EmailShareButton}))):()=>null,d="undefined"!=typeof window?(0,a.lazy)(()=>l.e(1046).then(l.bind(l,1046)).then(e=>({default:e.TwitterShareButton}))):()=>null,u="undefined"!=typeof window?(0,a.lazy)(()=>l.e(1046).then(l.bind(l,1046)).then(e=>({default:e.FacebookIcon}))):()=>null,p="undefined"!=typeof window?(0,a.lazy)(()=>l.e(1046).then(l.bind(l,1046)).then(e=>({default:e.WhatsappIcon}))):()=>null,h="undefined"!=typeof window?(0,a.lazy)(()=>l.e(1046).then(l.bind(l,1046)).then(e=>({default:e.EmailIcon}))):()=>null,f="undefined"!=typeof window?(0,a.lazy)(()=>l.e(1046).then(l.bind(l,1046)).then(e=>({default:e.TwitterIcon}))):()=>null;t.A=function(){const{register:e,control:t,watch:l,handleSubmit:b,setValue:g,formState:{errors:y}}=(0,n.mN)(),E=l("phoneNumber"),N=(()=>{const{0:e,1:t}=(0,a.useState)({});return(0,a.useEffect)(()=>{const e=new URLSearchParams(window.location.search);t({utm_source:e.get("utm_source")||"direct",utm_medium:e.get("utm_medium")||"none",utm_campaign:e.get("utm_campaign")||"none",utm_content:e.get("utm_content")||"none",utm_term:e.get("utm_term")||"none",gclid:e.get("gclid")||"none"})},[]),e})(),{0:x,1:w}=(0,a.useState)(!1),{0:v,1:C}=(0,a.useState)(""),{0:$,1:k}=(0,a.useState)({}),{0:_,1:F}=(0,a.useState)("js"),S="#0B1F35";let T=!1,q="";if(E){const e=(0,r.l)(E);e&&(0,o.g0)(E)?e.nationalNumber.length<7?q="At least 7 digits required":T=!0:q="Invalid phone number"}(0,a.useEffect)(()=>{const e=window.location.pathname.match(/\/pgv-referral-(jr|js|sd)/);e&&e[1]?F(e[1]):F("js"),g("utm_source",N.utm_source),g("utm_medium",N.utm_medium),g("utm_campaign",N.utm_campaign),g("utm_content",N.utm_content),g("utm_term",N.utm_term),g("gclid",N.gclid),g("dynamicTopic",`PGV Referral ${_.toUpperCase()} Form`)},[N,g,_]);const z="text-xs font-light bg-white relative start-4 top-3 z-10 px-2",I="h-10 mt-1 block w-full px-3 border bg-white shadow-sm focus:outline-none text-sm";if(x){const e=`${"localhost"===window.location.hostname||"127.0.0.1"===window.location.hostname?`http://${window.location.host}`:"https://holbornpasscom.netlify.app"}/enquiry-form-${_}/?rafid=${v}&firstname=${encodeURIComponent($.firstName||"")}`;return a.createElement("div",{className:"link-generated text-center bg-white rounded-4xl shadow p-6 md:p-16"},a.createElement("h3",{className:"mb-4 mx-md-5"},"Your unique referral code has been generated:"),a.createElement("a",{href:e,target:"_blank",rel:"noopener nofollow",className:"rafid-link mb-5 block text-blue-600 underline"},e),a.createElement(m,{variant:"blueTransparent",className:"copy-link mb-3 mx-3",onClick:()=>{document.execCommand("copy")}},"Copy"),a.createElement("p",{className:"lead my-3"},"Or, share by..."),a.createElement("div",{className:"flex justify-center gap-4 my-4"},a.createElement(a.Suspense,{fallback:null},a.createElement(i,{url:e},a.createElement(u,{size:48,round:!0,iconFillColor:"#fff",bgStyle:{fill:S}}))),a.createElement(a.Suspense,{fallback:null},a.createElement(s,{url:e}
1,a.createElement(p,{size:48,round:!0,iconFillColor:"#fff",bgStyle:{fill:S}}))),a.createElement(a.Suspense,{fallback:null},a.createElement(c,{url:e},a.createElement(h,{size:48,round:!0,iconFillColor:"#fff",bgStyle:{fill:S}}))),a.createElement(a.Suspense,{fallback:null},a.createElement(d,{url:e},a.createElement(f,{size:48,round:!0,iconFillColor:"#fff",bgStyle:{fill:S}})))))}return a.createElement("form",{name:`PGVReferral${_.toUpperCase()}Form`,method:"POST","data-netlify":"true","netlify-honeypot":"bot-field",onSubmit:b(async e=>{const t=crypto.randomUUID?crypto.randomUUID():Math.random().toString(36).substring(2,10).toUpperCase();C(t),g("referralCode",t),e.referralCode=t,k(e),w(!0);const l={...e,...N,"form-name":`PGVReferral${_.toUpperCase()}Form`,dynamicTopic:`PGV Referral ${_.toUpperCase()} Form`},a=Object.keys(l).filter(e=>void 0!==l[e]&&null!==l[e]&&""!==l[e]).map(e=>encodeURIComponent(e)+"="+encodeURIComponent(l[e])).join("&");await fetch("/",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:a})}),className:"bg-white rounded-4xl shadow p-6 md:p-16",autoComplete:"off",netlify:!0},a.createElement("input",{type:"hidden",name:"form-name",value:`PGVReferral${_.toUpperCase()}Form`}),a.createElement("input",{type:"hidden",name:"utm_source"}),a.createElement("input",{type:"hidden",name:"utm_medium"}),a.createElement("input",{type:"hidden",name:"utm_campaign"}),a.createElement("input",{type:"hidden",name:"utm_content"}),a.createElement("input",{type:"hidden",name:"utm_term"}),a.createElement("input",{type:"hidden",name:"gclid"}),a.createElement("input",{type:"hidden",name:"dynamicTopic",value:`PGV Referral ${_.toUpperCase()} Form`}),a.createElement("input",{type:"hidden",name:"_redirect",value:"/thank-you/"}),a.createElement("input",{type:"hidden",name:"referralCode",value:v}),a.createElement("h3",{className:"text-center w-96 mx-auto mb-10"},"Confirm your details and generate your unique link below to get started"),a.createElement("div",{className:"grid grid-cols-1 md:grid-cols-2 md:gap-10"},a.createElement("div",null,a.createElement("label",{htmlFor:"firstName",className:`${z} ${y.firstName?"text-holborn-red":""}`},"What is your first name?*"),a.createElement("input",Object.assign({id:"firstName"},e("firstName",{required:"This field is required"}),{name:"firstName",type:"text",placeholder:"e.g. John",className:`${I} ${y.firstName?"border-holborn-red":""} rounded-md`})),y.firstName&&a.createElement("p",{className:"text-holborn-red text-xs mt-1"},y.firstName.message)),a.createElement("div",{className:"mt-2 md:mt-0"},a.createElement("label",{htmlFor:"lastName",className:`${z} ${y.lastName?"text-holborn-red":""}`},"What is your last name?*"),a.createElement("input",Object.assign({id:"lastName"},e("lastName",{required:"This field is required"}),{name:"lastName",type:"text",placeholder:"e.g. Smith",className:`${I} ${y.lastName?"border-holborn-red":""} rounded-md`})),y.lastName&&a.createElement("p",{className:"text-holborn-red text-xs mt-1"},y.lastName.message))),a.createElement("div",{className:"grid grid-cols-1 md:grid-cols-2 mt-2 md:gap-10 lg:mt-4"},a.createElement("div",null,a.createElement("label",{htmlFor:"email",className:`${z} ${y.email?"text-holborn-red":""}`},"What is your email address?*"),a.createElement("input",Object.assign({id:"email"},e("email",{required:"This field is required",pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i,message:"Invalid email address"}}),{name:"email",type:"email",placeholder:"[email protected]",className:`${I} ${y.email?"border-holborn-red":""} rounded-md`})),y.email&&a.createElement("p",{className:"text-holborn-red text-xs mt-1"},y.email.message)),a.createElement("div",{className:"md:col-span-1 mt-2 md:mt-0"},a.createElement("label",{htmlFor:"phoneNumberInput",className:`${z} ${y.phoneNumber?"text-holborn-red":""}`},"What is your mobile number?*"),a.createElement(n.xI,{control:t,name:"phoneNumber",rules:{required:"This field is required",validate:()=>T||q},render:e=>{let{field:{onChange:t,onBlur:l,name:n,ref:r,value:m}}=e;return a.createElement(o.Ay,{id:"phoneNumberInput",international:!0,value:m,onChange:t,onBlur:l,name:n,inputRef:r,className:`${I} ${y.phoneNumber?"border-holborn-red":""} rounded-md`})}}),q&&a.createElement("p",{className:"text-holborn-red text-xs mt-1"},q),y.phoneNumber&&!q&&a.createElement("p",{className:"text-holborn-red text-xs mt-1"},y.phoneNumber.message))),a.createElement("p",{className:"hidden"},a.createElement("label",null,"Don't fill this out if you're human: ",a.createElement("input",{name:"bot-field"}))),a.createElement("div",{className:"form-btn-wrapper text-center pt-10"},a.createElement(m,{variant:"yellowBlue",type:"submit"},"Generate my unique link")))}},8320:function(e,t,l){var a=l(6540),n=l(6462);t.A=()=>{const e="/"===(0,n.useLocation)().pathname;return a.createElement(a.Fragment,null,a.createElement("div",{className:"grid grid-cols-12 bg-holborn-blue pb-0 pt-8 block md:hidden"},a.createElement("div",{className:"col-span-12 px-4"},a.createElement("h2",{className:"text-white mb-6"},"Working with Holborn"),a.createElement("div",{className:"space-y-8 text-left text-holborn-white"},a.createElement("div",null,a.createElement("p",{className:"text-lg mt-3 mb-0"},"We have helped over"),a.createElement("p",{className:"text-4xl font-medium text-holborn-yellow my-0"},"1000+"),a.createElement("p",{className:"text-lg mt-0"},"families to gain citizenship or residency")),a.createElement("hr",{className:"border-t border-holborn-yellow w-full"}),a.createElement("div",null,a.createElement("p",{className:"text-lg mt-3 mb-0"},"Over"),a.createElement("p",{className:"text-4xl font-medium text-holborn-yellow my-0"},"$300 million"),a.createElement("p",{className:"text-lg mt-0"},"invested in CBI programmes through us")),a.createElement("hr",{className:"border-t border-holborn-yellow w-full"}),a.createElement("div",null,a.createElement("p",{className:"text-lg mt-3 mb-0"},"More than"),a.createElement("p",{className:"text-4xl font-medium text-holborn-yellow my-0"},"$450 million"),a.createElement("p",{className:"text-lg mt-0"},"of property assets purchased in the last three years")),a.createElement("hr",{className:"border-t border-holborn-yellow w-full"}),a.createElement("div",null,a.createElement("p",{className:"text-lg mt-3 mb-0"},"We have helped over"),a.createElement("p",{className:"text-4xl font-medium text-holborn-yellow my-0"},"40"),a.createElement("p",{className:"text-lg mt-0"},"client nationalities secure a golden visa"))),e&&a.createElement("div",{className:"w-full my-10 lg:mt-0"},a.createElement("div",{className:"w-full rounded-lg overflow-hidden",style:{position:"relative",paddingTop:"56.25%"}},a.createElement("iframe",{src:"https://customer-iclu53owqhlji7yh.cloudflarestream.com/7954a2af08573bcc490fc411dc30259f/iframe?poster=https%3A%2F%2Fcustomer-iclu53owqhlji7yh.cloudflarestream.com%2F7954a2af08573bcc490fc411dc30259f%2Fthumbnails%2Fthumbnail.jpg%3Ftime%3D1m55s%26height%3D600",loading:"lazy",title:"Working with Holborn video",style:{border:"none",position:"absolute",top:0,left:0,height:"100%",width:"100%"},allow:"accelerometer; gyroscope; autoplay; encrypted-media; picture-in-picture",allowFullScreen:!0}))))),a.createElement("div",{className:"hidden md:grid grid-cols-12 bg-holborn-light-blue py-12"},a.createElement("div",{className:"col-start-3 col-span-8 px-4"},a.createElement("div",{className:"grid grid-cols-2 xl:grid-cols-4 gap-12 text-center text-holborn-blue"},a.createElement("div",null,a.createElement("p",{className:"text-4xl font-medium"},"1000+"),a.createElement("p",{className:"text-lg mt-3"},"Families helped to gain citizenship/residency")),a.createElement("div",null,a.createElement("p",{className:"text-4xl font-medium"},"$300 million"),a.createElement("p",{className:"text-lg mt-3"},"Amount we have invested in CBI programmes")),a.createElement("div",null,a.createElement("p",{className:"text-4xl font-medium"},"$450 million"),a.createElement("p",{className:"text-lg mt-3"},"Value of property assets purchased in the last three years")),a.createElement("div",null,a.createElement("p",{className:"text-4xl font-medium"},"40+"),a.createElement("p",{className:"text-lg mt-3"},"Client nationalities we have helped secure a golden visa"))))))}},9399:function(e,t,l){l.r(t);var a=l(6540),n=l(3841),r=l(4785),o=l(196),m=l(2906),i=l(8320),s=l(4381);t.default=()=>a.createElement(r.yH,null,a.createElement(n.Em,{bgImage:o.A,title:"Share €1,000 off your legal fees with every friend you refer",subtitle:"Congratulations on starting your Portuguese residency journey. If you've loved our service and know others that would too, we're offering you the chance to share €1000 off your legal fees for every friend you refer. That means â
1‚¬500 for you and €500 for your friend.*"}),a.createElement("section",{className:"grid grid-cols-12 pb-12 bg-white relative"},a.createElement("div",{className:"col-span-12 lg:col-start-5 lg:col-span-5 relative px-4"},a.createElement("div",{className:"relative z-50",style:{marginTop:"-170px"}},a.createElement(m.A,null),a.createElement("div",{className:"mt-10"},a.createElement("p",{className:"font-normal text-2xl"},"*Terms & Conditions"),a.createElement("ul",{className:"list-disc pl-6 font-light"},a.createElement("li",null,"Anyone that has the unique code can qualify"),a.createElement("li",null,"The 500 EUR can be taken as a discount from legal fees or an amazon gift voucher"),a.createElement("li",null,"A maximum of 5 referrals per person can be claimed from the date of application for the golden visa"),a.createElement("li",null,"*For any questions, please contact [email protected]")),a.createElement("p",null,"Holborn reserve the right to terminate or modify this programme at any time without prior notice. By participating in the programme you and any referrals agree to these Terms & Conditions and to Holborn’s Privacy Policy."))))),a.createElement(i.A,null),a.createElement(s.A,null))}}]);
2//# sourceMappingURL=component---src-pages-pgv-referral-jr-js-957cd33fe58d06dca8ad.js.map

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.