1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f92c8fab-02ba-42ad-a6a3-a9890d4cfb3e",e._sentryDebugIdIdentifier="sentry-dbid-f92c8fab-02ba-42ad-a6a3-a9890d4cfb3e")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4966],{64770:function(e,t,a){Promise.resolve().then(a.bind(a,30013))},22370:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return o}});var r=a(57437),s=a(2265),n=a(81164),i=a(72655),l=a(92857);function o(e){let{mode:t="login",next:a="/app",label:o,className:c="",wrapperClassName:d="",lastUsed:u=!1}=e,[m,h]=(0,s.useState)(!1),[f,x]=(0,s.useState)(null),p=async()=>{h(!0),x(null);try{localStorage.setItem("pb_last_auth_method","google")}catch(e){}let e=(0,n.e)(),t="".concat(window.location.origin,"/auth/callback?next=").concat(encodeURIComponent(a)),{error:r}=await e.auth.signInWithOAuth({provider:"google",options:{redirectTo:t}});r&&(x("Couldn't start Google sign-in. Please try again."),h(!1))};return(0,r.jsxs)("div",{className:"relative ".concat(d),children:[u&&(0,r.jsx)("span",{className:"absolute -top-2 right-3 z-10 bg-neutral-900 text-white text-[10px] font-medium tracking-wide px-2 py-0.5 rounded-full",children:"Last used"}),(0,r.jsx)("button",{type:"button",onClick:p,disabled:m,className:"w-full flex items-center justify-center gap-2.5 h-[44px] px-6 text-sm font-medium text-neutral-900 bg-white border border-neutral-200 rounded-full hover:bg-neutral-50 transition-colors disabled:opacity-50 disabled:cursor-not-allowed ".concat(c),children:m?(0,r.jsx)(i.cIg,{className:"animate-spin"}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.JM8,{className:"w-[18px] h-[18px]","aria-hidden":"true"}),o||("signup"===t?"Sign up with Google":"Continue with Google")]})}),f&&(0,r.jsx)("div",{role:"alert",className:"mt-3 text-sm text-red-500 text-center",children:f})]})}},30013:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return m}});var r=a(57437),s=a(81164),n=a(2265),i=a(49690),l=a(72655),o=a(16356),c=a(87138),d=a(16463),u=a(22370);function m(){let e=(0,d.useRouter)(),[t,a]=(0,n.useState)(""),[m,h]=(0,n.useState)(""),[f,x]=(0,n.useState)(!1),[p,g]=(0,n.useState)(null),[b,v]=(0,n.useState)(!1),y=async e=>{if(x(!0),e.preventDefault(),g(null),m.length<8){g("Password must be at least 8 characters."),x(!1);return}if(!t){g("Please enter an email address."),x(!1);return}let{disposable:a}=await fetch("/api/auth/check-disposable",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:t})}).then(e=>e.json()).catch(()=>({disposable:!1}));if(a){g("Please sign up with a permanent email address."),x(!1);return}try{var r,n;let e=(0,s.e)(),a=await e.auth.signUp({email:t,password:m,options:{emailRedirectTo:"".concat(location.origin,"/auth/callback")}});if(a.error){if("user_already_exists"===a.error.code){let e=(0,s.e)();if((await e.auth.signInWithPassword({email:t,password:m})).error){g("Something went wrong. Please try again later."),x(!1);return}window.location.href="/app";return}g("Something went wrong. Please try again later."),x(!1);return}fetch("/api/facebook/event",{method:"POST",headers:{"Content-Type":"application/json"},keepalive:!0,body:JSON.stringify({eventName:"CompleteRegistration",eventData:{event_id:"CompleteRegistration_".concat(a.data.user.id),source_url:window.location.href,user_agent:navigator.userAgent,email:t,external_id:a.data.user.id,value:0,currency:"USD",content_name:"User Registration",fbc:(null===(r=document.cookie.split("; ").find(e=>e.startsWith("_fbc=")))||void 0===r?void 0:r.split("=")[1])||"",fbp:(null===(n=document.cookie.split("; ").find(e=>e.startsWith("_fbp=")))||void 0===n?void 0:n.split("=")[1])||"",content_type:"account_creation",status:!0,custom_data:{registration_method:"email"}}})}).catch(()=>{}),fetch("/api/loops",{method:"POST",headers:{"Content-Type":"application/json"},keepalive:!0,body:JSON.stringify({endpoint:"contacts/create",payload:{email:t}})}).catch(()=>{}),window.location.href="/app?gad_signup=1"}catch(e){console.error("Registration error:",e),g("Something went wrong. Please try again later."),x(!1)}};return(0,n.useEffect)(()=>{(async function(){let t=(0,s.e)(),{data:{session:a}}=await t.auth.getSession();a&&e.push("/app")}
1)()},[]),(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"grid md:grid-cols-[2fr_3fr] min-h-screen",children:[(0,r.jsxs)("div",{className:"flex min-h-screen flex-1 flex-col justify-center py-12 px-5 sm:px-6 lg:px-8 pt-28 md:pt-12",children:[(0,r.jsx)("div",{className:"sm:mx-auto sm:w-full sm:max-w-lg",children:(0,r.jsxs)("div",{className:"px-6",children:[(0,r.jsxs)("div",{className:"sm:mx-auto sm:w-full sm:max-w-md",children:[(0,r.jsx)("img",{className:"h-8 w-auto mx-auto",src:"/pegasus/logo.png",alt:"PitchBrand"}),(0,r.jsx)("h2",{className:"mt-6 text-center font-[family-name:var(--font-merriweather)] font-medium text-2xl mb-5 leading-9 tracking-tight text-neutral-900",children:"Sign up for PitchBrand"}),(0,r.jsxs)("p",{className:"text-center text-sm text-neutral-500 leading-relaxed",children:["Already a member?"," ",(0,r.jsx)(c.default,{href:"/login",className:"text-neutral-900 font-medium hover:text-neutral-900 transition-colors",children:"Sign in"})]})]}),(0,r.jsxs)("div",{className:"mt-10",children:[(0,r.jsx)(u.default,{mode:"signup",next:"/app"}),(0,r.jsxs)("div",{className:"relative my-6",children:[(0,r.jsx)("div",{className:"absolute inset-0 flex items-center",children:(0,r.jsx)("div",{className:"w-full border-t border-neutral-200"})}),(0,r.jsx)("div",{className:"relative flex justify-center",children:(0,r.jsx)("span",{className:"bg-white px-3 text-xs text-neutral-400",children:"or"})})]}),(0,r.jsxs)("form",{className:"space-y-6",onSubmit:e=>y(e),children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"email",className:"block text-sm font-medium text-neutral-900",children:"Email address"}),(0,r.jsx)("div",{className:"mt-1",children:(0,r.jsx)("input",{id:"email",name:"email",type:"email",value:t,placeholder:"Email address",onChange:e=>a(e.target.value),autoComplete:"email",required:!0,className:"w-full px-3 py-2.5 text-sm border border-neutral-200 rounded-lg placeholder:text-neutral-300 focus:outline-none focus:ring-2 focus:ring-neutral-900 focus:border-transparent transition-shadow"})})]}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"flex justify-between",children:[(0,r.jsx)("label",{htmlFor:"password",className:"block text-sm font-medium text-neutral-900",children:"Password"}),(0,r.jsx)("span",{className:"text-xs text-neutral-400",children:"Must be at least 8 characters"})]}),(0,r.jsxs)("div",{className:"mt-1 relative",children:[(0,r.jsx)("input",{id:"password",name:"password",placeholder:"Password",type:b?"text":"password",value:m,onChange:e=>h(e.target.value),autoComplete:"current-password",required:!0,className:"w-full px-3 py-2.5 text-sm border border-neutral-200 rounded-lg placeholder:text-neutral-300 focus:outline-none focus:ring-2 focus:ring-neutral-900 focus:border-transparent transition-shadow"}),(0,r.jsx)("button",{type:"button",className:"absolute inset-y-0 right-0 flex items-center pr-3 text-neutral-400 hover:text-neutral-600 transition-colors",onClick:()=>v(!b),children:b?(0,r.jsx)(i.I0d,{}):(0,r.jsx)(i.Zju,{})})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("button",{type:"submit",className:"w-full text-center bg-black text-white text-sm font-medium px-6 rounded-full hover:bg-neutral-800 transition-colors flex items-center justify-center h-[44px]",disabled:f,children:f?(0,r.jsx)(l.cIg,{className:"animate-spin"}):"Sign Up"}),(0,r.jsx)("p",{className:"text-center text-xs text-neutral-400 mt-3",children:"Takes less than 2 minutes to set up"})]}),(0,r.jsxs)("p",{className:"text-center text-xs text-neutral-400",children:["By signing up, you agree to our"," ",(0,r.jsx)(c.default,{href:"/terms",className:"text-neutral-900 font-medium hover:text-neutral-900 transition-colors",children:"Terms of Service"})," ","and"," ",(0,r.jsx)(c.default,{href:"/privacy",className:"text-neutral-900 font-medium hover:text-neutral-900 transition-colors",children:"Privacy Policy"})]})]}),p&&(0,r.jsx)("div",{className:"text-sm text-red-500 mt-5 text-center",children:p})]})]})}),(0,r.jsx)("div",{className:"md:hidden mt-8 mx-auto max-w-lg px-2",children:(0,r.jsxs)("div",{className:"bg-stone-50 rounded-2xl ring-1 ring-neutral-200 p-5",children:[(0,r.jsx)("div",{className:"flex gap-px mb-3",children:Array.from({length:5}).map((e,t)=>(0,r.jsx)(o.MVI,{className:"text-amber-400 text-sm"},t))}),(0,r.jsxs)("p",{className:"text-sm text-neutral-900 leading-relaxed",children:['"PitchBrand made it SO easy to access the correct emails and get real human responses. I used to spend hours finding contacts and ',(0,r.jsx)("span",{className:"font-bold bg-neutral-200 px-1",children:"PitchBrand alleviated that"}),'."']}),(0,r.jsxs)("div",{className:"flex items-center gap-2.5 mt-4",children:[(0,r.jsx)("img",{src:"/case-studies/lindsey-birchfield.jpg",alt:"Lindsey Birchfield",className:"w-8 h-8 rounded-full object-cover"}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-sm font-medium text-neutral-900",children:"Lindsey Birchfield"}),(0,r.jsx)("p",{className:"text-xs text-neutral-500",children:"Lifestyle & Fashion Photography"})]})]})]})})]}),(0,r.jsx)("div",{className:"bg-stone-50 hidden md:flex flex-col items-center justify-center px-16 lg:px-20 relative",children:(0,r.jsxs)("div",{className:"max-w-lg",children:[(0,r.jsx)("div",{className:"flex gap-px mb-4",children:Array.from({length:5}).map((e,t)=>(0,r.jsx)(o.MVI,{className:"text-amber-400 text-lg"},t))}),(0,r.jsxs)("blockquote",{className:"text-2xl lg:text-3xl leading-snug text-neutral-900 font-[family-name:var
1(--font-merriweather)]",children:['"PitchBrand made it SO easy to access the correct emails and get real human responses. I used to spend hours finding contacts and ',(0,r.jsx)("span",{className:"font-bold bg-neutral-200 px-1",children:"PitchBrand alleviated that"}),'."']}),(0,r.jsxs)("div",{className:"flex items-center gap-3 mt-6",children:[(0,r.jsx)("img",{src:"/case-studies/lindsey-birchfield.jpg",alt:"Lindsey Birchfield",className:"w-10 h-10 rounded-full object-cover"}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"font-medium text-neutral-900",children:"Lindsey Birchfield"}),(0,r.jsx)("p",{className:"text-sm text-neutral-500",children:"Lifestyle & Fashion Photography"})]})]})]})})]})})}},87138:function(e,t,a){"use strict";a.d(t,{default:function(){return s.a}});var r=a(231),s=a.n(r)},16463:function(e,t,a){"use strict";var r=a(71169);a.o(r,"useParams")&&a.d(t,{useParams:function(){return r.useParams}}),a.o(r,"usePathname")&&a.d(t,{usePathname:function(){return r.usePathname}}),a.o(r,"useRouter")&&a.d(t,{useRouter:function(){return r.useRouter}}),a.o(r,"useSearchParams")&&a.d(t,{useSearchParams:function(){return r.useSearchParams}})},81164:function(e,t,a){"use strict";a.d(t,{e:function(){return s}});var r=a(35570);function s(){return(0,r.createBrowserClient)("https://xpjlocbcpvdtvkvbfwlc.supabase.co","sb_publishable_Q_-IS9TtO_BBYaTB1Xh5ww_KOb-J8XN")}},91810:function(e,t,a){"use strict";a.d(t,{w_:function(){return d}});var r=a(2265),s={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},n=r.createContext&&r.createContext(s),i=["attr","size","title"];function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}function o(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,r)}return a}function c(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?o(Object(a),!0).forEach(function(t){var r,s;r=t,s=a[t],(r=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var r=a.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(r))in e?Object.defineProperty(e,r,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[r]=s}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):o(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function d(e){return t=>r.createElement(u,l({attr:c({},e.attr)},t),function e(t){return t&&t.map((t,a)=>r.createElement(t.tag,c({key:a},t.attr),e(t.child)))}(e.child))}function u(e){var t=t=>{var a,{attr:s,size:n,title:o}=e,d=function(e,t){if(null==e)return{};var a,r,s=function(e,t){if(null==e)return{};var a={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;a[r]=e[r]}return a}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(r=0;r<n.length;r++)a=n[r],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(s[a]=e[a])}return s}(e,i),u=n||t.size||"1em";return t.className&&(a=t.className),e.className&&(a=(a?a+" ":"")+e.className),r.createElement("svg",l({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,s,d,{className:a,style:c(c({color:e.color||t.color},t.style),e.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),o&&r.createElement("title",null,o),e.children)};return void 0!==n?r.createElement(n.Consumer,null,e=>t(e)):t(s)}}},function(e){e.O(0,[6950,6051,7259,680,231,5570,991,2971,9183,1744],function(){return e(e.s=64770)}),_N_E=e.O()}]);
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.